/* Shared look for the inner pages: black, Figtree, thin lines, one cool accent. */
:root {
  --ink: #e8eef8;
  --ink-2: rgba(232, 238, 248, 0.68);
  --ink-3: rgba(232, 238, 248, 0.42);
  --ink-4: rgba(232, 238, 248, 0.24);
  --line: rgba(232, 238, 248, 0.12);
  --line-2: rgba(232, 238, 248, 0.2);
  --card: rgba(10, 13, 20, 0.62);
  --accent: #8fb8ff;
  --good: #9fe3b4;
  --bad: #ffb4a8;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { background: #000; color: var(--ink); font-family: Figtree, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
a { color: inherit; }
#field { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
#field.on { opacity: 1; }
.page { position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 32px;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.mark { font-size: 13px; font-weight: 600; letter-spacing: 0.32em; text-decoration: none; color: #fff; white-space: nowrap; }
.co { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.co i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav a { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; }
.nav a:hover { color: #fff; }
.nav a[aria-current='page'] { color: #05070b; background: #fff; }
.bar .end { margin-left: auto; display: flex; gap: 10px; }
.pill-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font: 600 13px/1 Figtree, sans-serif; text-decoration: none; background: transparent; cursor: pointer; white-space: nowrap; }
.pill-btn:hover { border-color: rgba(232, 238, 248, 0.4); }
.demo-flag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; white-space: nowrap; }
.demo-flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--ink-3); }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 72px 32px 40px; }
.wrap.narrow { max-width: 760px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
h1.title { margin-top: 14px; font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.lead { margin-top: 16px; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.meta-line { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.stack { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 28px; }
.card h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.card .sub { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 720px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hr { height: 1px; background: var(--line); border: 0; margin: 24px 0; }

/* ---------- buttons, code ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  font: 600 14px/1 Figtree, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { border-color: rgba(232, 238, 248, 0.4); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: #fff; color: #05070b; border-color: #fff; }
.btn.primary:hover { background: #dfe8ff; }
.btn.done { background: var(--accent); border-color: var(--accent); color: #05070b; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.code {
  margin-top: 12px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.55);
  font: 400 13px/1.65 var(--mono); color: var(--ink); white-space: pre-wrap; word-break: break-word;
}
.code .p { color: var(--ink-3); user-select: none; }
.code-row { display: flex; gap: 10px; align-items: flex-start; }
.code-row .code { flex: 1; }
.warn { margin-top: 14px; padding: 12px 16px; border-left: 2px solid var(--bad); border-radius: 0 10px 10px 0; background: rgba(255, 180, 168, 0.06); font-size: 14px; line-height: 1.55; color: var(--ink); }
.note { margin-top: 14px; padding: 12px 16px; border-left: 2px solid var(--line-2); border-radius: 0 10px 10px 0; background: rgba(232, 238, 248, 0.04); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.note b { color: #fff; font-weight: 600; }

/* ---------- step number ---------- */
.step-h { display: flex; align-items: center; gap: 12px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 13px/1 var(--mono); color: var(--ink); flex: none; }

/* ---------- proof badges: the platform's four levels ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; vertical-align: middle; }
.badge.ub { background: #fff; color: #05070b; }
.badge.rep { border: 1px solid rgba(232, 238, 248, 0.7); color: #fff; }
.badge.hint { border: 1px dashed rgba(232, 238, 248, 0.6); color: var(--ink); }
.badge.plain { border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500; }
.conf { font-size: 12px; color: var(--ink-3); text-decoration: underline dotted rgba(232, 238, 248, 0.25); text-underline-offset: 3px; white-space: nowrap; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); padding: 0 12px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; color: var(--ink-2); }
.table td b, .table td strong { color: #fff; font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; margin-top: 18px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #fff; }
.input { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.5); color: #fff; font: 500 15px Figtree, sans-serif; }
.input::placeholder { color: var(--ink-4); }
.input:focus { border-color: rgba(232, 238, 248, 0.5); outline: none; }
.hint { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.check { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { accent-color: #fff; width: 16px; height: 16px; }

/* ---------- reveal ---------- */
.rise { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1s ease, transform 1.2s var(--ease), filter 1s ease; }
.rise.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- footer (same as the landing page) ---------- */
.foot { position: relative; margin-top: 140px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 56px; padding: 56px 24px 64px; border-top: 1px solid var(--line); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.foot-nav p { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 14px; }
.foot-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; text-underline-offset: 4px; }
.foot-nav a:hover, .foot-nav a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 1px; }
.foot-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; color: var(--ink-3); text-align: right; }
zen-footer { display: block; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 10; transform: translate(-50%, 8px); padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #05070b; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .bar { gap: 14px; padding: 0 16px; }
  .co, .demo-flag { display: none; }
  .wrap { padding: 48px 18px 32px; }
  .card { padding: 20px; }
  .foot-meta { align-items: flex-start; text-align: left; }
}

/* ---------- checklist ---------- */
.tally { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.tally span { display: inline-flex; align-items: center; gap: 8px; }
.tally b { color: #fff; font-size: 18px; font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-green { background: var(--good); box-shadow: 0 0 10px rgba(159, 227, 180, 0.55); }
.dot-red { background: var(--bad); box-shadow: 0 0 10px rgba(255, 180, 168, 0.5); }
.dot-grey { background: transparent; border: 1px solid var(--ink-3); }
.next { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; color: var(--ink); }
.table tr.off td { color: var(--ink-4); }
.table tr.off td b { color: var(--ink-4); }
.idx { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.src { font-size: 13px; color: var(--ink-3); white-space: nowrap; }

/* ---------- reports ---------- */
.report { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.report-main { flex: 1 1 420px; }
.report-kind { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.report-side { display: flex; align-items: center; gap: 18px; }

/* ---------- add a company ---------- */
.finds { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.find { display: grid; grid-template-columns: 150px 96px 1fr; gap: 8px 14px; align-items: center; }
.find .badge { justify-self: start; }
.find label { font-size: 14px; font-weight: 600; color: #fff; }
.find .input { height: 42px; font-size: 14px; }
.find p.hint { grid-column: 3; }
@media (max-width: 760px) { .find { grid-template-columns: 1fr auto; } .find .input, .find p.hint { grid-column: 1 / -1; } }

/* ---------- guide ---------- */
.mono { font-family: var(--mono); font-size: 0.92em; }
.facts { margin-top: 14px; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- legal ---------- */
.legal { margin-top: 48px; display: flex; flex-direction: column; gap: 36px; }
.legal-s h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.legal-s p { font-size: 16.5px; line-height: 1.7; color: var(--ink); max-width: 68ch; }
.legal-s p + p { margin-top: 12px; }

/* ---------- dashboard ---------- */
.wrap.wide { max-width: 1240px; }
.controls { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.4); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 13px Figtree, sans-serif; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed='true'] { background: #fff; color: #05070b; }
.exports { margin-left: auto; gap: 18px; font-size: 13px; }
.exports a, .small a { color: var(--ink-2); text-underline-offset: 3px; }
.exports a:hover, .small a:hover { color: #fff; }
.controls + .warn { margin-top: 24px; }
.hero-stat { margin-top: 28px; padding: 40px 36px; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, rgba(143, 184, 255, 0.07), rgba(10, 13, 20, 0.6) 60%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-stat .sub { max-width: 860px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.big { margin: 10px 0 14px; font-size: clamp(56px, 8vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(110, 160, 255, 0.22); }
.tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.tile { padding: 24px 24px 26px; background: rgba(6, 8, 13, 0.9); display: flex; flex-direction: column; gap: 10px; }
.tile-k { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.tile-v { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.tile-d { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.tile-m { font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } .exports { margin-left: 0; } }
.split { display: flex; height: 14px; margin-top: 22px; border-radius: 999px; overflow: hidden; gap: 3px; }
.split i, .legend i { display: block; }
.s-ai { background: #fff; }
.s-human { background: rgba(143, 184, 255, 0.55); }
.s-none { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; }
.legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend b { color: #fff; font-size: 16px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.funnel { list-style: none; padding: 0; margin: 22px 0 16px; }
.fn { display: grid; grid-template-columns: 28px minmax(160px, 1.2fr) minmax(120px, 1fr) 150px minmax(260px, 1.4fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fn:last-child { border-bottom: 0; }
.fn-name { font-size: 15px; color: #fff; }
.fn-bar { height: 6px; border-radius: 999px; background: rgba(232, 238, 248, 0.1); overflow: hidden; }
.fn-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, rgba(232, 238, 248, 0.55), #fff); }
.fn-share { font-size: 13px; color: var(--ink-3); }
.fn-vals { display: flex; flex-direction: column; gap: 6px; }
.fn-vals b { color: #fff; font-size: 15px; min-width: 36px; }
@media (max-width: 900px) { .fn { grid-template-columns: 28px 1fr; } .fn-bar, .fn-share, .fn-vals { grid-column: 2; } }
.chart { position: relative; height: 240px; margin-top: 40px; border-bottom: 1px solid var(--line-2); }
.chart-pre { position: absolute; left: 0; top: 0; bottom: 0; width: 28%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(232, 238, 248, 0.05) 0 1px, transparent 1px 9px); font-size: 12.5px; color: var(--ink-3); }
.chart-bars { position: absolute; left: 28%; right: 0; top: 0; bottom: 0; display: flex; align-items: flex-end; gap: 4px; padding: 0 4px; }
.chart-bars i { flex: 1; border-radius: 3px 3px 0 0; background: rgba(232, 238, 248, 0.45); min-height: 2px; transition: background-color 0.2s ease; }
.chart-bars i.after { background: #fff; box-shadow: 0 0 14px rgba(143, 184, 255, 0.25); }
.chart-bars i:hover { background: var(--accent); }
.mark-line { position: absolute; top: -26px; bottom: 0; border-left: 1px solid rgba(232, 238, 248, 0.7); }
.mark-line.dash { border-left-style: dashed; }
.mark-line em { position: absolute; top: 0; left: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; }
.axis { position: relative; height: 18px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.axis span:first-child { transform: none; }
.axis span:last-child { transform: translateX(-100%); }
.trail { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.trail span { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 12px; color: var(--ink); white-space: nowrap; }
.acct { white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: var(--ink); text-underline-offset: 3px; }
.health { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-v { margin: 6px 0 8px; font-size: 22px; font-weight: 500; color: #fff; }
@media (max-width: 760px) { .health { grid-template-columns: 1fr 1fr; } }
.legend-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.legend-grid p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.legend-grid b { color: #fff; }
@media (max-width: 900px) { .legend-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- settings ---------- */
.select { height: 36px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.5); color: #fff; font: 500 13px Figtree, sans-serif; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.role { display: inline-flex; height: 22px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.role-owner { background: #fff; color: #05070b; }
.role-admin { border: 1px solid rgba(232, 238, 248, 0.7); color: #fff; }
.role-viewer { border: 1px solid var(--line-2); color: var(--ink-2); }

/* ---------- dashboard states (?state=none | installed | events) ---------- */
[data-show-state] { display: none; }
body[data-state='none'] [data-show-state='none'], body[data-state='installed'] [data-show-state='installed'], body[data-state='events'] [data-show-state='events'] { display: block; }
.setup { margin-top: 36px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.steps li { counter-increment: s; padding: 26px; background: rgba(6, 8, 13, 0.92); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 13px/1 var(--mono); }
.steps h3 { font-size: 17px; font-weight: 600; color: #fff; }
.steps p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); flex: 1; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ---------- states, sign in, companies ---------- */
.err { font-size: 13.5px; color: var(--bad); }
body[data-state='viewer'] [data-show-state='viewer'], body[data-state='empty'] [data-show-state='empty'], body[data-state='broken'] [data-show-state='broken'],
body[data-state='signedout'] [data-show-state='signedout'], body[data-state='error'] [data-show-state='error'] { display: block; }
body[data-state='viewer'] .admin-only { display: none; }
body[data-state='broken'] [data-show-state='events'], body[data-state='signedout'] [data-show-state='events'] { display: none; }
body[data-state='error'] #site { border-color: var(--bad); }
.empty-card { text-align: left; border-style: dashed; }
.btn.wide { width: 100%; height: 52px; font-size: 15px; }
.link { font-size: 14px; color: var(--ink-2); text-underline-offset: 3px; }
.link:hover { color: #fff; }
.co-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.co-card { display: flex; flex-direction: column; gap: 8px; min-height: 180px; text-decoration: none; transition: border-color 0.2s ease, transform 0.3s var(--ease); }
.co-card:hover { border-color: rgba(232, 238, 248, 0.35); transform: translateY(-2px); }
.co-card.add { border-style: dashed; }
.co-name { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.go { margin-top: auto; font-size: 14px; font-weight: 600; color: #fff; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .co-grid { grid-template-columns: 1fr; } }

/* ---------- phone fixes ---------- */
.nav { min-width: 0; flex: 1 1 auto; }
.bar .end { flex: none; }
.mark-line.dash em { left: auto; right: 8px; }
.table-scroll { max-width: 100%; }
.card, .stack, .wrap { min-width: 0; }
@media (max-width: 760px) {
  .bar { gap: 10px; }
  .mark { letter-spacing: 0.22em; font-size: 12px; }
  .nav a { padding: 7px 10px; font-size: 13px; }
  .mark-line em { font-size: 10.5px; }
  .chart { height: 180px; }
}
.table-scroll { position: relative; }
.sr-only { margin: -1px; padding: 0; border: 0; clip-path: inset(50%); }
@media (max-width: 420px) { .bar { gap: 8px; } .nav { gap: 0; } .nav a { padding: 6px 7px; } .mark { letter-spacing: 0.08em; font-size: 11px; } .bar .end a, .bar .end .btn { padding-left: 12px; padding-right: 12px; } }
