/* ATS Insight — premium calm visual system */
:root {
  --bg: #F7F8FA;
  --bg-subtle: #EEF1F6;
  --panel: #ffffff;
  --panel-2: #F3F5F9;
  --panel-3: #E8ECF2;
  --border: #E2E8F0;
  --border-subtle: #E8ECF2;
  --text: #0F172A;
  --muted: #64748B;
  --muted-2: #94A3B8;

  --primary: #4F46E5;
  --secondary: #2563EB;
  --accent-violet: #7C3AED;
  --success: #16A34A;
  --warning: #D97706;
  --risk: #DC2626;

  --accent: var(--secondary);
  --accent-2: var(--primary);
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-gradient: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 55%, var(--accent-violet) 100%);
  --ok: var(--success);
  --ok-soft: rgba(22, 163, 74, 0.1);
  --warn: var(--warning);
  --warn-soft: rgba(217, 119, 6, 0.1);
  --high: var(--risk);
  --risk-soft: rgba(220, 38, 38, 0.08);
  --info-soft: rgba(79, 70, 229, 0.08);
  --violet-soft: rgba(124, 58, 237, 0.08);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.09), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 40px rgba(79, 70, 229, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1140px;
  --nav-h: 68px;
  --hard: var(--risk);
  --surface-2: var(--panel-2);
  --rank: var(--warning);
  --med: var(--warning);
  --low: var(--secondary);
  --hero: var(--primary);
  --hero-soft: rgba(79, 70, 229, 0.08);
}

/* Motion */
@keyframes fs-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fs-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes fs-skim-scan {
  0% { left: 0%; opacity: 0.6; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 4px); opacity: 0.6; }
}
@keyframes fs-parse-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes fs-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fs-blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -12px) scale(1.03); }
}

.reveal-stagger > * {
  opacity: 0;
  animation: fs-fade-up 0.55s var(--spring) forwards;
}
.reveal-stagger > *:nth-child(1) { animation-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.22s; }
.reveal-stagger > *:nth-child(5) { animation-delay: 0.28s; }
.reveal-stagger > *:nth-child(6) { animation-delay: 0.34s; }

.guided-report.is-visible .reveal-stagger > *,
.is-visible.reveal-stagger > * { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > *,
  .hero-mockup-float,
  .hero-blob,
  .viz-skim-scan,
  .viz-parse-bar { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Tinted cards */
.tint-info {
  background: linear-gradient(165deg, #fff 0%, var(--info-soft) 100%);
  border-color: rgba(79, 70, 229, 0.14);
}
.tint-success {
  background: linear-gradient(165deg, #fff 0%, var(--ok-soft) 100%);
  border-color: rgba(22, 163, 74, 0.18);
}
.tint-warning {
  background: linear-gradient(165deg, #fff 0%, var(--warn-soft) 100%);
  border-color: rgba(217, 119, 6, 0.2);
}
.tint-risk {
  background: linear-gradient(165deg, #fff 0%, var(--risk-soft) 100%);
  border-color: rgba(220, 38, 38, 0.15);
}
.tint-violet {
  background: linear-gradient(165deg, #fff 0%, var(--violet-soft) 100%);
  border-color: rgba(124, 58, 237, 0.14);
}

/* Report tabs */
.report-tabs {
  display: flex;
  gap: 6px;
  margin: 0 24px 20px;
  padding: 5px;
  background: var(--panel-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.report-tab {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.84rem;
  font-weight: 650;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s var(--ease), background 0.25s var(--spring), box-shadow 0.25s var(--ease), transform 0.2s var(--spring);
}
.report-tab:hover { color: var(--text); background: rgba(255,255,255,0.7); }
.report-tab.active {
  background: var(--panel);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.report-panel { display: none; }
.report-panel.active {
  display: block;
  animation: report-panel-in 0.22s var(--ease) forwards;
}
.report-panel.report-panel-enter {
  animation: report-panel-in 0.22s var(--ease) forwards;
}
@keyframes report-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Why ATS Insight — expandable */
.why-ats-insight {
  margin-top: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  overflow: hidden;
}
.why-ats-insight summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--primary);
  list-style: none;
}
.why-ats-insight summary::-webkit-details-marker { display: none; }
.why-ats-insight summary::after { content: "Show reasoning"; float: right; font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.why-ats-insight[open] summary::after { content: "Hide"; }
.why-ats-insight-body { padding: 0 16px 14px; border-top: 1px solid var(--border-subtle); }
.why-ats-insight-body .explain-card { margin-top: 10px; }

/* Insight story grid (overview) */
.insight-story-grid {
  display: grid;
  gap: 14px;
  margin: 0 24px 20px;
}
@media (min-width: 800px) {
  .insight-story-grid { grid-template-columns: repeat(3, 1fr); }
}
.insight-story-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--spring);
}
.insight-story-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.insight-story-card h3 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.insight-story-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ATS parse viz */
.viz-parse { margin: 12px 0 10px; }
.viz-parse-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  opacity: 0;
  animation: fs-fade-up 0.5s var(--spring) forwards;
}
.viz-parse-bar {
  flex: 0 0 48px;
  height: 6px;
  border-radius: 999px;
  background: var(--panel-3);
  position: relative;
  overflow: hidden;
}
.viz-parse-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: inherit;
  animation: fs-parse-grow 0.9s var(--spring) forwards;
}
.viz-parse-bar.ok::after { width: 88%; background: var(--success); animation-delay: 0.1s; }
.viz-parse-bar.warn::after { width: 52%; background: var(--warning); animation-delay: 0.15s; }
.viz-parse-bar.miss::after { width: 22%; background: var(--muted-2); animation-delay: 0.2s; }
@keyframes fs-parse-grow { from { width: 0; } }
.viz-parse-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

/* Recruiter skim sim */
.viz-skim { margin: 12px 0 8px; }
.viz-skim-track {
  position: relative;
  height: 8px;
  background: var(--panel-3);
  border-radius: 999px;
  overflow: hidden;
}
.viz-skim-scan {
  position: absolute;
  top: 0;
  width: 28%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary));
  animation: fs-skim-scan 10s var(--ease) infinite;
}
.viz-skim-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.65rem;
  color: var(--muted-2);
  font-weight: 600;
}
.viz-skim-notes { margin-top: 10px; font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

/* Cover letter alignment */
.viz-align { margin: 12px 0 8px; }
.viz-align-row { margin-bottom: 10px; }
.viz-align-row span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.viz-align-track {
  height: 6px;
  background: var(--panel-3);
  border-radius: 999px;
  overflow: hidden;
}
.viz-align-fill {
  height: 100%;
  border-radius: inherit;
  transition: width 0.8s var(--spring);
}
.viz-align-fill.good { background: linear-gradient(90deg, var(--success), #22c55e); }
.viz-align-fill.needs_work { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.viz-align-fill.missing { background: var(--muted-2); }

/* Accordions — smooth */
.advanced-accordion {
  transition: box-shadow 0.25s var(--ease);
}
.advanced-accordion[open] { box-shadow: var(--shadow); }
.advanced-accordion summary { transition: background 0.2s var(--ease); }
.advanced-accordion-body {
  animation: fs-fade-up 0.35s var(--spring);
}

/* Landing hero */
.hero-visual-wrap { position: relative; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  pointer-events: none;
  animation: fs-blob-drift 14s ease-in-out infinite;
}
.hero-blob-1 { width: 200px; height: 200px; background: rgba(79, 70, 229, 0.35); top: -40px; right: -20px; }
.hero-blob-2 { width: 160px; height: 160px; background: rgba(37, 99, 235, 0.28); bottom: 20px; left: -30px; animation-delay: -5s; }
.hero-blob-3 { width: 120px; height: 120px; background: rgba(124, 58, 237, 0.22); top: 40%; left: 30%; animation-delay: -9s; }

.hero-mockup-float {
  position: relative;
  z-index: 1;
  animation: fs-float 8s ease-in-out infinite;
}
.hero-mockup-inner { animation: fs-fade-up 0.7s var(--spring) 0.15s both; }

.mockup-viz-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.mockup-viz-chip {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  background: var(--panel-2);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
}
.mockup-viz-chip.on { background: var(--info-soft); color: var(--primary); }

.mockup-skim-mini {
  height: 5px;
  background: var(--panel-3);
  border-radius: 999px;
  margin: 8px 0 4px;
  position: relative;
  overflow: hidden;
}
.mockup-skim-mini::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: inherit;
  animation: fs-skim-scan 8s ease-in-out infinite;
}

/* ── Phase 29: premium app components ── */

.hero-readiness {
  background: linear-gradient(165deg, #fff 0%, rgba(79, 70, 229, 0.06) 45%, rgba(37, 99, 235, 0.04) 100%);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 8px;
}
.hero-readiness-label {
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero-readiness h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fix-cards-premium {
  display: grid;
  gap: 14px;
  margin: 0 24px 20px;
}
@media (min-width: 720px) { .fix-cards-premium { grid-template-columns: repeat(3, 1fr); } }
.fix-card-premium {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--spring);
  position: relative;
  overflow: hidden;
}
.fix-card-premium::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0.85;
}
.fix-card-premium:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.fix-card-premium-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.fix-card-premium-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.fix-card-premium-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.fix-card-premium-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.badge-impact, .badge-effort, .badge-kw {
  font-size: 0.68rem;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge-impact.high { background: rgba(220, 38, 38, 0.08); color: #b91c1c; border: 1px solid rgba(220, 38, 38, 0.15); }
.badge-impact.medium { background: rgba(217, 119, 6, 0.1); color: #b45309; border: 1px solid rgba(217, 119, 6, 0.18); }
.badge-impact.low { background: var(--panel-2); color: var(--muted); border: 1px solid var(--border); }
.badge-effort { background: var(--info-soft); color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.12); }
.fix-card-why {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.fix-card-why summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  font-size: 0.78rem;
}
.fix-card-why summary::-webkit-details-marker { display: none; }
.fix-card-why-body { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-subtle); }

.kw-panel { margin: 0 24px 20px; }
.kw-panel-header { margin-bottom: 16px; }
.kw-panel-header h2 { margin: 0 0 8px; }
.kw-truth-note {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-top: 10px;
}
.kw-group-card {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.kw-group-card h3 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.kw-group-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: var(--info-soft);
}
.kw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--panel-2);
  max-width: 100%;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--spring);
}
.kw-chip:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.kw-chip-term { font-size: 0.82rem; font-weight: 650; color: var(--text); }
.kw-chip-status {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.kw-chip-status.found_strongly { background: var(--ok-soft); color: var(--success); }
.kw-chip-status.found_weakly { background: var(--warn-soft); color: var(--warning); }
.kw-chip-status.not_visible { background: var(--panel-3); color: var(--muted); }
.kw-chip-status.implied_weak_ats { background: var(--violet-soft); color: var(--accent-violet); }

.cl-snapshot {
  margin: 0 24px 20px;
  background: linear-gradient(165deg, #fff 0%, var(--panel-2) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.cl-snapshot-impression {
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.4;
}
.cl-metrics { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 520px) { .cl-metrics { grid-template-columns: 1fr 1fr; } }
.cl-metric label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}
.cl-metric-bar {
  height: 6px;
  background: var(--panel-3);
  border-radius: 999px;
  overflow: hidden;
}
.cl-metric-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent-gradient);
  transition: width 0.8s var(--spring);
}
.cl-metric-fill.warn { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.cl-metric-fill.weak { background: var(--muted-2); }
.cl-risk-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cl-risk-pill.low { background: var(--ok-soft); color: var(--success); }
.cl-risk-pill.medium { background: var(--warn-soft); color: var(--warning); }
.cl-risk-pill.high { background: var(--risk-soft); color: var(--risk); }
.cl-top-tip {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 12px 14px;
  background: var(--panel);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin: 0;
}

.export-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 24px 16px;
}
@media (min-width: 640px) {
  .export-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
.export-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--panel);
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow 0.25s var(--ease), border-color 0.2s, transform 0.2s var(--spring);
  box-shadow: var(--shadow-sm);
}
.export-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.export-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.export-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 4px;
}
.export-card span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.preview-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--info-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(79, 70, 229, 0.12);
}
.preview-kw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.preview-kw-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  color: var(--text);
}
.preview-kw-chip .sub { display: block; font-size: 0.65rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

.skeleton-wrap { padding: 24px; }
.skel-banner {
  height: 120px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--panel-2) 25%, var(--panel-3) 50%, var(--panel-2) 75%);
  background-size: 200% 100%;
  animation: fs-shimmer 1.4s ease-in-out infinite;
}
.skel-block {
  height: 88px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--panel-2) 25%, var(--panel-3) 50%, var(--panel-2) 75%);
  background-size: 200% 100%;
  animation: fs-shimmer 1.4s ease-in-out infinite;
}
.skel-block:nth-child(3) { animation-delay: 0.1s; }
.skel-block:nth-child(4) { animation-delay: 0.2s; }
.loading-msg { text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 8px; }

/* Landing product grid */
.product-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--spring);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  background: var(--info-soft);
  border: 1px solid rgba(79, 70, 229, 0.1);
}
.product-card h3 { font-size: 1rem; font-weight: 650; margin: 0 0 8px; letter-spacing: -0.02em; }
.product-card p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.mockup-exec-label {
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Phase 31 — executive overview + ATS devtools */
.readiness-hero {
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.08) 0%, rgba(37, 99, 235, 0.04) 50%, #fff 100%);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}
.readiness-hero-kicker {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
}
.readiness-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.readiness-hero-lead {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 42rem;
}
.readiness-hero-priorities {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.readiness-hero-priorities li::before { content: "• "; color: var(--primary); }
.section-title-compact {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.friction-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.friction-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.friction-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.friction-rank {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.friction-likelihood {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  color: var(--warning);
}
.friction-card.level-very_high .friction-likelihood,
.friction-card.level-high .friction-likelihood { color: var(--risk); }
.fix-cards-compact-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.fix-card-compact {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel);
  transition: box-shadow 0.2s var(--ease);
}
.fix-card-compact:hover { box-shadow: var(--shadow); }
.fix-card-compact-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.fix-card-compact-meta {
  margin: 10px 0 0;
  font-size: 0.82rem;
  display: grid;
  gap: 6px;
}
.fix-card-compact-meta dt { color: var(--muted-2); font-weight: 600; display: inline; }
.fix-card-compact-meta dd { display: inline; margin: 0 0 0 6px; color: var(--text); }
.kw-visual-grid { display: flex; flex-direction: column; gap: 12px; }
.kw-vis-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kw-vis-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 4.5rem;
}
.kw-vis-label.found { color: var(--success); }
.kw-vis-label.implied { color: var(--warning); }
.kw-vis-label.missing { color: var(--risk); }
.kw-vis-chip {
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.kw-vis-chip.found { background: var(--ok-soft); border-color: rgba(22, 163, 74, 0.25); }
.kw-vis-chip.implied { background: var(--warn-soft); }
.kw-vis-chip.missing { background: var(--risk-soft); }
.kw-vis-chip:hover { transform: scale(1.03); }
.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}
.ats-behaviour-collapsed summary {
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.ats-behaviour-collapsed[open] summary { margin-bottom: 12px; }
.compact-list { margin: 0; padding-left: 1rem; font-size: 0.85rem; color: var(--muted); }
.checklist-progress-bar {
  height: 6px;
  background: var(--panel-3);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 14px;
}
.checklist-progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 999px;
  transition: width 0.22s var(--motion-ease), background 0.2s var(--motion-ease);
}
.checklist-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checklist-pct { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.trust-micro { font-size: 0.78rem; color: var(--muted-2); margin: 10px 0 0; }
.ats-devtools .devtools-header { margin-bottom: 20px; }
.devtools-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.devtools-panel {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.devtools-panel h3, .devtools-panel h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 10px;
}
.devtools-panel-wide { grid-column: 1 / -1; }
.devtools-filter-card, .devtools-risk-card, .devtools-cf-card {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--panel-2);
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.devtools-conf {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--success);
}
.devtools-search-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.devtools-score-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.devtools-score-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--info-soft);
}
.dedup-ref { font-size: 0.82rem; color: var(--muted); font-style: italic; }
.report-tab, .report-panel { transition: opacity 0.22s var(--ease); }
.report-panel:not(.active) { opacity: 0; }
.report-panel.active { opacity: 1; }

@media (max-width: 640px) {
  .readiness-hero { padding: 20px 16px; }
  .readiness-hero-title { font-size: 1.4rem; }
  .friction-grid, .fix-cards-compact-grid, .devtools-grid { grid-template-columns: 1fr; }
}

/* Phase 31C — report layout rhythm */
:root {
  --report-gap: 26px;
  --report-gap-md: 20px;
  --report-gap-inner: 14px;
  --report-card-pad: 28px;
  --report-radius: 20px;
  --motion-duration: 0.2s;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.report-stack {
  display: flex;
  flex-direction: column;
  gap: var(--report-gap);
  padding: 8px 24px 36px;
  min-width: 0;
}
.polish-overview.report-stack,
.report-stack.polish-overview { gap: var(--report-gap); }
.polish-panel.report-stack { padding-top: 12px; }

.report-section {
  margin: 0;
  min-width: 0;
}
.report-section-head { margin-bottom: var(--report-gap-inner); }
.report-section-head .section-title-compact,
.report-section-head .fs-section__title,
.report-section-head h2 {
  margin: 0 0 8px;
}
.report-section-head .section-sub,
.report-section-head .fs-section__sub { margin: 0; }

.report-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--report-radius);
  padding: var(--report-card-pad);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    border-color var(--motion-duration) var(--motion-ease);
}
.report-card:hover { border-color: rgba(79, 70, 229, 0.12); }
.report-card--hero {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.report-card--hero:hover { transform: none; }
.report-card--section { padding: var(--report-card-pad); }
.report-card--advisor {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  padding: var(--report-card-pad) var(--report-card-pad) 24px;
}
.report-card--flat {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.report-card--nested {
  padding: 20px;
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.report-grid {
  display: grid;
  gap: var(--report-gap-md);
  align-items: stretch;
}
.report-grid--fixes {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.report-grid--devtools { gap: var(--report-gap-inner); }

.report-card-row {
  display: flex;
  flex-direction: column;
  gap: var(--report-gap-inner);
}

.report-accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 8px;
}
.report-accordion-stack .fs-accordion,
.report-accordion-stack .advisor-accordion {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--motion-duration) var(--motion-ease),
    box-shadow var(--motion-duration) var(--motion-ease);
}
.report-accordion-stack .fs-accordion:hover {
  border-color: rgba(79, 70, 229, 0.18);
}
.report-accordion-stack .fs-accordion[open] {
  box-shadow: var(--shadow);
  border-color: rgba(79, 70, 229, 0.2);
}
.report-accordion-stack .fs-accordion > summary {
  transition: background var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease);
}
.report-accordion-stack .fs-accordion .advisor-body,
.report-accordion-stack .fs-accordion .fs-accordion__body {
  animation: accordion-body-in 0.2s var(--motion-ease);
}
@keyframes accordion-body-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Phase 31 polish — executive overview */
.polish-overview { display: flex; flex-direction: column; }
.polish-panel { padding-top: 0; }
.section-sub { font-size: 0.88rem; color: var(--muted); margin: 0 0 14px; line-height: 1.45; max-width: 40rem; }
.report-section-head .section-sub { margin-bottom: 0; }

.hero-decision {
  background: linear-gradient(160deg, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0.95) 45%, #fff 100%);
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-decision-badge {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.hero-decision-badge.tone-positive { color: var(--success); }
.hero-decision-badge.tone-caution { color: #b45309; }
.hero-decision-badge.tone-warn { color: var(--risk); }
.hero-decision-lead { font-size: 1.02rem; color: var(--muted); margin: 0 0 18px; max-width: 36rem; line-height: 1.5; }
.hero-meta-label { font-size: 0.72rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); }
.hero-blocker-list { margin: 8px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 0.92rem; }
.hero-blocker-list li::before { content: "• "; color: var(--primary); }
.hero-decision-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.conf-meter { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); font-family: ui-monospace, monospace; }
.conf-meter-bars { letter-spacing: 0.02em; color: var(--primary); }
.severity-chip { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 999px; }
.severity-chip.sev-high { background: var(--risk-soft); color: var(--risk); }
.severity-chip.sev-med { background: var(--warn-soft); color: var(--warning); }
.severity-chip.sev-low { background: var(--panel-3); color: var(--muted); }

.action-cards-grid,
.report-grid--fixes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: stretch; }
.action-card-premium,
.report-grid--fixes .action-card-premium {
  padding: 24px;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    border-color var(--motion-duration) var(--motion-ease);
}
.action-card-premium:hover,
.report-grid--fixes .action-card-premium:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.2);
}
.action-card-why { flex: 1; }
.action-card-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.action-card-top h3 { margin: 0; font-size: 1rem; font-weight: 650; flex: 1; }
.action-card-meta { font-size: 0.8rem; color: var(--muted); margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.action-meta-dot { opacity: 0.5; }
.action-card-why { font-size: 0.88rem; color: var(--text); margin: 0 0 12px; line-height: 1.45; }
.action-card-fix { background: var(--panel-2); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 10px; }
.action-fix-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--muted-2); }
.btn-copy-fix { font-size: 0.8rem; padding: 6px 12px; margin-top: 4px; }

.progression-list { display: flex; flex-direction: column; gap: 12px; }
.progression-row {
  display: flex; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.progression-num { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.progression-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.progression-head h3 { margin: 0; font-size: 0.95rem; }
.progression-note { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.progression-fix { font-size: 0.82rem; color: var(--secondary); margin-top: 8px; }

.ats-snapshot.report-card,
.report-card.ats-snapshot { padding: var(--report-card-pad); }
.ats-snapshot { padding: var(--report-card-pad); }
.ats-snapshot-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ats-snap-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); margin: 0; }
.ats-snap-title { font-size: 1.25rem; font-weight: 700; margin: 4px 0; letter-spacing: -0.02em; }
.ats-snap-conf { font-size: 0.85rem; color: var(--muted); margin: 0; }
.snap-subhead { font-size: 0.75rem; font-weight: 650; text-transform: uppercase; color: var(--muted-2); margin: 12px 0 6px; }
.snap-list { margin: 0; padding-left: 0; list-style: none; font-size: 0.88rem; color: var(--muted); }
.snap-list.emphasis li::before { content: "• "; color: var(--primary); }
.snap-check { color: var(--success); }
.ats-snap-kw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kw-mini { font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; }
.kw-mini.found { background: var(--ok-soft); color: var(--success); }
.kw-mini.missing { background: var(--risk-soft); color: var(--risk); }

.polish-disclosure {
  margin-top: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  background: var(--panel-2);
}
.polish-disclosure summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.polish-disclosure[open] summary { margin-bottom: 8px; color: var(--primary); }
.polish-disclosure p { font-size: 0.85rem; color: var(--muted); margin: 6px 0; line-height: 1.45; }

.checklist-rows { display: flex; flex-direction: column; gap: 8px; }
.checklist-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
  transition:
    background var(--motion-duration) var(--motion-ease),
    border-color var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    box-shadow var(--motion-duration) var(--motion-ease);
}
.checklist-row:hover { border-color: rgba(79, 70, 229, 0.25); }
.checklist-row.is-done {
  background: var(--ok-soft);
  border-color: rgba(22, 163, 74, 0.25);
  transform: scale(1.01);
  box-shadow: var(--shadow-sm);
}
.checklist-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.checklist-check {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border);
  flex-shrink: 0;
  transition:
    background var(--motion-duration) var(--motion-ease),
    border-color var(--motion-duration) var(--motion-ease),
    transform 0.22s var(--spring);
}
.checklist-row.is-done .checklist-check {
  background: var(--success);
  border-color: var(--success);
  box-shadow: inset 0 0 0 3px #fff;
  transform: scale(1.08);
}
.checklist-motivation { font-size: 0.85rem; color: var(--muted); margin: 0 0 10px; }
.checklist-complete .checklist-progress-fill { background: linear-gradient(90deg, var(--success), #22c55e); }
.checklist-complete .checklist-pct { color: var(--success); }

/* Recruiter skim timeline */
.recruiter-timeline.report-card,
.report-card.recruiter-timeline { padding: var(--report-card-pad); }
.recruiter-timeline { padding: var(--report-card-pad); }
.skim-timeline { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.skim-phase {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
}
.skim-phase-head { margin-bottom: 10px; }
.skim-time {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary);
}
.skim-phase h3 { margin: 4px 0 0; font-size: 0.95rem; }
.skim-track {
  height: 4px; background: var(--panel-3); border-radius: 999px;
  margin-bottom: 12px; position: relative; overflow: hidden;
}
.skim-eye {
  position: absolute; left: 0; top: 0; height: 100%; width: 28%;
  background: var(--accent-gradient);
  border-radius: 999px;
  animation: skim-scan-move 2.8s var(--ease) infinite;
}
@keyframes skim-scan-move {
  0% { left: 0; }
  100% { left: 72%; }
}
.skim-list { margin: 0; padding: 0; list-style: none; }
.skim-item { font-size: 0.85rem; padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; }
.skim-item.strong .skim-mark { color: var(--success); }
.skim-item.unclear .skim-mark, .skim-item.buried .skim-mark { color: var(--warning); }
.skim-item.muted { color: var(--muted-2); font-style: italic; }

/* Cover letter premium */
.cover-premium .cover-hero-card { padding: 20px; margin-bottom: 16px; }
.cover-hero-label { font-size: 0.72rem; text-transform: uppercase; color: var(--muted-2); margin: 0; }
.cover-hero-impression { font-size: 1.15rem; font-weight: 650; margin: 6px 0; }
.cover-hero-summary { font-size: 0.9rem; color: var(--muted); margin: 0; }
.cl-score-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 16px 0; }
.cl-score-card { padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel); }
.cover-tip-list { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; }

/* Advisor mode */
.advisor-mode { padding: 0; }
.advisor-mode-head { margin-bottom: var(--report-gap-inner); }
.advisor-accordions { display: flex; flex-direction: column; gap: 12px; }
.advisor-accordion {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}
.advisor-accordion summary {
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--motion-duration) var(--motion-ease);
}
.advisor-accordion summary:hover { background: var(--panel-2); }
.advisor-body { padding: 4px 18px 18px; font-size: 0.88rem; line-height: 1.5; }
.advisor-row { padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.status-chip { font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; background: var(--info-soft); margin-left: 6px; }

.report-section .exec-panel,
.report-card.exec-panel { margin-bottom: 0; }
.exec-panel { margin-bottom: 0; }
.report-card .fs-section { margin-bottom: 0; }

/* Buttons — soft hover */
.btn-copilot {
  transition:
    box-shadow var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    background var(--motion-duration) var(--motion-ease),
    border-color var(--motion-duration) var(--motion-ease);
}
.btn-copilot-primary:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.28);
  transform: translateY(-1px);
}
.btn-copilot-ghost:hover:not(:disabled) {
  box-shadow: var(--shadow-sm);
}
.export-card {
  transition:
    box-shadow var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    border-color var(--motion-duration) var(--motion-ease);
}
.export-card:hover { transform: translateY(-2px); }

.ats-devtools.report-card { padding: var(--report-card-pad); border-radius: var(--report-radius); }
.copilot-section.report-card { padding: var(--report-card-pad); border-radius: var(--report-radius); margin: 0; }
.cover-premium.report-card { padding: var(--report-card-pad); }

details.report-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
details.report-card > summary {
  padding: 22px var(--report-card-pad);
  font-weight: 650;
  font-size: 0.95rem;
  list-style: none;
  transition: background var(--motion-duration) var(--motion-ease);
}
details.report-card > summary::-webkit-details-marker { display: none; }
details.report-card[open] > summary { background: var(--panel-2); }
details.report-card .advanced-accordion-body {
  padding: 0 var(--report-card-pad) var(--report-card-pad);
  border-top: 1px solid var(--border-subtle);
}

.report-card-row .evidence-split-card,
.report-card-row .fs-insight-card,
.report-card-row .fs-signal-card { margin: 0; }
.report-section--cover + .tint-warning,
.report-stack .tint-warning {
  margin: 0 24px;
  border-radius: var(--report-radius);
}

.advanced-accordion.culture-panel { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .report-panel.active,
  .report-panel.report-panel-enter { animation: none; }
  .report-accordion-stack .fs-accordion .advisor-body,
  .report-accordion-stack .fs-accordion .fs-accordion__body { animation: none; }
  .fix-card-premium:hover, .kw-chip:hover, .export-card:hover, .product-card:hover,
  .friction-card:hover, .kw-vis-chip:hover, .action-card-premium:hover,
  .report-card:hover, .btn-copilot-primary:hover, .btn-copilot-ghost:hover {
    transform: none;
  }
  .skel-banner, .skel-block { animation: none; }
  .checklist-progress-fill { transition: none; }
  .checklist-row.is-done { transform: none; }
  .checklist-row.is-done .checklist-check { transform: none; }
  .skim-eye { animation: none; }
}

/* ── ATS Insight design system (spacing + typography + shared components) ── */
:root {
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --fs-text-xs: 0.72rem;
  --fs-text-sm: 0.82rem;
  --fs-text-md: 0.92rem;
  --fs-text-lg: 1.05rem;
  --fs-text-xl: 1.25rem;
  --fs-text-2xl: 1.45rem;
  --fs-leading: 1.5;
  --fs-leading-tight: 1.25;
}

.fs-section { margin-bottom: var(--space-lg); }
.fs-section__head { margin-bottom: var(--space-md); }
.fs-section__kicker {
  font-size: var(--fs-text-xs);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  margin: 0 0 var(--space-sm);
}
.fs-section__title {
  font-size: var(--fs-text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
  line-height: var(--fs-leading-tight);
}
.fs-section__title--sm { font-size: var(--fs-text-md); font-weight: 650; }
.fs-section__sub {
  font-size: var(--fs-text-md);
  color: var(--muted);
  margin: 0;
  line-height: var(--fs-leading);
  max-width: 42rem;
}
.fs-caption {
  font-size: var(--fs-text-sm);
  color: var(--muted-2);
  margin: var(--space-sm) 0 0;
  line-height: var(--fs-leading);
}
.fs-card-stack { display: flex; flex-direction: column; gap: var(--space-sm); }

/* Icon system — CSS shapes, no fragile emoji prefixes */
.fs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  border-radius: 50%;
  vertical-align: -0.12em;
  position: relative;
}
.fs-icon::before {
  content: "";
  display: block;
  box-sizing: border-box;
}
.fs-icon--success {
  background: var(--ok-soft);
  color: var(--success);
}
.fs-icon--success::before {
  width: 0.35em;
  height: 0.6em;
  border: solid currentColor;
  border-width: 0 0.14em 0.14em 0;
  transform: rotate(45deg) translate(-0.05em, -0.08em);
}
.fs-icon--warn {
  background: var(--warn-soft);
  color: var(--warning);
}
.fs-icon--warn::before {
  width: 0.12em;
  height: 0.45em;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 0.52em currentColor;
}
.fs-icon--missing {
  background: var(--risk-soft);
  color: var(--risk);
}
.fs-icon--missing::before {
  width: 0.55em;
  height: 0.1em;
  background: currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 0 0, 0 0 0 0;
}
.fs-icon--missing::after {
  content: "";
  position: absolute;
  width: 0.55em;
  height: 0.1em;
  background: currentColor;
  transform: rotate(-45deg);
}
.fs-icon--info, .fs-icon--neutral, .fs-icon--positive, .fs-icon--caution {
  background: var(--info-soft);
  color: var(--primary);
}
.fs-icon--info::before, .fs-icon--neutral::before {
  width: 0.14em;
  height: 0.14em;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 -0.38em currentColor, 0 0.38em currentColor;
}
.fs-icon--positive { background: var(--ok-soft); color: var(--success); }
.fs-icon--positive::before { border-color: currentColor; }
.fs-icon--caution { background: var(--warn-soft); color: var(--warning); }

.fs-severity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px 3px 6px;
  border-radius: 999px;
}
.fs-severity--high { background: var(--risk-soft); color: var(--risk); }
.fs-severity--medium { background: var(--warn-soft); color: var(--warning); }
.fs-severity--low { background: var(--panel-3); color: var(--muted); }

.fs-meter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-text-xs);
  color: var(--muted);
}
.fs-meter-track {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.fs-meter-fill {
  width: 6px;
  height: 10px;
  border-radius: 2px;
  background: var(--panel-3);
}
.fs-meter-fill.is-on { background: var(--primary); }

.fs-signal-card {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.fs-signal-card__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.fs-signal-card__title {
  margin: 0;
  font-size: var(--fs-text-md);
  font-weight: 650;
  line-height: var(--fs-leading-tight);
}
.fs-signal-card__note {
  margin: var(--space-sm) 0 0 1.65em;
  font-size: var(--fs-text-sm);
  color: var(--muted);
  line-height: var(--fs-leading);
}
.fs-signal-card--success { border-color: rgba(22, 163, 74, 0.2); }
.fs-signal-card--warn { border-color: rgba(217, 119, 6, 0.22); }
.fs-signal-card--missing { border-color: rgba(220, 38, 38, 0.15); }
.fs-signal-card--info { border-color: rgba(79, 70, 229, 0.14); }

.fs-insight-card {
  padding: var(--space-md) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.fs-insight-card__kicker { margin: 0 0 var(--space-sm); font-size: var(--fs-text-xs); color: var(--muted-2); }
.fs-insight-card__title { margin: 0 0 var(--space-sm); font-size: var(--fs-text-lg); font-weight: 650; }
.fs-insight-card__meta { margin: 0 0 var(--space-sm); }
.fs-insight-card--warn { background: linear-gradient(165deg, #fff 0%, var(--warn-soft) 100%); }
.fs-insight-card--info { background: linear-gradient(165deg, #fff 0%, var(--info-soft) 100%); }

.fs-accordion, .fs-accordion.advisor-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
}
.fs-accordion__summary, .fs-accordion > summary {
  padding: 12px 16px;
  font-weight: 600;
  font-size: var(--fs-text-md);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s var(--ease);
}
.fs-accordion__summary::-webkit-details-marker,
.fs-accordion > summary::-webkit-details-marker { display: none; }
.fs-accordion[open] > summary,
.fs-accordion[open] .fs-accordion__summary { background: var(--panel-2); color: var(--primary); }
.fs-accordion__body, .fs-accordion .advisor-body {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--fs-text-md);
  line-height: var(--fs-leading);
}
.fs-accordion-stack { display: flex; flex-direction: column; gap: var(--space-sm); }

.fs-empty {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px dashed var(--border);
}
.fs-empty p { margin: 0; font-size: var(--fs-text-sm); color: var(--muted); }

.fs-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-text-xs);
  font-weight: 600;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.fs-status-chip--success { background: var(--ok-soft); color: var(--success); }
.fs-status-chip--warn { background: var(--warn-soft); color: var(--warning); }
.fs-status-chip--missing { background: var(--risk-soft); color: var(--risk); }
.fs-status-chip--info { background: var(--info-soft); color: var(--primary); }

.fs-evidence-bar {
  display: inline-block;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--panel-3);
  position: relative;
  overflow: hidden;
}
.fs-evidence-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--fs-bar-pct, 50%);
  border-radius: inherit;
  background: var(--primary);
}
.fs-evidence-bar--success::after { background: var(--success); }
.fs-evidence-bar--warn::after { background: var(--warning); }
.fs-evidence-bar--missing::after { background: var(--risk); }

/* Premium recruiter timeline */
.fs-timeline-premium {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
  padding-left: var(--space-sm);
}
.fs-timeline-block {
  position: relative;
  padding-left: var(--space-lg);
}
.fs-timeline-block__rail {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: calc(-1 * var(--space-lg));
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
  border-radius: 999px;
}
.fs-timeline-block:last-child .fs-timeline-block__rail { bottom: 0; }
.fs-timeline-block__head { margin-bottom: var(--space-md); }
.fs-timeline-block__time {
  display: inline-block;
  font-size: var(--fs-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}
.fs-timeline-block__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fs-timeline-block__sub {
  margin: 0;
  font-size: var(--fs-text-sm);
  color: var(--muted);
}
.fs-timeline-block__signals { display: flex; flex-direction: column; gap: var(--space-sm); }

.hero-decision-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.hero-readiness-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.snap-check { display: inline-flex; vertical-align: middle; }
.blocker-title { display: flex; align-items: center; gap: var(--space-sm); }
.ats-scorecard-head, .read-check-head { display: inline-flex; align-items: center; gap: var(--space-sm); }
.roi-improve-item { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; }
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-text-sm);
}

@media (max-width: 640px) {
  .fs-timeline-premium { padding-left: 0; }
}

/* Phase 31D — Overview executive dashboard (scoped to Overview tab only) */
.polish-overview--exec .report-card--section {
  padding: 20px 22px;
}
.polish-overview--exec .ov-section-head--tight {
  margin-bottom: 12px;
}
.polish-overview--exec .ov-section-head--tight .section-sub,
.polish-overview--exec .ov-section-head--tight .fs-section__sub {
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Compact hero */
.polish-overview--exec .ov-hero-card {
  padding: 18px 22px;
  max-height: none;
}
.polish-overview--exec .ov-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 220px);
  gap: 20px;
  align-items: start;
}
.polish-overview--exec .ov-hero-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.polish-overview--exec .ov-hero-verdict.tone-positive { color: var(--success); }
.polish-overview--exec .ov-hero-verdict.tone-caution { color: #b45309; }
.polish-overview--exec .ov-hero-verdict.tone-warn { color: var(--risk); }
.polish-overview--exec .ov-hero-lead {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 36rem;
}
.polish-overview--exec .ov-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.polish-overview--exec .ov-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.polish-overview--exec .ov-chip--blocker {
  background: var(--warn-soft);
  border-color: rgba(217, 119, 6, 0.22);
  color: #92400e;
}
.polish-overview--exec .ov-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}
.polish-overview--exec .ov-hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.polish-overview--exec .ov-metric {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border-subtle);
}
.polish-overview--exec .ov-metric-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.polish-overview--exec .ov-metric-value {
  font-size: 0.95rem;
  font-weight: 700;
}
.polish-overview--exec .ov-metric .fs-meter { margin-top: 4px; }

/* Quick wins strip */
.polish-overview--exec .ov-quick-wins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--info-soft) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(79, 70, 229, 0.12);
}
.polish-overview--exec .ov-quick-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.polish-overview--exec .ov-quick-stat strong {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.3;
}

/* Ranked action rows */
.polish-overview--exec .ov-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.polish-overview--exec .ov-action-row {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  max-height: 160px;
  overflow: hidden;
  transition:
    max-height 0.22s var(--motion-ease),
    border-color 0.2s var(--motion-ease),
    box-shadow 0.2s var(--motion-ease),
    transform 0.2s var(--motion-ease);
}
.polish-overview--exec .ov-action-row:hover {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow-sm);
}
.polish-overview--exec .ov-action-row:has(.ov-inline-details[open]) {
  max-height: 420px;
}
.polish-overview--exec .ov-action-row-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.polish-overview--exec .ov-action-rank {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  width: 1.4rem;
  padding-top: 2px;
}
.polish-overview--exec .ov-action-title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
}
.polish-overview--exec .ov-action-meta {
  margin: 0 0 6px;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.polish-overview--exec .ov-meta-sep { opacity: 0.45; }
.polish-overview--exec .ov-action-line {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.polish-overview--exec .ov-line-label {
  font-weight: 650;
  color: var(--text);
  margin-right: 4px;
}
.polish-overview--exec .ov-action-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.polish-overview--exec .btn-sm {
  font-size: 0.76rem;
  padding: 5px 12px;
}

/* Inline details (overview accordions) */
.polish-overview--exec .ov-inline-details {
  font-size: 0.78rem;
}
.polish-overview--exec .ov-inline-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
  transition: color 0.2s var(--motion-ease);
}
.polish-overview--exec .ov-inline-details summary::-webkit-details-marker { display: none; }
.polish-overview--exec .ov-inline-details[open] summary { margin-bottom: 6px; }
.polish-overview--exec .ov-inline-details p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Friction — horizontal compact cards */
.polish-overview--exec .ov-friction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.polish-overview--exec .ov-friction-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  min-height: 0;
  max-height: 160px;
  overflow: hidden;
  transition: border-color 0.2s var(--motion-ease), box-shadow 0.2s var(--motion-ease);
}
.polish-overview--exec .ov-friction-card:hover {
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: var(--shadow-sm);
}
.polish-overview--exec .ov-friction-card:has(.ov-inline-details[open]) {
  max-height: 280px;
}
.polish-overview--exec .ov-friction-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.polish-overview--exec .ov-friction-conf {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}
.polish-overview--exec .ov-friction-title {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.25;
}
.polish-overview--exec .ov-friction-fix {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ATS keyword chips */
.polish-overview--exec .ov-ats-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.polish-overview--exec .ov-ats-platform {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 0.88rem;
}
.polish-overview--exec .ov-ats-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.polish-overview--exec .ov-ats-conf {
  font-size: 0.78rem;
  color: var(--muted);
}
.polish-overview--exec .ov-kw-board {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.polish-overview--exec .ov-kw-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.polish-overview--exec .ov-kw-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 4.5rem;
}
.polish-overview--exec .ov-kw-group-label--found { color: var(--success); }
.polish-overview--exec .ov-kw-group-label--implied { color: var(--warning); }
.polish-overview--exec .ov-kw-group-label--missing { color: var(--risk); }
.polish-overview--exec .ov-kw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.polish-overview--exec .ov-kw-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s var(--motion-ease), box-shadow 0.18s var(--motion-ease);
}
.polish-overview--exec .ov-kw-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.polish-overview--exec .ov-kw-chip--found {
  background: var(--ok-soft);
  border-color: rgba(22, 163, 74, 0.2);
  color: var(--success);
}
.polish-overview--exec .ov-kw-chip--implied {
  background: var(--warn-soft);
  border-color: rgba(217, 119, 6, 0.2);
  color: #92400e;
}
.polish-overview--exec .ov-kw-chip--missing {
  background: var(--risk-soft);
  border-color: rgba(220, 38, 38, 0.15);
  color: var(--risk);
}
.polish-overview--exec .ov-snap-mini-label {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted-2);
  margin: 8px 0 4px;
}
.polish-overview--exec .ov-snap-mini-list {
  margin: 0 0 8px;
  padding-left: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Final step checklist */
.polish-overview--exec .ov-final-step {
  border-color: rgba(79, 70, 229, 0.18);
  background: linear-gradient(165deg, #fff 0%, var(--info-soft) 100%);
}
.polish-overview--exec .ov-final-head {
  align-items: flex-end;
}
.polish-overview--exec .ov-final-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 2px;
}
.polish-overview--exec .ov-checklist-rows {
  gap: 6px;
}
.polish-overview--exec .ov-checklist-rows .checklist-row {
  padding: 10px 12px;
  border-radius: 10px;
  transition:
    background 0.2s var(--motion-ease),
    border-color 0.2s var(--motion-ease),
    transform 0.2s var(--motion-ease);
}
.polish-overview--exec .ov-progress-bar {
  margin-bottom: 10px;
}
.polish-overview--exec .ov-checklist-motivation {
  font-size: 0.82rem;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .polish-overview--exec .ov-hero-grid {
    grid-template-columns: 1fr;
  }
  .polish-overview--exec .ov-hero-metrics {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .polish-overview--exec .ov-metric { flex: 1; min-width: 120px; }
  .polish-overview--exec .ov-quick-wins {
    grid-template-columns: 1fr;
  }
  .polish-overview--exec .ov-friction-grid {
    grid-template-columns: 1fr;
  }
}

/* ATS Debugger v1 — international student milestone */
.polish-overview--ats-v1 .ats-v1-summary {
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(165deg, #fff 0%, rgba(37, 99, 235, 0.04) 100%);
  padding: 20px 22px;
}
.polish-overview--ats-v1 .ats-v1-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 6px;
}
.polish-overview--ats-v1 .ats-v1-headline {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.25;
}
.polish-overview--ats-v1 .ats-v1-reason {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
.polish-overview--ats-v1 .ats-v1-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.polish-overview--ats-v1 .ats-v1-meta {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border-subtle);
}
.polish-overview--ats-v1 .ats-v1-meta span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.polish-overview--ats-v1 .ats-v1-meta strong {
  font-size: 0.88rem;
}
.polish-overview--ats-v1 .ats-v1-posture {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--panel-2);
}
.polish-overview--ats-v1 .ats-v1-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.polish-overview--ats-v1 .ats-v1-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  min-height: 148px;
}
.polish-overview--ats-v1 .ats-v1-card--good { border-color: rgba(22, 163, 74, 0.25); }
.polish-overview--ats-v1 .ats-v1-card--caution { border-color: rgba(217, 119, 6, 0.25); }
.polish-overview--ats-v1 .ats-v1-card--concern { border-color: rgba(220, 38, 38, 0.22); }
.polish-overview--ats-v1 .ats-v1-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.polish-overview--ats-v1 .ats-v1-card-head h3 {
  margin: 0;
  font-size: 0.82rem;
}
.polish-overview--ats-v1 .ats-v1-card-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.polish-overview--ats-v1 .ats-v1-card-issue,
.polish-overview--ats-v1 .ats-v1-card-action {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.polish-overview--ats-v1 .ats-v1-card-issue span,
.polish-overview--ats-v1 .ats-v1-card-action span {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.polish-overview--ats-v1 .ats-v1-progress-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.polish-overview--ats-v1 .ats-v1-progress-row {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--panel-2);
}
.polish-overview--ats-v1 .ats-v1-progress-rank {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--info-soft);
  color: var(--primary);
}
@media (max-width: 1100px) {
  .polish-overview--ats-v1 .ats-v1-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polish-overview--ats-v1 .ats-v1-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .polish-overview--ats-v1 .ats-v1-card-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .polish-overview--exec .ov-action-row,
  .polish-overview--exec .ov-kw-chip,
  .polish-overview--exec .ov-friction-card,
  .polish-overview--exec .ov-checklist-rows .checklist-row {
    transition: none;
  }
  .polish-overview--exec .ov-kw-chip:hover,
  .polish-overview--exec .ov-action-row:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   App shell — shared across all pages
   ═══════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body.fs-body,
body:has(.fs-shell) {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 100% -10%, rgba(37, 99, 235, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(79, 70, 229, 0.04), transparent);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; font-weight: 500; }
a:hover { color: var(--accent-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 12px 18px;
  border: 1px solid var(--border);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), filter 0.2s;
  text-decoration: none;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover:not(:disabled) { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover:not(:disabled) { color: var(--text); border-color: var(--accent); }
.btn-sm { font-size: 0.78rem; padding: 6px 12px; border-radius: 8px; }
.btn-upload {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}
.btn-upload:hover { border-color: var(--accent); }

/* Shell header */
.fs-shell.app-header,
header.app-header {
  padding: 28px 40px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}
.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}
.app-home-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.app-home-link:hover { color: var(--accent); }
.fs-shell-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
}
.fs-shell-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
}
.fs-shell-nav a:hover,
.fs-shell-nav a[aria-current="page"] { color: var(--accent); }
.auth-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 0.82rem;
}
.auth-bar button {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}
.auth-bar #auth_user_label { color: var(--muted); }
.auth-bar-skeleton {
  width: 120px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--panel-2) 0%, var(--panel-3) 50%, var(--panel-2) 100%);
  background-size: 200% 100%;
  animation: fs-shimmer 1.2s ease-in-out infinite;
}
.app-header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.app-header h1 .brand {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-header p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 52rem;
  line-height: 1.6;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 32px;
  padding: 32px 40px 64px;
  align-items: start;
}
.layout-form {
  grid-column: 1;
  min-width: 0;
}
.layout-aside {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); }
.form { padding: 26px; position: sticky; top: 24px; }

/* Form fields */
label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 18px 0 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
label:first-of-type { margin-top: 0; }
input[type="text"],
input[type="url"],
input[type="email"],
select,
textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea#jd { min-height: 200px; }
textarea#cv { min-height: 120px; }
textarea#cover_letter { min-height: 100px; }
.upload-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; align-items: center; }
.actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.actions .btn-primary { flex: 1; min-width: 140px; }

/* Journey */
.journey-steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.journey-step {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  white-space: nowrap;
}
.journey-step.active { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.journey-step.done { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 8px 0 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s;
}
.drop-zone-active { border-color: var(--accent); background: var(--panel-2); }

/* Developer settings */
.dev-settings {
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--muted-2);
}
.dev-settings summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 0;
  list-style: none;
}
.dev-settings summary::-webkit-details-marker { display: none; }
.dev-settings .endpoint input { font-size: 0.8rem; padding: 8px 10px; margin-top: 6px; width: 100%; }
.endpoint { margin-top: 8px; }
.api-status { margin-top: 8px; font-size: 0.78rem; line-height: 1.45; }
.api-status.ok { color: var(--ok); }
.api-status.err { color: var(--high); }
body:not(.fs-dev-mode) .dev-settings { display: none; }

/* Auth gate banner */
.auth-gate-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--warn-soft);
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
  font-size: 0.88rem;
}
.auth-gate-banner p { margin: 0; }

/* Saved reports drawer */
.saved-reports-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 300;
  animation: fs-fade-up 0.2s var(--ease) both;
}
.saved-reports-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  padding: 20px 22px;
  background: var(--panel);
  border-left: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  z-index: 301;
  overflow-y: auto;
  animation: fs-fade-up 0.25s var(--ease) both;
}
.saved-reports-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.saved-reports-list { display: flex; flex-direction: column; }
.saved-report-row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 10px;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.saved-report-row:hover { background: var(--panel-2); }
.saved-report-title { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.saved-report-meta { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.saved-reports-empty { padding: 24px 0; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* Loading */
.fs-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: fs-spin 0.7s linear infinite;
  margin: 0 auto 16px;
}
@keyframes fs-spin { to { transform: rotate(360deg); } }
.fs-skeleton,
.fs-skeleton-line {
  background: linear-gradient(90deg, var(--panel-2) 0%, var(--panel-3) 50%, var(--panel-2) 100%);
  background-size: 200% 100%;
  animation: fs-shimmer 1.2s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
.fs-skeleton-line { height: 14px; margin-bottom: 8px; }

/* Alerts */
.fs-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}
.fs-alert--err {
  color: var(--high);
  background: var(--risk-soft);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* Coordinator (light) */
.fs-coordinator { max-width: var(--max); margin: 0 auto; padding: 32px 24px 64px; }
.fs-coordinator h1 { font-size: 1.75rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.fs-coordinator .lead { color: var(--muted); margin-bottom: 28px; max-width: 42rem; line-height: 1.6; }
.fs-panel {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.fs-panel h2 { font-size: 1.05rem; margin-bottom: 14px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.metric-card {
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.metric-card strong { display: block; font-size: 1.4rem; }
.metric-card span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.stat {
  background: var(--panel-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.stat-val { font-size: 1.45rem; font-weight: 700; }
.stat-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.fs-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fs-table-scroll table { min-width: 320px; }
.fs-privacy-note {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--ok-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(22, 163, 74, 0.15);
}
.fs-coordinator .sug {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 10px;
  background: var(--panel-2);
}
.fs-coordinator .sug.high { border-left: 3px solid var(--high); }
.fs-coordinator .sug.medium { border-left: 3px solid var(--warn); }
.fs-coordinator .sug.low { border-left: 3px solid var(--accent); }
.fs-coordinator .sug-meta { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.fs-coordinator .obs {
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: var(--panel-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.fs-coordinator .upload-row label { font-size: 0.82rem; color: var(--muted); display: block; margin-bottom: 4px; }
.fs-coordinator table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 12px; }
.fs-coordinator th, .fs-coordinator td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); }
.fs-coordinator th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; }

/* Marketing page */
.fs-marketing body,
body.fs-marketing {
  background-image:
    radial-gradient(ellipse 80% 50% at 90% -15%, rgba(79, 70, 229, 0.09), transparent),
    radial-gradient(ellipse 50% 40% at 5% 60%, rgba(124, 58, 237, 0.05), transparent),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(37, 99, 235, 0.04), transparent);
}
.fs-marketing .nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.fs-marketing .nav-inner {
  width: 100%;
  max-width: var(--max);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fs-marketing .logo {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.fs-marketing .logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fs-marketing .wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.fs-marketing .compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}
.fs-marketing .compare-row:last-child { border-bottom: none; }
.fs-marketing .compare-head { font-weight: 650; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; }

/* Callback card */
.fs-auth-card {
  max-width: 420px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-subtle);
}
.fs-auth-card h1 { margin: 0 0 12px; font-size: 1.25rem; }
.fs-auth-card-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* App tracker */
.app-tracker-slot { margin-top: 16px; }
.app-tracker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.app-status-select { font-size: 0.85rem; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); font-family: inherit; }

/* Mobile */
@media (max-width: 1024px) {
  .layout {
    display: flex;
    flex-direction: column;
    padding: 24px 20px 48px;
    gap: 24px;
  }
  .layout-form,
  .layout-aside {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }
  .form { position: static; top: auto; }
  .layout-aside {
    border-top: 1px solid var(--border-subtle);
    padding-top: 8px;
  }
}
@media (max-width: 640px) {
  .fs-shell.app-header,
  header.app-header { padding: 20px 16px 18px; }
  .app-header-top { flex-direction: column; align-items: flex-start; }
  .auth-bar { margin-left: 0; width: 100%; justify-content: flex-end; }
  .fs-shell-nav { gap: 4px 10px; font-size: 0.78rem; }
  .layout { padding: 16px 14px 40px; gap: 20px; }
  .form .actions {
    position: sticky;
    bottom: 0;
    background: var(--panel);
    padding: 12px 0 4px;
    margin: 16px -4px 0;
    z-index: 10;
    box-shadow: 0 -8px 16px rgba(15, 23, 42, 0.06);
  }
  .layout-aside .preview-experience { padding: 20px 16px 24px; }
  .layout-aside .insight-story-grid { margin-left: 0; margin-right: 0; grid-template-columns: 1fr; }
  .report-tabs { overflow-x: auto; flex-wrap: nowrap; margin: 0 16px 16px; }
  .report-tab { flex: 0 0 auto; white-space: nowrap; }
  .fs-marketing .compare-row { grid-template-columns: 1fr; gap: 4px; }
}
