/* The live board, as a command centre. Sized for a projector at the back of a room: the toll carries
   the stakes, the globe carries the swarm, and every panel is the same dark card so the eye reads it
   as one instrument rather than a page of widgets. */
.cc { max-width:1640px; margin:0 auto; padding:0 16px 28px; color:#F4F1E8; }
.cc a { color:#7CE0A8; }
.ccbar { display:flex; align-items:center; flex-wrap:wrap; gap:14px; background:#0D132D; border:1px solid rgba(124,224,168,.18);
         border-radius:12px; padding:12px 18px; margin:14px 0; }
.ccbar img { width:44px; height:44px; border-radius:50%; flex:0 0 auto; }
.ccid b { display:block; font:700 13px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.22em; color:#7CE0A8; }
.ccid span { display:block; font-size:13px; color:#9AA6C4; margin-top:3px; }
.ccstatus { margin-left:auto; display:flex; align-items:center; gap:10px;
            font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; color:#9AA6C4; }
.ccstatus i { width:9px; height:9px; border-radius:50%; background:#5E6A8A; box-shadow:0 0 0 0 rgba(124,224,168,.6); }
.ccstatus.on i { background:#7CE0A8; animation:ccpulse 2s ease-out infinite; }
.ccstatus.off i { background:#9B2C2C; }
@keyframes ccpulse { 0% { box-shadow:0 0 0 0 rgba(124,224,168,.55); } 100% { box-shadow:0 0 0 12px rgba(124,224,168,0); } }
.ccstatus time { color:#C9A227; font-variant-numeric:tabular-nums; }

/* The toll. Two numbers large enough to be the point of the room, then the working figures under them. */
.toll { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.toll > div { background:#0D132D; border-radius:12px; padding:20px 22px; border-left:4px solid #9B2C2C; }
.toll > div.floor { border-left-color:#C9A227; }
.toll label { display:block; font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.16em;
              text-transform:uppercase; color:#9AA6C4; }
.toll b { display:block; font-size:clamp(40px,5.2vw,68px); font-weight:700; color:#F4F1E8;
          font-variant-numeric:tabular-nums; line-height:1.02; margin:8px 0 6px; }
.toll .floor b { color:#C9A227; }
.toll p { margin:0; font-size:13px; color:#9AA6C4; line-height:1.5; }
.toll .pre { font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.16em; color:#C9A227; }

.livehead { display:grid; grid-template-columns:repeat(7,1fr); gap:10px; margin-bottom:14px; }
.livehead div { background:#0D132D; border-radius:12px; padding:14px 16px; }
.livehead span { display:block; font-size:30px; font-weight:700; color:#7CE0A8; font-variant-numeric:tabular-nums; line-height:1.05; }
.livehead label { display:block; font-size:11px; letter-spacing:.09em; text-transform:uppercase; color:#9AA6C4; margin-top:6px; line-height:1.35; }

.liveboard { display:grid; grid-template-columns:1fr 340px; gap:14px; align-items:start; }
.livepanes { display:grid; grid-template-columns:1.25fr 1fr; gap:14px; align-items:start; }
/* The globe is square and the overlay sits on top of it, so the pane has to be the positioning root. */
.globewrap { position:relative; }
.globe { background:#080D1F; border-radius:12px; padding:6px; display:flex; align-items:center; justify-content:center; }
.globe svg { width:100%; max-height:52vh; height:auto; display:block; }
/* The readout over the globe: a line of what the crew is doing, typed out and left to decay like
   phosphor. Text, not decoration, so a projector at the back of the room can still read it. */
.gterm { position:absolute; left:14px; right:14px; bottom:12px; pointer-events:none;
         font:500 13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.02em;
         text-shadow:0 0 12px rgba(124,224,168,.45); }
.gterm p { margin:0; color:#7CE0A8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
           transition:opacity .9s linear, color .9s linear; }
.gterm p.d1 { opacity:.62; color:#5FBF8C; } .gterm p.d2 { opacity:.38; color:#4C9E74; }
.gterm p.d3 { opacity:.20; color:#3E7F5E; } .gterm p.d4 { opacity:.09; color:#356B50; }
.gterm .cur { display:inline-block; width:.55em; background:#7CE0A8; animation:ccblink 1.05s steps(1) infinite; }
@keyframes ccblink { 50% { opacity:0; } }
@media (prefers-reduced-motion:reduce) { .gterm .cur { animation:none; } .ccstatus.on i { animation:none; } }

.livemap { background:#0D132D; border-radius:12px; padding:10px; display:flex; align-items:center; }
.livemap svg { width:100%; height:auto; display:block; }
.ccpanel { background:#0D132D; border-radius:12px; padding:14px 16px; min-width:0; }
.ccpanel h2 { margin:0 0 6px; }
.liveside h2, .ccpanel h2 { font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.16em;
               text-transform:uppercase; color:#9AA6C4; margin:0 0 8px; }
.liveside h2 + ul { margin:0 0 20px; }
.crewlist, .ticker { list-style:none; padding:0; margin:0; }
.crewlist li { background:#0D132D; border-radius:10px; padding:10px 12px; margin-bottom:8px; font-size:15px; color:#F4F1E8; }
.crewlist li b { display:block; color:#C9A227; }
.crewlist li span { color:#9AA6C4; font-size:13px; }
.ticker li { font-size:14px; line-height:1.4; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.ticker li .meta { display:block; font-size:12px; color:#9AA6C4; }
.ticker li.fresh { animation:flash 2.5s ease-out; }
@keyframes flash { from { background:rgba(124,224,168,.22); } to { background:transparent; } }
.k { display:inline-block; font-size:11px; letter-spacing:.06em; text-transform:uppercase; padding:2px 7px; border-radius:99px; margin-right:8px; background:#1B2340; color:#9AA6C4; }
.k-added, .k-approved { background:#12331F; color:#7CE0A8; }
.k-claimed { background:#33290F; color:#C9A227; }
.k-machine { background:#1A2E46; color:#7FB3D5; letter-spacing:.08em; }
.rep { color:#C9A227; font-weight:600; font-size:12px; }
/* Headlines, in the same card as everything else. They are not verified facts and the list says so. */
.cc #news { list-style:none; padding:0; margin:0; }
.cc #news li { display:flex; gap:9px; align-items:flex-start; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:13px; line-height:1.4; }
.cc #news a { color:#F4F1E8; text-decoration:none; }
.cc #news a:hover { color:#7CE0A8; text-decoration:underline; }
.cc #news .nthumb { flex:0 0 22px; }
.cc #news .nthumb img { width:22px; height:22px; border-radius:4px; display:block; }
.cc #news .meta { display:block; color:#9AA6C4; font-size:11px; margin-top:2px; }
.livefoot { color:#9AA6C4; font-size:13px; margin-top:16px; line-height:1.6; }
.livefoot b { color:#7CE0A8; }
@media (max-width:1240px) { .livehead { grid-template-columns:repeat(3,1fr); } }
@media (max-width:1100px) { .livepanes { grid-template-columns:1fr; } }
@media (max-width:1000px) { .liveboard { grid-template-columns:1fr; } .toll { grid-template-columns:1fr; }
  .livehead { grid-template-columns:repeat(2,1fr); } }

/* Connect page: one address to read out loud, then a procedure per client. */
.copywrap { position:relative; margin:1rem 0; }
.copywrap pre { margin:0; padding:1rem 5.5rem 1rem 1rem; overflow-x:auto; }
/* A command block, dark by design. The inline-code chip is meant for a word inside a sentence on a
   light page; inside a dark block it paints a pale rectangle under pale text and the text disappears.
   Anywhere code sits on dark, it carries no chip of its own and takes the block's colours. */
.cmd { background:var(--navy-dark); color:#EAF7EF; border:1px solid rgba(255,255,255,.14); }
.cmd code, .hero pre code { background:none; padding:0; color:inherit; font-size:inherit; }
.copywrap pre.big { font-size:1.15rem; font-weight:600; letter-spacing:.01em; }
/* Same problem in running text on the dark hero: a light chip under light type. */
.hero code { background:rgba(255,255,255,.14); color:#EAF7EF; }
.copybtn { position:absolute; top:.6rem; right:.6rem; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.1);
           color:#EAF7EF; border-radius:6px; padding:.4rem .75rem; font:600 .8rem/1 var(--sans); cursor:pointer; }
.copybtn:hover { border-color:#B7F7CE; color:#B7F7CE; background:rgba(255,255,255,.18); }
.installrow { display:flex; flex-wrap:wrap; gap:.6rem; margin:1.4rem 0 .8rem; }
.install { display:inline-flex; align-items:center; gap:.4rem; border:1px solid var(--rule); border-radius:8px;
           padding:.7rem 1.1rem; text-decoration:none; font-weight:600; background:var(--card); }
.install:hover { border-color:var(--green); color:var(--green); }
.install.claude { background:var(--navy-dark); color:#EAF7EF; border-color:transparent; }
.install.claude:hover { color:#B7F7CE; border-color:#B7F7CE; }
.installnote { color:var(--muted); font-size:.9rem; margin:.2rem 0 .6rem; }
.clientjump { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.6rem 0 .5rem; }
.clientjump a { border:1px solid var(--rule); border-radius:99px; padding:.4rem .85rem; font-size:.9rem; text-decoration:none; }
.clientjump a:hover { border-color:var(--green); }
.client { border-top:1px solid var(--rule); padding-top:1.2rem; margin-top:1.6rem; scroll-margin-top:1rem; }
.client h2 { margin:0 0 .6rem; }
.client ol, .client ul { margin:.6rem 0; padding-left:1.3rem; }
.client li { margin:.35rem 0; line-height:1.55; }

.roster { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:18px; margin:16px 0 8px; }
.roster figure { margin:0; text-align:center; }
.roster img { width:100%; aspect-ratio:1; border-radius:10px; display:block; background:#101A3D; }
.roster figcaption { font-size:14px; margin-top:8px; line-height:1.45; }
.roster .tier { color:#2D6A4F; font-weight:600; }
@media (prefers-color-scheme:dark) { .roster .tier { color:#7CE0A8; } }

/* The contribute page leads with the command, then shows one real district going through the whole
   pipeline, because "bring an agent" is accurate and tells you nothing. */
.herocmd { display:inline-block; margin:18px auto 0; padding:14px 22px; border-radius:8px;
           background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.18); color:#B7F7CE;
           font-size:18px; text-align:left; }
.hero .copywrap { max-width:640px; margin:18px auto 0; }
.hero .herocmd { padding:16px 92px 16px 22px; font-size:19px; font-weight:600; }
.hero .copybtn { top:50%; transform:translateY(-50%); right:12px; }
.herohow { margin:14px 0 0; font-size:15px; opacity:.92; }
.herohow a { display:block; margin-top:4px; }
ol.walk { margin:0 0 6px; padding-left:22px; }
ol.walk li { margin:0 0 14px; line-height:1.6; }
ol.walk q { display:block; margin:8px 0 0; padding:10px 14px; border-left:3px solid #2D6A4F;
            font-style:italic; quotes:none; }

/* The animated map. The controls sit above the map so a thumb on a phone is not covering the thing it
   is scrubbing. */
.tl { margin:18px 0 8px; }
.tlbar { display:flex; align-items:center; gap:14px; margin-bottom:10px; }
.tlplay { font:inherit; font-size:15px; padding:8px 20px; border:0; border-radius:6px; cursor:pointer;
          background:#0D132D; color:#fff; min-width:92px; }
.tlyear { font-variant-numeric:tabular-nums; font-size:28px; font-weight:700; min-width:3.1em; }
.tlbar input[type=range] { flex:1; accent-color:#2D6A4F; height:26px; }
.tlmap { background:#0D132D; border-radius:10px; padding:8px; }
.tlmap svg { width:100%; height:auto; display:block; }
.tlcap { min-height:3.2em; margin:12px 0 0; font-size:15px; line-height:1.5; }
.tlcap .hl { color:#2D6A4F; font-weight:600; }
.tlcap .ms { color:#6B5B2E; font-style:italic; }
.tlcap .und { color:#5E6A8A; }
@media (prefers-color-scheme:dark) { .tlcap .und { color:#9AA6C4; } }
.tlcap .ms a { color:inherit; }
@media (prefers-color-scheme:dark) { .tlcap .ms { color:#C9A227; } }
@media (prefers-color-scheme:dark) { .tlcap .hl { color:#7CE0A8; } }
@media (max-width:640px) { .tlbar { flex-wrap:wrap; } .tlbar input[type=range] { flex-basis:100%; order:3; } .tlyear { font-size:22px; } }

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Source+Sans+3:wght@400;600;700&display=swap');
:root{--navy-dark:#0D132D;--navy:#151A30;--charcoal:#293340;--gray-pale:#D9DEE8;--gray-light:#E8ECF1;--gray-medium:#8B95A5;--ink:#0D132D;--muted:#5A6577;--bg:#F5F7FA;--card:#FFFFFF;--rule:#D9DEE8;--green:#2D6A4F;--green-dark:#1B4332;--red:#9B2C2C;--red-dark:#742A2A;--partial:#C05621;--gold:#B7791F;--serif:'Merriweather',Georgia,serif;--sans:'Source Sans 3','Source Sans Pro',-apple-system,system-ui,sans-serif;--radius:2px;--shadow:0 2px 8px rgba(0,0,0,.15)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.55 var(--sans)}
a{color:var(--navy-dark)}.wrap{max-width:1200px;margin:0 auto;padding:0 1.25rem}
.top{background:var(--navy-dark);color:#fff;border-bottom:3px solid var(--red)}.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.25rem;flex-wrap:wrap}
.wordmark{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--serif);font-weight:700;font-size:1.35rem;text-decoration:none;color:#fff;letter-spacing:.02em}.wordmark span{color:#fff}.epmark{width:30px;height:30px;border-radius:50%;flex:0 0 auto;display:block}/* The line every Ground Crew site carries: this crew owns the mission, the protocol is somebody else's. */.builtwith{display:flex;align-items:flex-start;gap:.6rem;margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--rule)}.builtwith img{width:26px;height:26px;border-radius:50%;flex:0 0 auto;margin-top:.1rem}
.top nav{display:flex;gap:2rem;flex-wrap:wrap}.top nav a{text-decoration:none;color:var(--gray-pale);font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;border-bottom:2px solid transparent;padding-bottom:2px}.top nav a:hover{color:#fff;border-color:#fff}
img{max-width:100%;height:auto}pre,code{overflow-wrap:anywhere}main{overflow-x:hidden}.footnav{font-size:.85rem;color:var(--muted)}.footnav a{color:var(--muted)}
@media(max-width:700px){.top .wrap{padding:.6rem 1rem;gap:.5rem}.wordmark{font-size:1rem;gap:.4rem;white-space:nowrap}.wordmark span{display:none}.epmark{width:24px;height:24px}.top nav{gap:1rem;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;width:100%;padding:.2rem 0 .3rem}.top nav::-webkit-scrollbar{display:none}.top nav a{font-size:.74rem;flex:0 0 auto}.hero{padding:1.6rem 1rem 1.4rem}.hero h1{font-size:1.7rem}.hero .lede{font-size:1rem}.wrap{padding:0 1rem}main table{display:block;overflow-x:auto;max-width:100%;font-size:.88rem}.states-list{columns:1}.lede{font-size:1.02rem}}
h1{font-family:var(--serif);font-weight:900;font-size:clamp(1.8rem,3.6vw,2.7rem);line-height:1.12;margin:1.6rem 0 .6rem}h2{font-family:var(--serif);font-size:1.45rem;margin:2.2rem 0 .7rem;color:var(--navy-dark)}h3{font-size:1.05rem;margin:1.3rem 0 .4rem;text-transform:uppercase;letter-spacing:.04em;color:var(--charcoal)}
.hero{background:var(--navy-dark);color:#fff;text-align:center;padding:2.5rem 1.25rem 2rem}.hero h1{color:#fff;margin:0 0 .5rem;font-size:clamp(1.9rem,3.8vw,2.6rem)}.hero .lede{color:var(--gray-pale);margin:0 auto;max-width:70ch}.hero .status{margin-top:.6rem}.hero .crumb{color:var(--gray-pale);font-size:.9rem;margin-bottom:.5rem}.hero .crumb a{color:#fff}
.lede{font-size:1.15rem;color:var(--muted);max-width:66ch;margin:0 0 1.4rem}
.layout{display:grid;grid-template-columns:1fr;gap:1rem}
.mapbox{background:var(--card);border:1px solid var(--rule);border-radius:var(--radius);box-shadow:var(--shadow);padding:.75rem;position:relative}
#map svg{width:100%;height:auto;display:block}.countymap{width:100%;height:auto;max-height:68vh;display:block;margin:0 auto}
/* A focusable SVG path gets a default focus ring drawn round its bounding box — a rectangle over
   the map. The county itself is traced instead, so the ring is not wanted. */
.countymap path[data-county]{cursor:pointer}
.countymap path[data-county]:focus{outline:none}
.countymap path[data-county]:focus-visible{outline:none}
.legend{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;font-size:.92rem;margin:.6rem 0 0;color:var(--charcoal)}.legend i{display:inline-block;width:14px;height:14px;border-radius:2px;margin-right:.45rem;vertical-align:-2px;border:1px solid rgba(0,0,0,.15)}
.tip{position:absolute;pointer-events:none;background:var(--navy-dark);color:#fff;padding:.55rem .75rem;border-radius:var(--radius);font-size:.9rem;line-height:1.35;max-width:320px;box-shadow:var(--shadow);display:none;z-index:5}.tip b{display:block;font-family:var(--serif);font-size:1rem;margin-bottom:.15rem}.tip .st{color:#D9DEE8}
.mapctl{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin:0 0 .5rem}/* text fields only: a checkbox in this bar must not inherit a 220px text-input box */
.mapctl select,.mapctl input[type=search],.mapctl input[type=text]{font:inherit;padding:.4rem .6rem;border:1px solid var(--gray-medium);border-radius:var(--radius);background:#fff;min-width:220px}
.card{background:var(--card);border:1px solid var(--rule);border-radius:var(--radius);padding:1.1rem 1.3rem;box-shadow:var(--shadow)}.card h2{margin-top:0;font-size:1.25rem}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin:1.5rem 0}.stat{background:var(--navy-dark);color:#fff;border-radius:var(--radius);padding:1rem 1.1rem}.stat b{display:block;font-family:var(--serif);font-size:2rem;line-height:1.1}.stat span{color:var(--gray-pale);font-size:.9rem}.stat.legal b{color:#E57373}.stat.banned b{color:#52B788}
.status{display:inline-block;padding:.25rem .7rem;border-radius:var(--radius);color:#fff;font-weight:700;font-size:.85rem;letter-spacing:.03em;text-transform:uppercase}.status.banned{background:var(--green)}.status.partial{background:var(--partial)}.status.legal{background:var(--red)}
table{border-collapse:collapse;width:100%;font-size:.95rem;background:var(--card)}th,td{text-align:left;padding:.55rem .7rem;border-bottom:1px solid var(--rule);vertical-align:top}th{background:var(--gray-light);font-weight:700}.tablewrap{overflow-x:auto;border:1px solid var(--rule);border-radius:var(--radius);box-shadow:var(--shadow)}
.pill{display:inline-block;padding:.1rem .5rem;border-radius:var(--radius);font-size:.85rem;font-weight:600}.pill.allows{background:#fecaca;color:#991b1b}.pill.bans{background:#bbf7d0;color:#166534}.pill.consent_required{background:#fef3c7;color:#92400e}.pill.unknown{background:#e5e7eb;color:#374151}.pill.silent{background:#fde2e2;color:#7f1d1d}
.meta{color:var(--muted);font-size:.88rem}.small{font-size:.9rem}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
pre{background:#fff;border:1px solid var(--rule);border-radius:var(--radius);padding:1rem;white-space:pre-wrap;font:.85rem/1.5 ui-monospace,Menlo,monospace;overflow-x:auto}.copy{background:var(--navy-dark);color:#fff;border:0;border-radius:var(--radius);padding:.45rem .8rem;cursor:pointer;font:inherit;font-size:.9rem}
.btn{display:inline-block;background:var(--red);color:#fff;text-decoration:none;padding:.6rem 1rem;border-radius:var(--radius);font-weight:700}
.foot{border-top:1px solid var(--rule);margin-top:3rem;padding-top:1.2rem;padding-bottom:2rem;color:var(--muted);font-size:.88rem}
ul.claims li{margin:.5rem 0}.states-list{columns:3;column-gap:1.5rem;font-size:.95rem}@media(max-width:700px){.states-list{columns:2}}.states-list a{text-decoration:none}
code{background:var(--gray-light);padding:.05rem .3rem;border-radius:var(--radius);font-size:.9em}
.news{list-style:none;padding:0;margin:0}
.news li{display:flex;gap:.7rem;align-items:flex-start;padding:.55rem 0;border-bottom:1px solid var(--rule)}
.news li.meta{display:block}
.news a{text-decoration:none;font-weight:600;color:var(--navy-dark)}.news .meta{color:var(--muted)}
.news .nbody{flex:1;min-width:0}
.news .nbody .meta{display:block}
/* the publisher's mark; their initial shows through when they have no usable icon */
.nthumb{position:relative;flex:0 0 28px;width:28px;height:28px;border-radius:5px;background:var(--gray-light);border:1px solid var(--rule);overflow:hidden;margin-top:.15rem}
.nthumb::before{content:attr(data-letter);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:700 .82rem/1 var(--sans);color:var(--muted)}
/* Hidden until it has actually loaded. A blank <img> sitting on a white background hides the
   letter behind it, so a publisher whose icon is slow or blocked shows an empty square rather
   than their initial — which is the case for about half of them from this host. */
.nthumb img{position:relative;width:100%;height:100%;object-fit:contain;display:block;opacity:0;transition:opacity .2s ease}
.nthumb img.ok{opacity:1;background:#fff}
tr.hl td{background:#fef3c7}
/* live contribution feed */
.live{background:var(--card);border:1px solid var(--rule);border-radius:var(--radius);padding:1.1rem 1.25rem;margin:1.6rem 0}
.live-head{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
.live-head h2{margin:0;font-size:1.3rem}
.live-tag{display:inline-flex;align-items:center;gap:.4rem;font:700 .72rem/1 var(--sans);letter-spacing:.09em;text-transform:uppercase;color:var(--red)}
#live-dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--red);display:inline-block}
#live-dot.beat{animation:livebeat 1.8s ease-out}
@keyframes livebeat{0%{box-shadow:0 0 0 0 rgba(155,44,44,.55)}100%{box-shadow:0 0 0 .7rem rgba(155,44,44,0)}}
.live .stats{margin:1.1rem 0 .2rem}
.live .stat b{font-size:1.75rem}
ul.feed{list-style:none;margin:.6rem 0 0;padding:0;border-top:1px solid var(--rule)}
ul.feed li{display:flex;gap:1rem;align-items:baseline;padding:.6rem 0;border-bottom:1px solid var(--gray-light);font-size:.95rem}
ul.feed .ev-when{flex:0 0 7.5rem;color:var(--muted);font-size:.82rem;font-variant-numeric:tabular-nums}
ul.feed .ev-what{flex:1;min-width:0}
ul.feed .ev-what strong{font-family:var(--serif);font-weight:700}
ul.feed .ev-verified .ev-what strong{color:var(--green-dark)}
ul.feed li.meta{display:block;color:var(--muted)}
path.state-active{stroke:#F6E05E !important;stroke-width:2.4 !important;filter:drop-shadow(0 0 3px rgba(246,224,94,.8))}
#live-map-note{color:var(--muted);font-size:.85rem;margin:.5rem 0 0}
/* counties somebody is working on right now, ringed over the settled record */
.county-live{stroke:#B7791F;stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linejoin:round}
/* school district borders: the unit policy is actually set in, over the county fills */
.district-lines{stroke:rgba(13,19,45,.75);stroke-width:.7;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.dlines{display:inline-flex;align-items:center;gap:.35rem;font-size:.88rem;color:var(--charcoal);cursor:pointer;white-space:nowrap}
.dlines input{cursor:pointer}
.county-live-verified{stroke:#F6E05E}
#county-live-note{margin:.5rem 0 0}
#county-live-note .county-live-key{display:inline-block;width:.75rem;height:.75rem;border:2px solid #B7791F;border-radius:2px;margin-right:.4rem;vertical-align:-1px}
.ev-place{display:inline-flex;align-items:center;gap:.22rem;color:var(--muted);font-size:.82rem;white-space:nowrap}
.ev-place .pin{flex:none;opacity:.8}
/* social-proof toast */
/* The toast is a notification, not site chrome: a light card, deliberately unlike the navy header,
   and a fixed box so it never resizes as the text behind it changes. */
#live-toast{position:fixed;left:1rem;bottom:1rem;z-index:40;box-sizing:border-box;width:23.5rem;max-width:calc(100vw - 2rem);height:9rem;display:flex;gap:.8rem;align-items:center;background:var(--card);color:var(--ink);border:1px solid var(--rule);border-radius:14px;box-shadow:0 12px 32px rgba(13,19,45,.18);padding:.85rem;opacity:0;transform:translateY(.75rem);pointer-events:none;transition:opacity .35s ease,transform .35s ease}
#live-toast.show{opacity:1;transform:translateY(0);pointer-events:auto}
#live-toast .toast-x{position:absolute;top:.3rem;right:.45rem;background:none;border:0;color:var(--gray-medium);font-size:1.15rem;line-height:1;cursor:pointer;padding:.15rem .3rem}
#live-toast .toast-x:hover{color:var(--ink)}
#live-toast .toast-map{flex:0 0 7rem}
#live-toast .osm{position:relative;width:7rem;height:7rem;border-radius:10px;overflow:hidden;background:#dfe3e8;box-shadow:0 0 0 1px var(--rule)}
#live-toast .osm-world img{position:absolute;inset:0;width:100%;height:100%;display:block}
#live-toast .osm-pan{position:absolute;inset:0;will-change:transform}
#live-toast .osm-pan img{position:absolute;display:block;width:256px;height:256px;max-width:none}
#live-toast .osm-marker{position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;border-radius:50%;background:var(--red);border:2px solid #fff;box-shadow:0 0 0 1px rgba(13,19,45,.45),0 1px 3px rgba(0,0,0,.35)}
#live-toast .osm-credit{position:absolute;right:0;bottom:0;background:rgba(255,255,255,.85);color:var(--charcoal);font:600 8px/1.35 var(--sans);padding:0 3px;border-top-left-radius:4px;text-decoration:none}
#live-toast .osm-credit:hover{background:#fff;text-decoration:underline}
/* The body is the only flexible part, and it is clamped so a long district name cannot grow the box. */
#live-toast .toast-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.35rem;height:100%}
#live-toast .toast-line{margin:0;font-size:.88rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;line-clamp:4;overflow:hidden}
#live-toast .toast-line strong{font-family:var(--serif);font-weight:700;color:var(--navy-dark)}
#live-toast .toast-foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:0}
#live-toast .ev-place{color:var(--muted);font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#live-toast .toast-when{color:var(--muted);font-size:.76rem;flex:none}
#live-toast .toast-cta{display:inline-block;color:var(--red-dark);font-weight:700;font-size:.8rem;text-decoration:none;border-bottom:1px solid rgba(155,44,44,.35);padding-bottom:.05rem;align-self:flex-start}
#live-toast .toast-cta:hover{border-bottom-color:var(--red-dark)}
@media(prefers-reduced-motion:reduce){#live-toast{transition:none}}
@media print{#live-toast{display:none}}
@media(max-width:560px){ul.feed li{flex-direction:column;gap:.1rem}ul.feed .ev-when{flex:none}}
/* the wall */
.wallpage{max-width:1400px;margin:0 auto;padding:1rem 16px 3rem;background:#0D132D;color:#E8ECF1;border-radius:6px}
.wallhead{display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:end}
.wallhead h1{color:#fff;margin:.2rem 0}.wallhead .lede{color:#C9D1E0;max-width:48rem}
.wallscore{display:grid;grid-template-columns:repeat(5,auto);gap:1.2rem;text-align:center}
.wallscore b{display:block;font-size:2rem;font-family:var(--serif);color:#fff;line-height:1}.wallscore label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#8B95A5}
.walllegend{display:flex;flex-wrap:wrap;gap:.9rem;font-size:.82rem;color:#C9D1E0;margin:.8rem 0}.walllegend i{display:inline-block;width:11px;height:11px;margin-right:.35rem;vertical-align:-1px;border-radius:1px}
.wallboard{display:grid;grid-template-columns:1fr 340px;gap:1.2rem;align-items:start}
.wallcanvas{position:relative}#wall{width:100%;display:block;cursor:crosshair}
.wtip{position:absolute;pointer-events:none;background:#fff;color:#0D132D;padding:.4rem .6rem;border-radius:3px;font-size:.82rem;box-shadow:var(--shadow);max-width:260px;z-index:2}
.wpanel{background:#151A30;border:1px solid #2A3352;border-radius:4px;padding:.9rem 1rem;margin-bottom:1rem}.wpanel h2{margin:0 0 .4rem;font-size:1rem;color:#fff}.wpanel .meta{color:#8B95A5}
.wpanel code{background:#0D132D;color:#E8ECF1;padding:.1rem .3rem;border-radius:2px}
.wbtn{display:block;width:100%;padding:.6rem;border-radius:4px;border:1px solid #B7791F;background:#B7791F;color:#0D132D;font:inherit;font-weight:700;cursor:pointer;margin-top:.5rem}.wbtn.alt{background:transparent;color:#E8ECF1;border-color:#3A4466}
.wclaimbox{background:#0D132D;border:1px solid #2A3352;border-radius:3px;padding:.6rem;font-size:.85rem;white-space:pre-wrap;word-break:break-word;margin:.5rem 0;color:#E8ECF1;max-height:180px;overflow:auto}
.wtabs{display:flex;gap:.3rem;margin:.3rem 0 .5rem}.wtabs button{font:inherit;font-size:.8rem;padding:.25rem .6rem;border-radius:3px;border:1px solid #3A4466;background:transparent;color:#C9D1E0;cursor:pointer}.wtabs button.on{background:#2A3352;color:#fff}
.wleaders{margin:0;padding-left:1.4rem}.wleaders li{padding:.25rem 0;border-bottom:1px solid #2A3352;font-size:.9rem;display:flex;justify-content:space-between;gap:.5rem}.wleaders li span.r{color:#8B95A5;font-size:.78rem;white-space:nowrap}.wleaders .dots i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3A4466;margin-left:2px}.wleaders .dots i.on{background:#B7791F}
.wfeed{list-style:none;margin:0;padding:0;font-size:.85rem}.wfeed li{padding:.3rem 0;border-bottom:1px solid #2A3352}.wfeed time{color:#8B95A5;font-size:.75rem;margin-left:.3rem}
.wladder{margin:0;padding-left:1.3rem;font-size:.88rem}.wladder li{padding:.15rem 0}
@media(max-width:900px){.wallhead,.wallboard{grid-template-columns:1fr}.wallscore{grid-template-columns:repeat(3,auto);text-align:left}.wallscore b{font-size:1.5rem}}

/* the arcade */
.arc{max-width:1400px;margin:0 auto;padding:.6rem 16px 3rem;background:#06091A;color:#E8ECF1}
.arc h1{color:#fff;margin:.2rem 0 .3rem}.arc .lede{color:#C9D1E0;max-width:56rem;margin:0 0 .6rem}
.hud{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#FDE68A;margin:.3rem 0 .5rem;font-weight:700}.hud span{white-space:nowrap}.hud .dim{color:#8B95A5}
.arcboard{display:grid;grid-template-columns:1fr 320px;gap:1rem;align-items:start}
#arcade{width:100%;display:block;border:1px solid #1B2340;border-radius:4px;touch-action:none;cursor:crosshair;image-rendering:pixelated}
.arcctl{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#8B95A5;margin-top:.4rem}.arcctl button{font:inherit;font-size:.78rem;padding:.25rem .6rem;border-radius:3px;border:1px solid #3A4466;background:transparent;color:#C9D1E0;cursor:pointer}
.ppanel{background:#0D132D;border:1px solid #1B2340;border-radius:4px;padding:.8rem .9rem;margin-bottom:.8rem}.ppanel h2{margin:0 0 .3rem;font-size:1rem;color:#fff}.ppanel .meta{color:#8B95A5;margin:.2rem 0}.ppanel .small{font-size:.85rem;margin:.4rem 0 0;color:#C9D1E0}
.pbox{background:#06091A;border:1px solid #1B2340;border-radius:3px;padding:.5rem;font-size:.8rem;white-space:pre-wrap;word-break:break-word;margin:.5rem 0;color:#E8ECF1;max-height:150px;overflow:auto}
.pbtn{display:block;width:100%;padding:.5rem;border-radius:4px;border:1px solid #FDE68A;background:#FDE68A;color:#06091A;font:inherit;font-weight:700;cursor:pointer;margin-top:.4rem;text-align:center;text-decoration:none}.pbtn.alt{background:transparent;color:#E8ECF1;border-color:#3A4466}
.pleaders{margin:0;padding-left:1.3rem}.pleaders li{display:flex;justify-content:space-between;gap:.5rem;padding:.2rem 0;border-bottom:1px solid #1B2340;font-size:.88rem}.pleaders em{color:#8B95A5;font-style:normal;font-size:.76rem}.pleaders b{color:#FDE68A}
.pfeed{list-style:none;margin:0;padding:0;font-size:.82rem}.pfeed li{padding:.25rem 0;border-bottom:1px solid #1B2340;color:#C9D1E0}.pfeed li.on{color:#A7F3D0}.pfeed time{color:#8B95A5;font-size:.72rem;margin-left:.3rem}
@media(max-width:900px){.arcboard{grid-template-columns:1fr}}

/* coach v4 */
/* The Behavior Coach, in the shape people know from Claude and ChatGPT: a sidebar with the way back to the
   rest of the site, one centered conversation column, the composer pinned at the bottom, and on a phone the
   sidebar folds behind a menu button. The page itself never scrolls; the stage does. */
body.app { margin:0; height:100dvh; overflow:hidden; display:flex; background:#fff; color:var(--ink); font:17px/1.5 var(--sans); }
body.app * { box-sizing:border-box; }
.side { width:272px; flex:0 0 272px; background:var(--bg); border-right:1px solid var(--rule); display:flex; flex-direction:column; padding:.9rem .9rem 1rem; overflow:auto; }
.sidehead { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.9rem; }
.brandlink { display:inline-flex; align-items:center; gap:.55rem; text-decoration:none; color:var(--ink); font-family:var(--serif); font-weight:700; font-size:1.1rem; }
.brandlink img { border-radius:50%; }
.closeside { display:none; background:none; border:0; font-size:1.7rem; line-height:1; color:var(--muted); cursor:pointer; padding:.2rem .4rem; }
.newchat { width:100%; text-align:left; background:#fff; border:1px solid var(--rule); border-radius:10px; padding:.6rem .8rem; font:600 .95rem/1.2 var(--sans); color:var(--ink); cursor:pointer; }
.newchat:hover { border-color:var(--navy-dark); }
.sidenav { display:flex; flex-direction:column; margin:1rem 0 0; }
.sidenav b { font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:.9rem .5rem .3rem; font-weight:700; }
.sidenav a { display:block; padding:.45rem .55rem; border-radius:8px; text-decoration:none; color:var(--ink); font-size:.95rem; }
.sidenav a:hover { background:#fff; }
.sidefoot { margin:auto 0 0; padding-top:.9rem; font-size:.78rem; line-height:1.45; color:var(--muted); }
.sidefoot + .sidefoot { margin-top:.4rem; padding-top:0; }
.scrim { display:none; position:fixed; inset:0; background:rgba(13,19,45,.45); z-index:9; }
.main { flex:1; min-width:0; display:flex; flex-direction:column; height:100dvh; }
.bar { display:flex; align-items:center; gap:.7rem; padding:.55rem .9rem; border-bottom:1px solid var(--rule); min-height:52px; }
.burger { display:none; width:38px; height:38px; border:0; background:none; cursor:pointer; padding:8px; flex-direction:column; justify-content:space-between; }
.burger span { display:block; height:2px; background:var(--ink); border-radius:2px; }
.bartitle { font-family:var(--serif); font-weight:700; font-size:1.05rem; }
.barnote { color:var(--muted); font-size:.85rem; }
.barbtn { margin-left:auto; background:none; border:1px solid var(--rule); border-radius:8px; padding:.35rem .7rem; font:500 .85rem/1 var(--sans); color:var(--charcoal); cursor:pointer; }
#stage { flex:1; min-height:0; overflow:auto; -webkit-overflow-scrolling:touch; }
.col { max-width:780px; margin:0 auto; padding:1.4rem 1.1rem 1.2rem; }
/* the intake, which is the empty state */
#intake h1 { font-family:var(--serif); font-weight:900; font-size:clamp(1.6rem,3vw,2.1rem); margin:.4rem 0 .4rem; line-height:1.15; }
#intake .lede { color:var(--muted); font-size:1rem; margin:0 0 .6rem; max-width:62ch; }
#intake .q { margin:1.1rem 0 0; }
#intake .q label { display:block; font-weight:600; margin-bottom:.45rem; }
#intake .q label small { font-weight:400; color:var(--muted); }
.chips { display:flex; flex-wrap:wrap; gap:.45rem; }
.chips button { border:1px solid var(--rule); background:#fff; border-radius:99px; padding:.5rem .9rem; font:500 .92rem/1 var(--sans); color:var(--ink); cursor:pointer; }
.chips button:hover { border-color:var(--navy-dark); }
.chips button.on { background:var(--navy-dark); color:#fff; border-color:var(--navy-dark); }
.chips.missing button { border-color:var(--red); }
#intake textarea { width:100%; min-height:92px; border:1px solid var(--rule); border-radius:12px; padding:.7rem .85rem; font:16px/1.45 var(--sans); resize:vertical; }
#intake .go { margin:1.2rem 0 .4rem; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
#intake .go button { background:var(--navy-dark); color:#fff; border:0; border-radius:12px; padding:.85rem 1.5rem; font:600 1rem/1 var(--sans); cursor:pointer; }
#intake .go small { color:var(--muted); font-size:.85rem; }
.q.parent, .q.teacher { display:none; }
body[data-role="parent"] .q.parent, body[data-role="teacher"] .q.teacher, body[data-role="admin"] .q.teacher { display:block; }
body.chatting #intake { display:none; }
/* the conversation */
#log { display:flex; flex-direction:column; gap:1.1rem; }
.cmsg { line-height:1.55; font-size:1rem; }
.cmsg p { margin:0 0 .7rem; } .cmsg p:last-child { margin-bottom:0; }
.cmsg ol, .cmsg ul { margin:.3rem 0 .7rem 1.3rem; padding:0; } .cmsg li { margin:.3rem 0; }
.cmsg.you { align-self:flex-end; max-width:85%; background:var(--bg); border:1px solid var(--rule); border-radius:18px; border-bottom-right-radius:6px; padding:.75rem 1rem; white-space:pre-wrap; }
.cmsg.bot { display:grid; grid-template-columns:30px 1fr; gap:.8rem; align-items:start; padding:.2rem 0; }
.cmsg.bot::before { content:""; width:30px; height:30px; border-radius:50%; background:url(/kids/assets/earthpilot.png) center/cover; margin-top:.1rem; }
.cmsg.bot > div { min-width:0; }
.cmsg.err > div { color:var(--red-dark); }
.dots { display:inline-flex; gap:5px; padding:.6rem 0; }
.dots i { width:8px; height:8px; border-radius:50%; background:var(--muted); animation:coachdot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay:.15s; } .dots i:nth-child(3) { animation-delay:.3s; }
@keyframes coachdot { 0%,80%,100% { transform:translateY(0); opacity:.4; } 40% { transform:translateY(-6px); opacity:1; } }
/* the composer */
.composerwrap { display:none; padding:.5rem 1.1rem calc(.7rem + env(safe-area-inset-bottom)); background:linear-gradient(#fff0,#fff 30%); }
body.chatting .composerwrap { display:block; }
#composer { max-width:780px; margin:0 auto; display:flex; align-items:flex-end; gap:.5rem; border:1px solid var(--rule); border-radius:18px; padding:.45rem .45rem .45rem .9rem; background:#fff; box-shadow:0 2px 12px rgba(13,19,45,.08); }
#composer:focus-within { border-color:var(--navy-dark); }
#composer.done { display:none; }
#say { flex:1; border:0; outline:0; padding:.55rem 0; font:16px/1.45 var(--sans); resize:none; min-height:40px; max-height:180px; background:transparent; }
#send { width:40px; height:40px; border-radius:50%; border:0; background:var(--navy-dark); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; flex:0 0 auto; }
#send:disabled { opacity:.35; cursor:default; }
.composernote { max-width:780px; margin:.45rem auto 0; text-align:center; font-size:.75rem; color:var(--muted); }
@media (max-width: 860px) {
  .side { position:fixed; top:0; bottom:0; left:0; z-index:10; transform:translateX(-100%); transition:transform .22s ease; width:min(300px,86vw); flex-basis:auto; box-shadow:0 0 30px rgba(13,19,45,.25); }
  body.menu .side { transform:none; }
  body.menu .scrim { display:block; }
  .closeside, .burger { display:flex; }
  .barnote { display:none; }
  .col { padding:1rem .9rem 1rem; }
  .cmsg.you { max-width:92%; }
  .composerwrap { padding-left:.7rem; padding-right:.7rem; }
}
@media print { .side, .bar, .composerwrap, #intake { display:none !important; } body.app { height:auto; overflow:visible; } #stage { overflow:visible; } }

/* the first screen: one question, one box; the chips wait behind a link */
#start { padding-top:min(10vh,90px); }
#start h1 { font-family:var(--serif); font-weight:900; font-size:clamp(1.7rem,3.2vw,2.3rem); margin:.4rem 0 .5rem; line-height:1.15; }
#start .lede { color:var(--muted); font-size:1rem; margin:0 0 1rem; max-width:62ch; }
.startrole { margin-bottom:.8rem; }
.startbox { display:flex; align-items:flex-end; gap:.5rem; border:1px solid var(--rule); border-radius:18px; padding:.5rem .5rem .5rem 1rem; background:#fff; box-shadow:0 2px 12px rgba(13,19,45,.08); }
.startbox:focus-within { border-color:var(--navy-dark); }
.startbox textarea { flex:1; border:0; outline:0; resize:none; font:16px/1.45 var(--sans); padding:.5rem 0; background:transparent; min-height:70px; }
.startbox button { width:40px; height:40px; border-radius:50%; border:0; background:var(--navy-dark); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; flex:0 0 auto; }
.startalt { margin:.9rem 0 0; font-size:.9rem; color:var(--muted); }
.startalt a { color:var(--navy-dark); }
body.chatting #start { display:none; }
.modal { display:none; position:fixed; inset:0; z-index:20; background:rgba(13,19,45,.5); align-items:center; justify-content:center; padding:1rem; }
body.quiz .modal { display:flex; }
.modalbox { background:#fff; border-radius:16px; width:min(760px,100%); max-height:92dvh; overflow:auto; padding:1.1rem 1.3rem 1.3rem; box-shadow:0 20px 60px rgba(13,19,45,.3); }
.modalhead { display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.modalhead h2 { font-family:var(--serif); font-size:1.35rem; margin:0; }
.closemodal { background:none; border:0; font-size:1.8rem; line-height:1; color:var(--muted); cursor:pointer; padding:.2rem .4rem; }
#intake .fine { color:var(--muted); font-size:.9rem; margin:.3rem 0 0; }
@media (max-width: 860px) { .modal { padding:0; } .modalbox { width:100%; max-height:100dvh; border-radius:0; } #start { padding-top:1rem; } }
