:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20352f;background:#f6f7f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:#1b5b54}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.5rem,3.5vw,2.25rem);letter-spacing:-.035em}h2{font-size:1.12rem}h3{font-size:1rem}.muted{color:#71807a}.small{font-size:.83rem}.micro{font-size:.73rem}.bold{font-weight:700}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#64837a}.loading-screen,.center-stage{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:30px;text-align:center}.logo-mark{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#1b5b54;color:#fff;font-family:Georgia,serif;font-weight:bold;font-size:30px}.center-card{background:#fff;border:1px solid #e5eae4;border-radius:24px;padding:30px;width:min(100%,440px);text-align:left;box-shadow:0 12px 48px #10241b0b}.center-card h1{margin:12px 0 8px}.center-card p{margin:0 0 20px;line-height:1.55}.shell{min-height:100dvh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{padding:26px 14px;background:#fff;border-right:1px solid #e6eae5;position:sticky;top:0;align-self:start;height:100dvh;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px}.brand strong{line-height:1.15;font-size:.93rem}.nav{display:grid;gap:4px}.nav button{display:flex;gap:10px;align-items:center;padding:13px 14px;text-align:left;border:0;background:transparent;border-radius:12px;color:#556860;font-weight:650}.nav button.active{background:#e7f1ed;color:#14574e}.nav button:hover{background:#eef4ef}.sidebar-bottom{margin-top:auto;padding:0 9px;display:grid;gap:12px}.workspace{min-width:0;padding:26px clamp(18px,4vw,62px) 60px;max-width:1350px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.topbar-actions{display:flex;align-items:center;gap:10px}.pill,.tag{border-radius:99px;background:#e8eeea;padding:6px 10px;font-size:.73rem;font-weight:700;display:inline-flex;align-items:center;gap:6px;color:#4b6057}.pill.warn{background:#fff0d7;color:#9a5b11}.pill.ok{background:#e1f3e9;color:#216e49}.pill.danger{background:#fee9e7;color:#ac332c}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f1e4c7;color:#79603b;font-weight:800}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:23px}.page-heading p{margin-top:5px;color:#71807a}.btn{border:0;border-radius:11px;padding:11px 15px;background:#1b5b54;color:#fff;font-weight:720;display:inline-flex;justify-content:center;align-items:center;gap:7px;text-decoration:none;white-space:nowrap}.btn:hover{background:#154d46}.btn.secondary{background:#e8eeea;color:#24544c}.btn.secondary:hover{background:#dae5de}.btn.light{background:#fff;color:#25473d;border:1px solid #e0e5de}.btn.ghost{background:transparent;color:#48665c}.btn.danger{background:#a3433b}.btn.tiny{padding:6px 10px;font-size:.76rem;border-radius:9px}.btn.block{width:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.stat,.panel{background:#fff;border:1px solid #e4eae3;border-radius:18px}.stat{padding:20px}.stat strong{display:block;font-size:1.8rem;letter-spacing:-.05em;margin-top:10px}.stat span{font-size:.81rem;color:#64756e;font-weight:650}.panel{padding:20px}.panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.stack{display:grid;gap:16px}.activity-list{display:grid;gap:9px}.activity{display:flex;align-items:center;gap:12px;border:1px solid #e9ede7;border-radius:13px;padding:12px;background:#fff;min-width:0}.activity:hover{border-color:#a9cabc}.activity-info{min-width:0;flex:1}.activity .title{font-weight:750;margin:3px 0;overflow-wrap:anywhere}.dot{height:10px;width:10px;border-radius:50%;background:#8bb09c;flex:none}.dot.Quiz{background:#c9903c}.dot.Exam{background:#bc655c}.dot.Assignment{background:#6b86bb}.dot.Lecture{background:#71ac89}.dot.Project{background:#966eae}.dot.School{background:#8b8c96}.activity-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.empty{padding:38px 15px;color:#71807a;text-align:center;border:1px dashed #dce4dc;border-radius:13px;line-height:1.55}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.toolbar input,.toolbar select{flex:1;min-width:135px}.field{display:grid;gap:7px}.field label{font-weight:700;font-size:.82rem;color:#435a50}.field input,.field select,.field textarea,.toolbar input,.toolbar select{border:1px solid #d8e2d9;border-radius:11px;background:#fff;padding:11px 12px;color:#213830;width:100%;outline-color:#1b5b54}.field textarea{min-height:90px;resize:vertical;line-height:1.45}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid{display:grid;gap:14px}.hint{font-size:.81rem;color:#6e8077;line-height:1.55}.notice{border:1px solid #f1dfb8;background:#fff9eb;padding:12px 14px;border-radius:12px;font-size:.85rem;line-height:1.55}.notice.error{border-color:#ffc4bd;background:#fff0ed;color:#92372e}.notice.good{border-color:#bde6cd;background:#effaf3;color:#256342}.modal-overlay{position:fixed;inset:0;background:#10241b91;display:flex;align-items:center;justify-content:center;padding:14px;z-index:40}.modal{background:#fff;width:min(100%,620px);border-radius:22px;padding:22px;max-height:90dvh;overflow:auto;box-shadow:0 30px 80px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.icon-btn{background:#f0f4ef;color:#345950;border:0;border-radius:9px;width:34px;height:34px;font-size:1.2rem;display:grid;place-items:center}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}.calendar-head .nav-month{display:flex;align-items:center;gap:9px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{font-size:.73rem;color:#6b7f73;text-align:center;padding:8px 0;font-weight:800}.day{min-height:89px;border:1px solid #e6ece5;border-radius:12px;background:#fff;padding:8px;display:flex;flex-direction:column;align-items:start;gap:7px;text-align:left;color:#415b4f}.day.blank{background:transparent;border:0;cursor:default}.day.today{outline:2px solid #1b5b54}.day.selected{background:#e8f2ec}.day .count{font-size:.69rem;border-radius:5px;padding:2px 5px;background:#e2efe9;font-weight:800}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.subject-card{background:#fff;border:1px solid #e3e9e2;border-radius:15px;padding:17px;display:grid;gap:9px}.subject-card strong{word-break:break-word}.bar-track{height:8px;border-radius:99px;background:#e6ece6;overflow:hidden}.bar-fill{height:100%;background:#498b78;border-radius:99px}.chat{display:flex;flex-direction:column;gap:12px;min-height:390px}.chat-messages{flex:1;min-height:275px;max-height:420px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:10px;border:1px solid #e3ebe5;border-radius:15px;background:#fafbf8}.bubble{max-width:90%;padding:11px 13px;border-radius:14px;white-space:pre-wrap;line-height:1.5;word-break:break-word;font-size:.9rem}.bubble.user{background:#1b5b54;color:white;align-self:flex-end}.bubble.assistant{background:white;border:1px solid #e2e8df;align-self:flex-start}.chat-compose{display:flex;gap:9px}.chat-compose input{flex:1;min-width:0;border:1px solid #d8e2d9;border-radius:11px;padding:11px 12px}.footer-note{margin-top:25px;color:#89968d;font-size:.75rem}.offline-banner{padding:9px 12px;background:#fdf2d9;color:#8d651b;font-size:.82rem;border-radius:10px;margin-bottom:15px}.mobile-nav{display:none}.toast{position:fixed;right:24px;bottom:28px;z-index:100;background:#203f35;color:#fff;border-radius:12px;padding:13px 18px;box-shadow:0 10px 28px #0003;max-width:min(400px,92vw);font-size:.86rem}.toast.error{background:#9b3d35}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.divider{border:0;border-top:1px solid #e9ede9;margin:16px 0}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0}.text-btn{background:none;border:0;color:#1b5b54;text-decoration:underline;padding:0}.nowrap{white-space:nowrap}.hide{display:none!important}code{background:#f0f3ee;padding:3px 6px;border-radius:4px;font-size:.83em;overflow-wrap:anywhere}@media(max-width:1000px){.sidebar{width:205px}.shell{grid-template-columns:205px minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.shell{display:block}.sidebar{display:none}.workspace{padding:18px 15px 99px}.topbar{margin-bottom:18px}.topbar-actions{gap:6px}.topbar .pill{font-size:.7rem}.page-heading{align-items:start}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:1.55rem}.panel{padding:15px}.subject-grid{grid-template-columns:1fr 1fr}.activity{align-items:flex-start}.activity-actions{flex-direction:column}.mobile-nav{position:fixed;bottom:0;left:0;right:0;padding:8px 3px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0e8e0;display:grid;grid-template-columns:repeat(6,1fr);z-index:15;box-shadow:0 -4px 16px #223d2810}.mobile-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 1px;font-size:.59rem;color:#60766a}.mobile-nav button.active{color:#16594f;font-weight:900}.mobile-nav button .emoji{font-size:1.27rem}.day{min-height:62px;padding:5px}.weekday{font-size:.65rem}.day .count{font-size:.55rem}.grid-2,.settings-grid{grid-template-columns:1fr}.bubble{max-width:97%}.modal{padding:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
