/* =====================================================================
   Shaker Group — SEO Audit Report
   Light Mode | LTR | Brand: #164b3b
   No external libraries, no CDN, no Google Fonts.
   ===================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #164b3b;
  --brand-2: #1f6b54;
  --brand-3: #2d8a6e;
  --accent: #f39c12;
  --critical: #e74c3c;
  --high: #ff7043;
  --medium: #f39c12;
  --low: #3498db;
  --info: #95a5a6;
  --success: #27ae60;

  --bg: #f5f7f9;
  --bg-alt: #eef1f4;
  --card: #ffffff;
  --card-2: #fafbfc;

  --tx: #1a2332;
  --tx-2: #4a5468;
  --tx-3: #7c869a;
  --tx-mute: #b0b8c5;

  --bd: #e3e7ee;
  --bd-2: #d0d6df;
  --bd-3: #c5cdd8;

  --r: 14px;
  --r-2: 10px;
  --r-3: 6px;

  --sh-1: 0 1px 3px rgba(22,75,59,.06);
  --sh-2: 0 4px 14px rgba(22,75,59,.08);
  --sh-3: 0 12px 40px rgba(22,75,59,.12);

  --tr: .25s cubic-bezier(.4,0,.2,1);
  --tr-fast: .15s ease;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand-2); text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--brand); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ================ ANIMATIONS ================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes ringFill { from { stroke-dashoffset: 565.5; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

.anim { animation: fadeUp .5s ease both; }
.anim-d1 { animation-delay: .05s; }
.anim-d2 { animation-delay: .12s; }
.anim-d3 { animation-delay: .19s; }
.anim-d4 { animation-delay: .26s; }
.anim-d5 { animation-delay: .33s; }
.anim-d6 { animation-delay: .40s; }

/* ================ LAYOUT ================ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ================ HEADER ================ */
.hdr {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.06) 0, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0, transparent 50%);
  pointer-events: none;
}
.hdr-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; }
.hdr-logo {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%);
  padding: 6px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.hdr-info h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.hdr-info p { font-size: .9rem; opacity: .9; margin-top: 4px; }
.hdr-actions { margin-left: auto; display: flex; gap: 10px; }
.btn-print {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-2);
  font-weight: 600; font-size: .85rem;
  transition: all var(--tr);
  backdrop-filter: blur(6px);
}
.btn-print:hover { background: rgba(255,255,255,.25); transform: translateY(-1px); }

.hdr-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; position: relative; }
.hdr-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.95);
  transition: all var(--tr);
  backdrop-filter: blur(4px);
}
.hdr-chip strong { font-weight: 600; }
.hdr-chip a { color: #fff; text-decoration: none; }
.hdr-chip a:hover { text-decoration: underline; }
.hdr-chip:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); }
.hdr-chip.status-orange { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ================ SCORE HERO ================ */
.score-hero {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 44px 36px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
  box-shadow: var(--sh-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}
.score-ring-wrap {
  width: 220px; height: 220px;
  position: relative;
  flex-shrink: 0;
}
.score-ring-wrap svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.score-ring-bg {
  fill: none;
  stroke: var(--bd);
  stroke-width: 14;
}
.score-ring-fg {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1);
}
.score-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-ring-text .val { font-size: 4rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.02em; }
.score-ring-text .max { font-size: .9rem; color: var(--tx-3); margin-top: 4px; }
.score-ring-text .lbl { font-size: .82rem; color: var(--tx-2); margin-top: 8px; font-weight: 600; }

.score-info h2 { font-size: 1.65rem; font-weight: 700; color: var(--tx); margin-bottom: 8px; letter-spacing: -.01em; }
.score-info > p { font-size: .98rem; color: var(--tx-2); margin-bottom: 22px; }
.score-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.score-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: 20px;
  font-size: .85rem;
  color: var(--tx-2);
  transition: all var(--tr);
}
.score-pill:hover { border-color: var(--brand-3); transform: translateY(-1px); box-shadow: var(--sh-1); }
.score-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.score-pill strong { color: var(--tx); font-weight: 700; }

/* ================ KPI STRIP ================ */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.kpi-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  padding: 22px 20px;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.kpi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  opacity: .8;
}
.kpi-card.crit::before { background: var(--critical); }
.kpi-card.high::before { background: var(--high); }
.kpi-card.med::before { background: var(--medium); }
.kpi-card.low::before { background: var(--low); }
.kpi-card.ok::before { background: var(--success); }
.kpi-card:hover { border-color: var(--brand-3); transform: translateY(-3px); box-shadow: var(--sh-2); }
.kpi-icon { font-size: 1.4rem; opacity: .9; margin-bottom: 8px; display: inline-block; }
.kpi-val { font-size: 1.85rem; font-weight: 800; color: var(--tx); letter-spacing: -.01em; }
.kpi-val.crit { color: var(--critical); }
.kpi-val.warn { color: var(--accent); }
.kpi-val.ok { color: var(--success); }
.kpi-lbl { font-size: .78rem; color: var(--tx-3); margin-top: 4px; font-weight: 500; }
.kpi-sub { font-size: .72rem; color: var(--tx-3); margin-top: 6px; opacity: .85; }

/* ================ TABS ================ */
.tabs-wrap { margin-top: 32px; }
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  position: sticky;
  top: 12px;
  z-index: 5;
  box-shadow: var(--sh-1);
}
.tabs-nav::-webkit-scrollbar { height: 4px; }
.tabs-nav::-webkit-scrollbar-thumb { background: var(--bd-3); border-radius: 4px; }
.tab-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--tx-2);
  border-radius: var(--r-3);
  white-space: nowrap;
  transition: all var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tab-btn:hover { background: var(--bg-alt); color: var(--brand); }
.tab-btn.active { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(22,75,59,.25); }
.tab-btn .ic { font-size: 1rem; }
.tab-btn .badge { font-size: .68rem; padding: 2px 7px; background: rgba(0,0,0,.12); border-radius: 10px; font-weight: 700; }
.tab-btn.active .badge { background: rgba(255,255,255,.25); }

.tabs-content { margin-top: 20px; }
.tab-panel { display: none; animation: fadeUp .35s ease; }
.tab-panel.active { display: block; }

/* ================ SECTION CARDS ================ */
.sec-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 28px 28px;
  margin-bottom: 20px;
  box-shadow: var(--sh-1);
}
.sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.sec-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.005em;
}
.sec-title .ic { font-size: 1.15rem; opacity: .85; }
.sec-desc { font-size: .88rem; color: var(--tx-3); margin-top: -10px; margin-bottom: 18px; line-height: 1.6; }

/* ================ DATA TABLE ================ */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--bd); border-radius: var(--r-2); }
.data-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.data-table thead { background: var(--bg-alt); }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--tx-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--bd);
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--bd);
  color: var(--tx);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background var(--tr-fast); }
.data-table tbody tr:hover { background: var(--bg-alt); }
.data-table .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.data-table .pct { color: var(--tx-3); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* ================ SEVERITY BADGES ================ */
.sev {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sev.crit { color: #fff; background: var(--critical); }
.sev.high { color: #fff; background: var(--high); }
.sev.med { color: #fff; background: var(--medium); }
.sev.low { color: #fff; background: var(--low); }
.sev.info { color: #fff; background: var(--info); }
.sev.ok { color: #fff; background: var(--success); }

/* ================ ISSUE CARDS ================ */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.issue-card {
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-left: 3px solid var(--info);
  border-radius: var(--r-2);
  padding: 18px;
  transition: all var(--tr);
}
.issue-card:hover { border-color: var(--brand-3); transform: translateY(-2px); box-shadow: var(--sh-1); }
.issue-card.crit { border-left-color: var(--critical); }
.issue-card.high { border-left-color: var(--high); }
.issue-card.med { border-left-color: var(--medium); }
.issue-card.low { border-left-color: var(--low); }
.issue-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.issue-card .ttl { font-weight: 700; font-size: .92rem; color: var(--tx); line-height: 1.4; }
.issue-card .num { font-size: 1.4rem; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.issue-card .num small { font-size: .7rem; color: var(--tx-3); font-weight: 500; margin-left: 4px; }
.issue-card .desc { font-size: .82rem; color: var(--tx-2); line-height: 1.55; margin-top: 8px; }
.issue-card .csv-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-2);
  padding: 5px 10px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r-3);
  transition: all var(--tr-fast);
}
.issue-card .csv-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

/* ================ KEY-VAL LIST ================ */
.kv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 24px; }
.kv {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px;
  background: var(--card-2);
  border-radius: var(--r-2);
  border: 1px solid var(--bd);
}
.kv .k { font-size: .73rem; color: var(--tx-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kv .v { font-size: .92rem; color: var(--tx); font-weight: 600; word-break: break-word; }
.kv .v.ok { color: var(--success); }
.kv .v.bad { color: var(--critical); }
.kv .v.warn { color: var(--accent); }
.kv .v code { font-family: var(--font-mono); background: var(--bg-alt); padding: 2px 7px; border-radius: 4px; font-size: .8rem; }

/* ================ SCORE BREAKDOWN ================ */
.score-breakdown { display: grid; gap: 14px; }
.score-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}
.score-row .lbl { font-weight: 600; font-size: .9rem; color: var(--tx); }
.score-row .lbl small { display: block; font-size: .72rem; color: var(--tx-3); font-weight: 500; margin-top: 2px; }
.score-row .bar {
  height: 10px;
  background: var(--bd);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.score-row .bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.score-row .pct { font-weight: 700; font-size: .92rem; color: var(--tx); font-variant-numeric: tabular-nums; min-width: 60px; text-align: right; }

/* ================ ACTION PLAN ================ */
.plan-tabs { display: flex; gap: 4px; margin-bottom: 18px; flex-wrap: wrap; }
.plan-tab {
  padding: 8px 18px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tx-2);
  transition: all var(--tr-fast);
}
.plan-tab:hover { color: var(--brand); border-color: var(--brand-3); }
.plan-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.plan-tab .ic { margin-right: 5px; }

.plan-list { display: grid; gap: 12px; }
.plan-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  transition: all var(--tr);
}
.plan-item:hover { border-color: var(--brand-3); box-shadow: var(--sh-1); }
.plan-item .num-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.plan-item .body .ttl { font-weight: 700; color: var(--tx); font-size: .94rem; margin-bottom: 4px; }
.plan-item .body .desc { font-size: .82rem; color: var(--tx-2); line-height: 1.55; }
.plan-item .effort {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-size: .72rem; color: var(--tx-3);
}
.plan-item .effort .badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.plan-item .effort .badge.high { background: rgba(231,76,60,.12); color: var(--critical); }
.plan-item .effort .badge.med { background: rgba(243,156,18,.12); color: var(--accent); }
.plan-item .effort .badge.low { background: rgba(52,152,219,.12); color: var(--low); }

/* ================ EVIDENCE GALLERY ================ */
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.gal-tab {
  padding: 8px 14px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-3);
  font-size: .8rem;
  font-weight: 600;
  color: var(--tx-2);
  transition: all var(--tr-fast);
}
.gal-tab:hover { border-color: var(--brand-3); color: var(--brand); }
.gal-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gal-item {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  overflow: hidden;
  cursor: zoom-in;
  transition: all var(--tr);
}
.gal-item:hover { border-color: var(--brand-3); transform: translateY(-3px); box-shadow: var(--sh-2); }
.gal-item .thumb { width: 100%; aspect-ratio: 16/10; background: var(--bg-alt); object-fit: cover; display: block; }
.gal-item .thumb-ph {
  width: 100%; aspect-ratio: 16/10;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx-mute);
  font-size: .82rem;
  text-align: center;
  padding: 16px;
}
.gal-item .meta { padding: 12px 14px; }
.gal-item .meta .ttl { font-size: .85rem; font-weight: 700; color: var(--tx); margin-bottom: 3px; }
.gal-item .meta .src { font-size: .72rem; color: var(--tx-3); }

/* ================ CSV CHIPS ================ */
.csv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.csv-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  font-size: .82rem;
  color: var(--tx-2);
  transition: all var(--tr-fast);
  text-decoration: none;
}
.csv-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateX(3px); text-decoration: none; }
.csv-chip:hover .csv-name { color: #fff; }
.csv-chip:hover .csv-icon { color: #fff; }
.csv-chip .csv-icon { font-size: 1rem; color: var(--brand-2); transition: color var(--tr-fast); }
.csv-chip .csv-name { font-weight: 600; color: var(--tx); flex: 1; word-break: break-word; transition: color var(--tr-fast); }

/* ================ ALERT BANNERS ================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-2);
  border-left: 4px solid;
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.alert.info { background: rgba(52,152,219,.06); border-color: var(--low); color: var(--tx); }
.alert.warn { background: rgba(243,156,18,.06); border-color: var(--accent); color: var(--tx); }
.alert.crit { background: rgba(231,76,60,.06); border-color: var(--critical); color: var(--tx); }
.alert.ok { background: rgba(39,174,96,.06); border-color: var(--success); color: var(--tx); }
.alert strong { font-weight: 700; }

/* ================ LIGHTBOX ================ */
.lb {
  position: fixed; inset: 0;
  background: rgba(10,15,22,.92);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  animation: fadeIn .25s ease;
  cursor: zoom-out;
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lb-x {
  position: absolute;
  top: 16px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
}
.lb-x:hover { background: rgba(255,255,255,.3); transform: scale(1.05); }

/* ================ FOOTER ================ */
.ftr {
  margin-top: 56px;
  padding: 28px 0;
  background: var(--card);
  border-top: 1px solid var(--bd);
}
.ftr-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ftr p { font-size: .82rem; color: var(--tx-3); }
.ftr a { color: var(--brand-2); font-weight: 600; }
.ftr .ftr-version { font-size: .75rem; color: var(--tx-mute); padding: 4px 10px; background: var(--bg-alt); border-radius: 12px; }

/* ================ TOC OVERVIEW ================ */
.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
@media (max-width: 1024px) { .overview-grid { grid-template-columns: 1fr; } }

.findings-list { display: grid; gap: 10px; }
.finding {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  transition: all var(--tr);
}
.finding:hover { border-color: var(--brand-3); transform: translateX(-2px); box-shadow: var(--sh-1); }
.finding .ic-box {
  width: 32px; height: 32px;
  border-radius: var(--r-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.finding.crit .ic-box { background: rgba(231,76,60,.12); color: var(--critical); }
.finding.high .ic-box { background: rgba(255,112,67,.12); color: var(--high); }
.finding.med .ic-box { background: rgba(243,156,18,.12); color: var(--accent); }
.finding.low .ic-box { background: rgba(52,152,219,.12); color: var(--low); }
.finding .ttl { font-weight: 600; font-size: .9rem; color: var(--tx); }
.finding .num-stat { font-weight: 800; color: var(--tx); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.finding .num-stat small { display: block; font-size: .7rem; color: var(--tx-3); font-weight: 500; }

/* ================ DISTRIBUTION CHART (CSS BARS) ================ */
.dist-chart { display: grid; gap: 8px; padding: 8px 0; }
.dist-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-size: .82rem;
}
.dist-row .lbl { color: var(--tx-2); font-weight: 600; }
.dist-row .bar { height: 26px; background: var(--bg-alt); border-radius: var(--r-3); position: relative; overflow: hidden; }
.dist-row .bar-fill {
  height: 100%;
  border-radius: var(--r-3);
  display: flex; align-items: center; padding-left: 10px;
  font-size: .75rem; font-weight: 700; color: #fff;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
  min-width: 30px;
}
.dist-row .bar-fill.crit { background: var(--critical); }
.dist-row .bar-fill.high { background: var(--high); }
.dist-row .bar-fill.med { background: var(--medium); }
.dist-row .bar-fill.low { background: var(--low); }
.dist-row .pct { font-variant-numeric: tabular-nums; color: var(--tx-3); font-size: .78rem; }

/* ================ STAR PERFORMERS / WINS ================ */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.win-card {
  padding: 16px;
  background: var(--card-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-2);
  text-align: center;
  transition: all var(--tr);
}
.win-card:hover { border-color: var(--success); transform: translateY(-2px); }
.win-card .ic { font-size: 1.8rem; margin-bottom: 6px; }
.win-card .ttl { font-size: .82rem; font-weight: 700; color: var(--tx); margin-top: 6px; }
.win-card .desc { font-size: .76rem; color: var(--tx-3); margin-top: 3px; line-height: 1.45; }

/* ================ RESPONSIVE ================ */
@media (max-width: 1100px) {
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .score-hero { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .score-ring-wrap { width: 180px; height: 180px; margin: 0 auto; }
}
@media (max-width: 768px) {
  html { font-size: 14.5px; }
  .wrap { padding: 0 18px; }
  .hdr { padding: 28px 0 24px; }
  .hdr-row { gap: 14px; }
  .hdr-actions { width: 100%; justify-content: flex-start; }
  .score-hero { padding: 24px 18px; gap: 24px; }
  .score-info h2 { font-size: 1.35rem; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .score-row { grid-template-columns: 130px 1fr 50px; gap: 10px; }
  .plan-item { grid-template-columns: auto 1fr; }
  .plan-item .effort { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; }
}
@media (max-width: 480px) {
  .kpi-strip { grid-template-columns: 1fr; }
  .hdr-info h1 { font-size: 1.25rem; }
  .score-ring-wrap { width: 150px; height: 150px; }
  .score-ring-text .val { font-size: 2.5rem; }
  .sec-card { padding: 20px 18px; }
}

/* ================ PRINT ================ */
@media print {
  :root { --bg: #fff; --card: #fff; --bg-alt: #f5f7f9; }
  body { background: #fff; color: #000; }
  .hdr { background: #164b3b !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 24px 0; }
  .hdr-actions, .tabs-nav, .lb, .btn-print { display: none !important; }
  .tab-panel { display: block !important; page-break-before: always; animation: none !important; }
  .tab-panel:first-child { page-break-before: auto; }
  .sec-card, .kpi-card, .issue-card, .plan-item, .finding { break-inside: avoid; box-shadow: none; }
  .data-table { font-size: .8rem; }
  .data-table tr { break-inside: avoid; }
  .gal-item { break-inside: avoid; max-width: 49%; display: inline-block; vertical-align: top; }
  .anim, .anim-d1, .anim-d2, .anim-d3, .anim-d4, .anim-d5, .anim-d6 { animation: none !important; opacity: 1 !important; transform: none !important; }
  .score-ring-fg { transition: none !important; }
  a { color: #164b3b; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .75em; color: #777; }
  a[href^="#"]::after, a[href^="javascript:"]::after { content: ""; }
  .ftr { margin-top: 30px; }
}
