:root{color-scheme:dark;--bg:#0f172a;--line:#334155;--text:#e2e8f0;--muted:#a8b7cc;--blue:#93c5fd;--yellow:#fde68a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 -apple-system,BlinkMacSystemFont,'Noto Sans TC','PingFang TC',sans-serif}a{color:var(--blue);text-underline-offset:4px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #3b82f6;border-radius:8px;padding:8px 16px;background:#2563eb;color:#fff;font-weight:600}button:hover{background:#1d4ed8}button:disabled{cursor:default;opacity:.65}.secondary{background:#1e293b;border-color:#64748b}.secondary:hover{background:#334155}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}input,select{border:1px solid #64748b;border-radius:7px;background:#101c2e;color:var(--text);padding:7px 10px}input:disabled{opacity:1;color:#cbd5e1}input:not([type=radio]):not([type=checkbox]){width:100%}
.topbar{position:fixed;top:0;left:0;right:0;height:54px;z-index:30;display:flex;align-items:center;gap:12px;padding:8px 20px;background:#0b1423;border-bottom:1px solid var(--line);font-size:.8rem}.topbar a{margin-right:auto}.topbar button{font-size:.8rem;padding:5px 10px}.reveal{height:calc(100dvh - 134px);margin-top:54px;font-size:16px;line-height:1.6}.reveal .slides section:not(:has(section)){height:100%;max-height:100%;overflow:auto;padding:24px 34px}.reveal h1{font-size:2.7rem;line-height:1.25;margin-bottom:20px}.reveal h2{font-size:1.8rem;line-height:1.35;margin-bottom:16px}.reveal h3{font-size:1.1rem;margin:10px 0}.reveal p,.reveal ul,.reveal ol{font-size:1rem;line-height:1.6}.reveal p{margin:8px 0 14px}.reveal pre{width:100%;margin:8px 0 18px}.reveal pre code{font-size:14px;padding:14px;max-height:250px}.reveal pre.saved-answer{padding:12px;font-size:14px;white-space:pre-wrap}.eyebrow{color:var(--blue);font-size:.8rem!important;font-weight:700;letter-spacing:.04em}.badge{display:inline-block;padding:3px 8px;border-radius:5px;background:#24364e;font-size:.75rem;margin-left:8px}.lead{color:var(--muted)}.help{font-size:.83rem!important;color:var(--muted);line-height:1.6}.steps{display:flex;flex-wrap:wrap;gap:10px 30px;padding-left:24px;color:var(--blue)}details{margin:12px 0}summary{cursor:pointer;color:var(--blue);font-weight:600;font-size:.9rem}.student-row{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;align-items:center;margin:14px 0}.student-row label{font-size:.85rem}.student-row span{grid-column:1/-1;font-size:.8rem;color:var(--muted)}.code-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.code-block{min-width:0}.code-label{font-size:.85rem!important;color:var(--muted);margin:0!important}fieldset{border:0;padding:0;margin:14px 0;min-width:0}legend,.field-label{font-weight:600;display:block;margin-bottom:8px;font-size:.95rem}.option{display:flex;align-items:flex-start;gap:10px;background:#101c2e;border:1px solid #52647e;border-radius:8px;padding:10px 12px;margin:7px 0;font-size:.92rem;line-height:1.55;cursor:pointer;white-space:pre-wrap;overflow-wrap:anywhere}.option:has(input:checked){border-color:#60a5fa;background:#183456}.option:has(input:disabled){cursor:default}.option input{width:18px;height:18px;flex-shrink:0;margin:3px 0;accent-color:#60a5fa}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:16px 0}.field-grid label{font-size:.9rem}.field-grid input{margin-top:5px}.confidence{display:flex;flex-wrap:wrap;gap:8px}.confidence .option{flex:1;min-width:100px;margin:0}.notice{padding:14px 18px;border-radius:8px;background:#152f4b;border-left:4px solid #60a5fa;margin:14px 0}.notice.ok{background:#12332a;border-color:#4ade80}.notice.review{background:#352b18;border-color:#fbbf24}.notice p:last-child{margin-bottom:0}.error{color:#fda4af;min-height:1em;font-size:.9rem!important}.saved-answer{white-space:pre-wrap;overflow-wrap:anywhere}.checklist{display:grid;gap:10px;margin:16px 0}.checklist label{display:flex;gap:12px;align-items:flex-start;font-size:.95rem}.checklist input{width:20px;height:20px;flex-shrink:0;margin-top:4px}.deck-toolbar{position:fixed;bottom:0;left:0;right:0;z-index:30;min-height:70px;display:flex;align-items:center;gap:10px;padding:10px 20px;background:#0b1423;border-top:1px solid var(--line);font-size:.8rem}.deck-toolbar #progress{margin-right:auto;color:var(--muted)}.deck-toolbar select{max-width:360px}.report-table{overflow:auto;margin:18px 0}table{border-collapse:collapse;width:100%;font-size:.85rem}th,td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:var(--blue)}.report-preview{max-height:360px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.reset-area{margin-top:24px}.reset-area summary{color:var(--muted)}#start-review{margin-top:12px}
.reveal .slides > section.stack{padding:0!important}
.deck-toolbar label{color:var(--muted)}
@media(max-width:760px){.reveal .slides section:not(:has(section)){padding:16px}.reveal h1{font-size:1.9rem}.reveal h2{font-size:1.4rem}.student-row{grid-template-columns:1fr}.student-row span{grid-column:auto}.code-grid{grid-template-columns:1fr}.steps{gap:8px 24px;font-size:.85rem!important}.deck-toolbar{display:grid;grid-template-columns:auto 1fr auto 1fr;padding:6px 10px;gap:5px 8px}.deck-toolbar #progress{grid-column:1/-1;font-size:.72rem}.deck-toolbar select{width:100%;min-width:0;font-size:.75rem;padding:5px}.topbar{padding:8px 12px}.report-table table{min-width:600px}.option{font-size:.9rem}}
