/* The government sites (City Response, Representatives' dashboard): their own navy colours and a plain header, so
   nobody takes them for Oikometrics or iNagrik. Loaded after style.css and auth.css. */
:root{--bg:#F4F5F8;--panel:#FFFFFF;--ink:#161C27;--mute:#566074;--hair:#DCE0E8;--faint:#ECEFF4;--acc:#1F3A68;--acc-ink:#FFFFFF;--acc-soft:#DDE5F3;--warn:#8F5C08;--bad:#B4471F;
  --oh-bg:var(--bg);--oh-panel:var(--panel);--oh-ink:var(--ink);--oh-mute:var(--mute);--oh-hair:var(--hair);--oh-faint:var(--faint);--oh-acc:var(--acc);--oh-acc-ink:var(--acc-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0F131B;--panel:#171D29;--ink:#E7EAF0;--mute:#9BA5B7;--hair:#2A3344;--faint:#1D2533;--acc:#8FB2F0;--acc-ink:#0C1220;--acc-soft:#1E2C47;--warn:#E3A33A;--bad:#E2774F}}
body{background:var(--bg);color:var(--ink);margin:0}
.ofh{position:sticky;top:0;z-index:20;background:var(--acc);color:var(--acc-ink)}
.ofh-in{max-width:1240px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.ofh-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;margin-right:auto}
.ofh-brand img{width:34px;height:34px;border-radius:8px;background:#fff}
.ofh-brand b{display:block;font-family:"Exo 2",sans-serif;font-size:20px;letter-spacing:.01em;line-height:1.1}
.ofh-brand small{display:block;font-size:12.5px;opacity:.85}
.ofh a.ofh-link,.ofh button{font:inherit;font-size:14px;color:inherit;background:none;border:1px solid rgba(255,255,255,.45);border-radius:8px;padding:6px 12px;cursor:pointer;text-decoration:none}
.ofh a.ofh-link:hover,.ofh button:hover{background:rgba(255,255,255,.12)}
.ofh-who{font-size:13px;opacity:.85}
html.of-out #ofApp,html:not(.of-out) #ofLanding{display:none}
.ofl{max-width:1080px;margin:0 auto;padding:40px 24px 56px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:40px;align-items:start}
.ofl h1{font-family:"Exo 2",sans-serif;font-size:40px;line-height:1.1;margin:0 0 12px}
.ofl .ofl-lead{font-size:18px;color:var(--mute);margin:0 0 24px;max-width:56ch}
.ofl ul{padding:0;margin:0 0 24px;list-style:none;display:grid;gap:12px}
.ofl li{background:var(--panel);border:1px solid var(--hair);border-radius:12px;padding:14px 16px}
.ofl li b{display:block;margin-bottom:2px}
.ofl-note{font-size:14px;color:var(--mute)}
#ofSignin .oa-box{position:static;max-width:none;width:auto;margin:0;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.off{max-width:1240px;margin:0 auto;padding:24px;font-size:13px;color:var(--mute);border-top:1px solid var(--hair)}
.off a{color:inherit}
#ofApp .wrap{max-width:1240px}
@media(max-width:860px){.ofl{grid-template-columns:1fr;padding-top:24px}.ofl h1{font-size:32px}.ofh-in{padding:10px 16px}.ofh-who{display:none}}

/* drop-downs never spill out of their box: they shrink to it and cut long names with … */
select{max-width:100%;text-overflow:ellipsis}
label,.mp-fields>*,.form>*{min-width:0}
