/* ---------- Fonts ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #faf6ee;
  --bg-alt: #f2ecdc;
  --surface: #ffffff;
  --ink: #171b26;
  --ink-soft: #545c70;
  --ink-faint: #8a8f9e;
  --line: #e6ddc6;
  --line-soft: #efe8d5;

  --accent: #2454e0;
  --accent-dark: #1c3fb0;
  --accent-ink: #ffffff;
  --accent-soft: #e8edfc;

  --gold: #c17f1f;
  --gold-soft: #f7ecd6;

  --grade-a: #1f8f4e;
  --grade-a-soft: #e2f3e8;
  --grade-b: #2454e0;
  --grade-b-soft: #e8edfc;
  --grade-c: #b6791b;
  --grade-c-soft: #f7ecd6;
  --grade-d: #c23b3b;
  --grade-d-soft: #f7e3e3;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 12px;
  --max: 1160px;

  --shadow-sm: 0 1px 2px rgba(23, 27, 38, 0.05);
  --shadow: 0 1px 3px rgba(23, 27, 38, 0.08), 0 1px 2px rgba(23, 27, 38, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161f;
    --bg-alt: #1a1d29;
    --surface: #1e2130;
    --ink: #f3f1e9;
    --ink-soft: #b3b6c4;
    --ink-faint: #767b8c;
    --line: #2c3040;
    --line-soft: #262939;

    --accent: #6f93ff;
    --accent-dark: #94aeff;
    --accent-ink: #10131c;
    --accent-soft: #232a47;

    --gold: #e0aa4e;
    --gold-soft: #35301f;

    --grade-a: #4ec37e;
    --grade-a-soft: #1c2f24;
    --grade-b: #6f93ff;
    --grade-b-soft: #232a47;
    --grade-c: #e0aa4e;
    --grade-c-soft: #35301f;
    --grade-d: #ec6a6a;
    --grade-d-soft: #37201f;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 1.5rem + 1.7vw, 2.7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 16px; }
.lede { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.55; }

.crumb { font-size: 0.85rem; font-weight: 600; color: var(--ink-faint); margin-bottom: 10px; }
.crumb a { color: var(--ink-soft); }
.meta { color: var(--ink-faint); font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: var(--accent-ink); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-faint); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { display: inline-flex; width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center; }
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.logo-text strong { font-weight: 800; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.site-nav a.is-current { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Section rhythm ---------- */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }
.note { color: var(--ink-soft); margin-top: 24px; font-size: 0.95rem; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.icon-badge svg { width: 18px; height: 18px; }
.icon-badge.gold { background: var(--gold-soft); color: var(--gold); }

/* ---------- Home: one-column statement ---------- */
.home-intro { padding: 48px 0 8px; }
.home-intro h1 { max-width: 760px; margin-bottom: 16px; }
.home-intro .lede { max-width: 620px; margin-bottom: 20px; }
.home-intro .aggregate { color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; margin-bottom: 24px; }
.home-intro .aggregate strong { color: var(--ink); }

/* ---------- Stat band (kept) ---------- */
.stat-band { background: #171b26; color: #faf6ee; }
.stat-band h2 { color: #faf6ee; }
.stat-band .section-head p { color: rgba(250, 246, 238, 0.66); }
.stat-band .note { color: rgba(250, 246, 238, 0.6); }
.stat-band .note a { color: #9db8ff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
}
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 6px; }
.stat span { font-size: 0.9rem; color: rgba(250, 246, 238, 0.72); line-height: 1.45; }

/* ---------- Category cards ---------- */
.services-grid { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--line); color: var(--ink); }
.card .icon-badge { margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; flex: 1; }
.card .card-arrow { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.84rem; color: var(--accent); }
.card .card-arrow svg { width: 14px; height: 14px; }

/* ---------- Filter bar (kept) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.filter-bar input[type="search"] { flex: 1 1 220px; }
.filter-bar input, .filter-bar select {
  font: inherit;
  font-size: 0.92rem;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.filter-bar button { align-self: stretch; }
.filter-empty { color: var(--ink-soft); padding: 24px 0; }

/* ---------- Directory table ---------- */
.dir-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }
.dir-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 720px; }
.dir-table th, .dir-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.dir-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  background: var(--bg-alt);
  white-space: nowrap;
}
.dir-table thead th a { color: var(--ink-faint); display: inline-flex; align-items: center; gap: 5px; }
.dir-table thead th a:hover { color: var(--ink); }
.dir-table thead th[aria-sort] a { color: var(--ink); }
.dir-table thead th .sort-caret { font-size: 0.7rem; }
.dir-table tbody tr:last-child td { border-bottom: 0; }
.dir-table tbody tr:hover td { background: var(--bg-alt); }
.dir-table .cell-server { font-weight: 700; color: var(--ink); }
.dir-table .cell-server small { display: block; color: var(--ink-faint); font-weight: 600; font-size: 0.82rem; }
.dir-table .cell-server a { color: var(--ink); }
.dir-table .cell-server a:hover { color: var(--accent); }
.dir-table td.cell-num { white-space: nowrap; }
.dir-table .cell-cat a { color: var(--ink-soft); }

/* ---------- Pills / tags (kept) ---------- */
.tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line-soft);
}
.tag-auth-yes { background: var(--grade-a-soft); color: var(--grade-a); border-color: transparent; }
.tag-auth-optional { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.tag-auth-no { background: var(--grade-d-soft); color: var(--grade-d); border-color: transparent; }
.tag-cve { background: var(--grade-d-soft); color: var(--grade-d); border-color: transparent; }

/* ---------- Trust badge / grade chip (kept) ---------- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  flex: none;
}
.trust-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex: none;
}
.trust-label { font-weight: 700; font-size: 0.85rem; color: var(--ink-soft); }
.grade-a .trust-grade { background: var(--grade-a); }
.grade-b .trust-grade { background: var(--grade-b); }
.grade-c .trust-grade { background: var(--grade-c); }
.grade-d .trust-grade { background: var(--grade-d); }
.grade-none .trust-grade { background: var(--ink-faint); }
.grade-a { background: var(--grade-a-soft); border-color: transparent; }
.grade-b { background: var(--grade-b-soft); border-color: transparent; }
.grade-c { background: var(--grade-c-soft); border-color: transparent; }
.grade-d { background: var(--grade-d-soft); border-color: transparent; }
/* bare letter chip (in table cells) */
.grade-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}
.grade-chip.grade-a { background: var(--grade-a); }
.grade-chip.grade-b { background: var(--grade-b); }
.grade-chip.grade-c { background: var(--grade-c); }
.grade-chip.grade-d { background: var(--grade-d); }
.grade-chip.grade-none { background: var(--ink-faint); }

/* ---------- Stars (amber gold fill) ---------- */
.stars, .stars-sm { display: inline-flex; align-items: center; gap: 2px; line-height: 1; vertical-align: middle; }
.stars svg, .stars-sm svg { fill: var(--line); stroke: none; }
.stars svg { width: 18px; height: 18px; }
.stars-sm svg { width: 13px; height: 13px; }
.stars svg.is-on, .stars-sm svg.is-on { fill: var(--gold); }
.stars-value { margin-left: 6px; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.stars-count { margin-left: 4px; color: var(--ink-faint); font-weight: 600; font-size: 0.85rem; }

/* ---------- Server page header ---------- */
.server-header .server-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.server-header .lede { max-width: 620px; }
.server-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.server-actions .btn svg { width: 16px; height: 16px; }

/* ---------- Spec grid (kept) ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.spec { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.spec-k { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.spec-v { font-weight: 700; font-size: 0.95rem; }
.spec-v.tag-auth-yes, .spec-v.tag-auth-no, .spec-v.tag-auth-optional { display: inline-block; padding: 2px 10px; border-radius: 999px; }
.spec-warn { color: var(--grade-d); }

/* ---------- Two panels: editorial + community ---------- */
.server-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 32px; }
.trust-panel, .community-panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 1.05rem; margin: 0; }
.panel-note { font-size: 0.85rem; color: var(--ink-faint); margin: 16px 0 0; }

/* signal rows — no left accent border; colour on icon + value */
.signal-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.signal-row:last-of-type { border-bottom: 0; }
.signal-row .signal-icon { color: var(--ink-faint); flex: none; margin-top: 1px; }
.signal-row .signal-icon svg { width: 18px; height: 18px; }
.signal-row.is-good .signal-icon { color: var(--grade-a); }
.signal-row.is-warn .signal-icon { color: var(--grade-d); }
.signal-row .signal-body { min-width: 0; }
.signal-row .signal-k { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.signal-row .signal-v { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.signal-row.is-warn .signal-v { color: var(--grade-d); }

/* ---------- Community summary (Agent B renders markup on these) ---------- */
.community-panel .community-headline { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.community-panel .community-average { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.community-panel .community-outof { color: var(--ink-faint); font-weight: 700; }
.community-panel .community-count { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.community-empty { color: var(--ink-soft); font-size: 0.95rem; }

.dist-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dist-row { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.dist-bar { position: relative; height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.dist-bar > span { position: absolute; inset: 0 auto 0 0; background: var(--gold); border-radius: 999px; }

.subrating-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.subrating-row { display: grid; grid-template-columns: 1fr 90px 34px; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.subrating-row .dist-bar > span { background: var(--accent); }

.trust-split { display: flex; gap: 6px; margin-top: 16px; font-size: 0.8rem; font-weight: 700; }
.trust-split span { padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); }
.trust-split .ts-yes { background: var(--grade-a-soft); color: var(--grade-a); }
.trust-split .ts-caveats { background: var(--gold-soft); color: var(--gold); }
.trust-split .ts-no { background: var(--grade-d-soft); color: var(--grade-d); }

/* ---------- How to connect — tabs ---------- */
.connect-section { margin: 8px 0 32px; }
.connect-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line-soft); margin-bottom: 0; }
.connect-tab {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
}
.connect-tab:hover { color: var(--ink); }
.connect-tab.is-active {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-soft);
  position: relative;
  top: 1px;
}
.connect-panel {
  border: 1px solid var(--line-soft);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  overflow: hidden;
}
.connect-panel pre {
  margin: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 16px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.5;
}
.connect-panel code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Install block (kept) ---------- */
.install-block { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.install-block code {
  display: block;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.score-note { font-size: 0.88rem; color: var(--ink-faint); border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 28px; }

/* ---------- Reviews (Agent B renders markup on these) ---------- */
.reviews-section { margin-top: 8px; }
.reviews-section > h2 { margin-bottom: 8px; }
.review-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}
.review-card .review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.review-card .review-title { font-weight: 700; font-size: 1rem; margin: 6px 0 4px; }
.review-card .review-meta { font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }
.review-card .review-meta strong { color: var(--ink-soft); }
.review-card .review-body { color: var(--ink-soft); font-size: 0.94rem; margin: 8px 0 0; }
.review-card .review-usedfor { font-size: 0.85rem; color: var(--ink-faint); margin-top: 10px; }
.review-card .review-subratings { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.review-card .review-subratings span { font-size: 0.76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); }

.review-form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.review-form h3 { margin: 0; }
.review-form .form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.review-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 0.85rem; }
.review-form input, .review-form select, .review-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.review-form textarea { min-height: 120px; resize: vertical; }
.review-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review-form button { justify-self: start; }
.review-form .form-error { color: var(--grade-d); font-size: 0.85rem; font-weight: 600; }
.reviews-closed-note { color: var(--ink-soft); font-size: 0.95rem; background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; margin-top: 16px; }

/* ---------- Post row (guides) ---------- */
.post-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-card:hover { border-color: var(--line); }
.post-card .post-eyebrow { font-size: 0.74rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.post-card h3 { margin: 0; font-size: 1.02rem; color: var(--ink); }
.post-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.post-row-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card .card-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.82rem; color: var(--accent); }
.post-card .card-arrow svg { width: 14px; height: 14px; }

.latest.alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.latest .section-head { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 20px; }
.latest .section-head .lede { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- Newsletter (kept for Agent B) ---------- */
.newsletter { background: var(--bg-alt); border-top: 1px solid var(--line-soft); }
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.newsletter-inner h2 { font-size: 1.3rem; margin-bottom: 6px; }
.newsletter-inner p { color: var(--ink-soft); margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  font: inherit;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  min-width: 240px;
}

/* ---------- CTA band (kept) ---------- */
.cta-band { background: #171b26; color: #faf6ee; border-radius: var(--radius); margin: 0 24px; padding: 48px 40px; }
.cta-band .wrap { max-width: var(--max); padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #faf6ee; margin-bottom: 8px; }
.cta-band p { color: rgba(250, 246, 238, 0.68); margin: 0; max-width: 460px; }
.cta-band .btn { background: #2454e0; color: #fff; }
.cta-band .btn:hover { background: #3a68f0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* ---------- Page header / listing / single ---------- */
.page-header { padding: 48px 0 28px; }
.page-header h1 { max-width: 760px; }
.page-header .content { color: var(--ink-soft); max-width: 680px; }
.listing { padding-top: 0; padding-bottom: 64px; }

.single { padding: 40px 0 64px; }
.single .content { max-width: 720px; }
.single .content h2 { margin-top: 36px; }
.single .content h3 { margin-top: 24px; }
.single .content ul, .single .content ol { padding-left: 22px; color: var(--ink-soft); }
.single .content li { margin-bottom: 8px; }
.single .content strong { color: var(--ink); }
.single .content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.single .content th, .single .content td { text-align: left; padding: 10px 12px; border: 1px solid var(--line-soft); }
.single .content th { background: var(--bg-alt); }
.single .content pre { background: var(--ink); color: var(--bg); padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; }
.single .content code { font-size: 0.9em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.single .content :not(pre) > code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }

.related-listing {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 22px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  max-width: 720px;
}
.related-listing h3 { margin: 4px 0; }
.related-listing p { color: var(--ink-soft); margin: 0; font-size: 0.92rem; }
.related-listing .post-eyebrow { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }

.cta-box {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  max-width: 720px;
}
.cta-box h3 { margin-top: 0; }
.cta-box p { color: var(--ink-soft); }

/* ---------- Lead form (contact / submit) ---------- */
.lead-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin-top: 28px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 0.86rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.lead-form button { align-self: flex-start; margin-top: 6px; }

/* ---------- Admin (plain — Agent B) ---------- */
.admin-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.admin-shell h1 { font-size: 1.5rem; }
.admin-shell .admin-nav { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-shell .admin-nav a {
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  background: var(--bg-alt);
}
.admin-shell .admin-nav a.is-current { background: var(--accent-soft); color: var(--accent); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.admin-table thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); background: var(--bg-alt); }
.admin-table tbody tr:last-child td, .admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-table .row-actions button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.admin-status { font-size: 0.76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); }
.admin-status.is-pending { background: var(--gold-soft); color: var(--gold); }
.admin-status.is-approved { background: var(--grade-a-soft); color: var(--grade-a); }
.admin-status.is-rejected { background: var(--grade-d-soft); color: var(--grade-d); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .server-panels { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  body.nav-open .site-nav a { padding: 12px 4px; }
  .post-row { grid-template-columns: 1fr; }
  .latest .section-head { flex-direction: column; align-items: flex-start; }
  .cta-band { margin: 0 16px; padding: 36px 24px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .server-header .server-head-row { flex-direction: column; }
  .review-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 44px 0; }
  .bento { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: span 2; }
  .newsletter-inner { padding: 22px; }
  .header-actions .btn span { display: none; }
}

/* === reviews & admin (Agent B) === */
/* Appended per INTERFACE.md. Agent A owns everything above this banner. These
   classes back resources/views/partials/{reviews,community-summary,stars}.blade.php,
   resources/views/{submit,auth/login,reviews/verify}.blade.php and resources/views/admin/**.
   Where Agent A also ships a class named here (.dist-bar, .review-card, .review-form,
   .community-panel, .stars, .stars-sm) these rules are written to layer on top. */

/* stars — self-contained; must not depend on Agent A's .stars/.stars-sm rules
   (which set `fill: var(--line)` on every descendant svg and would grey these out) */
.rv-stars { display: inline-flex; align-items: center; gap: 2px; line-height: 0; vertical-align: middle; }
.rv-star { position: relative; display: inline-block; line-height: 0; }
.rv-stars .rv-star svg { display: block; width: 15px; height: 15px; }
.rv-stars-lg .rv-star svg { width: 22px; height: 22px; }
.rv-stars-sm .rv-star svg { width: 15px; height: 15px; }
.rv-stars .rv-star .rv-star-bg { color: var(--line); fill: var(--line); stroke: none; }
.rv-stars .rv-star .rv-star-fg { position: absolute; inset: 0; color: var(--gold); fill: var(--gold); stroke: none; }

/* community summary */
.rv-community { display: flex; flex-direction: column; gap: 20px; }
.rv-community-h { font-size: 1.1rem; margin: 0; }
.rv-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 0; }
.rv-empty-mark { font-size: 2.4rem; font-weight: 800; color: var(--ink-faint); margin: 0; line-height: 1; }
.rv-empty-title { font-weight: 700; margin: 0; }
.rv-empty-text { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 10px; }
.rv-cs-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.rv-cs-score { display: flex; flex-direction: column; gap: 6px; }
.rv-cs-avg { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.rv-cs-count { color: var(--ink-faint); font-size: 0.86rem; font-weight: 600; }
.rv-cs-trustbox { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.rv-cs-trustpct { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.rv-cs-trustlabel { color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; max-width: 140px; }
.rv-dist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rv-dist-row { display: grid; grid-template-columns: 14px 1fr 26px; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink-soft); }
.rv-dist-label { font-weight: 700; text-align: center; }
.rv-dist-n { text-align: right; font-variant-numeric: tabular-nums; }
.dist-bar { display: block; position: relative; height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.dist-bar-fill { position: absolute; inset: 0 auto 0 0; height: 100%; border-radius: 999px; background: var(--gold); }
.rv-split-block { display: flex; flex-direction: column; gap: 8px; }
.rv-split-caption, .rv-subs-caption { font-weight: 700; font-size: 0.82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }
.rv-split { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--line-soft); }
.rv-split-seg { height: 100%; }
.rv-seg-yes { background: var(--grade-a); }
.rv-seg-caveats { background: var(--gold); }
.rv-seg-no { background: var(--grade-d); }
.rv-split-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--ink-soft); }
.rv-split-legend li { display: inline-flex; align-items: center; gap: 6px; }
.rv-dot { width: 9px; height: 9px; border-radius: 999px; display: inline-block; }
.rv-dot-yes { background: var(--grade-a); }
.rv-dot-caveats { background: var(--gold); }
.rv-dot-no { background: var(--grade-d); }
.rv-recommend { font-size: 0.88rem; color: var(--ink-soft); margin: 4px 0 0; }
.rv-subs { display: flex; flex-direction: column; gap: 8px; }
.rv-subs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rv-subs-row { display: grid; grid-template-columns: 1fr 90px 30px; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--ink-soft); }
.rv-subs-v { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* review list */
.rv-section { display: flex; flex-direction: column; gap: 20px; }
.rv-flash { background: var(--grade-a-soft); color: var(--grade-a); border: 1px solid transparent; border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; font-size: 0.92rem; }
.rv-list { display: flex; flex-direction: column; gap: 16px; }
.review-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.rv-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rv-card-who { display: flex; flex-direction: column; }
.rv-card-name { font-weight: 700; }
.rv-card-role { color: var(--ink-faint); font-size: 0.84rem; }
.rv-card-signals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-badge { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line-soft); }
.rv-badge-yes { background: var(--grade-a-soft); color: var(--grade-a); border-color: transparent; }
.rv-badge-caveats { background: var(--grade-c-soft); color: var(--grade-c); border-color: transparent; }
.rv-badge-no { background: var(--grade-d-soft); color: var(--grade-d); border-color: transparent; }
.rv-badge-rec { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.rv-card-title { font-size: 1rem; margin: 2px 0 0; }
.rv-card-body { color: var(--ink-soft); font-size: 0.94rem; margin: 0; white-space: pre-line; }
.rv-card-usedfor { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }
.rv-card-usedfor span { font-weight: 700; color: var(--ink); }
.rv-card-subs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--ink-faint); }
.rv-card-subs span { color: var(--ink-soft); font-weight: 600; }
.rv-none { color: var(--ink-soft); font-size: 0.92rem; }

/* review form */
.rv-form-wrap { border-top: 1px solid var(--line); padding-top: 24px; }
.rv-form-intro { color: var(--ink-soft); font-size: 0.92rem; max-width: 560px; }
.rv-errors { background: var(--grade-d-soft); color: var(--grade-d); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 16px; font-size: 0.9rem; }
.rv-errors li { margin-left: 18px; }
.rv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.review-form .rv-fieldset { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.review-form .rv-fieldset legend { font-weight: 700; font-size: 0.86rem; padding: 0 6px; }
.rv-choice { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; flex-direction: row; }
.rv-choice input { width: auto; }
.rv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-opt { font-weight: 500; color: var(--ink-faint); font-size: 0.8rem; }
.rv-stars-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rv-stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars-input label { font-size: 1.7rem; line-height: 1; color: var(--line); cursor: pointer; transition: color 0.1s ease; }
.rv-stars-input label:hover, .rv-stars-input label:hover ~ label,
.rv-stars-input input:checked ~ label { color: var(--gold); }
.rv-stars-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* admin */
.adm-body { margin: 0; background: var(--bg-alt); color: var(--ink); font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
.adm-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.adm-topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.adm-topbar-inner { display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.adm-brand { font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.adm-brand span { color: var(--ink-faint); font-weight: 600; }
.adm-nav { display: flex; gap: 4px; margin-right: auto; flex-wrap: wrap; }
.adm-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; padding: 7px 11px; border-radius: 999px; }
.adm-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.adm-nav a.is-active { background: var(--accent-soft); color: var(--accent); }
.adm-logout-form { margin: 0; }
.adm-logout { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; font-size: 0.86rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.adm-logout:hover { border-color: var(--ink-faint); color: var(--ink); }
.adm-main { padding: 32px 24px 72px; }
.adm-main h1 { font-size: 1.6rem; margin-bottom: 24px; }
.adm-flash { background: var(--grade-a-soft); color: var(--grade-a); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 24px; font-weight: 600; font-size: 0.92rem; }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 36px; }
.adm-tile { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; }
.adm-tile-n { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.adm-tile-n.adm-accent { color: var(--accent); }
.adm-tile-label { font-weight: 600; font-size: 0.86rem; color: var(--ink-soft); }
.adm-tile-sub { font-size: 0.78rem; color: var(--ink-faint); }
.adm-section { margin-bottom: 40px; }
.adm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.adm-section-head h2 { font-size: 1.15rem; margin: 0; }
.adm-empty { color: var(--ink-soft); font-size: 0.92rem; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.adm-table th, .adm-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.adm-table th { background: var(--bg-alt); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-faint); }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); }
.adm-badge-ok { background: var(--grade-a-soft); color: var(--grade-a); }
.adm-badge-wait { background: var(--grade-c-soft); color: var(--grade-c); }
.adm-badge-no { background: var(--grade-d-soft); color: var(--grade-d); }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.adm-tabs a { font-weight: 600; font-size: 0.86rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.adm-tabs a span { color: var(--ink-faint); font-weight: 700; }
.adm-tabs a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.adm-tabs a.is-active span { color: rgba(255,255,255,0.8); }
.adm-review-list { display: flex; flex-direction: column; gap: 18px; }
.adm-review { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.adm-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.adm-review-head h2 { font-size: 1.05rem; margin: 0 0 4px; }
.adm-q { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 22px; margin: 0 0 16px; }
.adm-q > div { display: flex; flex-direction: column; gap: 2px; }
.adm-q .adm-q-wide { grid-column: 1 / -1; }
.adm-q dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-faint); font-weight: 700; }
.adm-q dd { margin: 0; font-size: 0.9rem; color: var(--ink); white-space: pre-line; }
.adm-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.adm-actions form { margin: 0; }
.adm-actions label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 0.8rem; }
.adm-actions select { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; }
.adm-btn-approve { background: var(--grade-a); }
.adm-btn-approve:hover { background: var(--grade-a); filter: brightness(0.94); }
.adm-btn-reject { color: var(--grade-d); }
.adm-note { color: var(--ink-faint); font-size: 0.82rem; margin: 0; align-self: center; }
.adm-pagination { margin-top: 24px; }

@media (max-width: 640px) {
  .rv-grid { grid-template-columns: 1fr; }
  .rv-cs-trustbox { align-items: flex-start; text-align: left; }
  .adm-q { grid-template-columns: 1fr; }
}
