:root{color:#0f172a;background:#f8fafc;font-family:Pretendard,Noto Sans KR,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.app-shell{width:min(1120px,100%);margin:0 auto;padding:24px}.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:28px;border-radius:8px;background:#0f172a;color:#fff}.eyebrow{margin:0 0 8px;color:#bae6fd;font-size:14px;font-weight:700}h1{margin:0;font-size:clamp(30px,5vw,52px);line-height:1.05}.stats{display:grid;grid-template-columns:repeat(2,minmax(92px,1fr));gap:8px;min-width:220px}.stats span{border:1px solid rgb(255 255 255 / 18%);border-radius:8px;padding:12px;text-align:center;font-weight:800;background:#ffffff14}.progress-panel{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr)) auto;gap:10px;margin-top:16px}.progress-panel div,.progress-panel button{min-height:64px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.progress-panel div{display:grid;align-content:center;gap:3px;padding:10px 14px}.progress-panel strong{font-size:22px;line-height:1}.progress-panel span{color:#64748b;font-size:13px;font-weight:700}.progress-panel button{padding:0 14px;color:#334155;font-weight:800}.progress-panel button:hover{background:#f8fafc}.controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto;gap:10px;margin-top:18px}.controls input,.controls select,.answer-input{width:100%;min-height:48px;border:1px solid #cbd5e1;border-radius:8px;padding:0 14px;background:#fff;color:#0f172a;outline:none}.controls input:focus,.controls select:focus,.answer-input:focus{border-color:#0284c7;box-shadow:0 0 0 3px #0284c724}.segmented{display:flex;padding:4px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.segmented button{min-width:72px;border:0;border-radius:6px;padding:0 14px;background:transparent;color:#475569;font-weight:800}.segmented .active{background:#0f172a;color:#fff}.result-count{margin:14px 2px;color:#64748b;font-size:14px}.quiz-options{display:flex;justify-content:flex-end;margin-bottom:18px}.quiz-options label{display:inline-flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;background:#f8fafc;color:#334155;font-size:14px;font-weight:800}.quiz-options input{width:18px;height:18px;accent-color:#0f172a}.quiz-panel,.list-panel{border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 12px 30px #0f172a12}.quiz-panel{padding:28px}.question-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.question-meta span{border-radius:999px;padding:6px 10px;background:#e0f2fe;color:#075985;font-size:13px;font-weight:800}h2{margin:0;font-size:clamp(21px,4vw,32px);line-height:1.35}.choices{display:grid;gap:10px;margin-top:24px}.choices button{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;min-height:58px;border:1px solid #cbd5e1;border-radius:8px;padding:12px 14px;background:#fff;color:#0f172a;text-align:left}.choices button span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#e2e8f0;font-weight:900}.ox-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.ox-choices button{grid-template-columns:1fr;justify-items:center}.ox-choices button span{width:56px;height:56px;font-size:24px}.choices button.selected{border-color:#0284c7;background:#f0f9ff}.choices button.correct,.feedback.correct{border-color:#16a34a;background:#f0fdf4}.choices button.wrong,.feedback.wrong{border-color:#e11d48;background:#fff1f2}.answer-input{margin-top:24px;font-size:18px}.feedback{margin-top:18px;border:1px solid;border-radius:8px;padding:16px}.feedback p{margin:8px 0 0;color:#475569;line-height:1.65}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.actions button{border:0;border-radius:8px;padding:12px 16px;background:#0f172a;color:#fff;font-weight:900}.actions button:disabled{cursor:not-allowed;opacity:.45}.actions .secondary{border:1px solid #cbd5e1;background:#fff;color:#0f172a}.actions .ghost{background:#e2e8f0;color:#334155}.list-panel{display:grid;overflow:hidden}.list-panel article+article{border-top:1px solid #e2e8f0}.list-panel article.status-done{box-shadow:inset 4px 0 #16a34a}.list-panel article.status-wrong{box-shadow:inset 4px 0 #e11d48}.list-panel article.status-pending{box-shadow:inset 4px 0 #94a3b8}.list-panel button{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px 14px;width:100%;border:0;padding:16px;background:#fff;text-align:left}.list-panel button:hover{background:#f8fafc}.list-panel span{color:#0284c7;font-weight:900}.list-panel strong{min-width:0}.list-panel small{display:flex;flex-wrap:wrap;align-items:center;gap:8px;grid-column:2;color:#64748b}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:12px;line-height:1.2}.status-badge.done{background:#dcfce7;color:#166534}.status-badge.wrong{background:#ffe4e6;color:#be123c}.status-badge.pending{background:#e2e8f0;color:#334155}.list-detail{display:grid;gap:14px;padding:0 16px 18px 86px;color:#334155}.list-detail ol{display:grid;gap:8px;margin:0;padding-left:22px}.list-detail li{border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;background:#f8fafc}.list-detail li.answer{border-color:#16a34a;background:#f0fdf4;color:#166534;font-weight:800}.list-detail p{margin:0;line-height:1.65}.hint-text{color:#64748b;font-size:13px}.list-actions{display:flex;flex-wrap:wrap;gap:10px}.list-detail .start-from-list,.list-detail .reveal-answer{display:inline-flex;align-items:center;justify-content:center;width:148px;min-width:128px;border:0;border-radius:8px;padding:10px 14px;background:#0f172a;color:#fff;font-weight:900;white-space:nowrap;text-align:center;transition:background .12s ease,border-color .12s ease}.list-detail .start-from-list:hover{background:#1e293b}.list-detail .reveal-answer{border:1px solid #cbd5e1;background:#fff;color:#0f172a}.list-detail .reveal-answer:hover{border-color:#94a3b8;background:#f8fafc}.empty{padding:40px;color:#64748b;text-align:center}@media(max-width:720px){.app-shell{padding:14px}.topbar,.progress-panel,.controls{grid-template-columns:1fr}.topbar{display:grid;padding:22px}.stats{min-width:0}.segmented button{flex:1;min-height:40px}.quiz-panel{padding:18px}.quiz-options{justify-content:stretch}.quiz-options label{width:100%;justify-content:center}.list-panel button{grid-template-columns:1fr}.list-panel small{grid-column:1}.list-detail{padding:0 16px 18px}}
