/* NC Utility SEO / AEO / Local SEO report pages. Shares tokens, header and footer with the prototype. */
.rpt { background: var(--bg); color: var(--text); padding-bottom: 64px; }
.rpt .wrap-r { width: min(100% - 64px, 1180px); margin-inline: auto; }
.rpt-hero { position: relative; background: #121212; color: rgba(255,255,255,.82); padding: 48px 0 40px; overflow: hidden; }
.rpt-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.rpt-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.rpt-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 0 0 14px; }
.rpt-hero .lede { max-width: 760px; font-size: 1.05rem; color: rgba(255,255,255,.78); margin: 0 0 22px; }
.rpt-meta { font-size: .88rem; color: rgba(255,255,255,.6); margin: 0 0 20px; }
.rpt-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rpt-nav li { margin: 0; }
.rpt-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 3px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.rpt-nav a:hover { border-color: #fff; text-decoration: none; }
.rpt-nav a[aria-current="page"] { background: var(--brand-btn); border-color: var(--brand-btn); }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.score { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 18px 18px 16px; }
.score h2 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin: 0 0 12px; }
.score .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.score label { display: block; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.score .num { font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; }
.score .num span { font-size: .55em; opacity: .65; font-weight: 700; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.bar.live i { background: #8a8a8a; }
.bar.proto i { background: var(--brand); }
.score .note { margin: 10px 0 0; font-size: .78rem; color: rgba(255,255,255,.55); }
.legend { margin: 18px 0 0; font-size: .86rem; color: rgba(255,255,255,.6); max-width: 900px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-card); padding: 26px 28px; margin-top: 28px; }
.card h2 { font-size: 1.5rem; margin: 0 0 14px; }
.card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 900; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.pass { background: #e8f5ec; color: #1f7a3f; }
.badge.warn, .badge.opportunity { background: #fff4e0; color: #8a5508; }
.badge.gap { background: #fde8e9; color: #b21b24; }
.badge.unknown { background: #f1f1f1; color: #555; }
.pri { display: inline-block; font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.pri.High { background: #b21b24; color: #fff; }
.pri.Med { background: #333; color: #fff; }
.pri.Low { background: #e4e6ea; color: #333; }
.owner { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.src { font-size: .8rem; color: var(--muted-2); }
.tbl-wrap { overflow-x: auto; }
table.rt { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.rt th { text-align: left; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--ink); background: #fafafa; }
table.rt td { vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
table.rt td p { margin: 0 0 6px; }
.group-h { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 0; }
.group-h h2 { font-size: 1.7rem; margin: 0; }
.group-h span { color: var(--muted); font-size: .95rem; }
ol.big { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 14px; }
ol.big li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; margin: 0; }
ol.big li::before { content: counter(n); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-btn); color: #fff; font-weight: 900; }
ol.big strong { display: block; color: var(--ink); font-size: 1.05rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.disclaimer { margin-top: 32px; font-size: .88rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; }
.disclaimer p { margin: 0 0 6px; }
/* Compare controls */
.controls { position: sticky; top: calc(var(--proto-h) + var(--header-h)); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px rgba(0,0,0,.04); padding: 12px 0; }
.controls .row-c { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.pills, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pill, .chip { border: 1px solid rgba(17,17,17,.2); background: #fff; color: var(--ink); border-radius: 99px; padding: 7px 14px; font: 700 .85rem var(--font); cursor: pointer; }
.pill:hover, .chip:hover { border-color: var(--brand); color: var(--brand); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active { background: var(--brand-btn); color: #fff; border-color: var(--brand-btn); }
.search-c { flex: 1 1 220px; }
.search-c input { width: 100%; height: 40px; border: 1px solid rgba(17,17,17,.2); border-radius: 3px; padding: 0 12px; font: 400 .95rem var(--font); }
.thead { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 16px; padding: 18px 20px 8px; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rows { display: grid; gap: 10px; }
.crow { background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.crow:hover { border-color: rgba(211,35,44,.35); }
.crow.hidden { display: none; }
.crow-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 16px; padding: 16px 20px; cursor: pointer; align-items: start; }
.crow .topic { font-weight: 900; color: var(--ink); }
.crow .topic small { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 3px; }
.crow .st { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--muted); }
.crow .st .lbl { display: none; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.crow .prev { font-size: .9rem; color: var(--text); }
.crow .prev em { font-style: normal; font-weight: 700; color: var(--brand); font-size: .82rem; white-space: nowrap; }
.crow details { border-top: 1px solid var(--line); background: #fafafa; }
.crow summary { list-style: none; cursor: pointer; padding: 10px 20px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.crow summary::-webkit-details-marker { display: none; }
.crow summary::after { content: " +"; color: var(--brand); }
.crow details[open] summary::after { content: " -"; }
.crow .why { padding: 0 20px 16px; font-size: .95rem; }
.mode-live .col-proto, .mode-proto .col-live { display: none !important; }
.mode-live .crow-main, .mode-proto .crow-main, .mode-live .thead, .mode-proto .thead { grid-template-columns: 1.3fr 1.2fr 1.8fr; }
.empty { text-align: center; padding: 32px; background: #fff; border: 1px dashed rgba(17,17,17,.25); border-radius: 4px; color: var(--muted); }
.empty.hidden { display: none; }
@media (max-width: 960px) {
  .scores { grid-template-columns: 1fr; }
  .thead { display: none; }
  .crow-main, .mode-live .crow-main, .mode-proto .crow-main { grid-template-columns: 1fr; gap: 10px; }
  .crow .st .lbl { display: block; }
  .two { grid-template-columns: 1fr; }
  .controls { top: calc(var(--proto-h) + 68px); position: static; }
}
@media (max-width: 720px) {
  .rpt .wrap-r { width: min(100% - 40px, 1180px); }
  .rpt-hero { padding: 36px 0 30px; }
  .card { padding: 20px; }
  table.rt { font-size: .9rem; }
  table.rt.stack thead { display: none; }
  table.rt.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.rt.stack td { display: block; border: 0; padding: 6px 0; }
  table.rt.stack td[data-l]::before { content: attr(data-l); display: block; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
}
@media print {
  .controls, #proto-banner, .hh, .sf { display: none !important; }
  .crow.hidden { display: block !important; }
  .crow details { display: block; }
}
