*,:before,:after{box-sizing:border-box}:root{color:#1e293b;-webkit-font-smoothing:antialiased;background-color:#f8fafc;font-family:Hiragino Kaku Gothic ProN,Yu Gothic UI,Meiryo,system-ui,sans-serif;line-height:1.5}body{color:#1e293b;background-color:#f8fafc;margin:0}button{font-family:inherit}.app-shell{min-height:100vh;padding-bottom:48px}.site-header{text-align:center;background:linear-gradient(135deg,#fff7ed 0%,#fef3c7 100%);border-bottom:2px solid #fed7aa;padding:28px 20px}.site-header-inner{max-width:980px;margin:0 auto}.brand-badge-row{margin-bottom:8px}.brand-pill{color:#fff;letter-spacing:.04em;background:#ea580c;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;display:inline-block}.brand-title{color:#9a3412;letter-spacing:.02em;margin:4px 0 6px;font-size:32px;font-weight:800}.brand-tagline{color:#7c2d12;margin:0;font-size:15px;font-weight:600;line-height:1.6}.tagline-line{display:inline}.tagline-chunk{display:inline-block}@media (width<=680px){.brand-tagline{font-size:13.5px}.tagline-line{display:block}}.main-container{max-width:980px;margin:24px auto 0;padding:0 16px}.selector-stack{flex-direction:column;gap:20px;display:flex}.step-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;box-shadow:0 2px 8px #0f172a0a}.step-header{align-items:center;gap:10px;margin-bottom:16px;display:flex}.step-number{color:#c2410c;background:#ffedd5;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:800}.step-title{color:#1e293b;margin:0;font-size:18px;font-weight:700}.grade-groups{flex-direction:column;gap:12px;display:flex}.grade-group{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.grade-stage-label{text-align:center;color:#0369a1;background:#e0f2fe;border-radius:8px;min-width:68px;padding:6px 10px;font-size:13px;font-weight:700}.grade-stage-label.is-junior{color:#6d28d9;background:#ede9fe}.grade-stage-label.is-high{color:#be185d;background:#fce7f3}.grade-button-grid{flex:1;grid-template-columns:repeat(6,minmax(64px,1fr));gap:8px;display:grid}.grade-button-grid.is-junior-grid{grid-template-columns:repeat(3,minmax(80px,120px))}.choice-btn{color:#334155;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:10px;padding:10px 8px;font-size:15px;font-weight:700;transition:all .15s}.choice-btn:hover{background:#fff7ed;border-color:#fb923c}.choice-btn.is-active{color:#fff;background:#ea580c;border-color:#ea580c}.axis-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}.axis-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px}.axis-box-head{margin-bottom:12px}.axis-tag{border-radius:999px;margin-bottom:6px;padding:3px 10px;font-size:12px;font-weight:800;display:inline-block}.axis-natural{color:#15803d;background:#dcfce7}.axis-human{color:#1d4ed8;background:#dbeafe}.axis-desc{color:#64748b;margin:0;font-size:12px}.subject-list{flex-direction:column;gap:8px;display:flex}.subject-btn{text-align:left;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;transition:all .15s;display:flex}.subject-btn:hover{border-color:#fb923c}.subject-btn.is-active{background:#fff7ed;border-color:#ea580c}.subject-name{color:#0f172a;font-size:16px;font-weight:800}.subject-caption{color:#475569;font-size:12px}.drilldown-grid{grid-template-columns:1fr 1.3fr;gap:16px;display:grid}.column-label{color:#475569;margin:0 0 10px;font-size:14px;font-weight:700}.item-stack{flex-direction:column;gap:8px;display:flex}.list-btn{text-align:left;color:#1e293b;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.list-btn.is-active{color:#9a3412;background:#fff7ed;border-color:#ea580c}.count-pill{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.unit-btn{text-align:left;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:10px;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:12px 14px;display:flex}.unit-btn.is-active{background:#fff7ed;border-color:#ea580c}.unit-top-row{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.unit-name{color:#0f172a;font-size:14px;font-weight:700}.unit-summary{color:#475569;font-size:12px;line-height:1.45}.branch-badge{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.branch-biology{color:#166534;background:#dcfce7}.branch-chemistry{color:#854d0e;background:#fef9c3}.branch-physics{color:#1e40af;background:#dbeafe}.branch-earth{color:#6b21a8;background:#f3e8ff}.level-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.level-card{text-align:left;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:12px;flex-direction:column;align-items:flex-start;padding:14px;display:flex}.level-card.is-active{background:#fff7ed;border-color:#ea580c}.level-card-top{justify-content:space-between;align-items:center;gap:6px;width:100%;margin-bottom:6px;display:flex}.level-title{color:#0f172a;font-size:14px;font-weight:800}.level-badge{color:#c2410c;background:#ffedd5;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.level-desc{color:#475569;margin:0;font-size:12px;line-height:1.45}.submode-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;display:flex}.submode-label{color:#334155;font-size:13px;font-weight:700}.submode-buttons{flex-wrap:wrap;gap:8px;display:flex}.submode-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:700}.submode-btn.is-active{color:#fff;background:#ea580c;border-color:#ea580c}.summary-panel{background:#fff;border:2px solid #fdba74;border-radius:16px;margin-top:24px;padding:20px}.summary-heading{color:#9a3412;margin:0 0 14px;font-size:18px;font-weight:800}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:0 0 16px;display:grid}.summary-item{background:#fff7ed;border-radius:10px;padding:10px 12px}.summary-item dt{color:#9a3412;margin-bottom:4px;font-size:12px;font-weight:700}.summary-item dd{color:#1e293b;margin:0;font-size:14px;font-weight:700}.qr-preview-bar{border-top:1px dashed #fdba74;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.qr-preview-bar.below-toolbar{background:#fff7ed;border:1.5px solid #fdba74;border-radius:14px;margin-top:10px;padding:14px 16px}.qr-feature-info{flex-direction:column;flex:1;gap:3px;min-width:220px;display:flex}.qr-feature-title{color:#9a3412;font-size:15px;font-weight:800}.qr-note{color:#475569;margin:0;font-size:12.5px;line-height:1.45}.qr-action-buttons{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.copy-url-btn{color:#c2410c;cursor:pointer;background:#fff;border:2px solid #fb923c;border-radius:10px;justify-content:center;align-items:center;padding:10px 16px;font-size:14px;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.copy-url-btn:hover{background:#ffedd5;border-color:#ea580c}.copy-url-btn.is-copied{color:#166534;background:#dcfce7;border-color:#22c55e}.primary-link-btn{color:#fff;background:#ea580c;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:700;text-decoration:none;display:inline-block}.primary-link-btn:hover{background:#c2410c}.play-shell{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.play-card{text-align:center;background:#fff;border:2px solid #fed7aa;border-radius:20px;width:100%;max-width:460px;padding:28px 24px;box-shadow:0 8px 24px #0f172a0f}.play-title{color:#9a3412;margin:10px 0 4px;font-size:26px;font-weight:800}.play-subtitle{color:#475569;margin:0 0 18px;font-size:14px}.linked-badge-box{background:#fff7ed;border:1px solid #fdba74;border-radius:12px;flex-direction:column;gap:8px;margin-bottom:16px;padding:14px;display:flex}.linked-row{justify-content:space-between;align-items:center;font-size:15px;display:flex}.linked-label{color:#7c2d12;font-weight:600}.linked-value{color:#0f172a;font-size:17px}.play-guide{color:#334155;text-align:left;margin:0 0 20px;font-size:14px;line-height:1.6}.play-actions{justify-content:center;display:flex}.secondary-link-btn{color:#334155;text-align:center;border:2px solid #cbd5e1;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:700;text-decoration:none;display:inline-block}.play-start-btn{color:#fff;cursor:pointer;background:#ea580c;border:none;border-radius:12px;width:100%;margin-bottom:14px;padding:15px 20px;font-size:17px;font-weight:800;box-shadow:0 4px 12px #ea580c40}.play-start-btn:hover{background:#c2410c}.play-run-shell{background:#f8fafc;min-height:100vh;padding:16px 14px 48px}.play-run-container{flex-direction:column;gap:14px;max-width:540px;margin:0 auto;display:flex}.play-status-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;display:flex}.play-meta-tag{color:#9a3412;background:#ffedd5;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800}.play-step-indicator{color:#0f172a;font-size:14px;font-weight:800}.play-timer-pill{color:#334155;background:#f1f5f9;border-radius:999px;padding:4px 10px;font-family:ui-monospace,Consolas,monospace;font-size:13px;font-weight:700}.prev-feedback-card{background:#fff;border:2px solid #cbd5e1;border-radius:16px;padding:16px}.prev-feedback-card.is-correct{background:#f0fdf4;border-color:#4ade80}.prev-feedback-card.is-wrong{background:#fff7ed;border-color:#fb923c}.prev-feedback-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.prev-verdict-badge{color:#0f172a;font-size:15px;font-weight:800}.prev-q-label{color:#475569;font-size:12px;font-weight:700}.prev-q-prompt{color:#334155;margin:0 0 10px;font-size:13px;line-height:1.5}.prev-answer-compare{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px;display:grid}.compare-box{background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.compare-box.is-correct-ans{border-color:#f97316}.compare-caption{color:#64748b;font-size:11px;font-weight:700}.compare-user-val{color:#0f172a;word-break:break-word;font-size:14px}.compare-goal-val{color:#dc2626;word-break:break-word;font-size:15px}.play-exp-box{text-align:left;border-top:1px dashed #cbd5e1;flex-direction:column;gap:6px;padding-top:8px;display:flex}.play-exp-row{color:#1e293b;align-items:flex-start;gap:7px;font-size:12.5px;line-height:1.5;display:flex}.play-exp-row.is-cram-row{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:6px 8px}.play-exp-text{flex:1}.method-tag.is-point{color:#166534;background:#dcfce7}.next-arrow-divider{text-align:center;color:#9a3412;letter-spacing:.04em;font-size:12px;font-weight:800}.current-q-card{background:#fff;border:2px solid #fdba74;border-radius:18px;padding:20px 18px;box-shadow:0 6px 20px #0f172a0d}.current-q-header{align-items:center;gap:8px;margin-bottom:10px;display:flex}.current-q-badge{color:#fff;background:#ea580c;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800}.current-q-title{color:#475569;font-size:14px;font-weight:800}.current-q-lead{color:#1e293b;margin:0 0 8px;font-size:14.5px;line-height:1.6}.current-q-prompt{color:#0f172a;margin:0 0 14px;font-size:16px;font-weight:800;line-height:1.55}.hint-toggle-area{margin-bottom:16px}.hint-toggle-btn{color:#0369a1;cursor:pointer;text-align:left;background:#f0f9ff;border:1px dashed #38bdf8;border-radius:10px;width:100%;padding:9px 12px;font-size:13px;font-weight:700}.hint-steps-panel{background:#f8fafc;border:1px solid #bae6fd;border-radius:10px;flex-direction:column;gap:8px;margin-top:8px;padding:12px;display:flex}.hint-step-item{align-items:flex-start;gap:8px;display:flex}.hint-step-tag{color:#0369a1;white-space:nowrap;background:#e0f2fe;border-radius:4px;padding:2px 7px;font-size:11px;font-weight:800}.hint-step-body{flex:1}.hint-step-text{color:#1e293b;margin:0;font-size:13px;line-height:1.45}.hint-step-ans{color:#dc2626;margin:3px 0 0;font-size:12.5px;font-weight:700}.hint-sub-ans-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #94a3b8;border-radius:6px;align-self:flex-end;padding:4px 10px;font-size:11.5px;font-weight:700}.answer-form{flex-direction:column;gap:10px;display:flex}.answer-label{color:#475569;font-size:13px;font-weight:700}.answer-text-input{color:#0f172a;background:#fff;border:2px solid #94a3b8;border-radius:12px;width:100%;padding:12px 14px;font-size:18px;font-weight:700}.answer-text-input:focus{border-color:#ea580c;outline:none;box-shadow:0 0 0 3px #ea580c26}.quick-symbol-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.quick-symbol-caption{color:#64748b;font-size:12px;font-weight:600}.quick-symbol-chip{color:#0f172a;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:5px 12px;font-size:14px;font-weight:800}.answer-format-hint{color:#64748b;margin:0;font-size:12px}.submit-answer-btn{color:#fff;cursor:pointer;background:#ea580c;border:none;border-radius:12px;width:100%;padding:14px 18px;font-size:16px;font-weight:800}.submit-answer-btn:disabled{cursor:not-allowed;background:#cbd5e1}.giveup-btn{color:#64748b;cursor:pointer;background:0 0;border:none;padding:4px;font-size:12.5px;font-weight:600;text-decoration:underline}.result-summary-card{text-align:center;background:#fff;border:2px solid #fed7aa;border-radius:20px;padding:24px 18px;box-shadow:0 8px 24px #0f172a0f}.result-heading{color:#9a3412;margin:10px 0 18px;font-size:22px;font-weight:800;line-height:1.4}.result-score-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px;display:grid}.score-stat-box{background:#fff7ed;border:1px solid #fdba74;border-radius:12px;flex-direction:column;gap:4px;padding:12px 10px;display:flex}.score-stat-label{color:#9a3412;font-size:12px;font-weight:700}.score-stat-value{color:#0f172a;font-size:22px;font-weight:800}.score-stat-value small{color:#475569;font-size:13px}.result-history-list{text-align:left;border-top:1px solid #e2e8f0;flex-direction:column;gap:8px;margin-bottom:18px;padding-top:14px;display:flex}.history-head-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:2px;display:flex}.history-title{color:#334155;margin:0;font-size:14px;font-weight:800}.history-bulk-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:700}.history-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:8px;padding:9px 10px;font-size:12.5px;display:flex}.history-row.is-open{background:#fff;border-color:#fdba74}.history-row-summary{align-items:flex-start;gap:8px;display:flex}.history-detail{flex-direction:column;flex:1;gap:2px;display:flex}.history-q{color:#1e293b;font-weight:700}.history-ans{color:#475569}.history-exp-toggle{color:#334155;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:700}.history-exp-toggle.has-cram{color:#b45309;background:#fffbeb;border-color:#fbbf24}.history-exp-body{background:#f8fafc;border-radius:8px;padding:8px 10px}.history-prompt-recap{color:#334155;margin:0 0 6px;font-size:12px;line-height:1.45}.ranking-preview-box{text-align:left;background:#f8fafc;border:1px dashed #94a3b8;border-radius:12px;margin-bottom:18px;padding:14px}.ranking-preview-head{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.ranking-preview-head h3{color:#1e293b;margin:0;font-size:14px;font-weight:800}.coming-soon-pill{color:#3730a3;background:#e0e7ff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:800}.ranking-preview-desc{color:#475569;margin:0 0 10px;font-size:12px;line-height:1.5}.ranking-draft-inputs{grid-template-columns:1.3fr 1fr;gap:8px;display:grid}.ranking-input,.ranking-select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:8px 10px;font-size:13px}.result-action-stack{flex-direction:column;gap:8px;display:flex}@media (width<=768px){.grade-button-grid{grid-template-columns:repeat(3,1fr)}.drilldown-grid{grid-template-columns:1fr}}.worksheet-section{margin-top:28px}.worksheet-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.toolbar-left,.toolbar-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.regen-btn{color:#fff;cursor:pointer;background:#0f172a;border:none;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:700}.regen-btn:hover{background:#334155}.view-toggle-group{background:#f1f5f9;border-radius:9px;padding:3px;display:inline-flex}.toggle-tab{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:7px;padding:7px 12px;font-size:13px;font-weight:700}.toggle-tab.is-active{color:#9a3412;background:#fff;box-shadow:0 1px 3px #0f172a1f}.print-problem-btn{color:#fff;cursor:pointer;background:#ea580c;border:none;border-radius:9px;padding:10px 16px;font-size:14px;font-weight:800}.print-problem-btn:hover{background:#c2410c}.print-answer-btn{color:#fff;cursor:pointer;background:#0284c7;border:none;border-radius:9px;padding:10px 16px;font-size:14px;font-weight:800}.print-answer-btn:hover{background:#0369a1}.pdf-helper-note{color:#64748b;margin:8px 4px 14px;font-size:12px}.a4-preview-frame{padding:8px 0 16px;overflow-x:auto}.a4-sheet{color:#0f172a;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:#fff;border:1px solid #cbd5e1;flex-direction:column;justify-content:space-between;width:210mm;min-height:292mm;margin:0 auto;padding:12mm 13mm;display:flex;box-shadow:0 8px 28px #0f172a14}.sheet-header{border-bottom:2px solid #0f172a;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;padding-bottom:6px;display:flex}.sheet-badges{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px;display:flex}.sheet-grade-badge{color:#fff;background:#0f172a;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:800}.sheet-level-badge{color:#9a3412;background:#ffedd5;border:1px solid #fdba74;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:700}.sheet-answer-stamp{color:#fff;background:#dc2626;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:800}.sheet-unit-title{color:#0f172a;margin:0;font-size:16.5px;font-weight:800;line-height:1.3}.sheet-category-sub{color:#475569;margin:2px 0 0;font-size:11px}.sheet-user-boxes{border:1px solid #334155;border-radius:6px;min-width:240px;padding:6px 10px;font-size:12px}.date-score-row{white-space:nowrap;border-bottom:1px dotted #94a3b8;justify-content:space-between;gap:10px;margin-bottom:6px;padding-bottom:4px;display:flex}.name-field{padding-top:2px;font-weight:700}.step-questions-list,.standard-questions-list{flex-direction:column;gap:8px;display:flex}.standard-questions-list.is-two-col{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sheet-question-card{break-inside:avoid;border:1px solid #94a3b8;border-radius:8px;padding:7px 10px}.q-head-row{align-items:center;gap:8px;margin-bottom:4px;display:flex}.q-num-pill{color:#0f172a;background:#f1f5f9;border:1px solid #64748b;border-radius:4px;padding:1px 7px;font-size:11px;font-weight:800}.q-title-text{color:#1e293b;font-size:13px;font-weight:800}.q-lead-text{color:#0f172a;margin:0 0 7px;font-size:12.5px;line-height:1.45}.step-flow-box{flex-direction:column;gap:5px;display:flex}.sub-step-row{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;grid-template-columns:auto 1fr 135px;align-items:center;gap:8px;padding:4px 8px;font-size:12px;display:grid}.sub-step-badge{color:#0369a1;white-space:nowrap;background:#e0f2fe;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:800}.sub-step-prompt{color:#1e293b;line-height:1.35}.sub-step-ans-box{color:#475569;border-bottom:1px solid #475569;align-items:center;min-height:22px;padding:0 4px;font-size:11.5px;display:flex}.goal-step-row{background:#fff7ed;border:1.5px solid #fb923c;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:6px 9px;display:flex}.goal-step-main{flex:1;align-items:center;gap:8px;display:flex}.goal-badge{color:#fff;white-space:nowrap;background:#ea580c;border-radius:4px;padding:2px 7px;font-size:10.5px;font-weight:800}.goal-prompt{color:#0f172a;font-size:12.5px;font-weight:700;line-height:1.4}.goal-ans-box{color:#475569;background:#fff;border:1.5px solid #334155;border-radius:5px;align-items:center;min-width:145px;min-height:28px;padding:3px 8px;font-size:12px;display:flex}.ans-red{color:#dc2626;font-size:12.5px;font-weight:800}.answer-exp-box{color:#334155;border-top:1px dotted #cbd5e1;margin-top:5px;padding-top:4px;font-size:10.5px}.exp-line,.point-line{margin:2px 0;line-height:1.4}.direct-goal-prompt{color:#0f172a;margin:4px 0 8px;font-size:12.5px;font-weight:700}.work-and-ans-row{justify-content:space-between;align-items:flex-end;gap:10px;min-height:44px;display:flex}.memo-space{color:#334155;flex:1;font-size:11px}.inline-exp-text{background:#fef2f2;border-left:3px solid #dc2626;padding:4px 8px;line-height:1.4}.card-book-guide{color:#475569;margin:0 0 8px;font-size:11.5px}.card-book-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.card-strip{break-inside:avoid;border:1px dashed #64748b;border-radius:6px;padding:7px 9px}.card-strip-head{color:#64748b;justify-content:space-between;margin-bottom:4px;font-size:10.5px;display:flex}.card-num{color:#0f172a;font-weight:800}.card-strip-body{border-top:1px dotted #cbd5e1;grid-template-columns:1.2fr 1fr;align-items:center;gap:8px;padding-top:5px;display:grid}.card-front{color:#0f172a;font-size:12.5px;font-weight:700}.card-back{border-left:1px dashed #94a3b8;align-items:center;min-height:26px;padding-left:8px;display:flex}.card-blank-hint{color:#94a3b8;font-size:11px}.card-answer-text{color:#dc2626;flex-direction:column;font-size:12px;display:flex}.card-answer-text small{color:#475569;font-size:10px}.sheet-footer{break-inside:avoid;border-top:1.5px solid #0f172a;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;padding-top:6px;display:flex}.credit-service-name{color:#9a3412;font-size:14px;font-weight:800}.credit-tagline{color:#475569;font-size:10.5px}.sheet-custom-logo{width:auto;max-height:36px}.sheet-qr-area{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:10px;padding:5px 8px;display:flex}.sheet-qr-copy{text-align:right;flex-direction:column;max-width:220px;display:flex}.sheet-qr-copy strong{color:#0f172a;font-size:11px}.sheet-qr-copy span{color:#475569;font-size:9.5px;line-height:1.3}.sheet-qr-code{background:#fff;justify-content:center;align-items:center;padding:2px;display:flex}.top-condition-panel{margin-top:0}.condition-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:14px;display:flex}.condition-panel-head .summary-heading{margin:0}.condition-tap-hint{color:#c2410c;background:#ffedd5;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700}.acc-stack{flex-direction:column;gap:10px;margin-bottom:16px;display:flex}.acc-box{background:#fff7ed;border:1.5px solid #fed7aa;border-radius:12px;transition:border-color .15s;overflow:hidden}.acc-box.is-open{background:#fff;border-color:#ea580c}.acc-trigger{text-align:left;cursor:pointer;background:#fff7ed;border:none;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 16px;display:flex}.acc-trigger:hover{background:#ffedd5}.acc-trigger-main{flex-direction:column;flex:1;gap:3px;display:flex}.acc-label{color:#9a3412;font-size:12px;font-weight:700}.acc-value{color:#0f172a;font-size:15.5px;font-weight:800;line-height:1.35}.acc-subdesc{color:#475569;margin-top:2px;font-size:12px;line-height:1.45}.acc-chevron{color:#c2410c;white-space:nowrap;background:#fff;border:1px solid #fdba74;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.acc-body{background:#fff;border-top:1px solid #fed7aa;flex-direction:column;gap:16px;padding:16px;display:flex}.acc-subblock{flex-direction:column;gap:8px;display:flex}.multi-unit-toolbar{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.multi-unit-guide{color:#7c2d12;font-size:12.5px}.reset-single-btn{color:#c2410c;cursor:pointer;background:#fff;border:1px solid #fb923c;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:700}.unit-category-groups{flex-direction:column;gap:14px;display:flex}.unit-category-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.unit-category-group-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.unit-category-group-title{color:#1e293b;font-size:13.5px;font-weight:800}.group-bulk-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:4px 10px;font-size:11.5px;font-weight:700}.group-bulk-btn:hover{color:#c2410c;border-color:#fb923c}.unit-check-title{align-items:center;gap:8px;display:inline-flex}.unit-check-box{color:#fff;background:#fff;border:2px solid #94a3b8;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;font-size:13px;font-weight:900;display:inline-flex}.unit-check-box.is-checked{background:#ea580c;border-color:#ea580c}.grid-op-row{border-top:1px dashed #cbd5e1;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding-top:8px;display:flex}.print-single-btn{color:#ea580c;cursor:pointer;background:#fff;border:2px solid #ea580c;border-radius:9px;padding:8px 14px;font-size:13px;font-weight:800}.print-single-btn:hover{background:#fff7ed}.a4-sheets-stack{flex-direction:column;gap:24px;display:flex}.sheet-page-indicator{color:#475569;background:#f1f5f9;border-radius:999px;margin-bottom:6px;padding:2px 10px;font-size:11px;font-weight:800;display:inline-block}.time-field{color:#0f172a}.work-and-ans-row.is-spacious{min-height:48px}.line-drill-columns{grid-template-columns:1fr 1fr;column-gap:22px;display:grid}.line-drill-col{flex-direction:column;gap:3px;display:flex}.line-drill-row{break-inside:avoid;border-bottom:1px dotted #cbd5e1;align-items:baseline;gap:8px;padding:2px 4px;display:flex}.line-drill-row.is-math-drill{align-items:center;min-height:31px}.line-drill-row.is-text-drill{align-items:center;min-height:43px}.line-drill-num{color:#475569;min-width:28px;font-size:12px;font-weight:700}.line-drill-prompt{color:#0f172a;font-size:15px;font-weight:700;line-height:1.35}.line-drill-row.is-text-drill .line-drill-prompt{flex:1;font-size:12px}.line-drill-ans{text-align:left;min-width:68px;margin-left:auto;font-size:15px}.line-drill-row.is-text-drill .line-drill-ans{text-align:center;border-bottom:1px solid #64748b;min-width:96px;min-height:22px;font-size:12px}.grid100-container{flex-direction:column;align-items:center;display:flex}.grid100-table{table-layout:fixed;border-collapse:collapse;break-inside:avoid;width:100%;max-width:150mm;margin-top:4px}.grid100-table th,.grid100-table td{text-align:center;vertical-align:middle;border:1px solid #334155;height:11.8mm;font-size:14px}.grid100-op-cell{color:#9a3412;background:#fed7aa;font-size:18px;font-weight:900;border:2px solid #0f172a!important}.grid100-head-cell{color:#0f172a;background:#f1f5f9;font-weight:800;border:1.5px solid #0f172a!important}.grid100-ans-cell{background:#fff}@page{size:A4 portrait;margin:8mm 10mm}.a4-measure-sandbox{visibility:hidden;pointer-events:none;z-index:-1;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;width:556px;position:fixed;top:0;left:-9999px}.a4-measure-ruler{height:740px}.sheet-answer-summary-box{text-align:right;background:#fef2f2;border:1px solid #fca5a5;border-radius:6px;flex-direction:column;gap:2px;min-width:185px;padding:6px 10px;display:flex}.sheet-answer-summary-box strong{color:#b91c1c;font-size:12px}.sheet-answer-summary-box span{color:#475569;font-size:10.5px}.answer-only-list{flex-direction:column;gap:6px;display:flex}.answer-only-card{break-inside:avoid;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:6px 10px}.answer-only-top{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.answer-only-correct-wrap{flex-wrap:wrap;flex:1;align-items:baseline;gap:6px;display:flex}.ans-label-tag{color:#b91c1c;background:#fee2e2;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:800}.ans-goal-text{font-size:13.5px}.ans-step-sub{color:#475569;font-size:11px}.answer-only-exp{color:#1e293b;border-top:1px dotted #cbd5e1;flex-direction:column;gap:3px;margin-top:4px;padding-top:4px;font-size:11px;line-height:1.4;display:flex}.exp-row{align-items:baseline;gap:6px;margin:0;display:flex}.exp-row.is-alt{color:#0f172a}.method-tag{white-space:nowrap;border-radius:4px;flex-shrink:0;padding:1px 6px;font-size:10px;font-weight:800}.method-tag.is-school{color:#0369a1;background:#e0f2fe}.method-tag.is-cram{color:#b45309;background:#fef3c7;border:1px solid #fcd34d}.ans-drill-grid{gap:5px 14px;display:grid}.ans-drill-grid.is-four-col{grid-template-columns:repeat(4,1fr)}.ans-drill-grid.is-two-col{grid-template-columns:repeat(2,1fr)}.ans-drill-cell{border-bottom:1px dotted #cbd5e1;align-items:center;gap:6px;padding:3px 2px;font-size:12.5px;display:flex}.ans-card-row{border-bottom:1px dotted #cbd5e1;flex-wrap:wrap;align-items:baseline;gap:6px;padding:5px 4px;font-size:12px;display:flex}.ans-card-note{color:#475569;margin-left:auto;font-size:10.5px}.grid100-ans-pair{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}.grid100-ans-block{flex-direction:column;align-items:center;min-width:0;display:flex}.grid100-ans-caption{color:#334155;margin-bottom:2px;font-size:11.5px;font-weight:800}.grid100-table.is-compact-ans{max-width:none}.grid100-table.is-compact-ans th,.grid100-table.is-compact-ans td{width:auto;height:6.5mm;padding:0;font-size:10px}@media print{html,body{-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:#fff;margin:0!important;padding:0!important}.site-header,.summary-panel,.worksheet-toolbar,.qr-preview-bar,.pdf-helper-note,.sheet-page-indicator,.a4-measure-sandbox{display:none!important}.app-shell,.main-container,.worksheet-section,.a4-preview-frame,.a4-sheets-stack{max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.a4-sheet{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;box-shadow:none!important;border:none!important;margin:0!important;padding:1mm 2mm!important;display:block!important;overflow:visible!important}.a4-sheet+.a4-sheet{break-before:page!important;page-break-before:always!important}.sheet-question-card,.answer-only-card,.card-strip,.line-drill-row,.grid100-table,.sheet-footer{break-inside:avoid;page-break-inside:avoid}}
