:root{--bg:#fbf9f4;--surface:#fff;--ink:#24382f;--muted:#6b766f;--line:#d9e2dc;--primary:#1e3f2e;--soft:#edf3ed;--amber:#8b681c;--amber-bg:#faf3dd;--radius:14px;font-family:"Pretendard","Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 16px;cursor:pointer;font-weight:600}button:hover{background:var(--soft);border-color:#b7c8b9}button:disabled{opacity:.35;cursor:default}button.primary{background:var(--primary);border-color:var(--primary);color:white}button.primary:hover{background:#193e30}button.danger{color:#a34438}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a27b22;outline-offset:3px}input,textarea,select{border:1px solid #cbd5ca;background:#fff;border-radius:8px;padding:12px;color:var(--ink);min-height:46px;font-size:16px}input,textarea{width:100%}textarea{resize:vertical}label{display:block;font-size:15px;font-weight:600}label>input,label>textarea{display:block;margin-top:9px}[hidden]{display:none!important}.topbar{height:88px;border-bottom:1px solid var(--line);padding:0 4%;display:flex;align-items:center;justify-content:space-between;background:#fff}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--primary);color:white;font-size:29px}.brand strong{font-size:23px;letter-spacing:-1px}.brand-sub{font-size:10px;letter-spacing:2px;color:var(--muted);margin-left:9px}.header-actions{display:flex;gap:10px;align-items:center;font-size:14px}.save-state{color:var(--muted);font-size:12px;margin-right:14px}.save-state:before{content:"";display:inline-block;width:6px;height:6px;background:#55805d;border-radius:50%;margin-right:7px}main{max-width:1740px;margin:auto;padding:32px 4% 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:12px;letter-spacing:1px;font-weight:700;color:var(--primary);margin:0 0 10px}h1{font-size:34px;letter-spacing:-1.5px;margin:0;line-height:1.3;font-weight:700}.intro-note{color:var(--muted);font-size:14px;margin:12px 0 0}.intro>button{font-size:14px}.summary{display:flex;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:19px 0;margin-bottom:26px}.summary>div{padding:0 35px;min-width:18%;border-right:1px solid var(--line)}.summary>div:first-child{padding-left:2px}.summary>div>span{display:block;color:var(--muted);font-size:13px;margin-bottom:7px}.summary strong{font-size:30px;font-weight:600;letter-spacing:-1px}.summary small{font-size:13px;font-weight:400;margin-left:8px;color:var(--muted)}.summary p{font-size:13px;line-height:1.8;margin:0 0 0 auto;color:var(--muted)}.summary b{font-weight:500;color:var(--primary)}.dot{display:inline-block;width:7px;height:7px;vertical-align:middle;border-radius:50%;margin-right:7px}.reading{background:#be973b}.done{background:#4f7859}.empty-dot{background:#c8cfc9}.workspace{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden}.workspace-head{display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:78px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:28px;align-self:stretch}.tabs button{padding:0 2px;border:0;border-radius:0;background:none;font-size:17px;color:var(--muted);border-bottom:3px solid transparent}.tabs button[aria-selected=true]{color:var(--primary);border-bottom-color:var(--primary)}.workspace-head>.primary{font-size:14px}.toolbar{padding:16px 24px;display:flex;align-items:center;gap:15px}.search{display:flex;align-items:center;position:relative;max-width:360px;flex:1}.search span{position:absolute;left:14px;font-size:26px;color:var(--muted);font-weight:400}.search input{padding-left:42px;margin:0;background:#fafbf8;border-color:var(--line);font-size:14px}.filter-label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}select{font-size:13px;border-color:var(--line)}.student-nav{margin-left:auto;display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:13px}.student-nav button,.pagination button{width:44px;padding:4px;font-size:23px}.table-scroll{overflow:auto}table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed}th,td{border-bottom:1px solid var(--line);border-right:1px solid #edf0ea;text-align:center;padding:10px 6px}th:last-child,td:last-child{border-right:0}thead th{background:#f5f7f2;color:var(--muted);font-weight:500;font-size:13px;height:46px}thead th:first-child{text-align:left;padding-left:24px;width:27%}.book-cell{text-align:left;padding:12px 20px 12px 24px;background:#fff;font-weight:500}.book-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.book-no{font-size:10px;letter-spacing:1px;color:#829085;display:block;margin-bottom:4px}.record-cell{width:100%;min-height:52px;border:1px solid transparent;background:#f7f8f5;padding:7px 3px;font-size:12px;color:#8a958c;line-height:1.5;font-weight:500}.record-cell.reading{background:var(--amber-bg);color:var(--amber)}.record-cell.done{background:#eaf2e9;color:#3f6b47}.record-cell small{display:block;font-size:10px;opacity:.85;font-weight:400}.record-cell:hover{border-color:#9db29e;background:#e9efe6}.record-cell.filtered{background:transparent;color:#a2aaa3}.record-cell.filtered span{opacity:.5}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;font-size:12px;color:var(--muted);min-height:70px}.legend{display:flex;gap:17px}.pagination{display:flex;align-items:center;gap:8px}.pagination>span{margin-right:12px}.page-footer{display:flex;justify-content:space-between;font-size:11px;color:#7e8a80;margin-top:18px}.book-list{padding:0 24px}.book-item{display:flex;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.book-item .index{color:#89958b;font-size:12px;width:25px}.book-item .book-info{flex:1;min-width:0}.book-info strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}.book-info small{display:block;margin-top:5px;color:var(--muted)}.book-item button{font-size:13px}.empty:not(.record-cell){text-align:center;padding:64px 20px;line-height:1.8;color:var(--muted)}.empty small{font-size:13px}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:min(520px,calc(100% - 32px));max-height:90dvh;color:var(--ink);box-shadow:0 16px 70px #1b30262a}dialog::backdrop{background:#14261e55}dialog h2{font-size:24px;line-height:1.5;letter-spacing:-.7px;margin:12px 0;overflow-wrap:anywhere}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dialog-head h2{margin:0}.dialog-head .eyebrow{margin:0}.dialog-head button{border:0;font-size:26px;padding:0;width:44px;background:#f4f6f1}dialog label{margin:20px 0}.muted,.hint{color:var(--muted);font-size:14px;line-height:1.8}.hint{font-size:12px}.dialog-footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:12px}.quick-actions{display:flex;gap:10px;margin:24px 0}.quick-actions button{flex:1;font-size:14px;background:var(--soft)}.student-badge{display:inline-block;border-radius:6px;background:var(--soft);padding:7px 12px;color:var(--primary);font-weight:700}.error{color:#aa3c2d;font-size:14px;line-height:1.6;min-height:1px}.number-preview{background:var(--soft);padding:14px;border-radius:8px;line-height:1.9;font-size:13px;max-height:160px;overflow:auto}.number-preview b{display:block}.backup-options{display:grid;gap:10px;margin-top:20px}.backup-options button{text-align:left;padding:18px}.backup-options strong{display:block;margin-bottom:6px}.backup-options span{font-size:12px;color:var(--muted);font-weight:400}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:15px 24px;background:var(--ink);color:#fff;border-radius:10px;box-shadow:0 4px 24px #0002;max-width:90%;z-index:20;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.board .brand-sub,body.board .intro-note,body.board .summary p,body.board .page-footer{display:none}body.board main{max-width:none;padding:22px 3%}body.board h1{font-size:48px}body.board .intro{margin-bottom:20px}body.board .summary{padding:12px 0;margin-bottom:20px}body.board .summary>div{min-width:24%}body.board .summary>div>span{font-size:22px}body.board .summary strong{font-size:40px}body.board .summary small{font-size:22px}body.board .book-title,body.board .record-cell{font-size:28px}body.board .record-cell{min-height:88px}body.board .record-cell small{font-size:20px}body.board thead th{font-size:24px}body.board .book-no{font-size:16px}body.board .tabs button,body.board .toolbar input,body.board .toolbar select,body.board .student-nav,body.board .legend,body.board .pagination,body.board button,body.board .eyebrow{font-size:20px}body.board .book-cell{padding:14px 24px}body.board dialog{width:620px}body.board dialog label,body.board dialog input,body.board dialog .muted{font-size:24px}body.board dialog h2{font-size:32px}
@media(min-width:1600px){main{padding-top:40px}.book-title{font-size:17px}.record-cell{font-size:14px;min-height:60px}.record-cell small{font-size:12px}}
@media(max-width:1000px){.brand-sub,.save-state,.summary p{display:none}.summary>div{min-width:25%;padding:0 20px}.toolbar{flex-wrap:wrap}.student-nav{margin-left:auto}thead th:first-child{width:30%}.record-cell{font-size:11px}.topbar{padding:0 3%}.header-actions button{font-size:12px;padding:8px}main{padding:24px 3%}.book-title{font-size:14px}}
@media(max-width:600px){.topbar{height:auto;min-height:76px;gap:14px;flex-wrap:wrap;padding:16px}.brand strong{font-size:21px}.header-actions{margin-left:auto}.brand-mark{width:36px;height:36px}.intro{gap:10px;align-items:flex-start}h1{font-size:28px}.intro-note{font-size:12px;line-height:1.7}.intro>button{font-size:12px;white-space:nowrap;padding:8px}.summary>div{padding:0 12px}.summary>div>span{font-size:10px}.summary strong{font-size:26px}.summary small{font-size:10px;margin-left:4px}.summary .dot{display:none}.workspace-head{padding:0 14px;height:68px}.tabs{gap:18px}.tabs button{font-size:14px}.workspace-head>.primary{font-size:12px;padding:8px}.toolbar{padding:14px;gap:10px}.search{max-width:none;flex-basis:100%}.filter-label{font-size:0;gap:0}.student-nav{font-size:12px;gap:7px}thead th:first-child{width:42%;padding-left:12px}.book-cell{padding:12px}.book-title{font-size:13px}.book-no{font-size:9px}.table-footer{padding:12px;gap:10px;flex-wrap:wrap}.legend{gap:10px}.pagination{margin-left:auto}.pagination>span{margin-right:2px}.page-footer{line-height:1.7;gap:20px}.page-footer>span:first-child{display:none}.book-list{padding:0 14px}.book-item{gap:8px}.book-item button{padding:8px}.book-item .index{display:none}dialog{padding:22px}.quick-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media (min-width:1001px) and (max-height:850px){body:not(.board) .topbar{height:64px}body:not(.board) main{padding-top:18px}body:not(.board) .intro{margin-bottom:16px}body:not(.board) .intro-note{display:none}body:not(.board) .summary{padding:12px 0;margin-bottom:18px}body:not(.board) .workspace-head{height:62px}body:not(.board) .toolbar{padding-top:12px;padding-bottom:12px}body:not(.board) .table-footer{min-height:60px;padding-top:8px;padding-bottom:8px}}
body.board .topbar{height:64px}body.board main{padding-top:16px;padding-bottom:12px}body.board .intro{margin-bottom:14px}body.board .summary{padding:8px 0;margin-bottom:14px}body.board .toolbar{padding-top:12px;padding-bottom:12px}
