:root{font-family:system-ui,Arial,sans-serif;color:#252b2e;background:#f3f5f6;--red:#96272d}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{display:flex;gap:24px;align-items:center;padding:24px clamp(16px,5vw,70px);background:#303638;color:white;border-bottom:5px solid var(--red)}header a{color:white;font-weight:800;text-decoration:none;font-size:22px;white-space:nowrap}h1,h2,h3,p{margin:0 0 10px}header p{margin:0;color:#e1e5e6}main{max-width:1320px;margin:auto;padding:24px 16px}section,.stats article{background:white;border:1px solid #dce1e3;border-radius:10px;padding:20px;margin-bottom:16px}button{background:var(--red);color:white;border:0;padding:10px 16px;border-radius:6px;font-weight:650;cursor:pointer;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4588a0;outline-offset:2px}.toolbar,.record{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.stats strong{display:block;font-size:28px}nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}nav button{background:#3a4449}nav button[aria-current=true]{background:var(--red)}form{padding:16px;background:#f7f8f9;border-radius:8px;margin-bottom:18px}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:12px 0}label{display:block;font-size:14px;font-weight:600}input,select{width:100%;border:1px solid #b9c2c7;border-radius:5px;padding:9px;margin-top:5px;background:white;color:#252b2e;font:inherit}input[type=checkbox]{width:auto;margin-right:8px}.record{border-bottom:1px solid #ddd;padding:12px 0;overflow-wrap:anywhere}.record small{display:block;color:#4d5b63}fieldset{border:1px solid #d3dadd;border-radius:6px;margin:12px 0;padding:12px}fieldset label{margin-bottom:8px}fieldset select{width:auto;margin-left:8px}#notice{white-space:pre-wrap;color:#79262c;min-height:1.5em}#gate{max-width:680px;margin:40px auto}#gate a{display:inline-block}@media(max-width:520px){header{flex-direction:column;align-items:flex-start}main{padding:12px}.fields{grid-template-columns:1fr}}.muted{color:#5b6970;font-weight:400}.hint{font-size:14px;color:#4d5b63}label small{display:block;font-weight:400;color:#5b6970;margin-top:4px}.search{margin:6px 0 14px;max-width:420px}button.secondary{background:#e8ecee;color:#252b2e;border:1px solid #c6ced2}#notice[data-ok="1"]{color:#1f6b3a}.user{border:1px solid #dce1e3;border-radius:8px;margin-bottom:10px;background:white}.user-head{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;width:100%;background:white;color:inherit;text-align:left;padding:14px 16px;border-radius:8px}.user-head:hover{background:#f7f8f9}.user-head[aria-expanded=true]{border-bottom:1px solid #e3e7e9;border-radius:8px 8px 0 0}.user-head strong{display:block}.user-head small{display:block;color:#4d5b63;font-weight:400}.badge{font-size:13px;padding:3px 10px;border-radius:999px;font-weight:600;background:#eef1f2}.badge.ok{background:#e3f3e8;color:#1f6b3a}.badge.wait{background:#fff4dc;color:#7a5600}.badge.off{background:#f6e3e4;color:#79262c}.badge.admin{background:#e6eef8;color:#21466e}.panel{padding:6px 16px 16px}.panel h4{margin:16px 0 6px}.tools{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.grant{background:#f7f8f9;margin-top:14px}.grid{overflow-x:auto}.grid table{border-collapse:collapse;min-width:420px;background:white}.grid th,.grid td{border:1px solid #dce1e3;padding:6px 10px;text-align:center;font-size:14px}.grid td:first-child,.grid th:first-child{text-align:left}.grid input{width:auto;margin:0}label.check{font-weight:400;display:flex;align-items:center;margin-bottom:6px}.summary ul{margin:4px 0 8px 18px;padding:0}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.chip{background:white;color:#252b2e;border:1px solid #b9c2c7;border-radius:999px;padding:8px 14px;font-weight:600}.chip:hover{border-color:#96272d}.chip.on{background:var(--red);border-color:var(--red);color:white}.chip.system{border-radius:8px}.chip.system[aria-expanded=true]{box-shadow:0 0 0 3px #f0d4d6}.chip.sub{font-weight:500;font-size:14px}.menus{background:#f7f8f9;border:1px solid #dce1e3;border-radius:8px;padding:12px 14px;margin:10px 0}.small{font-size:13px}.savebar{margin-top:14px;padding-top:12px;border-top:1px solid #e3e7e9}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.card{display:block;background:white;border:1px solid #dce1e3;border-left:5px solid var(--red);border-radius:8px;padding:18px;color:inherit;text-decoration:none}.card:hover{box-shadow:0 2px 10px rgba(0,0,0,.08)}.card strong{display:block;font-size:18px}.card small{color:#5b6970}.sysview{display:grid;grid-template-columns:240px 1fr;gap:16px;align-items:start}.sysnav{display:flex;flex-direction:column;gap:4px;background:white;border:1px solid #dce1e3;border-radius:8px;padding:8px;margin:0}.sysnav a{padding:10px 12px;border-radius:6px;color:inherit;text-decoration:none;font-weight:600}.sysnav a:hover{background:#f3f5f6}.sysnav a.on{background:var(--red);color:white}.construction{background:white;border:1px solid #dce1e3;border-radius:8px;padding:28px;min-height:240px}.construction .big{font-size:22px;font-weight:700;color:#79262c}@media(max-width:700px){.sysview{grid-template-columns:1fr}}
/* Tela de entrada no padrão do Portal BDR (mesmo desenho das áreas restritas, ex.: Controladoria). */body:has(#gate:not([hidden]))>header{display:none}#gate.entry{max-width:510px;margin:6vh auto;border:1px solid #e2e4e6;border-top:4px solid var(--red);border-radius:15px;box-shadow:0 12px 35px #18202412;text-align:center;padding:26px 36px;font-family:Segoe UI,Arial,sans-serif;color:#303638}.entry .brands{display:flex;justify-content:center;align-items:center;gap:15px;margin-bottom:19px}.entry .brands img{width:min(42%,140px);height:47px;object-fit:contain}.entry .brands span{width:1px;height:32px;background:#d5d5d5}.entry .tag{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--red);font-weight:700;margin-bottom:17px}.entry .lock{color:var(--red)}.entry h1{font-size:clamp(24px,5vw,29px);letter-spacing:-.035em;margin:6px 0 4px;line-height:1.15}.entry h2.sub{font-size:15px;font-weight:600;margin:0 0 8px}.entry .notice{font-size:13px;line-height:1.4;color:#687076;margin:0 0 16px}.entry form{display:grid;gap:9px;padding:0;margin:0;background:none;text-align:left}.entry .field{display:flex;align-items:center;gap:9px;border:1px solid #d0d4d6;border-radius:7px;padding:0 12px;background:#fafbfb}.entry .field:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #96272d22}.entry .field svg{width:18px;height:18px;color:#798084;flex:none}.entry .field input{border:0;margin:0;padding:12px 0;background:transparent;font-size:14px;color:#252b2e;outline:none}.entry .field input::placeholder{color:#687076}.entry label.check{font-size:13px;color:#4d5b63;margin:2px 0}.entry button{border-radius:7px;font-size:14px;padding:11px;width:100%}.entry button.secondary{margin-top:10px}.entry .request label{font-size:12px;font-weight:600;color:#4d5b63}.entry .request input,.entry .request select,.entry .request textarea{margin-top:4px;font-size:14px;background:#fafbfb;border-color:#d0d4d6;border-radius:7px}.entry .request textarea{width:100%;border:1px solid #d0d4d6;padding:9px;font:inherit;resize:vertical}.entry .opt{font-weight:400;color:#798084}.entry .pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}.entry .links{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:15px;font-size:12px}.entry .links a{color:var(--red);text-decoration:underline;text-underline-offset:3px}.entry .line{width:38px;height:3px;background:var(--red);border-radius:3px;margin:19px auto 11px}.entry footer{font-size:10px;letter-spacing:.12em;color:#687076;text-transform:uppercase}@media(max-width:420px){#gate.entry{padding:22px 18px;margin:12px auto}.entry .brands img{height:39px}.entry .pair{grid-template-columns:1fr}}
