@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
  --ink: #292447;
  --ink-soft: #645e84;
  --muted: #948fb0;
  --line: #e4e1f1;
  --paper: #faf9ff;
  --white: #ffffff;
  --navy: #f1eefe;
  --navy-deep: #3d2f7a;
  --blue: #5b4bc4;
  --blue-pale: #eeebfd;
  --coral: #e8663a;
  --coral-pale: #fff0e8;
  --gold: #e4ac51;
  --gold-pale: #fff8e8;
  --mint: #ddd3ff;
  --mint-strong: #6f4fd0;
  --shadow: 0 18px 50px rgba(70,55,130, 0.1);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; background: var(--navy); color: var(--ink); min-height: 100vh; padding: 30px 20px 22px; position: sticky; top: 0; height: 100vh; border-right: 1px solid #e2dcf7; }
.brand-lockup { display: flex; gap: 12px; align-items: center; padding: 2px 8px 25px; }
.brand-mark { width: 34px; height: 34px; display: flex; gap: 3px; align-items: end; padding: 5px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; }
.brand-mark span { flex: 1; background: var(--mint); border-radius: 4px 4px 2px 2px; }
.brand-mark span:nth-child(1) { height: 11px; opacity: .7; }.brand-mark span:nth-child(2) { height: 18px; }.brand-mark span:nth-child(3) { height: 24px; opacity: .8; }
.eyebrow { margin: 0 0 6px; font: 500 10px/1.2 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sidebar .eyebrow { color: var(--ink-soft); }
.brand-name { margin: 0; font-size: 13px; line-height: 1.17; letter-spacing: -.01em; font-weight: 700; }.brand-name em { color: var(--navy-deep); font-style: normal; }
.sidebar-divider { height: 1px; background: rgba(61,47,122,.14); margin: 0 8px 30px; }
.progress-block { padding: 0 8px; }
.progress-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 13px; }.progress-title { margin: 0; font-size: 15px; font-weight: 600; }.progress-heading strong { color: var(--mint-strong); font: 500 20px 'DM Mono', monospace; }
.progress-track { height: 7px; border-radius: 10px; background: #ded8f5; overflow: hidden; }.progress-track span { display: block; height: 100%; width: 0%; background: var(--mint-strong); border-radius: inherit; transition: width .35s ease; }.progress-copy { color: var(--ink-soft); font-size: 11px; margin: 10px 0 0; }
.activity-nav { display: grid; gap: 7px; margin-top: 33px; }.nav-item { color: var(--ink-soft); text-align: left; border: 1px solid transparent; background: transparent; border-radius: 12px; display: grid; grid-template-columns: 36px 1fr 18px; gap: 8px; align-items: center; padding: 10px 9px; transition: .2s ease; }.nav-item:hover { background: rgba(255,255,255,.65); color: var(--ink); }.nav-item.active { background: rgba(255,255,255,.88); border-color: #c3b5f2; color: var(--ink); box-shadow: 0 5px 14px rgba(80,64,140, .08); }.nav-number { color: var(--mint-strong); font: 500 11px 'DM Mono', monospace; }.nav-item:not(.active) .nav-number { color: #8f86b5; }.nav-label { font-size: 12px; font-weight: 600; }.nav-state { font-size: 16px; color: #938ab8; }.nav-item.active .nav-state { color: var(--mint-strong); font-size: 12px; }.nav-item.completed .nav-state { color: var(--mint-strong); font-size: 12px; }
.sidebar-footer { margin-top: auto; }.support-card { border-top: 1px solid rgba(61,47,122,.14); padding: 20px 8px 14px; display: flex; gap: 10px; }.support-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--navy-deep); background: var(--mint); font-size: 13px; }.support-card strong { font-size: 11px; }.support-card p { margin: 4px 0 0; font-size: 10px; line-height: 1.45; color: var(--ink-soft); }.reset-button { border: 0; padding: 8px; background: transparent; color: var(--ink-soft); font-size: 11px; }.reset-button:hover { color: var(--ink); }

.main-content { min-width: 0; }.topbar { height: 76px; border-bottom: 1px solid var(--line); background: rgba(250,249,255,.88); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 74px); }.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-soft); }.breadcrumb strong { color: var(--ink); }.crumb-dot { color: var(--coral); font-size: 19px; line-height: 0; }.topbar-actions { display: flex; align-items: center; gap: 22px; }.save-state { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 11px; }.save-dot { width: 7px; height: 7px; border-radius: 50%; background: #4daf85; box-shadow: 0 0 0 4px #d9f2e7; }.ghost-button { border: 0; background: transparent; color: var(--ink-soft); font-size: 11px; padding: 9px 0; }.ghost-button:hover { color: var(--blue); }.ghost-button span { color: var(--coral); font-size: 15px; margin-left: 4px; }
.hero-section { min-height: 362px; color: var(--ink); background: linear-gradient(120deg, #f3efff 0%, #fff0e6 100%); display: flex; overflow: hidden; position: relative; padding: 58px clamp(24px, 8vw, 120px) 52px; }.hero-section::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(91,75,196,.16); right: -100px; top: -195px; }.hero-copy { max-width: 640px; position: relative; z-index: 2; }.tag-row { display: flex; gap: 7px; margin-bottom: 21px; }.tag { border-radius: 100px; padding: 6px 10px; font: 500 10px 'DM Mono', monospace; letter-spacing: .04em; }.tag-light { color: var(--navy-deep); background: var(--mint); }.tag-outline { border: 1px solid rgba(61,47,122,.25); color: var(--ink-soft); }.hero-section h1 { font: 500 clamp(38px, 5vw, 64px)/.97 'Fraunces', Georgia, serif; letter-spacing: -.04em; margin: 0 0 22px; }.hero-section h1 span { color: var(--navy-deep); }.hero-lede { margin: 0; max-width: 540px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }.hero-meta { display: flex; gap: 12px; align-items: center; margin-top: 30px; color: var(--ink-soft); font-size: 11px; }.avatar-stack { display: flex; }.avatar-stack span { width: 26px; height: 26px; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; font: 500 8px 'DM Mono', monospace; background: #e7b178; color: var(--navy-deep); }.avatar-stack span:first-child { margin-left: 0; background: #a996ee; }.avatar-stack span:nth-child(2) { background: #bb9bc7; }.avatar-stack span:last-child { background: #f4b9a0; color: var(--navy-deep); }
.hero-visual { width: 330px; height: 265px; position: absolute; right: clamp(25px, 7vw, 112px); top: 45px; }.orbit { position: absolute; left: 65px; top: 18px; border: 1px solid rgba(91,75,196,.25); border-radius: 50%; transform: rotate(-26deg); }.orbit-one { width: 220px; height: 220px; }.orbit-two { width: 280px; height: 145px; top: 58px; left: 33px; transform: rotate(27deg); border-color: rgba(232,102,58,.26); }.agent-core { position: absolute; width: 120px; height: 120px; top: 70px; left: 115px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; background: radial-gradient(circle at 35% 28%, #c4b5ff, #8f7ae6 55%, #6a55c9); border: 1px solid #5d49ba; box-shadow: 0 0 0 12px rgba(91,75,196,.09), 0 15px 40px rgba(70,55,130, .18); color: #fff; font: 500 10px/1.15 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .1em; }.core-spark { font-size: 25px; line-height: 1; color: #fff4d6; }.floating-chip { position: absolute; border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,.78); border: 1px solid rgba(61,47,122,.18); backdrop-filter: blur(6px); color: var(--ink); font-size: 10px; box-shadow: 0 8px 20px rgba(70,55,130, .1); }.chip-icon { color: var(--mint-strong); margin-right: 4px; font-size: 14px; }.chip-goal { top: 25px; left: 25px; }.chip-tools { top: 191px; left: 28px; }.chip-human { top: 91px; right: 0; }.content-wrap { max-width: 1045px; margin: 0 auto; padding: 46px clamp(24px, 5vw, 65px) 34px; }.welcome-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }.accent-eyebrow { color: var(--coral); }.welcome-row h2 { font: 500 29px/1.1 'Fraunces', Georgia, serif; margin: 0; letter-spacing: -.025em; }.participant-pill { display: flex; align-items: center; gap: 11px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px 6px 13px; box-shadow: 0 5px 16px rgba(35,28,70,.04); }.participant-pill label { color: var(--muted); font: 500 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }.participant-pill input { min-width: 100px; width: 115px; border: 0; outline: 0; color: var(--ink); font-size: 12px; background: transparent; }
.how-it-works { margin-bottom: 35px; }.section-label { display: flex; gap: 10px; align-items: center; color: var(--muted); font: 500 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 15px; }.section-label span:first-child { color: var(--coral); }.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }.principle-card { padding: 16px 17px; display: flex; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }.principle-icon { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 17px; }.icon-coral { background: var(--coral-pale); color: var(--coral); }.icon-blue { background: var(--blue-pale); color: var(--blue); }.icon-gold { background: var(--gold-pale); color: #c58624; }.principle-card h3 { margin: 0 0 4px; font-size: 12px; }.principle-card p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.activity-panel { overflow: hidden; border: 1px solid #d6d1ea; border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }.activity-panel-head { height: 55px; display: flex; align-items: center; gap: 19px; padding: 0 25px; border-bottom: 1px solid var(--line); }.activity-index { font: 500 11px 'DM Mono', monospace; color: var(--blue); }.activity-index .slash { color: #c5c0dc; margin: 0 5px; }.activity-type { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 11px; }.type-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }.activity-time { margin-left: auto; color: var(--muted); font: 10px 'DM Mono', monospace; }.activity-body { padding: 31px 34px 35px; min-height: 320px; }.activity-title-row { display: flex; justify-content: space-between; gap: 25px; }.activity-body h3 { max-width: 700px; margin: 0 0 10px; font: 500 27px/1.13 'Fraunces', Georgia, serif; letter-spacing: -.02em; }.activity-intro { max-width: 720px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; margin: 0 0 23px; }.prompt-box { margin: 23px 0; padding: 18px 20px; border-left: 3px solid var(--coral); border-radius: 0 10px 10px 0; background: #fff6f1; color: var(--ink); font-size: 14px; line-height: 1.5; }.prompt-box strong { color: var(--coral); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 6px; font-family: 'DM Mono', monospace; }.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 20px; }.option-card { position: relative; min-height: 78px; padding: 14px 15px 14px 43px; text-align: left; color: var(--ink); background: #fdfcff; border: 1px solid var(--line); border-radius: 10px; transition: .2s ease; }.option-card:hover { border-color: #ada2de; transform: translateY(-1px); }.option-card.selected { border: 2px solid var(--blue); background: var(--blue-pale); padding: 13px 14px 13px 42px; }.option-card.correct { border-color: #4ca879; background: #effaf4; }.option-card.incorrect { border-color: #dc8a80; background: #fff4f2; }.option-letter { position: absolute; top: 13px; left: 14px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: #ecebf6; color: var(--ink-soft); font: 500 10px 'DM Mono', monospace; }.selected .option-letter { background: var(--blue); color: #fff; }.option-card strong { display: block; margin-bottom: 3px; font-size: 12px; }.option-card small { color: var(--ink-soft); font-size: 11px; line-height: 1.35; }.action-row { display: flex; align-items: center; gap: 13px; margin-top: 20px; }.primary-button { border: 0; border-radius: 8px; padding: 11px 17px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 700; box-shadow: 0 6px 12px rgba(91,75,196,.2); transition: .2s ease; }.primary-button:hover { background: #46389f; transform: translateY(-1px); }.secondary-button { border: 1px solid var(--line); border-radius: 8px; padding: 10px 15px; color: var(--ink-soft); background: transparent; font-size: 12px; }.secondary-button:hover { border-color: #ada2de; color: var(--ink); }.feedback { display: none; border-radius: 9px; padding: 12px 14px; margin-top: 14px; font-size: 12px; line-height: 1.45; }.feedback.show { display: block; }.feedback.success { background: #eff9f3; border: 1px solid #bfe5cd; color: #28724a; }.feedback.note { background: #fff8e9; border: 1px solid #efd79b; color: #805d20; }.feedback strong { display: block; margin-bottom: 3px; }.next-row { display: flex; justify-content: flex-end; margin-top: 18px; }.next-button { background: transparent; border: 0; color: var(--coral); font-size: 12px; font-weight: 700; }.next-button:hover { color: #b8461f; }
.section-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }.section-nav-button { border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; color: var(--ink-soft); background: #fff; font-size: 11px; font-weight: 700; transition: .2s ease; }.section-nav-button:hover:not(:disabled) { color: var(--blue); border-color: #ada2de; background: var(--blue-pale); }.section-nav-button.next { justify-self: end; color: var(--coral); }.section-nav-button.next:hover:not(:disabled) { color: #b8461f; border-color: #efb59c; background: var(--coral-pale); }.section-nav-button:disabled { cursor: not-allowed; opacity: .35; }.section-nav-progress { color: var(--muted); text-align: center; font: 500 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .07em; }
.participant-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 22px 0 2px; padding: 20px; border: 1px solid #e2ddf5; border-radius: 12px; background: #f9f7ff; }.participant-field label { display: block; margin-bottom: 7px; color: var(--ink-soft); font: 500 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }.participant-field label span { color: var(--coral); }.participant-field input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 11px 12px; outline: 0; font-size: 12px; color: var(--ink); }.participant-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.11); }
.completion-overview { display: grid; grid-template-columns: 165px 1fr; align-items: center; gap: 22px; margin-bottom: 22px; padding: 20px; border: 1px solid #dcd3f7; border-radius: 12px; background: linear-gradient(110deg, #f5f2ff, #fff6ef); }.completion-score { display: grid; place-items: center; align-content: center; min-height: 95px; border-right: 1px solid #dcd3f7; }.completion-score strong { color: var(--mint-strong); font: 500 38px/.9 'Fraunces', Georgia, serif; }.completion-score span { margin-top: 8px; color: var(--ink-soft); font: 500 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .07em; }.completion-overview h4, .completion-section-heading h4 { margin: 0 0 6px; font-size: 14px; }.completion-overview p { max-width: 530px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }.completion-section { margin-top: 16px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.completion-section-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }.completion-section-heading .eyebrow { margin-bottom: 5px; }.completion-badge { flex: 0 0 auto; border-radius: 100px; padding: 6px 9px; color: var(--ink-soft); background: #f0eef8; font: 500 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .05em; }.completion-badge.ready { color: #2d7754; background: #eaf7ef; }.completion-badge.needs-attention { color: #986344; background: #fff3e6; }.participant-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }.participant-summary-grid div { min-width: 0; padding-top: 9px; border-top: 1px solid #efedf7; }.participant-summary-grid span { display: block; margin-bottom: 4px; color: var(--muted); font: 500 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }.participant-summary-grid strong { display: block; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.results-list { display: grid; gap: 7px; }.result-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 10px 11px; border: 1px solid #efedf7; border-radius: 8px; background: #fdfcff; }.result-row-main { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font-size: 11px; }.result-row-main > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.result-number { color: var(--blue); font: 500 10px 'DM Mono', monospace; }.result-row-status { font: 500 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .04em; }.result-row-status.complete { color: #2d7754; }.result-row-status.unanswered { color: #b4694c; }.answer-link { border: 0; padding: 0; color: var(--coral); background: transparent; font-size: 10px; font-weight: 700; white-space: nowrap; }.answer-link:hover { color: #a84420; }.completion-actions { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }.final-nav-item { margin-top: 8px; border-top: 1px solid rgba(61,47,122,.12); border-radius: 12px; }
.textarea-label { display: block; margin: 18px 0 8px; font-size: 11px; font-weight: 700; }.task-textarea { width: 100%; min-height: 84px; resize: vertical; padding: 13px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fdfcff; font-size: 12px; line-height: 1.5; }.task-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.1); }.text-hint { margin: 8px 0 0; color: var(--muted); font-size: 10px; }.canvas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }.canvas-field label { display: block; margin-bottom: 6px; color: var(--ink-soft); font: 500 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }.canvas-field input, .canvas-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fdfcff; padding: 11px; outline: 0; font-size: 12px; color: var(--ink); }.canvas-field textarea { min-height: 64px; resize: vertical; }.canvas-field input:focus, .canvas-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.1); }.canvas-field.full { grid-column: 1/-1; }.check-list { display: grid; gap: 8px; margin: 17px 0 5px; }.check-row { display: flex; gap: 9px; align-items: start; padding: 10px 11px; background: #fdfcff; border: 1px solid var(--line); border-radius: 8px; }.check-row input { accent-color: var(--blue); margin-top: 2px; }.check-row span { font-size: 12px; line-height: 1.4; }.check-row small { display: block; color: var(--ink-soft); font-size: 10px; margin-top: 2px; }
.reflection-strip { margin-top: 35px; padding: 22px 24px; border: 1px solid #e7d8bd; border-radius: 12px; background: #fffaf1; display: flex; align-items: start; gap: 16px; }.reflection-mark { color: var(--gold); font: 500 47px/.7 'Fraunces', serif; }.reflection-strip .eyebrow { color: #b1843e; }.reflection-strip p:last-child { margin: 0; max-width: 680px; color: #655943; font: 500 14px/1.45 'Fraunces', Georgia, serif; }.page-footer { display: flex; justify-content: space-between; gap: 15px; padding: 30px 0 4px; color: var(--muted); font-size: 10px; }.footer-spark { color: var(--coral); }
.toast { position: fixed; right: 24px; bottom: 24px; transform: translateY(20px); opacity: 0; pointer-events: none; padding: 11px 15px; color: #fff; background: var(--navy-deep); border-radius: 8px; font-size: 11px; box-shadow: 0 10px 30px rgba(45,35,90, .2); transition: .25s ease; }.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) { .app-shell { grid-template-columns: 235px minmax(0,1fr); }.hero-visual { opacity: .48; right: -20px; }.hero-copy { max-width: 580px; }.hero-section { padding-left: 56px; }.content-wrap { padding-left: 34px; padding-right: 34px; } }
@media (max-width: 760px) { .app-shell { display: block; min-height: 0; }.sidebar { position: static; height: auto; min-height: 0; padding: 17px 16px 15px; }.brand-lockup { padding-bottom: 15px; }.sidebar-divider, .progress-block, .sidebar-footer { display: none; }.activity-nav { display: flex; margin: 0; overflow-x: auto; padding: 4px 0 1px; scrollbar-width: none; }.activity-nav::-webkit-scrollbar { display: none; }.nav-item { min-width: 142px; padding: 9px; }.nav-item:not(.active) { border-color: rgba(61,47,122,.12); }.topbar { height: 62px; padding: 0 18px; }.topbar-actions { gap: 12px; }.ghost-button { display: none; }.hero-section { min-height: 440px; padding: 44px 24px 40px; }.hero-section h1 { font-size: 43px; }.hero-visual { top: 250px; right: -45px; opacity: .65; transform: scale(.8); transform-origin: top right; }.hero-lede { font-size: 14px; }.content-wrap { padding: 35px 18px 25px; }.welcome-row { display: block; }.principle-grid { grid-template-columns: 1fr; }.principle-card { padding: 13px; }.participant-form { grid-template-columns: 1fr; padding: 15px; }.completion-overview { grid-template-columns: 1fr; gap: 15px; }.completion-score { min-height: 78px; padding-bottom: 15px; border-right: 0; border-bottom: 1px solid #dcd3f7; }.participant-summary-grid { grid-template-columns: 1fr; }.result-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px; }.answer-link { grid-column: 1 / -1; justify-self: start; }.completion-actions { align-items: flex-start; flex-direction: column; }.activity-body { padding: 25px 20px 27px; }.activity-panel-head { padding: 0 18px; }.activity-body h3 { font-size: 25px; }.option-grid, .canvas-grid { grid-template-columns: 1fr; }.canvas-field.full { grid-column: auto; }.page-footer { flex-direction: column; gap: 7px; } }

.rich-intro { max-width: 820px; }
.rich-intro p, .rich-section > p { color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.pattern-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.pattern-card { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcff; }
.pattern-card > span { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: var(--blue); font: 500 10px 'DM Mono', monospace; }
.pattern-card strong { display: block; margin-bottom: 3px; font-size: 11px; }
.pattern-card p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.reference-callout { margin: 16px 0; padding: 14px 16px; border-left: 3px solid var(--blue); border-radius: 0 9px 9px 0; background: var(--blue-pale); color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.reference-callout strong { display: inline-block; margin-right: 5px; color: var(--blue); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.reference-callout a { color: var(--blue); font-weight: 700; }
.rich-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.rich-section h4 { margin: 0 0 10px; font-size: 14px; }
.rich-section h5 { margin: 17px 0 8px; color: var(--ink); font-size: 11px; }
.rich-section-inner { margin-top: 14px; padding-top: 14px; border-top: 1px solid #efedf7; }
.rich-table { margin: 16px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.rich-table-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); border-top: 1px solid #efedf7; }
.rich-table-row:first-child { border-top: 0; }
.rich-table-row > * { min-width: 0; padding: 9px 11px; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.rich-table-row > * + * { border-left: 1px solid #efedf7; }
.rich-table-head { background: var(--blue-pale); }
.rich-table-head > * { color: var(--blue); font: 500 9px 'DM Mono', monospace; letter-spacing: .04em; text-transform: uppercase; }
.rich-fields, .summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rich-field { min-width: 0; }
.rich-field.full { grid-column: 1 / -1; }
.rich-field label, .field-caption { display: block; margin: 0 0 6px; color: var(--ink-soft); font: 500 10px 'DM Mono', monospace; letter-spacing: .04em; text-transform: uppercase; }
.rich-field input, .rich-field textarea, .classification-row input, .classification-row select { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #fdfcff; font-size: 12px; }
.rich-field input, .classification-row input, .classification-row select { height: 38px; padding: 9px 10px; }
.rich-field textarea { min-height: 70px; padding: 10px; resize: vertical; line-height: 1.45; }
.rich-field input:focus, .rich-field textarea:focus, .classification-row input:focus, .classification-row select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.1); }
.loop-ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 15px 0; }
.loop-ribbon span { padding: 7px 9px; border: 1px solid #cfc7f2; border-radius: 7px; color: var(--blue); background: #f8f6ff; font: 500 10px 'DM Mono', monospace; }
.loop-ribbon b { color: var(--coral); font-size: 16px; }
.rich-list { margin: 10px 0 0 19px; padding: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.classification-list { display: grid; gap: 8px; margin-top: 15px; }
.classification-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: start; padding: 10px; border: 1px solid #efedf7; border-radius: 9px; background: #fdfcff; }
.classification-row select, .classification-row textarea { grid-column: 2; min-width: 0; }
.classification-row textarea { width: 100%; min-height: 84px; padding: 10px; resize: vertical; line-height: 1.45; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #fdfcff; font-size: 17px; }
.classification-row textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.1); }
.classification-selected { display: none; }
.classification-number { padding-top: 11px; color: var(--blue); font: 500 11px 'DM Mono', monospace; }
.scenario-copy { min-width: 0; padding-top: 3px; }
.scenario-copy strong { display: block; font-size: 11px; }
.scenario-copy p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.rich-check-list, .rich-radio-list { display: grid; gap: 7px; margin: 10px 0 15px; }
.rich-check, .rich-radio { display: flex; gap: 9px; align-items: start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fdfcff; font-size: 11px; line-height: 1.4; }
.rich-check input, .rich-radio input { flex: 0 0 auto; accent-color: var(--blue); margin-top: 2px; }
.rich-check small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 10px; }
.test-card { margin-top: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcff; }
.test-card h5 { margin: 0 0 7px; font-size: 12px; }
.test-prompt { margin: 0 0 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.test-response { margin-top: 12px; padding-top: 11px; border-top: 1px solid #ecebf5; }
.evaluation-list { display: grid; gap: 8px; }
.evaluation-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 10px; border: 1px solid #efedf7; border-radius: 8px; font-size: 11px; }
.evaluation-row .rich-radio-list { display: flex; gap: 8px; margin: 0; }
.evaluation-row .rich-radio { padding: 0; border: 0; background: transparent; }

@media (max-width: 760px) {
  .pattern-grid, .rich-fields, .summary-grid { grid-template-columns: 1fr; }
  .rich-field.full { grid-column: auto; }
  .classification-row { grid-template-columns: 24px minmax(0, 1fr); }
  .classification-row select, .classification-row input { grid-column: 2; }
  .classification-selected:not([hidden]) { display: block; grid-column: 2; padding: 8px 10px; border-radius: 8px; color: var(--blue); background: var(--blue-pale); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
  .evaluation-row { grid-template-columns: 1fr; gap: 5px; }
  .evaluation-row .rich-radio-list { margin-top: 2px; }
  .rich-table { overflow-x: auto; }
  .rich-table-row { min-width: 610px; }
}

/* Readability pass: give the activity instructions and response areas more room. */
.activity-body { font-size: 14px; }
.activity-body h3 { font-size: 29px; }
.activity-intro { font-size: 15px; }
.prompt-box { font-size: 16px; }
.option-card strong { font-size: 14px; }
.option-card small { font-size: 13px; }
.rich-intro p, .rich-section > p { font-size: 14px; }
.pattern-card strong { font-size: 13px; }
.pattern-card p, .scenario-copy p { font-size: 12px; }
.rich-table-row > * { font-size: 13px; }
.rich-list { font-size: 14px; }
.rich-field label, .field-caption { font-size: 12px; }
.rich-field input, .rich-field textarea, .classification-row input, .classification-row select { font-size: 14px; }
.rich-check, .rich-radio { font-size: 13px; }
.rich-check small { font-size: 12px; }
.test-prompt, .evaluation-row { font-size: 13px; }
.text-hint { font-size: 11px; }

@media (max-width: 760px) {
  .activity-body h3 { font-size: 27px; }
}

/* Apply the same readable scale to the Start and Finish activities. */
.participant-field label { font-size: 12px; }
.participant-field input { font-size: 14px; }
.completion-overview h4, .completion-section-heading h4 { font-size: 16px; }
.completion-overview p { font-size: 14px; }
.completion-score span { font-size: 11px; }
.participant-summary-grid span { font-size: 11px; }
.participant-summary-grid strong { font-size: 14px; }
.result-row-main { font-size: 13px; }
.result-row-status { font-size: 11px; }
.answer-link { font-size: 12px; }
.completion-badge { font-size: 11px; }
.primary-button, .secondary-button { font-size: 14px; }
.sidebar-save-state { display: flex; align-items: center; gap: 8px; margin: 11px 0 0; color: var(--ink-soft); font-size: 10px; }
.sidebar-save-state .save-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(221,211,255,.45); }
.nav-item.partial .nav-state { color: #b1843e; }

/* Slightly larger type across Activities 1–6 and all of their step fields. */
.rich-intro p, .rich-section > p { font-size: 15px; }
.rich-section h4 { font-size: 16px; }
.rich-section h5 { font-size: 13px; }
.pattern-card strong, .scenario-copy strong { font-size: 14px; }
.pattern-card p, .scenario-copy p { font-size: 13px; }
.rich-table-row > * { font-size: 14px; }
.rich-table-head > * { font-size: 10px; }
.loop-ribbon span { font-size: 11px; }
.rich-list { font-size: 15px; }
.classification-number { font-size: 12px; }
.rich-field label, .field-caption { font-size: 13px; }
.rich-field input, .rich-field textarea, .classification-row input, .classification-row select { font-size: 15px; }
.rich-check, .rich-radio { font-size: 14px; }
.rich-check small { font-size: 13px; }
.test-card h5 { font-size: 14px; }
.test-prompt, .evaluation-row { font-size: 14px; }
.result-row-status.partial { color: #b1843e; }
.activity-body { min-height: 700px; padding-bottom: 78px; }

@media (max-width: 760px) {
  .activity-body { min-height: 620px; padding-bottom: 66px; }
}

/* Final activity typography increase. */
.activity-body { font-size: 16px; }
.activity-body h3 { font-size: 31px; }
.activity-intro { font-size: 17px; }
.prompt-box { font-size: 18px; }
.option-card strong { font-size: 16px; }
.option-card small { font-size: 15px; }
.rich-intro p, .rich-section > p { font-size: 17px; }
.rich-section h4 { font-size: 18px; }
.rich-section h5 { font-size: 15px; }
.pattern-card strong, .scenario-copy strong { font-size: 16px; }
.pattern-card p, .scenario-copy p { font-size: 15px; }
.rich-table-row > * { font-size: 16px; }
.rich-table-head > * { font-size: 12px; }
.loop-ribbon span { font-size: 13px; }
.rich-list { font-size: 17px; }
.classification-number { font-size: 14px; }
.rich-field label, .field-caption { font-size: 15px; }
.rich-field input, .rich-field textarea, .classification-row input, .classification-row select { font-size: 17px; }
.rich-check, .rich-radio { font-size: 16px; }
.rich-check small { font-size: 15px; }
.test-card h5 { font-size: 16px; }
.test-prompt, .evaluation-row { font-size: 16px; }
.participant-field label { font-size: 14px; }
.participant-field input { font-size: 16px; }
.completion-overview h4, .completion-section-heading h4 { font-size: 18px; }
.completion-overview p { font-size: 16px; }
.participant-summary-grid span { font-size: 13px; }
.participant-summary-grid strong { font-size: 16px; }
.result-row-main { font-size: 15px; }
.result-row-status { font-size: 13px; }
.answer-link { font-size: 14px; }

@media (max-width: 760px) {
  .activity-body h3 { font-size: 29px; }
}

/* Workbook-specific reading and activity components. */
.steps-list { margin: 12px 0 0 22px; padding: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.steps-list li { margin: 4px 0; padding-left: 3px; }
.workflow-substeps { margin: 6px 0 10px 20px; padding: 0; list-style-type: lower-alpha; }
.workflow-substeps li { margin: 3px 0; }
.workflow-reference { max-width: 720px; margin: 22px 0 28px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcff; }
.workflow-reference img { display: block; width: 100%; height: auto; }
.workflow-reference figcaption { margin: 9px 3px 2px; color: var(--ink-soft); font-size: 13px; }
.instruction-list { margin-top: 8px; }
.instruction-block { margin: 15px 0; padding: 18px 20px; border: 1px solid #e3dff3; border-radius: 10px; background: #faf9ff; color: var(--ink); font: 14px/1.7 'DM Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.instruction-block strong { color: var(--blue); font-weight: 500; letter-spacing: .04em; }
.rich-intro > p { margin-bottom: 13px; }
.rich-intro > .rich-list { margin-bottom: 15px; }
.rich-section > .rich-list { margin-bottom: 15px; }
.rich-section h5 + .rich-list { margin-top: 5px; }
.rich-table .rich-field { min-width: 180px; }
.rich-table .rich-field label { font-size: 11px; }
.rich-table .rich-field input { height: 34px; font-size: 12px; }
.rich-table .rich-radio-list { margin: 0; gap: 5px; }
.rich-table .rich-radio { padding: 0; border: 0; background: transparent; font-size: 11px; }
.rich-table .rich-radio input { margin-top: 1px; }

@media (max-width: 760px) {
  .instruction-block { font-size: 12px; }
  .steps-list { font-size: 14px; }
}

/* Give Activity 2's summary answers more room. */
.loop-summary-table { overflow-x: auto; }
.loop-summary-table .rich-table-row { grid-template-columns: minmax(150px, 26%) minmax(340px, 74%); }
.loop-summary-table .rich-field { min-width: 0; }
.loop-summary-table .rich-field textarea { min-height: 120px; padding: 12px 14px; line-height: 1.5; }

/* Give Activity 3's written answers more room inside their tables. */
.canvas-use-case-table, .canvas-building-block-table { overflow-x: auto; }
.canvas-use-case-table .rich-table-row { grid-template-columns: minmax(170px, 30%) minmax(320px, 70%); }
.canvas-building-block-table .rich-table-row { grid-template-columns: minmax(145px, 21%) minmax(200px, 31%) minmax(300px, 48%); }
.canvas-table-answer { display: block; width: 100%; min-width: 0; min-height: 140px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #fdfcff; font: 15px/1.5 'DM Sans', sans-serif; resize: vertical; }
.canvas-table-answer:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.1); }
#participantDate:disabled { background: #f1eff9; color: var(--ink-soft); opacity: 1; cursor: not-allowed; }

/* School Students design touches */
.hero-section::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(91,75,196,.16) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(105deg, transparent 45%, #000 100%); mask-image: linear-gradient(105deg, transparent 45%, #000 100%); pointer-events: none; }
.hero-section h1 span { background: linear-gradient(transparent 70%, #ffd59a 70%, #ffd59a 94%, transparent 94%); }
.brand-mark { border-color: #cfc4f6; background: #fff; }
.brand-mark span:nth-child(1) { background: #8f7ae6; opacity: 1; }
.brand-mark span:nth-child(2) { background: #e8663a; }
.brand-mark span:nth-child(3) { background: #e4ac51; opacity: 1; }
.nav-item { border-radius: 100px; }
.nav-item.final-nav-item { border-radius: 100px; }
.principle-card { border-radius: 16px; border-top: 4px solid #e8663a; }
.principle-card:nth-child(2) { border-top-color: #5b4bc4; }
.principle-card:nth-child(3) { border-top-color: #e4ac51; }
.activity-panel, .reflection-strip { border-radius: 22px; }
.primary-button { border-radius: 100px; padding-left: 22px; padding-right: 22px; }
.activity-body { min-height: 0; padding-bottom: 35px; }
.coming-soon { margin-top: 22px; padding: 42px 24px; border: 2px dashed #cfc4f6; border-radius: 18px; background: linear-gradient(120deg, #f8f6ff, #fff8f2); text-align: center; }
.coming-soon-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 16px; background: #ddd3ff; color: var(--navy-deep); font-size: 24px; }
.coming-soon h4 { margin: 0 0 6px; font: 500 23px/1.2 'Fraunces', Georgia, serif; }
.coming-soon p { max-width: 460px; margin: 0 auto; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.result-row-status.soon { color: var(--muted); }

@media (max-width: 760px) {
  .activity-body { min-height: 0; padding-bottom: 27px; }
  .section-navigation { grid-template-columns: 1fr 1fr; }
  .section-nav-progress { grid-row: 1; grid-column: 1 / -1; }
}
.nav-item.final-nav-item:not(.active) { border-color: transparent; }
.section-nav-button.previous { justify-self: start; }

@media (max-width: 760px) {
  .hero-section { min-height: 0; }
  .hero-visual { display: none; }
  .nav-item, .nav-item.final-nav-item { min-width: 196px; border-radius: 14px; grid-template-columns: 18px 1fr 18px; }
}

/* Password screen */
.lock-screen { display: none; }
body.locked .app-shell, body.locked .toast { display: none; }
body.locked .lock-screen { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: linear-gradient(120deg, #f3efff 0%, #fff0e6 100%); }
.lock-card { width: min(430px, 100%); padding: 38px 32px 30px; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid #e8663a; border-radius: 22px; box-shadow: var(--shadow); }
.lock-card h1 { margin: 0 0 10px; font: 500 30px/1.12 'Fraunces', Georgia, serif; letter-spacing: -.02em; }
.lock-card p { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.lock-card .eyebrow { margin-bottom: 10px; color: #e8663a; font-size: 11px; }
.lock-card label { display: block; margin-bottom: 7px; text-align: left; color: var(--ink-soft); font: 500 12px 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.lock-card input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: #fdfcff; font-size: 17px; }
.lock-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,75,196,.14); }
.lock-card .lock-error { min-height: 20px; margin: 7px 0 9px; text-align: left; color: #b8461f; font-size: 13px; }
.lock-card .primary-button { width: 100%; padding-top: 13px; padding-bottom: 13px; }
.lock-back { display: inline-block; margin-top: 18px; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.lock-back:hover { color: var(--blue); }

/* Interactive activities */
.pattern-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 0 0 14px; }
.pattern-card { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fdfcff; }
.pattern-card > span { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--blue); font: 500 11px 'DM Mono', monospace; }
.pattern-card strong { display: block; margin-bottom: 3px; font-size: 14px; }
.pattern-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.pattern-card .pattern-more { margin-top: 7px; color: var(--ink); }
.pattern-card .pattern-example { margin-top: 7px; padding: 6px 10px; border-radius: 8px; background: #f1eefe; }
.pattern-example b { color: #b8461f; }
.classify-reveal { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.classify-reveal .secondary-button { font-size: 13px; }
.suggested { flex: 1 1 100%; padding: 12px 15px; border-left: 4px solid #5b4bc4; border-radius: 0 12px 12px 0; background: #f1eefe; font-size: 14px; line-height: 1.5; }
.suggested strong { color: var(--navy-deep); font: 500 11px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.suggested p { margin: 5px 0 0; }
.suggested .suggested-why { color: var(--ink-soft); }
.suggested .compare { color: #a84420; font-weight: 700; }
.suggested .compare.same { color: #28724a; }
.loop-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.loop-cards li { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fdfcff; }
.loop-cards li > span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #5b4bc4, #8a66d8); font: 500 11px 'DM Mono', monospace; }
.loop-cards strong { font-size: 15px; }
.loop-cards p { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.loop-cards small { display: block; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #f1eefe; font-size: 13px; line-height: 1.4; }
.case-request { padding: 16px 18px; border-radius: 14px; background: #fff6ef; border: 1px solid #f5d6c4; }
.case-request p { margin: 0; font-size: 15px; line-height: 1.5; }
.case-request blockquote { margin: 12px 0 0; padding: 12px 15px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: 16px; font-weight: 600; line-height: 1.5; box-shadow: 0 4px 12px rgba(184,70,31,.08); }
.case-heading { margin: 18px 0 10px; font-size: 14px; }
.task-block .case-request, .task-block .case-list.new { margin-top: 14px; }
.case-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.case-list li { position: relative; padding: 10px 14px 10px 36px; border: 1px solid var(--line); border-radius: 11px; background: #fdfcff; font-size: 14px; line-height: 1.5; }
.case-list li::before { content: '✓'; position: absolute; left: 14px; color: #5b4bc4; font-weight: 700; }
.case-list.new li { border-color: #f5d6c4; background: #fff9f4; }
.case-list.new li::before { content: '★'; color: #e8663a; }
.loop-question { margin-top: 18px; padding-top: 4px; border-top: 1px solid #efedf7; }
.loop-question .field-caption { line-height: 1.55; }
.live-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.live-slot:empty { display: none; }
.live-slot .secondary-button { font-size: 13px; }
.live-slot .feedback { flex: 1 1 100%; margin: 0; }
.loop-summary { display: grid; gap: 10px; }
.summary-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border: 2px solid #e4e1f1; border-radius: 16px; background: #fdfcff; }
.summary-row.done { border-color: #a9d9bd; background: #f7fcf9; }
.summary-row .rich-field { margin-top: 0; }
.task-block .summary-row .rich-field { margin-top: 0; }
.summary-row textarea { min-height: 58px; }
.summary-number { height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #eeebfd; font: 500 12px 'DM Mono', monospace; }
.summary-row.done .summary-number { font-size: 0; color: #fff; background: #4ca879; }
.summary-row.done .summary-number::after { content: '✓'; font-size: 16px; }
.canvas-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.canvas-cards strong { display: block; margin-top: 8px; font-size: 14px; }
.task-block .case-heading + .case-list { margin-top: 0; }
.must-not { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid #f0c4bd; border-radius: 14px; background: #fff4f2; }
.must-not p { margin: 0; font-size: 14px; line-height: 1.55; }
.must-not strong { color: #a83a24; }
.canvas-rows { display: grid; gap: 12px; margin-top: 14px; }
.canvas-row { padding: 13px 15px; border: 2px solid #e4e1f1; border-radius: 16px; background: #fdfcff; transition: border-color .2s ease, background .2s ease; }
.canvas-row.done { border-color: #a9d9bd; background: #f7fcf9; }
.task-block .canvas-row .rich-field { margin-top: 0; }
.canvas-row .rich-field label { color: var(--navy-deep); font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.canvas-row.done .rich-field label::after { content: ' ✓'; color: #2d7754; }
.canvas-question { margin: 0 0 9px; font-size: 14px; line-height: 1.5; }
.canvas-row textarea { min-height: 62px; }
.missing-details { grid-column: 1 / -1; padding-top: 8px; border-top: 1px dashed var(--line); }
.missing-details summary { cursor: pointer; color: #98542f; font-size: 13px; font-weight: 700; }
.missing-details p { margin: 12px 0 4px; color: var(--ink); font-size: 13px; font-weight: 700; }
.missing-details ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.key-idea { padding: 14px 18px; border-left: 4px solid #e8663a; border-radius: 0 12px 12px 0; background: var(--coral-pale); }
.key-idea strong { color: #b8461f; font: 500 11px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.key-idea p { margin: 5px 0 0; font-size: 15px; line-height: 1.5; }
.classify-list { display: grid; gap: 12px; }
.classify-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 12px; padding: 15px; border: 2px solid #e4e1f1; border-radius: 16px; background: #fdfcff; transition: border-color .2s ease, background .2s ease; }
.classify-row.done { border-color: #a9d9bd; background: #f7fcf9; }
.classify-number { height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #eeebfd; font: 500 12px 'DM Mono', monospace; }
.classify-row.done .classify-number { font-size: 0; color: #fff; background: #4ca879; }
.classify-row.done .classify-number::after { content: '✓'; font-size: 16px; }
.classify-story strong { display: block; padding-top: 6px; font-size: 15px; }
.classify-story p { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.classify-fields { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.classify-fields .rich-field textarea { min-height: 62px; }
.nav-item.soon:not(.active) { opacity: .62; }
.result-row-status.partial { color: #b1843e; }
.activity-meter { position: sticky; top: 0; z-index: 5; margin: 0 0 22px; padding: 13px 16px; border: 1px solid #dcd3f7; border-radius: 14px; background: rgba(248,246,255,.96); backdrop-filter: blur(8px); }
.activity-meter > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--navy-deep); font-size: 14px; }
.activity-meter #meterPercent { font: 500 14px 'DM Mono', monospace; color: #6f4fd0; }
.meter-track { height: 9px; border-radius: 20px; background: #ded8f5; overflow: hidden; }
.meter-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6f4fd0, #e8663a); transition: width .35s ease; }
.activity-panel { overflow: clip; }
.mission-banner { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #4d3fb0, #7a5ad6); }
.mission-banner > span { font-size: 30px; }
.mission-banner strong { font: 500 11px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #ffdfae; }
.mission-banner p { margin: 5px 0 0; font-size: 16px; line-height: 1.45; }
.flow-block h4 { margin: 24px 0 12px; font-size: 17px; }
.flow-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-strip li { position: relative; padding: 15px 8px 13px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: #fdfcff; }
.flow-strip li:not(:last-child)::after { content: '›'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: #e8663a; font-size: 20px; font-weight: 700; }
.flow-strip li span { display: block; font-size: 24px; }
.flow-strip li strong { display: block; margin: 4px 0 3px; font-size: 13px; }
.flow-strip li small { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.task-block { margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(70,55,130,.05); }
.block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.block-head h4 { flex: 1 1 200px; margin: 0; font: 600 20px/1.25 'Fraunces', Georgia, serif; }
.step-badge { padding: 6px 11px; border-radius: 100px; color: #fff; background: #e8663a; font: 500 10px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.block-chip { padding: 5px 10px; border-radius: 100px; color: var(--navy-deep); background: #eeebfd; font: 500 11px 'DM Mono', monospace; }
.block-chip.done { color: #2d7754; background: #eaf7ef; }
.block-intro { margin: 10px 0 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 11px; align-items: start; }
.explore-card { display: flex; flex-direction: column; gap: 5px; padding: 15px; text-align: left; color: var(--ink); border: 2px solid #e4e1f1; border-radius: 16px; background: #fdfcff; transition: .2s ease; }
.explore-card:hover { border-color: #ada2de; transform: translateY(-2px); }
.explore-icon { font-size: 26px; }
.explore-card strong { font-size: 15px; }
.explore-card small { color: var(--ink-soft); font-size: 13px; }
.explore-detail { display: none; margin-top: 6px; padding-top: 9px; border-top: 1px solid #e4e1f1; font-size: 13px; line-height: 1.5; }
.explore-card.open .explore-detail { display: block; }
.explore-cta { margin-top: 4px; color: #e8663a; font-size: 12px; font-weight: 700; }
.explore-card.seen { border-color: #c3b5f2; background: #f7f5ff; }
.explore-card.seen .explore-cta { font-size: 0; }
.explore-card.seen .explore-cta::after { content: '✓ Unlocked'; font-size: 12px; color: #2d7754; }
.quiz-item { padding: 15px 0; border-top: 1px solid #efedf7; }
.quiz-item:first-child { border-top: 0; padding-top: 2px; }
.quiz-question { display: flex; gap: 10px; margin: 0 0 11px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.quiz-question span { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: #eeebfd; color: var(--blue); font: 500 11px 'DM Mono', monospace; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 9px; }
.quiz-options.stacked { flex-direction: column; }
.quiz-button { padding: 10px 17px; text-align: left; color: var(--ink); border: 2px solid #e4e1f1; border-radius: 14px; background: #fff; font-size: 14px; transition: .15s ease; }
.quiz-button:hover { border-color: #ada2de; }
.quiz-button.correct { border-color: #4ca879; background: #effaf4; font-weight: 700; }
.quiz-button.incorrect { border-color: #dc8a80; background: #fff4f2; }
.quiz-why { margin: 10px 0 0; padding: 9px 13px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.quiz-why.good { color: #28724a; background: #eff9f3; }
.quiz-why.again { color: #a84420; background: #fff4f2; }
.judge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 6px; }
.judge-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; text-align: left; color: var(--ink); border: 2px solid #e4e1f1; border-radius: 16px; background: #fdfcff; }
.judge-card strong { font-size: 15px; }
.judge-card span { font: 500 20px 'Fraunces', Georgia, serif; color: var(--blue); }
.judge-card small { color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.judge-card.selected { border-color: #5b4bc4; background: #eeebfd; }
.task-block .rich-field { margin-top: 12px; }
.task-block .rich-check { cursor: pointer; }
.coach-question { padding: 16px 18px; border-radius: 14px; background: #fff6ef; border: 1px solid #f5d6c4; }
.coach-question span { display: block; margin-bottom: 5px; color: #b8461f; font: 500 10px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.coach-question strong { font-size: 18px; line-height: 1.4; }
.hint-card { margin-top: 12px; padding: 13px 16px; border-left: 4px solid #e4ac51; border-radius: 0 12px 12px 0; background: #fff8e8; }
.hint-card.level-2 { border-left-color: #e8663a; background: #fff2ea; }
.hint-card.level-3 { border-left-color: #5b4bc4; background: #f1eefe; }
.hint-card strong { font-size: 13px; }
.hint-card p { margin: 5px 0 0; font-size: 15px; line-height: 1.5; }
.hint-card small { color: var(--ink-soft); font-size: 12px; }
.quarter-bar { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 440px; margin: 12px 0 5px; overflow: hidden; border: 2px solid #5b4bc4; border-radius: 10px; }
.quarter-bar span { display: grid; place-items: center; min-height: 52px; text-align: center; font-size: 12px; line-height: 1.3; background: #fff; }
.quarter-bar span + span { border-left: 2px dashed #5b4bc4; }
.quarter-bar .off { background: #ffd59a; font-weight: 700; }
.secondary-button:disabled { opacity: .45; cursor: not-allowed; }
.answer-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 6px; }
.answer-row .rich-field { flex: 0 1 260px; }
.answer-row .primary-button { height: 40px; }
.instruction-details { margin-top: 14px; }
.instruction-details summary { cursor: pointer; color: var(--blue); font-size: 14px; font-weight: 700; }
.instruction-details .instruction-block { max-height: 340px; overflow: auto; font-size: 13px; }
.task-block .field-caption { margin-top: 16px; }
.prompt-list { display: grid; gap: 8px; }
.prompt-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; text-align: left; color: var(--ink); border: 1px dashed #c3b5f2; border-radius: 12px; background: #fdfcff; font-size: 14px; }
.prompt-chip b { color: #e8663a; font-size: 12px; }
.idea-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 13px; }
.idea-chip { padding: 7px 12px; color: var(--navy-deep); border: 1px solid #c3b5f2; border-radius: 100px; background: #f7f5ff; font-size: 13px; }
.rich-field select { width: 100%; height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fdfcff; font-size: 15px; }
.command-box { margin-top: 16px; padding: 14px 16px; border-radius: 14px; color: #fff; background: #332a63; }
.command-box > div { display: flex; justify-content: space-between; align-items: center; }
.command-box strong { color: #ffdfae; font: 500 11px 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.copy-button { padding: 6px 13px; border: 0; border-radius: 100px; color: #332a63; background: #ffdfae; font-size: 12px; font-weight: 700; }
.command-box pre { margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.7 'DM Mono', monospace; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 18px; align-items: start; }
.studio-fields .rich-field textarea { min-height: 62px; }
.post-preview { position: sticky; top: 90px; margin-top: 12px; padding: 14px; border: 1px solid #dcd3f7; border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head strong { display: block; font-size: 14px; }
.post-head small { color: var(--muted); font-size: 12px; }
.post-avatar { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #6f4fd0, #e8663a); }
.post-visual { display: grid; place-items: center; align-content: center; min-height: 140px; margin: 12px 0; padding: 14px; text-align: center; border-radius: 14px; background: linear-gradient(135deg, #eeebfd, #fff0e6); }
.post-visual span { font-size: 30px; }
.post-visual p { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }
.post-caption, .post-tags, .post-question, .post-alt { margin: 8px 0 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.post-tags { color: var(--blue); }
.post-alt { padding-top: 10px; border-top: 1px solid #efedf7; color: var(--ink-soft); }
.post-alt strong { display: block; font-size: 12px; }
.safety-note { display: flex; gap: 13px; margin-top: 22px; padding: 15px 18px; border: 1px solid #bfe5cd; border-radius: 14px; background: #f1faf4; }
.safety-note > span { font-size: 24px; }
.safety-note p { margin: 0; font-size: 14px; line-height: 1.5; }
.safety-note strong { display: block; color: #28724a; }
.celebrate { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 2px solid #4ca879; background: #effaf4; }
.celebrate[hidden] { display: none; }
.celebrate > span { font-size: 34px; }
.celebrate p { margin: 3px 0 0; font-size: 14px; }
.toast { z-index: 20; font-size: 13px; }

@media (max-width: 1150px) {
  .studio-grid { grid-template-columns: 1fr; }
  .post-preview { position: static; }
}

@media (max-width: 1150px) {
  .canvas-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .loop-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-strip { grid-template-columns: 1fr; gap: 8px; }
  .flow-strip li { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; text-align: left; padding: 10px 12px; }
  .flow-strip li span { grid-row: span 2; }
  .flow-strip li strong { margin: 0; }
  .flow-strip li:not(:last-child)::after { content: none; }
  .judge-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .task-block { padding: 15px 13px; }
  .pattern-grid, .classify-fields, .loop-cards, .canvas-cards { grid-template-columns: 1fr; }
  .case-request, .summary-row, .canvas-row { padding: 12px 10px; }
  .classify-row { padding: 12px 10px; }
  .classify-story { display: contents; }
  .classify-story strong { align-self: center; padding-top: 0; }
  .classify-story p { grid-column: 1 / -1; margin-top: 10px; }
  .classify-fields { margin-top: 13px; }
  .classify-fields .rich-field { margin-top: 0; }
  .classify-fields, .classify-reveal { grid-column: 1 / -1; }
  .activity-body .rich-fields { grid-template-columns: 1fr; }
}
