/* ---------- Brand tokens (from brand-guidelines.md) */
@font-face { font-family: "Futura PT"; src: url("../fonts/FTN85__W.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "Futura PT"; src: url("../fonts/FuturaPTBoldOblique.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: block; }
@font-face { font-family: "Futura PT Cond"; src: url("../fonts/FuturaPTCond.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "Futura PT Cond"; src: url("../fonts/FuturaPTCondBoldOblique.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: block; }
@font-face { font-family: "Futura PT Cond"; src: url("../fonts/futura-pt_cond-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: block; }
@font-face { font-family: "Futura PT Cond"; src: url("../fonts/futura-pt_cond-extrabold-oblique.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: block; }

:root {
  --brand-green: #0f6e51;
  --brand-yellow: #ffdd00;
  --brand-white: #ffffff;
  --accent-green: #26ffbe;
  --grad-light: #004d3f;
  --grad-dark: #013329;
  --grey-1: #24282a;
  --grey-2: #474645;
  --grey-3: #7c7f80;
  --grey-4: #bcbcbc;
  --gradient: linear-gradient(135deg, #004d3f 0%, #013329 100%);
  --font-brand: "Futura PT", "Futura", "Trebuchet MS", sans-serif;
  --font-cond: "Futura PT Cond", "Futura PT", "Futura", sans-serif;
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--grey-1); color: var(--brand-white); font-family: var(--font-ui); overflow: hidden; }
button { font-family: var(--font-ui); }

/* ---------- Chrome */
#app { display: flex; flex-direction: column; height: 100vh; }
#topbar { display: flex; align-items: center; gap: 24px; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--grey-2); flex: none; }
.course-title { font-family: var(--font-brand); font-weight: 700; font-size: 20px; white-space: nowrap; }
#progress { flex: 1; display: flex; gap: 4px; align-items: center; min-width: 0; }
#progress .seg { flex: 1; height: 6px; border-radius: 3px; background: var(--grey-2); position: relative; overflow: hidden; cursor: pointer; border: 0; padding: 0; }
#progress .seg.kc { flex: 0.45; }
#progress .seg.done { background: var(--brand-green); }
#progress .seg.current { background: var(--grey-3); }
#progress .seg.current::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--brand-white); }
.chrome-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--grey-2); background: transparent; color: var(--brand-white); font-size: 15px; cursor: pointer; }
.chrome-btn:hover { background: var(--grey-2); }
.chrome-btn:focus-visible, #scrub:focus-visible { outline: 3px solid var(--brand-yellow); outline-offset: 2px; }
.chrome-btn.primary { background: var(--brand-green); border-color: var(--brand-green); font-weight: 700; }
.chrome-btn.primary:hover { filter: brightness(1.12); }
.chrome-btn.primary.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(38,255,190,0.0); } 50% { box-shadow: 0 0 0 6px rgba(38,255,190,0.35); } }
.chrome-btn:disabled { opacity: 0.35; cursor: default; background: transparent; }
.chrome-btn.primary:disabled { background: var(--grey-2); border-color: var(--grey-2); }
.chrome-btn.icon-only { width: 42px; padding: 0; justify-content: center; }
.chrome-btn.on { border-color: var(--grey-4); }
.chrome-btn .ico { width: 20px; height: 20px; }
.ico { display: inline-block; width: 1em; height: 1em; line-height: 0; flex: none; }
.ico svg { width: 100%; height: 100%; display: block; }

#menu { position: absolute; top: 60px; right: 16px; z-index: 50; width: 360px; max-height: calc(100vh - 140px); overflow: auto; background: var(--grey-1); border: 1px solid var(--grey-2); border-radius: 8px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
#menu button { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; background: none; border: 0; color: var(--brand-white); padding: 10px 12px; border-radius: 6px; font-size: 15px; cursor: pointer; }
#menu button:hover { background: var(--grey-2); }
#menu button .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--grey-3); flex: none; }
#menu button.done .dot { background: var(--brand-green); border-color: var(--brand-green); }
#menu button.current { background: rgba(15,110,81,0.25); }
#menu .grp { font-family: var(--font-brand); color: var(--grey-4); font-size: 13px; padding: 12px 12px 4px; letter-spacing: 0.04em; }
#menu button.kcitem { padding-left: 30px; color: var(--grey-4); font-size: 14px; }

#stageWrap { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #000; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: var(--gradient); }
#wipe { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
#wipe div { position: absolute; top: -20%; height: 140%; width: 75%; transform: translateX(-160%) skewX(-14deg); }
#wipe .wipe-a { background: var(--brand-green); }
#wipe .wipe-b { background: var(--grad-dark); width: 70%; }

#captions { flex: none; min-height: 58px; padding: 8px 24px; display: flex; align-items: center; justify-content: center; background: var(--grey-1); border-top: 1px solid var(--grey-2); }
#captions.off #capText { visibility: hidden; }
#capText { max-width: 1100px; text-align: center; font-size: 19px; line-height: 1.35; color: var(--grey-4); }
#capText .now { color: var(--brand-white); }
#capText .said { color: var(--brand-white); }

#controls { flex: none; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-top: 1px solid var(--grey-2); }
#time { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--grey-4); min-width: 92px; }
#scrub { flex: 1; height: 28px; position: relative; cursor: pointer; }
#scrub::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--grey-2); }
#scrubFill { position: absolute; left: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--brand-green); width: 0; }
#scrubKnob { position: absolute; top: 6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--brand-white); left: 0; }
#scrub.disabled { opacity: 0.3; pointer-events: none; }
#scrub .tick { position: absolute; top: 9px; width: 2px; height: 10px; background: var(--grey-3); }

/* ---------- Stage primitives */
.layer { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.sprite { user-select: none; -webkit-user-drag: none; pointer-events: none; }
.bgimg { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: cover; }
.ktext { font-family: var(--font-brand); font-weight: 700; line-height: 1.04; white-space: nowrap; letter-spacing: -0.005em; }
.kline { display: block; position: relative; width: fit-content; }
.kmask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.02em 0.04em 0.12em; margin: 0 -0.04em -0.1em; }
.kword { display: inline-block; will-change: transform; }
.ktext .hl { color: var(--accent-green); }
.ktext.dark { color: var(--grey-1); }
.ktext.dark .hl { color: var(--brand-green); }
.chapter-num { font-family: var(--font-cond); font-weight: 800; font-size: 300px; line-height: 0.8; color: transparent; -webkit-text-stroke: 4px var(--accent-green); }
.eyebrow { font-family: var(--font-brand); font-weight: 700; font-size: 26px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-green); white-space: nowrap; }
.label { font-family: var(--font-brand); font-weight: 700; font-size: 34px; white-space: nowrap; color: var(--brand-white); }
.label.dark { color: var(--grey-1); }
.uilabel { font-family: var(--font-ui); font-size: 24px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; border-radius: 999px; background: var(--brand-white); color: var(--grey-1); font-family: var(--font-ui); font-weight: 700; font-size: 28px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.pill .ico { width: 34px; height: 34px; color: var(--brand-green); }
.pill.dark { background: var(--grey-1); color: var(--brand-white); }
.pill.dark .ico { color: var(--accent-green); }
.pill.green { background: var(--brand-green); color: var(--brand-white); }
.pill.green .ico { color: var(--brand-white); }
.pill.warn { background: var(--brand-white); box-shadow: 0 0 0 5px var(--brand-yellow), 0 10px 30px rgba(0,0,0,0.25); }
.pill.struck { position: relative; }
.strike { position: absolute; left: 70px; right: 24px; top: 50%; height: 4px; margin-top: -2px; background: var(--brand-yellow); border-radius: 4px; transform-origin: 0 50%; }
.badge-x, .badge-ok { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.badge-x { background: var(--grey-1); color: var(--brand-yellow); box-shadow: 0 0 0 5px var(--brand-yellow); }
.badge-ok { background: var(--brand-green); color: var(--brand-white); box-shadow: 0 0 0 5px var(--brand-white); }
.badge-x .ico, .badge-ok .ico { width: 40px; height: 40px; }
.badge-x .ico svg { stroke-width: 3.4; }
.circle-ico { width: 150px; height: 150px; border-radius: 50%; background: var(--brand-white); color: var(--brand-green); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 40px rgba(0,0,0,0.25); }
.circle-ico .ico { width: 76px; height: 76px; }
.circle-ico.dark { background: var(--grey-1); color: var(--accent-green); }
.card { background: var(--brand-white); color: var(--grey-1); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.28); font-family: var(--font-ui); }
.infocard { width: 360px; height: 240px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.infocard .ico { width: 64px; height: 64px; color: var(--brand-green); }
.infocard b { font-family: var(--font-ui); font-weight: 700; font-size: 34px; line-height: 1.1; }
.cursor { width: 64px; height: 64px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.35)); }
.cursor svg { width: 100%; height: 100%; }
.ripple { width: 90px; height: 90px; border-radius: 50%; border: 5px solid var(--brand-yellow); }
.hlbox { border: 5px solid var(--brand-yellow); border-radius: 10px; background: rgba(255,221,0,0.12); }
.uline { height: 7px; background: var(--brand-yellow); border-radius: 4px; transform-origin: 0 50%; }
.bubble { position: absolute; background: var(--brand-white); color: var(--grey-1); border-radius: 26px; padding: 22px 30px; font-family: var(--font-brand); font-weight: 700; font-size: 34px; white-space: nowrap; box-shadow: 0 14px 34px rgba(0,0,0,0.25); }
.bubble::after { content: ""; position: absolute; bottom: -22px; left: var(--tail, 60px); border: 14px solid transparent; border-top: 16px solid var(--brand-white); border-bottom: 0; }
.bubble.tail-right::after { left: auto; right: var(--tail, 60px); }
.shadow-ellipse { width: 260px; height: 36px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,0.35), rgba(0,0,0,0)); }
.dim { background: rgba(1,51,41,0.55); }
.nightdim { background: #011a15; mix-blend-mode: multiply; }
.floor { background: rgba(0,0,0,0.18); }

/* email client mock (product-like: greys + Helvetica) */
.mail { width: 1120px; height: 760px; background: var(--brand-white); color: var(--grey-1); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); font-family: var(--font-ui); }
.mail .bar { height: 56px; background: var(--grey-1); display: flex; align-items: center; gap: 10px; padding: 0 18px; }
.mail .bar i { width: 14px; height: 14px; border-radius: 50%; background: var(--grey-2); display: inline-block; }
.mail .tools { height: 74px; border-bottom: 1px solid var(--grey-4); display: flex; align-items: center; gap: 10px; padding: 0 22px; background: #f4f4f4; }
.mail .tool { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 8px; font-size: 22px; color: var(--grey-1); background: transparent; }
.mail .tool .ico { width: 26px; height: 26px; }
.mail .tool.report { background: var(--brand-green); color: var(--brand-white); font-weight: 700; margin-left: auto; }
.mail .head { padding: 26px 36px 16px; border-bottom: 1px solid var(--grey-4); position: relative; }
.mail .subj { font-size: 30px; font-weight: 700; margin-bottom: 18px; white-space: nowrap; }
.mail .tag { display: inline-block; font-size: 20px; font-weight: 700; padding: 4px 10px; border-radius: 5px; background: var(--grey-2); color: var(--brand-white); vertical-align: 4px; margin-right: 10px; }
.mail .from { display: flex; align-items: center; gap: 18px; font-size: 24px; white-space: nowrap; }
.mail .avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--grey-4); color: var(--grey-1); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.mail .dname { font-weight: 700; }
.mail .addr { color: var(--grey-3); }
.mail .body { padding: 28px 36px; font-size: 25px; line-height: 1.5; position: relative; }
.mail .body p { margin: 0 0 18px; }
.mail .btn { display: inline-block; background: var(--brand-green); color: var(--brand-white); font-weight: 700; padding: 16px 30px; border-radius: 8px; font-size: 24px; }
.mail .att { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--grey-4); border-radius: 10px; padding: 12px 18px; font-size: 22px; background: #fafafa; }
.mail .att .ico { width: 34px; height: 34px; color: var(--grey-2); }
.mail .macro { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: #f4f4f4; border-bottom: 1px solid var(--grey-4); border-left: 8px solid var(--brand-yellow); display: flex; align-items: center; gap: 16px; padding: 0 36px; font-size: 22px; }
.mail .macro .ico { width: 28px; height: 28px; }
.mail .macro .mbtn { margin-left: auto; border: 1px solid var(--grey-3); border-radius: 6px; padding: 6px 14px; background: var(--brand-white); }
.tooltip { background: var(--grey-1); color: var(--brand-white); font-family: var(--font-ui); font-size: 26px; padding: 14px 20px; border-radius: 8px; white-space: nowrap; box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
.tooltip::before { content: ""; position: absolute; top: -12px; left: 40px; border: 12px solid transparent; border-top: 0; border-bottom: 12px solid var(--grey-1); }
.inbox { width: 100%; }
.inbox .row { display: flex; gap: 14px; align-items: center; padding: 0 20px; height: 84px; border-bottom: 1px solid #e3e3e3; font-size: 20px; overflow: hidden; background: var(--brand-white); }
.inbox .row .dotc { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-green); flex: none; }
.inbox .row .ln { flex: 1; min-width: 0; }
.inbox .row .ln b { display: block; font-size: 21px; }
.inbox .row .ln span { display: block; color: var(--grey-3); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox .bar2 { height: 12px; border-radius: 6px; background: #e6e6e6; margin: 6px 0; }

/* tracker */
.tracker { width: 500px; padding: 30px 30px 26px; background: var(--grey-1); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.tracker h3 { margin: 0 0 18px; font-family: var(--font-brand); font-size: 36px; }
.trow { display: flex; align-items: center; gap: 16px; height: 62px; font-size: 25px; font-family: var(--font-ui); color: var(--brand-white); white-space: nowrap; }
.trow .num { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--brand-yellow); color: var(--brand-yellow); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: none; }
.gauge-l { font-family: var(--font-ui); font-size: 25px; color: var(--brand-white); }

/* keycaps */
.keycap { min-width: 130px; height: 130px; padding: 0 30px; border-radius: 22px; background: var(--brand-white); color: var(--grey-1); display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-ui); font-weight: 700; font-size: 40px; box-shadow: 0 12px 0 var(--grey-4), 0 18px 30px rgba(0,0,0,0.35); white-space: nowrap; }
.keycap .ico { width: 50px; height: 50px; }
.keycap.pressed { box-shadow: 0 3px 0 var(--grey-4), 0 6px 12px rgba(0,0,0,0.35); }
.plus { font-family: var(--font-brand); font-size: 70px; color: var(--accent-green); }

/* phone mock */
.phone { width: 330px; height: 660px; border-radius: 48px; background: var(--grey-1); padding: 16px; box-shadow: 0 0 0 4px var(--grey-2), 0 30px 70px rgba(0,0,0,0.45); }
.phone .scr { width: 100%; height: 100%; border-radius: 34px; background: var(--gradient); overflow: hidden; position: relative; font-family: var(--font-ui); color: var(--brand-white); }

/* monitor lock screen overlay */
.lockscr { background: var(--gradient); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-family: var(--font-ui); color: var(--brand-white); font-size: 26px; overflow: hidden; }
.lockscr .ico { width: 70px; height: 70px; color: var(--accent-green); }

/* sticky note: drawn in code, yellow is a highlight here (the problem) */
.sticky { width: 120px; height: 120px; background: var(--brand-white); box-shadow: 0 8px 16px rgba(0,0,0,0.25); padding: 22px 16px; }
.sticky i { display: block; height: 8px; border-radius: 4px; background: var(--grey-3); margin: 10px 0; }

/* classification tiers */
.tier { position: absolute; top: 150px; height: 830px; border-radius: 22px; overflow: hidden; font-family: var(--font-ui); }
.tier .tname { font-family: var(--font-brand); font-weight: 700; font-size: 58px; white-space: nowrap; position: absolute; left: 36px; top: 34px; transform-origin: 0 0; }
.tier .tlevel { position: absolute; right: 30px; top: 42px; display: flex; gap: 8px; }
.tier .tlevel i { width: 16px; height: 44px; border-radius: 4px; background: currentColor; opacity: 0.25; }
.tier .tlevel i.on { opacity: 1; }
.tier .tdesc { position: absolute; left: 36px; top: 118px; font-size: 27px; white-space: nowrap; opacity: 0.9; }
.tier.t0 { background: var(--brand-white); color: var(--grey-1); }
.tier.t1 { background: var(--grey-4); color: var(--grey-1); }
.tier.t2 { background: var(--brand-green); color: var(--brand-white); }
.tier.t3 { background: var(--grey-1); color: var(--brand-white); outline: 2px solid var(--grey-2); outline-offset: -2px; }
.doccard { position: absolute; width: 385px; height: 92px; border-radius: 12px; background: var(--brand-white); color: var(--grey-1); display: flex; align-items: center; gap: 14px; padding: 0 18px; font-size: 23px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,0.18); white-space: nowrap; }
.doccard .ico { width: 38px; height: 38px; color: var(--brand-green); }
.tier.t0 .doccard { background: #f1f1f1; }
.dest { position: absolute; display: flex; align-items: center; gap: 14px; font-size: 28px; white-space: nowrap; }
.dest .ico { width: 40px; height: 40px; }
.dest.no .ico { color: var(--brand-yellow); }
.tier.t0 .dest.no .ico, .tier.t1 .dest.no .ico { color: var(--grey-1); }

/* steps */
.step { display: flex; align-items: center; gap: 30px; width: 1150px; }
.step .n { width: 86px; height: 86px; border-radius: 50%; background: var(--brand-white); color: var(--brand-green); font-family: var(--font-cond); font-weight: 800; font-size: 56px; display: flex; align-items: center; justify-content: center; flex: none; }
.step .t { font-family: var(--font-brand); font-size: 48px; line-height: 1.12; }
.step .t small { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 30px; color: var(--grey-4); margin-top: 8px; }

/* avatars */
.av { width: 110px; height: 110px; border-radius: 50%; background: var(--grey-4); color: var(--grey-1); display: flex; align-items: center; justify-content: center; }
.av .ico { width: 60px; height: 60px; }

/* call UI */
.callui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 70px; }
.callui .who { font-size: 30px; font-weight: 700; margin-top: 20px; }
.callui .num { font-size: 20px; color: var(--grey-4); margin-top: 6px; position: relative; }
.callui .ava { width: 170px; height: 170px; border-radius: 50%; overflow: hidden; background: var(--grey-2); position: relative; }
.callui .ava img { position: absolute; left: 50%; bottom: -6px; width: 200px; transform: translateX(-50%); }
.callui .btns { position: absolute; bottom: 60px; display: flex; gap: 70px; }
.callui .cb { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.callui .cb .ico { width: 44px; height: 44px; }
.callui .cb.end { background: var(--grey-2); color: var(--brand-white); }
.callui .cb.ans { background: var(--brand-green); color: var(--brand-white); }

/* ---------- Knowledge checks */
.kc { position: absolute; inset: 0; font-family: var(--font-ui); }
.kc-head { position: absolute; left: 110px; top: 70px; width: 1100px; }
.kc-eyebrow { font-family: var(--font-brand); font-size: 24px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-green); }
.kc-q { font-family: var(--font-brand); font-weight: 700; font-size: 46px; line-height: 1.1; margin-top: 14px; }
.kc-sub { font-size: 26px; color: var(--grey-4); margin-top: 16px; line-height: 1.35; }
.opt { display: flex; align-items: center; gap: 22px; width: 100%; text-align: left; background: var(--brand-white); color: var(--grey-1); border: 0; border-radius: 16px; padding: 24px 28px; font-size: 28px; line-height: 1.25; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,0.22); transition: transform .15s ease, box-shadow .15s ease; font-family: var(--font-ui); }
.opt:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
.opt:focus-visible { outline: 5px solid var(--brand-yellow); outline-offset: 3px; }
.opt .mk { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--grey-3); flex: none; display: flex; align-items: center; justify-content: center; color: var(--brand-white); }
.opt .mk .ico { width: 26px; height: 26px; }
.opt.sel { box-shadow: 0 0 0 6px var(--brand-yellow), 0 14px 30px rgba(0,0,0,0.3); }
.opt.sel .mk { border-color: var(--brand-green); background: var(--brand-green); }
.opt.right { box-shadow: 0 0 0 6px var(--accent-green), 0 14px 30px rgba(0,0,0,0.3); }
.opt.right .mk { background: var(--brand-green); border-color: var(--brand-green); }
.opt.wrong { opacity: 0.55; }
.opt:disabled { cursor: default; transform: none; }
.kbtn { font-family: var(--font-ui); font-weight: 700; font-size: 28px; padding: 20px 44px; border-radius: 12px; border: 0; background: var(--brand-green); color: var(--brand-white); cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,0.25); }
.kbtn:hover { filter: brightness(1.12); }
.kbtn:disabled { background: var(--grey-2); color: var(--grey-4); cursor: default; filter: none; box-shadow: none; }
.kbtn:focus-visible { outline: 5px solid var(--brand-yellow); outline-offset: 3px; }
.kbtn.ghost { background: transparent; box-shadow: inset 0 0 0 3px var(--grey-4); }
.fb { position: absolute; right: 0; top: 0; bottom: 0; width: 580px; background: var(--gradient); padding: 90px 60px 60px; transform: translateX(105%); transition: transform .55s cubic-bezier(.2,.9,.25,1); box-shadow: -20px 0 60px rgba(0,0,0,0.4); display: flex; flex-direction: column; z-index: 5; }
.fb.show { transform: translateX(0); }
.fb .verdict { font-family: var(--font-brand); font-weight: 700; font-size: 60px; line-height: 1; display: flex; align-items: center; gap: 20px; }
.fb .verdict .vi { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.fb .verdict .vi .ico { width: 44px; height: 44px; }
.fb.ok .verdict .vi { background: var(--brand-green); }
.fb.no .verdict .vi { background: var(--grey-2); color: var(--brand-yellow); }
.fb .why { font-size: 28px; line-height: 1.45; margin-top: 34px; color: var(--brand-white); }
.fb .why b { color: var(--accent-green); font-weight: 700; }
.fb .why ul { margin: 16px 0 0; padding-left: 28px; }
.fb .why li { margin: 8px 0; }
.fb .spacer { flex: 1; }
.hotspot { position: absolute; cursor: pointer; border-radius: 10px; border: 3px dashed rgba(124,127,128,0.7); background: transparent; transition: border-color .15s, background .15s; padding: 0; }
.hotspot:hover { border-color: var(--brand-green); background: rgba(15,110,81,0.08); }
.hotspot:focus-visible { outline: 5px solid var(--brand-yellow); outline-offset: 3px; }
.hotspot.flagged { border: 5px solid var(--brand-yellow); background: rgba(255,221,0,0.14); }
.hotspot.flagged::after { content: ""; position: absolute; right: -20px; top: -40px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-yellow) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324282a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 21V4'/><path d='M6 4h11l-2 4 2 4H6'/></svg>") center/28px no-repeat; }
.hotspot.missed { border: 5px dashed var(--accent-green); }
.hotspot.wrongflag { border-color: var(--grey-3); background: rgba(124,127,128,0.2); }
.dragitem { position: absolute; width: 340px; height: 96px; border-radius: 14px; background: var(--brand-white); color: var(--grey-1); display: flex; align-items: center; gap: 16px; padding: 0 22px; font-size: 25px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,0.3); cursor: grab; touch-action: none; user-select: none; line-height: 1.15; border: 0; text-align: left; font-family: var(--font-ui); }
.dragitem .ico { width: 40px; height: 40px; color: var(--brand-green); flex: none; }
.dragitem.dragging { cursor: grabbing; box-shadow: 0 0 0 5px var(--brand-yellow), 0 22px 40px rgba(0,0,0,0.4); z-index: 10; }
.dragitem.picked { box-shadow: 0 0 0 5px var(--brand-yellow), 0 22px 40px rgba(0,0,0,0.4); }
.dragitem.good { box-shadow: 0 0 0 5px var(--accent-green); }
.dragitem.bad { box-shadow: 0 0 0 5px var(--grey-3); opacity: 0.8; }
.dragitem:focus-visible { outline: 5px solid var(--brand-yellow); outline-offset: 3px; }
.drop { position: absolute; border-radius: 20px; border: 4px dashed rgba(255,255,255,0.35); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 24px; font-family: var(--font-brand); font-size: 36px; cursor: pointer; transition: background .15s, border-color .15s; }
.drop.over { border-color: var(--brand-yellow); background: rgba(255,221,0,0.1); }
.drop .ico { width: 64px; height: 64px; margin-bottom: 10px; }
.drop small { font-family: var(--font-ui); font-size: 22px; color: var(--grey-4); margin-top: 8px; text-align: center; padding: 0 20px; line-height: 1.3; }
.speech { position: absolute; font-family: var(--font-ui); }

/* start + results */
.start-cta { font-family: var(--font-ui); font-weight: 700; font-size: 34px; padding: 26px 60px; border-radius: 14px; border: 0; background: var(--brand-green); color: var(--brand-white); cursor: pointer; display: inline-flex; gap: 18px; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.start-cta:hover { filter: brightness(1.12); }
.start-cta:focus-visible { outline: 5px solid var(--brand-yellow); outline-offset: 6px; }
.start-cta .ico { width: 36px; height: 36px; }
.outlist { font-family: var(--font-ui); font-size: 27px; line-height: 1.3; color: var(--brand-white); }
.outlist li { margin: 12px 0; list-style: none; display: flex; gap: 16px; align-items: flex-start; }
.outlist li .n { font-family: var(--font-cond); font-weight: 800; color: var(--accent-green); font-size: 34px; width: 34px; flex: none; line-height: 1; }
.res-row { display: flex; align-items: center; gap: 20px; font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--grey-2); }
.res-row .ico { width: 34px; height: 34px; }
.res-row .ok { color: var(--accent-green); }
.res-row .no { color: var(--brand-yellow); }
.res-row button { margin-left: auto; }

body.shot #topbar, body.shot #controls, body.shot #captions { display: none; }

.kpanel { border-radius: 24px; overflow: hidden; background: var(--gradient); }
.kc .tier.t3 { outline: 3px solid var(--grey-2); }
.kc .drop { background: rgba(71,70,69,0.35) !important; }

.ktext .kword .hl { color: var(--accent-green); }
.ktext.dark .kword .hl { color: var(--brand-green); }
.pill.struck.done span:not(.ico) { color: var(--grey-4); }
.tooltip.up::before { top: auto; bottom: -12px; border-bottom: 0; border-top: 12px solid var(--grey-1); }
.bubble.tail-left::after { left: -20px; bottom: auto; top: calc(50% - 14px); border: 14px solid transparent; border-right: 18px solid var(--brand-white); border-left: 0; }
.bubble.thought::after { display: none; }
.plate { border-radius: 28px; background: rgba(0,0,0,0.16); }
.kc .content { position: absolute; inset: 0; transform-origin: 0 50%; transition: transform .55s cubic-bezier(.2,.9,.25,1); }
.kc .content.shrink { transform: translateX(24px) scale(0.69); }
.kc-tray { position: absolute; border-radius: 18px; background: rgba(71,70,69,0.45); }
.kc-tray .lbl { position: absolute; left: 24px; top: 14px; font-family: var(--font-brand); font-size: 22px; color: var(--grey-4); letter-spacing: .08em; text-transform: uppercase; }

.res-row .un { color: var(--grey-4); }

.mail .dname { margin-right: 6px; }
.tooltip.side::before { top: calc(50% - 12px); left: -12px; border: 12px solid transparent; border-left: 0; border-right: 12px solid var(--grey-1); }
.fb .kbtn:not(.ghost) { background: var(--brand-white); color: var(--brand-green); }
