:root {
  --bg: #111111;
  --bg-soft: #191919;
  --panel: #202020;
  --panel-2: #292929;
  --ink: #f7f4ee;
  --muted: #aaa7a1;
  --line: rgba(255,255,255,.13);
  --orange: #ff5a23;
  --orange-2: #ff8a42;
  --direction: #0879d8;
  --competence: #ff5a23;
  --opportunity: #1ab7c9;
  --motivation: #f4bd28;
  --positive: #45d47c;
  --negative: #ff5e52;
  --radius: 0;
  --shell: min(1500px, calc(100vw - 56px));
  --ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { background: var(--orange); color: #111; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, canvas { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.brand { display: inline-flex; align-items: baseline; gap: 14px; position: relative; z-index: 2; }
.brand-word {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 35px;
  line-height: .85;
  color: var(--orange);
  font-weight: 500;
}
.brand-product { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.brand-compact .brand-word { font-size: 29px; }
.brand-compact .brand-product { font-size: 10px; }

.site-header { min-height: 98px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 4; }
.text-link { font-size: 14px; color: var(--ink); padding-block: 10px; border-bottom: 1px solid rgba(255,255,255,.38); }
.text-link:hover { color: var(--orange); border-color: var(--orange); }

.button {
  border: 0;
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 750;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--orange); color: #101010; }
.button-primary:hover { background: #ff7546; }
.button-secondary { background: #efefeb; color: #111; }
.button-secondary:hover { background: white; }
.button-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button-ghost:hover { border-color: rgba(255,255,255,.45); }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 13px; }
.button-wide { width: 100%; }
.button:disabled { opacity: .35; pointer-events: none; }
.text-button { border: 0; background: transparent; padding: 0; color: var(--orange); font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.text-button.danger { color: #ff6b60; }

.eyebrow { margin: 0 0 18px; color: var(--muted); text-transform: uppercase; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 100px; height: 6px; background: var(--orange); display: inline-block; }
.form-error { background: rgba(255,94,82,.12); border-left: 4px solid var(--negative); padding: 13px 15px; color: #ffb7b1; margin: 0 0 20px; font-size: 14px; }
.stack-form { display: grid; gap: 15px; }
.stack-form label, .admin-form label, .benchmark-form label, .rule-form label, .report-item-editor label { display: grid; gap: 7px; }
.stack-form label > span, .admin-form label > span, .benchmark-form label > span, .rule-form label > span, .report-item-editor label > span { color: #d6d3cd; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.stack-form small { color: #777; text-transform: none; font-weight: 500; }
input, select, textarea {
  width: 100%;
  background: #151515;
  border: 1px solid rgba(255,255,255,.17);
  color: var(--ink);
  min-height: 50px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,35,.12); }
select { color-scheme: dark; }

/* Home */
.home-page { background: #111; }
.ambient { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .14; pointer-events: none; z-index: 0; }
.ambient-a { width: 420px; height: 420px; background: var(--orange); top: -180px; right: -120px; animation: ambientMove 11s ease-in-out infinite alternate; }
.ambient-b { width: 500px; height: 500px; background: var(--direction); bottom: -280px; left: -180px; animation: ambientMove 14s ease-in-out infinite alternate-reverse; }
@keyframes ambientMove { to { transform: translate3d(70px,40px,0) scale(1.12); } }
.hero { min-height: 740px; padding: 70px 0 100px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(380px,.74fr); gap: clamp(60px, 9vw, 150px); align-items: center; position: relative; z-index: 1; }
.hero-copy { position: relative; }
.hero h1 { font-family: "Outfit", sans-serif; font-size: clamp(58px, 7vw, 122px); font-stretch: condensed; margin: 0; max-width: 980px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 690px; color: #c9c6c0; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; margin: 34px 0 0; }
.start-card { background: rgba(31,31,31,.93); border: 1px solid rgba(255,255,255,.14); padding: clamp(28px, 3vw, 48px); box-shadow: 0 36px 90px rgba(0,0,0,.35); position: relative; overflow: hidden; }
.start-card::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:5px; background: linear-gradient(90deg,var(--orange),var(--orange-2),var(--orange)); }
.card-kicker { color: var(--orange); text-transform: uppercase; font-weight: 850; font-size: 11px; }
.start-card h2 { font-family: "Outfit", sans-serif; font-size: 36px; line-height: 1.02; margin: 13px 0 12px; }
.start-card > p { color: var(--muted); line-height: 1.55; font-size: 14px; margin: 0 0 25px; }
.privacy-note { margin-top: 18px; color: #85837f; font-size: 11px; line-height: 1.45; display: flex; gap: 9px; align-items: flex-start; }
.lock-icon { color: var(--positive); font-size: 8px; margin-top: 4px; }
.dimension-orbit { width: 390px; height: 190px; margin-top: 55px; position: relative; }
.dimension-orbit::before { content:""; position:absolute; left:30px; right:30px; top:50%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent); }
.orbit-core { position:absolute; left:50%; top:50%; translate:-50% -50%; width:84px; height:84px; border:1px solid rgba(255,255,255,.22); border-radius:50%; display:grid; place-items:center; color:#aaa; font-size:12px;}
.orbit-item { position:absolute; top:50%; translate:-50% -50%; width:48px; height:48px; display:grid; place-items:center; border-radius:50%; font-weight:900; color:#111; box-shadow:0 0 0 8px rgba(255,255,255,.025); animation: orbitPulse 3.2s ease-in-out infinite; }
.orbit-item.direction { left:6%; background:var(--direction); }
.orbit-item.competence { left:34%; background:var(--competence); animation-delay:.4s; }
.orbit-item.opportunity { left:66%; background:var(--opportunity); animation-delay:.8s; }
.orbit-item.motivation { left:94%; background:var(--motivation); animation-delay:1.2s; }
@keyframes orbitPulse { 50% { transform:translateY(-9px); box-shadow:0 0 0 14px rgba(255,255,255,.03); } }
.reveal { animation: revealUp .8s var(--ease) both; }
.reveal-delay { animation-delay: .16s; }
@keyframes revealUp { from { opacity:0; transform:translateY(26px); } }
.dimension-strip { background: #efeee8; color: #111; position:relative; z-index:1; }
.dimension-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.dimension-intro { padding: 58px 38px 64px; min-height: 320px; border-right: 1px solid rgba(0,0,0,.14); position:relative; overflow:hidden; transition:color .3s, background .3s; }
.dimension-intro:first-child { border-left:1px solid rgba(0,0,0,.14); }
.dimension-intro::after { content:""; position:absolute; inset:auto 0 0; height:7px; background:var(--accent); transform:scaleX(.25); transform-origin:left; transition:transform .35s var(--ease); }
.dimension-intro:hover::after { transform:scaleX(1); }
.dimension-intro.direction { --accent:var(--direction); }
.dimension-intro.competence { --accent:var(--competence); }
.dimension-intro.opportunity { --accent:var(--opportunity); }
.dimension-intro.motivation { --accent:var(--motivation); }
.dimension-number { position:absolute; right:22px; top:20px; font-size:12px; color:#8b8983; }
.dimension-letter { width:56px; height:56px; display:grid; place-items:center; background:var(--accent); font-size:23px; font-weight:900; margin-bottom:45px; }
.dimension-intro h3 { font-family:sans-serif; font-size:32px; margin:0 0 15px;}
.dimension-intro p { margin:0; color:#5a5854; line-height:1.55; font-size:14px; max-width:270px; }

.site-footer { background:#0c0c0c; border-top:1px solid rgba(255,255,255,.08); }
.footer-inner { min-height:125px; display:flex; align-items:center; justify-content:space-between; color:#6e6c67; font-size:12px; }
.footer-inner .brand-product { display:none; }
.footer-inner .brand-word { font-size:28px; }

/* Assessment */
.assessment-page { background:#131313; overflow:hidden; }
.assessment-shell { min-height:100vh; display:grid; grid-template-rows:92px 100px 1fr 102px; position:relative; }
.assessment-header { padding:0 clamp(24px,4vw,72px); display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.assessment-person { display:grid; text-align:right; gap:4px; }
.assessment-person span { font-weight:700; }
.assessment-person small { color:var(--muted); }
.assessment-progress-wrap { padding:22px clamp(24px,4vw,72px) 0; }
.assessment-progress-meta { display:flex; justify-content:space-between; color:#aaa; font-size:12px; text-transform:uppercase;}
.assessment-progress { margin-top:16px; height:4px; background:#2e2e2e; }
.assessment-progress > div { height:100%; width:6.25%; background:var(--current-accent,var(--direction)); transition:width .55s var(--ease), background .35s; box-shadow:0 0 16px color-mix(in srgb,var(--current-accent,var(--direction)) 55%, transparent); }
.section-markers { position:relative; height:27px; margin-top:12px; }
.section-markers span { position:absolute; left:0; margin-left:-13.5px; width:27px; height:27px; border-radius:50%; display:grid; place-items:center; font-size:10px; font-weight:900; color:#121212; opacity:.24; transform:scale(.82); transition:.3s; }
.section-markers span:nth-child(2) { left:25%; }
.section-markers span:nth-child(3) { left:50%; }
.section-markers span:last-child { left:75%; }
.section-markers .direction { background:var(--direction); }
.section-markers .competence { background:var(--competence); }
.section-markers .opportunity { background:var(--opportunity); }
.section-markers .motivation { background:var(--motivation); }
.section-markers span.is-complete, .section-markers span.is-current { opacity:1; transform:scale(1); }
.question-stage { display:grid; place-items:center; position:relative; padding:15px 24px 35px; }
.question-backdrop-letter { position:absolute; left:3vw; top:50%; translate:0 -50%; font-family:sans-serif; font-size:min(58vw,720px); line-height:.7; font-weight:900; color:rgba(255,255,255,.017); pointer-events:none; user-select:none; transition:color .4s, transform .5s var(--ease); }
.question-card { width:min(940px,92vw); display:none; position:relative; z-index:2; --accent:var(--direction); }
.question-card.is-active { display:block; animation:questionIn .55s var(--ease) both; }
.question-card.is-leaving { display:block; animation:questionOut .32s ease both; }
.question-card.direction { --accent:var(--direction); }
.question-card.competence { --accent:var(--competence); }
.question-card.opportunity { --accent:var(--opportunity); }
.question-card.motivation { --accent:var(--motivation); }
@keyframes questionIn { from { opacity:0; transform:translateX(70px); } }
@keyframes questionOut { to { opacity:0; transform:translateX(-50px); } }
.question-context { display:flex; align-items:center; gap:14px; margin-bottom:26px; }
.question-code { background:var(--accent); color:#111; padding:8px 11px; font-weight:900; font-size:12px; }
.question-dimension { text-transform:uppercase; color:var(--accent); font-size:12px; font-weight:900; }
.question-card h1 { margin:0; font-family:"Outfit",sans-serif; font-size:clamp(38px,5vw,72px); line-height:1.02; max-width:940px; }
.slider-block { margin-top:70px; }
.slider-output { display:block; color:var(--accent); font-size:clamp(21px,2vw,30px); font-weight:850; margin-bottom:28px; min-height:38px; }
/* The visual rail and ticks share 0/25/50/75/100 centers. The native
   range extends half a thumb on each side to compensate for its inset travel. */
.slider-control { position:relative; height:44px; margin:0 2px; --fill:50%; }
.slider-rail { position:absolute; top:19px; left:0; right:0; height:6px; border-radius:3px; background:#373737; overflow:hidden; pointer-events:none; }
.slider-fill { display:block; width:var(--fill); height:100%; background:var(--accent); transition:width .16s ease-out; }
.slider-knob { position:absolute; left:var(--fill); top:22px; width:34px; height:34px; box-sizing:border-box; border-radius:50%; background:var(--accent); border:7px solid #151515; box-shadow:0 0 0 2px var(--accent),0 9px 24px rgba(0,0,0,.4); transform:translate(-50%,-50%); transition:left .16s ease-out, transform .2s ease, box-shadow .2s ease; pointer-events:none; z-index:2; }
.slider-control.is-dragging .slider-knob { transform:translate(-50%,-50%) scale(1.12); box-shadow:0 0 0 3px var(--accent),0 0 22px color-mix(in srgb,var(--accent) 40%,transparent); }
.slider-control.is-dragging .slider-knob,.slider-control.is-keyboard .slider-knob { outline:2px solid #eee; outline-offset:5px; }
.answer-slider { appearance:none; -webkit-appearance:none; position:absolute; left:-17px; top:0; margin:0; width:calc(100% + 34px); height:44px; min-height:44px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none!important; cursor:pointer; z-index:3; touch-action:pan-y; }
.answer-slider:focus { outline:none; }
.answer-slider::-webkit-slider-runnable-track { height:6px; border:0; background:transparent; }
.answer-slider::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:34px; height:34px; margin-top:-14px; border:0; background:transparent; box-shadow:none; }
.answer-slider::-moz-range-track { height:6px; border:0; background:transparent; }
.answer-slider::-moz-range-progress { background:transparent; }
.answer-slider::-moz-range-thumb { width:34px; height:34px; box-sizing:border-box; border:0; background:transparent; box-shadow:none; }
.slider-ticks { position:absolute; top:16px; left:0; right:0; height:12px; pointer-events:none; }
.slider-ticks span { position:absolute; width:2px; height:12px; background:rgba(255,255,255,.45); transform:translateX(-50%); }
.slider-ticks span:nth-child(1) { left:0; }
.slider-ticks span:nth-child(2) { left:25%; }
.slider-ticks span:nth-child(3) { left:50%; }
.slider-ticks span:nth-child(4) { left:75%; }
.slider-ticks span:nth-child(5) { left:100%; }
.slider-end-labels { display:flex; justify-content:space-between; margin-top:17px; color:#777; font-size:11px; text-transform:uppercase; line-height:1.3; }
.slider-end-labels span:last-child { text-align:right; }
.question-save-state { margin-top:28px; display:flex; align-items:center; gap:9px; font-size:12px; color:#777; }
.save-dot { width:7px; height:7px; border-radius:50%; background:#666; }
.question-save-state.is-saving .save-dot { background:var(--motivation); animation:blink .7s infinite alternate; }
.question-save-state.is-saved .save-dot { background:var(--positive); }
@keyframes blink { to { opacity:.25; } }
.assessment-controls { border-top:1px solid var(--line); padding:0 clamp(24px,4vw,72px); display:flex; align-items:center; justify-content:space-between; }
.keyboard-hint { color:#5f5f5f; font-size:12px; }
.completion-overlay { position:fixed; inset:0; background:#111; z-index:50; display:grid; place-items:center; }
.completion-overlay[hidden] { display:none; }
.completion-panel { width:min(700px,88vw); text-align:center; }
.completion-panel .eyebrow { justify-content:center; }
.completion-panel h2 { font-family: "Outfit", sans-serif; font-size:clamp(44px,7vw,86px); line-height:.95; margin:0 0 24px; }
.completion-panel > p:last-child { color:var(--muted); line-height:1.6; }
.completion-pulse { height:90px; display:flex; justify-content:center; align-items:center; gap:17px; margin-bottom:35px; }
.completion-pulse span { width:24px; height:24px; border-radius:50%; background:var(--orange); animation:completionBounce .8s infinite alternate; }
.completion-pulse span:nth-child(2) { background:var(--opportunity); animation-delay:.15s; }
.completion-pulse span:nth-child(3) { background:var(--motivation); animation-delay:.3s; }
@keyframes completionBounce { to { transform:translateY(-28px); } }

/* Access */
.access-page { background:#101010; }
.access-layout { min-height:calc(100vh - 125px); }
.access-main { min-height:680px; display:grid; grid-template-columns:1fr minmax(380px,520px); align-items:center; gap:100px; padding-block:40px 90px; }
.access-card { background:#202020; border-top:5px solid var(--orange); padding:clamp(30px,4vw,52px); }
.access-card h1 { font-family:"Outfit",sans-serif; font-size:clamp(43px,4.8vw,68px); line-height:.95; margin:0 0 22px; }
.access-card > p { color:var(--muted); line-height:1.6; margin:0 0 28px; }
.access-rings { width:min(480px,44vw); aspect-ratio:1; border:1px solid rgba(255,255,255,.11); border-radius:50%; display:grid; place-items:center; position:relative; }
.access-rings::before,.access-rings::after,.access-rings span { content:""; position:absolute; inset:12%; border:1px solid rgba(255,255,255,.1); border-radius:50%; animation:spinRing 18s linear infinite; }
.access-rings::after { inset:28%; border-color:rgba(255,90,35,.5); animation-direction:reverse; animation-duration:11s; }
.access-rings span:nth-child(1) { inset:4%; border-color:rgba(8,121,216,.35); }
.access-rings span:nth-child(2) { inset:21%; border-color:rgba(26,183,201,.35); animation-duration:14s; }
.access-rings span:nth-child(3) { inset:39%; border-color:rgba(244,189,40,.4); animation-duration:9s; }
.access-rings span::after { content:""; width:12px; height:12px; border-radius:50%; background:currentColor; position:absolute; left:50%; top:-6px; }
.access-rings b { font-size:13px; color:#7f7f7f; }
@keyframes spinRing { to { transform:rotate(360deg); } }
.dev-code { background:#101010; border:1px dashed var(--orange); padding:14px 18px; display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.dev-code span { color:#aaa; font-size:12px; }
.dev-code strong { font-size:22px; color:var(--orange); }
.code-input { font-size:28px; text-align:center; }
.resend-form { margin-top:18px; }

/* Report */
.report-page { background:#2d2d2d; }
.report-topbar { position:sticky; top:0; z-index:20; height:72px; padding:0 28px; display:flex; align-items:center; justify-content:space-between; background:rgba(15,15,15,.95); backdrop-filter:blur(16px); border-bottom:1px solid rgba(255,255,255,.1); }
.report-nav { display:flex; align-items:center; gap:24px; font-size:12px; color:#aaa; }
.report-nav a:hover { color:var(--orange); }
.report-main { background:#303030; }
.report-section { min-height:calc(100vh - 72px); padding:50px 0; scroll-margin-top:72px; }
.report-section-inner { width:min(1540px,calc(100vw - 64px)); margin:auto; }
.report-heading-row { display:flex; justify-content:space-between; align-items:end; }
.report-heading-row h1 { font-family:"Outfit",sans-serif; font-size:clamp(38px,4vw,62px); margin:0; }
.report-meta { display:flex; gap:56px; color:#ccc; font-size:13px; }
.report-meta span::before { content:"— "; color:#888; }
.accent-rule { height:5px; background:var(--orange); margin:24px 0 38px; }
.overview-grid { display:grid; grid-template-columns:.9fr .72fr 1.25fr; gap:26px; align-items:start; }
.headline-score-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.headline-score { min-height:190px; padding:22px; display:flex; flex-direction:column; justify-content:space-between; }
.headline-score > span { font-weight:800; }
.headline-score strong { font-family:sans-serif; font-size:clamp(55px,5.6vw,92px); line-height:.8;}
.headline-score small { font-size:11px; }
.primary-score { background:var(--orange); color:#111; }
.benchmark-score { background:#161616; color:#777; }
.dimension-summary { margin-top:36px; }
.dimension-summary h2,.insight-group h2 { color:var(--orange); font-family:"Outfit", sans-serif; font-size:27px; margin:0 0 18px; }
.summary-row { display:block; margin-bottom:16px; --accent:var(--direction); }
.summary-row.direction { --accent:var(--direction); }
.summary-row.competence { --accent:var(--competence); }
.summary-row.opportunity { --accent:var(--opportunity); }
.summary-row.motivation { --accent:var(--motivation); }
.summary-row-top,.summary-row-bottom { display:flex; justify-content:space-between; align-items:center; font-size:12px; }
.summary-row-top { margin-bottom:8px; }
.summary-row-bottom { color:#8e8e8e; margin-top:6px; font-size:10px; }
.summary-row-bottom b { font-size:11px; }
.score-track { position:relative; height:30px; background:#252525; overflow:hidden; }
.score-fill { position:absolute; inset:0 auto 0 0; width:var(--score); background:var(--accent); transform:scaleX(0); transform-origin:left; animation:barGrow .9s .15s var(--ease) forwards; }
@keyframes barGrow { to { transform:scaleX(1); } }
.benchmark-marker { position:absolute; left:var(--benchmark); top:0; bottom:0; width:3px; background:#e8e8e8; translate:-50% 0; z-index:2; }
.positive { color:var(--positive)!important; }
.negative { color:var(--negative)!important; }
.overview-chart-card { background:#191919; padding:24px; min-height:520px; }
.card-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:22px; }
.card-heading span { color:var(--orange); font-weight:800; }
.card-heading small { color:#777; }
.chart-wrap { min-height:400px; position:relative; }
.chart-wrap-overview { min-height:420px; }
.chart-legend { display:flex; justify-content:center; gap:30px; color:#aaa; font-size:11px; margin-top:8px; }
.chart-legend span::before { content:""; width:20px; height:4px; display:inline-block; margin-right:8px; vertical-align:middle; }
.legend-client::before { background:#20c1ca; }
.legend-benchmark::before { background:#9e9e9e; }
.insight-column { display:grid; gap:18px; }
.insight-group { background:#171717; padding:22px; }
.insight-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.insight-card { border:1px solid var(--orange); padding:16px; min-height:235px; position:relative; background:#2e2e2e; }
.insight-index { position:absolute; right:12px; top:10px; color:#676767; font-size:10px; }
.insight-card h3 { color:var(--orange); font-size:15px; margin:0 0 15px; padding-right:25px; }
.insight-card p { color:#e2dfda; font-size:13px; line-height:1.43; margin:0; }
.next-steps-group h2 { color:var(--orange-2); }
.next-steps-group .insight-card { border-color:var(--orange-2); }
.next-steps-group .insight-card h3 { color:var(--orange-2); }

.dimension-report { background:#111; --accent:var(--direction); }
.dimension-report.competence { --accent:var(--competence); }
.dimension-report.opportunity { --accent:var(--opportunity); }
.dimension-report.motivation { --accent:var(--motivation); }
.dimension-report:nth-of-type(even) { background:#151515; }
.dimension-header { display:flex; justify-content:space-between; align-items:start; border-bottom:4px solid var(--accent); padding-bottom:22px; }
.dimension-header-title { display:flex; align-items:center; gap:26px; }
.dimension-tag { width:48px; height:32px; display:grid; place-items:center; background:var(--accent); color:#111; font-weight:900; }
.dimension-header h2 { font-family:"Outfit",sans-serif; font-size:clamp(36px,4vw,58px); margin:0; }
.dimension-score-pair { display:flex; gap:40px; }
.dimension-score-pair > div { min-width:110px; border-left:1px solid #444; padding-left:18px; display:grid; gap:5px; }
.dimension-score-pair small { color:#8a8a8a; text-transform:uppercase; font-size:10px;}
.dimension-score-pair strong { font-size:26px; color:var(--accent); }
.dimension-score-pair > div:last-child strong { color:#aaa; }
.dimension-lede { color:#bbb; font-style:italic; margin:26px 0 42px; }
.dimension-detail-grid { display:grid; grid-template-columns:.8fr 1.35fr; gap:70px; }
.dimension-radar-panel h3,.dimension-detail-content > h3 { color:#aaa; font-size:13px; font-weight:700; margin:0 0 18px; }
.dimension-radar-panel .chart-wrap { min-height:520px; }
.question-score-table { background:#171717; }
.question-score-head,.question-score-row { display:grid; grid-template-columns:minmax(0,1fr) 110px 110px 90px; gap:12px; align-items:center; }
.question-score-head { padding:12px 15px; color:var(--accent); font-size:11px; }
.question-score-row { padding:12px 15px; min-height:68px; border-top:1px solid #252525; }
.question-score-row:nth-child(odd) { background:#1d1d1d; }
.question-score-row > div { display:grid; gap:4px; }
.question-score-row > div strong { color:#ddd; }
.question-score-row > div span { color:#868686; font-size:10px; line-height:1.3; }
.question-score-row b { color:var(--accent); }
.question-score-row em { font-style:normal; font-weight:800; }
.mini-bars { margin:28px 0; display:grid; gap:12px; }
.mini-bar-row { display:grid; grid-template-columns:55px 1fr 55px; align-items:center; gap:12px; color:#888; font-size:11px; }
.mini-bar-row .score-track { height:18px; }
.mini-bar-row .score-fill { --accent:var(--accent); }
.mini-bar-row b { color:var(--accent); }
.theme-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.theme-card { border-left:5px solid var(--accent); background:#202020; padding:18px; min-height:145px; }
.theme-card > span { color:var(--accent); text-transform:uppercase; font-size:9px; font-weight:900; }
.theme-card h3 { margin:10px 0 8px; font-size:16px; }
.theme-card p { margin:0; color:#b9b9b9; font-size:12px; line-height:1.5; }
.report-page-footer { margin-top:50px; border-top:1px solid #242424; padding-top:18px; display:flex; align-items:end; justify-content:space-between; color:#5b5b5b; font-size:9px; }
.report-page-footer .brand-word { font-size:27px; }

/* Admin */
.admin-page { background:#f2f1ec; color:#181818; }
.admin-topbar { background:#111; color:white; position:sticky; top:0; z-index:30; border-bottom:1px solid rgba(255,255,255,.1); }
.admin-topbar-inner { min-height:72px; width:min(1580px,calc(100vw - 48px)); margin:auto; display:flex; align-items:center; gap:40px; }
.admin-nav { display:flex; gap:26px; color:#a7a7a7; font-size:13px; margin-right:auto; }
.admin-nav a:hover { color:white; }
.admin-main { width:min(1500px,calc(100vw - 56px)); margin:auto; padding:54px 0 90px; }
.admin-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:34px; gap:30px; }
.admin-heading h1 { font-family:"Outfit",sans-serif; font-size:58px; line-height:.95; margin:0 0 8px; }
.admin-heading p:not(.eyebrow) { color:#6c6964; margin:0; }
.admin-heading .eyebrow { color:#79756f; }
.back-link { display:inline-block; color:#777; margin-bottom:20px; font-size:13px; }
.admin-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:24px; }
.admin-stat-grid article { background:#171717; color:white; padding:25px; min-height:150px; border-top:5px solid var(--orange); display:flex; flex-direction:column; justify-content:space-between; }
.admin-stat-grid article:nth-child(2) { border-color:var(--opportunity); }
.admin-stat-grid article:nth-child(3) { border-color:var(--motivation); }
.admin-stat-grid article:nth-child(4) { border-color:var(--direction); }
.admin-stat-grid span { color:#a2a2a2; font-size:12px; text-transform:uppercase;}
.admin-stat-grid strong { font-family:sans-serif; font-size:58px; line-height:.8; }
.admin-panel { background:white; border:1px solid #d9d7d0; padding:28px; margin-bottom:24px; box-shadow:0 12px 35px rgba(20,20,20,.04); }
.compact-panel { padding:20px 24px; }
.admin-panel-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:24px; }
.admin-panel-heading h2 { margin:0 0 6px; font-size:23px; }
.admin-panel-heading p { margin:0; color:#77736d; font-size:13px; }
.admin-table-wrap { overflow:auto; }
.admin-table { width:100%; border-collapse:collapse; font-size:13px; }
.admin-table th { text-align:left; color:#7c7871; font-size:10px; text-transform:uppercase; padding:0 15px 12px; }
.admin-table td { padding:16px 15px; border-top:1px solid #ebe9e4; vertical-align:middle; }
.admin-table td strong,.admin-table td small { display:block; }
.admin-table td small { color:#85817a; margin-top:3px; }
.status-pill { display:inline-flex; align-items:center; padding:6px 9px; background:#eee; text-transform:capitalize; font-size:10px; font-weight:800; }
.status-pill.completed { background:#dff6e8; color:#176638; }
.status-pill.in_progress { background:#fff1d3; color:#8a5b00; }
.table-link { color:#e44c19; font-weight:750; white-space:nowrap; }
.inline-form { display:flex; gap:14px; align-items:end; }
.inline-form label { flex:1; display:grid; gap:7px; }
.inline-form label span { font-size:11px; text-transform:uppercase; font-weight:800; }
.admin-page input,.admin-page select,.admin-page textarea { background:white; color:#111; border-color:#ccc9c2; }
.admin-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.admin-resource-card { background:#171717; color:white; min-height:245px; padding:25px; display:flex; flex-direction:column; border-top:5px solid var(--orange); transition:transform .25s var(--ease); }
.admin-resource-card:hover { transform:translateY(-5px); }
.admin-resource-card > div { display:flex; align-items:center; gap:8px; color:#838383; font-size:11px; }
.status-dot { width:8px; height:8px; border-radius:50%; background:#777; }
.status-dot.active { background:var(--positive); }
.admin-resource-card h2 { font-family:"Outfit",sans-serif; font-size:32px; margin:30px 0 8px; }
.admin-resource-card p { color:#999; margin:0; }
.admin-resource-card footer { display:flex; justify-content:space-between; margin-top:auto; color:#777; font-size:11px; }
.admin-two-column { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.admin-form { max-width:620px; }
.admin-form .button { justify-self:start; }
.checkbox-label { grid-template-columns:auto 1fr!important; align-items:center; }
.checkbox-label input { width:20px; min-height:20px; }
.checkbox-label span { text-transform:none!important; font-size:14px!important; }
.version-list { display:grid; gap:10px; }
.version-row { border-top:1px solid #ece9e3; padding:13px 0 0; display:flex; justify-content:space-between; align-items:center; }
.version-row:first-child { border-top:0; padding-top:0; }
.version-row strong,.version-row small { display:block; }
.version-row small { color:#777; margin-top:4px; }
.benchmark-meta-fields { display:grid; grid-template-columns:2fr 1fr; gap:16px; }
.benchmark-overall { margin:20px 0; background:#171717; color:white; padding:20px; }
.benchmark-overall input { max-width:180px; }
.benchmark-dimensions { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.benchmark-dimension { border:1px solid #ddd9d2; padding:18px; margin:0; --accent:var(--direction); }
.benchmark-dimension.competence { --accent:var(--competence); }
.benchmark-dimension.opportunity { --accent:var(--opportunity); }
.benchmark-dimension.motivation { --accent:var(--motivation); }
.benchmark-dimension legend { font-weight:900; font-size:20px; padding:0 10px 0 0; }
.benchmark-dimension legend span { display:inline-grid; place-items:center; width:31px; height:31px; background:var(--accent); margin-right:10px; color:#111; }
.dimension-benchmark { margin-bottom:15px; }
.question-benchmark { grid-template-columns:1fr 90px!important; align-items:center; border-top:1px solid #ece9e4; padding:12px 0; }
.question-benchmark > span { display:grid; gap:4px; text-transform:none!important;}
.question-benchmark small { color:#777; font-size:11px; line-height:1.35; }
.question-benchmark input { min-height:42px; }
.form-actions { display:flex; gap:14px; justify-content:flex-end; margin-top:22px; }
.rule-form { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.rule-form .span-2 { grid-column:span 2; }
.rule-form .align-end { align-self:end; }
.rule-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.rule-card { border:1px solid #dedbd4; padding:20px; display:flex; flex-direction:column; min-height:280px; }
.rule-card.is-inactive { opacity:.5; }
.rule-card-top { display:flex; justify-content:space-between; align-items:center; }
.rule-card-top > div { display:flex; gap:6px; flex-wrap:wrap; }
.rule-card-top > strong { font-size:10px; color:#777; }
.rule-type,.rule-dimension,.rule-industry { padding:5px 7px; background:#171717; color:white; font-size:9px; text-transform:uppercase;}
.rule-dimension { background:var(--direction); color:#111; }
.rule-industry { background:#e7e4dd; color:#333; }
.rule-card h3 { margin:22px 0 8px; }
.rule-card p { color:#67635d; line-height:1.5; margin:0; }
.rule-conditions { display:flex; gap:15px; flex-wrap:wrap; margin-top:auto; padding-top:20px; color:#858078; font-size:10px; }
.rule-actions { display:flex; gap:16px; border-top:1px solid #ebe8e2; padding-top:14px; margin-top:14px; }
.search-form { display:flex; gap:10px; min-width:min(500px,45vw); }
.report-item-editor { display:grid; gap:16px; }
.report-item-editor > h3 { margin:22px 0 0; font-size:22px; border-bottom:2px solid #111; padding-bottom:8px; }
.editable-report-item { display:grid; grid-template-columns:.65fr 1.5fr; gap:14px; padding:15px; background:#f5f3ee; }
.admin-login-page { background:#111; }
.admin-login-shell { min-height:calc(100vh - 125px); display:grid; grid-template-columns:1fr minmax(420px,590px); align-items:center; gap:100px; width:min(1250px,calc(100vw - 60px)); margin:auto; }
.admin-login-brand { display:grid; gap:25px; }
.admin-login-brand .brand-word { font-size:110px; }
.admin-login-brand > span:last-child { color:#777; font-size:16px; text-transform:uppercase; }
.admin-login-card { background:#202020; padding:50px; border-top:5px solid var(--orange); }
.admin-login-card h1 { font-family:"Outfit",sans-serif; font-size:52px; line-height:1; margin:0 0 30px; }

/* Simple */
.simple-page { min-height:calc(100vh - 125px); padding:55px 0; }
.simple-card { margin:120px auto; max-width:720px; background:#1e1e1e; padding:50px; border-top:5px solid var(--orange); }
.simple-card h1 { font-family:"Outfit",sans-serif; font-size:60px; margin:0 0 20px; }
.simple-card p { color:#aaa; line-height:1.6; margin-bottom:28px; }

@media (max-width: 1250px) {
  .overview-grid { grid-template-columns:1fr 1fr; }
  .insight-column { grid-column:1/-1; grid-template-columns:1fr 1fr; }
  .hero { grid-template-columns:1fr 430px; gap:55px; }
  .dimension-detail-grid { gap:35px; }
  .admin-card-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 980px) {
  :root { --shell:calc(100vw - 36px); }
  .hero { grid-template-columns:1fr; padding-top:55px; }
  .hero-copy { padding-right:0; }
  .dimension-orbit { display:none; }
  .dimension-grid { grid-template-columns:1fr 1fr; }
  .start-card { max-width:650px; }
  .access-main { grid-template-columns:1fr; }
  .access-art { display:none; }
  .overview-grid { grid-template-columns:1fr; }
  .overview-chart-card,.insight-column { grid-column:auto; }
  .insight-column { grid-template-columns:1fr; }
  .dimension-detail-grid { grid-template-columns:1fr; }
  .dimension-radar-panel .chart-wrap { min-height:430px; }
  .report-meta { gap:20px; flex-direction:column; align-items:end; }
  .admin-stat-grid { grid-template-columns:1fr 1fr; }
  .admin-two-column,.benchmark-dimensions { grid-template-columns:1fr; }
  .rule-form { grid-template-columns:1fr 1fr; }
  .rule-list { grid-template-columns:1fr; }
  .admin-login-shell { grid-template-columns:1fr; gap:40px; padding-block:60px; }
  .admin-login-brand .brand-word { font-size:70px; }
  .admin-nav { display:none; }
}
@media (max-width: 700px) {
  .site-header { min-height:78px; }
  .brand-product { display:none; }
  .hero { padding:35px 0 65px; min-height:auto; }
  .hero h1 { font-size:56px; }
  .hero-intro { font-size:17px; }
  .dimension-grid { grid-template-columns:1fr; }
  .dimension-intro { min-height:auto; border-left:1px solid rgba(0,0,0,.14); padding:38px 28px 42px; }
  .dimension-letter { margin-bottom:26px; }
  .footer-inner { gap:20px; flex-wrap:wrap; padding-block:28px; }
  .assessment-shell { grid-template-rows:78px 88px 1fr 84px; }
  .assessment-person small { display:none; }
  .question-stage { align-items:start; padding-top:40px; overflow-y:auto; }
  .question-card h1 { font-size:38px; }
  .slider-block { margin-top:54px; }
  .keyboard-hint { display:none; }
  .assessment-controls .button { min-height:46px; padding-inline:14px; }
  .report-topbar { height:62px; padding:0 14px; }
  .report-nav { display:none; }
  .report-section { padding:35px 0; }
  .report-section-inner { width:calc(100vw - 28px); }
  .report-heading-row,.dimension-header { display:grid; gap:25px; }
  .report-meta { align-items:start; gap:8px; }
  .headline-score-grid,.insight-cards,.theme-grid { grid-template-columns:1fr; }
  .headline-score { min-height:145px; }
  .insight-card { min-height:auto; }
  .dimension-header-title { align-items:start; }
  .dimension-header h2 { font-size:38px; }
  .dimension-score-pair { gap:18px; }
  .question-score-table { overflow:auto; }
  .question-score-head,.question-score-row { min-width:690px; }
  .admin-main { width:calc(100vw - 28px); padding-top:35px; }
  .admin-heading { align-items:start; flex-direction:column; }
  .admin-heading h1 { font-size:46px; }
  .admin-stat-grid,.admin-card-grid { grid-template-columns:1fr; }
  .admin-topbar-inner { width:calc(100vw - 24px); }
  .admin-topbar .brand-product { display:none; }
  .inline-form,.form-actions,.search-form { flex-direction:column; align-items:stretch; width:100%; min-width:0; }
  .rule-form { grid-template-columns:1fr; }
  .rule-form .span-2 { grid-column:auto; }
  .benchmark-meta-fields,.editable-report-item { grid-template-columns:1fr; }
  .admin-login-shell { width:calc(100vw - 28px); }
  .admin-login-card { padding:28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
}



/* Overview-first report. Retained drill-downs stay hidden on screen and in PDF. */
[hidden] { display:none!important; }
#reportInsights,#keyObservations { scroll-margin-top:92px; }
.report-overview .insight-column { display:grid; grid-template-columns:1fr; gap:44px; margin-bottom:38px; }
.report-overview .insight-group { padding:0; background:transparent; border:0; }

.report-overview .insight-group h2 { color:#fff; font-size:32px; margin-bottom:24px; }
.report-overview .insight-cards { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.report-overview .insight-card { min-height:0; padding:24px; background:#1b1b1b; border:0; border-top:3px solid var(--orange); }
.report-overview .next-steps-group .insight-card { border-top-color:var(--orange-2); }
.report-overview .insight-card h3 { font-size:21px; line-height:1.25; margin-bottom:10px; }
.report-overview .insight-card p { font-size:16px; line-height:1.6; }
.observations-heading h2,.results-metrics-heading h2 { font-family:"Outfit",sans-serif; font-size:32px; margin:0 0 8px; }
.observations-heading p,.results-metrics-heading p { margin:0 0 24px; color:#aaa; font-size:15px; }
.key-observations { margin-bottom:44px; }
.observation-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.observation-card { --accent:var(--direction); background:#1b1b1b; padding:24px; border-top:4px solid var(--accent); }
.observation-card.competence { --accent:var(--competence); }
.observation-card.opportunity { --accent:var(--opportunity); }
.observation-card.motivation { --accent:var(--motivation); }
.observation-card-heading { display:flex; gap:10px; align-items:center; color:var(--accent); font-size:14px; font-weight:800; }
.observation-letter { display:grid; place-items:center; width:32px; height:32px; background:var(--accent); color:#111; border-radius:50%; flex-shrink:0; }
.observation-card-heading strong { margin-left:auto; white-space:nowrap; }
.observation-copy h3 { font-size:21px; line-height:1.3; margin:22px 0 12px; color:var(--accent); }
.observation-copy p { font-size:15px; line-height:1.65; color:#ddd; margin:0; }
.report-overview .overview-grid { grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:1200px) { .observation-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:1000px) { .report-overview .insight-column,.report-overview .overview-grid { grid-template-columns:1fr; } }
@media (max-width:700px) {
  .observation-grid { grid-template-columns:1fr; }
  .report-overview .insight-group { padding:0; }
  .report-overview .insight-card { padding:20px; }
  .report-overview .insight-group h2 { font-size:30px; }
}


.email-sent-notice { padding:16px 18px; margin:18px 0; color:#d8f3df; background:rgba(60,171,93,.14); border-left:3px solid #3cab5d; font-size:15px; line-height:1.5; }
.report-overview .overview-grid { margin-bottom:44px; }

/* D/C above O/M fills the verification page's left-hand space. */
.access-dcom-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 42px; width:min(460px,100%); margin:auto; }
.access-dcom-item { --accent:var(--direction); display:grid; justify-items:center; gap:15px; }
.access-dcom-item.competence { --accent:var(--competence); }
.access-dcom-item.opportunity { --accent:var(--opportunity); }
.access-dcom-item.motivation { --accent:var(--motivation); }
.access-dcom-circle { display:grid; place-items:center; width:100%; max-width:190px; aspect-ratio:1; border-radius:50%; background:var(--accent); color:#101010; font-family:"Outfit",sans-serif; font-size:clamp(64px,7vw,100px); font-weight:800; line-height:1; }
@media (max-width:1000px) { .report-overview .insight-cards { grid-template-columns:1fr; } }

/* Compact home header and headline; other page headers keep their sizes. */
.home-page .site-header { min-height:80px; }
.home-page .hero { padding-top:56px; }
.home-page .hero h1 { font-size:clamp(52px,6vw,108px); }
@media (max-width:700px) {
  .home-page .site-header { min-height:68px; }
  .home-page .hero { padding-top:30px; }
  .home-page .hero h1 { font-size:50px; }
}

.print-report-brand { display:none; }

/* Report score context and industry-specific contact. */
.score-explanation { color:#ddd; font-size:14px; line-height:1.65; margin:18px 0 0; }
.benchmark-source-note { border-left:3px solid var(--orange); padding:12px 16px; margin:0 0 24px; background:#242424; color:#eee; font-size:14px; line-height:1.5; }
.report-contact { padding:48px 0 64px; background:#191919; border-top:4px solid var(--orange); }
.report-contact h2 { color:#fff; font-family:"Outfit",sans-serif; font-size:clamp(28px,3vw,42px); margin:0 0 16px; }
.report-contact p:not(.eyebrow) { max-width:780px; color:#ddd; line-height:1.65; margin:0 0 24px; }
.report-contact-email { display:block; width:fit-content; max-width:100%; overflow-wrap:anywhere; color:var(--orange); margin-top:16px; }
