:root{--accent:#aa3826;--ink:#302c29;--muted:#77716b;--line:#ddd6ce;--paper:#f5f4f2;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 16% 50%,#f0e7e34d,transparent 60%),radial-gradient(ellipse at 85% 75%,#e7ebef78,transparent 65%)}[hidden]{display:none!important}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:1px solid var(--line);border-radius:7px;padding:10px 15px;background:#ffffffb0}button:hover{background:#fff}button:disabled{cursor:wait;opacity:.42}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ad563a88;outline-offset:4px}a{color:inherit}button.primary,.primary{background:var(--accent);border-color:var(--accent);color:#fff;padding:12px 18px}p{line-height:1.8}#candy-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:1;touch-action:none;cursor:grab}#candy-canvas.dragging{cursor:grabbing}
.page-header{position:relative;z-index:5;height:64px;padding:0 2.1%;display:flex;align-items:center;gap:20px;background:#fffffff0;border-bottom:1px solid #dedbd7}.hall-link{text-decoration:none;font-size:17px;font-weight:500;white-space:nowrap}.hall-link span{margin-right:8px}.brand{display:flex;align-items:center;gap:18px;padding-left:20px;border-left:1px solid var(--line);font-size:18px;white-space:nowrap}.brand img{height:18px;width:auto;max-width:105px;object-fit:contain}.brand strong{padding-left:18px;border-left:1px solid var(--line);font-weight:500}.page-header nav{display:flex;gap:12px;margin-left:auto}.icon-button{border:0;background:transparent;padding:7px;width:34px;height:34px;color:#4b4540}.icon-button:hover{background:#eae6e1}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.workspace{position:relative;z-index:2;min-height:calc(100dvh - 64px);height:calc(100dvh - 64px);display:grid;grid-template-columns:minmax(225px,1fr) minmax(330px,1.42fr) minmax(220px,.9fr);gap:2.5vw;padding:5.2vh 3.3vw 4vh;pointer-events:none}.workspace button,.workspace a,.results,.review-detail{pointer-events:auto}.eyebrow{color:var(--accent);font-size:12px;font-weight:600;letter-spacing:1px;margin:0 0 18px}.mission{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.mission h1{font-size:clamp(25px,2.2vw,39px);letter-spacing:-1px;line-height:1.45;margin:0 0 23px}.mission dl{font-size:clamp(12px,1vw,16px);line-height:1.9;margin:0}.mission dl>div{display:flex;gap:12px;margin-bottom:6px}.mission dt{font-weight:600;flex-shrink:0}.mission dd{margin:0}.subtle{font-size:12px;color:var(--muted);margin:16px 0 5px}.text-button{border:0;border-radius:0;background:none;font-size:12px;padding:6px 0;color:var(--accent);text-underline-offset:5px}.text-button:hover{text-decoration:underline;background:none}.view-tools{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:24px}.view-tools button{display:flex;align-items:center;gap:16px;min-width:130px;min-height:36px;text-align:left;border:0;border-left:3px solid transparent;border-radius:0;padding:5px 12px;background:none;font-size:14px}.view-tools button[aria-pressed=true]{border-left-color:var(--accent);color:var(--accent)}.view-tools span{font-size:22px;width:22px;text-align:center}.view-tools b{font-weight:400}.local-note{font-size:11px;color:var(--muted);margin:25px 0 0;line-height:1.8}
.observation{position:relative;display:flex;align-items:stretch;flex-direction:column;min-height:0;min-width:0;padding-top:28px}.sample-position{text-align:center;margin:0 0 8px;font-size:14px;letter-spacing:.3px;font-variant-numeric:tabular-nums}#model-space{flex:1;min-height:180px;width:100%;max-height:540px;margin:auto 0;pointer-events:none}.view-hint{font-size:11px;color:var(--muted);text-align:center;margin:6px 0 18px}.decisions{display:flex;gap:20px;justify-content:center}.decision{flex:1;max-width:220px;display:flex;align-items:center;justify-content:center;gap:15px;padding:14px 12px;font-size:23px;background:#fff9;border-radius:6px;border-width:1px}.decision span{font-size:28px;line-height:1}.pass{border-color:#59765a;color:#365938}.fail{border-color:#ab473e;color:#943e33}.pass:hover{background:#edf3eb}.fail:hover{background:#f8ede8}.key-hint{display:flex;justify-content:center;align-items:center;gap:20px;font-size:11px;color:var(--muted);margin:16px 0}.key-hint i{width:1px;height:12px;background:#bbb4ac}.judgment-notice{text-align:center;font-size:12px;color:var(--muted);min-height:22px;margin:17px 0 0}.stage-cover{position:absolute;inset:25% -10px 18%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#f5f4f2ed;pointer-events:auto;padding:25px}.stage-cover h2{font-size:25px;line-height:1.5;margin:0}.stage-cover>p:not(.eyebrow){font-size:14px;color:var(--muted);max-width:360px}.stage-cover button{margin-top:14px}.stage-cover .eyebrow{font-size:11px}
.sidebar{display:flex;flex-direction:column;position:relative;align-items:flex-end;min-width:0}.formal-entry{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:19px;text-decoration:none;width:max-content;max-width:100%}.formal-entry>span:last-child{display:flex;flex-direction:column;gap:10px}.formal-entry strong{font-size:clamp(16px,1.55vw,26px);font-weight:600;white-space:nowrap}.formal-entry small{font-size:clamp(10px,.85vw,13px);color:var(--muted);white-space:nowrap}.start-disc{width:clamp(48px,5vw,80px);height:clamp(48px,5vw,80px);border-radius:50%;background:#bc301b;box-shadow:0 0 0 6px #bd3a1d0c,0 0 0 8px #bd3a1d26;display:grid;place-items:center;flex-shrink:0;transition:transform .2s}.formal-entry:hover .start-disc{transform:scale(1.06)}.start-disc svg{width:29px;height:29px;fill:none;stroke:white;stroke-width:2;stroke-linejoin:round;margin-left:2px}.sidebar-note{margin:auto 0 0;text-align:right;font-size:12px;color:#8b837c;line-height:1.9}
.more-menu{position:fixed;top:58px;right:2.1%;background:#fffdf9;border:1px solid var(--line);box-shadow:0 12px 40px #3b29141c;border-radius:8px;padding:8px;z-index:8;min-width:205px}.more-menu button{display:block;border:0;background:none;width:100%;text-align:left;font-size:13px}.more-menu button:hover{background:#f1ebe5}.notice{position:fixed;z-index:20;bottom:16px;left:50%;transform:translateX(-50%);background:#43372e;color:#fff;border-radius:7px;padding:10px 18px;font-size:13px;max-width:90vw;margin:0;box-shadow:0 4px 20px #302a2926}
dialog{color:var(--ink);width:520px;max-width:calc(100vw - 32px);max-height:85dvh;overflow:auto;border:1px solid #ded6cc;border-radius:12px;background:#fffdf9;padding:32px;box-shadow:0 25px 100px #3b29142b}dialog::backdrop{background:#34302c35;backdrop-filter:blur(3px)}dialog h2{font-size:25px;line-height:1.5;margin:10px 0 18px}dialog p{font-size:14px;color:#73675d}dialog .dialog-close{position:absolute;top:10px;right:10px;border:0;background:none;font-size:25px;padding:3px 10px}.rules{font-size:14px;line-height:1.9}.rules dt{font-weight:600;color:var(--accent);margin-top:16px}.rules dd{margin:4px 0}.dialog-footnote{font-size:12px!important;color:#8b8177!important}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}dialog>.primary{margin-top:14px}.history-item{border-top:1px solid var(--line);padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.history-item p{font-size:12px;margin:3px 0}.history-item button{font-size:12px}
.results{min-width:0;grid-column:2/4;grid-row:1;overflow:auto;padding:0 12px 0 20px}.result-heading h2{font-size:clamp(23px,2vw,32px);margin:0 0 13px;font-weight:600}.result-heading>p:last-child{max-width:660px;color:#72675e;font-size:14px}.result-metrics{display:flex;gap:55px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;margin-top:24px}.result-metrics>div{display:flex;flex-direction:column;gap:8px}.result-metrics span{font-size:13px}.result-metrics strong{font-weight:500;font-size:31px;letter-spacing:-1px}.result-metrics strong em{font-size:16px;font-style:normal;color:var(--accent);margin-left:12px}.result-metrics small,.result-limit{font-size:11px;color:var(--muted)}.review-table{margin:16px 0;overflow-x:auto}.review-table table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}.review-table caption{text-align:left;font-size:12px;padding:0 0 12px;color:var(--muted)}.review-table th{font-weight:500;color:#82766c;padding:10px;border-bottom:1px solid var(--line)}.review-table td{padding:9px 10px;border-bottom:1px solid #e2dbd3}.review-table tr.selected{background:#efe5dc7a}.review-table button{border:0;padding:4px 0;color:var(--accent);font-weight:600;background:none;min-width:40px}.review-table td:last-child{color:#7c5a45}.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.result-actions button{font-size:12px}.review-detail{font-size:13px;line-height:1.8;border-top:1px solid var(--line);padding-top:20px}.review-detail h2{font-size:19px;margin:5px 0}.review-detail .eyebrow{margin:0;font-size:11px}.review-detail p{color:#77695f}.review-detail #review-choices{font-size:12px;line-height:1.9;color:#6f5040}
body.is-result .workspace{grid-template-columns:minmax(255px,.8fr) minmax(350px,1fr) minmax(180px,.45fr);gap:2.5vw;padding-top:4vh}body.is-result .mission,body.is-result .sidebar{display:none}body.is-result .observation{grid-column:1;grid-row:1;padding-top:0}body.is-result #model-space{max-height:340px;min-height:190px}body.is-result .view-hint{margin-bottom:24px}body.is-result .sample-position{font-size:13px}body.is-result .view-tools{display:none}
@media(min-width:1800px){.workspace{padding-top:7vh;padding-bottom:6vh;gap:4vw}.view-tools{gap:16px}.observation{padding-top:45px}.decision{max-width:230px}.sidebar .formal-entry{right:0}.mission dl{font-size:16px}.result-heading>p:last-child{font-size:16px}}
@media(max-width:1150px){.workspace{grid-template-columns:220px minmax(280px,1fr) 200px;gap:20px;padding:35px 25px 28px}.mission h1{font-size:25px}.mission dl{font-size:12px}.mission dl>div{gap:8px}.subtle{font-size:11px}.formal-entry{gap:12px}.formal-entry strong{font-size:16px}.formal-entry small{font-size:9px}.start-disc{width:42px;height:42px}.view-tools{gap:7px}.view-tools button{font-size:12px;min-height:32px}.decision{font-size:20px;gap:10px}.key-hint{gap:12px}.local-note{margin-top:18px}.page-header{gap:14px}.page-header nav{gap:6px}.brand{gap:12px;padding-left:14px}.brand strong{font-size:16px;padding-left:12px}}
@media(max-height:760px) and (min-width:761px){.workspace{padding-top:29px;padding-bottom:25px}.mission h1{margin-bottom:16px}.mission dl>div{margin-bottom:3px}.subtle{margin-top:10px}.view-tools{gap:4px;padding-top:10px}.view-tools button{min-height:31px}.view-tools span{font-size:19px}.local-note{margin-top:15px}.observation{padding-top:20px}.view-hint{margin-bottom:10px}.decision{padding:11px}.key-hint{margin:13px 0}.judgment-notice{margin-top:10px}.result-metrics{padding:15px 0;margin-top:16px}.review-table td{padding-top:6px;padding-bottom:6px}}
@media(max-width:850px){.workspace{grid-template-columns:190px minmax(255px,1fr) 150px;gap:12px;padding-left:18px;padding-right:18px}.mission h1{font-size:22px}.mission dl>div{display:block;margin-bottom:6px}.mission dt{display:inline;margin-right:6px}.mission dd{display:inline}.formal-entry{flex-direction:column;align-items:flex-start;gap:17px}.formal-entry strong{font-size:15px}.formal-entry small{font-size:9px}.page-header{gap:8px;padding:0 16px}.hall-link{font-size:14px}.brand{gap:9px;padding-left:10px}.brand img{max-width:85px;height:15px}.brand strong{font-size:14px}.page-header nav{gap:3px}.icon-button{width:30px;padding:5px}}
@media(max-width:760px){body{min-height:100dvh}.page-header{height:56px;padding:0 14px;flex-wrap:wrap;gap:7px}.hall-link{font-size:0}.hall-link span{font-size:20px;margin:0}.brand{border:0;padding:0;gap:10px}.brand img{height:14px;max-width:80px}.brand strong{font-size:13px;padding-left:10px}.page-header nav{gap:0}.icon-button{width:27px;height:30px;padding:5px}.icon-button svg{width:17px;height:17px}.workspace{height:auto;min-height:calc(100dvh - 56px);display:grid;grid-template-columns:1fr;padding:22px 20px 25px;gap:0}.mission{display:block}.mission .eyebrow{font-size:10px;margin-bottom:8px}.mission h1{font-size:22px;line-height:1.5;margin:0 0 10px}.mission h1 br{display:none}.mission dl{font-size:12px}.mission dl>div{margin:2px 0}.mission .subtle{font-size:10px;margin:8px 0 0}.mission .text-button{font-size:11px}.local-note{display:none}.view-tools{flex-direction:row;gap:3px;margin-top:8px;padding:0;flex-wrap:wrap}.view-tools button{font-size:11px;min-width:0;gap:5px;padding:5px 7px;min-height:32px;border-left:0;border-bottom:2px solid transparent}.view-tools button[aria-pressed=true]{border-bottom-color:var(--accent)}.view-tools span{font-size:15px;width:16px}.observation{padding-top:15px}.sample-position{font-size:12px;margin:0}#model-space{height:clamp(230px,34dvh,350px);min-height:230px;flex:none;max-height:none}.view-hint{font-size:10px;margin:0 0 12px}.decisions{gap:14px}.decision{font-size:20px;padding:12px;max-width:none}.decision span{font-size:23px}.key-hint{font-size:10px;margin:10px 0}.judgment-notice{font-size:11px;margin:8px 0;min-height:18px}.sidebar{display:flex;align-items:stretch;margin-top:15px;gap:16px}.formal-entry{position:static;transform:none;flex-direction:row;align-items:center;justify-content:center;gap:17px;width:100%;margin:15px 0 0}.formal-entry strong{font-size:17px}.formal-entry small{font-size:10px}.formal-entry>span:last-child{gap:5px}.start-disc{width:45px;height:45px}.sidebar-note{display:none}.stage-cover{inset:30px -5px 75px;padding:20px}.stage-cover h2{font-size:22px}.stage-cover>p:not(.eyebrow){font-size:13px}.more-menu{top:52px;right:12px}.results{padding:0;overflow:visible}.result-metrics{gap:22px;padding:17px 0}.result-metrics strong{font-size:26px}.result-metrics strong em{font-size:12px;margin-left:7px}.result-metrics small{font-size:9px}.result-heading h2{font-size:23px}.result-heading>p:last-child{font-size:13px}.review-table th,.review-table td{padding:9px 6px;font-size:11px}.review-table td:last-child{white-space:normal;min-width:70px}.result-actions{gap:7px}.result-actions button{padding:10px 11px;font-size:11px}body.is-result .workspace{display:flex;flex-direction:column;padding:24px 20px}body.is-result .results{order:0}body.is-result .observation{order:1;margin-top:18px}body.is-result #model-space{height:260px;max-height:260px;min-height:260px}.review-detail{padding-top:13px}dialog{padding:25px}dialog h2{font-size:22px}.dialog-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#candy-canvas{pointer-events:none}#model-space{pointer-events:auto;touch-action:none;cursor:grab}#model-space:focus-visible{outline:2px dashed #a3664270;outline-offset:2px;border-radius:40%}

.review-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;pointer-events:auto;margin:0 0 18px}.review-tools button{font-size:11px;padding:6px 9px}.review-tools button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.result-actions a{font-size:12px;color:var(--accent);padding:10px 4px;text-underline-offset:4px}

/* Keep observation tools next to the specimen and immediately above its hint. */
.observation>.view-tools{flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:10px 0 4px;padding:0;flex-shrink:0}
.observation>.view-tools button{min-width:0;min-height:36px;padding:6px 9px;gap:6px;border:0;border-bottom:2px solid transparent;font-size:12px;white-space:nowrap}
.observation>.view-tools button[aria-pressed=true]{border-bottom-color:var(--accent);background:#aa382609}
.observation>.view-tools span{font-size:17px;width:18px}
.observation>.review-tools{margin:10px 0 4px;flex-shrink:0}
.mission>.local-note{margin-top:auto;padding-top:24px}
@media(max-width:1150px){.observation>.view-tools{gap:3px}.observation>.view-tools button{font-size:11px;padding:6px;gap:4px}.observation>.view-tools span{font-size:15px;width:15px}}
@media(max-width:760px){.observation>.view-tools{margin-top:7px;margin-bottom:5px}.observation>.view-tools button{min-height:36px}.observation>.review-tools{margin-bottom:8px}}

/* Experiment status card follows the paper-plane station design. */
.practice-progress{flex-shrink:0;width:100%;max-width:540px;align-self:center;padding:18px 20px 15px;background:#ffffffed;border:1px solid #e4ddd4;border-radius:17px;box-shadow:0 9px 26px #49413905;font-variant-numeric:tabular-nums;margin-bottom:12px}
.practice-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #e9e3dc}
.practice-progress #mode-label{padding:6px 9px;background:#f6ede8;color:var(--accent);border-radius:7px;font-size:13px;font-weight:500;white-space:nowrap}
.practice-progress p{margin:0;font-size:12px;color:var(--muted);line-height:1.6}
.practice-progress #round-label{font-size:14px;color:var(--ink);font-weight:600}
.practice-progress-details{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px}
.practice-progress-details p+p{border-left:1px solid #e9e3dc;padding-left:16px}
.practice-progress-details b{font-size:20px;color:var(--ink);font-weight:600;margin-left:6px}
.practice-progress-details #done-count{color:var(--accent)}
.practice-progress-details p{white-space:nowrap}
.practice-progress .practice-progress-note{font-size:11px;color:var(--accent)}
.practice-progress-note>span:last-child{color:var(--muted);margin-left:5px}
.practice-progress progress{display:block;width:100%;height:2px;margin-top:12px;border:0;appearance:none;background:#eee9e3;color:var(--accent)}
.practice-progress progress::-webkit-progress-bar{background:#eee9e3}
.practice-progress progress::-webkit-progress-value{background:var(--accent)}
.practice-progress progress::-moz-progress-bar{background:var(--accent)}
body:not(.is-result) .sample-position{display:none}
body.is-result .practice-progress{display:none}
body:not(.is-result) .observation{padding-top:0}
@media(max-width:1150px){.practice-progress{padding:14px 13px 12px}.practice-progress-details{gap:8px}.practice-progress-details p{font-size:11px}.practice-progress-details p+p{padding-left:10px}.practice-progress-details b{font-size:18px;margin-left:3px}.practice-progress #round-label{font-size:12px}}
@media(max-width:760px){.practice-progress{margin-top:18px;margin-bottom:0;padding:16px}.practice-progress-details{justify-content:space-between}.practice-progress #round-label{font-size:13px}}

/* Pale inspection equipment frames the neutral specimen field. */
body{background:#f5f5f3}
.candy-lab-backdrop{position:fixed;inset:64px 0 0;z-index:0;pointer-events:none;background:url('./candy-lab-backdrop.svg') center / 100% 100% no-repeat}
.lab-wordmark{position:fixed;z-index:0;bottom:22px;left:3.3vw;font-size:clamp(34px,4.5vw,78px);font-weight:750;letter-spacing:-.065em;line-height:1;color:#77777120;pointer-events:none;user-select:none}
.lab-wordmark span{color:#aa38261a}
body.is-result .candy-lab-backdrop{opacity:.45}
body.is-result .lab-wordmark{opacity:.5}
@media(max-width:760px){.candy-lab-backdrop{inset:56px 0 0;background-size:auto 100%;opacity:.55}.lab-wordmark{position:fixed;left:20px;bottom:14px;margin:0;font-size:34px;opacity:.65}}

/* Export is a table tool; continuing the experiment and analysis share one footer. */
.result-export-actions{display:flex;justify-content:flex-end;gap:8px;margin:12px 0 0}
.result-export-actions button{min-height:30px;padding:4px 8px;border:0;background:transparent;font-size:12px;color:var(--muted)}
.result-export-actions button:hover{color:var(--accent);background:#eee7df}
#results .lss-tool-results-native-actions #again-button{border-color:transparent;color:var(--muted);background:transparent}
#results .lss-tool-results-native-actions [data-open-formal]{border-color:var(--accent);color:var(--accent);padding:7px 10px;text-decoration:none}
