:root{color-scheme:light;--bg:#f5f7f6;--surface:#fff;--ink:#20302d;--muted:#697772;--line:#dde5e0;--accent:#276c59;--accent-dark:#1e5445;--soft:#eaf2ee;--danger:#a23e3a;--serif:Georgia,"Noto Serif SC","Songti SC","SimSun",serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.8 "Segoe UI","Microsoft YaHei","PingFang SC",sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a0cbbc;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.45;font-weight:600;letter-spacing:-.5px;margin-bottom:15px}h2{font-size:20px;font-weight:600;line-height:1.5}h3{font-size:16px;font-weight:600}p{overflow-wrap:anywhere}small{font-size:12px}[hidden]{display:none!important}.topbar{height:83px;padding:0 5%;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:13px;color:var(--ink);font-size:16px;font-weight:650;line-height:1.3}.brand:hover{text-decoration:none}.brand small{display:block;font:9px/1.8 ui-monospace,Consolas,monospace;letter-spacing:1.3px;color:var(--muted);font-weight:400;margin-top:3px}.brand-icon{display:grid;place-items:center;width:34px;height:36px;background:var(--accent);color:white;border-radius:5px;font-size:26px}.top-meta{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.secure-dot{width:6px;height:6px;background:var(--accent);border-radius:50%}.tag{font-size:11px;padding:3px 9px;background:var(--soft);color:var(--accent);border-radius:4px}.preview-banner{padding:6px 5%;background:#f0eee6;color:#756649;border-bottom:1px solid #e6dfcd;font-size:11px;letter-spacing:.2px}.eyebrow{font:11px/1.6 ui-monospace,Consolas,monospace;letter-spacing:1.4px;color:var(--accent);margin-bottom:14px}.muted{color:var(--muted);font-size:13px}.lead{color:var(--muted);max-width:650px}.button{display:inline-flex;justify-content:center;align-items:center;gap:22px;padding:11px 22px;min-height:46px;color:#fff;background:var(--accent);border:1px solid var(--accent);border-radius:5px;font-weight:500;font-size:14px}.button:hover{background:var(--accent-dark);text-decoration:none}.button.secondary{background:transparent;color:var(--accent);border-color:var(--line)}.button.secondary:hover{background:var(--soft)}.text-button{border:0;background:transparent;color:var(--muted);font-size:12px;padding:5px 0}.text-button:hover{color:var(--accent)}.site-footer{max-width:1160px;margin:0 auto;padding:26px 26px 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px}.site-footer a{color:var(--muted)}.login-layout{max-width:1060px;min-height:650px;margin:52px auto 58px;display:grid;grid-template-columns:1.15fr 1fr;background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.login-story{padding:55px 46px 40px;background:#edf3ef;position:relative;display:flex;flex-direction:column}.login-story h1{font-size:35px;line-height:1.65;font-family:var(--serif);letter-spacing:1px}.login-story>.lead{font-size:14px;max-width:340px}.login-form-wrap{padding:60px 46px 38px;display:flex;flex-direction:column;justify-content:center}.login-form-wrap h2{font-size:24px;margin-bottom:9px}.login-form-wrap .button{width:100%;margin-top:14px;justify-content:space-between}.login-form-wrap label{font-size:13px;display:block;margin:21px 0 7px}.login-footnote{font-size:11px;color:var(--muted);margin-top:22px;line-height:1.9}.login-detail{display:flex;gap:20px;margin-top:auto;padding-top:23px;font-size:11px;color:#66766f}.login-detail span{display:flex;align-items:center;gap:7px}.login-detail b{font-size:16px;font-weight:500;color:var(--accent)}.orbit{position:relative;width:260px;height:205px;margin:24px auto 10px}.orbit-ring{position:absolute;width:165px;height:165px;left:48px;top:15px;border:1px solid #cddcd3;border-radius:50%}.orbit-ring.inner{inset:51px 82px;width:93px;height:93px;border-style:dashed}.orbit-center{position:absolute;left:107px;top:74px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d1e0d6;font-family:var(--serif);color:var(--accent);font-size:24px}.orbit-person{position:absolute;width:43px;height:43px;border:4px solid #edf3ef;border-radius:50%;background:#dde7e0;display:grid;place-items:center;overflow:hidden;color:var(--accent);font-family:var(--serif);font-size:18px}.orbit-person img{width:100%;height:100%;object-fit:cover}.orbit-person:nth-of-type(1){left:111px;top:0}.orbit-person:nth-of-type(2){left:184px;top:43px}.orbit-person:nth-of-type(3){left:184px;top:125px}.orbit-person:nth-of-type(4){left:111px;top:163px}.orbit-person:nth-of-type(5){left:38px;top:125px}.orbit-person:nth-of-type(6){left:38px;top:43px}input[type=text],input[type=password],input[type=number],select,textarea{width:100%;border:1px solid #ccd8d0;background:#fff;border-radius:5px;padding:10px 13px;min-height:45px;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:var(--accent)}input::placeholder,textarea::placeholder{color:#a2aaa5}textarea{resize:vertical;line-height:1.9;min-height:145px}.error-message{padding:11px 14px;color:var(--danger);background:#fcf0ef;border-radius:4px;font-size:13px;margin:18px 0}.study-layout{max-width:1230px;margin:0 auto;display:grid;grid-template-columns:228px minmax(0,1fr);min-height:calc(100vh - 165px)}.study-sidebar{padding:40px 25px 30px 22px;border-right:1px solid var(--line)}.sidebar-title{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.6;margin-bottom:12px}.sidebar-note{font-size:12px;color:var(--muted);margin-bottom:32px;line-height:1.9}.step-list{padding:0;list-style:none;margin:0 0 36px;display:flex;flex-direction:column;gap:22px}.step-list li{display:flex;align-items:center;gap:12px;color:#8a9690;font-size:12px}.step-list .step-circle{width:23px;height:23px;border-radius:50%;border:1px solid #ccd8d0;font:10px ui-monospace,monospace;display:grid;place-items:center;flex:none}.step-list .active{color:var(--accent);font-weight:600}.step-list .active .step-circle{background:var(--accent);color:#fff;border-color:var(--accent)}.step-list .done .step-circle{background:#e1ece5;border-color:#c7d9cd;color:var(--accent)}.sidebar-id{border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:11px}.sidebar-id code{display:block;color:var(--ink);margin:5px 0 15px;font-size:11px;overflow-wrap:anywhere}.study-main{background:white;padding:31px 49px 55px;min-width:0}.save-strip{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:15px;margin-bottom:32px}.save-status{display:flex;align-items:center;gap:7px}.save-status::before{content:"";width:5px;height:5px;background:var(--accent);border-radius:50%}.save-status.error{color:var(--danger)}.page-kicker{font:11px ui-monospace,monospace;letter-spacing:1.2px;color:var(--accent);margin-bottom:10px}.page-description{color:var(--muted);font-size:13px;margin-bottom:27px}.section-divider{border:0;border-top:1px solid var(--line);margin:27px 0}.stimulus{border:1px solid var(--line);border-radius:6px;background:#f8faf8;padding:21px 23px;margin-bottom:27px}.stimulus-label{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin-bottom:8px}.stimulus h2{font-size:17px;margin-bottom:12px}.stimulus>p{font-size:14px;line-height:1.95;margin-bottom:18px}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{padding:12px 14px;border:1px solid #d9e2dc;border-radius:5px;background:#fff;font-size:12px;line-height:1.8}.option b{display:block;font-size:12px;font-weight:600;color:var(--accent);margin-bottom:3px}.survey-item{border:0;padding:0;margin:0 0 28px;min-width:0}.question-label,legend{display:block;width:100%;font-size:14px;font-weight:550;line-height:1.8;margin-bottom:12px;padding:0}.item-number{color:#8e9a93;font-size:11px;margin-right:8px;font-weight:400}.likert{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.likert.six{grid-template-columns:repeat(6,minmax(0,1fr))}.likert label{display:flex;align-items:center;justify-content:center;position:relative;min-height:46px;border:1px solid #d6dfd8;border-radius:5px;color:#58655f;cursor:pointer;background:#fff;font:14px ui-monospace,monospace;transition:background .15s}.likert label:hover{background:var(--soft);border-color:#a1c5b4}.likert input{position:absolute;opacity:0;width:1px;height:1px}.likert label:has(input:checked){background:var(--accent);border-color:var(--accent);color:#fff}.likert label:has(input:focus-visible){outline:3px solid #a0cbbc;outline-offset:2px}.scale-anchors{display:flex;justify-content:space-between;gap:20px;margin-top:7px;font-size:11px;font-weight:600;line-height:1.65;color:var(--muted)}.scale-anchors span:last-child{text-align:right}.char-count{font:11px/1.6 ui-monospace,monospace;color:var(--muted);text-align:right;margin:6px 0 0}.char-count.short{color:#94744d}.actions{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.actions .muted{font-size:11px;margin:0}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;cursor:pointer}.checkbox input{width:17px;height:17px;accent-color:var(--accent);margin-top:4px;flex:none}.consent-section h2{font-size:16px;margin:23px 0 8px}.consent-section p{font-size:13px;color:#58665e;line-height:1.95}.consent-section ul{font-size:13px;color:#58665e;padding-left:20px}.notice{padding:16px 18px;border-left:3px solid var(--accent);background:var(--soft);font-size:13px;line-height:1.9;margin:22px 0}.success-mark{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-size:25px;margin-bottom:24px}.completion{max-width:620px;padding:35px 0 60px}.completion h1{font-family:var(--serif);font-size:32px}.completion p{color:var(--muted);font-size:14px}.completion .button{margin-top:16px}.completion-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:25px 0;font-size:13px;display:flex;justify-content:space-between;gap:20px}.completion-details code{color:var(--accent)}.members{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:22px 0 32px}.member{text-align:center;font:11px ui-monospace,monospace;color:var(--muted)}.avatar{width:38px;height:38px;object-fit:cover;border-radius:50%;background:#e5ede6;display:inline-flex;align-items:center;justify-content:center;color:var(--accent);font:20px var(--serif);flex:none}.member .avatar{width:46px;height:46px;margin-bottom:8px}.member-name{display:block}.discussion-preamble{font-size:13px;color:var(--muted)}.message{border-top:1px solid var(--line);padding:22px 0 24px}.message-header{display:flex;align-items:center;gap:11px;margin-bottom:12px}.message-name{font-size:14px;font-weight:600}.ai-badge{font:9px ui-monospace,monospace;color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:1px 4px;margin-left:7px;vertical-align:middle}.message-position{margin-left:auto;font-size:10px;color:var(--muted);font-family:ui-monospace,monospace}.message-text{font-size:14px;line-height:1.95;margin:0 0 15px;white-space:pre-wrap;overflow-wrap:anywhere}.identification{padding:13px 14px;background:#f7f9f7;border:1px solid var(--line);border-radius:5px}.identification p{font-size:11px;color:var(--muted);margin-bottom:10px}.identify-options{display:flex;gap:7px;flex-wrap:wrap}.identify-options button{border:1px solid #d1dcd4;border-radius:4px;padding:7px 10px;font-size:11px;background:#fff;flex:1;white-space:nowrap}.identify-options button:hover{border-color:var(--accent);color:var(--accent)}.identified{font-size:11px;color:var(--accent);display:flex;align-items:center;gap:7px}.reply-block{border-top:2px solid var(--line);padding-top:23px;margin-top:15px}.history{border:1px solid var(--line);border-radius:5px;margin:14px 0;padding:10px 14px;color:var(--muted);font-size:12px}.history summary{cursor:pointer;font-size:12px}.history .message{padding:15px 0}.history .message-text{font-size:12px}.learner-history{white-space:pre-wrap;font-size:12px;border-left:2px solid #afc7b7;padding:7px 12px;margin-bottom:12px}.round-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.round-track{display:flex;gap:5px}.round-track i{width:18px;height:4px;background:#e1e7e2;border-radius:2px}.round-track .on{background:var(--accent)}.round-stimulus{font-size:12px;color:var(--muted);margin:15px 0 26px}.round-stimulus summary{cursor:pointer}.round-stimulus .stimulus{margin-top:15px}.loading-box{padding:35px;border:1px solid var(--line);border-radius:6px;background:#f7faf7;text-align:center}.loading-box p{color:var(--muted);font-size:13px;margin:14px 0 0}.loading-screen{display:flex;align-items:center;justify-content:center;gap:15px;min-height:450px;color:var(--muted)}.loading-screen p{margin:0}.spinner{display:inline-block;width:21px;height:21px;border:2px solid #cbded1;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.vote-progress{font:11px ui-monospace,monospace;color:var(--muted);margin-bottom:22px}.vote-stage{display:flex;gap:7px;align-items:center;margin-bottom:25px}.vote-stage span{flex:1;text-align:center;background:#f0f4f0;padding:7px 3px;font-size:10px;color:var(--muted);border-radius:3px}.vote-stage .active{background:var(--soft);color:var(--accent);box-shadow:inset 0 -2px var(--accent)}.votes-batch{margin-bottom:20px}.votes-batch h2{font-size:12px;color:var(--muted);font-weight:400;margin-bottom:10px}.vote-lines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.vote-line{padding:12px;border:1px solid var(--line);border-radius:5px;display:flex;align-items:center;gap:9px}.vote-line .avatar{width:29px;height:29px;font-size:16px}.vote-line span{font-size:11px}.vote-line b{display:block;font:14px ui-monospace,monospace;color:var(--accent)}.researcher-main{max-width:1180px;margin:43px auto;padding:0 25px}.panel{padding:25px;background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:22px}.panel h2{font-size:17px;margin-bottom:17px}.admin-login{max-width:570px;margin-top:30px}.admin-login>label{display:block;margin-bottom:7px;font-size:13px}.admin-login>.button{margin-top:20px}.dashboard-actions{display:flex;justify-content:space-between;align-items:center;margin:25px 0 20px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.metric{padding:20px;border:1px solid var(--line);border-radius:6px;background:#fff}.metric strong{display:block;font:32px/1.4 var(--serif);color:var(--accent)}.metric span{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:20px}.allocation-row{display:flex;gap:10px;align-items:center;font-size:11px;margin-bottom:13px}.allocation-label{width:55px;font-family:ui-monospace,monospace}.allocation-bar{flex:1;height:7px;background:var(--soft);border-radius:3px;overflow:hidden}.allocation-bar i{display:block;height:100%;background:var(--accent)}.allocation-count{width:55px;text-align:right;color:var(--muted)}.materials-list{font-size:12px;padding-left:18px;color:var(--muted)}.materials-list li{margin:8px 0}.export-panel{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.export-panel>div{flex:1;min-width:240px}.export-panel h2{margin-bottom:6px}.export-panel p{margin:0}.export-panel .checkbox{font-size:11px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:500}td code{font-size:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;max-width:90vw;background:#8c3f39;color:#fff;padding:13px 22px;border-radius:6px;font-size:13px;box-shadow:0 5px 20px #243b2725}.debrief-choice{margin:15px 0;padding:14px;border:1px solid var(--line);border-radius:5px;display:flex;gap:11px;align-items:center;font-size:13px}.debrief-choice:has(input:checked){background:var(--soft);border-color:var(--accent)}.debrief-choice input{accent-color:var(--accent)}
@media(min-width:1300px){.study-main{padding-left:63px;padding-right:63px}}@media(max-width:850px){.login-layout{margin:30px 24px;grid-template-columns:1fr 1fr}.login-story{padding:35px 27px}.login-story h1{font-size:29px}.login-form-wrap{padding:35px 27px}.orbit{transform:scale(.88);transform-origin:center;margin-left:-15px}.study-layout{grid-template-columns:185px minmax(0,1fr)}.study-sidebar{padding:32px 19px}.study-main{padding:26px 28px 45px}.sidebar-title{font-size:21px}.dashboard-grid{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:15px}}
@media(max-width:620px){body{font-size:14px}.topbar{height:71px;padding:0 20px}.brand{font-size:14px;gap:10px}.brand small{font-size:8px;letter-spacing:.7px}.brand-icon{width:29px;height:32px}.top-meta{font-size:10px;gap:5px}.preview-banner{padding:6px 20px;font-size:10px}.login-layout{display:block;margin:20px 16px 30px}.login-story{padding:27px 26px 23px}.login-story h1{font-size:27px;line-height:1.6;margin-bottom:9px}.login-story .eyebrow{margin-bottom:9px}.login-story>.lead{font-size:12px;margin-bottom:10px}.orbit{display:none}.login-detail{padding-top:7px;gap:18px}.login-form-wrap{padding:27px 26px 30px}.login-form-wrap h2{font-size:21px}.login-form-wrap label{margin-top:16px}.study-layout{display:block;min-height:calc(100vh - 170px)}.study-sidebar{padding:18px 22px;border-right:0;border-bottom:1px solid var(--line)}.study-sidebar>.eyebrow,.sidebar-title,.sidebar-note,.sidebar-id{display:none}.step-list{flex-direction:row;gap:0;justify-content:space-between;margin:0}.step-list li{flex-direction:column;gap:5px;font-size:10px}.step-list .step-circle{width:21px;height:21px}.study-main{padding:20px 22px 35px}.save-strip{margin-bottom:23px;font-size:10px}h1{font-size:24px}.page-description{font-size:12px}.stimulus{padding:17px 16px;margin-bottom:24px}.stimulus>p{font-size:13px;line-height:1.95}.options{grid-template-columns:1fr;gap:8px}.option{font-size:11px;padding:10px 12px}.survey-item{margin-bottom:26px}.question-label,legend{font-size:13px;line-height:1.8}.likert{gap:5px}.likert label{min-height:43px;font-size:13px}.scale-anchors{font-size:10px;gap:14px}.actions{align-items:flex-start;gap:13px}.actions>.button{flex:none;padding:10px 17px;gap:13px}.actions .muted{font-size:10px;max-width:140px;padding-top:4px}.members{gap:4px}.member{font-size:9px}.member .avatar{width:36px;height:36px}.message-text{font-size:13px}.identify-options{gap:5px}.identify-options button{font-size:10px;padding:8px 6px;white-space:normal}.identification{padding:11px}.vote-lines{gap:6px}.vote-line{flex-direction:column;padding:10px 5px;gap:6px;text-align:center}.vote-line span{font-size:10px}.vote-stage span{font-size:9px}.completion{padding:20px 0 40px}.completion h1{font-size:28px}.site-footer{font-size:10px;padding:20px 22px}.researcher-main{margin-top:29px;padding:0 18px}.metrics{grid-template-columns:1fr 1fr}.dashboard-actions{gap:12px}.panel{padding:20px}.export-panel .button{width:100%}.export-panel .checkbox{width:100%}.completion-details{font-size:11px}.round-heading{align-items:flex-start}.round-track i{width:13px}.history{padding:10px}.consent-section p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.allocation-row progress{flex:1;min-width:0;height:7px;accent-color:var(--accent);border:0;background:var(--soft)}
.allocation-row progress{appearance:none;-webkit-appearance:none;border-radius:4px;overflow:hidden}.allocation-row progress::-webkit-progress-bar{background:var(--soft)}.allocation-row progress::-webkit-progress-value{background:var(--accent)}.allocation-row progress::-moz-progress-bar{background:var(--accent)}
.consent-document-header{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px}.consent-subtitle{font:12px ui-monospace,monospace;letter-spacing:.7px;color:var(--muted);margin-bottom:0}.consent-ethics{font-size:12px;color:var(--muted);margin:12px 0 0}.consent-section section{margin-bottom:25px}.consent-section h2{border-bottom:1px solid var(--line);padding-bottom:8px}.consent-section .consent-study-title{font-weight:600;color:var(--ink)}.consent-section ol{padding-left:24px;font-size:13px;color:#58665e;line-height:1.95}.consent-section li{margin-bottom:8px}.consent-contact-box{background:#f5f8f5;border:1px solid var(--line);border-radius:5px;padding:20px}.consent-contact-box p:last-child{margin-bottom:0}.consent-contact-box a{overflow-wrap:anywhere}.consent-footer-note{font-size:12px;color:var(--muted);background:var(--soft);border-left:3px solid var(--accent);padding:14px 16px}.consent-actions{display:flex;gap:12px;margin-top:23px;padding-top:23px;border-top:1px solid var(--line)}.consent-actions .secondary{flex:1}.consent-actions button[type=submit]{flex:2}@media(max-width:620px){.consent-section ol{font-size:12px}.consent-contact-box{padding:15px}.consent-actions{flex-wrap:wrap}.consent-actions .button{padding:10px 15px}}
.login-layout.login-simple{display:block;max-width:470px;min-height:0;margin:64px auto 76px}.login-simple .login-form-wrap{padding:38px 36px}.site-footer{justify-content:flex-end}@media(max-width:620px){.login-layout.login-simple{margin:28px 18px 44px}.login-simple .login-form-wrap{padding:29px 25px}}
.choice-instruction{color:var(--muted);font-size:12px;margin:-3px 0 12px}.choice-options{display:grid;gap:8px}.choice-option{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:5px;padding:11px 14px;font-size:13px;cursor:pointer;min-height:45px}.choice-option input{accent-color:var(--accent);flex:none;margin:0}.choice-option:has(input:checked){background:var(--soft);border-color:var(--accent);color:var(--accent)}.choice-option:has(input:disabled){opacity:.5;cursor:default}.choice-number{font:12px ui-monospace,monospace;color:var(--muted)}.frequency-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.frequency-options .choice-option{flex-direction:column;justify-content:center;gap:6px;padding:10px 5px;text-align:center;font-size:12px}.frequency-options input{position:absolute;opacity:0;width:1px;height:1px}.frequency-options .choice-option:has(input:focus-visible){outline:3px solid #a0cbbc;outline-offset:2px}.na-option{margin-top:10px}.na-option .choice-option{font-size:12px}@media(max-width:620px){.choice-option{font-size:12px;padding:11px}.frequency-options{gap:5px}.frequency-options .choice-option{font-size:11px;padding:10px 3px}.choice-instruction{font-size:11px}}
/* Day 7 follow-up: debrief blocks and optional feedback (structure follows the Contrarian study4 debrief). */
:root{--warn-bg:#fbf6e8;--warn-line:#e4cf95;--warn-ink:#7a5a12}
.debrief-notice{margin:22px 0;padding:18px 20px;background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:5px}
.debrief-notice h2{font-size:16px;color:var(--warn-ink);margin-bottom:8px}
.debrief-notice p{font-size:13px;line-height:1.95;margin-bottom:8px}
.debrief-notice p:last-child{margin-bottom:0}
.debrief-reminder{margin:22px 0;padding:16px 18px;border-left:3px solid var(--accent);background:var(--soft)}
.debrief-reminder h2{font-size:15px;margin-bottom:6px}
.debrief-reminder p{font-size:13px;line-height:1.9;margin:0}
.feedback-box{margin:22px 0;text-align:left;border:1px dashed var(--line);border-radius:5px;padding:12px 16px;background:var(--surface)}
.feedback-box summary{cursor:pointer;color:var(--muted);font-size:13px}
.feedback-box[open] summary{margin-bottom:12px}
.roster-result{font-size:13px;margin-top:10px}
.roster-result li{color:var(--danger)}
.message-template{white-space:pre-wrap;font-size:13px;line-height:1.9;background:#f5f8f5;border:1px solid var(--line);border-radius:5px;padding:14px;margin:10px 0}

/* Top progress bar, as in the earlier Contrarian app; replaces the left sidebar so content uses the full width. */
.study-layout{display:block;max-width:1000px;margin:0 auto;min-height:calc(100vh - 165px)}
.progress-top{padding:24px 24px 20px}
.progress-steps{list-style:none;margin:0 auto;padding:0;display:flex;align-items:flex-start;max-width:780px}
.progress-steps li{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;color:#8a9690;font-size:12px;line-height:1.4;text-align:center}
.progress-steps li+li::before{content:"";position:absolute;top:12px;left:calc(-50% + 18px);right:calc(50% + 18px);height:2px;background:var(--line)}
.progress-steps li.done::before,.progress-steps li.active::before{background:#b6d1c2}
.progress-steps .step-circle{width:25px;height:25px;border-radius:50%;border:1px solid #ccd8d0;background:var(--surface);font:11px ui-monospace,Consolas,monospace;display:grid;place-items:center}
.progress-steps .active{color:var(--accent);font-weight:600}
.progress-steps .active .step-circle{background:var(--accent);border-color:var(--accent);color:#fff}
.progress-steps .done .step-circle{background:#e1ece5;border-color:#c7d9cd;color:var(--accent)}
.save-strip code{font-size:inherit;color:var(--ink)}
.save-meta{display:flex;align-items:center;gap:14px;flex:none}
.save-meta .text-button{font-size:inherit}
@media(max-width:620px){.progress-top{padding:14px 8px 12px}.progress-steps li{font-size:10px;gap:5px}.progress-steps .step-circle{width:21px;height:21px;font-size:10px}.progress-steps li+li::before{top:10px;left:calc(-50% + 14px);right:calc(50% + 14px)}.save-strip{flex-wrap:wrap;row-gap:4px}}

/* AV scenario card, laid out as the Contrarian (BJET) pre-test page's "scenario hero"; light colours. */
.scenario-hero{border:2px solid #b9d3c4;border-radius:14px;overflow:hidden;margin:6px 0 30px;background:linear-gradient(135deg,#eef5f1 0%,#fbf3f1 50%,#eef5f8 100%)}
.scenario-hero-header{background:linear-gradient(135deg,var(--accent),#3f7f9a);padding:20px 24px;text-align:center;color:#fff}
.scenario-hero-header .hero-icon{font-size:34px;display:block;line-height:1.2;margin-bottom:6px}
.scenario-hero-header h3{color:#fff;font-size:20px;font-weight:700;margin:0;letter-spacing:1px}
.scenario-hero-header .hero-subtitle{color:rgba(255,255,255,.85);font-size:13px;margin:6px 0 0}
.scenario-hero-body{padding:22px 24px}
.scenario-narrative{background:var(--surface);border-left:4px solid var(--accent);padding:14px 18px;border-radius:0 10px 10px 0;margin-bottom:18px;line-height:1.85;font-size:15px}
.scenario-vs{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:stretch}
.scenario-vs .vs-divider{display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:var(--muted)}
.scenario-choice{padding:18px;border-radius:10px;border:2px solid var(--line);background:var(--surface)}
.scenario-choice.choice-a{background:linear-gradient(135deg,#fdf4e3,#fffaf2);border-color:#e9c27a}
.scenario-choice.choice-b{background:linear-gradient(135deg,#e6f3f7,#f5fbfd);border-color:#86c3d6}
.scenario-choice .choice-tag{display:inline-block;padding:2px 10px;border-radius:20px;font-size:12px;font-weight:700;margin-bottom:8px}
.scenario-choice.choice-a .choice-tag{background:#f3d9a6;color:#7a5410}
.scenario-choice.choice-b .choice-tag{background:#bfe1eb;color:#1d5a6d}
.scenario-choice h4{font-size:15px;margin:0 0 6px}
.scenario-choice p{color:#4c5b55;font-size:13px;margin:0;line-height:1.6}
@media(max-width:640px){.scenario-vs{grid-template-columns:1fr}.scenario-vs .vs-divider{padding:2px 0}.scenario-hero-body{padding:16px}}

.vote-instructions{color:var(--ink);font-size:18px;line-height:1.75;white-space:pre-line;max-width:44em}
@media(max-width:620px){.vote-instructions{font-size:16px}}

.vote-stimulus{background:#f6f7f8;border-color:#e3e6ea}
.vote-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:2px 0 0}
.vote-option{
  padding:11px 13px;
  border:1px solid #d6dde2;
  border-radius:6px;
  background:#eef1f4;
  color:#3d4853;
  font-size:13px;
  line-height:1.65;
}
.vote-option dt{margin-bottom:3px;font-weight:700}
.vote-option dd{margin:0}

.votes-batch .vote-lines{
  gap:0;
  background:#eaf0f4;
  border-block:1px solid #dce4eb;
}
.votes-batch .vote-line{
  border:0;
  border-radius:0;
  background:transparent;
  color:#334755;
}
.votes-batch .vote-line + .vote-line{border-inline-start:1px solid #d5dfe7}
.votes-batch .vote-line b{color:inherit}
.vote-line.numbered-vote{
  display:grid;
  justify-items:center;
  align-content:center;
  gap:6px;
  min-height:78px;
  padding:10px 8px;
}
.numbered-vote .vote-member{display:flex;align-items:center;gap:8px}
.numbered-vote .vote-avatar{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#d8e3ea;
  color:#445f71;
}
.numbered-vote .vote-avatar-face{
  position:relative;
  width:16px;
  height:12px;
  border:1.5px solid currentColor;
  border-radius:4px;
}
.numbered-vote .vote-avatar-face::before{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:2px;
  height:2px;
  border-radius:50%;
  background:currentColor;
  box-shadow:5px 0 currentColor;
}
.numbered-vote .vote-avatar-face::after{
  content:"";
  position:absolute;
  bottom:100%;
  left:50%;
  width:1.5px;
  height:4px;
  background:currentColor;
  transform:translateX(-50%);
}
.numbered-vote .vote-identity{
  color:inherit;
  font:700 19px/1.2 ui-monospace,Consolas,monospace;
  white-space:nowrap;
}
.numbered-vote .vote-choice{color:inherit;font-size:14px;line-height:1.35;white-space:nowrap}
.numbered-vote .vote-choice strong{font-family:ui-monospace,Consolas,monospace;font-weight:700}
.vote-rating{
  background:#eef7f1;
  border:1px solid #c4dbce;
  border-top:3px solid #216a55;
  border-radius:7px;
  padding:17px 20px 20px;
}
.vote-rating h2{margin:0 0 16px;color:#1b624d;font-size:16px}
.vote-rating .likert label{border-color:#63957f;color:#1b624d;font-weight:700}
.vote-rating .likert label:hover{background:#dcefe4;border-color:#216a55}
.vote-rating .likert label:has(input:checked){color:#fff;background:#216a55;border-color:#216a55}
@media(max-width:620px){
  .vote-options{grid-template-columns:1fr;gap:8px}
  .vote-option{padding:9px 11px}
  .vote-line.numbered-vote{min-height:70px;gap:5px;padding:8px 4px}
  .numbered-vote .vote-member{gap:5px}
  .numbered-vote .vote-avatar{width:clamp(22px,7vw,27px);height:clamp(22px,7vw,27px)}
  .numbered-vote .vote-identity{font-size:clamp(14px,4.1vw,16px)}
  .numbered-vote .vote-choice{font-size:13px}
  .vote-rating{padding:13px 11px 14px}
}
