:root{--ink:#182d29;--muted:#5b716a;--green:#195b4d;--line:#dce5df;--paper:#f7f9f5;--mint:#e4efe6;font-family:Inter,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",system-ui,sans-serif;color:var(--ink);background:var(--paper);word-break:keep-all}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,select{cursor:pointer}button{border:0}button:disabled{opacity:.45;cursor:default}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4f9976}button{color:inherit}svg{width:20px;height:20px;vertical-align:middle;flex:none}i[data-icon]{display:inline-flex}h1,h2,p{margin:0}h1,h2,strong{letter-spacing:-.04em}button,select{letter-spacing:-.025em}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:830;letter-spacing:-1.4px}.brand img{width:39px}.eyebrow,.navlabel{font-size:11px;font-weight:750;color:#547567}.eyebrow{letter-spacing:2px;font-family:Inter,Arial,sans-serif}.eyebrow.light{color:#d4ebce}.layout{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:100dvh}.sidebar{background:#fcfdf9;border-right:1px solid var(--line);padding:33px 18px 22px;display:flex;flex-direction:column;gap:46px}.sidebar>.brand{padding-left:10px}.navlabel{padding:0 14px;margin:0 0 10px;letter-spacing:.04em}.subjects-label{margin-top:33px}.nav{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:9px;background:none;width:100%;text-align:left;font-size:15px;font-weight:580;color:#50665e}.nav:hover,.icon:hover{background:#ecf2ec}.nav.active{background:#deece2;color:#18523d;font-weight:760}.nav svg{width:18px}.teacher{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:20px}.teacher small,.teacher strong{display:block;font-size:12px}.teacher small{color:var(--muted);margin-top:3px}.teacher .icon{margin-left:auto}.avatar{display:grid;place-items:center;background:#dfeae0;color:var(--green);width:35px;height:35px;border-radius:50%;font-weight:750}.main{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 clamp(24px,4.5vw,80px);display:flex;align-items:center;justify-content:space-between;background:#fbfcf8}.crumb,.access{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.crumb b{color:#a4b1a8}.crumb strong{color:var(--ink)}.access{font-size:12px;font-weight:650}.access b{width:7px;height:7px;border-radius:50%;background:#458665}.content{max-width:1300px;margin:auto;padding:40px clamp(24px,4.5vw,80px) 60px}.title-row,.list-title,.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.title-row{margin-bottom:24px}.title-row h1{font-size:clamp(32px,3vw,46px);letter-spacing:-.065em;margin-top:6px;line-height:1.18}.primary,.hero-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;font-weight:720;min-height:45px;padding:0 19px}.primary{background:var(--green);color:white}.primary:hover{background:#104b3e}.full{width:100%}.hero,.login-art{position:relative;isolation:isolate;overflow:hidden;color:#fbfff7;background-color:#194d41;background-image:radial-gradient(ellipse at 85% 100%,#527557 0%,transparent 53%),linear-gradient(115deg,#153e36,#205747)}.hero{padding:25px 32px;border-radius:17px;min-height:180px;display:flex;align-items:center}.hero:before,.login-art:before{content:"";position:absolute;z-index:-1;inset:0;background-image:radial-gradient(#d9efd52b .85px,transparent .85px);background-size:15px 15px;mask-image:linear-gradient(to right,transparent,#000)}.hero-mode{font-size:12px;color:#c9e4c6;display:flex;align-items:center;gap:8px;font-weight:700}.hero h2{font-size:30px;line-height:1.2;margin:10px 0 6px}.hero p,.login-art p{color:#d9e7d8;font-size:14px}.hero-btn{margin-top:18px;background:#e0efd0;color:#204735;min-height:35px;border-radius:7px;padding:0 14px;font-size:13px}.hero-btn span{margin-left:10px}.books{pointer-events:none;position:absolute;right:7%;top:50%;width:170px;height:140px;transform:translateY(-50%) rotate(-10deg)}.book{position:absolute;bottom:0;width:93px;height:120px;border-radius:4px 9px 9px 4px;box-shadow:inset 6px 0 0 #ffffff29,3px 8px 1px #0f2e2c42,0 12px 20px #0b2a2926;transform-origin:bottom left;border-bottom:4px solid #c1cbb8}.book.back{left:4%;background:#72ac98;transform:rotate(-14deg);height:108px}.book.middle{left:22%;background:#eed393;transform:rotate(2deg)}.book.front{left:42%;background:linear-gradient(120deg,#e3edce,#b3cf9c);transform:rotate(15deg);padding:17px 16px;color:#53816a}.book span{font-size:30px;font-family:Arial,sans-serif}.book i{display:block;width:68%;border-bottom:2px solid #7e9d7b;margin-top:8px}.book i:last-child{width:45%;margin-top:4px}.list-title{margin:32px 0 15px}.list-title h2{font-size:22px}.list-title small{font-size:14px;background:#e5ede3;color:#42654e;padding:2px 7px;border-radius:6px;vertical-align:middle;margin-left:4px}.tools,.search{display:flex;align-items:center;gap:10px}.tools{margin-bottom:14px}.search{flex:1;border:1px solid var(--line);border-radius:9px;background:white;padding:0 13px;color:#6c8077}.search input{background:none;border:0;outline-offset:0;min-width:0;width:100%;height:43px;font-size:14px}.tools select,.sort select{border:1px solid var(--line);border-radius:9px;padding:10px;color:#43594e;background:white}.sort select{border:none;background:transparent;font-size:13px}.rows{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.row{display:flex;align-items:center;gap:8px;padding:13px 16px;border-bottom:1px solid var(--line)}.row:last-child{border:0}.filelink,.choice{display:flex;align-items:center;gap:13px;min-width:0}.filelink{flex:1}.filelink:hover strong,.choice:hover strong{text-decoration:underline}.filemark{width:44px;height:47px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;flex:none;background:#eae7f5;color:#65548e}.filemark svg{width:19px;height:19px}.filemark b{font:800 8px Arial,sans-serif;letter-spacing:.4px}.filemark.pdf{background:#f9eae4;color:#a95236}.filemark.excel{background:#e2f0e7;color:#31754d}.filemark.hwp{background:#e3edf9;color:#436c96}.fileinfo{min-width:0}.fileinfo strong,.fileinfo small{display:block}.fileinfo strong,.choice strong{font-size:15px;overflow-wrap:anywhere}.fileinfo small{margin-top:5px;font-size:12px;color:var(--muted)}.icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:7px;background:none;color:#64796f}.icon svg{width:17px}.icon.on svg{fill:#e9c563;stroke:#966f1e}.remove,.close{font-size:22px}.empty{text-align:center;padding:35px 16px;color:var(--muted)}.empty strong,.empty p{display:block;margin-top:6px}.empty p,.muted{font-size:14px}.empty svg{width:26px;height:26px}.login-wrap{max-width:1060px;margin:auto;min-height:100dvh;display:flex;justify-content:center;flex-direction:column;padding:42px}.login-brand{margin-bottom:25px}.login-card{display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:white;box-shadow:0 16px 60px #1d4e3a0c}.login-art,.login-form{padding:clamp(32px,4vw,60px)}.login-art{min-height:448px}.login-art h1{font-size:49px;margin:21px 0 13px}.login-art .books{top:auto;bottom:50px;right:18%;transform:rotate(-12deg) scale(1.2)}.login-form{align-self:center}.login-form h2{font-size:30px;margin:12px 0 8px}.login-form p{color:var(--muted);font-size:14px}.login-form form{margin-top:30px}label[for]{display:block;font-size:13px;font-weight:730;margin-bottom:8px}.login-form input,#upload-subject{width:100%;height:46px;border:1px solid #c8d6cd;border-radius:8px;padding:0 12px;background:white;color:var(--ink)}.login-form .primary{margin-top:15px;justify-content:space-between}.login-form .error,#upload-msg{color:#a54932;margin-top:8px}dialog{border:1px solid var(--line);border-radius:16px;padding:24px;color:var(--ink);width:min(480px,calc(100% - 28px));max-height:85dvh;box-shadow:0 22px 90px #0b2f2940}dialog::backdrop{background:#122c2685}.dialog-top{margin-bottom:22px}.dialog-top h2{font-size:23px}.drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1.5px dashed #9ab7a3;border-radius:9px;padding:23px 9px;margin:16px 0;cursor:pointer;background:#f3f8f1;text-align:center}.drop small{color:var(--muted);font-size:12px}.drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.drop:focus-within,.drag{outline:3px solid #7eaa8a}#selected p,#upload-msg{font-size:13px;overflow-wrap:anywhere}#selected p{padding:3px 0}#upload-msg{margin-bottom:12px}.choice{padding:12px 0;border-bottom:1px solid var(--line)}.choice span:last-child{margin-left:auto}#choices{margin-top:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173f34;color:white;border-radius:9px;padding:11px 18px;opacity:0;pointer-events:none}#toast.show{opacity:1}
.classroom{height:100vh;height:100dvh;background:#111b1a;color:#fff;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.classroom header,.classroom footer{display:flex;align-items:center;justify-content:center;padding:10px 18px;gap:12px;background:#1a2926}.classroom header{justify-content:space-between}.classroom header strong{min-width:0;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.class-link,.classroom footer button{border:1px solid #526761;border-radius:8px;background:#263b35;color:white;padding:9px 14px;font-size:15px;font-weight:650;white-space:nowrap}.stage{display:grid;place-items:center;overflow:auto;min-height:0;padding:6px;text-align:center}.stage img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.stage [hidden]{display:none}.stage #stage-msg{max-width:42em;color:#d1e1d7}.zoomed .stage{display:block}.zoomed .stage img:not([hidden]){width:max(125%,1000px);height:auto}.classroom footer{gap:10px}.classroom footer button{min-width:48px}.classroom footer strong{min-width:68px;text-align:center}.divider{height:23px;border-left:1px solid #53665e}.classroom:fullscreen header,.classroom.immersive header{display:none}.classroom:fullscreen,.classroom.immersive{grid-template-rows:minmax(0,1fr) auto}
@media(max-width:850px){.layout{grid-template-columns:184px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.brand{font-size:19px}.content{padding:28px 20px}.topbar{padding:0 20px}.hero .books{right:4%;transform:translateY(-50%) rotate(-10deg) scale(.8)}}
@media(max-width:650px){.layout{display:block}.sidebar{padding:13px 16px 9px;gap:11px;border-right:0;border-bottom:1px solid var(--line);position:relative}.sidebar>.brand{padding:0}.brand img{width:32px}.sidebar nav,#subjects{display:flex;gap:4px}.sidebar nav{overflow:auto}.sidebar .navlabel,.teacher>span,.teacher>div,.sidebar svg{display:none}.nav{width:auto;white-space:nowrap;font-size:13px;padding:8px 11px}.teacher{position:absolute;top:12px;right:16px;border:none;padding:0}.teacher svg{display:block}.topbar{display:none}.content{padding:23px 16px}.title-row h1{font-size:31px}.title-row{margin-bottom:17px}.hero{padding:20px;min-height:155px}.hero h2{font-size:24px}.hero p{max-width:62%;font-size:13px}.hero .books{width:100px;right:12%;transform:translateY(-40%) rotate(-10deg) scale(.62)}.list-title{margin-top:23px}.row{padding:10px 8px;gap:1px}.row .icon{width:29px}.filelink{gap:8px}.fileinfo strong{font-size:14px}.fileinfo small{font-size:11px}.login-wrap{padding:22px}.login-art{min-height:180px;padding:25px}.login-art .books{transform:rotate(-12deg) scale(.53);bottom:-10px;right:0}.login-art h1{font-size:33px;margin:10px 0}.login-art p{max-width:65%;font-size:13px}.login-card{grid-template-columns:1fr}.login-form{padding:27px}.login-brand{margin-bottom:16px}.classroom header,.classroom footer{padding:7px;gap:5px}.class-link,.classroom footer button{font-size:13px;padding:8px}.classroom header strong{font-size:13px}.classroom footer strong{min-width:44px}}
.excel-entry{margin-top:14px;display:flex;align-items:center;gap:14px;padding:17px 19px;border:1px solid #cbded0;border-radius:12px;background:#eff5ef}.excel-logo{display:grid;place-items:center;flex:none;width:38px;height:38px;background:#d8ead9;color:#275f47;border-radius:11px;font-size:22px}.excel-entry h2{font-size:17px;margin:0 0 3px}.excel-entry p,.excel-hint{font-size:13px;color:var(--muted);line-height:1.5}.excel-btn,.row-ai{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c4d8ca;border-radius:7px;background:#fff;color:#275a45;font-size:13px;font-weight:720;padding:8px 11px;white-space:nowrap}.excel-btn:hover,.row-ai:hover{background:#e1efe3}.excel-entry .excel-btn{margin-left:auto}.row-ai{font-size:12px;padding:6px 8px}#excel-dialog{width:min(530px,calc(100% - 28px))}#excel-form select,#excel-form input:not([type=checkbox]),#excel-form textarea{width:100%;padding:10px;border:1px solid #c8d6cd;border-radius:8px;color:var(--ink);font:inherit;background:white}#excel-form textarea{resize:vertical}#excel-form label:not(.check){display:block;font-size:13px;font-weight:700;margin:10px 0 5px}.excel-hint{margin:8px 0}.check{display:flex;align-items:center;gap:6px;font-size:13px}.excel-cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}.excel-cols input{margin-top:5px}.excel-history{border-top:1px solid var(--line);margin-top:18px}.excel-history h3{font-size:16px;margin-bottom:4px}.excel-job{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}.excel-job strong,.excel-job small{display:block;font-size:13px;overflow-wrap:anywhere}.excel-job small{margin-top:4px;color:var(--muted)}#excel-error,.excel-job .excel-fail{color:#984334;font-size:13px}#excel-error:not(:empty){margin-bottom:8px}#excel-submit{margin-top:10px}@media(max-width:650px){.excel-entry{padding:12px;gap:8px}.excel-logo{display:none}.excel-entry p{font-size:12px}.excel-btn{font-size:12px;padding:8px}.row-ai{font-size:11px;padding:5px}}
.title-actions{display:flex;gap:9px;align-items:center}.title-actions .excel-btn{min-height:45px;padding:0 16px}.filemark.link{color:#376d8b;background:#e2eff3}#link-form>input{width:100%;height:43px;border:1px solid #c8d6cd;border-radius:8px;padding:0 12px}#link-form>label{margin-top:13px}#link-error{font-size:13px;color:#984334;margin:10px 0}:is(button,a,input,select,textarea):focus-visible{outline:3px solid #458569;outline-offset:2px}.classroom :is(button,a):focus-visible{outline:4px solid #dcf596}.rows :focus-visible{outline-offset:-2px}@media(max-width:650px){.title-actions{gap:5px}.title-actions .excel-btn,.title-actions .primary{min-height:39px;padding:0 9px;font-size:12px}}
