:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#213b2d;background:#f8f5ed;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,.button,.upload{cursor:pointer;border:1px solid #c9c0ad;background:#fffdf9;color:#24402f;border-radius:7px;padding:.65rem .9rem;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:.3rem}button:hover,.button:hover,.upload:hover{border-color:#a55732}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ba8740;outline-offset:2px}.primary{background:#a44c29;color:#fff;border:1px solid #a44c29;font-weight:650}.primary:hover{background:#803a20;color:#fff}.danger{color:#a03928}.layout{min-height:100vh;display:flex}aside{width:242px;flex-shrink:0;background:#183b2c;color:#fff;display:flex;flex-direction:column;padding:2rem 1rem;position:sticky;top:0;height:100vh}.brand{text-align:center;padding:0 0 1.7rem;border-bottom:1px solid #bca064;font-family:Georgia,serif}.brand strong{font-size:1.55rem;line-height:1.15;display:block}.brand small{display:block;color:#dbd5c0;margin-top:1rem;font-family:system-ui;font-size:.75rem}.book{color:#e2c47c;font-size:1.3rem}nav{display:grid;gap:.4rem;padding-top:1.5rem}nav button{background:transparent;color:#fff;border:0;justify-content:flex-start;text-align:left}nav button:hover{background:#496149}.aside-foot{margin-top:auto;color:#c1cbbd;font-family:Georgia,serif;font-style:italic;font-size:.85rem}main{width:100%;max-width:1450px;padding:0 3rem 2rem}header{height:74px;border-bottom:1px solid #e1d8c8;display:flex;align-items:center;justify-content:space-between;color:#937136;letter-spacing:.11em;font-size:.72rem;font-weight:700}header small{color:#526a59;letter-spacing:0;font-size:.8rem}h1,h2,h3,summary{font-family:Georgia,serif;color:#193a2b}h1{font-size:2.4rem;margin:.5rem 0}h2{font-size:1.5rem;margin:1.5rem 0 .8rem}h3{font-size:1.2rem;margin:.2rem 0}p{line-height:1.55;color:#5a625a}.eyebrow{font-size:.73rem;letter-spacing:.14em;color:#a06239;font-weight:700;margin-bottom:.3rem}.title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.8rem 0 1rem}.title-row h1,.title-row h2{margin:0}.hero{text-align:center;padding:1.5rem 0}.hero h2{color:#a44c29;margin:.4rem}.welcome{text-align:center;max-width:720px;margin:4rem auto}.welcome>p{font-size:1.05rem}.ornament{color:#af8c49;font-size:2rem}.entry{text-align:left;margin:2.5rem auto;max-width:520px;display:grid;gap:1rem}.entry details,.group{background:#fffdf8;border:1px solid #e0d7c6;border-radius:10px;margin:1rem 0;padding:1rem}.entry summary,.group>summary,.subgroup>summary{cursor:pointer;font-weight:700;font-size:1.2rem;padding:.4rem}.entry form{padding:1rem}.group>summary::marker,.subgroup>summary::marker{color:#b2763c}.subgroup{margin:1rem .2rem;padding:.5rem;border-left:2px solid #dfcfad}.subgroup>summary{font-size:1rem}.card{background:#fffdf9;border:1px solid #e7ddcd;border-radius:10px;padding:1rem}.line{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.55rem 0}.line p{margin:.25rem 0;font-size:.88rem}.actions,.file-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.vertical{flex-direction:column;align-items:stretch;min-width:215px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.course-card{display:flex;flex-direction:column;gap:.7rem}.course-card p{margin:.35rem 0}.course-card button{margin-top:auto}.icon{width:45px;height:45px;border-radius:8px;background:#a44c29;color:#fff;display:grid;place-items:center;font-size:1.5rem}.tabs{display:flex;gap:.6rem;flex-wrap:wrap}.tabs button.active{background:#1b4933;color:#fff}.filter,.twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.filter{max-width:600px}label:not(.upload):not(.check){display:block;font-weight:600;margin:.8rem 0;font-size:.9rem}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #c8c0b1;border-radius:6px;padding:.7rem;margin-top:.4rem;background:#fff;color:#20382b}textarea{min-height:90px;resize:vertical}small{color:#6e776d}label small{display:block;font-weight:400;margin-top:.3rem}fieldset{border:1px solid #ddd3c1;border-radius:6px;margin:1rem 0}.check{display:flex;gap:.5rem;padding:.3rem}.teacher{font-weight:700}.back{border:0;background:none;color:#a44c29;padding:1rem 0}.material-group{padding:.8rem .2rem;border-top:1px solid #ebe4d9}.material-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.upload{font-size:.85rem;color:#a44c29}.disabled{opacity:.5}.file{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem .1rem;border-bottom:1px solid #f0eadf}.file-name{overflow-wrap:anywhere}.file small{font-size:.75rem}.file-actions .button,.file-actions button{padding:.4rem .6rem;font-size:.85rem}.empty{padding:2rem;text-align:center;background:#fffdf9;border:1px dashed #d5c8ae;border-radius:8px;color:#777}.notice{padding:1rem;background:#eef5e9;border-radius:6px;margin:1rem 0;display:flex;justify-content:space-between}.notice.error{background:#f9eae6;color:#983b2d}.notice button{border:0;background:transparent;padding:0}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#10291eaa;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:10}.dialog{width:min(600px,100%);max-height:90vh;overflow:auto;background:#faf7ef;border-radius:12px;padding:1.5rem;box-shadow:0 15px 50px #0003}.dialog .title-row{margin:0 0 1rem}.dialog form>.primary{margin-top:1rem}footer{margin-top:4rem;border-top:1px solid #e2d9c9;padding-top:1rem;color:#8f988e;font-size:.8rem}@media (max-width:760px){.layout{display:block}aside{position:static;height:auto;width:100%;padding:.75rem 1rem;display:block}.brand{text-align:left;border:0;padding:0;display:flex;align-items:center;gap:.8rem}.brand strong{font-size:1.15rem}.brand strong br,.brand small,.book,.aside-foot{display:none}nav{display:flex;overflow-x:auto;gap:.25rem;padding-top:.6rem}nav button{white-space:nowrap;font-size:.85rem;padding:.5rem}main{padding:0 1rem 1.5rem}header{height:50px}h1{font-size:1.9rem}.title-row{align-items:flex-start;flex-wrap:wrap}.vertical{width:100%}.line,.file{align-items:flex-start;flex-direction:column}.file-actions{width:100%}.twocol{grid-template-columns:1fr}.welcome{margin:2rem auto}.filter{gap:.5rem}.group{padding:.8rem}.grid{grid-template-columns:1fr}}
