/* World Space Hub 5.2.0 — the Council look for every page outside the dashboard
   (shared links, forms, invoices, postings, decks, events, crew, verification, setup, the product tour …).
   Loaded LAST on those pages: it re-points their colour tokens to navy + gold, sets the family typeface (Figtree),
   squares the corners the World Space way, and styles the top bar and footer that council-public.js adds, so
   moving between the home page, the dashboard and any of these pages never feels like a different website. */
:root{
  --navy:#050E1F;--navy2:#0B1E3D;--navy3:#0F2A52;--gold:#FFBF00;--gold-d:#7A5C00;
  /* the names these pages already use, pointed at the Council palette */
  --blue:#0B1E3D;--blue-dark:#050E1F;--blue-mid:#0F2A52;--blue-soft:#C9D2E3;--blue-wash:#EDF0F7;
  --primary:#0B1E3D;--p:#0B1E3D;
  --ink:#0B1E3D;--ink-2:#4A5A7D;--ink-3:#7C89A6;--muted:#4A5A7D;
  --line:#D8DEEA;--line-2:#E6EAF2;--wash:#EDF0F7;--page:#F7F8FB;--surface:#fff;--night:#050E1F;
  --radius:4px;--r:3px
}
html{-webkit-text-size-adjust:100%}
body{font-family:'Figtree',-apple-system,'Segoe UI',Roboto,Arial,sans-serif!important;background:#F7F8FB;color:var(--ink);
  min-height:100vh;min-height:100dvh;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  place-items:normal!important;padding:0!important;margin:0;-webkit-font-smoothing:antialiased}
/* a page that used to centre one card in the window keeps doing so, between the bars */
html[data-cp-center] .cp-main{display:grid;place-items:center;padding:28px 16px}
.cp-main{padding-bottom:28px}
body>*{flex-shrink:0}
body>.cp-main{flex:1 0 auto;width:100%}
input,select,textarea,button{font-family:inherit}
*{scrollbar-width:none}*::-webkit-scrollbar{width:0;height:0;display:none}
h1,h2,h3{letter-spacing:-.02em}

/* the old brand marks become the Council mark */
.mark,.brand__mark,.head__mark{background:var(--gold)!important;color:var(--navy)!important;border-radius:3px!important;font-weight:800}
.brandline,body>nav.nav,.cp-main>nav.nav,.shell>.head{display:none!important}
.eyebrow{color:var(--gold-d)!important;letter-spacing:2px}

/* buttons: gold for the main action, quiet outline for the rest */
.btn,.btn--primary,button.primary,a.primary,.b{background:var(--gold)!important;color:var(--navy)!important;border:1px solid var(--gold)!important;border-radius:3px!important;font-weight:700!important;box-shadow:none!important}
.btn:hover,.btn--primary:hover,.b:hover{filter:brightness(.96)}
.btn.ghost,.btn--ghost,.btn.sec,.btn.secondary,.btn.light,.btn.outline{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important}
.btn[disabled],.btn:disabled{background:#E6EAF2!important;border-color:#E6EAF2!important;color:#7C89A6!important}
.card,.box,.panel,.c{border-radius:4px!important;border-color:var(--line)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--navy3)!important;box-shadow:0 0 0 3px rgba(255,191,0,.28)!important}
a{color:inherit}

/* ---- the top bar and the footer (added by council-public.js) ---- */
.cp-top,header.cp-top{border-radius:0!important;margin:0!important;max-width:none!important;padding:0!important}
.cp-top{position:sticky;top:0;z-index:1000;width:100%;background:var(--navy);color:#fff;border-bottom:2px solid var(--gold)}
.cp-top .in{max-width:1400px;margin:0 auto;height:58px;display:flex;align-items:center;gap:16px;padding:0 20px}
.cp-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;min-width:0}
.cp-brand i{width:32px;height:32px;border-radius:3px;background:var(--gold);color:var(--navy);display:grid;place-items:center;font-style:normal;font-weight:800;flex:none}
.cp-brand b{font-size:1rem;white-space:nowrap}.cp-brand small{display:block;font-size:.6rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--gold);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cp-brand .cp-pg{display:flex;align-items:baseline;gap:7px;white-space:nowrap;min-width:0}.cp-brand .cp-pg .l{font-weight:300;font-size:1rem;opacity:.9}.cp-brand .cp-pg b{font-weight:800;overflow:hidden;text-overflow:ellipsis}@media (max-width:420px){.cp-brand .cp-pg .l{display:none}}
.cp-top nav{margin-left:auto;display:flex;align-items:center;gap:4px}
.cp-top nav a{color:rgba(255,255,255,.82);text-decoration:none;padding:8px 11px;border-radius:3px;font-size:.88rem;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.cp-top nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.cp-top nav a.gold{background:var(--gold);color:var(--navy);font-weight:700}
.cp-top nav svg{width:16px;height:16px}
.cp-foot{margin-top:auto;width:100%;background:var(--navy);color:rgba(255,255,255,.7);border-top:2px solid var(--gold);font-size:.8rem;padding:16px 20px;text-align:center}
.cp-foot a{color:rgba(255,255,255,.88);text-decoration:none;margin:0 8px}
.cp-foot a:hover{color:#fff}
@media (max-width:640px){.cp-top nav a.opt{display:none}.cp-top .in{padding:0 14px}}
/* a page that shows a presentation or a screen keeps its whole window */
html[data-cp="lite"] .cp-top,html[data-cp="lite"] .cp-foot{display:none}
html.cp-embedded .cp-top,html.cp-embedded .cp-foot{display:none}
html.cp-embedded body{background:transparent}
html.cp-embedded .cp-main{padding:0}

/* ---- 5.3.0: dark, when the page is shown inside a dark dashboard ---- */
html[data-theme="dark"]{--ink:#EEF2FA;--ink-2:#B7C1D9;--ink-3:#8796B5;--muted:#B7C1D9;--muted2:#8796B5;--line:#24365C;--line-2:#1A2B4D;--wash:#13284D;--page:#071225;--surface:#0B1E3D;--soft:#13284D;--bg:#071225;--card:#0B1E3D}
html[data-theme="dark"] body{background:#071225;color:#EEF2FA}
html[data-theme="dark"].cp-embedded body{background:transparent}
html[data-theme="dark"] .card,html[data-theme="dark"] .box,html[data-theme="dark"] .panel{background:#0B1E3D!important;border-color:#24365C!important;color:#EEF2FA}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0B1E3D;color:#EEF2FA;border-color:#24365C}
html[data-theme="dark"] .btn.ghost,html[data-theme="dark"] .btn--ghost{background:#13284D!important;color:#EEF2FA!important;border-color:#24365C!important}
