/* ============================================================
   Zukotàá website, prototype stylesheet
   Built on Design/tokens.css (brand guide v1.2). Components use
   the semantic variables below, never raw palette values, so the
   dark theme works by swapping variables only.
   ============================================================ */

:root{
  --bg:          var(--zk-bg);
  --surface:     var(--zk-surface);
  --surface-2:   #F8F5EF;               /* fills inside cards: hovers, inputs */
  --sunken:      #E9E3D7;               /* tracks, meters */
  --text:        var(--zk-text);
  --quiet:       var(--zk-text-quiet);
  --link:        var(--zk-link);
  --primary:     var(--zk-primary);
  --primary-2:   var(--zk-akwukwo-2);
  --on-primary:  var(--zk-on-primary);
  --accent:      var(--zk-accent);
  --accent-ink:  #7A3518;               /* clay text on clay tints */
  --danger:      #9E2F1F;
  --line:        var(--zk-border);
  --line-strong: var(--zk-border-strong);
  --tint-leaf:   rgba(30,80,56,.09);
  --tint-clay:   rgba(168,75,35,.09);
  --tint-clay-2: rgba(168,75,35,.35);
  --rule-line:   rgba(30,80,56,.075);   /* ruled paper, from the brand boards */
  --rule-margin: rgba(168,75,35,.28);
  --scrim:       rgba(16,21,18,.52);
  --shadow-pop:  0 18px 40px -12px rgba(24,32,29,.28), 0 2px 6px rgba(24,32,29,.08);
  --shadow-1:    0 1px 2px rgba(24,32,29,.05);
  --pip:         #B9C0BB;

  --av-1-bg:#C8CEC2; --av-1-fg:#1E5038;
  --av-2-bg:#E4CDBD; --av-2-fg:#7A3518;
  --av-3-bg:#9EAF9F; --av-3-fg:#18201D;
  --av-4-bg:#DCE1DD; --av-4-fg:#2F3B36;
  --av-5-bg:#EDE1D5; --av-5-fg:#7A3518;
  --av-6-bg:#E2E1D6; --av-6-fg:#1E5038;

  --serif: var(--zk-serif);
  --sans:  var(--zk-sans);
  --r:     var(--zk-radius-card);
  --header-h: 60px;
  --rail-l: 240px;
  --rail-r: 300px;
  --gap: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
:root[data-theme="dark"]{
  --surface-2:   #29332E;
  --sunken:      #121815;
  --accent-ink:  #E8A27F;
  --danger:      #E0705A;
  --tint-leaf:   rgba(243,238,228,.08);
  --tint-clay:   rgba(204,107,62,.14);
  --tint-clay-2: rgba(204,107,62,.45);
  --rule-line:   rgba(243,238,228,.045);
  --rule-margin: rgba(204,107,62,.22);
  --scrim:       rgba(5,8,6,.66);
  --shadow-pop:  0 18px 40px -12px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.3);
  --pip:         rgba(228,225,216,.35);
  --primary-2:   #FFFFFF;
  --av-1-bg:#2E4A3C; --av-1-fg:#DDE7DF;
  --av-2-bg:#5A3424; --av-2-fg:#F3DCCD;
  --av-3-bg:#3B4A42; --av-3-fg:#E4E1D8;
  --av-4-bg:#36403B; --av-4-fg:#E4E1D8;
  --av-5-bg:#4A3328; --av-5-fg:#F0D3C2;
  --av-6-bg:#2A3A33; --av-6-fg:#CFE0D4;
}

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--header-h) + 16px); }
body{
  margin:0; background:var(--bg); color:var(--text);
  font:500 15px/1.45 var(--sans);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  font-optical-sizing:auto;
}
img,svg{ display:block; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ cursor:pointer; background:none; border:0; padding:0; }
a{ color:var(--link); text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--zk-focus); outline-offset:2px; border-radius:4px;
}
h1,h2,h3,h4{ margin:0; font-family:var(--serif); font-weight:600; letter-spacing:-.012em; }
p{ margin:0; }
.sr{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; left:12px; top:-60px; z-index:200; background:var(--primary); color:var(--on-primary); padding:10px 16px; border-radius:999px; font-weight:600; }
.skip:focus{ top:10px; }
.ic{ width:20px; height:20px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.ic--s{ width:16px; height:16px; }
.ic--l{ width:24px; height:24px; }
.num{ font-variant-numeric:tabular-nums; }
.quiet{ color:var(--quiet); }
.label{
  font:600 12px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet);
}
.serif{ font-family:var(--serif); }
.stack{ display:flex; flex-direction:column; }
.row{ display:flex; align-items:center; }
.gap-4{ gap:4px; } .gap-8{ gap:8px; } .gap-12{ gap:12px; } .gap-16{ gap:16px; }
.ml-auto{ margin-left:auto; }
.hide{ display:none!important; }
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{ transition:none!important; animation:none!important; } }

/* ruled paper, as in an exercise book: Akwụkwọ means leaf, paper and book */
.ruled{
  background-color:var(--surface);
  background-image:
    linear-gradient(90deg, transparent 0 27px, var(--rule-margin) 27px 28px, transparent 28px),
    repeating-linear-gradient(180deg, transparent 0 27px, var(--rule-line) 27px 28px);
}

/* bands at the top of cards read as a page of the exercise book */
.ph-band.ruled,.mini-top.ruled,.prof-band.ruled{ background-color:var(--bg); border-bottom:1px solid var(--line); }
.mini-top.ruled{ background-image:repeating-linear-gradient(180deg, transparent 0 13px, var(--rule-line) 13px 14px); }

/* ---------- the mark ---------- */
.mk{ --o:var(--zk-mark-outer); --p:var(--zk-mark-middle); --k:var(--zk-mark-core); overflow:visible; }
.brand{ display:inline-flex; align-items:flex-end; gap:9px; color:var(--text); text-decoration:none!important; flex:0 0 auto; }
.brand .mk{ width:30px; height:30px; }
.brand .wm{
  font-family:var(--serif); font-weight:600; font-variation-settings:"opsz" 72;
  font-size:27px; line-height:1; letter-spacing:-.022em;
  /* the wordmark's baseline runs through the point where the circles touch */
  position:relative; top:-1px;
}

/* ---------- buttons ---------- */
.btn{
  --h:40px;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:var(--h); padding:0 18px; border-radius:999px; border:1.5px solid transparent;
  font:600 15px/1 var(--sans); white-space:nowrap; text-decoration:none!important;
  transition:background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease);
  -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
.btn::after{ content:""; position:absolute; inset:-3px -2px; } /* 44px hit area */
.btn:active{ transform:scale(.98); }
.btn--pri{ background:var(--primary); color:var(--on-primary); }
.btn--pri:hover{ background:var(--primary-2); }
:root[data-theme="dark"] .btn--pri:hover{ background:#FFFFFF; }
.btn--sec{ border-color:var(--primary); color:var(--primary); background:transparent; }
.btn--sec:hover{ background:var(--tint-leaf); }
.btn--ghost{ color:var(--quiet); padding:0 12px; }
.btn--ghost:hover{ background:var(--surface-2); color:var(--text); }
.btn--clay{ background:var(--accent); color:#FFF; }
.btn--clay:hover{ filter:brightness(1.07); }
.btn--danger{ border-color:var(--danger); color:var(--danger); }
.btn--danger:hover{ background:rgba(158,47,31,.08); }
.btn--sm{ --h:32px; padding:0 14px; font-size:14px; }
.btn--sm::after{ inset:-6px -2px; }
.btn--block{ width:100%; }
.btn[disabled],.btn.is-disabled{ opacity:.45; cursor:not-allowed; transform:none; }
.btn .ic{ width:18px; height:18px; }
.iconbtn{
  width:40px; height:40px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center;
  color:var(--quiet); transition:background-color .15s var(--ease), color .15s var(--ease); flex:0 0 auto; position:relative;
}
.iconbtn:hover{ background:var(--surface-2); color:var(--text); }
.linkbtn{ color:var(--link); font-weight:600; }
.linkbtn:hover{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- chips and badges ---------- */
.chip{
  display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 10px; border-radius:999px;
  font:600 12.5px/1 var(--sans); white-space:nowrap; letter-spacing:.005em;
}
.chip--from{ background:var(--tint-leaf); color:var(--primary); }
.chip--vf{ background:var(--tint-clay); color:var(--accent-ink); }
:root:not([data-theme="dark"]) .chip--vf{ color:var(--zk-uro); }
.chip--vf::before,.dot-vf::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--zk-verified); flex:0 0 auto; }
.chip--coord{ box-shadow:inset 0 0 0 1.5px var(--primary); color:var(--primary); }
.chip--plain{ background:var(--surface-2); color:var(--quiet); box-shadow:inset 0 0 0 1px var(--line); }
.chip--warn{ background:var(--tint-clay); color:var(--accent-ink); box-shadow:inset 0 0 0 1px var(--tint-clay-2); }
.chip .ic{ width:14px; height:14px; }
.vf{ display:inline-flex; align-items:center; gap:6px; font:600 12.5px/1 var(--sans); color:var(--accent-ink); white-space:nowrap; }
:root:not([data-theme="dark"]) .vf{ color:var(--zk-uro); }
.vf::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--zk-verified); }
.badge{
  position:absolute; top:2px; right:50%; transform:translateX(18px);
  min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--accent); color:#FFF;
  font:700 11px/18px var(--sans); text-align:center; box-shadow:0 0 0 2px var(--surface);
}
.count{ font:600 12.5px/1 var(--sans); color:var(--quiet); margin-left:4px; }

/* level pips: five circles growing from Locality to Country; the current one in Ụrọ */
.pips{ display:inline-flex; align-items:flex-end; gap:3px; flex:0 0 auto; }
.pips i{ display:block; border-radius:50%; box-shadow:inset 0 0 0 1.5px var(--pip); }
.pips i:nth-child(1){ width:6px;  height:6px; }
.pips i:nth-child(2){ width:8px;  height:8px; }
.pips i:nth-child(3){ width:10px; height:10px; }
.pips i:nth-child(4){ width:12px; height:12px; }
.pips i:nth-child(5){ width:14px; height:14px; }
.pips i.on{ background:var(--zk-verified); box-shadow:none; }
.lvl{ display:inline-flex; align-items:center; gap:8px; font:700 12px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--accent-ink); }
:root:not([data-theme="dark"]) .lvl{ color:var(--zk-uro); }

/* approvals: three circles, one per coordinator */
.appr{ display:inline-flex; align-items:center; gap:10px; font:600 13px/1 var(--sans); color:var(--quiet); }
.appr .dots{ display:inline-flex; gap:4px; }
.appr .dots i{ width:14px; height:14px; border-radius:50%; box-shadow:inset 0 0 0 1.5px var(--pip); display:flex; align-items:center; justify-content:center; }
.appr .dots i.y{ background:var(--primary); box-shadow:none; }
.appr .dots i.y::after{ content:""; width:6px; height:3px; border:solid var(--on-primary); border-width:0 0 1.6px 1.6px; transform:rotate(-45deg) translate(1px,-1px); }
.appr .dots i.n{ background:var(--accent); box-shadow:none; }
.appr .dots i.n::after{ content:"×"; color:#FFF; font:700 11px/1 var(--sans); }
.appr b{ color:var(--text); }

/* ---------- avatar ---------- */
.av{
  --s:40px; width:var(--s); height:var(--s); border-radius:50%; flex:0 0 auto;
  display:inline-flex; align-items:center; justify-content:center;
  font:700 calc(var(--s) * .34)/1 var(--sans); letter-spacing:.02em; text-decoration:none!important;
  background:var(--av-1-bg); color:var(--av-1-fg);
}
.av[data-c="2"]{ background:var(--av-2-bg); color:var(--av-2-fg); }
.av[data-c="3"]{ background:var(--av-3-bg); color:var(--av-3-fg); }
.av[data-c="4"]{ background:var(--av-4-bg); color:var(--av-4-fg); }
.av[data-c="5"]{ background:var(--av-5-bg); color:var(--av-5-fg); }
.av[data-c="6"]{ background:var(--av-6-bg); color:var(--av-6-fg); }
.av--xs{ --s:24px; } .av--s{ --s:32px; } .av--m{ --s:48px; } .av--l{ --s:72px; } .av--xl{ --s:112px; }
.av--ring{ box-shadow:0 0 0 3px var(--surface); }
.avs{ display:inline-flex; }
.avs .av{ box-shadow:0 0 0 2px var(--surface); }
.avs .av + .av{ margin-left:-8px; }
.biz-logo{
  width:48px; height:48px; border-radius:var(--r); flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
  background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line);
  font:700 17px/1 var(--serif); color:var(--primary);
}

/* ---------- header ---------- */
.hdr{
  position:sticky; top:0; z-index:40; height:var(--header-h);
  background:var(--surface); border-bottom:1px solid var(--line);
}
.hdr-in{
  max-width:1248px; height:100%; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:18px;
}
.chan{
  display:inline-flex; padding:3px; border-radius:999px; background:var(--bg);
  box-shadow:inset 0 0 0 1px var(--line-strong); flex:0 0 auto;
}
.chan button{
  height:30px; padding:0 14px; border-radius:999px; font:600 13.5px/1 var(--sans); color:var(--quiet);
  transition:background-color .2s var(--ease), color .2s var(--ease);
}
.chan button:hover{ color:var(--text); }
.chan button[aria-pressed="true"]{ background:var(--primary); color:var(--on-primary); }
.search{
  flex:1 1 280px; max-width:340px; height:40px; border-radius:999px; position:relative;
}
.search input{
  width:100%; height:100%; border-radius:999px; border:1px solid var(--line-strong);
  background:var(--bg); padding:0 16px 0 40px; font:500 14.5px/1 var(--sans);
}
.search input::placeholder{ color:var(--quiet); opacity:1; }
.search .ic{ position:absolute; left:14px; top:10px; color:var(--quiet); pointer-events:none; }
.nav{ display:flex; align-items:stretch; height:100%; margin-left:auto; }
.nav a{
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  min-width:72px; padding:0 8px; color:var(--quiet); font:600 12px/1 var(--sans); text-decoration:none!important;
  transition:color .15s var(--ease);
}
.nav a:hover{ color:var(--text); }
.nav a[aria-current="page"]{ color:var(--primary); }
.nav a[aria-current="page"]::after{ content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:2px; background:var(--primary); border-radius:2px; }
.nav .ic{ width:22px; height:22px; }
.me{ display:flex; align-items:center; gap:6px; padding-left:8px; border-left:1px solid var(--line); height:36px; margin-left:4px; }
.me > button{ display:flex; align-items:center; gap:4px; color:var(--quiet); border-radius:999px; padding:2px; }
.me > button:hover{ color:var(--text); }

/* ---------- page layout ---------- */
.wrap{ max-width:1248px; margin:0 auto; padding:24px 24px 64px; }
.grid{
  display:grid; gap:var(--gap); align-items:start;
  grid-template-columns:var(--rail-l) minmax(0,1fr) var(--rail-r);
}
.grid--two{ grid-template-columns:var(--rail-l) minmax(0,1fr); }
.grid--wide{ grid-template-columns:minmax(0,1fr) var(--rail-r); }
.grid--set{ grid-template-columns:240px minmax(0,1fr); }
main:focus,#main:focus{ outline:none; }
.rail{ display:flex; flex-direction:column; gap:16px; position:sticky; top:calc(var(--header-h) + 24px); max-height:calc(100vh - var(--header-h) - 32px); overflow:auto; scrollbar-width:none; }
.rail::-webkit-scrollbar{ display:none; }
.rail > *,.main > *{ flex:0 0 auto; }
.main{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.span-2{ grid-column:2 / -1; }

/* ---------- cards and panels ---------- */
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  box-shadow:var(--shadow-1);
}
.pad{ padding:20px; }
.pad-s{ padding:14px 16px; }
.panel{ padding:16px 18px; }
.panel > h2,.panel-h{
  display:flex; align-items:center; gap:8px; margin:0 0 10px;
  font:600 12px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet);
}
.panel-h a{ margin-left:auto; text-transform:none; letter-spacing:0; font-size:13px; }
.sec-h{ display:flex; align-items:baseline; gap:12px; margin:8px 0 4px; }
.sec-h h2{ font-size:24px; font-variation-settings:"opsz" 36; }
.sec-h p{ color:var(--quiet); }
.sec-h .btn{ margin-left:auto; align-self:center; }
.divider{ height:1px; background:var(--line); border:0; margin:12px 0; }
.list{ display:flex; flex-direction:column; }
.list > * + *{ border-top:1px solid var(--line); }
.li{ display:flex; align-items:center; gap:12px; padding:10px 0; min-height:44px; }
.li-main{ min-width:0; flex:1 1 auto; }
.li-t{ font-weight:600; color:var(--text); display:block; }
a.li-t:hover{ color:var(--link); }
.li-s{ font-size:13.5px; color:var(--quiet); display:block; }
.li-r{ margin-left:auto; color:var(--quiet); font-size:13.5px; white-space:nowrap; text-align:right; }
.note{
  display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:var(--r);
  background:var(--surface-2); color:var(--text); font-size:14.5px; line-height:1.5;
  box-shadow:inset 0 0 0 1px var(--line);
}
.note .ic{ margin-top:1px; color:var(--quiet); }
.note--clay{ background:var(--tint-clay); box-shadow:inset 0 0 0 1px var(--tint-clay-2); }
.note--clay .ic{ color:var(--accent); }
.note b{ font-weight:700; }
.prose{ font-family:var(--serif); font-size:17px; line-height:1.6; }
.prose p + p{ margin-top:.8em; }
.foot-links{ display:flex; flex-wrap:wrap; gap:4px 14px; padding:4px 4px 0; font-size:12.5px; color:var(--quiet); }
.foot-links a{ color:var(--quiet); }

/* ---------- left rail: you and your ladder ---------- */
.mini{ overflow:hidden; }
.mini-top{ height:54px; }
.mini-body{ padding:0 16px 16px; margin-top:-30px; }
.mini-body .av{ box-shadow:0 0 0 3px var(--surface); }
.mini-name{ display:block; margin-top:8px; font:600 18px/1.25 var(--serif); color:var(--text); }
.mini-head{ display:block; font-size:13.5px; color:var(--quiet); margin-top:2px; }
.mini-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.mini-stat{ display:flex; justify-content:space-between; padding:10px 16px; border-top:1px solid var(--line); font-size:13.5px; color:var(--quiet); }
.mini-stat b{ color:var(--primary); font-weight:700; }

.ladder{ position:relative; display:flex; flex-direction:column; }
.ladder a{
  display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:10px;
  padding:7px 8px; margin:0 -8px; border-radius:6px; color:var(--text); text-decoration:none!important; min-height:44px;
  transition:background-color .15s var(--ease);
}
.ladder a:hover{ background:var(--surface-2); }
.ladder a[aria-current="page"]{ background:var(--tint-leaf); }
.ladder .node{ display:flex; justify-content:center; position:relative; z-index:1; }
.ladder .node i{ display:block; border-radius:50%; background:var(--surface); box-shadow:inset 0 0 0 1.5px var(--pip); }
.ladder .node i.on{ background:var(--zk-verified); box-shadow:0 0 0 3px var(--surface); }
.ladder::before{ content:""; position:absolute; left:10.5px; top:24px; bottom:24px; width:1px; background:var(--line-strong); }
.ladder .t{ font-weight:600; font-size:14.5px; line-height:1.2; display:block; }
.ladder .s{ font-size:12.5px; color:var(--quiet); display:block; }
.ladder .r{ font-size:12px; color:var(--quiet); }
.navlist{ display:flex; flex-direction:column; }
.navlist a{
  display:flex; align-items:center; gap:10px; min-height:40px; padding:6px 8px; margin:0 -8px; border-radius:6px;
  color:var(--text); font-weight:600; font-size:14.5px; text-decoration:none!important;
}
.navlist a:hover{ background:var(--surface-2); }
.navlist a[aria-current="page"]{ background:var(--tint-leaf); color:var(--primary); }
.navlist .ic{ color:var(--quiet); }
.navlist .r{ margin-left:auto; font-size:12.5px; color:var(--quiet); font-weight:600; }
.navlist .r.hot{ background:var(--accent); color:#FFF; border-radius:999px; padding:2px 7px; }
.tile{
  width:24px; height:24px; border-radius:6px; flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); color:var(--quiet);
}
.tile .ic{ width:14px; height:14px; }

/* ---------- composer ---------- */
.compose{ padding:14px 16px; }
.compose-row{ display:flex; align-items:center; gap:12px; }
.compose-field{
  flex:1 1 auto; height:48px; border-radius:999px; text-align:left; padding:0 20px;
  border:1px solid var(--line-strong); color:var(--quiet); font:500 15px/1 var(--sans);
  transition:background-color .15s var(--ease);
}
.compose-field:hover{ background:var(--surface-2); }
.compose-acts{ display:flex; flex-wrap:wrap; gap:4px; margin-top:10px; padding-left:52px; }
.compose-acts .btn{ color:var(--quiet); }
.compose-acts .btn .ic{ color:var(--primary); }
.compose-as{ margin-left:auto; align-self:center; }

/* ---------- feed controls ---------- */
.feedbar{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.seg{ display:inline-flex; gap:4px; flex-wrap:wrap; }
.seg button{
  height:32px; padding:0 14px; border-radius:999px; font:600 13.5px/1 var(--sans); color:var(--quiet);
  box-shadow:inset 0 0 0 1px var(--line-strong); background:var(--surface);
}
.seg button:hover{ color:var(--text); }
.seg button[aria-pressed="true"]{ background:var(--text); color:var(--bg); box-shadow:none; }
.sel{ position:relative; display:inline-flex; align-items:center; gap:6px; color:var(--quiet); font:600 13.5px/1 var(--sans); }
.sel select{
  appearance:none; border:0; background:transparent; font:600 13.5px/1 var(--sans); color:var(--text);
  padding:8px 22px 8px 2px; cursor:pointer;
}
.sel .ic{ position:absolute; right:0; pointer-events:none; width:16px; height:16px; }

/* ---------- posts ---------- */
.post{ padding:16px 18px 6px; }
.post-h{ display:flex; gap:12px; align-items:flex-start; }
.post-who{ min-width:0; flex:1 1 auto; }
.post-name{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; }
.post-name a{ font-weight:700; color:var(--text); }
.post-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin-top:4px; font-size:13px; color:var(--quiet); }
.post-meta a{ color:var(--quiet); font-weight:600; }
.post-meta .sep::before{ content:"·"; }
.post-title{ margin:12px 0 4px; font-size:20px; line-height:1.25; font-variation-settings:"opsz" 30; }
.post-title a{ color:var(--text); }
.post-body{ font-family:var(--serif); font-size:17px; line-height:1.6; color:var(--text); max-width:68ch; }
.post-body p + p{ margin-top:.65em; }
.post-body .more{ font-family:var(--sans); font-weight:600; font-size:14px; color:var(--quiet); }
.post-media{
  margin:12px -18px 0; aspect-ratio:16/8; display:flex; align-items:flex-end; padding:14px 18px;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, #5E7F6C, #1E5038 70%);
  color:#F3EEE4; font:600 12.5px/1.3 var(--sans); letter-spacing:.02em;
}
.post-media.clay{ background:radial-gradient(120% 90% at 85% 10%, rgba(255,255,255,.2), transparent 60%), linear-gradient(160deg,#D5AD97,#A84B23 75%); }
.post-media span{ background:rgba(24,32,29,.55); padding:6px 10px; border-radius:999px; display:inline-flex; gap:6px; align-items:center; }
.post-stats{ display:flex; gap:12px; margin-top:12px; font-size:13px; color:var(--quiet); }
.post-acts{ display:flex; gap:2px; margin:8px -10px 0; padding-top:4px; border-top:1px solid var(--line); }
.act{
  display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 12px; border-radius:6px;
  font:600 14px/1 var(--sans); color:var(--quiet); transition:background-color .15s var(--ease), color .15s var(--ease);
}
.act:hover{ background:var(--surface-2); color:var(--text); }
.act[aria-pressed="true"]{ color:var(--primary); }
.act[aria-pressed="true"] .ic .core{ fill:currentColor; }
.act .n{ font-variant-numeric:tabular-nums; }
.act--end{ margin-left:auto; }
.pinned{ display:flex; align-items:center; gap:6px; margin:-4px 0 10px; font:600 12px/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--quiet); }
.pinned .ic{ width:14px; height:14px; }
.post--notice{ border-color:var(--tint-clay-2); }
.agree-pop{ animation:pop .28s var(--ease); }
@keyframes pop{ 50%{ transform:scale(1.25); } }

/* inline cards in a feed: jobs, events, gifts */
.mini-card{
  display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center;
  margin-top:12px; padding:12px 14px; border-radius:var(--r); box-shadow:inset 0 0 0 1px var(--line); background:var(--surface-2);
}
.mini-card h4{ font-size:16px; line-height:1.3; font-variation-settings:"opsz" 24; }
.mini-card .li-s{ margin-top:2px; }
.datebox{
  width:48px; height:52px; border-radius:var(--r); background:var(--surface); box-shadow:inset 0 0 0 1px var(--line);
  display:flex; flex-direction:column; align-items:center; justify-content:center; flex:0 0 auto;
}
.datebox b{ font:600 20px/1 var(--serif); color:var(--text); }
.datebox span{ font:700 10.5px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:3px; }
:root[data-theme="dark"] .datebox span{ color:var(--zk-uro-lit); }

/* ---------- comments ---------- */
.comments{ padding:4px 18px 16px; }
.cmt{ display:flex; gap:10px; padding-top:14px; }
.cmt-b{ flex:1 1 auto; min-width:0; }
.cmt-bubble{ background:var(--surface-2); border-radius:0 12px 12px 12px; padding:10px 14px; }
.cmt-bubble .post-name a{ font-size:14px; }
.cmt-bubble p{ font-family:var(--serif); font-size:16px; line-height:1.55; margin-top:4px; }
.cmt-acts{ display:flex; gap:14px; padding:6px 4px 0; font:600 13px/1 var(--sans); color:var(--quiet); }
.cmt-acts button{ color:var(--quiet); font-weight:600; min-height:28px; }
.cmt-acts button:hover{ color:var(--text); }
.cmt-acts button[aria-pressed="true"]{ color:var(--primary); }
.cmt .cmt{ padding-top:12px; }
.replies{ margin-left:0; }
.cmt-form{ display:flex; gap:10px; align-items:flex-start; padding-top:14px; }
.cmt-form textarea{
  flex:1 1 auto; min-height:44px; resize:vertical; border-radius:22px; padding:11px 16px;
  border:1px solid var(--line-strong); background:var(--surface); font:500 15px/1.4 var(--sans);
}

/* ---------- place header ---------- */
.ph{ overflow:hidden; }
.ph-band{ height:76px; position:relative; }
.ph-band .crumb{ position:absolute; left:44px; top:14px; right:18px; }
.crumb{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font:600 13px/1.3 var(--sans); color:var(--quiet); }
.crumb a{ color:var(--primary); }
.crumb .ic{ width:14px; height:14px; color:var(--pip); }
.ph-body{ padding:0 24px 0 44px; margin-top:-26px; position:relative; }
.ph-body.clear{ margin-top:0; padding-top:20px; }
.ph-title{ display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.ph h1{
  font-size:52px; line-height:1; letter-spacing:-.025em; font-variation-settings:"opsz" 72;
  padding-top:10px;
}
.ph-acts{ margin-left:auto; display:flex; gap:8px; align-items:center; padding-bottom:4px; }
.ph-stats{ display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:12px; font-size:14px; color:var(--quiet); }
.ph-stats b{ color:var(--text); font-weight:700; }
.ph-mine{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.tabs{
  display:flex; gap:24px; margin-top:16px; overflow-x:auto; scrollbar-width:none;
  scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
}
.tabs::-webkit-scrollbar{ display:none; }
.tabs a{
  position:relative; display:inline-flex; align-items:center; gap:6px; height:48px; white-space:nowrap; scroll-snap-align:start;
  font:600 15px/1 var(--sans); color:var(--quiet); text-decoration:none!important;
}
.tabs a:hover{ color:var(--text); }
.tabs a[aria-current="page"]{ color:var(--text); }
.tabs a[aria-current="page"]::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2.5px; background:var(--primary); border-radius:2px 2px 0 0; }
.tabs .count{ margin:0; }
.tabs .later{ font:700 9.5px/1 var(--sans); letter-spacing:.1em; color:var(--quiet); box-shadow:inset 0 0 0 1px var(--line-strong); border-radius:999px; padding:3px 5px; }
.tabs-wrap{ position:relative; }
.inactive-band{
  display:flex; gap:14px; align-items:center; padding:14px 24px 14px 44px; background:var(--tint-clay);
  border-top:1px solid var(--tint-clay-2); font-size:14.5px;
}
.meter{ height:6px; border-radius:999px; background:var(--sunken); overflow:hidden; flex:1 1 auto; }
.meter i{ display:block; height:100%; background:var(--primary); border-radius:inherit; }
.meter--clay i{ background:var(--accent); }
.meter--l{ height:10px; }

/* can-do list on place pages */
.cando{ display:flex; flex-direction:column; gap:2px; }
.cando div{ display:grid; grid-template-columns:22px 1fr; gap:8px; padding:6px 0; font-size:14px; line-height:1.4; }
.cando .ic{ width:18px; height:18px; margin-top:1px; }
.cando .yes .ic{ color:var(--primary); }
.cando .no{ color:var(--quiet); }
.cando .no .ic{ color:var(--pip); }
.cando small{ display:block; color:var(--quiet); font-size:12.5px; }

/* ---------- grids of things ---------- */
.cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.pcard{ padding:16px; display:flex; flex-direction:column; gap:10px; transition:border-color .15s var(--ease), box-shadow .15s var(--ease); }
.pcard:hover{ border-color:var(--line-strong); box-shadow:0 6px 18px -10px rgba(24,32,29,.25); }
.pcard h3{ font-size:19px; line-height:1.2; font-variation-settings:"opsz" 30; }
.pcard h3 a{ color:var(--text); }
.pcard .foot{ display:flex; align-items:center; gap:8px; margin-top:auto; padding-top:8px; font-size:13px; color:var(--quiet); }
.state-dot{ display:inline-flex; align-items:center; gap:6px; font:600 12.5px/1 var(--sans); }
.state-dot::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--primary); }
.state-dot.off{ color:var(--accent-ink); }
:root:not([data-theme="dark"]) .state-dot.off{ color:var(--zk-uro); }
.state-dot.off::before{ background:transparent; box-shadow:inset 0 0 0 1.5px var(--accent); }

/* job rows */
.job{ display:grid; grid-template-columns:auto 1fr auto; gap:14px; padding:16px 18px; align-items:start; }
.job h3{ font-size:17.5px; line-height:1.3; font-variation-settings:"opsz" 24; }
.job h3 a{ color:var(--text); }
.job .li-s + .li-s{ margin-top:2px; }
.job-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.joblist > .job + .job{ border-top:1px solid var(--line); }
.joblist .job{ cursor:pointer; transition:background-color .15s var(--ease); }
.joblist .job:hover{ background:var(--surface-2); }
.joblist .job[aria-current="true"]{ background:var(--tint-leaf); box-shadow:inset 3px 0 0 var(--primary); }
.split{ display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr); align-items:start; }
.split > :first-child{ border-right:1px solid var(--line); }
.detail{ padding:24px; position:sticky; top:calc(var(--header-h) + 24px); }
.detail h2{ font-size:28px; line-height:1.15; font-variation-settings:"opsz" 48; }
.facts{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 20px; margin:18px 0; }
.facts dt{ font:600 11.5px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet); }
.facts dd{ margin:2px 0 0; font-weight:600; }

/* ---------- forms ---------- */
.field{ display:flex; flex-direction:column; gap:6px; }
.field + .field{ margin-top:14px; }
.field label,.field .flabel{ font:600 14px/1.3 var(--sans); }
.field .help{ font-size:13px; color:var(--quiet); line-height:1.45; }
.field .err{ font-size:13px; color:var(--danger); font-weight:600; display:none; }
.field.is-err .err{ display:block; }
.field.is-err .input{ border-color:var(--danger); }
.input{
  height:48px; width:100%; border-radius:8px; border:1px solid var(--line-strong); background:var(--surface);
  padding:0 14px; font:500 16px/1.2 var(--sans); transition:border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:hover{ border-color:var(--quiet); }
.input:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--tint-leaf); }
textarea.input{ height:auto; min-height:120px; padding:12px 14px; line-height:1.5; resize:vertical; }
select.input{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6661' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-size:18px; padding-right:40px; }
select.input:disabled{ opacity:.5; }
.input[readonly]{ background:var(--surface-2); color:var(--quiet); }
.fgrid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fgrid .field + .field{ margin-top:0; }
.check{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; line-height:1.45; cursor:pointer; min-height:28px; }
.check input{ width:20px; height:20px; margin:1px 0 0; accent-color:var(--zk-akwukwo); flex:0 0 auto; }
.switch{ position:relative; width:44px; height:26px; flex:0 0 auto; }
.switch input{ position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; z-index:1; }
.switch span{ position:absolute; inset:0; border-radius:999px; background:var(--sunken); box-shadow:inset 0 0 0 1px var(--line-strong); transition:background-color .2s var(--ease); }
.switch span::after{ content:""; position:absolute; left:3px; top:3px; width:20px; height:20px; border-radius:50%; background:#FFF; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .2s var(--ease); }
.switch input:checked + span{ background:var(--primary); }
.switch input:checked + span::after{ transform:translateX(18px); }
:root[data-theme="dark"] .switch input:checked + span::after{ background:var(--zk-uli); }
.switch input:focus-visible + span{ outline:2px solid var(--zk-focus); outline-offset:2px; }
.choice{ display:flex; flex-direction:column; gap:8px; }
.choice label{
  display:grid; grid-template-columns:22px 1fr auto; gap:12px; align-items:center; padding:12px 14px; border-radius:8px; cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--line-strong); transition:box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.choice label:hover{ background:var(--surface-2); }
.choice input{ margin:0; width:18px; height:18px; accent-color:var(--zk-akwukwo); }
.choice label:has(input:checked){ box-shadow:inset 0 0 0 2px var(--primary); background:var(--tint-leaf); }
.choice .t{ font-weight:600; display:block; }
.choice .s{ font-size:13px; color:var(--quiet); display:block; }
.suggest{ border:1px solid var(--line-strong); border-radius:8px; margin-top:4px; overflow:hidden; background:var(--surface); box-shadow:var(--shadow-pop); }
.suggest button{ display:flex; width:100%; align-items:center; gap:10px; padding:10px 14px; text-align:left; min-height:44px; }
.suggest button:hover,.suggest button.is-hi{ background:var(--surface-2); }
.suggest button + button{ border-top:1px solid var(--line); }
.suggest .r{ margin-left:auto; font-size:13px; color:var(--quiet); }

/* ruled writing sheet in the composer */
.sheet{
  border-radius:8px; box-shadow:inset 0 0 0 1px var(--line-strong);
  background-image:
    linear-gradient(90deg, transparent 0 27px, var(--rule-margin) 27px 28px, transparent 28px),
    repeating-linear-gradient(180deg, transparent 0 27px, var(--rule-line) 27px 28px);
  background-position:0 6px; background-color:var(--surface);
}
.sheet input,.sheet textarea{
  display:block; width:100%; border:0; background:transparent; padding:0 16px 0 40px; resize:none;
}
.sheet input{ font:600 20px/28px var(--serif); height:34px; padding-top:6px; }
.sheet textarea{ font:400 17px/28px var(--serif); min-height:168px; }
.sheet input:focus,.sheet textarea:focus{ outline:none; }
.sheet:focus-within{ box-shadow:inset 0 0 0 2px var(--primary); }

/* posting level picker */
.reach{ display:flex; flex-direction:column; gap:6px; }
.reach label{
  display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:9px 12px; border-radius:8px; cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--line); transition:background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.reach label:hover{ background:var(--surface-2); }
.reach input{ position:absolute; opacity:0; pointer-events:none; }
.reach label:has(input:checked){ box-shadow:inset 0 0 0 2px var(--primary); background:var(--tint-leaf); }
.reach label:has(input:focus-visible){ outline:2px solid var(--zk-focus); outline-offset:2px; }
.reach .t{ font-weight:600; }
.reach .s{ font-size:12.5px; color:var(--quiet); }
.reach label.is-lit{ box-shadow:inset 0 0 0 1px var(--primary); }
.reach label.is-lit .s::after{ content:" · will show here"; color:var(--primary); font-weight:600; }

/* ---------- modal, menu, toast ---------- */
.modal{ position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:24px; }
.modal-bg{ position:absolute; inset:0; background:var(--scrim); animation:fade .2s var(--ease); }
.modal-box{
  position:relative; width:100%; max-width:600px; max-height:calc(100vh - 48px); overflow:auto;
  background:var(--surface); border-radius:10px; box-shadow:var(--shadow-pop);
  animation:rise .24s var(--ease);
}
.modal-box--wide{ max-width:760px; }
.modal-h{ display:flex; align-items:center; gap:12px; padding:18px 20px 14px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--surface); z-index:2; }
.modal-h h2{ font-size:22px; font-variation-settings:"opsz" 36; }
.modal-h .iconbtn{ margin-left:auto; margin-right:-8px; }
.modal-b{ padding:18px 20px; }
.modal-f{ display:flex; align-items:center; gap:10px; padding:14px 20px; border-top:1px solid var(--line); position:sticky; bottom:0; background:var(--surface); }
.modal-f .btn:first-of-type{ margin-left:auto; }
@keyframes fade{ from{ opacity:0; } }
@keyframes rise{ from{ opacity:0; transform:translateY(12px) scale(.985); } }

.menu{
  position:absolute; z-index:60; min-width:220px; padding:6px; border-radius:10px;
  background:var(--surface); box-shadow:var(--shadow-pop); border:1px solid var(--line);
  animation:rise .16s var(--ease);
}
.menu a,.menu button{
  display:flex; align-items:center; gap:10px; width:100%; min-height:40px; padding:8px 10px; border-radius:6px;
  color:var(--text); font:600 14.5px/1.2 var(--sans); text-align:left; text-decoration:none!important;
}
.menu a:hover,.menu button:hover{ background:var(--surface-2); }
.menu .ic{ color:var(--quiet); }
.menu hr{ border:0; height:1px; background:var(--line); margin:6px 0; }
.menu .danger{ color:var(--danger); }
.menu .danger .ic{ color:var(--danger); }
.menu small{ display:block; font:500 12.5px/1.3 var(--sans); color:var(--quiet); margin-top:2px; }
.menu-me{ display:flex; gap:12px; align-items:center; padding:10px 10px 12px; }
.menu-me b{ display:block; font:600 16px/1.2 var(--serif); }

.toasts{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); z-index:120; display:flex; flex-direction:column; gap:8px; align-items:center; pointer-events:none; width:min(560px, calc(100vw - 32px)); }
.toast{
  pointer-events:auto; display:flex; align-items:center; gap:12px; padding:12px 14px 12px 16px; border-radius:10px;
  background:var(--zk-uli); color:#E4E1D8; box-shadow:var(--shadow-pop); font-size:14.5px; line-height:1.4;
  animation:rise .22s var(--ease);
}
:root[data-theme="dark"] .toast{ background:#E4E1D8; color:var(--zk-uli); }
.toast .ic{ color:var(--zk-uro-lit); }
.toast button{ margin-left:auto; color:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; padding:6px; }

/* ---------- empty states ---------- */
.empty{ padding:36px 28px 32px 48px; text-align:left; }
.empty h3{ font-size:22px; font-variation-settings:"opsz" 36; }
.empty p{ margin-top:6px; color:var(--quiet); max-width:52ch; }
.empty .btn{ margin-top:16px; }

/* ---------- coordinators and nominations ---------- */
.coords{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.coord-card{ padding:18px 16px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.coord-card h3{ font-size:18px; line-height:1.2; }
.coord-card h3 a{ color:var(--text); }
.board{ display:flex; flex-direction:column; }
.board-row{ display:grid; grid-template-columns:28px 32px minmax(0,1fr) minmax(80px,180px) 44px 116px; gap:12px; align-items:center; padding:10px 0; }
.board-row > :last-child{ justify-self:end; }
.board-row + .board-row{ border-top:1px solid var(--line); }
.board-row .rank{ font:600 18px/1 var(--serif); color:var(--quiet); text-align:center; }
.board-row.top .rank{ color:var(--primary); }
.board-row .n{ font:700 14px/1 var(--sans); text-align:right; font-variant-numeric:tabular-nums; }
.board-cut{ display:flex; align-items:center; gap:10px; padding:6px 0; font:700 11px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
:root[data-theme="dark"] .board-cut{ color:var(--zk-uro-lit); }
.board-cut::before,.board-cut::after{ content:""; height:1px; flex:1 1 auto; background:var(--tint-clay-2); }
.board-cut--quiet{ color:var(--quiet)!important; }
.board-cut--quiet::before,.board-cut--quiet::after{ background:var(--line-strong); }
.li > b{ white-space:nowrap; }
.banner{
  display:flex; align-items:center; gap:14px; padding:14px 14px 14px 18px; border-radius:var(--r);
  background:var(--tint-clay); box-shadow:inset 0 0 0 1px var(--tint-clay-2);
}
.banner p{ font-size:15px; line-height:1.45; }
.banner b{ color:var(--accent-ink); }
:root:not([data-theme="dark"]) .banner b{ color:var(--zk-uro); }
.banner .btn{ margin-left:auto; flex:0 0 auto; }
.countdown{ font:600 30px/1 var(--serif); color:var(--text); font-variant-numeric:tabular-nums; }
.steps{ counter-reset:s; display:flex; flex-direction:column; gap:10px; margin:0; padding:0; list-style:none; }
.steps li{ counter-increment:s; display:grid; grid-template-columns:28px 1fr; gap:10px; font-size:14.5px; line-height:1.45; }
.steps li::before{ content:counter(s); width:24px; height:24px; border-radius:50%; box-shadow:inset 0 0 0 1.5px var(--line-strong); display:flex; align-items:center; justify-content:center; font:700 12px/1 var(--sans); color:var(--quiet); }

/* desk */
.req{ padding:18px 20px; display:flex; flex-direction:column; gap:12px; }
.req-top{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.req h3{ font-size:19px; line-height:1.25; font-variation-settings:"opsz" 30; }
.req-acts{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.req-acts .appr{ margin-right:auto; }
.timer{ display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--quiet); }
.timer .ic{ width:15px; height:15px; }
.timer.warn{ color:var(--accent-ink); font-weight:600; }
:root:not([data-theme="dark"]) .timer.warn{ color:var(--zk-uro); }

/* ---------- money: gifts and projects ---------- */
.gift{ padding:18px 20px; display:flex; flex-direction:column; gap:12px; }
.gift h3{ font-size:20px; line-height:1.25; font-variation-settings:"opsz" 30; }
.gift h3 a{ color:var(--text); }
.raise{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.raise b{ font:600 26px/1 var(--serif); font-variant-numeric:tabular-nums; }
.raise span{ color:var(--quiet); font-size:14px; }
.amounts{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.amounts button{ height:44px; border-radius:8px; box-shadow:inset 0 0 0 1px var(--line-strong); font:600 15px/1 var(--sans); font-variant-numeric:tabular-nums; }
.amounts button[aria-pressed="true"]{ box-shadow:inset 0 0 0 2px var(--primary); background:var(--tint-leaf); color:var(--primary); }
.donors{ display:flex; flex-direction:column; }
.donor{ display:flex; align-items:center; gap:10px; padding:9px 0; font-size:14.5px; }
.donor + .donor{ border-top:1px solid var(--line); }
.donor .amt{ margin-left:auto; font-weight:700; font-variant-numeric:tabular-nums; }
.donor .t{ font-size:12.5px; color:var(--quiet); display:block; }
.live{ display:inline-flex; align-items:center; gap:6px; font:700 11px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
:root[data-theme="dark"] .live{ color:var(--zk-uro-lit); }
.live::before{ content:""; width:7px; height:7px; border-radius:50%; background:currentColor; animation:blink 1.6s infinite; }
@keyframes blink{ 50%{ opacity:.25; } }
.gantt{ display:grid; grid-template-columns:minmax(140px,190px) 1fr; font-size:13.5px; }
.gantt-head{ display:grid; grid-template-columns:repeat(12,1fr); font:700 10.5px/1 var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--quiet); padding-bottom:8px; }
.gantt-row{ display:contents; }
.gantt-row > *{ padding:8px 0; border-top:1px solid var(--line); }
.gantt-name{ padding-right:12px!important; font-weight:600; display:flex; align-items:center; gap:8px; }
.gantt-track{ position:relative; display:grid; grid-template-columns:repeat(12,1fr); align-items:center;
  background-image:repeating-linear-gradient(90deg, transparent 0 calc(100%/12 - 1px), var(--line) calc(100%/12 - 1px) calc(100%/12)); }
.gantt-bar{ height:16px; border-radius:999px; background:var(--primary); }
.gantt-bar.part{ background:linear-gradient(90deg, var(--primary) var(--p), var(--zk-akwukwo-40) var(--p)); }
.gantt-bar.todo{ background:transparent; box-shadow:inset 0 0 0 1.5px var(--zk-akwukwo-40); }
.gantt-today{ position:absolute; top:0; bottom:0; width:2px; background:var(--accent); }
.docs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px; }
.doc{ display:flex; align-items:center; gap:12px; padding:12px; border-radius:var(--r); box-shadow:inset 0 0 0 1px var(--line); color:var(--text); }
.doc:hover{ background:var(--surface-2); text-decoration:none; }
.doc .tile{ width:36px; height:42px; border-radius:4px; font:700 10px/1 var(--sans); letter-spacing:.06em; color:var(--primary); }

/* ---------- profile ---------- */
.prof-band{ height:120px; }
.prof-body{ padding:0 24px 20px; margin-top:-56px; position:relative; }
.prof-body h1{ font-size:36px; line-height:1.1; margin-top:12px; font-variation-settings:"opsz" 60; }
.prof-head{ color:var(--quiet); margin-top:4px; font-size:16px; }
.prof-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.twoladders{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }

/* ---------- settings ---------- */
.set-row{ display:flex; align-items:center; gap:16px; padding:16px 0; }
.set-row + .set-row{ border-top:1px solid var(--line); }
.set-row .li-main{ flex:1 1 auto; }
.tiers{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.tier{ padding:18px; display:flex; flex-direction:column; gap:8px; }
.tier.is-on{ box-shadow:inset 0 0 0 2px var(--primary); border-color:transparent; }
.tier h3{ font-size:20px; }
.tier .big{ font:600 28px/1 var(--serif); }

/* ---------- places directory ---------- */
.mirror{ display:grid; grid-template-columns:1fr 110px 1fr; gap:0 12px; align-items:stretch; }
.mirror-h{ font:700 12px/1.3 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet); padding-bottom:10px; }
.mirror-h:nth-child(2){ text-align:center; }
.mirror a.box{
  display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:8px; margin:5px 0;
  background:var(--surface); box-shadow:inset 0 0 0 1px var(--line-strong); color:var(--text); font-weight:600; min-height:48px;
  text-decoration:none!important; transition:box-shadow .15s var(--ease), transform .15s var(--ease);
}
.mirror a.box:hover{ box-shadow:inset 0 0 0 1.5px var(--primary); }
.mirror a.box.me{ box-shadow:inset 0 0 0 2px var(--zk-verified); }
.mirror a.box .r{ margin-left:auto; font-size:12.5px; color:var(--quiet); font-weight:600; }
.mirror .mid{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; margin:5px 0; }
.mirror .mid b{ font:600 14px/1.2 var(--serif); }
.mirror .mid span{ font-size:11.5px; color:var(--quiet); }

/* ---------- topic / project headers ---------- */
.kind{ display:inline-flex; align-items:center; gap:6px; font:700 12px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--primary); }

/* ---------- alerts ---------- */
.alert{ display:grid; grid-template-columns:auto 1fr auto; gap:14px; padding:14px 18px; align-items:start; }
.alert + .alert{ border-top:1px solid var(--line); }
.alert.unread{ background:var(--tint-leaf); }
.alert p{ font-size:15px; line-height:1.45; }
.alert .t{ font-size:13px; color:var(--quiet); margin-top:3px; display:block; }
.alert-ic{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); color:var(--primary); }
.alert-ic.clay{ color:var(--accent); }

/* ---------- prototype switch (not part of the product) ---------- */
.proto{
  position:fixed; left:16px; bottom:16px; z-index:90; display:flex; align-items:center; gap:8px;
  padding:6px 6px 6px 12px; border-radius:999px; background:var(--zk-uli); color:#E4E1D8;
  box-shadow:0 10px 30px -10px rgba(0,0,0,.5); font:600 12px/1 var(--sans);
}
.proto .lbl{ letter-spacing:.14em; text-transform:uppercase; color:rgba(228,225,216,.55); font-size:10.5px; }
.proto select{ background:#2A3430; color:#F3EEE4; border:0; border-radius:999px; height:30px; padding:0 28px 0 12px; font:600 12.5px/1 var(--sans); appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BA6A0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 9px center; background-size:13px; }
.proto button{ width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#9BA6A0; }
.proto button:hover{ color:#F3EEE4; background:#2A3430; }
.proto .proto-open{ display:none; }
:root[data-theme="dark"] .proto{ box-shadow:inset 0 0 0 1px rgba(243,238,228,.18), 0 10px 30px -10px rgba(0,0,0,.6); }

/* ---------- mobile chrome ---------- */
.bnav{ display:none; }
.only-m{ display:none!important; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width:1199px){
  .grid{ grid-template-columns:minmax(0,1fr) var(--rail-r); }
  .grid--two{ grid-template-columns:minmax(0,1fr); }
  .grid > .rail--l{ display:none; }
  .span-2{ grid-column:1 / -1; }
  .nav a{ min-width:60px; }
  .search{ max-width:260px; }
}
@media (max-width:1023px){
  :root{ --rail-r:270px; }
  .nav a span{ display:none; }
  .nav a{ min-width:48px; }
  .split{ grid-template-columns:1fr; }
  .split > :first-child{ border-right:0; }
  .split > .detail{ display:none; }
}
@media (max-width:899px){
  .grid,.grid--wide,.grid--set{ grid-template-columns:minmax(0,1fr); }
  .grid--set > .rail{ position:static; max-height:none; }
  .grid > .rail--r{ position:static; max-height:none; overflow:visible; }
  .rail--r.is-feed{ display:none; }
  .coords{ grid-template-columns:1fr; }
  .tiers{ grid-template-columns:1fr; }
}
@media (max-width:767px){
  :root{ --header-h:56px; --gap:16px; }
  body{ padding-bottom:calc(68px + env(safe-area-inset-bottom)); }
  .hdr-in{ padding:0 12px; gap:8px; }
  .brand .wm,.nav,.search,.me > button .ic{ display:none; }
  .brand .mk{ width:28px; height:28px; }
  .chan{ margin:0 auto; }
  .chan button{ padding:0 12px; height:32px; }
  .only-m{ display:inline-flex!important; }
  .hide-m{ display:none!important; }
  .me{ border:0; padding:0; margin:0; }
  .wrap{ padding:12px 12px 40px; }
  .card{ border-radius:0; border-left:0; border-right:0; margin:0 -12px; }
  .card.keep-r{ border-radius:var(--r); border-left:1px solid var(--line); border-right:1px solid var(--line); margin:0; }
  .bnav{
    display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:50;
    background:var(--surface); border-top:1px solid var(--line); padding-bottom:env(safe-area-inset-bottom);
  }
  .bnav a,.bnav button{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; height:62px; position:relative;
    font:600 11.5px/1 var(--sans); color:var(--quiet); text-decoration:none!important;
  }
  .bnav [aria-current="page"]{ color:var(--primary); }
  .bnav .ic{ width:24px; height:24px; }
  .bnav .post-btn .ic{ width:22px; height:22px; }
  .bnav .post-btn i{ width:44px; height:32px; border-radius:999px; background:var(--primary); color:var(--on-primary); display:flex; align-items:center; justify-content:center; }
  .bnav .badge{ transform:translateX(16px); top:6px; }
  .post{ padding:14px 14px 4px; }
  .post-media{ margin:12px -14px 0; }
  .post-body{ font-size:16px; }
  .compose-acts{ padding-left:0; }
  .ph-band{ height:64px; }
  .ph-band .crumb{ left:16px; top:12px; }
  .ph-body{ padding:0 16px; margin-top:-20px; }
  .ph h1{ font-size:36px; }
  .ph-acts{ margin-left:0; width:100%; }
  .tabs{ gap:20px; margin:12px -16px 0; padding:0 16px; mask-image:linear-gradient(90deg,#000 85%,transparent); }
  .tabs::after{ content:""; flex:0 0 24px; }
  .inactive-band{ padding:12px 16px; flex-wrap:wrap; }
  .board-row{ grid-template-columns:22px 32px minmax(0,1fr) 36px auto; gap:8px; }
  .board-row .meter{ display:none; }
  .fgrid{ grid-template-columns:1fr; }
  .facts{ grid-template-columns:1fr 1fr; }
  .modal{ padding:0; align-items:flex-end; }
  .modal-box{ max-height:92vh; border-radius:14px 14px 0 0; animation:sheet .26s var(--ease); }
  @keyframes sheet{ from{ transform:translateY(40px); opacity:.4; } }
  .twoladders{ grid-template-columns:1fr; }
  .mirror{ grid-template-columns:1fr 64px 1fr; gap:0 6px; }
  .mirror a.box{ padding:8px 10px; font-size:13.5px; }
  .mirror a.box .r{ display:none; }
  .mirror .mid span{ display:none; }
  .proto{ bottom:calc(76px + env(safe-area-inset-bottom)); left:8px; padding:4px; }
  .proto .lbl{ display:none; }
  .proto:not(.open) select,.proto:not(.open) [data-act="theme-toggle"]{ display:none; }
  .proto .proto-open{ display:flex; }
  .ph-band.ruled{ background-image:repeating-linear-gradient(180deg, transparent 0 27px, var(--rule-line) 27px 28px); }
  .tabs{ scroll-padding-inline:16px; }
  .compose-field{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .toasts{ bottom:calc(84px + env(safe-area-inset-bottom)); }
  .prof-body{ padding:0 16px 18px; }
  .prof-body h1{ font-size:30px; }
  .gantt{ grid-template-columns:120px 1fr; font-size:12.5px; }
  .empty{ padding:28px 20px 28px 40px; }
  .sec-h h2{ font-size:21px; }
  .job{ padding:14px; }
  .alert{ padding:14px; }
}

/* ============================================================
   v0.2 (November): ballots, promoted listings, the driving-licence
   check, media limits per plan, open coordinator seats
   ============================================================ */
/* ballots */
.ballot{ padding:18px 20px; display:flex; flex-direction:column; gap:12px; }
.ballot h3{ font-size:20px; line-height:1.25; font-variation-settings:"opsz" 30; }
.ballot-f{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding-top:12px; border-top:1px solid var(--line); }
.opts{ display:flex; flex-direction:column; gap:12px; }
.opt-r{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; align-items:center; }
.opt-r .meter{ grid-column:1 / -1; height:8px; }
.opt-t{ font-weight:600; line-height:1.3; }
.opt-t small,.opt-c small{ display:block; font-weight:500; font-size:12.5px; color:var(--quiet); }
.opt-n{ display:inline-flex; align-items:center; gap:6px; font:600 14px/1 var(--sans); color:var(--quiet); font-variant-numeric:tabular-nums; }
.opts-in{ border:0; margin:0; padding:0; min-width:0; display:flex; flex-direction:column; gap:8px; }
.opt-c{ display:flex; align-items:center; gap:12px; min-height:48px; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:600; line-height:1.3;
  box-shadow:inset 0 0 0 1px var(--line-strong); transition:box-shadow .15s var(--ease), background-color .15s var(--ease); }
.opt-c:hover{ background:var(--surface-2); }
.opt-c:has(input:checked){ box-shadow:inset 0 0 0 2px var(--primary); background:var(--tint-leaf); }
.opt-c:has(input:disabled){ cursor:default; color:var(--quiet); }
.opt-c input{ margin:0; width:18px; height:18px; flex:0 0 auto; accent-color:var(--zk-akwukwo); }
.suggest-row{ display:flex; gap:8px; align-items:center; }
.suggest-row .input{ flex:1 1 auto; }
.qs{ display:flex; flex-direction:column; }
.q-in,.q-r{ padding:12px 0; border-top:1px solid var(--line); }
.q-in:first-child,.q-r:first-child{ border-top:0; padding-top:4px; }
.q-in{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.q-t{ flex:1 1 240px; font-weight:600; line-height:1.35; }
.q-r{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; align-items:center; }
.q-r .li-s b{ color:var(--text); }
.yn{ display:inline-flex; border-radius:999px; box-shadow:inset 0 0 0 1px var(--line-strong); overflow:hidden; flex:0 0 auto; }
.yn label{ position:relative; display:flex; align-items:center; justify-content:center; min-width:72px; height:44px; padding:0 16px; font:600 14.5px/1 var(--sans); cursor:pointer; transition:background-color .15s var(--ease), color .15s var(--ease); }
.yn label + label{ box-shadow:inset 1px 0 0 var(--line-strong); }
.yn input{ position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; }
.yn label:hover{ background:var(--surface-2); }
.yn label:has(input:checked){ background:var(--primary); color:var(--on-primary); }
.yn label:has(input:focus-visible){ outline:2px solid var(--zk-focus); outline-offset:-4px; }
.yn label:has(input:disabled){ cursor:default; color:var(--quiet); }
.ynbar{ grid-column:1 / -1; display:flex; height:8px; border-radius:999px; background:var(--sunken); overflow:hidden; }
.ynbar i{ display:block; height:100%; background:var(--primary); border-radius:inherit; }
.ballot-strip{ display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:var(--r); background:var(--surface); box-shadow:inset 0 0 0 1px var(--line-strong);
  color:var(--text); text-decoration:none!important; font-size:15px; line-height:1.35; transition:box-shadow .15s var(--ease); }
.ballot-strip:hover{ box-shadow:inset 0 0 0 1px var(--primary); }
.ballot-strip > .ic:first-child{ color:var(--primary); flex:0 0 auto; }
.ballot-strip > .ic:last-child{ color:var(--quiet); flex:0 0 auto; }

/* promoted listings (boosting, later release): marked plainly, as LinkedIn and Facebook do */
.promo{ padding:16px 18px; display:flex; flex-direction:column; gap:12px; }
.promo-h{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.promo-h .iconbtn{ margin-left:auto; }
.promo-tag{ display:inline-flex; align-items:center; font:700 11px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet);
  padding:5px 8px; border-radius:999px; box-shadow:inset 0 0 0 1px var(--line-strong); }
.promo-b{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; align-items:start; }
.promo-b h3{ font-size:19px; line-height:1.2; font-variation-settings:"opsz" 30; }
.promo-b h3 a{ color:var(--text); }
.promo-b p{ font-family:var(--serif); font-size:16px; line-height:1.5; margin-top:6px; }
.promo-f{ display:flex; align-items:center; gap:8px; }
.promo-f .li-s{ display:inline-flex; align-items:center; gap:6px; }
.boost-where{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 12px; border-radius:8px; box-shadow:inset 0 0 0 1px var(--primary); }

/* media limits in the composer */
.media-tray{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.media-tray:empty{ display:none; }
.thumb{ display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 12px; border-radius:8px; background:var(--tint-leaf); color:var(--primary); font:600 13px/1 var(--sans); }
.thumb--video{ background:var(--surface-2); color:var(--text); box-shadow:inset 0 0 0 1px var(--line); }

/* the driving-licence check: a card-shaped frame on ruled paper */
.capture{ aspect-ratio:1.586; width:100%; max-width:380px; margin:4px auto 0; border-radius:14px; border:2px dashed var(--line-strong);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:18px; text-align:center; color:var(--quiet); line-height:1.4;
  background:repeating-linear-gradient(180deg, transparent 0 25px, var(--rule-line) 25px 26px); }
.capture .ic{ width:32px; height:32px; color:var(--primary); }
.capture b{ color:var(--text); }
.checks{ display:flex; flex-direction:column; gap:10px; }
.checks > div{ display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; font-size:15px; line-height:1.45; }
.checks .ic{ width:20px; height:20px; color:var(--primary); margin-top:1px; }
.spin{ width:30px; height:30px; border-radius:50%; border:3px solid var(--sunken); border-top-color:var(--primary); animation:spin .8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* an open coordinator seat: the one thing on the page that needs someone */
.seat{ background:var(--tint-clay)!important; box-shadow:inset 0 0 0 1px var(--tint-clay-2)!important; }
.seat h3{ color:var(--accent-ink); }
.seat-ic{ width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1.5px var(--tint-clay-2); color:var(--accent); }

/* plans */
.plan-list{ list-style:none; margin:2px 0 0; padding:0; display:flex; flex-direction:column; gap:5px; font-size:14px; }
.plan-list li{ display:flex; justify-content:space-between; gap:8px; }
.plan-list b{ font-variant-numeric:tabular-nums; }

/* places directory, for a member with no Enclave */
.mirror--one{ grid-template-columns:1fr 110px; max-width:560px; margin-left:auto; margin-right:auto; }
.mirror a.box > span:not(.r):not(.pips){ min-width:0; overflow-wrap:anywhere; }

@media (prefers-reduced-motion:reduce){ .spin{ animation-duration:2.4s; } }
@media (max-width:767px){
  .ballot,.promo{ padding:16px; }
  .suggest-row{ flex-direction:column; align-items:stretch; }
  .q-in .yn{ width:100%; }
  .yn label{ flex:1 1 0; }
  .mirror--one{ grid-template-columns:1fr 64px; }
}
/* phones: the breadcrumb stays on one line and scrolls sideways, opening on the current page */
@media (max-width:767px){
  .ph-band .crumb{ flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
  .ph-band .crumb::-webkit-scrollbar{ display:none; }
  .ph-band .crumb > *{ flex:0 0 auto; }
}

/* ============================================================
   Phone check (Kachi's manual WhatsApp verification), the team
   area and the admin console. Shared by the demo and the live
   site (Site/), which gets this file through tools/sync.php.
   ============================================================ */
.h-l{ font-size:34px; line-height:1.1; margin-top:6px; font-variation-settings:"opsz" 60; }
.form-err{ color:var(--danger); font-weight:600; font-size:14px; margin-top:12px; }
.form-err:empty{ display:none; }
.keybox{ display:inline-block; font:600 14px/1.5 ui-monospace,Consolas,monospace; background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line-strong); padding:2px 8px; border-radius:6px; word-break:break-all; }
.mono{ font-family:ui-monospace,Consolas,monospace; }

/* numbered steps whose text has bold words in it */
.steps li{ display:block; position:relative; padding-left:38px; min-height:24px; }
.steps li::before{ position:absolute; left:0; top:0; }

/* ---------- the phone check (joining, and Verify in the site) ---------- */
.methods{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.method{ position:relative; display:flex; flex-direction:column; gap:6px; padding:16px; border-radius:10px; box-shadow:inset 0 0 0 1px var(--line-strong); cursor:pointer; text-align:left; background:var(--surface); }
.method:hover{ background:var(--surface-2); }
.method[aria-pressed="true"]{ box-shadow:inset 0 0 0 2px var(--primary); background:var(--tint-leaf); }
.method[disabled]{ cursor:not-allowed; opacity:.62; background:var(--surface-2); }
.method .t{ font:600 16px/1.25 var(--sans); }
.method .s{ font-size:13.5px; line-height:1.45; color:var(--quiet); }
.method .tag{ position:absolute; top:12px; right:12px; }
.method .ic{ color:var(--primary); }
.wa-steps{ display:flex; flex-direction:column; gap:12px; margin:0; padding:0; list-style:none; counter-reset:w; }
.wa-steps li{ counter-increment:w; display:grid; grid-template-columns:30px 1fr; gap:12px; font-size:15px; line-height:1.5; }
.wa-steps li::before{ content:counter(w); width:28px; height:28px; border-radius:50%; background:var(--tint-leaf); color:var(--primary); display:flex; align-items:center; justify-content:center; font:700 13px/1 var(--sans); }
.msgline{ display:inline-block; margin-top:6px; padding:8px 12px; border-radius:8px 8px 8px 2px; background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); font:500 14.5px/1.4 ui-monospace,Consolas,monospace; }
.state-box{ display:flex; gap:14px; align-items:flex-start; padding:16px; border-radius:var(--r); background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); }
.state-box.is-clay{ background:var(--tint-clay); box-shadow:inset 0 0 0 1px var(--tint-clay-2); }
.state-box.is-leaf{ background:var(--tint-leaf); box-shadow:inset 0 0 0 1px var(--primary); }
.state-box h3{ font-size:19px; line-height:1.25; font-variation-settings:"opsz" 30; }
.state-box p{ font-size:14.5px; line-height:1.5; margin-top:4px; }
.state-box .ic{ width:24px; height:24px; margin-top:2px; color:var(--primary); }
.state-box.is-clay .ic{ color:var(--accent); }
.days{ font:600 40px/1 var(--serif); font-variant-numeric:tabular-nums; color:var(--text); }

/* a paused account */
.paused{ max-width:640px; margin:40px auto; }

/* ---------- live site additions ---------- */
.empty-big{ padding:28px 24px; text-align:left; }
.empty-big h3{ font-size:22px; font-variation-settings:"opsz" 36; }
.empty-big p{ margin-top:6px; color:var(--quiet); font-size:15px; line-height:1.5; max-width:52ch; }
.opening{ display:flex; align-items:center; gap:10px; font-size:13.5px; }
.opening .meter{ max-width:120px; }
.kids-list .li{ min-height:40px; padding:6px 0; }

/* ---------- team area ---------- */
body.team{ background:var(--bg); }
.thdr{ background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:40; }
.thdr-in{ max-width:1248px; margin:0 auto; padding:0 24px; height:60px; display:flex; align-items:center; gap:16px; }
.tlabel{ font:700 11.5px/1 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--accent); padding:5px 9px; border-radius:999px; background:var(--tint-clay); }
.tnav{ display:flex; gap:2px; margin-left:12px; height:100%; overflow-x:auto; scrollbar-width:none; }
.tnav a{ display:flex; align-items:center; padding:0 12px; color:var(--quiet); font:600 14px/1 var(--sans); text-decoration:none!important; position:relative; white-space:nowrap; }
.tnav a:hover{ color:var(--text); }
.tnav a[aria-current="page"]{ color:var(--primary); }
.tnav a[aria-current="page"]::after{ content:""; position:absolute; left:10px; right:10px; bottom:-1px; height:2px; background:var(--primary); border-radius:2px; }
.tme{ margin-left:auto; display:flex; align-items:center; gap:10px; }
.tme span{ display:flex; flex-direction:column; text-align:right; line-height:1.2; font-size:13.5px; }
.tme small{ color:var(--quiet); font-size:12px; }
.twrap{ max-width:1248px; margin:0 auto; padding:28px 24px 64px; }
.tcard{ max-width:520px; margin:32px auto; padding:28px; }
.tform{ margin-top:18px; }
.tform-f{ display:flex; gap:10px; justify-content:flex-end; margin-top:20px; }
.code-one{ font:600 26px/1 var(--serif); letter-spacing:.3em; text-align:center; max-width:220px; }
.t-head{ margin-bottom:18px; }
.t-head p{ margin-top:6px; max-width:70ch; }
.flash{ margin-bottom:16px; }
.back{ margin-bottom:6px; font-size:14px; }
.ttable{ width:100%; border-collapse:collapse; font-size:14.5px; }
.ttable th{ text-align:left; font:600 11.5px/1.3 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--quiet); padding:12px 16px; border-bottom:1px solid var(--line); white-space:nowrap; }
.ttable td{ padding:12px 16px; border-bottom:1px solid var(--line); vertical-align:top; }
.ttable tr:last-child td{ border-bottom:0; }
.ttable td .li-s{ display:block; }
.ttable td.li-s{ display:table-cell; }
.tscroll{ overflow-x:auto; }
.tacts form{ display:inline; }
.set-card{ margin-bottom:18px; max-width:820px; }
.choose-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.choose{ padding:22px; display:flex; flex-direction:column; gap:10px; }
.choose-n{ font:600 13px/1 var(--sans); letter-spacing:.14em; color:var(--accent); }
.choose h2{ font-size:26px; font-variation-settings:"opsz" 36; }
.choose p{ font-family:var(--serif); font-size:16px; line-height:1.55; }
.choose-meta{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.choose-a{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin-top:auto; padding-top:8px; }
.cando{ display:flex; flex-direction:column; gap:8px; }
.cando > div{ display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; font-size:14.5px; line-height:1.4; }
.cando small{ display:block; color:var(--quiet); font-size:13px; }
.cando .yes{ color:var(--text); }
.cando .no{ color:var(--quiet); }

/* admin console */
.afind{ display:flex; gap:8px; margin-bottom:16px; max-width:640px; }
.afind .input{ border-radius:999px; }
.ahead{ padding:16px 20px 10px; }
.alist{ display:flex; flex-direction:column; }
.arow{ display:flex; align-items:center; gap:14px; padding:14px 20px; border-top:1px solid var(--line); color:inherit; text-decoration:none!important; }
.arow:hover{ background:var(--surface-2); }
.aref{ font:600 15px/1 ui-monospace,Consolas,monospace; color:var(--primary); min-width:84px; }
.achips{ margin-left:auto; flex-wrap:wrap; justify-content:flex-end; }
.agrid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:20px; align-items:start; }
.afacts{ display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; margin:0; }
.afacts dt{ font:600 11px/1.3 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--quiet); }
.afacts dd{ margin:3px 0 0; font-weight:600; font-size:14.5px; }
.afacts .mask{ letter-spacing:.1em; color:var(--quiet); }
.astep{ display:flex; flex-direction:column; gap:12px; }
.astep.is-off{ opacity:.6; }
.astep-h{ display:flex; align-items:center; gap:10px; font-size:21px; font-variation-settings:"opsz" 30; }
.astep-h span{ width:28px; height:28px; border-radius:50%; background:var(--tint-leaf); color:var(--primary); display:inline-flex; align-items:center; justify-content:center; font:700 13px/1 var(--sans); }
.ashot-form{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.ashot{ max-width:100%; max-height:520px; border-radius:8px; box-shadow:inset 0 0 0 1px var(--line); border:1px solid var(--line); margin-top:4px; }
.ocrstate:empty{ display:none; }
.ocrstate{ display:flex; align-items:center; gap:10px; font-size:14px; color:var(--quiet); }
.ocrstate .spin{ width:20px; height:20px; border-width:2px; }
.verdict{ display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:var(--r); font-size:14.5px; line-height:1.45; }
.verdict b{ font:700 13px/1.2 var(--sans); letter-spacing:.12em; }
.verdict.is-pass{ background:var(--tint-leaf); box-shadow:inset 0 0 0 1.5px var(--primary); }
.verdict.is-pass b{ color:var(--primary); }
.verdict.is-reject,.verdict.is-review{ background:var(--tint-clay); box-shadow:inset 0 0 0 1.5px var(--tint-clay-2); }
.verdict.is-reject b,.verdict.is-review b{ color:var(--accent-ink); }
:root:not([data-theme="dark"]) .verdict.is-reject b,:root:not([data-theme="dark"]) .verdict.is-review b{ color:var(--zk-uro); }
.fgrid3{ display:grid; grid-template-columns:1fr 160px 1fr; gap:14px; }
.fgrid3 .field + .field{ margin-top:0; }

@media (max-width:1023px){
  .choose-grid{ grid-template-columns:1fr; }
  .agrid{ grid-template-columns:1fr; }
}
@media (max-width:767px){
  .methods{ grid-template-columns:1fr; }
  .thdr-in{ padding:0 12px; gap:8px; }
  .thdr-in .brand .wm{ display:none; }
  .tme span{ display:none; }
  .twrap{ padding:18px 12px 48px; }
  .fgrid3{ grid-template-columns:1fr; }
  .afacts{ grid-template-columns:1fr; }
}
/* the code email, as the demo shows it */
.mailprev{ padding:18px; border-radius:var(--r); background:var(--bg); box-shadow:inset 0 0 0 1px var(--line); font-size:15px; line-height:1.5; }
.mailprev p + p{ margin-top:8px; }
.mailcode{ font:600 34px/1 var(--serif); letter-spacing:.18em; color:var(--primary); margin:14px 0!important; }
