/* Fontes do protótipo hospedadas aqui; licenças OFL em /static/fonts/. */
@font-face { font-family:Archivo; font-style:normal; font-weight:500 700; font-display:swap; src:url('/static/fonts/archivo-latin.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:400 600; font-display:swap; src:url('/static/fonts/ibm-plex-sans-latin.woff2') format('woff2'); }
.mail-redirect { padding:14px 16px; border-left:3px solid var(--brand); border-radius:3px; background:var(--brand-soft); color:var(--ink); line-height:1.5; overflow-wrap:anywhere; }
:root {
  --brand:#006098; --brand-2:#00456e; --brand-soft:#e2edf5; --on-brand:#fff;
  --ground:#e8edf2; --surface:#fff; --surface-2:#f4f7fa;
  --line:#d3dce5; --line-strong:#b6c4d1; --ink:#10202c; --ink-2:#4a5d6d; --ink-3:#74869a;
  --ok:#186b45; --ok-bg:#e1f2ea; --warn:#8a5a00; --warn-bg:#fbeed6;
  --danger:#a52318; --danger-bg:#fbe6e3; --mute:#546675; --mute-bg:#e9eef3;
  --focus:#0a84c8; --muted:var(--ink-2);
  --shadow:0 1px 2px #10202c12,0 8px 24px -16px #10202c40;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--ground); color:var(--ink); font:15px/1.5 "IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif; }
.assistbar { position:sticky; top:0; z-index:50; background:#a0410a; color:#fff; }
.assistbar-in { max-width:1240px; margin:auto; padding:10px 16px; display:flex; align-items:center; gap:10px 16px; flex-wrap:wrap; font-size:13px; }
.assistbar-in>span { overflow-wrap:anywhere; min-width:0; }
.assist-clock { font-variant-numeric:tabular-nums; font-weight:600; padding:3px 7px; background:#0002; border-radius:3px; }
.assistbar form { margin:0 0 0 auto; }.assistbar button { width:auto; margin:0; min-height:44px; padding:8px 14px; color:#873600; background:#fff; border:0; border-radius:5px; cursor:pointer; font-weight:600; }
.assistbar button:hover { background:#fdf0e4; }
.credential-off { text-decoration:line-through; padding:10px; color:var(--ink-3); }
h1,h2,h3 { font-family:Archivo,"IBM Plex Sans",system-ui,sans-serif; text-wrap:balance; line-height:1.25; }
h1 { font-size:25px; margin:10px 0 14px; font-weight:600; }
h2 { font-size:20px; margin:0 0 18px; font-weight:600; }
p { color:var(--ink-2); }
a { color:var(--brand); text-underline-offset:3px; }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; border-radius:3px; }
[hidden] { display:none!important; }
main { min-width:0; }
.skip-link { position:fixed; top:8px; left:8px; transform:translateY(-150%); z-index:100; padding:12px; background:var(--surface); }
.skip-link:focus { transform:none; }
.topbar { background:var(--surface); border-bottom:1px solid var(--line); }
.topbar-in { max-width:1240px; margin:auto; padding:14px 16px; display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.logo { display:flex; align-items:center; flex:none; text-decoration:none; min-height:44px; }
.brand-logo { display:block; width:184px; max-width:100%; height:auto; }
.portal-name { color:var(--ink-2); font-size:12px; }
.topbar-right { display:flex; flex-wrap:wrap; align-items:center; gap:12px; width:100%; }
.topbar-right form { margin-left:auto; }
.scope-link { display:flex; flex-direction:column; max-width:100%; background:var(--surface-2); border:1px solid var(--line); padding:5px 10px; border-radius:5px; text-decoration:none; overflow-wrap:anywhere; }
.scope-link span,.scope-link small { font-size:11px; color:var(--ink-2); }.scope-link strong { font-size:13px; }
.scope-switch { position:relative; max-width:100%; }.scope-link { cursor:pointer; }
.scope-options { width:min(300px,calc(100vw - 32px)); padding:16px; border:1px solid var(--line); border-radius:5px; background:var(--surface); box-shadow:var(--shadow); }
.scope-options label { display:block; margin:0 0 8px; font-size:13px; }.scope-options select { width:100%; min-width:0; padding:10px; border:1px solid var(--line-strong); border-radius:5px; }
.scope-options .btn { margin:12px 0; }.scope-options a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; }
@media(min-width:760px) { .scope-options{position:absolute;right:0;top:100%;z-index:10} }
.public-shell { max-width:1040px; margin:auto; padding:24px 12px 44px; min-height:70vh; }
.app-shell { max-width:1240px; margin:auto; padding:20px 12px 44px; display:grid; grid-template-columns:minmax(0,1fr); gap:20px; min-height:70vh; }
.rail { display:flex; flex-wrap:wrap; gap:4px; align-items:start; }
.rail a { display:flex; align-items:center; padding:10px; min-height:44px; text-decoration:none; border-left:3px solid transparent; border-radius:5px; color:var(--ink-2); font-size:14px; font-weight:500; }
.rail a:hover { background:var(--surface-2); }
.rail a[aria-current=page] { background:var(--brand-soft); color:var(--brand); border-left-color:var(--brand); font-weight:600; }
.eyebrow { font-size:11px; letter-spacing:.11em; text-transform:uppercase; color:var(--ink-2); font-weight:600; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; min-height:44px; margin:0; padding:9px 15px; font-size:14px; font-weight:600; border:1px solid transparent; border-radius:5px; cursor:pointer; text-decoration:none; }
.btn-primary { background:var(--brand); color:var(--on-brand); }.btn-primary:hover { background:var(--brand-2); }
.btn-quiet { background:transparent; color:var(--brand); }.btn-quiet:hover { background:var(--brand-soft); }
.foot { background:var(--surface); border-top:1px solid var(--line); }
.foot-in { max-width:1240px; margin:auto; padding:24px 20px; display:grid; gap:18px; font-size:12px; color:var(--ink-2); }
.foot-in p { margin:4px 0 0; }.foot .brand-logo { width:160px; }
.num { font-variant-numeric:tabular-nums; }.mono { font-family:ui-monospace,monospace; }
@media(min-width:760px) { .topbar-in{padding:14px 20px}.topbar-right{width:auto;margin-left:auto}.public-shell{padding:32px 20px 48px}.foot-in{grid-template-columns:1fr 2fr}.app-shell{padding:24px 20px 44px} }
@media(min-width:1000px) { .app-shell{grid-template-columns:196px minmax(0,1fr);gap:26px}.rail{display:flex;flex-direction:column;position:sticky;top:20px}.rail a{width:100%} }
@media(prefers-reduced-motion:reduce) { *{scroll-behavior:auto!important;transition:none!important;animation:none!important} }
