:root {
  color-scheme: light;
  --ink: #111a3a;
  --ink-soft: #59637e;
  --blue: #3156e8;
  --blue-soft: #edf1ff;
  --violet: #7655e8;
  --violet-soft: #f1edff;
  --mint: #47c6a3;
  --mint-soft: #e8f8f2;
  --orange: #f08a42;
  --orange-soft: #fff0e5;
  --yellow: #f2b84b;
  --canvas: #fdf8eb;
  --paper: #fffdfb;
  --paper-muted: #faf8f4;
  --line: rgba(17, 26, 58, 0.1);
  --line-strong: rgba(17, 26, 58, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-shell: 0 28px 80px rgba(47, 44, 60, 0.11), 0 2px 4px rgba(87, 65, 46, 0.05);
  --shadow-card: 0 10px 28px rgba(46, 42, 66, 0.07), 0 1px 2px rgba(87, 65, 46, 0.04);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button:focus-visible { outline: 3px solid rgba(49, 86, 232, 0.35); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.demo-page { min-height: 100vh; display: grid; place-items: center; padding: clamp(10px, 2vw, 28px); }
.product-film { width: min(100%, 1440px); min-height: min(920px, calc(100vh - 20px)); padding: clamp(12px, 2vw, 28px); background: transparent; }
.product-shell { width: 100%; max-width: 1360px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow-shell); }

.product-header { min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 11px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.product-brand { display: inline-flex; width: max-content; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand-orbit { width: 36px; height: 36px; color: var(--blue); }
.product-brand > span { font-size: 17px; font-weight: 790; letter-spacing: -0.05em; }
.journey-progress { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 11px; font-weight: 680; }
.journey-label { color: var(--ink); }
.progress-track { width: 112px; height: 5px; overflow: hidden; border-radius: 99px; background: #e5e5eb; }
.progress-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--blue); transform: scaleX(1); transform-origin: left; transition: transform 500ms var(--ease-out); }
.journey-step { min-width: 34px; font-variant-numeric: tabular-nums; }
.save-state { justify-self: end; display: flex; align-items: center; gap: 7px; color: #66708a; font-size: 11px; font-weight: 680; }
.save-state span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(71,198,163,.12); }

.product-canvas { display: grid; grid-template-columns: minmax(380px, .86fr) minmax(570px, 1.14fr); min-height: 700px; background: var(--paper); }
.conversation-studio, .practice-studio { position: relative; min-width: 0; padding: 34px clamp(24px, 3vw, 42px) 24px; }
.conversation-studio { display: flex; flex-direction: column; }
.practice-studio { border-left: 1px solid var(--line); background: var(--paper-muted); }
.conversation-heading, .practice-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-kicker { margin: 0 0 6px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.conversation-heading h1, .practice-heading h2 { margin: 0; color: var(--ink); font-weight: 770; letter-spacing: -.04em; line-height: 1.05; }
.conversation-heading h1 { font-size: clamp(27px, 2.1vw, 34px); }
.practice-heading h2 { font-size: clamp(25px, 1.9vw, 31px); }
.time-note, .draft-state { flex: 0 0 auto; border-radius: 999px; font-size: 10px; font-weight: 720; white-space: nowrap; }
.time-note { padding: 7px 10px; color: #5f547b; background: var(--violet-soft); }
.draft-state { display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #26765f; background: var(--mint-soft); }
.draft-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

.known-context { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.known-context img { width: 34px; height: 34px; object-fit: cover; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 7px rgba(17,26,58,.12); }
.known-context div { display: grid; gap: 1px; min-width: 0; }
.known-context strong { font-size: 12px; }
.known-context div span { overflow: hidden; color: var(--ink-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.known-label { padding: 5px 7px; color: #6b7390; border-radius: 999px; background: #f3f3f6; font-size: 9px; font-weight: 730; white-space: nowrap; }

.conversation-stage { position: relative; flex: 1; min-height: 455px; margin-top: 22px; overflow: hidden; }
.conversation-scene { position: absolute; z-index: 0; inset: 0; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transform: translateY(12px); background: var(--paper); transition: transform 360ms var(--ease-out); }
.conversation-scene.is-active { z-index: 1; opacity: 1; transform: none; }
.step-label { margin: 0 0 9px; color: var(--blue); font-size: 10px; font-weight: 790; letter-spacing: .09em; text-transform: uppercase; }
.conversation-scene h2 { max-width: 420px; margin: 0; font-size: clamp(22px, 1.8vw, 29px); font-weight: 760; letter-spacing: -.035em; line-height: 1.1; }
.scene-note { max-width: 430px; margin: 11px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.previous-answer { display: grid; gap: 3px; width: max-content; max-width: 100%; margin: 0 0 16px; padding: 9px 12px; color: #fff; border-radius: 14px 14px 5px 14px; background: var(--blue); font-size: 11px; font-weight: 690; }
.previous-answer span { color: rgba(255,255,255,.72); font-size: 8px; font-weight: 790; letter-spacing: .09em; text-transform: uppercase; }
.choice-list { display: grid; gap: 8px; margin-top: 20px; }
.choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: flex; align-items: center; min-height: 43px; padding: 10px 13px; color: #303b5c; border: 1px solid var(--line-strong); border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(46,42,66,.035); font-size: 11px; font-weight: 700; }
.choice.is-selected { color: #2447cf; border-color: rgba(49,86,232,.42); background: var(--blue-soft); box-shadow: 0 0 0 2px rgba(49,86,232,.08); }
.choice i { width: 15px; height: 15px; margin-right: 8px; border: 1px solid #b9bed0; border-radius: 5px; background: #fff; }
.choice.is-selected i { position: relative; border-color: var(--blue); background: var(--blue); }
.choice.is-selected i::after { position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; content: ""; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.continue-choice { align-self: flex-end; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 13px; padding: 8px 16px; color: #fff; border-radius: 12px; background: var(--blue); font-size: 10px; font-weight: 750; }
.text-choice { color: var(--blue); font-size: 11px; font-weight: 740; }
.date-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-choice { display: grid; gap: 5px; margin-top: 18px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.field-choice > span { color: #77819b; font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.field-choice strong { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.source-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--blue); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--blue); }
.result-message { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px; border: 1px solid rgba(49,86,232,.18); border-radius: 15px; background: var(--blue-soft); }
.result-message-mint { border-color: rgba(71,198,163,.26); background: var(--mint-soft); }
.result-check { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; border-radius: 10px; background: var(--blue); font-weight: 800; }
.result-message-mint .result-check { background: var(--mint); }
.result-message div { display: grid; gap: 2px; }
.result-message strong { font-size: 12px; }
.result-message div span { color: var(--ink-soft); font-size: 10px; }
.result-copy { margin-bottom: 16px; }
.complete-lock { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 17px; color: #247d64; border-radius: 15px; background: var(--mint-soft); }
.complete-lock svg { width: 24px; height: 24px; }
.final-actions { display: flex; align-items: center; gap: 17px; margin-top: 15px; }
.final-actions .continue-choice { align-self: auto; margin: 0; }
.conversation-footer { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding-top: 10px; border-top: 1px solid var(--line); color: #7a8399; font-size: 9px; }
.back-button { padding: 6px 10px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 9px; font-weight: 700; }

.practice-heading { padding-bottom: 20px; }
.practice-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.practice-metrics div { min-width: 0; display: grid; gap: 3px; padding: 10px 11px; border-left: 1px solid var(--line); }
.practice-metrics div:first-child { border-left: 0; }
.practice-metrics span { overflow: hidden; color: #77819a; font-size: 8px; font-weight: 760; letter-spacing: .05em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.practice-metrics strong { font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.workspace-stage { position: relative; min-height: 490px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); }
.workspace-view { position: absolute; z-index: 0; inset: 0; overflow: auto; padding: 24px; opacity: 0; pointer-events: none; transform: translateX(12px); background: #fff; transition: transform 360ms var(--ease-out); }
.workspace-view.is-active { z-index: 1; opacity: 1; pointer-events: auto; transform: none; }
.view-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.view-heading div { min-width: 0; }
.view-heading span { color: var(--blue); font-size: 9px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.view-heading h3 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.025em; }
.view-heading > b { flex: 0 0 auto; padding: 6px 8px; color: #59637d; border-radius: 999px; background: #f3f3f6; font-size: 9px; }
.connected-pill { display: inline-flex; align-items: center; gap: 6px; color: #26765f !important; background: var(--mint-soft) !important; }
.connected-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.workspace-note { margin: 16px 0 0; color: #7a8297; font-size: 9px; }

.empty-workspace { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 14px; color: var(--violet); border-radius: 18px; background: var(--violet-soft); font-size: 25px; }
.empty-workspace h3 { margin: 0 0 12px; font-size: 20px; }
.empty-workspace p { margin: 2px 0; color: var(--ink-soft); font-size: 11px; }
.empty-note { margin-top: 17px; padding: 7px 10px; color: #26765f; border-radius: 999px; background: var(--mint-soft); font-size: 9px; font-weight: 720; }

.offering-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-muted); }
.offering-icon { width: 37px; height: 37px; display: grid; place-items: center; color: #fff; border-radius: 12px; font-style: normal; font-weight: 800; }
.violet { background: var(--violet); }.orange { background: var(--orange); }.mint { background: var(--mint); }.blue { background: var(--blue); }
.offering-card div { display: grid; gap: 2px; min-width: 0; }
.offering-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.offering-card small { color: var(--ink-soft); font-size: 9px; }
.status-pill { padding: 5px 7px; color: #66708a; border-radius: 999px; background: #fff; font-size: 8px; font-weight: 730; }

.calendar-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.calendar-range div { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-muted); }
.calendar-range span { color: #7b849a; font-size: 8px; font-weight: 760; text-transform: uppercase; }
.calendar-range strong { font-size: 12px; }
.calendar-week { height: 145px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin-top: 14px; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-muted); }
.calendar-week > span { position: relative; min-width: 0; overflow: hidden; border-radius: 10px; background: #eeedf0; }
.calendar-week small { position: absolute; top: 7px; left: 50%; color: #7d8499; font-size: 7px; font-weight: 780; transform: translateX(-50%); }
.calendar-week i { position: absolute; right: 5px; bottom: 5px; left: 5px; height: var(--height); border-radius: 7px; background: var(--blue); }
.calendar-week .violet-block { background: var(--violet); }.calendar-week .mint-block { background: var(--mint); }

.import-total { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 17px; border-radius: 16px; background: var(--blue-soft); }
.import-total strong { color: var(--blue); font-size: 38px; line-height: 1; }
.import-total span { color: #4f5b7a; font-size: 10px; }
.import-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 11px; }
.import-breakdown div { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.import-breakdown i { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; }.mint-dot { background: var(--mint); }.orange-dot { background: var(--orange); }
.import-breakdown span { color: var(--ink-soft); font-size: 9px; }.import-breakdown strong { color: var(--ink); font-size: 13px; }
.source-explanation { display: grid; gap: 4px; margin-top: 11px; padding: 12px; border-left: 3px solid var(--yellow); background: #fffaf0; }
.source-explanation strong { font-size: 10px; }.source-explanation span { color: var(--ink-soft); font-size: 9px; }

.student-table { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.student-row { display: grid; grid-template-columns: minmax(92px, 1.25fr) minmax(92px, 1.15fr) minmax(80px, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 9px; }
.student-row:first-child { border-top: 0; }
.student-head { min-height: 34px; color: #7c8498; background: var(--paper-muted); font-size: 8px; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.student-row > * { min-width: 0; overflow-wrap: anywhere; }
.student-row > strong { font-size: 10px; }
.student-row > span { color: var(--ink-soft); }
.missing-value { color: #bd5c24 !important; }
.row-ready, .row-attention { justify-self: start; padding: 4px 6px; border-radius: 999px; font-size: 8px; }
.row-ready { color: #26765f; background: var(--mint-soft); }.row-attention { color: #ad5726; background: var(--orange-soft); }

.detail-card { position: relative; display: grid; grid-template-columns: minmax(130px,.8fr) minmax(180px,1.2fr) auto; align-items: end; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.detail-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.detail-person > span { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; color: #fff; border-radius: 10px; background: var(--violet); font-size: 8px; font-weight: 800; }
.detail-person div { display: grid; gap: 1px; min-width: 0; }
.detail-person strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.detail-person small { color: var(--ink-soft); font-size: 8px; }
.detail-card label { display: grid; gap: 3px; color: #737d96; font-size: 8px; font-weight: 720; }
.detail-card input { width: 100%; min-width: 0; padding: 6px 8px; color: var(--ink); border: 1px solid rgba(71,198,163,.42); border-radius: 8px; background: #fbfffd; font-size: 9px; }
.field-check { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; border-radius: 8px; background: var(--mint); font-size: 10px; font-style: normal; }
.detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.detail-actions span { color: #28765f; font-size: 9px; font-weight: 700; }.detail-actions button { padding: 7px 10px; color: #fff; border: 0; border-radius: 9px; background: var(--blue); font-size: 9px; font-weight: 730; }

.review-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.review-summary div { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-muted); text-align: center; }
.review-icon { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; border-radius: 10px; font-size: 12px; }
.review-summary strong { font-size: 20px; line-height: 1; }.review-summary small { color: var(--ink-soft); font-size: 8px; }
.privacy-confirmation { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 11px; margin-top: 13px; padding: 14px; color: #26765f; border: 1px solid rgba(71,198,163,.24); border-radius: 15px; background: var(--mint-soft); }
.privacy-confirmation svg { width: 24px; height: 24px; }.privacy-confirmation div { display: grid; gap: 2px; }.privacy-confirmation strong { font-size: 11px; }.privacy-confirmation span { color: #4e7569; font-size: 9px; }
.review-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }.review-actions button { padding: 9px 12px; color: #fff; border: 0; border-radius: 10px; background: var(--blue); font-size: 9px; font-weight: 740; }.review-actions span { color: var(--blue); font-size: 9px; font-weight: 740; }

.film-footer { max-width: 1360px; min-height: 55px; display: grid; grid-template-columns: 1fr minmax(180px, 360px) 1fr; align-items: center; gap: 22px; margin: 0 auto; padding: 12px 8px 0; }
.film-footer p { display: flex; align-items: center; gap: 8px; margin: 0; color: #626b83; font-size: 10px; font-weight: 680; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(240,138,66,.1); }
.film-progress { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(17,26,58,.1); }
.film-progress span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(1); transform-origin: left; will-change: transform; }
.film-controls { justify-self: end; display: flex; align-items: center; gap: 8px; }.film-controls > span { max-width: 180px; overflow: hidden; margin-right: 4px; color: #66708a; font-size: 9px; font-weight: 660; text-overflow: ellipsis; white-space: nowrap; }
.film-controls button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,251,.9); box-shadow: 0 5px 14px rgba(44,39,64,.05); cursor: pointer; }
[data-film-control] { padding: 7px 12px; font-size: 9px; font-weight: 740; }.film-controls svg { width: 15px; height: 15px; }.play-icon { display: none; }.is-paused .pause-icon { display: none; }.is-paused .play-icon { display: block; }.replay-button { width: 34px; padding: 0; }

@media (max-width: 1080px) {
  .product-canvas { grid-template-columns: minmax(340px,.82fr) minmax(470px,1.18fr); }
  .conversation-studio, .practice-studio { padding-right: 25px; padding-left: 25px; }
  .student-row { grid-template-columns: minmax(80px,1.2fr) minmax(80px,1fr) minmax(72px,.9fr) auto; }
  .detail-card { grid-template-columns: minmax(110px,.75fr) minmax(150px,1.25fr) auto; }
}

@media (max-width: 860px) {
  .demo-page { display: block; padding: 0; }
  .product-film { min-height: 100vh; padding: 10px; }
  .product-header { grid-template-columns: 1fr auto; }
  .journey-progress { display: none; }
  .product-canvas { display: block; }
  .conversation-studio, .practice-studio { padding: 27px 22px; }
  .conversation-stage { min-height: 430px; }
  .practice-studio { border-top: 1px solid var(--line); border-left: 0; }
  .workspace-stage { min-height: 500px; }
  .film-footer { grid-template-columns: 1fr auto; gap: 10px; }
  .film-progress { grid-column: 1 / -1; grid-row: 2; }.film-controls > span { display: none; }
}

@media (max-width: 560px) {
  .demo-page { width: 100vw; max-width: 100vw; overflow: hidden; }
  .product-film { width: 100vw; max-width: 100vw; min-width: 0; padding: 6px; overflow: hidden; }
  .product-shell { width: calc(100vw - 12px); max-width: calc(100vw - 12px); min-width: 0; border-radius: 22px; }
  .product-canvas, .conversation-studio, .practice-studio { width: 100%; max-width: 100%; min-width: 0; }
  .product-header { min-height: 58px; padding: 9px 13px; }
  .brand-orbit { width: 31px; height: 31px; }.product-brand > span { font-size: 15px; }
  .conversation-studio, .practice-studio { padding: 24px 16px 18px; }
  .conversation-heading { display: block; }.time-note { display: inline-block; margin-top: 10px; }
  .known-context { grid-template-columns: auto 1fr; }.known-label { display: none; }
  .conversation-stage, .conversation-scene { width: 100%; max-width: 100%; min-width: 0; }
  .conversation-stage { min-height: 485px; }
  .conversation-scene h2 { max-width: 100%; font-size: 22px; overflow-wrap: anywhere; }
  .scene-note { max-width: 100%; overflow-wrap: anywhere; }
  .final-actions { flex-wrap: wrap; gap: 11px 15px; }
  .choice-grid, .date-choices { grid-template-columns: 1fr; }
  .choice { min-height: 40px; padding: 8px 11px; }
  .practice-heading { display: flex; }.practice-heading h2 { font-size: 24px; }
  .practice-metrics { grid-template-columns: 1fr 1fr; }.practice-metrics div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.practice-metrics div:nth-child(4) { border-top: 1px solid var(--line); }
  .workspace-stage { min-height: 535px; }
  .workspace-view { padding: 17px 14px; }
  .student-head { display: none; }
  .student-table { border: 0; overflow: visible; }
  .student-row { grid-template-columns: 1fr auto; gap: 5px 10px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
  .student-row > strong { font-size: 11px; }.student-row > span { grid-column: 1; }.student-row > span:nth-child(3) { color: #7b8397; font-size: 8px; }.student-row > b { grid-column: 2; grid-row: 1; }
  .detail-card { grid-template-columns: 1fr auto; align-items: center; }.detail-card label { grid-column: 1 / -1; }.field-check { grid-column: 2; grid-row: 1; }
  .review-summary { grid-template-columns: 1fr 1fr; }
  .film-footer p { font-size: 9px; }
}

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


/* Interaction playback uses the film clock so pause freezes every visible beat. */
.product-film { position: relative; }
.conversation-scene .choice-list,
.conversation-scene .field-choice,
.conversation-scene .continue-choice { opacity: 0; transform: translateY(5px); transition: opacity 200ms ease, transform 240ms ease; }
.conversation-scene.choices-revealed .choice-list,
.conversation-scene.choices-revealed .field-choice,
.conversation-scene.choices-revealed .continue-choice { opacity: 1; transform: none; }
.choice, .continue-choice, .detail-actions button { transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.choice.is-hovered { border-color: rgba(49,86,232,.45); box-shadow: 0 0 0 2px rgba(49,86,232,.06); }
.choice.is-pressed, .continue-choice.is-pressed, .detail-actions button.is-pressed { transform: scale(.98); }
.continue-choice.is-hovered, .detail-actions button.is-hovered { background: #2446cb; }
.demo-pointer { position: absolute; top: 0; left: 0; z-index: 10; width: 28px; height: 35px; opacity: 0; pointer-events: none; transform-origin: 3px 2px; will-change: transform; }
.demo-pointer svg { position: relative; width: 28px; height: 35px; overflow: visible; filter: drop-shadow(0 2px 2px rgba(17,26,58,.22)); transform-origin: 3px 2px; transform: scale(var(--pointer-scale, 1)); }
.pointer-ripple { position: absolute; top: -11px; left: -11px; width: 28px; height: 28px; border: 2px solid rgba(49,86,232,.65); border-radius: 50%; background: rgba(49,86,232,.08); opacity: var(--ripple-opacity, 0); transform: scale(var(--ripple-scale, .4)); }
.detail-card label { position: relative; }
.detail-card input { border-color: var(--line-strong); background: #fff; }
.detail-card .field-check { opacity: 0; }
.detail-card.is-complete .field-check { opacity: 1; }
.detail-card.is-complete input { border-color: rgba(71,198,163,.42); background: #fbfffd; }
.detail-card.is-editing input { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(49,86,232,.12); }
.detail-card.is-editing label::after { position: absolute; bottom: 8px; left: calc(9px + var(--caret-offset, 0px)); width: 1px; height: 11px; background: var(--blue); content: ""; opacity: var(--caret-opacity, 1); }
.detail-actions button:disabled { color: #81889b; background: #e8eaf0; }
[data-view="details"] .view-heading > b { font-variant-numeric: tabular-nums; }
.is-importing .continue-choice { background: #5468aa; }
.is-paused .demo-pointer { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .demo-pointer { display: none; }
}
