:root{--bg:#f6f7f2;--surface:#fff;--ink:#163e38;--muted:#728078;--line:#e0e6dc;--green:#1c5949;--lime:#d9ee9d;--soft:#edf2e5;--danger:#a64235;--shadow:0 12px 35px #183e380a;--sidebar:245px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,p{margin-top:0}h1{font-size:clamp(30px,3.4vw,48px);font-weight:700;letter-spacing:-1.8px;line-height:1.13;margin-bottom:15px}h2{font-size:24px;letter-spacing:-.6px;line-height:1.25;margin-bottom:18px}h3{font-size:18px;letter-spacing:-.3px;line-height:1.4;margin-bottom:14px}p{color:var(--muted);margin-bottom:18px}small,.muted{font-size:11px;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--line);padding:27px 20px 18px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-.8px;line-height:1.08;margin:0 4px}.brand>span:last-child{max-width:145px}.brandlight{display:block;font-weight:400}.brand b{color:#93af4b}.mark{display:inline-flex;flex-shrink:0;width:42px;height:44px;align-items:center;justify-content:center;border-radius:12px;background:var(--green);color:var(--lime);font-family:Georgia,serif;font-size:27px;font-weight:bold;letter-spacing:-4px;padding-right:4px}.school{font-size:9px;color:var(--muted);margin:18px 5px 20px;padding-bottom:20px;border-bottom:1px solid var(--line)}nav{display:flex;flex-direction:column;gap:3px}nav small{font-size:8px;letter-spacing:1.7px;font-weight:700;padding:15px 12px 8px;color:#94a095}nav a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:7px;font-size:11px;font-weight:600;color:#69786e}nav a>span{font-size:17px;width:20px;text-align:center}nav a:hover{background:var(--bg);text-decoration:none}nav a.active{background:var(--soft);color:var(--ink)}.sidefoot{margin-top:auto;font-size:9px;color:var(--muted);padding:25px 12px 0}.statusdot{display:inline-block;width:7px;height:7px;background:#91ac53;border-radius:50%;margin-right:6px}.workspace{margin-left:var(--sidebar)}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);gap:15px}.breadcrumb{font-size:10px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#b9c4b4}.topactions{display:flex;align-items:center;gap:18px;font-size:10px}.topactions>a{font-weight:600}main{max-width:1390px;margin:auto;padding:35px 38px 70px;min-height:calc(100vh - 156px)}footer{padding:25px 38px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:9px}footer strong{font-size:16px;color:var(--ink);letter-spacing:-.5px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:14px 0 28px}.pagehead p{font-size:12px;max-width:680px;margin:0}.pagehead>.actions{flex-shrink:0;flex-wrap:wrap;max-width:45%;justify-content:flex-end}.eyebrow{font-size:8px;font-weight:800;letter-spacing:2px;display:block;margin-bottom:15px;color:#698369}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.button,button{border:1px solid var(--green);border-radius:7px;background:var(--green);color:#fff;font-size:11px;font-weight:700;padding:12px 17px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:7px;line-height:1.45;transition:background .15s,transform .15s}.button:hover,button:hover{filter:brightness(1.08);text-decoration:none}.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.danger{background:var(--danger);border-color:var(--danger)}.icon{background:transparent;border:0;color:var(--ink);font-size:20px;padding:4px 6px;line-height:1.2}.small{font-size:9px;padding:7px 10px}.menu{display:none}button:disabled{opacity:.5;cursor:wait}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;min-height:350px;align-items:center;margin-bottom:25px}.hero h1{font-size:clamp(37px,4vw,61px);letter-spacing:-2.5px;line-height:1.08;margin-bottom:20px}.hero h1 em{font-family:Georgia,serif;font-weight:400}.hero p{font-size:12px;line-height:1.8}.herostats{display:flex;gap:26px;margin-top:24px;font-size:9px;color:var(--muted)}.herostats b{display:block;font-size:20px;color:var(--ink);line-height:1.3}.herographic{position:relative;min-height:330px;background:#e8eee0;border-radius:18px;overflow:hidden}.orbit{position:absolute;border:1px solid #cbd7bf;width:300px;height:300px;border-radius:50%;left:25px;top:15px}.orbit:after{content:'';position:absolute;inset:30px;border:1px solid #cbd7bf;border-radius:50%}.sheet{background:#fffef7;width:220px;height:265px;position:absolute;right:38px;top:29px;padding:22px;transform:rotate(9deg);border-radius:6px;box-shadow:0 20px 25px #163e3820}.sheet small{font-size:6px;letter-spacing:1px}.sheet strong{display:block;font-size:30px;line-height:1.05;margin:22px 0 17px;letter-spacing:-1px}.equation{background:#eaf2df;font:italic 24px Georgia,serif;padding:10px;border-radius:5px}.sheetlines{height:25px;background:repeating-linear-gradient(transparent 0 8px,#d9e1cf 8px 9px);margin-top:13px}.sheet>span{font-size:6px;letter-spacing:1px}.floatnote{background:var(--lime);color:#304d30;border-radius:6px;font-size:12px;line-height:1.6;position:absolute;top:55px;left:22px;padding:18px;transform:rotate(-10deg);width:165px;height:195px;font-family:Georgia,serif}.floatnote:first-line{font-size:47px;line-height:1.7}.artlabel{position:absolute;bottom:18px;left:20px;background:var(--green);color:var(--lime);font-size:7px;letter-spacing:1px;border-radius:6px;padding:11px 14px;transform:rotate(-3deg)}.notice{padding:17px 21px;background:var(--soft);border-left:3px solid #9ab75b;display:flex;gap:26px;font-size:11px;margin:25px 0 30px;border-radius:0 8px 8px 0}.notice strong{flex-shrink:0}.announcementstrip{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:12px;font-size:10px}.announcementstrip>span:first-child{font-weight:600}.filterpanel{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:21px}.filtergrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.filterpanel>.actions{margin-top:16px}.filterpanel details{margin-top:14px}.filterpanel details .filtergrid{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:700;color:var(--ink)}input,select,textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);padding:10px;font-size:12px;line-height:1.5}textarea{resize:vertical}input[type=hidden]{display:none}input[type=checkbox],input[type=radio]{width:16px;height:16px;accent-color:var(--green);flex-shrink:0}.check,.answer{flex-direction:row;align-items:center;font-weight:400;gap:9px}.checkgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkgrid .check{font-size:10px}.check input{margin:0}summary{cursor:pointer;font-size:10px;font-weight:600;color:var(--muted);padding:5px 0}details[open]>summary{margin-bottom:14px}.resultline{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);padding:20px 0}.grid{display:grid;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:23px;min-width:0}.card{transition:transform .15s,box-shadow .15s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card h2{font-size:21px}.cardtop{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.filebadge{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;min-width:42px;height:46px;padding:0 8px;background:#eaf0de;color:#52753e;font-size:9px;border-radius:7px;font-weight:800}.filebadge.pdf{background:#f9e9df;color:#b47755}.filebadge.pptx{background:#fbefd7;color:#aa7b37}.filebadge.docx{background:#e3edf5;color:#597e98}.filebadge.xlsx{background:#e3eee7;color:#56806a}.pills{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 14px}.pills span,.status{font-size:8px;background:var(--soft);padding:4px 7px;border-radius:4px;color:#627650}.material h3{font-size:17px;line-height:1.4;min-height:46px;margin-bottom:12px}.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;min-height:53px}.byline{font-size:9px;color:var(--muted);margin:18px 0 15px}.cardbottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:13px;font-size:8px;color:var(--muted);gap:10px}.roundlink{border-radius:50%;background:var(--soft);color:var(--ink);font-size:19px;width:29px;height:29px;display:flex;align-items:center;justify-content:center}.icon[aria-pressed=true]{color:#b47b50}.savedbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-top:15px;font-size:9px;color:var(--muted)}.chip{background:var(--soft);color:var(--ink);border:0;font-size:9px;padding:5px 9px}.section{margin-top:36px}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.sectionhead h2,.sectionhead h3{margin:0}.sectionhead>a{font-size:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:25px 0 32px}.stat{border:1px solid var(--line);border-radius:11px;padding:21px;background:var(--surface)}.stat strong{display:block;font-size:29px;font-weight:400;letter-spacing:-1px;line-height:1.4}.stat span{font-size:9px;color:var(--muted)}.twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.threecol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.detailgrid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:23px;margin-top:25px}.detailgrid .panel{margin-bottom:20px}.detailgrid .panel h2{font-size:21px}.listrow{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);font-size:11px}.listrow:last-child{border-bottom:0}.listrow>div:not(.actions){flex:1;min-width:0}.listrow strong{display:block;overflow-wrap:anywhere}.listrow small{display:block;font-size:9px}.listrow p{margin-top:8px;margin-bottom:10px}.datebadge,.step{background:var(--soft);border-radius:8px;width:45px;min-height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}.datebadge small{font-size:9px;margin:0;line-height:1.3}.empty{text-align:center;border:1px dashed var(--line);padding:45px 25px;border-radius:11px;grid-column:1/-1;margin-top:20px}.empty>span{font-size:44px;color:#93a77b}.empty h3{font-size:21px;margin-top:15px}.empty p{font-size:12px;max-width:520px;margin:0 auto}.auth{max-width:530px;margin:35px auto}.auth .pagehead{display:block}.auth .pagehead h1{font-size:39px}.auth .pagehead p{line-height:1.8}.auth>.muted{margin-top:20px}.formbody{display:flex;flex-direction:column;gap:19px}.formfoot{display:flex;align-items:center;gap:15px;margin-top:23px}.formerror{font-size:11px;color:var(--danger)}.formbody>label:has(input[type=hidden]){display:none}.editor{max-width:980px}.dropzone{border:1px dashed #9daf8f;background:var(--soft);border-radius:9px;padding:25px;font-size:13px}.dropzone input{background:transparent;border:0;padding-left:0}.dropzone small{font-size:9px}.dropzone.dragover{outline:3px solid #9db764}.dropzone #fileList{font-size:10px;font-weight:400}.bulkbar{display:flex;align-items:center;gap:25px;background:var(--soft);padding:13px 20px;border-radius:9px;margin-bottom:20px}.bulkbar>label:not(.check){flex-direction:row;align-items:center}.bulkbar select{min-width:170px;background:var(--surface)}.tablewrap{overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;font-size:10px}th,td{padding:17px 15px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:8px;letter-spacing:.4px;color:var(--muted);background:var(--soft)}td small{display:block;font-size:8px;margin-top:5px}td .actions{font-size:9px}.avatar{background:var(--soft);border-radius:13px;width:51px;height:51px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:22px}.teacher p{font-size:11px}.backlink{display:inline-block;font-size:10px;color:var(--muted);margin-bottom:25px}.comment{border-bottom:1px solid var(--line);padding:19px 0}.comment time{font-size:9px;color:var(--muted);margin-left:15px}.comment p{font-size:12px;margin:10px 0}.reply{margin:20px 0 0 15px;padding-left:17px;border-left:2px solid var(--line);font-size:11px}.comment+.formbody{margin-top:20px}.stars{display:flex;gap:5px;margin-bottom:20px}.stars button{font-size:25px;color:#af9543}.feedback{border-left:3px solid #90ac62;background:var(--soft);padding:15px;margin:20px 0}.feedback p{margin-top:9px;margin-bottom:0}.submission{border-bottom:1px solid var(--line);padding:20px 0}.submission:last-child{border-bottom:0}.submission p{font-size:12px}.ordered{background:var(--bg);padding:20px;border:1px solid var(--line);border-radius:9px}.ordered>label{margin:20px 0 10px}.orderedrow{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:11px;gap:15px}.questioneditor,.cardeditor{margin-bottom:18px;display:flex;flex-direction:column;gap:16px;background:var(--bg)}.questioneditor>button,.cardeditor>button{align-self:flex-start}.quizquestion{border:0;padding:0;margin:0 0 25px}.quizquestion legend{font-size:15px;font-weight:700;margin-bottom:15px}.quizquestion legend span{color:#8eaa55;margin-right:5px}.answer{background:var(--bg);padding:13px;border-radius:7px;margin-bottom:7px;cursor:pointer;font-size:12px}.resultitem{padding:18px 0;border-bottom:1px solid var(--line)}.resultitem small{display:block;margin:5px 0 12px}.quizreview{padding:20px 0;border-bottom:1px solid var(--line);font-size:12px}.quizreview p{margin:10px 0}.score{font-size:64px;letter-spacing:-3px;color:var(--green)}.score span{font-size:24px;letter-spacing:0;margin-left:6px}.goodtext{color:#63883b}.dangertext{color:var(--danger)}.study{max-width:800px;margin:30px auto;text-align:center;padding:30px}.flashcard{display:flex;width:100%;min-height:300px;align-items:center;justify-content:space-between;flex-direction:column;background:var(--soft);color:var(--ink);border:0;padding:30px;margin:25px 0;border-radius:12px;white-space:normal}.flashcard.back{background:var(--green);color:#fff}.flashcard.back small{color:var(--lime)}.flashcard small{font-size:9px;letter-spacing:2px}.flashcard strong{font-size:26px;font-weight:400;line-height:1.5}.flashcard span{font-size:9px;font-weight:400;opacity:.65}.center{justify-content:center}.study>.muted{margin-top:23px;margin-bottom:0}progress{width:100%;height:9px;accent-color:var(--green);margin-bottom:20px}.notification.unread strong{color:var(--green)}.notification:not(.unread) .statusdot{background:#cbd4c4}.logrow{display:grid;grid-template-columns:140px 140px 1fr;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px}.logrow time{font-size:9px;color:var(--muted)}.memberlist{max-height:290px;overflow:auto;background:var(--bg);padding:15px;display:flex;flex-direction:column;gap:10px}.memberlist label{font-size:11px}.prose{max-width:900px;font-size:15px;line-height:1.9}.loading{max-width:600px;margin:15vh auto;text-align:center;padding:30px}.loading .mark{width:65px;height:65px;font-size:40px;margin-bottom:30px}.loading h1{font-size:33px}.loading p{font-size:13px}
dialog{border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--ink);width:min(700px,94vw);max-height:90vh;overflow:auto;padding:30px;box-shadow:0 30px 90px #143e3830}dialog::backdrop{background:#163e3877;backdrop-filter:blur(3px)}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.modalhead h2{margin:0;font-size:23px}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,25px);background:var(--green);color:#fff;border-radius:10px;padding:13px 22px;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:85vw;box-shadow:0 10px 25px #153e3820}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#963e30}a,button,strong,p{overflow-wrap:anywhere}[hidden]{display:none!important}:focus-visible{outline:3px solid #94b652;outline-offset:3px}
[data-theme=dark]{--bg:#132620;--surface:#1b3029;--ink:#e0e8dc;--muted:#a0b0a4;--line:#33473b;--green:#48764e;--lime:#d9ee9d;--soft:#293e2d;--danger:#eb9a85;--shadow:none;color-scheme:dark}[data-theme=dark] .sheet,[data-theme=dark] .herographic,[data-theme=dark] .floatnote{color:#163e38}[data-theme=dark] .herographic{background:#293c2d}[data-theme=dark] .filebadge{color:#d9ee9d;background:#354d32}[data-theme=dark] .pills span,[data-theme=dark] .status{color:#b8cb9e}
@media(min-width:1500px){:root{--sidebar:265px}.sidebar{padding-left:28px;padding-right:28px}.hero h1{font-size:63px}.hero{min-height:385px}.herographic{min-height:355px}.sheet{right:60px;top:35px;width:240px;height:285px}.sheet strong{font-size:34px}.floatnote{left:50px}}
@media(max-width:1150px){:root{--sidebar:220px}.sidebar{padding:23px 15px}.brand{font-size:18px}.school{font-size:8px}main{padding:28px 25px 55px}.topbar{padding:0 25px}.topactions{gap:10px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:20px}.hero h1{font-size:43px}.sheet{right:20px;width:200px}.floatnote{left:10px;width:145px}.filtergrid{grid-template-columns:repeat(2,minmax(0,1fr))}.pagehead>.actions{max-width:40%}.detailgrid{grid-template-columns:minmax(0,1.8fr) minmax(210px,1fr)}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.logrow{grid-template-columns:110px 90px 1fr;gap:12px}}
@media(max-width:850px){:root{--sidebar:220px}.sidebar{transform:translateX(-100%);transition:transform .2s}.navopen .sidebar{transform:translateX(0);box-shadow:0 0 0 100vw #10261d66}.workspace{margin-left:0}.menu{display:inline-flex}.topbar{height:65px}.breadcrumb{margin-right:auto}.hero h1{font-size:48px}.detailgrid{grid-template-columns:minmax(0,1fr) minmax(220px,.65fr)}#toast{left:50%}.pagehead>.actions{max-width:50%}.topactions>a{font-size:9px}.topactions{gap:12px}}
@media(max-width:600px){main{padding:25px 18px 45px}.topbar{padding:0 16px}.breadcrumb{display:none}.topactions{gap:9px;margin-left:auto}.topactions>.small{font-size:8px;padding:5px}.topactions>a{max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero{grid-template-columns:1fr;gap:28px}.hero h1{font-size:45px}.hero p{font-size:13px}.herographic{min-height:285px}.sheet{top:20px;right:35px;height:245px;width:200px}.sheet strong{margin:17px 0 13px;font-size:29px}.equation{padding:7px}.floatnote{top:40px;left:35px;height:175px;width:150px}.artlabel{bottom:15px}.herostats{gap:27px}.grid,.twocol,.detailgrid{grid-template-columns:1fr}.threecol{grid-template-columns:1fr}.pagehead{display:block}.pagehead>.actions{max-width:100%;justify-content:flex-start;margin-top:20px}.pagehead h1{font-size:32px;letter-spacing:-1px}.pagehead .eyebrow{font-size:7px}.notice{display:block;padding:15px;font-size:10px}.notice strong{display:block;margin-bottom:7px}.announcementstrip{font-size:9px}.filterpanel{padding:16px}.filtergrid{gap:12px}.filterpanel details .filtergrid{grid-template-columns:1fr 1fr}.filtergrid input,.filtergrid select{font-size:11px;padding:8px}.resultline{font-size:8px;gap:12px}.resultline>span:last-child{text-align:right;max-width:50%}.stats{grid-template-columns:1fr 1fr}.panel,.card{padding:20px}.bulkbar{gap:12px;flex-wrap:wrap}.bulkbar>label:not(.check){flex:1}.bulkbar select{min-width:120px;font-size:10px}.listrow{gap:10px;flex-wrap:wrap}.listrow>.actions{margin-left:auto}.logrow{grid-template-columns:1fr;gap:3px}.logrow time{font-size:9px}.formfoot{flex-wrap:wrap}.checkgrid{gap:9px}.checkgrid .check{font-size:9px}.auth{margin:20px auto}.auth .pagehead h1{font-size:35px}footer{padding:25px 18px;flex-wrap:wrap}footer>span:last-child{display:none}dialog{padding:22px}#toast{font-size:11px;bottom:15px}.study{padding:20px}.flashcard{min-height:270px}.flashcard strong{font-size:23px}.sheetlines{margin-top:10px}.orderedrow{font-size:10px}.formbody{gap:17px}.comment time{display:block;margin-left:0}.clamp{min-height:auto}.material h3{min-height:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.topbar,footer,.hero,.notice,.announcementstrip,.filterpanel,.savedbar,.pagehead>.actions,.favorite,.icon,.cardbottom .roundlink,#toast,dialog,.button,button{display:none!important}.workspace{margin:0}main{padding:0}.grid{grid-template-columns:repeat(2,1fr)}.card,.panel{break-inside:avoid;border:1px solid #aaa;box-shadow:none}.card h3{min-height:0}body{color:#000;background:#fff}.pagehead{margin:15px 0}.resultline{padding:10px 0}.pills span{border:1px solid #ddd;background:transparent;color:#333}.clamp{display:block;overflow:visible}a{color:#000}h1{font-size:28px}}
