:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Arial,Malgun Gothic,맑은 고딕,sans-serif}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body,#root{min-height:100vh}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f5f7fa;--surface:#fff;--surface-soft:#fafbfd;--ink:#263341;--muted:#758292;--line:#e1e7ed;--accent:#d5dee8;--accent-dark:#465a72;--accent-strong:#35485e;--accent-soft:#eef2f7;--accent-line:#becbd9;--danger:#a33b36;--shadow:0 5px 20px #233a4609;color:var(--ink);background:var(--page);font-family:Arial,Malgun Gothic,맑은 고딕,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}body{background:var(--page);min-width:320px;min-height:100vh;margin:0;display:block}#root{width:100%;min-height:100vh;margin:0;padding:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent-line);outline-offset:2px}.app{min-height:100vh;color:var(--ink);background:var(--page)}.site-header{border-bottom:1px solid var(--line);background:var(--surface);height:58px}.site-header-inner{align-items:center;gap:18px;width:min(100% - 40px,1180px);height:100%;margin:0 auto;display:flex}.brand-button{color:var(--ink);background:0 0;border:0;flex:none;align-items:center;gap:9px;padding:0;display:inline-flex}.brand-mark,.menu-icon{border:1px solid var(--accent-line);width:29px;height:29px;color:var(--accent-dark);background:var(--accent-soft);border-radius:8px;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.brand-mark{color:#fff;background:var(--accent);border-color:#0000}.brand-name{letter-spacing:.04em;font-size:12px;font-weight:800}.header-location{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;overflow:hidden}.header-actions{flex:none;gap:7px;display:flex}.header-button{border:1px solid var(--line);color:#596560;background:var(--surface);border-radius:6px;min-height:30px;padding:0 10px;font-size:10px;font-weight:700}.header-button:hover{border-color:var(--accent-line);color:var(--accent-dark);background:var(--accent-soft)}.app-main{width:min(100% - 40px,1180px);min-height:calc(100vh - 58px);margin:0 auto;padding:31px 0 48px}.screen-heading{margin:0 0 22px}.eyebrow{color:var(--accent);letter-spacing:.12em;margin:0 0 7px;font-size:10px;font-weight:800}h1{letter-spacing:-.04em;margin:0;font-size:clamp(25px,3vw,32px)}h2{letter-spacing:-.02em;margin:0;font-size:16px}.page-heading{margin-top:6px}.page-heading-with-meta{justify-content:space-between;align-items:end;gap:15px;margin-bottom:19px;display:flex}.breadcrumbs{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 10px;font-size:10px;display:flex}.breadcrumb-item{align-items:center;gap:7px;display:inline-flex}.breadcrumb-separator{color:#c2ccc8}.breadcrumb-button{color:var(--muted);font-size:inherit;background:0 0;border:0;padding:0}.breadcrumb-button:hover{color:var(--accent-dark);text-decoration:underline}.book-meta{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:10px;display:flex}.book-meta strong{color:var(--ink);font-size:12px}.separator{color:#c2ccc8}.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.menu-card{border:1px solid var(--line);min-height:145px;color:var(--ink);background:var(--surface);text-align:left;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;justify-content:space-between;padding:17px;transition:transform .15s,border-color .15s;display:flex}.menu-card:hover:not(:disabled){border-color:var(--accent-line);transform:translateY(-2px)}.menu-card-disabled{opacity:.62;cursor:not-allowed}.menu-card-top,.menu-card-bottom{justify-content:space-between;align-items:center;gap:9px;display:flex}.menu-card-title{margin-top:14px;font-size:15px;font-weight:800;display:block}.menu-card-bottom{color:var(--muted);margin-top:7px;font-size:10px}.status-tag{border:1px solid var(--line);min-height:21px;color:var(--muted);background:var(--surface-soft);white-space:nowrap;border-radius:999px;align-items:center;padding:0 7px;font-size:9px;font-weight:700;display:inline-flex}.status-tag-active{border-color:var(--accent-line);color:var(--accent-dark);background:var(--accent-soft)}.arrow{color:var(--accent);font-size:15px;font-weight:800}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.book-card{border:1px solid var(--line);min-height:150px;color:var(--ink);background:var(--surface);text-align:left;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;justify-content:space-between;padding:18px;display:flex}.book-card:hover{border-color:var(--accent-line);background:#fcfefd}.book-card-top,.book-card-bottom{justify-content:space-between;align-items:center;gap:10px;display:flex}.book-title{font-size:16px;font-weight:800}.book-stat-line{color:var(--muted);margin-top:14px;font-size:10px}.book-stat-line strong{color:var(--ink)}.book-card-bottom{color:var(--accent-dark);margin-top:14px;font-size:10px;font-weight:800}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.tool-card{border:1px solid var(--line);min-height:104px;color:var(--ink);background:var(--surface);text-align:left;box-shadow:var(--shadow);border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:17px;display:flex}.tool-card:hover{border-color:var(--accent-line);background:#fcfefd}.tool-card strong,.tool-card span{display:block}.tool-card strong{font-size:13px}.tool-card span span{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.5}.tool-arrow{color:var(--accent);font-size:18px}.notice-panel{border:1px dashed var(--line);color:var(--muted);background:var(--surface);text-align:center;border-radius:9px;padding:24px 18px;font-size:12px}.workspace{grid-template-columns:285px minmax(0,1fr);align-items:start;gap:14px;display:grid}.card{border:1px solid var(--line);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:9px}.day-card{padding:14px}.card-heading-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.card-title{font-size:13px;font-weight:800}.mini-actions,.toolbar-actions{flex-wrap:wrap;gap:5px;display:flex}.mini-button{border:1px solid var(--line);color:#596560;background:var(--surface);border-radius:5px;min-height:26px;padding:0 8px;font-size:9px;font-weight:700}.mini-button:hover:not(:disabled){border-color:var(--accent-line);color:var(--accent-dark);background:var(--accent-soft)}.mini-button:disabled{opacity:.45;cursor:not-allowed}.mini-button-accent{border-color:var(--accent-line);color:var(--accent-dark);background:var(--accent-soft)}.mode-toggle{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.mode-toggle-button{min-height:29px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;padding:4px 6px;font-size:10px;font-weight:750}.mode-toggle-button[aria-pressed=true]{border-color:var(--accent-line);color:var(--accent-dark);background:var(--surface)}.mode-helper{min-height:29px;color:var(--muted);margin:7px 1px 6px;font-size:9px;line-height:1.5}.mode-state{border:1px solid var(--accent-line);min-height:26px;color:var(--accent-dark);background:var(--accent-soft);border-radius:5px;justify-content:space-between;align-items:center;gap:7px;margin-bottom:7px;padding:0 7px;font-size:9px;display:flex}.mode-state strong{flex:none}.mode-state span{text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.day-list{touch-action:pan-y;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);scrollbar-color:#ccd8d4 transparent;scrollbar-width:thin;border-radius:6px;height:350px;overflow-y:auto}.day-option{cursor:pointer;border-bottom:1px solid #edf0ef;align-items:center;gap:7px;min-height:29px;padding:4px 7px;display:flex}.day-option:last-child{border-bottom:0}.day-option:hover{background:#f9fbfa}.day-option.selected{background:var(--accent-soft)}.day-option.selected .day-option-name{color:var(--accent-dark)}.day-option input{width:13px;height:13px;accent-color:var(--accent);flex:0 0 13px;margin:0}.day-option-name{color:#394541;flex:1;font-size:10px;font-weight:700}.day-option-count{color:#89938f;white-space:nowrap;font-size:9px}.selection-summary{color:var(--muted);justify-content:space-between;gap:8px;margin-top:8px;font-size:9px;display:flex}.selection-summary strong{color:var(--ink)}.settings-card,.batch-card{padding:16px}.settings-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:10px;padding-bottom:12px;display:flex}.settings-heading h2{font-size:14px}.settings-heading p{color:var(--muted);margin:5px 0 0;font-size:10px;line-height:1.5}.data-badge{border:1px solid var(--accent-line);min-height:23px;color:var(--accent-dark);background:var(--accent-soft);border-radius:999px;flex:none;align-items:center;gap:5px;padding:0 7px;font-size:9px;display:inline-flex}.scope-summary{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;min-height:61px;margin:13px 0;padding:9px 11px;display:flex}.scope-summary>div:first-child{flex-direction:column;gap:4px;display:flex}.field-caption{color:var(--muted);font-size:9px}.scope-summary strong{font-size:13px}.scope-word-count{text-align:right;flex:none}.scope-word-count strong{font-size:15px;display:block}.scope-word-count span{color:var(--muted);font-size:9px}.settings-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.field{color:#596560;flex-direction:column;gap:5px;min-width:0;font-size:10px;font-weight:700;display:flex}.field select,.field input{width:100%;min-width:0;height:36px;color:var(--ink);background:var(--surface);border:1px solid #d8e0dd;border-radius:5px;padding:0 9px;font-size:11px}.field select:focus,.field input:focus,.student-name-input:focus,.question-count-input:focus{border-color:#83b8ac;outline:0;box-shadow:0 0 0 3px #287b7017}.field-static{border:1px solid var(--line);color:#65716d;background:var(--surface-soft);border-radius:5px;align-items:center;height:36px;padding:0 9px;font-size:10px;font-weight:500;display:flex}.action-row{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:7px;margin-top:14px;padding-top:12px;display:flex}.button{border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;min-height:36px;padding:0 12px;font-size:10px;font-weight:800;display:inline-flex}.button-secondary{border-color:var(--line);color:#52605c;background:var(--surface)}.button-secondary:hover:not(:disabled){border-color:var(--accent-line);color:var(--accent-dark);background:var(--accent-soft)}.button:disabled{opacity:.45;cursor:not-allowed}.action-summary{color:var(--muted);margin-left:auto;font-size:9px}.status-message{min-height:16px;color:var(--muted);margin:8px 1px 0;font-size:9px;line-height:1.5}.status-message.success{color:var(--accent-dark)}.status-message.error{color:var(--danger)}.preview-status{justify-content:space-between;align-items:center;margin:20px 2px 8px;display:flex}.preview-status h2{font-size:13px}.preview-status p{color:var(--muted);margin:5px 0 0;font-size:9px}.batch-card{width:100%}.batch-toolbar{justify-content:space-between;align-items:center;gap:9px;margin:12px 0 8px;display:flex}.batch-toolbar>strong{font-size:10px}.student-table-wrap{border:1px solid var(--line);border-radius:6px;width:100%;overflow-x:auto}.student-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:740px}.student-table th{border-bottom:1px solid var(--line);height:31px;color:var(--muted);background:var(--surface-soft);text-align:left;white-space:nowrap;padding:0 8px;font-size:9px;font-weight:750}.student-table th:first-child{width:20%}.student-table th:nth-child(2){width:19%}.student-table th:nth-child(3){width:33%}.student-table th:nth-child(4){width:18%}.student-table th:nth-child(5){width:10%}.student-table td{vertical-align:middle;border-bottom:1px solid #edf0ef;padding:7px 8px}.student-table tr:last-child td{border-bottom:0}.student-name-input,.student-date-input,.question-count-input{width:100%;height:34px;color:var(--ink);background:#fff;border:1px solid #d9e1de;border-radius:5px;padding:0 8px;font-size:10px}.question-count-input{font-size:11px;font-weight:700}.student-day-cell{flex-direction:column;gap:4px;min-width:0;display:flex}.day-picker-button{color:#34413e;text-align:left;background:#fff;border:1px solid #d9e1de;border-radius:5px;justify-content:space-between;align-items:center;gap:7px;width:100%;min-height:32px;padding:0 8px;font-size:9px;display:flex}.day-picker-button:hover{border-color:var(--accent-line);background:var(--accent-soft)}.day-picker-button span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.student-day-meta{color:var(--muted);font-size:8px}.remove-cell{text-align:center}.remove-button{color:#89938f;background:0 0;border:1px solid #0000;border-radius:5px;width:27px;height:27px;font-size:15px}.remove-button:hover:not(:disabled){color:var(--danger);background:#fff7f6;border-color:#efd3d1}.remove-button:disabled{opacity:.35;cursor:not-allowed}.batch-settings-grid{border-top:1px solid var(--line);margin-top:13px;padding-top:12px}.answer-toggle{border:1px solid var(--line);color:#596560;background:var(--surface-soft);border-radius:5px;align-items:center;gap:7px;min-height:36px;padding:0 9px;font-size:9px;font-weight:600;display:flex}.answer-toggle input{width:13px;height:13px;accent-color:var(--accent);margin:0}.dialog-backdrop{z-index:1000;background:#1624205c;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow-y:auto}.day-dialog{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-direction:column;width:min(600px,100%);max-height:min(88vh,720px);padding:16px;display:flex;box-shadow:0 18px 60px #142a2530}.dialog-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:12px;padding-bottom:10px;display:flex}.dialog-header h2{font-size:15px}.dialog-header p{color:var(--muted);margin:5px 0 0;font-size:10px}.dialog-close{border:1px solid var(--line);width:28px;height:28px;color:var(--muted);background:var(--surface);border-radius:5px;font-size:15px}.dialog-mode-row{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.dialog-helper{min-height:27px;color:var(--muted);margin:7px 1px;font-size:9px;line-height:1.5}.day-list-dialog{height:min(48vh,370px);min-height:180px}.dialog-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding-top:10px;font-size:9px;display:flex}.dialog-actions{gap:6px;display:flex}.print-area{width:100%;display:block;overflow-x:auto}.print-page{background:#fff;border:1px solid #e0e5e3;border-radius:4px;width:210mm;min-width:210mm;height:297mm;margin:12px auto;padding:5mm 6mm;position:relative;overflow:hidden;box-shadow:0 3px 14px #1f332f0d}.print-page-break{break-after:page;page-break-after:always}.print-page-last{break-after:auto;page-break-after:auto}.paper-header{border-bottom:1px solid #777;height:15mm;min-height:15mm;margin-bottom:2mm;padding-bottom:2mm;position:relative;overflow:hidden}.paper-title{color:#111827;white-space:nowrap;text-overflow:ellipsis;padding-right:62mm;font-size:11.5pt;font-weight:800;line-height:1.1;overflow:hidden}.paper-subtitle{color:#555;margin-top:.5mm;font-size:7.5pt;line-height:1.25}.paper-student-info{color:#333;white-space:nowrap;align-items:center;gap:3mm;font-size:7.5pt;display:flex;position:absolute;top:0;right:0}.paper-student-info strong{font-weight:800}.blank-student-name,.blank-date{align-items:center;gap:1mm;display:inline-flex}.blank-student-name i{border-bottom:1px solid #777;width:25mm;height:6mm;display:inline-block}.blank-date i{border-bottom:1px solid #777;width:18mm;height:6mm;display:inline-block}.question-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;column-gap:7mm;width:100%;display:grid;position:relative}.question-grid:after{content:"";pointer-events:none;border-left:1px solid #888;position:absolute;top:0;bottom:0;left:50%;transform:translate(-3.5mm)}.question-column{min-width:0;height:100%;min-height:0;display:grid}.question-row{break-inside:avoid;page-break-inside:avoid;background:#fff;border:1px solid #888;border-bottom:0;grid-template-columns:6mm minmax(0,1fr) 30mm;min-width:0;min-height:0;display:grid;overflow:hidden}.question-column .question-row:last-child{border-bottom:1px solid #888}.question-number{border-right:1px solid #888;justify-content:center;align-items:center;min-width:0;font-size:7.5pt;font-weight:700;display:flex}.question-prompt{color:#111827;white-space:pre-line;overflow-wrap:anywhere;word-break:break-word;align-items:center;min-width:0;padding:.4mm .8mm;font-size:9pt;line-height:1.05;display:flex;overflow:hidden}.question-answer{border-left:1px solid #888;align-items:center;min-width:0;padding:.4mm .8mm;display:flex;overflow:hidden}.question-answer.filled-answer{color:#111827;white-space:pre-line;overflow-wrap:anywhere;word-break:break-word;font-size:9pt;font-weight:700;line-height:1.05}.paper-note{color:#616967;text-align:right;font-size:9pt;position:absolute;bottom:3mm;right:6mm}.site-footer{border-top:1px solid var(--line);width:min(100% - 40px,1180px);min-height:72px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin:14px auto 0;padding:12px 0 18px;display:flex}.footer-context{margin-bottom:2px;font-size:9px}.footer-contact{margin:0;font-size:10px;line-height:1.7}.footer-contact a{color:var(--accent-dark);text-decoration:none}.footer-contact a:hover{text-decoration:underline}.site-signature{color:var(--muted);letter-spacing:.02em;font-size:9px}@page{size:A4 portrait;margin:0}@media (width<=820px){.site-header-inner,.app-main{width:min(100% - 26px,680px)}.app-main{padding-top:23px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:1fr}.day-list{height:250px}}@media (width<=560px){.site-footer,.site-header-inner,.app-main{width:calc(100% - 22px)}.site-header-inner{gap:9px}.brand-name{display:none}.header-location{font-size:9px}.header-button{min-height:27px;padding:0 7px;font-size:9px}.app-main{padding-top:19px}.menu-grid,.book-grid,.tool-grid{grid-template-columns:1fr}.menu-card{min-height:112px}.page-heading-with-meta{flex-direction:column;align-items:start;gap:8px;margin-bottom:14px}.day-card,.settings-card,.batch-card{padding:12px}.settings-grid{grid-template-columns:1fr}.action-row{align-items:stretch}.action-summary{width:100%;margin-left:0}.day-dialog{padding:12px}.dialog-footer{flex-direction:column;align-items:start}.dialog-actions{justify-content:flex-end;width:100%}.print-area{overflow-x:auto}}.brand-mark{background:var(--accent-dark)}.button-primary{color:#fff;background:var(--accent-dark)}.button-primary:hover{background:var(--accent-strong)}.day-option input,.answer-toggle input{accent-color:var(--accent-dark)}@media print{html,body,#root,.app{background:#fff;width:100%;min-width:0;min-height:0;margin:0;padding:0}.screen-only,.app-main,.site-footer{display:none!important}.print-area{width:100%!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.print-page{width:210mm!important;min-width:210mm!important;height:297mm!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;border:0!important;border-radius:0!important;margin:0!important;padding:5mm 6mm!important;overflow:hidden!important}.print-page-break{break-after:page!important;page-break-after:always!important}.print-page-last{break-after:auto!important;page-break-after:auto!important}.paper-student-info input{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.browser-recommendation{color:var(--muted);margin:-12px 0 18px;font-size:11px}@media print{.browser-recommendation{display:none!important}}
