:root {
  --bg: #ffffff;
  --ink: #14213d;
  --muted: #4b5563;
  --brand: #0b5cad;
  --brand-dark: #073e77;
  --accent: #f9a826;
  --line: #e5e7eb;
  --soft: #f4f7fb;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header / nav */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.15rem; color: var(--brand-dark); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.brand-tag {
  margin-right: auto;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: .72rem;
  line-height: 1.2;
}
@media (max-width: 860px) { .brand-tag { display: none; } }
.nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a.cta {
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
}
.nav a.cta:hover { background: var(--brand-dark); text-decoration: none; }

/* Data-driven nav: dropdown sub-tabs */
.nav ul li { position: relative; }
.nav .sub-toggle .caret { font-size: .7em; opacity: .7; }
/* Invisible bridge across the gap so the dropdown stays open while the cursor
   moves from the parent tab down onto the submenu. */
.nav li.has-sub:hover::after {
  content: ""; position: absolute; left: 0; top: 100%; width: 100%; height: 12px;
}
.nav ul.subnav {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20,33,61,.12); padding: 8px; min-width: 210px;
  flex-direction: column; gap: 2px; z-index: 60;
}
.nav li.has-sub:hover > ul.subnav,
.nav li.has-sub.open > ul.subnav { display: flex; }
.nav ul.subnav li { width: 100%; }
.nav ul.subnav a { display: block; padding: 7px 10px; border-radius: 7px; white-space: nowrap; }
.nav ul.subnav a:hover { background: var(--soft); text-decoration: none; }
.nav ul.subnav li.subnav-heading { padding: 8px 10px 2px; }
.nav ul.subnav li.subnav-heading span {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.nav ul.subnav li.subnav-heading:not(:first-child) { border-top: 1px solid var(--line); margin-top: 4px; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav ul li[data-nav]:empty { min-height: 1px; }
@media (max-width: 760px) {
  .nav ul.subnav { position: static; box-shadow: none; border: none; padding: 4px 0 4px 14px; min-width: 0; }
}

/* On-page section sub-nav bar (shown on pages that belong to a dropdown tab) */
.section-nav { background: var(--soft); border-bottom: 1px solid var(--line); }
.section-nav .wrap { display: flex; align-items: center; gap: 14px; padding: 8px 20px; overflow-x: auto; }
.section-nav-title { font-weight: 700; color: var(--brand-dark); white-space: nowrap; font-size: .92rem; }
.section-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.section-nav li { position: static; }
.section-nav a { display: block; padding: 6px 12px; border-radius: 999px; white-space: nowrap; font-size: .9rem; color: var(--muted); font-weight: 600; }
.section-nav a:hover { background: #fff; text-decoration: none; }
.section-nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.section-nav-heading span {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-dark); white-space: nowrap;
  padding-left: 6px; border-left: 2px solid var(--line);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #073e77 0%, #0b5cad 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.hero h1 { font-size: 2.4rem; margin: 0 0 14px; line-height: 1.2; }
.hero p { font-size: 1.15rem; max-width: 720px; color: #e8f0fa; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #14213d;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  margin-top: 22px;
  border: 0;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--brand-dark); margin-left: 10px; }

/* Sections */
main { padding: 40px 0; }
section { margin-bottom: 40px; }
h2 { font-size: 1.6rem; margin-top: 2rem; color: var(--brand-dark); }
h3 { font-size: 1.2rem; color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 8px 24px rgba(11,92,173,.12); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card a { font-weight: 700; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.98rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
thead th { background: var(--soft); }
tbody tr:nth-child(even) { background: #fafcff; }

/* Callouts */
.note {
  background: var(--soft);
  border-left: 4px solid var(--brand);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 20px 0;
}
.disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
  background: #fff7e6;
  border: 1px solid #ffe1a6;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 24px 0;
}

/* CTA band */
.cta-band {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}
.cta-band h2 { margin-top: 0; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 16px;
  margin: 10px 0;
}
.faq summary { font-weight: 700; cursor: pointer; padding: 10px 0; }

/* Breadcrumb */
.crumb { font-size: 0.88rem; color: var(--muted); margin: 10px 0 0; }

/* Calculators (SIP, EMI, and future tools) */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 24px 0;
}
.calc .panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
}
.calc .panel.result { background: var(--soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.98rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input[type="number"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 1.05rem;
  color: var(--ink);
}
.field input[type="range"] { width: 100%; accent-color: var(--brand); margin-top: 6px; }
.field .rangewrap { display: flex; align-items: center; gap: 12px; }
.field .rangewrap input[type="number"] { max-width: 140px; }
.result h3 { margin-top: 0; }
.bigfig {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 4px 0 2px;
  line-height: 1.1;
}
.result .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.result .row:last-child { border-bottom: 0; }
.result .row span:last-child { font-weight: 700; }
.bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; margin: 16px 0 6px; }
.bar .seg1 { background: var(--brand); }
.bar .seg2 { background: var(--accent); }
.legend { display: flex; gap: 20px; font-size: 0.88rem; color: var(--muted); }
.legend .dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.legend .d1 { background: var(--brand); }
.legend .d2 { background: var(--accent); }
.field.checkrow label { font-weight: 500; display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.field.checkrow input[type="checkbox"] { margin-top: 3px; accent-color: var(--brand); flex: 0 0 auto; }

@media (max-width: 720px) {
  .calc { grid-template-columns: 1fr; }
}

/* Full ITR tax calculator */
.taxcalc { display:grid; grid-template-columns:1.05fr .95fr; gap:30px; align-items:start; margin:20px 0; }

.taxcalc .grp {
  position:relative; border:1px solid var(--line); border-radius:16px;
  padding:20px 22px 14px; background:#fff; margin-bottom:20px;
  box-shadow:0 2px 10px rgba(11,92,173,.05); transition:box-shadow .18s, transform .18s;
}
.taxcalc .grp:hover { box-shadow:0 8px 26px rgba(11,92,173,.10); }
.taxcalc .grp h4 {
  display:flex; align-items:center; gap:10px; margin:0 0 16px; padding-bottom:12px;
  color:var(--brand-dark); font-size:1.08rem; border-bottom:1px solid var(--line);
}
.taxcalc .grp h4::before {
  content:attr(data-ico); font-size:1.15rem; line-height:1;
  width:34px; height:34px; flex:0 0 34px; display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(11,92,173,.12), rgba(249,168,38,.16)); border-radius:9px;
}

.taxcalc .inrow { display:grid; grid-template-columns:1fr 168px; gap:6px 16px; align-items:center; padding:8px 0; }
.taxcalc .inrow + .inrow { border-top:1px dashed var(--line); }
.taxcalc .inrow label { font-weight:600; font-size:.94rem; color:var(--ink); }
.taxcalc .inrow label .sub { display:block; font-weight:400; color:var(--muted); font-size:.8rem; margin-top:1px; }

/* money input with a ₹ prefix (wrapper added by JS) */
.taxcalc .money { position:relative; display:block; }
.taxcalc .money::before {
  content:"\20b9"; position:absolute; left:11px; top:50%; transform:translateY(-50%);
  color:var(--muted); font-weight:600; font-size:.95rem; pointer-events:none;
}
.taxcalc .money input[type=number] { padding-left:24px; }

.taxcalc input[type=number], .taxcalc select {
  width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:10px;
  font-size:1rem; color:var(--ink); text-align:right; background:#fff;
  transition:border-color .15s, box-shadow .15s;
}
.taxcalc select { text-align:left; }
.taxcalc input[type=number]:hover, .taxcalc select:hover { border-color:#c3d4e8; }
.taxcalc input[type=number]:focus, .taxcalc select:focus {
  outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(11,92,173,.15);
}
.taxcalc .check { display:flex; align-items:center; gap:9px; font-size:.94rem; font-weight:600; margin:4px 0 2px; cursor:pointer; }
.taxcalc .check input { width:18px; height:18px; accent-color:var(--brand); }

/* Regime segmented toggle */
.seg {
  display:inline-flex; padding:5px; gap:4px; background:var(--soft);
  border:1px solid var(--line); border-radius:14px; margin-bottom:18px;
}
.seg label {
  padding:10px 26px; cursor:pointer; font-weight:700; color:var(--muted);
  background:transparent; margin:0; border-radius:10px; transition:all .15s; font-size:.95rem;
}
.seg input { display:none; }
.seg input:checked + label { background:var(--brand); color:#fff; box-shadow:0 3px 10px rgba(11,92,173,.28); }

/* Result panel */
.result-panel {
  position:sticky; top:76px; border:1px solid var(--line); border-radius:18px;
  background:#fff; padding:0; overflow:hidden; box-shadow:0 10px 32px rgba(11,92,173,.10);
}
.result-panel .res-hero {
  padding:24px 26px 20px; color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));
}
.result-panel.is-refund .res-hero { background:linear-gradient(135deg,#059669,#065f46); }
.result-panel h3 { margin:0; font-size:.9rem; font-weight:600; opacity:.9; letter-spacing:.02em; text-transform:uppercase; }
.result-panel .big { font-size:2.4rem; font-weight:800; line-height:1.1; margin:6px 0 4px; color:#fff; }
.result-panel .big.pay, .result-panel .big.ref { color:#fff; }
.result-panel .res-sub { font-size:.82rem; opacity:.9; }
.result-panel .res-body { padding:18px 26px 24px; }

.rtable { width:100%; font-size:.93rem; margin:2px 0; }
.rtable .row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--line); gap:12px; }
.rtable .row.sub span:first-child { color:var(--muted); padding-left:14px; font-weight:400; }
.rtable .row.head { font-weight:800; color:var(--brand-dark); border-bottom:2px solid var(--brand); margin-top:12px; font-size:.86rem; text-transform:uppercase; letter-spacing:.03em; }
.rtable .row.tot { font-weight:800; border-bottom:none; background:var(--soft); margin:2px -12px 0; padding:10px 12px; border-radius:8px; }
.rtable .row span:last-child { font-weight:700; white-space:nowrap; }
.rtable table { width:100%; margin:8px 0; font-size:.86rem; border-collapse:collapse; }
.rtable table th, .rtable table td { padding:7px 8px; border-bottom:1px solid var(--line); }
.rtable table th { color:var(--muted); font-weight:600; text-align:left; }
.rtable table td:last-child, .rtable table th:last-child { text-align:right; }

@media (max-width:860px){
  .taxcalc { grid-template-columns:1fr; gap:20px; }
  .result-panel { position:static; }
  .taxcalc .inrow { grid-template-columns:1fr 130px; }
  .seg { display:flex; width:100%; }
  .seg label { flex:1; text-align:center; padding:11px 10px; }
}

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding: 34px 0;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
footer.site .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer.site ul { list-style: none; padding: 0; margin: 8px 0 0; }
footer.site h4 { color: var(--ink); margin: 0 0 6px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .btn.secondary { margin-left: 0; display: inline-block; margin-top: 10px; }
}

/* ---- Detailed report: gate + report ---- */
.gate {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 26px 24px;
  margin: 24px 0;
  box-shadow: 0 6px 20px rgba(11,92,173,.06);
}
.gate h2 { margin-top: 0; }
.gate .sub { color: var(--muted); font-size: .88rem; }
.gate .who { font-size: .9rem; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.gate .who b { color: var(--ink); }
.link { background: none; border: none; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; font-size: .9rem; text-decoration: underline; }
.big-cta { font-size: 1.05rem; padding: 14px 28px; }
.demo-signin { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.demo-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.demo-row input { flex: 1 1 220px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; }

.report .rep-head h2 { margin: 0 0 4px; }
.report .rep-meta { color: var(--muted); font-size: .86rem; margin: 0 0 18px; }
.report .rep-headline {
  display: flex; justify-content: space-between; align-items: center;
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; font-size: 1rem; color: #fff;
}
.report .rep-headline b { font-size: 1.7rem; }
.report .rep-headline.pay { background: linear-gradient(135deg,#b91c1c,#7f1d1d); }
.report .rep-headline.ref { background: linear-gradient(135deg,#047857,#065f46); }
.report .rep-sec { margin: 22px 0; }
.report .rep-sec h3 { color: var(--brand-dark); border-bottom: 2px solid var(--brand); padding-bottom: 6px; }
.report .rep-form { font-size: 1.15rem; }
.report .rep-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 10px 0; }
.report .rep-tbl th, .report .rep-tbl td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.report .rep-tbl th { background: var(--soft); color: var(--brand-dark); }
.report .rep-tbl.map td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.report .rep-steps { padding-left: 20px; }
.report .rep-steps li { margin: 10px 0; line-height: 1.5; }
.report .rep-disclaimer { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 20px; }

@media print {
  header.site, footer.site, .hero, .crumb, .no-print, .adsbygoogle { display: none !important; }
  body { background: #fff; }
  .gate { border: none; box-shadow: none; padding: 0; margin: 0; }
  .report .rep-headline { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report .rep-tbl th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---- News feed ---- */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.news-list { display: grid; gap: 16px; }
.news-item {
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 12px; background: #fff; padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(11,92,173,.05);
}
.news-item h3 { margin: 8px 0 6px; font-size: 1.12rem; color: var(--ink); }
.news-item p { margin: 0 0 8px; color: var(--muted); }
.news-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-date { color: var(--muted); font-size: .82rem; }
.news-cat {
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 6px; background: var(--soft); color: var(--brand-dark);
}
.news-cat.cat-tax { background: #e6f0fb; color: #073e77; }
.news-cat.cat-fin { background: #e9f7ee; color: #14663a; }
.news-cat.cat-rsu { background: #fdf0e1; color: #a15c00; }
.news-cat.cat-dl  { background: #fbe9e9; color: #9b1c1c; }
.news-src { font-weight: 600; font-size: .85rem; }

/* ---- Calculator: upload / auto-fill panel ---- */
.upload-panel {
  border: 1px dashed var(--brand); border-radius: 14px;
  background: var(--soft); padding: 20px 22px; margin: 0 0 22px;
}
.upload-panel h3 { margin: 0 0 6px; color: var(--brand-dark); }
.upload-panel .sub { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.upload-slot { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.upload-slot label.file { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.upload-slot .hint { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.upload-slot input[type=file] { width: 100%; font-size: .85rem; }
.upload-slot input[type=password] { width: 100%; margin-top: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; }
.upload-status { margin-top: 14px; font-size: .9rem; }
.upload-status .ok { color: #14663a; }
.upload-status .warn { color: #9b1c1c; }
.upload-hits { margin: 8px 0 0; padding-left: 18px; font-size: .85rem; color: var(--muted); }
.upload-hits li { margin: 2px 0; }
.upload-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.upload-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ---- Quick links button bar ---- */
.quicklinks {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.quicklinks .wrap {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 14px; padding-bottom: 14px;
  justify-content: center;
}
.quicklinks a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--brand-dark);
  font-weight: 700; font-size: .92rem;
  padding: 9px 16px; border-radius: 999px;
  transition: all .15s ease; white-space: nowrap;
}
.quicklinks a:hover {
  background: var(--brand); border-color: var(--brand); color: #fff;
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11,92,173,.18);
}

/* ---- Talk to a CA band ---- */
.ca-band {
  background: linear-gradient(135deg, #073e77 0%, #0b5cad 100%);
  color: #fff;
  border-radius: 16px;
  padding: 34px 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 10px 28px rgba(11,92,173,.22);
}
.ca-band h2 { margin-top: 0; color: #fff; }
.ca-band p { color: #eaf2fb; max-width: 760px; margin: 0 auto 20px; }
.ca-band .btn {
  background: var(--accent); color: #14213d; border: none;
}
.ca-band .btn:hover { background: #ffbf4d; text-decoration: none; }

/* ---- Salary news category ---- */
.news-cat.cat-sal { background: #eef0fd; color: #3730a3; }

/* ---- Salary benchmark table & "Am I underpaid?" tool ---- */
.sb-table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: .95rem; }
.sb-table th, .sb-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sb-table thead th { background: var(--soft); color: var(--brand-dark); font-weight: 700; }
.sb-table tbody tr:hover { background: #fafcff; }

.sb-result { display: none; margin-top: 18px; }
.sb-verdict {
  display: inline-block; font-weight: 800; font-size: 1.05rem;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 6px;
}
.sb-verdict.sb-low  { background: #fbe9e9; color: #9b1c1c; }
.sb-verdict.sb-mid  { background: #fef4e6; color: #a15c00; }
.sb-verdict.sb-good { background: #e9f7ee; color: #14663a; }
.sb-verdict.sb-high { background: #e6f0fb; color: #073e77; }

.sb-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 14px 0; }
.sb-metric { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.sb-metric .k { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.sb-metric .v { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-top: 2px; }

.sb-gauge { position: relative; height: 14px; border-radius: 999px; margin: 30px 0 8px;
  background: linear-gradient(90deg, #f6c9c9 0%, #ffe2b0 35%, #bfe6cd 65%, #bcd8f5 100%); }
.sb-marker { position: absolute; top: -8px; width: 4px; height: 30px; background: var(--ink);
  border-radius: 3px; transform: translateX(-50%); box-shadow: 0 0 0 3px #fff; }
.sb-gauge-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.sb-gauge-labels .mid { font-weight: 700; color: var(--ink); }
