*{box-sizing:border-box} :root{font-family:SimHei,"黑体",sans-serif;color:#23334a;background:#f4f6fa;font-synthesis:none;line-height:1.65;font-size:15px}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:#3d63cc;text-decoration:none}header{height:86px;background:#fff;border-bottom:1px solid #e4e9f1;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.brand{color:#24364e;display:flex;align-items:center;gap:12px;font-size:19px;font-weight:750;line-height:1.3}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#8691a3;margin-top:5px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:#eaf0ff;color:#4565cc;border-radius:14px;font-size:23px}.header-right{display:flex;align-items:center;gap:18px}.connection{font-size:12px;color:#7c8b9b}.participant-badge{background:#e8f0ff;color:#315cc3;border-radius:10px;padding:7px 14px;font-weight:700}.subheader{display:flex;justify-content:space-between;align-items:center;max-width:1440px;margin:24px auto 14px;padding:0 28px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:#7a8dab}h1,h2,h3,p{margin-top:0}h1{font-size:25px;letter-spacing:.2px;margin:3px 0 0;line-height:1.5}h2{font-size:18px;margin-bottom:12px}h3{font-size:15px;margin-bottom:12px}p{margin-bottom:13px}.pill{display:inline-block;font-size:11px;font-weight:600;color:#657c9a;background:#eef3f9;border:1px solid #e5ebf4;padding:4px 11px;border-radius:30px;white-space:nowrap}.pill.violet{color:#7955bc;background:#f1ecfb;border-color:#e9defb}.progress{display:flex;align-items:center;max-width:1384px;margin:0 auto 22px;padding:9px 16px;background:#edf1f8;border-radius:12px;gap:20px}.progress span{font-size:12px;color:#8591a4;display:flex;align-items:center;gap:8px;white-space:nowrap}.progress b{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;background:#e3e9f3;font-size:11px}.progress .current{color:#3c62c6;font-weight:700}.progress .current b{color:#fff;background:#5879d7}.progress i{height:1px;width:50px;background:#d7dfed}.workspace{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(440px,1.1fr);gap:24px;max-width:1440px;margin:auto;padding:0 28px;align-items:start}.card{background:#fff;border:1px solid #e1e7f0;border-radius:18px;padding:25px;box-shadow:0 5px 22px #334d7510}.materials{display:grid;gap:18px}.card-title{display:flex;gap:10px;align-items:center;margin-bottom:16px}.card-title h2{margin:0}.card-title .pill{margin-left:auto;font-size:10px}.icon{font-size:22px;color:#6380c9}.reading{font-size:15px;line-height:1.95;color:#40516a;margin:0 0 21px;white-space:pre-wrap;overflow-wrap:anywhere}.reading:last-child{margin-bottom:0}.private{border-top:3px solid #8da2e1}.private .reading{font-size:16px;color:#2c405c;line-height:2}.options{list-style:none;padding:0;margin:0;display:grid;gap:11px}.options li{display:flex;gap:12px;font-size:14px;line-height:1.7}.options li b{flex:0 0 25px;width:25px;height:25px;background:#f0f3fa;border-radius:7px;text-align:center;color:#697fa5;font-size:12px}.material-foot{font-size:11px;color:#8994a5;text-align:center;line-height:1.8;margin:0 0 12px}.interaction{padding:0;overflow:hidden}.members{display:flex;gap:25px;padding:15px 24px;border-bottom:1px solid #e9edf4;font-size:12px;color:#65768d;background:#fcfdff}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#63aa91;margin-right:5px;vertical-align:middle}.status-dot.off{background:#c0c9d7}.interaction>.section-heading,.interaction>form{margin:22px 26px}.section-heading p{font-size:13px;color:#8290a5;line-height:1.7}.section-heading h2{margin:4px 0 9px}.choice{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;background:#f7f9fd;border:1px solid #e7ecf4;border-radius:10px;margin:10px 0;font-size:14px;cursor:pointer}.choice:has(input:checked){border-color:#7d98e2;background:#edf3ff}.choice input{margin-top:6px;accent-color:#5276d4}.choice b{color:#607fb7}.field{display:grid;gap:7px;margin:18px 0;font-size:13px;font-weight:600}.field span{color:#6e85b2;font-size:12px}input:not([type=radio]):not([type=range]),textarea,select{width:100%;border:1px solid #dbe3ee;border-radius:9px;padding:11px 13px;background:#fff;color:#344a68;outline:none;font-weight:400}input:focus,textarea:focus,select:focus{border-color:#7c99df;box-shadow:0 0 0 3px #eaf0ff}textarea{resize:vertical;min-height:72px;font-size:14px}input[type=range]{accent-color:#587bd7;width:100%}.primary,.secondary,.subtle{display:inline-block;text-align:center;border-radius:9px;font-size:13px;font-weight:650;padding:10px 17px;border:1px solid transparent;line-height:1.5}.primary{background:#5275d4;color:#fff;box-shadow:0 4px 8px #5275d41a}.primary:hover{background:#4567c3}.secondary{border-color:#d9e3f3;background:#f5f8ff;color:#4d6ca8}.subtle{background:#eff3fc;color:#6b7fa8;padding:7px 12px}.center-note{padding:55px 35px;text-align:center;min-height:380px;display:flex;flex-direction:column;justify-content:center;align-items:center}.center-note p{font-size:14px;color:#718299;max-width:380px}.large-symbol{font-size:40px;line-height:1.3;color:#829bdf;margin-bottom:20px}.center-note strong{color:#4266bb;font-size:24px}.chat-top{padding:21px 24px 13px;display:flex;align-items:center;justify-content:space-between}.chat-top h2{margin:3px 0 0;font-size:18px}.chat-log{height:365px;overflow-y:auto;overscroll-behavior:contain;padding:10px 23px 20px;border-bottom:1px solid #edf0f6;scrollbar-width:thin;scrollbar-color:#d9e2f0 transparent}.chat-empty{text-align:center;padding:60px 15px;color:#99a5b8;font-size:13px}.chat-empty>span{font-size:32px;color:#a8b6d3}.chat-empty h3{color:#7689a7;margin:10px}.chat-empty p{margin-bottom:5px}.message{margin:12px 0 20px}.message-head{display:flex;gap:8px;align-items:center;font-size:11px;color:#6d7f99;margin-bottom:7px}.message-head time{margin-left:auto;font-size:10px;color:#a5afbd}.avatar{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#e9eef8;color:#6482b8;font-size:10px;font-weight:750}.mine .avatar{background:#e2eeff;color:#4274c0}.ai-avatar{background:#ece5fa;color:#8765b4}.bubble{margin-left:33px;background:#f2f5fa;border:1px solid #eaf0f8;border-radius:0 12px 12px 12px;padding:11px 14px;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.mine .bubble{background:#edf3ff;border-color:#e2eaff}.ai .bubble{background:#f5f1fc;border-color:#ece4f7;color:#63517e}.composer{margin:0!important;padding:15px 23px}.composer textarea{border:0;background:#f5f7fb;min-height:75px}.composer>div{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:12px}.composer>div>div{display:flex;gap:7px}.muted{color:#8290a5;font-size:12px;font-weight:400}.joint-area{border-top:1px solid #e9edf5;padding:15px 24px 20px}.joint-area details summary{font-size:14px;font-weight:700;color:#4b6288;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.joint-content{padding-top:12px}.proposal{border:1px solid #dfe8f8;padding:14px;border-radius:10px;background:#f7faff;font-size:13px}.proposal p{white-space:pre-wrap;overflow-wrap:anywhere}.result{color:#42735a;font-weight:650}.pause-banner{max-width:1384px;margin:0 auto 18px;padding:12px 22px;background:#fff2d7;color:#927024;border:1px solid #f0ddaa;border-radius:10px}footer{text-align:center;padding:27px;color:#9aa6b8;font-size:11px}.admin-wrap{max-width:1280px;margin:36px auto;padding:0 30px}.admin-wrap h1{font-size:28px}.admin-grid{display:grid;grid-template-columns:340px 1fr;gap:25px;align-items:start}.admin-note{border-top:1px solid #e6ecf5;margin-top:25px;padding-top:20px;font-size:12px;color:#8190a5}.admin-note b{color:#597095}.admin-note p{margin-top:8px}.room-list>h2{font-size:16px;margin:0 0 16px}.room{margin-bottom:18px}.room-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.room h3{font-size:17px;margin-bottom:3px}.entry-links{display:grid;grid-template-columns:1fr 1fr;gap:14px}.entry-links>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#f5f8fd;border:1px solid #e7edf6;border-radius:12px;padding:16px}.entry-links small{font-weight:400;color:#8b99ad;margin-left:8px}.entry-links a{font-size:13px}.copy{font-size:11px}.actual{margin:16px 0;color:#7188a7;font-size:13px}.room-actions{display:flex;flex-wrap:wrap;gap:10px}.room-actions .secondary{font-size:11px;padding:7px 10px}.login{max-width:520px;margin-top:30px}.login p{color:#7a8ba4;font-size:13px}.empty-admin{padding:45px;color:#8392a9;text-align:center}.loading{padding:80px;text-align:center;color:#7b8eac}#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(100px);opacity:0;transition:.18s;background:#263954;color:#fff;padding:12px 22px;border-radius:12px;box-shadow:0 5px 25px #1c2d5240;z-index:99;max-width:90vw;font-size:13px}#toast.show{transform:translateX(-50%);opacity:1}:focus-visible{outline:3px solid #9bb2ef;outline-offset:3px}@media(min-width:1600px){.chat-log{height:440px}}@media(max-width:1000px){.workspace{grid-template-columns:1fr;max-width:780px}.subheader{max-width:780px}.progress{margin:0 28px 20px;gap:12px;justify-content:center}.progress i{width:15px}.admin-grid{grid-template-columns:1fr}.admin-grid>.card{max-width:none}.entry-links{grid-template-columns:1fr 1fr}.center-note{min-height:300px}}@media(max-width:600px){header{padding:0 20px;height:73px}.brand{font-size:16px}.brand-mark{width:36px;height:36px;font-size:20px}.brand small{font-size:8px}.connection{display:none}.subheader{padding:0 20px;gap:10px}.subheader h1{font-size:20px}.subheader .pill{display:none}.workspace{padding:0 14px;gap:16px}.card{padding:20px}.interaction{padding:0}.progress{gap:7px;margin:0 14px 16px;padding:9px}.progress span{font-size:10px;gap:5px}.progress i{width:6px}.progress b{width:19px;height:19px}.reading{font-size:14px}.private .reading{font-size:15px}.entry-links{grid-template-columns:1fr}.admin-wrap{padding:0 16px}.room-heading{align-items:flex-start}.composer .muted{font-size:10px}.chat-log{height:330px}}
/* 七阶段原型：独立测验时撤除材料栏。 */
.workspace.single{display:block;max-width:900px}.assessment-body{padding:26px}.assessment-body>h2{margin-top:7px}.assessment-body form{margin-top:20px}.scenario{background:#f4f7fd;border:1px solid #dfe7f3;border-radius:12px;padding:20px;margin:20px 0}.scenario p{margin-bottom:0}.discussion-guide{padding:0 24px;font-size:13px;color:#75859c}.return-discussion{margin:18px 0 10px}.draft-note{font-size:12px;color:#8c753f;background:#fcf8ec;border-radius:8px;padding:8px 12px}.seven-progress{gap:10px;overflow-x:auto}.seven-progress i{width:22px;flex-shrink:0}.seven-progress .done{color:#728c7f}.seven-progress span{flex-shrink:0}@media(max-width:1000px){.seven-progress{justify-content:flex-start}.seven-progress i{width:8px}}@media(max-width:600px){.assessment-body{padding:20px}.seven-progress{justify-content:flex-start}.seven-progress i{width:4px}.discussion-guide{padding:0 20px}}
/* 2026-11-02 简洁中文界面 */
.login-stage{min-height:calc(100vh - 86px);display:grid;place-items:center;padding:30px 20px}.login-card{width:min(100%,460px);text-align:center;padding:36px}.login-card h1{font-size:25px;margin-bottom:28px}.login-card .field{text-align:center}.login-card input{text-align:left}.login-card .primary{min-width:150px;margin-top:8px}.password-help{font-size:12px;color:#7b8a9e;margin-top:22px}.password-help p{margin-top:12px}.workspace.single{margin-top:28px}.background-panel{overflow:visible}.background-only .card{padding:34px}.reading-action{text-align:center;padding:22px}.confidence{border:0;padding:0;margin:24px 0}.confidence legend{font-size:13px;font-weight:600;margin-bottom:12px}.confidence-options{display:flex;gap:9px;justify-content:space-between}.confidence-options label{flex:1;cursor:pointer}.confidence-options input{position:absolute;opacity:0;width:1px!important;height:1px}.confidence-options span{display:grid;place-items:center;border:1px solid #dbe3ee;background:#f7f9fd;border-radius:9px;height:43px;color:#566c8a}.confidence-options input:checked+span{background:#edf3ff;border-color:#5275d4;color:#315bc0;font-weight:750}.confidence-options input:focus-visible+span{outline:3px solid #9bb2ef}.confidence-anchors{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#8390a2;margin-top:8px}.peer-body{text-align:center}.peer-choices{display:grid;gap:18px;margin:26px 0}.peer-choices>div{background:#f2f6ff;border:1px solid #e0e8f7;padding:20px;border-radius:13px;text-align:left}.peer-choices p{font-size:13px;color:#8490a4;margin-bottom:8px}.peer-choices strong{font-size:23px;color:#4566c3;line-height:1.7}.discussion-tasks{padding:0 24px 10px;border-bottom:1px solid #edf0f6}.discussion-tasks ol{margin:0;padding-left:22px;font-size:13px;color:#586c88;line-height:1.85}.chat-log{height:340px}.empty-chat{padding:70px 20px;text-align:center;color:#99a5b8;font-size:13px}.history-log{max-height:320px;overflow:auto;padding:12px;border:1px solid #e4ebf5;border-radius:10px;margin-top:10px}#history{font-size:13px;color:#627b9f;margin:18px 0}.joint-question,.exam-question{padding:4px 0 18px;border-bottom:1px solid #edf0f6;margin-bottom:16px}.joint-question>.field{font-size:14px;line-height:1.8}.answer-actions{display:flex;gap:12px;flex-wrap:wrap}.conflict{padding:12px;background:#fff6e2;color:#8a6525;font-size:12px;border-radius:8px}.conflict p{white-space:pre-wrap;overflow-wrap:anywhere}.conflict button{margin:5px}.assessment-body>p{font-size:14px;color:#6f819a}.admin-wrap{margin-top:28px}.eyebrow,.brand small{display:none!important}@media(max-width:600px){.login-stage{min-height:calc(100vh - 73px)}.confidence-options{gap:5px}.confidence-anchors{font-size:9px}.peer-choices strong{font-size:19px}.background-only .card{padding:22px}}
/* 问卷与黑体大字版，2026-11-02 */
:root{font-family:SimHei,"黑体",sans-serif;font-size:18px;color:#20242c}body,button,input,textarea,select{font-family:SimHei,"黑体",sans-serif}header{height:80px}.brand{font-size:24px}h1,.subheader h1,.admin-wrap h1{font-size:29px}h2,.chat-top h2{font-size:24px}h3,.room h3{font-size:21px}.reading,.private .reading{font-size:20px;line-height:1.9;color:#222a35}.options li,.choice,.field,.confidence legend,.assessment-body>p,.discussion-tasks ol{font-size:18px}.primary,.secondary,.subtle,.room-actions .secondary{font-size:17px}.muted,.pill,.material-foot,.message-head,.members,.admin-note{font-size:15px}.bubble,textarea,.center-note p,.section-heading p{font-size:18px}.message-head time,.confidence-anchors{font-size:14px}.participant-badge{font-size:18px}.survey-item{border:0;border-bottom:1px solid #e5eaf2;padding:0 0 24px;margin:24px 0}.survey-item legend{font-size:19px;line-height:1.7;margin-bottom:14px}.survey-options{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:7px}.survey-options label{cursor:pointer;min-width:0}.survey-options input{position:absolute;opacity:0;width:1px!important;height:1px}.survey-options span{display:grid;place-items:center;background:#f4f7fc;border:1px solid #dbe3ef;border-radius:8px;min-height:43px;font-size:18px}.survey-options input:checked+span{background:#e6edff;border-color:#4c6ac1;color:#284fa8;font-weight:bold}.survey-options input:focus-visible+span{outline:3px solid #9bb2ef}.survey-anchors{padding:12px 15px;background:#f1f5fb;border-radius:9px;font-size:17px;color:#3c4c63}.discussion-tasks ol{line-height:1.75}.chat-log{height:350px}.workspace{grid-template-columns:minmax(340px,.95fr) minmax(440px,1.1fr)}@media(max-width:1000px){.workspace{grid-template-columns:1fr}.workspace.single{max-width:900px}}@media(max-width:600px){.reading,.private .reading{font-size:18px}.survey-options{grid-template-columns:repeat(6,minmax(0,1fr))}.survey-item legend{font-size:18px}.confidence-anchors{font-size:12px}.brand{font-size:20px}.pill{font-size:13px}.assessment-body{padding:20px}.field{font-size:17px}}

.task-clock{position:sticky;top:0;z-index:10;text-align:center;background:#eef5ff;color:#173a68;padding:10px;font-weight:600}.task-clock.expired{background:#fff1e9;color:#923500}.confidence-options{flex-wrap:wrap}.confidence-options label{min-width:64px}.confidence-options span{white-space:normal}

/* 参与者大字号 2026-11-12 */
.workspace .discussion-tasks ol,.workspace .discussion-tasks li{font-size:21px;line-height:1.9;color:#26384c}
.workspace .joint-question>.field,.workspace .exam-question>.field,.workspace .field,.workspace .confidence legend,.workspace .survey-item legend{font-size:21px;line-height:1.85;color:#26384c}
.workspace .reading,.workspace .private .reading,.workspace .assessment-body>p,.workspace .demo-body p,.workspace .choice{font-size:21px;line-height:1.9}
.workspace textarea,.workspace input,.workspace select,.workspace button,.workspace .primary,.workspace .secondary{font-size:20px;line-height:1.7}
.workspace .bubble{font-size:20px;line-height:1.85}.workspace .muted,.workspace .confidence-anchors,.workspace .survey-anchors{font-size:17px;line-height:1.8}
.workspace h2{font-size:26px}.workspace h3{font-size:23px}.demo-chat{padding:20px;background:#f0f5ff;border:1px solid #d7e3fa;border-radius:12px;margin:20px 0}
.discussion-tasks{padding:20px 26px}.discussion-tasks ol{margin:0;padding-left:26px}.discussion-tasks li+li{margin-top:12px}
@media(max-width:600px){.workspace .reading,.workspace .private .reading,.workspace .field,.workspace .discussion-tasks li,.workspace .choice,.workspace .assessment-body>p,.workspace .demo-body p{font-size:19px}.workspace textarea,.workspace button{font-size:19px}}

/* 大字号与右上角任务计时 */
.workspace input:focus,.workspace textarea:focus{border-color:#111;box-shadow:0 0 0 2px #ddd}
.task-clock,.task-clock.expired{position:fixed;top:92px;right:24px;width:auto;z-index:30;padding:8px 14px;border:1px solid #777;border-radius:6px;background:#fff;color:#111;font-size:19px}
.subheader{padding-right:245px}.participant-badge,.brand-mark,.pill,.pause-banner{background:#fff;color:#111;border-color:#aaa}
@media(max-width:600px){.task-clock{top:86px;right:12px;font-size:17px;max-width:calc(100vw - 24px)}.subheader{padding-right:20px;padding-top:54px}.workspace .demo-ai-log{overflow-wrap:anywhere}}

/* 统一交互强调色：选中项与主要按钮，正文保持黑色 */
:root{--action-blue:#245bce;--action-blue-hover:#1949ad;--action-blue-light:#eef4ff}
.workspace .survey-options input:checked+span,
.workspace .confidence-options input:checked+span,
.workspace .choice:has(input:checked){background:var(--action-blue)!important;border-color:var(--action-blue)!important;color:#fff!important;font-weight:700;box-shadow:0 0 0 2px rgba(36,91,206,.16)}
.workspace .choice:has(input:checked) span,.workspace .choice:has(input:checked) b{color:#fff!important}
.workspace .survey-options input:not(:checked)+span,.workspace .confidence-options input:not(:checked)+span{background:#fff!important;color:#111!important;border-color:#929ba8}
.workspace .survey-options label:hover input:not(:checked)+span,.workspace .confidence-options label:hover input:not(:checked)+span,.workspace .choice:not(:has(input:checked)):hover{background:var(--action-blue-light)!important;border-color:var(--action-blue)!important}
.workspace .primary,.login-stage .primary{background:var(--action-blue)!important;border-color:var(--action-blue)!important;color:#fff!important}
.workspace .primary:hover,.login-stage .primary:hover{background:var(--action-blue-hover)!important;border-color:var(--action-blue-hover)!important}
.workspace .secondary,.workspace .subtle{background:#fff!important;border-color:var(--action-blue)!important;color:var(--action-blue)!important}
.workspace input[type=radio],.workspace input[type=checkbox]{accent-color:var(--action-blue)}
.workspace .survey-options input:focus-visible+span,.workspace .confidence-options input:focus-visible+span,.workspace button:focus-visible{outline:3px solid #8aacf0;outline-offset:3px}
.workspace .confidence-options span{min-height:52px;height:auto;padding:8px 10px}

/* 示范：顶部单标题、进度与双栏界面导览 */
body:has(.demo-body) .subheader{max-width:1440px;padding:0 28px;margin:18px auto 12px}
.workspace.single:has(.demo-body){max-width:1440px;margin-top:0}.interaction:has(.demo-body){border:0;box-shadow:none;overflow:visible}.assessment-body.demo-body{padding:0}
.demo-intro{font-size:19px;margin:0 0 16px}.demo-steps{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;padding:0;margin:0 0 22px;gap:12px}.demo-steps li{padding:12px 16px;border:1px solid #cdd3dc;border-radius:9px;display:flex;gap:12px;align-items:center;font-size:20px}.demo-steps li.active{border:2px solid #245bce;font-weight:700}.demo-steps li>span,.demo-index{display:inline-grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #aeb6c2;border-radius:50%;font-size:17px}
.demo-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.demo-pane{border:1px solid #cdd3dc;border-radius:12px;padding:22px;background:#fff}.demo-area-heading{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #e0e3e9;margin-bottom:18px}.workspace .demo-pane p,.workspace .demo-pane .reading{line-height:1.75;margin-bottom:18px}.workspace .demo-pane h3{font-size:22px}.demo-small-heading{font-size:20px;font-weight:600;margin:18px 0 10px}.demo-pane .choice{padding:10px 12px;margin:8px 0}.demo-material-note{border-top:1px solid #ddd;padding-top:14px;font-size:18px}.demo-rating-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.demo-rating-preview>span{border:1px solid #aeb6c2;border-radius:8px;text-align:center;padding:7px}.workspace .demo-caption{font-size:17px!important;margin:14px 0 0;line-height:1.6}
.demo-chat-preview{min-height:230px}.demo-message{padding:14px;border:1px solid #d9dee7;border-radius:10px;margin:12px 0}.demo-message p{margin:6px 0!important}.demo-compose-preview,.demo-empty-field{border:1px solid #cdd3dc;border-radius:8px;padding:16px;min-height:65px;font-size:19px}.demo-compose-preview{display:flex;justify-content:space-between;gap:10px}.demo-compose-preview>span{border:1px solid #245bce;padding:0 12px;border-radius:5px}.demo-confirm-preview{display:flex;gap:16px;margin:22px 0}.demo-confirm-preview>span{border:1px solid #245bce;padding:12px 20px;border-radius:8px}.demo-after-list{padding-left:25px;font-size:20px;line-height:1.8}.demo-after-list li{margin:12px 0}
.demo-footer{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;background:#fff;border-top:1px solid #d9dee7;margin-top:22px}.demo-footer>span{font-size:18px}
@media(max-width:1000px){.demo-layout{grid-template-columns:1fr}.demo-steps li{font-size:18px;padding:10px}.demo-pane{padding:18px}}@media(max-width:600px){.demo-steps{gap:6px}.demo-steps li{font-size:16px;gap:6px;padding:8px}.demo-steps li>span{width:24px;height:24px;font-size:14px}.demo-footer{gap:10px}}

.demo-footer-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.demo-footer-actions button{white-space:nowrap}@media(max-width:600px){.demo-footer{flex-wrap:wrap}.demo-footer-actions{margin-left:auto}}

/* 背景页横向分区，正文内容不变 */
.workspace.single:has(.background-only){max-width:1640px;width:100%;margin-top:12px}.interaction:has(.background-only){border:0;box-shadow:none;overflow:visible}.background-overview{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:24px;align-items:start}.background-overview .card{padding:26px}.background-overview .reading{white-space:normal;line-height:1.8;margin-bottom:20px}.background-overview .reading:last-child{margin-bottom:0}.background-only .reading-action{text-align:right;padding:22px 0}.background-only .reading-action button{min-width:180px}
@media(max-width:900px){.background-overview{grid-template-columns:1fr}.background-overview .card{padding:20px}}@media(max-width:600px){.workspace.single:has(.background-only){padding:0 16px}.background-only .reading-action button{width:100%}}

/* 任务正文：大字、首行两字符、1.5倍行距及横向充分利用 */
.workspace .reading,.workspace .private .reading,.workspace .background-overview .reading{font-size:24px!important;line-height:1.5!important;text-indent:2em;margin-bottom:14px;white-space:normal}
.workspace:not(.single){max-width:none;width:100%;padding:0 22px;gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.workspace.single:has(.background-only){max-width:none;width:100%;padding:0 22px;margin-top:8px}.subheader{max-width:none;width:100%;margin:14px auto 12px;padding-left:22px}
.background-overview{grid-template-columns:minmax(0,1.9fr) minmax(320px,1fr);gap:20px}.background-overview .card,.background-only .card{padding:20px}.background-overview h2{margin-bottom:14px}.background-only .reading-action{padding:14px 0}
.workspace .materials{gap:14px}.workspace .materials .card{padding:20px}.workspace .card-title{margin-bottom:12px}.workspace .discussion-tasks{padding:16px 22px}.workspace .discussion-tasks li{font-size:23px;line-height:1.5}.workspace .discussion-tasks li+li{margin-top:10px}
.workspace.single:has(.interaction[data-phase="assessment"]){max-width:1560px;width:100%;padding:0 22px}.workspace .scenario{padding:18px;margin:16px 0}
@media(max-width:1000px){.workspace:not(.single){grid-template-columns:1fr}.background-overview{grid-template-columns:1fr}}
@media(max-width:600px){.workspace .reading,.workspace .private .reading,.workspace .background-overview .reading{font-size:22px!important;line-height:1.5!important}.workspace:not(.single),.workspace.single:has(.background-only){padding:0 14px}.background-overview .card{padding:16px}.workspace .discussion-tasks li{font-size:21px}}

/* 背景阅读页统一版面 */
body:has(.background-only),body:has(.background-only) #app{min-height:100vh;background:#fff}
body:has(.background-only) header{height:68px;padding:0 32px;border-bottom:1px solid #e5e7eb}
body:has(.background-only) .brand{font-size:22px;font-weight:600}
body:has(.background-only) .subheader{max-width:1580px;width:calc(100% - 64px);padding:0;margin:22px auto 18px}
body:has(.background-only) .subheader h1{font-size:27px;font-weight:600;line-height:1.45}
.workspace.single:has(.background-only){max-width:1580px;width:calc(100% - 64px);padding:0;margin:0 auto 28px}
.background-only{padding:26px 32px 20px;border:1px solid #d8dce3;border-radius:12px;background:#fff}
.background-overview{display:block}.background-overview .card,.background-only .card{padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}
.background-overview .background-main h2,.background-overview .background-role h2{font-size:23px;font-weight:600;margin:0 0 16px;line-height:1.4}
.background-overview .background-main .reading,.background-overview .background-role .reading{font-size:24px!important;line-height:1.5!important;text-indent:2em;margin:0 0 16px;max-width:none}
.background-overview .background-main .reading:last-child{margin-bottom:0}
.background-overview .background-role{margin-top:22px;padding-top:20px;border-top:1px solid #e4e6ea}
.background-only .reading-action{display:flex;justify-content:flex-end;align-items:center;padding:20px 0 0;margin-top:18px;border-top:1px solid #e4e6ea}
.background-only .reading-action .primary{min-width:174px;padding:10px 24px;font-size:20px;line-height:1.5;border-radius:8px}
@media(min-width:1800px){body:has(.background-only) .subheader,.workspace.single:has(.background-only){max-width:1740px}}
@media(max-width:900px){body:has(.background-only) .subheader,.workspace.single:has(.background-only){width:calc(100% - 36px)}.background-only{padding:22px}.background-overview .background-main .reading,.background-overview .background-role .reading{font-size:22px!important}}
@media(max-width:600px){body:has(.background-only) header{padding:0 18px}.background-only{padding:18px}.background-only .reading-action .primary{width:100%}body:has(.background-only) .subheader h1{font-size:24px}}

/* 背景正文进一步放大，分区标题加粗 */
.workspace .reading,.workspace .private .reading,.workspace .background-overview .background-main .reading,.workspace .background-overview .background-role .reading{font-size:28px!important;line-height:1.5!important;text-indent:2em}
.background-overview .background-main h2,.background-overview .background-role h2{font-size:28px!important;font-weight:700!important}
@media(max-width:600px){.workspace .reading,.workspace .private .reading,.workspace .background-overview .background-main .reading,.workspace .background-overview .background-role .reading{font-size:24px!important}.background-overview .background-main h2,.background-overview .background-role h2{font-size:26px!important}}
/* 明确区分背景分区标题与正文 */
body .workspace .background-overview .background-main > h2,
body .workspace .background-overview .background-role > h2{font-family:SimHei,"黑体",sans-serif!important;font-size:34px!important;font-weight:800!important;line-height:1.3;margin-bottom:22px;letter-spacing:.5px}
body .workspace .background-overview .reading{font-weight:400}
@media(max-width:600px){body .workspace .background-overview .background-main > h2,body .workspace .background-overview .background-role > h2{font-size:30px!important;margin-bottom:18px}}
/* 资料并列页面采用紧凑阅读字号，独立背景页仍保持大字 */
.workspace:not(.single){gap:18px;padding:0 22px}
.workspace:not(.single) .materials{gap:12px}
.workspace:not(.single) .materials .card{padding:16px 20px}
.workspace:not(.single) .materials .reading,
.workspace:not(.single) .materials .private .reading{font-size:20px!important;line-height:1.5!important;text-indent:2em;margin:0 0 10px}
.workspace:not(.single) .materials .reading:last-child{margin-bottom:0}
.workspace:not(.single) .materials h2{font-family:SimHei,"黑体",sans-serif;font-size:23px!important;font-weight:700;margin-bottom:12px;line-height:1.35}
.workspace:not(.single) .materials .card-title{margin-bottom:10px}
.workspace:not(.single) .materials .card-title h2{margin:0}
.workspace:not(.single) .materials .pill{font-size:14px;padding:3px 8px}
.workspace:not(.single) .materials .options{gap:7px}
.workspace:not(.single) .materials .options li{font-size:18px;line-height:1.4}
.workspace:not(.single) .materials h3{font-size:20px;margin:12px 0 10px}
.workspace:not(.single) .assessment-body{padding:20px}
.workspace:not(.single) .assessment-body .field,.workspace:not(.single) .choice,.workspace:not(.single) .assessment-body>p{font-size:20px;line-height:1.5}
.workspace:not(.single) .discussion-tasks li{font-size:20px;line-height:1.5}
.workspace:not(.single) .center-note{padding:30px 24px;min-height:280px}
@media(min-width:1100px) and (max-height:900px){.workspace:not(.single) .materials .reading,.workspace:not(.single) .materials .private .reading{font-size:19px!important}.workspace:not(.single) .materials .card{padding:14px 18px}}
/* 资料页统一22px，不再随屏幕高度缩小 */
.workspace:not(.single) .materials .reading,
.workspace:not(.single) .materials .private .reading{font-size:22px!important;line-height:1.5!important;margin-bottom:8px}
.workspace:not(.single) .materials h2{font-size:25px!important}
.workspace:not(.single) .materials .card{padding:14px 18px}
.workspace:not(.single) .materials{gap:10px}
.workspace:not(.single) .assessment-body .field,.workspace:not(.single) .choice,.workspace:not(.single) .assessment-body>p,.workspace:not(.single) .discussion-tasks li{font-size:22px;line-height:1.5}
@media(min-width:1001px){.workspace:not(.single){grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}}
/* 个人资料阅读阶段：背景左、个人资料右 */
.workspace .personal-reading{padding:18px 22px}.workspace .personal-reading .reading{font-size:22px!important;line-height:1.5!important;text-indent:2em;font-weight:400;margin:18px 0}.workspace .personal-reading h2{font-size:25px;font-weight:700}.personal-reading-action{border-top:1px solid #e1e4e9;margin-top:20px;padding-top:18px;display:flex;justify-content:flex-end}.workspace:has(.personal-reading){align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}@media(max-width:1000px){.workspace:has(.personal-reading){grid-template-columns:1fr}}

/* 任务阅读工作区统一版式 */
body:has(.workspace) header{height:68px;padding:0 28px;background:#fff;border-bottom:1px solid #e5e7eb}
body:has(.workspace) .brand{font-family:SimHei,"黑体",sans-serif;font-size:22px;font-weight:600}
body:has(.workspace) .subheader{max-width:1840px;width:100%;padding-left:28px;margin:18px auto 16px}
body:has(.workspace) .subheader h1{font-family:SimHei,"黑体",sans-serif;font-size:28px;font-weight:600;line-height:1.4}
.workspace:not(.single){max-width:1840px;width:100%;gap:22px;padding:0 28px 24px;margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.workspace .materials .card,.workspace .interaction{border:1px solid #d9dfe8;border-radius:12px;box-shadow:none}
.workspace .materials .card{padding:24px}.workspace .materials .card h2,.workspace .personal-reading h2{font-family:SimHei,"黑体",sans-serif;font-size:28px!important;font-weight:700;line-height:1.35}
.workspace .materials .card > h2,.workspace .personal-reading .card-title{padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e6e9ee}
.workspace .personal-reading .card-title h2{margin:0;padding:0;border:0}
.workspace:not(.single) .materials .reading,.workspace:not(.single) .materials .private .reading,.workspace .personal-reading .reading{font-family:SimHei,"黑体",sans-serif;font-size:26px!important;line-height:1.5!important;font-weight:400;text-indent:2em;margin:0 0 16px;letter-spacing:0;overflow-wrap:break-word}
.workspace .personal-reading{padding:24px;display:flex;flex-direction:column;min-height:100%}.workspace .personal-reading .reading{margin:0 0 18px}
.workspace:has(.personal-reading){align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.workspace:has(.personal-reading)>.materials>.card{height:100%}
.workspace:has(.personal-reading) .members{padding:10px 24px;font-size:15px;background:#fff;border-bottom:1px solid #e6e9ee}
.workspace:has(.personal-reading) .interaction{display:flex;flex-direction:column}.workspace:has(.personal-reading) .personal-reading{flex:1;min-height:0}
.workspace .personal-reading .muted{font-family:SimHei,"黑体",sans-serif;font-size:18px;line-height:1.5;margin:0 0 16px}
.workspace .personal-reading .pill{font-size:14px;line-height:1.5;padding:4px 10px;margin-left:auto;border:1px solid #d9dfe8;background:#fff}
.personal-reading-action{margin-top:auto;padding-top:18px;border-top:1px solid #e6e9ee;display:flex;justify-content:flex-end}
.workspace .personal-reading-action .primary{font-family:SimHei,"黑体",sans-serif;font-size:20px;line-height:1.5;padding:12px 20px;border-radius:8px}
.workspace:not(.single) .assessment-body .field,.workspace:not(.single) .choice,.workspace:not(.single) .discussion-tasks li{font-size:24px;line-height:1.5}
@media(max-width:1000px){.workspace:not(.single),.workspace:has(.personal-reading){grid-template-columns:1fr;padding:0 20px 24px}.workspace:has(.personal-reading)>.materials>.card{height:auto}}
@media(max-width:600px){.workspace .materials .card,.workspace .personal-reading{padding:20px}.workspace:not(.single) .materials .reading,.workspace:not(.single) .materials .private .reading,.workspace .personal-reading .reading{font-size:24px!important}.workspace .materials .card h2,.workspace .personal-reading h2{font-size:26px!important}.personal-reading-action .primary{width:100%}}

:root{background:#fff}body:has(.workspace),body:has(.workspace) #app{min-height:100vh;background:#fff}
.workspace:has(.personal-reading) .members{display:none}
/* 2026-11-13：统一黑体；允许黑体合成粗体，突出材料标题。 */
:root,body,body *{font-family:SimHei,"黑体",sans-serif!important;font-synthesis:weight!important}
body .workspace .materials .card h2,
body .workspace .personal-reading h2,
body .workspace .background-overview h2{color:#000!important;font-weight:900!important}
/* 信心选择：等高卡片，数字与文字分行，完整显示每个等级。 */
.workspace .confidence-cards{display:grid;grid-template-columns:repeat(var(--confidence-count),minmax(0,1fr));gap:10px;align-items:stretch}
.workspace .confidence-cards label{min-width:0;display:flex}
.workspace .confidence-cards label>span{width:100%;height:100%;min-height:98px;padding:12px 6px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;border-radius:12px;text-align:center;line-height:1.35;transition:background-color .15s,border-color .15s}
.workspace .confidence-cards .confidence-number{font-size:26px;font-weight:700;color:inherit}
.workspace .confidence-cards .confidence-description{font-size:18px;font-weight:400;color:inherit;white-space:nowrap}
@media(max-width:600px){.workspace .confidence-cards{gap:5px}.workspace .confidence-cards label>span{padding:10px 3px;min-height:88px}.workspace .confidence-cards .confidence-number{font-size:23px}.workspace .confidence-cards .confidence-description{font-size:14px;white-space:normal;word-break:normal}}
/* 双方初判只以身份配色区分，保留相同的视觉权重。 */
body .workspace .peer-choices>div{padding:22px 24px;border-width:1px;border-left-width:5px;box-shadow:none}
body .workspace .peer-choices>div:first-child{background:#f1f6ff!important;border-color:#c9d9f4!important;border-left-color:#4e73b8!important}
body .workspace .peer-choices>div:nth-child(2){background:#f6f3fc!important;border-color:#ddd2f0!important;border-left-color:#8262ad!important}
body .workspace .peer-choices>div>p{display:inline-block;font-size:18px!important;font-weight:700!important;line-height:1.5;margin:0 0 12px;padding:3px 10px;border-radius:6px}
body .workspace .peer-choices>div:first-child>p{color:#355894!important;background:#e2ebfa!important}
body .workspace .peer-choices>div:nth-child(2)>p{color:#6b4c91!important;background:#eae2f6!important}
body .workspace .peer-choices strong{display:block;color:#000!important;font-weight:700!important}

/* 2026-11-13：宋体紧凑阅读版，保留首行缩进及1.5倍行距。 */
body .workspace:not(.single) .materials .reading,
body .workspace:not(.single) .materials .private .reading,
body .workspace .personal-reading .reading,
body .workspace .background-overview .reading{font-size:22px!important;line-height:1.5!important;margin:0 0 12px!important;font-weight:400!important}
body .workspace .materials .card h2,
body .workspace .personal-reading h2,
body .workspace .background-overview .background-main>h2,
body .workspace .background-overview .background-role>h2{font-size:26px!important;font-weight:700!important;margin-bottom:14px!important;letter-spacing:0}
body:has(.workspace) .subheader h1{font-size:26px!important;font-weight:700;line-height:1.35}
body .workspace .materials .card,body .workspace .personal-reading{padding:20px}
body .workspace .materials .card>h2,body .workspace .personal-reading .card-title{padding-bottom:12px;margin-bottom:14px}
body .workspace:not(.single) .assessment-body .field,
body .workspace:not(.single) .choice,
body .workspace:not(.single) .discussion-tasks li,
body .workspace .bubble{font-size:21px!important;line-height:1.5}
body .workspace .discussion-tasks h2,body .workspace .chat-top h2{font-size:25px!important}
@media(max-width:600px){body .workspace:not(.single) .materials .reading,body .workspace .personal-reading .reading,body .workspace .background-overview .reading{font-size:20px!important}}
/* 信心与心理努力统一为紧凑数字量尺，保持各自评分点数。 */
body .workspace .rating-question{min-width:0;border:0;border-bottom:1px solid #e5eaf2;padding:0 0 24px;margin:26px 0}
body .workspace .rating-question legend{font-size:22px!important;font-weight:600!important;line-height:1.5!important;margin-bottom:14px}
body .workspace .rating-question .rating-guide{font-size:18px!important;font-weight:400!important;line-height:1.6;margin:0 0 16px;color:#111}
body .workspace .rating-options{display:grid;grid-template-columns:repeat(var(--rating-count),minmax(0,64px));gap:8px;align-items:stretch}
body .workspace .rating-options label{min-width:0;cursor:pointer}
body .workspace .rating-options label>span{height:48px;min-height:48px;padding:5px;border-radius:8px;display:grid;place-items:center;font-size:20px!important;font-weight:400;color:#111!important;background:#fff!important;border:1px solid #929ba8;line-height:1}
body .workspace .rating-options input:checked+span{background:var(--action-blue,#245bce)!important;color:#fff!important;border-color:var(--action-blue,#245bce)!important;box-shadow:0 0 0 2px #c6d7fa;font-weight:700}
body .workspace .rating-options label:hover input:not(:checked)+span{background:#edf3ff!important;border-color:#245bce}
body .workspace .rating-options input:focus-visible+span{outline:3px solid #8aacf0;outline-offset:3px}
/* 协作阶段提示：保留黑色正文，蓝色仅用于阶段边界。 */
body .workspace .discussion-stage{margin:0 22px 16px;padding:12px 16px;border:1px solid #dce4f0;border-left:4px solid #5275b8;border-radius:8px;background:#f7f9fc;color:#111}
body .workspace .discussion-stage strong{font-size:20px;font-weight:700}
body .workspace .discussion-stage>span{float:right;font-size:18px}
body .workspace .discussion-stage p{clear:both;font-size:18px!important;line-height:1.5;margin:8px 0 0}
body .workspace .demo-stage-timeline{display:flex;align-items:center;gap:10px;margin:4px 0 18px}
body .workspace .demo-stage-timeline>div{flex:1;min-width:0;border:1px solid #d9e1ed;border-radius:10px;padding:12px;text-align:center;background:#fff}
body .workspace .demo-stage-timeline b,body .workspace .demo-stage-timeline span:not(.demo-stage-arrow){display:block;color:#111;font-size:19px;line-height:1.5}
body .workspace .demo-stage-timeline>div.current{border-color:#245bce;box-shadow:inset 0 0 0 1px #245bce;background:#f2f6ff}
body .workspace .demo-stage-arrow{font-size:22px;color:#111}
body .workspace .demo-window-preview{padding:14px 16px;margin-bottom:14px;border-left:4px solid #5275b8;background:#f7f9fc;border-radius:6px}
body .workspace .demo-window-preview strong{font-size:21px}
body .workspace .demo-window-preview p{font-size:18px!important;line-height:1.5;margin:8px 0 12px}

/* 2026-11-14 统一蓝绿主题：三组采用相同配色，正文维持高对比度。 */
:root{--action-blue:#285dcc;--action-blue-hover:#1e49a7;--action-blue-light:#edf3ff;--theme-teal:#0d756e;--theme-ink:#172c43;--theme-border:#d6e2ed;background:#f1f6fa}
body{background:linear-gradient(135deg,#edf4fd 0%,#f6f9fc 48%,#eef8f5 100%);color:var(--theme-ink);min-height:100vh}
header{background:#fff;border-top:5px solid #2f68c9;border-bottom:1px solid #d6e2ed;box-shadow:0 3px 18px #274f7d0a}
header .brand{color:#244f8f}.brand:before{content:"";display:block;width:10px;height:34px;border-radius:6px;background:linear-gradient(#3871d5,#16a295)}
.connection{color:#427369}.participant-badge{background:#eaf3ff;color:#24539a;border:1px solid #cadaef}
.subheader,.workspace{background:transparent}.subheader h1{color:#233e60}.subheader .pill{background:#fff;border-color:#d1dfed;color:#4a617f}
body .workspace .card,body .workspace .interaction{background:#fff;border-color:var(--theme-border);box-shadow:0 7px 25px #24486d09}
body .workspace .materials .card{border-top:4px solid #507ed3}
body .workspace .materials .card.private,body .workspace .personal-reading{border-top:4px solid #26998c}
body .workspace .members{background:#f0f7fa;border-bottom-color:#d8e8ec;color:#365b6b}
body .workspace .card-title h2,body .workspace .materials h2{color:#244f85}
body .workspace .personal-reading h2,body .workspace .private h2{color:#176e64}
body .workspace .reading,body .workspace .discussion-tasks li,body .workspace .field,body .workspace .bubble{color:#172c43}
body .workspace .choice{background:#f8fbff;border-color:#d9e5f2}
body .workspace .discussion-tasks{background:#f7faff;border-top:1px solid #e0e9f4;border-bottom:1px solid #e0e9f4}
body .workspace .chat-top{background:#fff}.chat-top h2{color:#244f85}
body .workspace .bubble{background:#f5f8fc;border-color:#dbe5f0}
body .workspace .message.ai .bubble{background:#edf8f5;border-color:#b9ddd3;border-left:4px solid #279384}
body .workspace .composer{background:#f6f9fd;border-top-color:#dce6f2}
body .workspace .composer textarea{background:#fff}
body .workspace .discussion-stage{background:#eef4ff;border-color:#ccdcef;border-left-color:#4375c7;color:#25466c}
body .workspace .discussion-stage.supported{background:#ecf8f3;border-color:#c3e2d6;border-left-color:#278b73;color:#1d5b4b}
body .workspace .survey-anchors{background:#eef4ff;color:#294e7b;border:1px solid #d6e4f8}
body .workspace .scenario{background:#f4f9ff;border:1px solid #d8e6f5}
body .workspace .shared-answer-note{background:#edf8f5;border:1px solid #c4e2d8;border-left:4px solid #2b9483;border-radius:12px;padding:16px 20px;margin:0 0 24px;color:#195f52}
.shared-answer-note strong{font-size:21px}.shared-answer-note p{font-size:19px;line-height:1.65;margin:7px 0 0;color:#254d46}
body .workspace .joint-area{background:#f3f7fc;border-top:1px solid #dce6f2;padding:20px 24px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.joint-readiness{width:100%}.joint-readiness strong{color:#294f83;font-size:21px}.joint-readiness p{font-size:18px;line-height:1.6;margin:7px 0 12px;color:#425a72}
.joint-ready-status{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px}.joint-ready-status span{background:#fff;border:1px solid #d4dfeb;border-radius:20px;padding:5px 13px;font-size:16px;color:#54677e}.joint-ready-status span.ready{background:#e8f7ef;border-color:#acd9c0;color:#1e6547}
body .workspace button:disabled{opacity:.65}body .workspace .secondary:hover:not(:disabled),body .workspace .subtle:hover:not(:disabled){background:#edf3ff!important}
.task-clock{background:#eaf2ff;border-color:#bdcfe9;color:#244b80;box-shadow:0 3px 12px #24486d0a}.task-clock.expired{background:#fff0e6;border-color:#e2b28e;color:#8b3e13}
body .workspace .demo-stage-timeline>div.current{background:#edf6ff;border-color:#6393d5}.pause-banner{background:#fff4dc;border-color:#e5cb8e;color:#795b16}
@media(max-width:600px){.shared-answer-note{padding:14px}.shared-answer-note p{font-size:18px}.joint-ready-status{gap:7px}}

body .workspace .ai-readiness{margin:0 22px 18px;padding:16px 18px;background:#edf8f5;border:1px solid #c3e3d8;border-radius:12px}.ai-readiness strong{font-size:21px;color:#1b6d5a}.ai-readiness p{font-size:18px;line-height:1.6;margin:7px 0 12px;color:#2e574c}.ai-readiness button{margin:8px 10px 0 0}

/* 共同作答时，讨论记录位于左侧资料下方；默认折叠，可独立滚动。 */
body .workspace .materials details.discussion-history-card{border-top:4px solid #3988a1;padding:0;overflow:hidden}
.discussion-history-card>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;align-items:center;list-style:none;cursor:pointer;background:#edf5fc;padding:18px 20px;border-radius:12px;color:#214d78}
.discussion-history-card>summary::-webkit-details-marker{display:none}.discussion-history-card>summary::marker{content:""}
.discussion-history-card .history-heading{font-size:23px;font-weight:700;line-height:1.4;color:#214d78}
.discussion-history-card .history-hint{grid-column:1;font-size:16px;line-height:1.5;color:#526e88}
.discussion-history-card .history-toggle{grid-column:2;grid-row:1/3;background:#fff;border:1px solid #bad1e7;border-radius:8px;padding:7px 12px;color:#285b8e;font-size:17px;font-weight:600}
.discussion-history-card .history-toggle:after{content:"展开 ▾"}.discussion-history-card[open] .history-toggle:after{content:"收起 ▴"}
.discussion-history-card[open]>summary{border-radius:12px 12px 0 0;border-bottom:1px solid #cfdfed}
.discussion-history-card>summary:hover{background:#e3effb}.discussion-history-card>summary:focus-visible{outline:3px solid #6598d6;outline-offset:-4px}
body .workspace .discussion-history-card .history-log{max-height:460px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0;border:0;border-radius:0;padding:15px;background:#fff}
.discussion-history-card .history-log:focus-visible{outline:3px solid #9bc5e8;outline-offset:-3px}
.discussion-history-card .message-head{font-size:16px}.discussion-history-card .bubble{font-size:20px;line-height:1.6}
.login-card:has(.participant-welcome){width:min(100%,680px);text-align:left}.participant-welcome{margin:12px 0 24px;padding:20px 22px;background:#f0f6fd;border:1px solid #d5e4f3;border-radius:12px}.participant-welcome h2{font-size:22px;color:#244f85;margin-bottom:12px}.participant-welcome p{font-size:18px;line-height:1.8;color:#263f58;margin-bottom:12px}.participant-welcome p:last-child{margin:0}.participant-welcome .participation-payment{padding-top:12px;border-top:1px solid #cfdfef}.login-card:has(.participant-welcome) .field{text-align:left}.login-card:has(.participant-welcome)>h1{text-align:center}
@media(max-width:600px){.discussion-history-card>summary{padding:15px}.discussion-history-card .history-heading{font-size:21px}.discussion-history-card .history-hint{font-size:15px}.discussion-history-card .history-toggle{font-size:16px;padding:6px 9px}.participant-welcome{padding:16px}}

/* Participant registration instructions */
#participant-login > p.muted{color:#000;font-size:18px;line-height:1.8;}


/* Unified readable desktop scale at 100% zoom. */
:root{font-size:16px;line-height:1.5;}
body header,body:has(.workspace) header{height:54px;padding:0 24px;}
body .brand,body:has(.workspace) .brand{font-size:20px;gap:9px;}
body .brand:before{height:26px;width:7px;}
body .participant-badge{font-size:15px;padding:6px 10px;}
body .header-right{gap:12px;}
body .subheader,body:has(.workspace) .subheader{margin:12px auto 10px;padding-left:24px;max-width:1680px;}
body .subheader h1,body:has(.workspace) .subheader h1{font-size:22px!important;line-height:1.35;}
body .workspace,body .workspace:not(.single){max-width:1680px;gap:16px;padding:0 24px 18px;margin:0 auto;}
body .workspace.single{max-width:1000px;margin:12px auto 0;}
body .workspace .materials .card,body .workspace .background-only .card,body .workspace .personal-reading{padding:16px 18px;}
body .workspace .materials .card h2,body .workspace .personal-reading h2,body .workspace .background-overview .background-main>h2,body .workspace .background-overview .background-role>h2{font-size:20px!important;line-height:1.35!important;}
body .workspace .materials .card>h2,body .workspace .personal-reading .card-title{margin-bottom:12px;padding-bottom:10px;}
body .workspace .reading,body .workspace:not(.single) .materials .reading,body .workspace:not(.single) .materials .private .reading,body .workspace .personal-reading .reading,body .workspace .background-overview .reading{font-size:16px!important;line-height:1.6!important;margin:0 0 12px!important;}
body .workspace .materials h3,body .workspace h3{font-size:18px;line-height:1.4;}
body .workspace .field,body .workspace:not(.single) .assessment-body .field,body .workspace .joint-question>.field,body .workspace .exam-question>.field,body .workspace .choice,body .workspace:not(.single) .choice,body .workspace .discussion-tasks li,body .workspace:not(.single) .discussion-tasks li,body .workspace .assessment-body>p{font-size:16px!important;line-height:1.55;}
body .workspace .field{margin:12px 0;gap:6px;}
body .workspace .choice{padding:8px 10px;margin:7px 0;}
body .workspace .assessment-body{padding:18px;}
body .workspace .assessment-body>h2,body .workspace .chat-top h2,body .workspace .discussion-tasks h2{font-size:21px!important;margin-bottom:10px;}
body .workspace .assessment-body form{margin-top:12px;}
body .workspace .scenario{padding:14px;margin:12px 0;}
body .workspace .scenario p{margin-bottom:0!important;}
body .workspace textarea,body .workspace input,body .workspace select{font-size:16px;line-height:1.5;}
body .workspace textarea{min-height:66px;padding:9px 11px;}
body button,body .primary,body .secondary,body .subtle,body .workspace button,body .workspace .primary,body .workspace .secondary,body .workspace .personal-reading-action .primary{font-size:15px;line-height:1.4;padding:9px 14px;}
body .workspace .muted,body .workspace .personal-reading .muted,body .workspace .survey-anchors{font-size:14px;line-height:1.55;}
body .workspace .members,body .workspace:has(.personal-reading) .members{font-size:14px;padding:8px 18px;}
body .workspace .personal-reading-action,body .workspace .reading-action{padding:12px 0;margin-top:12px;}
body .workspace .discussion-tasks{padding:12px 18px;}
body .workspace .discussion-tasks ol{padding-left:22px;line-height:1.55;}
body .workspace .discussion-tasks li+li{margin-top:6px;}
body .workspace .chat-top{padding:14px 18px 8px;}
body .workspace .chat-log{height:clamp(220px,32vh,400px);padding:10px 18px;}
body .workspace .bubble{font-size:16px!important;line-height:1.55;padding:9px 12px;}
body .workspace .message{margin:9px 0 14px;}
body .workspace .message-head{font-size:13px;}
body .workspace .message-head time{font-size:12px;}
body .workspace .composer{padding:12px 18px;}
body .workspace .composer textarea{min-height:58px;}
body .workspace .joint-area{padding:14px 18px;gap:10px;}
body .workspace .joint-readiness strong,body .workspace .shared-answer-note strong{font-size:17px;}
body .workspace .joint-readiness p,body .workspace .shared-answer-note p{font-size:15px;line-height:1.55;margin:6px 0 8px;}
body .workspace .shared-answer-note{padding:12px 14px;margin-bottom:16px;}
body .workspace .joint-question,body .workspace .exam-question{padding-bottom:12px;margin-bottom:12px;}
body .workspace .survey-item{margin:18px 0;padding-bottom:16px;}
body .workspace .survey-item legend,body .workspace .rating-question legend{font-size:17px!important;line-height:1.5!important;margin-bottom:10px;}
body .workspace .rating-question .rating-guide{font-size:14px!important;line-height:1.5;margin-bottom:10px;}
body .workspace .survey-anchors{padding:10px 12px;}
body .workspace .survey-options span{font-size:16px;min-height:38px;}
body .workspace .rating-options label>span{font-size:16px!important;height:38px;min-height:38px;}
body .workspace .confidence-cards .confidence-number{font-size:20px;}
body .workspace .confidence-cards .confidence-description{font-size:14px;}
body .workspace .confidence-cards label>span{padding:8px 4px;min-height:70px;}
body .workspace .peer-choices>div{padding:14px;}
body .workspace .peer-choices strong{font-size:20px;}
body .workspace .peer-choices>div>p{font-size:15px!important;margin-bottom:8px;}
body .workspace .discussion-stage{padding:10px 12px;margin:0 18px 12px;}
body .workspace .discussion-stage strong{font-size:17px;}
body .workspace .discussion-stage p{font-size:15px!important;line-height:1.5;}
body .workspace .discussion-history-card>summary{padding:12px 14px;}
body .workspace .discussion-history-card .history-heading{font-size:18px;}
body .workspace .discussion-history-card .history-hint{font-size:13px;}
body .workspace .discussion-history-card .history-toggle{font-size:14px;padding:5px 9px;}
body .task-clock{top:64px;right:24px;font-size:16px;padding:6px 10px;}
body .login-stage{min-height:calc(100vh - 54px);padding:20px;}
body .login-card{padding:24px;}
body .login-card h1{font-size:23px;margin-bottom:18px;}
body .participant-welcome{padding:14px 16px;margin:10px 0 18px;}
body .participant-welcome h2{font-size:20px;}
body .participant-welcome p,#participant-login > p.muted{font-size:16px;line-height:1.6;}
body .login-card .field{font-size:16px;margin:12px 0;}
@media(max-width:899px){body .workspace:not(.single),body .workspace:has(.personal-reading){grid-template-columns:1fr;}body .workspace,body .workspace:not(.single){padding-left:14px;padding-right:14px;}body:has(.workspace) .subheader{padding-left:14px;}}

/* Compact walkthrough at 100% browser zoom; retain scrolling on small screens. */
body:has(.demo-body) header{height:56px;padding:0 24px;}
body:has(.demo-body) .brand{font-size:20px;}
body:has(.demo-body) .brand:before{height:26px;width:7px;}
body:has(.demo-body) .participant-badge{font-size:16px;padding:7px 12px;}
body:has(.demo-body) .subheader{max-width:1500px;margin:10px auto 8px;padding:0 24px;}
body:has(.demo-body) .subheader h1{font-size:22px!important;line-height:1.25;margin:0;}
body .workspace.single:has(.demo-body){max-width:1500px;width:100%;padding:0 24px;margin:0 auto 12px;}
body .workspace .demo-body{padding:0;}
body .workspace .demo-intro{font-size:16px;line-height:1.45;margin:0 0 8px;}
body .workspace .demo-steps{gap:10px;margin:0 0 12px;}
body .workspace .demo-steps li{font-size:16px;line-height:1.3;gap:8px;padding:7px 10px;}
body .workspace .demo-steps li>span,body .workspace .demo-index{font-size:14px;width:24px;height:24px;}
body .workspace .demo-layout{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
body .workspace .demo-pane{padding:14px 16px;min-width:0;}
body .workspace .demo-pane h3{font-size:18px;line-height:1.35;margin:0 0 8px;}
body .workspace .demo-area-heading{gap:8px;padding-bottom:9px;margin-bottom:12px;}
body .workspace .demo-body p,body .workspace .demo-pane .reading{font-size:16px!important;line-height:1.5!important;margin:0 0 10px;}
body .workspace .demo-small-heading{font-size:16px;line-height:1.4;margin:10px 0 6px;}
body .workspace .demo-pane .choice{font-size:16px!important;line-height:1.4;padding:7px 9px;margin:5px 0;gap:8px;}
body .workspace .demo-body textarea{font-size:16px;line-height:1.4;min-height:48px;padding:8px 10px;}
body .workspace .demo-body input[type=radio]{width:16px;height:16px;flex-shrink:0;}
body .workspace .demo-body .rating-question{margin:12px 0 0;padding:0 0 8px;}
body .workspace .demo-body .rating-question legend{font-size:16px!important;line-height:1.4!important;margin:0 0 6px;}
body .workspace .demo-body .rating-question .rating-guide{font-size:14px!important;line-height:1.4;margin:0 0 8px;}
body .workspace .demo-body .rating-options{gap:7px;}
body .workspace .demo-body .rating-options label>span{height:34px;min-height:34px;font-size:16px!important;padding:4px;}
body .workspace .demo-material-note{font-size:14px;line-height:1.5;padding-top:8px;}
body .workspace .demo-caption{font-size:14px!important;line-height:1.45;margin:8px 0 0;}
body .workspace .demo-chat-preview{min-height:140px;}
body .workspace .demo-message{padding:10px;margin:8px 0;}
body .workspace .demo-compose-preview,body .workspace .demo-empty-field{font-size:16px;line-height:1.5;min-height:42px;padding:10px;}
body .workspace .demo-confirm-preview{gap:12px;margin:12px 0;}
body .workspace .demo-confirm-preview>span{font-size:16px;padding:8px 14px;}
body .workspace .demo-window-preview{padding:10px 12px;margin-bottom:10px;}
body .workspace .demo-window-preview strong{font-size:17px;}
body .workspace .demo-window-preview p{font-size:16px!important;line-height:1.5;margin:6px 0 8px;}
body .workspace .demo-body form{margin-top:0;}
body .workspace .demo-footer{position:static;padding:10px 0;margin-top:12px;gap:12px;}
body .workspace .demo-footer>span{font-size:15px;}
body .workspace .demo-body button{font-size:16px;line-height:1.4;padding:9px 16px;}
@media(max-width:899px){body .workspace .demo-layout{grid-template-columns:1fr;}body .workspace.single:has(.demo-body){padding:0 14px;}body:has(.demo-body) .subheader{padding:0 14px;}}

body .workspace .demo-intro{background:#fff3cf;border:1px solid #e1b64f;border-left:5px solid #c58a13;border-radius:8px;padding:9px 14px;color:#352500;font-weight:700;font-size:17px;line-height:1.45;margin-bottom:10px;}

@media(min-width:900px) and (max-height:800px){
body:has(.demo-body) header{height:48px;}
body:has(.demo-body) .subheader{margin:8px auto 6px;}
body .workspace .demo-pane{padding:10px 14px;}
body .workspace .demo-area-heading{padding-bottom:6px;margin-bottom:8px;}
body .workspace .demo-body p,body .workspace .demo-pane .reading{line-height:1.4!important;margin-bottom:8px;}
body .workspace .demo-small-heading{margin:6px 0 4px;}
body .workspace .demo-body textarea{height:48px;min-height:48px;}
body .workspace .demo-body .rating-question{margin-top:8px;}
body .workspace .demo-footer{margin-top:8px;padding:8px 0;}
body .workspace .demo-steps{margin-bottom:8px;}
}

@media(min-width:900px) and (max-height:700px){
body:has(.demo-body) header{height:42px;}
body:has(.demo-body) .subheader{margin:6px auto;}
body:has(.demo-body) .subheader h1{font-size:20px!important;}
body .workspace .demo-intro{padding:6px 12px;margin-bottom:7px;font-size:16px;}
body .workspace .demo-steps li{padding:5px 8px;font-size:15px;}
body .workspace .demo-pane{padding:8px 12px;}
body .workspace .demo-pane h3{font-size:16px;line-height:1.3;margin-bottom:6px;}
body .workspace .demo-body p,body .workspace .demo-pane .reading{font-size:14px!important;line-height:1.4!important;margin-bottom:6px;}
body .workspace .demo-small-heading{font-size:14px;margin:5px 0 3px;}
body .workspace .demo-pane .choice{font-size:14px!important;padding:5px 8px;margin:4px 0;}
body .workspace .demo-body textarea{font-size:14px;height:40px;min-height:40px;padding:6px 8px;}
body .workspace .demo-body .rating-question{margin-top:6px;padding-bottom:5px;}
body .workspace .demo-body .rating-question legend{font-size:14px!important;margin-bottom:4px;}
body .workspace .demo-body .rating-question .rating-guide{font-size:12px!important;margin-bottom:5px;}
body .workspace .demo-body .rating-options label>span{height:30px;min-height:30px;font-size:14px!important;}
body .workspace .demo-body .demo-caption,body .workspace .demo-material-note{font-size:13px!important;}
body .workspace .demo-footer{padding:6px 0;margin-top:6px;}
body .workspace .demo-body button{font-size:15px;padding:7px 12px;}
}

@media(min-width:900px) and (max-height:700px){body:has(.demo-body) header{height:38px;}body:has(.demo-body) .subheader{margin:4px auto;}body .workspace .demo-intro{padding-top:4px;padding-bottom:4px;}body .workspace .demo-footer{padding:4px 0;margin-top:4px;}body .workspace .demo-steps{margin-bottom:6px;}}

/* Match standalone background reading to the rest of the task materials. */
body .workspace .background-overview .background-main .reading,body .workspace .background-overview .background-role .reading{font-size:16px!important;line-height:1.6!important;margin:0 0 12px!important;}
body .workspace .background-only{padding:16px 18px;}
body .workspace .background-overview .background-main,body .workspace .background-overview .background-role{padding:0;}
body .workspace .background-overview .background-role{margin-top:16px;padding-top:14px;}
body .workspace .background-only .reading-action .primary{font-size:15px;padding:9px 14px;}

body .workspace .demo-index{width:auto;min-width:54px;height:auto;min-height:24px;padding:2px 7px;border-radius:6px;white-space:nowrap;font-size:14px;}
@media(min-width:900px) and (max-height:800px){body .workspace .demo-pane{padding:8px 12px;}body .workspace .demo-body p,body .workspace .demo-pane .reading{margin-bottom:6px;}body .workspace .demo-pane h3{margin-bottom:6px;}}

/* Readability revision: participant text 18px with comfortable spacing. */
body .workspace .reading,body .workspace:not(.single) .materials .reading,body .workspace:not(.single) .materials .private .reading,body .workspace .personal-reading .reading,body .workspace .background-overview .background-main .reading,body .workspace .background-overview .background-role .reading,body .workspace .demo-body p,body .workspace .demo-pane .reading{font-size:18px!important;line-height:1.3!important;margin:0 0 14px!important;}
body .workspace .demo-pane,body .workspace .materials .card,body .workspace .personal-reading{padding:18px 22px;}
body .workspace .demo-layout,body .workspace:not(.single){gap:20px;}
body .workspace .demo-pane h3,body .workspace .materials .card h2,body .workspace .personal-reading h2{font-size:22px!important;line-height:1.4!important;margin-bottom:14px;}
body .workspace .demo-area-heading{padding-bottom:12px;margin-bottom:16px;}
body .workspace .demo-small-heading{font-size:18px;line-height:1.5;margin:16px 0 10px;}
body .workspace .choice,body .workspace:not(.single) .choice,body .workspace .demo-pane .choice,body .workspace:not(.single) .assessment-body .field,body .workspace .joint-question>.field,body .workspace .exam-question>.field,body .workspace .discussion-tasks li,body .workspace:not(.single) .discussion-tasks li{font-size:18px!important;line-height:1.3;}
body .workspace .choice,body .workspace .demo-pane .choice{padding:11px 13px;margin:10px 0;}
body .workspace .bubble{font-size:18px!important;line-height:1.3;padding:12px 15px;}
body .workspace textarea,body .workspace .demo-body textarea{font-size:18px;line-height:1.3;min-height:70px;height:auto;padding:10px 12px;}
body .workspace .assessment-body>p{font-size:18px!important;line-height:1.3;}
body .workspace .survey-item legend,body .workspace .rating-question legend,body .workspace .demo-body .rating-question legend{font-size:18px!important;line-height:1.3!important;margin-bottom:12px;}
body .workspace .survey-item{margin:22px 0;padding-bottom:20px;}
body .workspace .rating-question .rating-guide,body .workspace .demo-body .rating-question .rating-guide{font-size:16px!important;line-height:1.3;margin-bottom:12px;}
body .workspace .survey-options span,body .workspace .rating-options label>span,body .workspace .demo-body .rating-options label>span{font-size:18px!important;height:42px;min-height:42px;}
body .workspace .demo-body p.demo-caption{font-size:16px!important;line-height:1.3!important;margin:12px 0 0!important;}
body .workspace .demo-window-preview p{font-size:18px!important;line-height:1.3;margin-top:10px;}
body .workspace .demo-compose-preview,body .workspace .demo-empty-field{font-size:18px;line-height:1.3;padding:14px;}
body .workspace .demo-steps{margin-bottom:18px;gap:12px;}
body .workspace .demo-steps li{font-size:18px;line-height:1.4;padding:10px 12px;}
body .workspace .demo-footer{position:static;margin-top:18px;padding:14px 0;}
body .workspace .demo-body button,body .workspace button{font-size:17px;line-height:1.5;padding:10px 16px;}
body .workspace .demo-intro{font-size:18px;line-height:1.3;padding:12px 16px;margin-bottom:16px;}
body .workspace .demo-body .rating-question{margin-top:18px;padding-bottom:12px;}
body .workspace .demo-confirm-preview{margin:18px 0;}
body .workspace .background-only{padding:18px 22px;}

body .workspace .demo-discussion-pane{max-width:1100px;margin:0 auto;}
body .workspace .demo-discussion-pane .demo-chat-preview{min-height:0;max-height:340px;overflow-y:auto;padding-right:4px;}
body .workspace .demo-shared-composer{margin:16px 0;}
body .workspace .demo-compose-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px;}
body .workspace .demo-discussion-pane .demo-window-preview{margin:16px 0 0;}

header.participant-header{justify-content:flex-end;}

/* Taller discussion history and member identities above the task panels. */
body .workspace .interaction[data-phase="discussion"] .chat-log{height:clamp(420px,60vh,760px);}
body .workspace>.members{grid-column:1/-1;flex-wrap:wrap;border:1px solid #dce7ef;border-radius:10px;background:#f0f7fb;padding:8px 18px;}
@media(max-width:600px){body .workspace .interaction[data-phase="discussion"] .chat-log{height:clamp(340px,55vh,560px);}}

/* Discussion guidance spans both columns above materials and questions. */
body .workspace>.discussion-intro{grid-column:1/-1;padding:14px 18px;}
body .workspace>.discussion-intro p{font-size:18px;line-height:1.3;margin:10px 0 0;}
body .workspace>.discussion-intro p:first-child{margin-top:0;}

/* Compact clock in the title row, with no reserved side rail. */
body .subheader{gap:12px;flex-wrap:wrap;}
body .subheader h1{flex:1 1 260px;min-width:0;}
body #task-clock{position:static;top:auto;left:auto;right:auto;transform:none;z-index:auto;display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;width:auto;max-width:100%;margin-left:auto;padding:5px 9px;border-radius:6px;text-align:center;line-height:1.4;font-size:14px;white-space:nowrap;}
body #task-clock .clock-label{display:inline;font-size:14px;font-weight:500;}
body #task-clock .clock-value{display:inline;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;}
body .workspace .own-initial{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:2em;row-gap:4px;margin-top:14px;}
body .workspace .own-initial h3,body .workspace .own-initial p{margin:0;font-size:18px;line-height:1.3;}
body .workspace:not(.single) .materials .own-initial h3{margin:0;font-size:18px!important;line-height:1.3;}

/* Keep the timer visible at the right of a scrolling participant header. */
body:has(#task-clock) header.participant-header{position:sticky;top:0;z-index:30;height:auto;min-height:54px;padding-top:8px;padding-bottom:8px;}
body:has(#task-clock) header.participant-header .header-right{flex-wrap:wrap;justify-content:flex-end;}
body .workspace .own-initial .own-initial-choice{margin:0;padding:0;min-width:0;}

/* Independent tasks: materials left, responses right. */
body .workspace.assessment-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;max-width:1680px;}
body .assessment-workspace .assessment-materials{display:grid;gap:18px;min-width:0;}
body .assessment-workspace .assessment-materials .card{padding:18px 22px;}
body .assessment-workspace .assessment-background{border-top:4px solid #527cd1;}
body .assessment-workspace .assessment-data{border-top:4px solid #278f87;}
body .assessment-workspace .assessment-materials h2,body .assessment-workspace .assessment-body>h2{font-size:22px!important;line-height:1.4;margin:0 0 14px;}
body .assessment-workspace .assessment-materials h3{font-size:19px;margin:18px 0 12px;}
body .assessment-workspace .assessment-materials .reading{font-size:18px!important;line-height:1.3!important;margin:0 0 14px!important;}
body .assessment-workspace .assessment-materials .reading:last-child{margin-bottom:0!important;}
body .assessment-workspace .assessment-candidates li{font-size:18px;line-height:1.4;}
body .assessment-workspace .interaction{min-width:0;}
body .assessment-workspace .assessment-guidance{color:#526579;margin-bottom:20px;}
body .assessment-workspace .exam-question{margin-bottom:20px;padding-bottom:20px;}
body .assessment-workspace .exam-question textarea{min-height:150px;resize:vertical;}
@media(max-width:1000px){body .workspace.assessment-workspace{grid-template-columns:minmax(0,1fr);}}

/* Match the first discussion question to the background paragraph on desktop. */
@media(min-width:1001px){body .workspace .interaction[data-phase="discussion"] .discussion-tasks{padding-top:72px;}}

/* Keep paired rating choices inside narrow task and demo panels. */
@media(max-width:700px){body .workspace .rating-options{grid-template-columns:repeat(var(--rating-count),minmax(0,1fr));gap:5px;}}
body .workspace .rating-options{grid-template-columns:repeat(var(--rating-count),minmax(0,1fr));max-width:calc(var(--rating-count)*64px + (var(--rating-count) - 1)*8px);}
body .workspace .choice-guidance{font-size:18px;line-height:1.4;margin:12px 0;color:#526579;}
