@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'Noto Sans KR',system-ui,sans-serif;color:#20342f;background:#f4f6f3;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}aside{position:fixed;inset:0 auto 0 0;width:236px;background:#143c32;color:#dbe9e2;padding:34px 24px}.brand{font-size:30px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;color:white}.brand span{font-weight:400;margin-left:7px;color:#b1d2b5}.subbrand{font-size:9px;letter-spacing:2.5px;margin-top:3px;color:#a7c1b5}.campus{padding:25px 0;font-size:12px;border-bottom:1px solid #ffffff20}.campus span{display:block;margin-top:8px;font-size:10px;color:#b4c8bc}nav{margin-top:24px}nav a{display:flex;gap:13px;text-decoration:none;color:#bbd0c4;padding:13px 15px;border-radius:7px;margin-bottom:6px;font-size:13px}nav a.active{background:#d8edbb;color:#173b2f;font-weight:700}.sidefoot{position:absolute;bottom:28px;font-size:19px;line-height:1.6;color:#a0bda9}.sidefoot small{display:block;font-size:8px;letter-spacing:1px;margin-top:16px}main{margin-left:236px;padding:0 42px 40px;max-width:1700px}header{height:80px;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1px;border-bottom:1px solid #dce3da}header span{margin:0 12px;color:#8a9a91}header b{font-size:12px;letter-spacing:0;font-weight:500}.badge{font-size:11px!important;background:#e7eddf;padding:6px 10px;border-radius:5px;color:#4e664c!important;white-space:nowrap}.notice{font-size:11px;color:#758276;padding:14px 0}.title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 24px}h1{font-size:28px;letter-spacing:-1.2px;margin:0 0 8px}h2{font-size:17px;margin:0}h3{font-size:14px;margin:0 0 8px}p{line-height:1.8}.muted,.title p{color:#7b897f;font-size:12px;margin:0}button,.button{border:1px solid #dbe2d8;background:white;padding:10px 16px;border-radius:6px;color:#2b493c;font-weight:500;text-decoration:none;display:inline-block}.primary{background:#194c3d;color:white;border-color:#194c3d}.danger{color:#a0473d}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.card,.panel{background:#fff;border:1px solid #e1e6dd;border-radius:10px;padding:23px}.card label{font-size:12px;color:#748376}.card strong{display:block;font-size:29px;margin:13px 0 8px;letter-spacing:-1px}.card small{font-size:11px;color:#889488}.card.featured{background:#e6eddd;border-color:#dbe6cb}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.panel{margin-bottom:20px}.panelhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}th{font-size:10px;font-weight:500;color:#869286;padding:12px 10px;background:#f7f9f5}td{padding:17px 10px;border-bottom:1px solid #edf0e9}tbody tr:last-child td{border-bottom:none}.tag{display:inline-block;padding:4px 8px;border-radius:4px;background:#edf3e5;color:#50723e;font-size:10px}.tag.blue{background:#e9eff7;color:#537194}.tag.orange{background:#fcf0df;color:#a97a37}.row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #edf0e9}.row:last-child{border:0}.avatar{width:35px;height:35px;background:#eef1e7;border-radius:50%;display:grid;place-items:center;font-weight:700}.flex{display:flex;align-items:center;gap:12px}.hero{padding:27px;background:#dce8cc;border-radius:9px;margin-bottom:22px;position:relative;overflow:hidden}.hero h2{font-size:23px;margin-bottom:10px}.hero p{font-size:12px;max-width:75%;margin:0;color:#526a48}.hero::after{content:'↗';position:absolute;right:28px;top:12px;font-size:85px;color:#a7be8c}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px}.field.full{grid-column:1/-1}input,select,textarea{padding:11px;border:1px solid #d9e1d4;border-radius:5px;background:white;width:100%;color:#284137}textarea{min-height:100px;resize:vertical}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar input{width:200px}.summary{padding:20px;background:#edf3e5;margin:20px 0;border-radius:7px;line-height:1.9}.summary strong{font-size:25px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}dialog{width:600px;max-width:94vw;max-height:90vh;border:0;border-radius:12px;padding:28px;color:#20342f}dialog::backdrop{background:#0b281a70}dialog h2{margin-bottom:22px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#163e31;color:white;border-radius:8px;padding:14px 24px;display:none;z-index:10}.empty{padding:32px;text-align:center;color:#83917e}.timeline{border-left:2px solid #dce7d4;margin-left:6px;padding-left:22px}.timeline article{position:relative;padding-bottom:24px}.timeline article::before{content:'';position:absolute;left:-28px;top:5px;width:9px;height:9px;border-radius:50%;background:#799969}.timeline p{font-size:12px;margin:6px 0}.timeline small{color:#84917f;font-size:10px}.progress{height:5px;background:#edf1e8;border-radius:5px;margin-top:7px}.progress i{display:block;height:100%;background:#7e9a5d;border-radius:5px}.soon{border:1px dashed #cfdac7;padding:24px;border-radius:8px;color:#64745d;line-height:1.9;font-size:13px}@media(max-width:1000px){aside{width:190px;padding:28px 16px}main{margin-left:190px;padding:0 22px 30px}.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}}@media(max-width:640px){aside{position:static;width:auto;padding:18px}.brand{font-size:24px}.subbrand,.campus,.sidefoot{display:none}nav{display:flex;overflow:auto;margin:12px 0 0;gap:4px}nav a{white-space:nowrap;margin:0;padding:9px 11px}main{margin:0;padding:0 16px 25px}header{height:55px}.title{align-items:flex-start}h1{font-size:24px}.card{padding:17px}.card strong{font-size:24px}.fields{grid-template-columns:1fr}.panel{padding:17px}.notice{line-height:1.6}.title button{white-space:nowrap}.grid{gap:0}}

.login-page{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:24px}.login-panel{width:100%;max-width:420px}.login-panel h1{margin:24px 0}.login-panel .field{margin:16px 0}#login-error{color:#ac3030;margin:12px 0}.teacher-view [data-action],.teacher-view a[href="#counsel"]{display:none!important}

.login-panel .brand{color:#143c32}.login-panel .brand span{color:#52734b}@media(max-width:640px){header{height:auto;min-height:70px;gap:10px;flex-wrap:wrap;padding:12px 0}header .toolbar{gap:6px}header button{padding:8px 10px}header span{margin:0}}
.member-choice{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf0e9}.member-choice input{width:auto}.attendance-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0}.attendance-row select{width:160px;max-width:55%}
.teacher-view [data-action][data-teacher-action="lesson"]{display:inline-block!important}
