/* Nova v6 "Midnight": the homepage's look across the dashboard, owner panel and every signed-in page (loaded last).
   Near-black, one Nova blue, no second accent. Only design tokens and a few headings change; layouts stay as they are. */
:root{
  --canvas:#07080c;--panel:#0b0d12;--raised:#111319;--raised2:#151821;--hover:#171a22;--active:#1b1e27;
  --border:#1d2029;--border2:#2a2e3a;--border3:#363b48;
  --text:#f5f6f8;--text2:#c8ccd6;--text3:#8b90a0;--text4:#5c6170;
  --accent:#4ea4ff;--accent-strong:#3a93f5;--accent-ink:#04121f;--accent-soft:#4ea4ff14;--accent-line:#4ea4ff3d;
  --indigo:#4ea4ff;--glow:#4ea4ff;
  --nova-blue:#4ea4ff;--nova-indigo:#4ea4ff;--nova-cyan:#4ea4ff;
  --edge:linear-gradient(160deg,#4ea4ff38,#ffffff0a 38%,#ffffff05 62%,#ffffff08);
  --edge-hover:linear-gradient(160deg,#4ea4ff70,#ffffff12 40%,#ffffff08 62%,#ffffff10);
  --ring:0 0 0 3px #4ea4ff2e;
}
::selection{background:#4ea4ff59;color:#fff}

/* Headings get the homepage's display face; body text stays Geist (close to Inter, already loaded). */
h1,h2,.ph h1,.tk-h h1,.box-h h2{font-family:'Inter Tight',Geist,Inter,system-ui,sans-serif;letter-spacing:-.03em}

/* Primary buttons match the homepage: white on black, blue only for focus. */
.btn.primary{background:var(--text);color:var(--canvas);border-color:var(--text);box-shadow:none}
.btn.primary:hover{background:#fff;border-color:#fff}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Overview: feed avatars + transcript links, module search/filters, suggested tiles */
.feed .ev .av{width:28px;height:28px;border-radius:50%;flex-shrink:0;object-fit:cover;border:1px solid var(--border2)}
.feed .ev .av + .ic{display:none}
.feed a.ev.link{color:inherit;text-decoration:none;transition:background .12s}
.feed a.ev.link:hover{background:rgba(78,164,255,.05)}
.feed a.ev.link:hover time{color:var(--accent)}
.feed time .xl{width:11px;height:11px;vertical-align:-1px;opacity:.7}
.mbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 4px}
.msearch{flex:1;min-width:220px;display:flex;align-items:center;gap:8px;padding:0 12px;height:36px;border-radius:10px;background:var(--raised);border:1px solid var(--border)}
.msearch:focus-within{border-color:var(--accent-line)}
.msearch svg{width:15px;height:15px;color:var(--text4)}
.msearch input{flex:1;background:none;border:0;outline:0;color:var(--text);font:inherit;font-size:13px;padding:0;height:auto}
.mchips{display:flex;gap:4px;padding:3px;border-radius:10px;background:var(--raised);border:1px solid var(--border)}
.mchips button{border:0;background:none;color:var(--text3);font:inherit;font-size:12.5px;padding:6px 12px;border-radius:7px;cursor:pointer}
.mchips button:hover{color:var(--text)}
.mchips button.on{background:var(--accent-soft);color:var(--accent)}
.mnone{padding:30px;text-align:center;color:var(--text3);font-size:13px}
.mtile.msug{border-style:dashed;background:transparent;color:inherit;text-decoration:none}
.mtile.msug:hover{border-color:var(--accent-line);background:rgba(78,164,255,.03)}
.mtile.msug .kick{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.mtile.msug .ft span{font-size:12.5px;color:var(--accent);display:inline-flex;align-items:center;gap:4px}
.mtile.msug .ft svg{width:13px;height:13px}
.mtile[hidden],.mtiles[hidden],.mgroup[hidden],.mnone[hidden]{display:none!important}
/* Staff podium (Tickets > Analytics) */
.podium{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 16px 10px}
.podium .pd{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 12px 14px;border-radius:14px;background:var(--raised);border:1px solid var(--border);text-align:center}
.podium .p1{border-color:var(--accent-line);background:linear-gradient(180deg,rgba(78,164,255,.10),var(--raised) 70%)}
.podium .md{position:absolute;top:10px;left:12px;font-size:18px}
.podium img,.podium .ph{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid var(--border2)}
.podium .p1 img,.podium .p1 .ph{width:64px;height:64px;border-color:var(--accent)}
.podium .ph{display:grid;place-items:center;background:var(--panel);font-weight:600;color:var(--text3)}
.podium .pts{font-size:12px;color:var(--accent);font-weight:600}
.podium .ps{display:flex;gap:14px;margin-top:4px;font-size:11px;color:var(--text4)}
.podium .ps span{display:flex;flex-direction:column}.podium .ps b{font-size:13px;color:var(--text)}
@media (max-width:700px){.podium{grid-template-columns:1fr}}
/* Phones: search button in the top bar becomes an icon, two-column sections stack */
@media (max-width:700px){
  header.bar .kbtn{width:36px;min-width:36px;padding:0;justify-content:center;flex:none}
  header.bar .kbtn > :not(svg){display:none}
  .tk-two{grid-template-columns:1fr!important}
  header.bar .status{font-size:0;gap:0;padding:0 6px}
}

/* Snappier page entrance */
.content{animation-duration:.25s!important}
