/* Confluent.ai — shared style sheet.
   Palette, type and component patterns lifted directly from the approved
   "Warm Forest Green" wireframe (index_2.html) so the live site matches the
   style guide exactly rather than reinterpreting it. */

:root{
  --radius: 3px;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --bg: #F5F1E6;
  --bg-alt: #ECE6D5;
  --panel: #FFFFFF;
  --taupe: #CBBFA0;
  --taupe-line: #DFD8C2;
  --ink: #2B2620;
  --ink-soft: #5A5245;

  --foundation: #556B2F;
  --foundation-ink: #FBF8EF;
  --foundation-tint: #E3E8DA;

  --depth: #4A5D23;
  --depth-ink: #F4F1E2;

  --accent: #799442;
  --accent-ink: #2B2620;
  --accent-tint: #DADDC2;

  /* Heatmap bands — same warm-earth family, tuned for red/amber/green
     legibility without reaching for bright primaries. */
  --red: #A6503B;
  --red-bg: #F3E3DE;
  --amber: #A9821F;
  --amber-bg: #F2E9D0;
  --green: var(--depth);
  --green-bg: var(--foundation-tint);
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 40px; }

/* ---------- nav ---------- */
.nav{
  display:flex; align-items:center; justify-content:space-between;
  max-width:1180px; margin:0 auto; padding:24px 40px 0;
}
.nav .brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav .brand img{ height:34px; width:auto; display:block; }
.nav .brand .wordmark{ font-family: var(--font-head); font-weight:600; font-size:19px; color:var(--ink); }
.nav .links{ display:flex; gap:28px; font-size:13.5px; color:var(--ink-soft); }
.nav .links a{ text-decoration:none; }
.nav .links a:hover{ color:var(--foundation); }
.nav .cta{
  background: var(--foundation); color: var(--foundation-ink); border:none;
  padding:12px 22px; font-family: var(--font-body); font-weight:600; font-size:13.5px;
  border-radius:2px; cursor:pointer; text-decoration:none; display:inline-block;
}
.nav .cta:hover{ background: var(--depth); }

/* ---------- buttons ---------- */
.btn-primary{
  background: var(--foundation); color: var(--foundation-ink); border:none;
  padding:14px 28px; font-family: var(--font-body); font-weight:600; font-size:14.5px;
  border-radius:2px; cursor:pointer; text-decoration:none; display:inline-block;
}
.btn-primary:hover{ background: var(--depth); }
.btn-primary:disabled{ background: var(--taupe); color: var(--ink-soft); cursor:not-allowed; }
.btn-ghost{
  background:transparent; color: var(--ink); border:1px solid var(--ink);
  padding:13px 27px; font-family: var(--font-body); font-weight:600; font-size:14px;
  border-radius:2px; cursor:pointer; text-decoration:none; display:inline-block;
}
.btn-ghost:hover{ background: var(--bg-alt); }

/* ---------- hero ---------- */
.hero{ padding: 60px 40px 80px; max-width:1180px; margin:0 auto; }
.hero .eyebrow{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color: var(--depth); font-weight:600; margin-bottom:16px; }
.hero h1{ font-family: var(--font-head); font-weight:600; font-size:44px; line-height:1.12; margin:0 0 20px; max-width:18ch; }
.hero p.lede{ font-size:16.5px; line-height:1.7; color: var(--ink-soft); max-width:56ch; margin:0 0 30px; }
.hero .btnrow{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- generic sections ---------- */
.section{ padding: 64px 40px; }
.section.alt{ background: var(--bg-alt); }
.section h2{ font-family: var(--font-head); font-weight:600; font-size:26px; margin:0 0 10px; }
.section .lede{ color: var(--ink-soft); font-size:14.5px; max-width:60ch; margin:0 0 36px; line-height:1.7; }

.cards{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.card{
  background: var(--panel); border:1px solid var(--taupe-line); border-radius: var(--radius);
  padding: 24px; display:flex; flex-direction:column; gap:10px;
}
.card .num{
  width:30px; height:30px; border-radius:50%; background: var(--accent-tint); color: var(--depth);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:600; font-size:13px;
}
.card h3{ font-family: var(--font-head); font-weight:600; font-size:16.5px; margin:0; }
.card p{ font-size:13.5px; line-height:1.6; color: var(--ink-soft); margin:0; }

.quote{
  background: var(--foundation); color: var(--foundation-ink);
  padding: 64px 40px; text-align:center;
  background-image: linear-gradient(to top, var(--depth), var(--foundation) 55%);
}
.quote blockquote{
  font-family: var(--font-head); font-weight:500; font-style:italic; font-size:24px; line-height:1.45;
  max-width: 700px; margin: 0 auto 14px; color: var(--foundation-ink);
}
.quote cite{ font-style:normal; font-size:13px; opacity:.75; }

.legend{ display:flex; gap:22px; flex-wrap:wrap; margin-top:8px; }
.legend .chip{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-soft); }
.legend .dot{ width:12px; height:12px; border-radius:50%; }
.legend .dot.red{ background: var(--red); }
.legend .dot.amber{ background: var(--amber); }
.legend .dot.green{ background: var(--green); }

/* ---------- footer ---------- */
.footer{ background: var(--bg); padding: 56px 40px 34px; }
.footer-in{
  max-width:1180px; margin:0 auto; display:grid; grid-template-columns: 1.5fr 1fr 1fr; gap:40px;
  border-top:1px solid var(--taupe-line); padding-top:36px;
}
.footer .brand{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.footer .brand img{ height:26px; }
.footer .brand span{ font-family: var(--font-head); font-weight:700; font-size:17px; }
.footer p{ font-size:13px; color: var(--ink-soft); line-height:1.65; max-width:40ch; }
.footer h4{ font-family: var(--font-head); font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; margin:0 0 12px; color: var(--ink-soft); }
.footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer a{ font-size:13px; color: var(--ink-soft); text-decoration:none; }
.footer a:hover{ color: var(--foundation); }
.footer .bottom{ max-width:1180px; margin:26px auto 0; font-size:11.5px; color: var(--ink-soft); opacity:.75; line-height:1.6; }

/* ---------- assessment flow ---------- */
.assess-header{
  display:flex; align-items:center; justify-content:space-between;
  max-width:820px; margin:0 auto; padding:26px 24px 0;
}
.assess-shell{ max-width:820px; margin:0 auto; padding:20px 24px 90px; }

.progress-wrap{ margin: 22px 0 32px; }
.progress-segments{ display:flex; gap:5px; margin-bottom: 14px; }
.progress-segments .seg{ flex:1; height:7px; border-radius:4px; background: var(--taupe-line); overflow:hidden; }
.progress-segments .seg .seg-fill{ height:100%; width:0%; background: var(--foundation); border-radius:4px; transition: width .25s ease; }
.progress-segments .seg.done .seg-fill{ width:100%; }
.progress-segments .seg.current .seg-fill{ width:50%; }
.progress-label{
  display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
}
.progress-label .step-count{
  font-family: var(--font-head); font-weight:700; font-size:15px; letter-spacing:.02em;
  color: var(--foundation); text-transform:uppercase;
}
.progress-label .step-name{ font-size:14px; color: var(--ink-soft); font-weight:500; }

.step-eyebrow{ font-size:12px; letter-spacing:.12em; text-transform:uppercase; color: var(--depth); font-weight:600; margin-bottom:10px; }
.step h2{ font-family: var(--font-head); font-weight:600; font-size:28px; margin:0 0 8px; }
.step .step-hint{ font-size:14px; color: var(--ink-soft); line-height:1.6; margin: 0 0 30px; max-width: 62ch; }

.scale-legend{
  display:flex; justify-content:space-between; font-size:11.5px; color: var(--ink-soft);
  max-width: 340px; margin: 0 0 6px; padding: 0 2px;
}

.statement{
  background: var(--panel); border:1px solid var(--taupe-line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px;
}
.statement p{ font-size:15px; line-height:1.55; margin: 0 0 16px; color: var(--ink); }
.scale{ display:flex; gap:8px; }
.scale button{
  flex:1; padding:11px 0; border-radius: 2px; border:1px solid var(--taupe-line);
  background: var(--panel); color: var(--ink-soft); font-family: var(--font-body); font-weight:600; font-size:14px;
  cursor:pointer;
}
.scale button:hover{ border-color: var(--foundation); }
.scale button.selected{ background: var(--foundation); border-color: var(--foundation); color: var(--foundation-ink); }

.yesno{ display:flex; gap:14px; margin-top: 10px; }
.yesno button{
  padding:13px 30px; border-radius:2px; border:1px solid var(--taupe-line); background: var(--panel);
  color:var(--ink); font-family:var(--font-body); font-weight:600; font-size:14px; cursor:pointer;
}
.yesno button.selected{ background: var(--foundation); border-color:var(--foundation); color: var(--foundation-ink); }

.field{ margin-bottom: 22px; }
.field label{ display:block; font-size:12.5px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color: var(--ink-soft); margin-bottom:8px; }
.field input, .field select{
  width:100%; padding:13px 14px; font-family: var(--font-body); font-size:16px;
  border:1px solid var(--taupe-line); border-radius:2px; background: var(--panel); color: var(--ink);
}
/* font-size:16px above is deliberate, not a typo -- anything smaller makes
   iOS Safari zoom in on focus, which heyboet's own mobile pass (v1.61.0)
   had to fix site-wide there too. */
.field input:focus, .field select:focus{ outline:2px solid var(--foundation); outline-offset:1px; }

.step-nav{ display:flex; justify-content:space-between; align-items:center; margin-top: 34px; }
.step-nav .back{ background:none; border:none; color: var(--ink-soft); font-family:var(--font-body); font-size:14px; cursor:pointer; padding:10px 4px; }
.step-nav .back:hover{ color: var(--ink); }

.error-msg{ color: var(--red); font-size:13.5px; margin-top: 14px; display:none; }
.error-msg.show{ display:block; }

/* ---------- results ---------- */
@keyframes revealFade{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:none;} }

.results-hero-wrap{ padding: 10px 40px 6px; }
.results-hero-wrap.band-red{ background: radial-gradient(ellipse 900px 420px at 50% 0%, var(--red-bg), var(--bg) 72%); }
.results-hero-wrap.band-amber{ background: radial-gradient(ellipse 900px 420px at 50% 0%, var(--amber-bg), var(--bg) 72%); }
.results-hero-wrap.band-green{ background: radial-gradient(ellipse 900px 420px at 50% 0%, var(--green-bg), var(--bg) 72%); }

.results-hero{
  padding: 46px 40px 40px; max-width:1000px; margin:0 auto; text-align:center;
  animation: revealFade .6s ease both;
}
.results-hero .eyebrow{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color: var(--depth); font-weight:600; margin-bottom:6px; }

.score-big{ font-family: var(--font-head); font-weight:700; font-size:76px; line-height:1; margin: 6px 0; }
.score-big small{ font-size:26px; font-weight:500; color: var(--ink-soft); }
.band-pill{
  display:inline-block; padding:6px 16px; border-radius:20px; font-size:12.5px; font-weight:600;
  letter-spacing:.03em; text-transform:uppercase; margin-bottom: 18px;
}
.band-pill.red{ background: var(--red-bg); color: var(--red); }
.band-pill.amber{ background: var(--amber-bg); color: var(--amber); }
.band-pill.green{ background: var(--green-bg); color: var(--green); }
.maturity-name{ font-family: var(--font-head); font-weight:600; font-size:22px; margin: 6px 0 8px; }
.maturity-desc{ font-size:15px; color: var(--ink-soft); max-width: 56ch; margin: 0 auto; line-height:1.6; }

.dim-grid{
  max-width:1000px; margin: 10px auto 0; padding: 0 40px 60px;
  display:grid; grid-template-columns: repeat(2,1fr); gap:16px;
  animation: revealFade .6s ease .1s both;
}
.dim-card{
  background: var(--panel); border:1px solid var(--taupe-line); border-top:3px solid var(--taupe-line);
  border-radius: var(--radius); padding: 22px;
}
.dim-card.red{ border-top-color: var(--red); }
.dim-card.amber{ border-top-color: var(--amber); }
.dim-card.green{ border-top-color: var(--green); }
.dim-card .top{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:10px; }
.dim-card h3{ font-family: var(--font-head); font-weight:600; font-size:16px; margin:0; }
.dim-card .score{ font-family: var(--font-head); font-weight:700; font-size:22px; white-space:nowrap; }
.dim-card .band-pill{ margin-bottom: 10px; }
.dim-card .bar-track{ height:6px; background: var(--taupe-line); border-radius:6px; overflow:hidden; margin: 10px 0 8px; }
.dim-card .bar-fill{ height:100%; }
.dim-card .compare-line{ font-size:12.5px; color: var(--ink-soft); }

.agentic-card{
  max-width:1000px; margin: 0 auto 20px; padding: 0 40px;
  animation: revealFade .6s ease .15s both;
}
.agentic-card .inner{
  background: var(--accent-tint); border:1px solid var(--taupe-line); border-radius: var(--radius);
  padding: 22px 26px; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
}
.agentic-card h3{ font-family: var(--font-head); font-weight:600; font-size:16px; margin:0 0 4px; }
.agentic-card p{ font-size:13px; color: var(--ink-soft); margin:0; max-width:48ch; }
.agentic-card .score{ font-family: var(--font-head); font-weight:700; font-size:28px; color: var(--depth); }

.compare-panel{
  max-width:1000px; margin: 20px auto 60px; padding: 0 40px;
  animation: revealFade .6s ease .2s both;
}
.compare-panel .inner{
  background: var(--panel); border:1px solid var(--taupe-line); border-radius: var(--radius); padding: 26px 30px;
}
.compare-panel h3{ font-family: var(--font-head); font-weight:600; font-size:18px; margin:0 0 8px; }
.compare-panel p{ font-size:14px; color: var(--ink-soft); line-height:1.6; margin: 0 0 6px; }
.compare-panel .big-pct{ font-family: var(--font-head); font-weight:700; font-size:34px; color: var(--foundation); }

.results-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; padding: 0 40px 70px; }

.loading{ text-align:center; padding: 100px 40px; color: var(--ink-soft); font-size:14px; }

/* ---------- results: heatmap table + bar chart ---------- */
.heatmap-section, .barchart-section{
  max-width:1000px; margin: 0 auto; padding: 30px 40px;
  animation: revealFade .6s ease .1s both;
}
.heatmap-section h2, .barchart-section h2{
  font-family: var(--font-head); font-weight:600; font-size:22px; margin:0 0 6px;
}
.heatmap-section .lede, .barchart-section .lede{ font-size:13.5px; color: var(--ink-soft); margin:0 0 20px; }

.heatmap-table-wrap{ overflow-x:auto; border:1px solid var(--taupe-line); border-radius: var(--radius); }
.heatmap-table{ width:100%; border-collapse: collapse; background: var(--panel); }
.heatmap-table th{
  background: var(--foundation); color: var(--foundation-ink); text-align:left;
  font-family: var(--font-body); font-weight:600; font-size:12px; letter-spacing:.03em;
  text-transform:uppercase; padding:12px 16px; white-space:nowrap;
}
.heatmap-table td{ padding:12px 16px; font-size:14.5px; border-top:1px solid var(--taupe-line); }
.heatmap-table tr.total-row td{
  font-weight:700; background: var(--bg-alt); border-top:2px solid var(--taupe-line);
}
.heatmap-table .status-pill{
  display:inline-block; padding:4px 12px; border-radius:20px; font-size:11px; font-weight:700;
  letter-spacing:.04em; text-transform:uppercase;
}
.heatmap-table .status-pill.red{ background: var(--red-bg); color: var(--red); }
.heatmap-table .status-pill.amber{ background: var(--amber-bg); color: var(--amber); }
.heatmap-table .status-pill.green{ background: var(--green-bg); color: var(--green); }
.heatmap-legend-line{ margin-top:16px; font-size:12.5px; color: var(--ink-soft); }

.barchart-section svg{ width:100%; height:auto; display:block; }

/* ---------- version footer ---------- */
.version-footer{ text-align:center; font-size:11px; color: var(--ink-soft); opacity:.6; padding: 14px 20px 26px; }

/* ---------- admin ---------- */
.admin-header{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  max-width:1180px; margin:0 auto; padding:24px 40px 0;
}
.admin-header .who{ font-size:13px; color: var(--ink-soft); display:flex; align-items:center; gap:14px; }
.admin-header .who a{ color: var(--ink-soft); text-decoration:underline; }
.admin-shell{ max-width:1180px; margin:0 auto; padding:30px 40px 80px; }
.admin-gate{ text-align:center; padding:100px 40px; }
.admin-gate h2{ font-family: var(--font-head); font-size:24px; margin:0 0 12px; }
.admin-gate p{ color: var(--ink-soft); font-size:14.5px; margin:0 0 22px; }
.admin-section{ margin-bottom:44px; }
.admin-section h2{ font-family: var(--font-head); font-weight:600; font-size:20px; margin:0 0 16px; }
.admin-table-wrap{ overflow-x:auto; border:1px solid var(--taupe-line); border-radius: var(--radius); }
.admin-table{ width:100%; border-collapse:collapse; background: var(--panel); font-size:13.5px; }
.admin-table th{
  background: var(--bg-alt); text-align:left; padding:10px 14px; font-size:11.5px;
  text-transform:uppercase; letter-spacing:.03em; color: var(--ink-soft); white-space:nowrap;
}
.admin-table td{ padding:10px 14px; border-top:1px solid var(--taupe-line); white-space:nowrap; }
.admin-table td.wrap{ white-space:normal; }
.admin-table select{
  font-family: var(--font-body); font-size:13px; padding:6px 8px; border:1px solid var(--taupe-line);
  border-radius:2px; background: var(--panel);
}
.admin-table .row-actions{ display:flex; gap:8px; }
.admin-table button{
  font-family: var(--font-body); font-size:12.5px; font-weight:600; padding:6px 12px;
  border-radius:2px; cursor:pointer; border:1px solid var(--taupe-line); background: var(--panel);
}
.admin-table button:hover{ border-color: var(--foundation); }
.admin-table button.danger{ color: var(--red); border-color: var(--red-bg); }
.admin-table button.danger:hover{ background: var(--red-bg); }
.admin-table button.save{ background: var(--foundation); color: var(--foundation-ink); border-color: var(--foundation); }
.admin-empty{ padding:30px; text-align:center; color: var(--ink-soft); font-size:13.5px; }
.admin-add-form{ display:flex; gap:10px; margin-top:16px; max-width:440px; flex-wrap:wrap; }
.admin-add-form input{
  flex:1; min-width:220px; padding:11px 12px; font-family: var(--font-body); font-size:16px;
  border:1px solid var(--taupe-line); border-radius:2px;
}
.admin-msg{ font-size:13px; margin-top:10px; }
.admin-msg.error{ color: var(--red); }
.admin-msg.ok{ color: var(--green); }

/* ---------- admin: tab nav ---------- */
.tab-nav{ display:flex; gap:8px; border-bottom:1px solid var(--taupe-line); margin-bottom:32px; }
.tab-btn{
  background:none; border:none; border-bottom:2px solid transparent; cursor:pointer;
  font-family: var(--font-body); font-weight:600; font-size:14px; color: var(--ink-soft);
  padding:12px 6px; margin-bottom:-1px;
}
.tab-btn:hover{ color: var(--ink); }
.tab-btn.active{ color: var(--foundation); border-bottom-color: var(--foundation); }
.tab-panel{ margin-top: 4px; }

/* ---------- admin: reports ---------- */
.reports-toolbar{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:22px; }
.export-buttons{ display:flex; gap:10px; }
.export-buttons .btn-ghost{ padding:10px 18px; font-size:13px; }
.report-lede{ font-size:13.5px; color: var(--ink-soft); margin: -8px 0 20px; max-width:64ch; line-height:1.6; }

.report-summary-strip{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px;
}
.stat-card{
  background: var(--panel); border:1px solid var(--taupe-line); border-radius: var(--radius);
  padding:20px 22px;
}
.stat-card .stat-num{ font-family: var(--font-head); font-weight:700; font-size:30px; color: var(--depth); line-height:1.1; }
.stat-card .stat-label{ font-size:12.5px; color: var(--ink-soft); margin-top:6px; }
.stat-card.band-split .stat-num{ display:none; }

.world-map-wrap{
  position:relative; background: var(--panel); border:1px solid var(--taupe-line);
  border-radius: var(--radius); padding:14px; min-height:200px;
}
.world-map-wrap svg{ display:block; }
.map-tooltip{
  position:absolute; pointer-events:none; background: var(--ink); color: var(--foundation-ink);
  font-size:12px; padding:6px 10px; border-radius:3px; opacity:0; transition:opacity .1s ease; z-index:5;
  white-space:nowrap;
}

.crosstab-switcher{ display:flex; gap:8px; margin-bottom:16px; }
.switch-btn{
  font-family: var(--font-body); font-weight:600; font-size:13px; padding:9px 18px;
  border-radius:20px; border:1px solid var(--taupe-line); background: var(--panel); color: var(--ink-soft);
  cursor:pointer;
}
.switch-btn:hover{ border-color: var(--foundation); }
.switch-btn.active{ background: var(--foundation); border-color: var(--foundation); color: var(--foundation-ink); }
.filter-chip{
  display:inline-flex; align-items:center; gap:8px; background: var(--accent-tint); color: var(--depth);
  font-size:12.5px; font-weight:600; padding:6px 12px; border-radius:20px; margin-bottom:14px;
}
.filter-chip button{
  background:none; border:none; color: var(--depth); font-size:15px; line-height:1; cursor:pointer; padding:0;
}
.crosstab-table th, .crosstab-table td{ white-space:nowrap; }
.crosstab-table td.wrap{ white-space:normal; min-width:120px; }

.maturity-bars{ display:flex; flex-direction:column; gap:12px; }
.maturity-row{ display:grid; grid-template-columns: 220px 1fr 34px; align-items:center; gap:12px; }
.maturity-label{ font-size:13px; color: var(--ink); }
.maturity-track{ height:10px; background: var(--bg-alt); border-radius:6px; overflow:hidden; }
.maturity-fill{ height:100%; background: var(--foundation); border-radius:6px; }
.maturity-n{ font-size:13px; font-weight:700; text-align:right; color: var(--ink-soft); }

.trend-section{ background: var(--panel); border:1px solid var(--taupe-line); border-radius: var(--radius); padding:16px; }
.trend-section svg{ width:100%; height:auto; display:block; }

@media (max-width: 760px){
  .cards{ grid-template-columns: 1fr; }
  .dim-grid{ grid-template-columns: 1fr; }
  .nav .links{ display:none; }
  .hero h1{ font-size:34px; }
  .footer-in{ grid-template-columns: 1fr; }
  .agentic-card .inner{ flex-direction:column; align-items:flex-start; }
  .heatmap-table{ font-size:12.5px; }
  .heatmap-table th, .heatmap-table td{ padding:9px 10px; }
  .admin-header{ flex-direction:column; align-items:flex-start; padding-top:18px; }
  .admin-shell{ padding:20px 20px 60px; }
  .report-summary-strip{ grid-template-columns: repeat(2, 1fr); }
  .maturity-row{ grid-template-columns: 140px 1fr 30px; gap:8px; }
  .maturity-label{ font-size:12px; }
}

@media (max-width: 480px){
  .hero{ padding:40px 20px 60px; }
  .hero h1{ font-size:28px; }
  .section{ padding:44px 20px; }
  .nav{ padding:18px 20px 0; }
  .assess-header{ padding:20px 16px 0; }
  .assess-shell{ padding:16px 16px 70px; }
  .scale{ gap:5px; }
  .scale button{ font-size:13px; padding:10px 0; }
  .step h2{ font-size:22px; }
  .step-nav{ flex-wrap:wrap; gap:10px; }
  .results-hero{ padding:30px 20px 26px; }
  .score-big{ font-size:56px; }
  .heatmap-section, .barchart-section, .agentic-card, .compare-panel, .results-actions{
    padding-left:20px; padding-right:20px;
  }
  .heatmap-table th, .heatmap-table td{ padding:8px; font-size:11.5px; }
  .admin-add-form{ flex-direction:column; }
  .admin-add-form input{ min-width:0; width:100%; }
  .footer{ padding:40px 20px 26px; }
  .report-summary-strip{ grid-template-columns: 1fr; }
  .reports-toolbar{ flex-direction:column; align-items:flex-start; }
  .crosstab-switcher{ flex-wrap:wrap; }
  .maturity-row{ grid-template-columns: 1fr; gap:4px; }
  .maturity-n{ text-align:left; }
  .tab-nav{ gap:2px; overflow-x:auto; }
  .tab-btn{ padding:12px 10px; white-space:nowrap; }
}
