:root {
  --bg: #1c1f24;
  --panel: #252a32;
  --bar: #15181d;
  --text: #e6e8ec;
  --muted: #9aa1ac;
  --line: #3a414d;
  --accent: #f0a202;
  --accent-dim: #3d3208;
  --row-alt: #22262e;
  --ok: #3dd68c;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
  font-size: 14px;
}
.shell-c-app { min-height: 100vh; display: flex; flex-direction: column; }
.shell-c-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.55rem 0.9rem;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.shell-c-brand {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.shell-c-mark { color: var(--accent); font-size: 1rem; letter-spacing: 0; }
.shell-c-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex: 1;
}
.shell-c-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
}
.shell-c-links a[aria-current="page"],
.shell-c-links a:hover { color: var(--accent); }
.shell-c-toolbar { display: flex; gap: 0.4rem; margin-left: auto; }
button {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  background: var(--panel);
  color: var(--text);
}
button.ghost { background: transparent; }
button.accent {
  background: var(--accent);
  color: #1a1400;
  border-color: var(--accent);
}
.shell-c-meta {
  padding: 0.85rem 0.9rem 0.55rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.shell-c-meta h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.shell-c-meta p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.shell-c-table-wrap {
  flex: 1;
  overflow: auto;
  padding: 0;
}
.shell-c-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.78rem;
  min-width: 720px;
}
.shell-c-table th,
.shell-c-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0.4rem 0.55rem;
  text-align: left;
  vertical-align: top;
}
.shell-c-table th {
  position: sticky;
  top: 0;
  background: #2c323c;
  color: var(--accent);
  font-weight: 650;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 10;
}
.shell-c-table tbody tr:nth-child(even) { background: var(--row-alt); }
.shell-c-table tbody tr:hover { background: var(--accent-dim); }
.shell-c-table input,
.shell-c-table select {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 0.15rem 0.2rem;
}
.shell-c-table input:focus,
.shell-c-table select:focus {
  outline: none;
  border-color: var(--accent);
  background: #1a1d22;
}
.pill {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.68rem;
  background: var(--accent-dim);
  color: var(--accent);
}
.prose-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.1rem 3rem;
}
.prose-page h2 { font-size: 1.05rem; margin-top: 1.4rem; border-left: 3px solid var(--accent); padding-left: 0.55rem; }
.prose-page p, .prose-page li { color: var(--muted); }
footer {
  padding: 0.65rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  background: var(--bar);
}
footer a { color: var(--accent); }
@media (max-width: 700px) {
  .shell-c-toolbar { width: 100%; margin-left: 0; }
}

/* trial extras — keep dense-pro tone */
.shell-c-filters { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.55rem; }
.shell-c-filters button.is-on { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.muted { color: var(--muted); font-size: .72rem; margin-top: .15rem; }
.badge-local { display:inline-block; margin-left:.4rem; padding:.1rem .4rem; border:1px solid var(--line); border-radius:3px; font-size:.68rem; color: var(--ok); }
.hero-benefits { display:flex; flex-wrap:wrap; gap:.6rem 1.2rem; margin:.7rem 0 0; padding:0; list-style:none; color: var(--muted); font-size:.8rem; }
.hero-benefits li::before { content:"✓ "; color: var(--accent); }
.home-blocks { max-width: 980px; margin: 0 auto; padding: 1.2rem 1rem 2.5rem; }
.home-blocks h2 { font-size: 1rem; border-left: 3px solid var(--accent); padding-left: .5rem; }
.card-row { display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:.7rem; }
.card { background: var(--panel); border:1px solid var(--line); border-radius:6px; padding:.75rem; }
.card h3 { margin:0 0 .35rem; font-size:.85rem; }
.card p { margin:0; color:var(--muted); font-size:.78rem; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.cta-row { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.75rem; }
a.btn-accent {
  display:inline-block; background: var(--accent); color:#1a1400; text-decoration:none;
  font-weight:700; font-size:.8rem; padding:.45rem .85rem; border-radius:4px;
}
