@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+U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xMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-cyrillic-ext-wght-normal-DHTKMUil.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-cyrillic-wght-normal-B1g8a0vD.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-greek-wght-normal-BpXpdlRW.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-vietnamese-wght-normal-BsaNuasd.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-latin-ext-wght-normal-BVZ5su8S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-latin-wght-normal-DMe4EKeb.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--navy:#14243a;--navy-900:#0d1929;--navy-700:#24364f;--gold:#c6a45a;--gold-soft:#efe3c6;--cream:#f6f1e7;--white:#fff;--grey:#f1f2f4;--text:var(--navy);--text-muted:#5b6676;--text-faint:#8a93a0;--line:#14243a1a;--line-strong:#14243a2e;--surface:var(--white);--bg:var(--cream);--danger:#a33a32;--danger-soft:#f7e4e1;--success:#2f6b4f;--success-soft:#e2efe7;--warn-soft:#f8edd2;--cat-Lesson:#dbe4f0;--cat-Homework:#efe3c6;--cat-Exam:#f2d9d4;--cat-Deadline:#f4e6cf;--cat-StudySession:#dcebe3;--cat-Personal:#e6e3ee;--cat-Lesson-edge:#5a7aa6;--cat-Homework-edge:#c6a45a;--cat-Exam-edge:#a33a32;--cat-Deadline-edge:#b7802c;--cat-StudySession-edge:#2f6b4f;--cat-Personal-edge:#6d6390;--font-sans:"Manrope Variable", system-ui, -apple-system, "Segoe UI", sans-serif;--font-serif:"Source Serif 4 Variable", Georgia, serif;--radius:14px;--radius-sm:10px;--shadow:0 1px 2px #0d19290a, 0 4px 16px #0d19290d;--shadow-lg:0 12px 40px #0d19292e;--sidebar-w:248px;--bottom-nav-h:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font-sans);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-size:16px;line-height:1.5}*,:before,:after{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;margin:0}h1,h2,h3{font-family:var(--font-serif);letter-spacing:-.01em;margin:0;font-weight:600;line-height:1.2}h1{font-size:1.75rem}h2{font-size:1.15rem}h3{font-size:1rem}p{margin:0}a{color:var(--navy);-webkit-text-decoration-color:var(--gold);text-decoration-color:var(--gold);text-underline-offset:3px}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.muted{color:var(--text-muted)}.small{font-size:.875rem}.stack{flex-direction:column;gap:16px;display:flex}.stack-sm{flex-direction:column;gap:8px;display:flex}.row{align-items:center;gap:8px;display:flex}.row-wrap{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.spacer{flex:1}.btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-size:.95rem;font-weight:650;text-decoration:none;transition:background-color .15s,border-color .15s;display:inline-flex}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--navy);color:var(--white)}.btn-primary:hover:not(:disabled){background:var(--navy-700)}.btn-secondary{background:var(--white);border-color:var(--line-strong);color:var(--navy)}.btn-secondary:hover:not(:disabled){border-color:var(--navy)}.btn-ghost{color:var(--navy);background:0 0;padding:0 12px}.btn-ghost:hover:not(:disabled){background:#14243a0f}.btn-danger{background:var(--danger);color:var(--white)}.btn-block{width:100%}.btn-sm{min-height:36px;padding:0 12px;font-size:.875rem}.icon-btn{border-radius:var(--radius-sm);cursor:pointer;width:44px;height:44px;color:var(--navy);background:0 0;border:none;place-items:center;display:inline-grid}.icon-btn:hover{background:#14243a0f}.field{flex-direction:column;gap:6px;display:flex}.field>span{font-size:.875rem;font-weight:600}.field .hint{color:var(--text-muted);font-size:.8rem;font-weight:400}.input,.select,.textarea{border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--white);width:100%;min-height:46px;padding:10px 12px;font-size:1rem}.textarea{resize:vertical;min-height:96px}.input:focus,.select:focus,.textarea:focus{border-color:var(--navy);outline:none;box-shadow:0 0 0 3px #c6a45a59}.form-grid{gap:16px;display:grid}@media (width>=560px){.form-grid.two{grid-template-columns:1fr 1fr}}.check{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.check input{width:20px;height:20px;accent-color:var(--navy);flex:none;margin:2px 0 0}.alert{border-radius:var(--radius-sm);border:1px solid #0000;padding:12px 14px;font-size:.925rem}.alert-error{background:var(--danger-soft);color:var(--danger);border-color:#a33a3233}.alert-success{background:var(--success-soft);color:var(--success);border-color:#2f6b4f33}.alert-warn{background:var(--warn-soft);color:#6d5016;border-color:#c6a45a66}.alert-info{background:var(--grey);color:var(--text)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line-strong);background:var(--white);cursor:pointer;border-radius:999px;min-height:38px;padding:0 14px;font-size:.9rem;font-weight:550}.chip[aria-pressed=true]{background:var(--navy);color:var(--white);border-color:var(--navy)}.segmented{background:var(--grey);border-radius:var(--radius-sm);gap:2px;padding:3px;display:inline-flex}.segmented button{cursor:pointer;min-height:36px;color:var(--text-muted);background:0 0;border:none;border-radius:8px;padding:0 12px;font-size:.875rem;font-weight:600}.segmented button[aria-pressed=true]{background:var(--white);color:var(--navy);box-shadow:var(--shadow)}.badge{background:var(--grey);color:var(--text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.75rem;font-weight:650;display:inline-flex}.badge-gold{background:var(--gold-soft);color:#6d5016}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-navy{background:var(--navy);color:var(--cream)}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.card-header{align-items:center;gap:8px;margin-bottom:14px;display:flex}.card-header h2{font-size:1.05rem}.card-header a{margin-left:auto;font-size:.875rem;font-weight:600}.empty{color:var(--text-muted);padding:4px 0;font-size:.925rem}.list{margin:0;padding:0;list-style:none}.list>li{border-top:1px solid var(--line);padding:12px 0}.list>li:first-child{border-top:none;padding-top:0}.list>li:last-child{padding-bottom:0}.shell{min-height:100dvh}.sidebar{display:none}.main{padding:20px 16px calc(var(--bottom-nav-h) + 28px + env(safe-area-inset-bottom));max-width:1160px;margin:0 auto}.topbar{padding:10px 12px 10px 16px;padding-top:calc(10px + env(safe-area-inset-top));background:var(--navy);color:var(--cream);z-index:20;align-items:center;display:flex;position:sticky;top:0}.topbar .icon-btn{color:var(--cream)}.topbar .icon-btn:hover{background:#f6f1e71a}.logo{font-family:var(--font-serif);letter-spacing:.22em;color:inherit;font-size:1.3rem;font-weight:700;text-decoration:none}.logo .dot{color:var(--gold)}.bottom-nav{z-index:30;height:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--white);border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav a,.bottom-nav button{color:var(--text-muted);cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.7rem;font-weight:600;text-decoration:none;display:flex;position:relative}.bottom-nav a.active{color:var(--navy)}.bottom-nav a.active:before{content:"";background:var(--gold);border-radius:0 0 3px 3px;width:28px;height:3px;position:absolute;top:0}.sheet-backdrop{z-index:40;background:#0d192973;position:fixed;inset:0}.sheet{z-index:41;background:var(--white);padding:12px 12px calc(16px + env(safe-area-inset-bottom));box-shadow:var(--shadow-lg);border-radius:20px 20px 0 0;position:fixed;bottom:0;left:0;right:0}.sheet a,.sheet button.sheet-item{border-radius:var(--radius-sm);width:100%;min-height:52px;color:var(--navy);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:14px;padding:0 14px;font-weight:600;text-decoration:none;display:flex}.sheet a:hover,.sheet button.sheet-item:hover{background:var(--grey)}@media (width>=960px){.topbar,.bottom-nav{display:none}.sidebar{width:var(--sidebar-w);background:var(--navy);color:var(--cream);flex-direction:column;gap:4px;padding:28px 16px 20px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar .logo{margin-bottom:4px;padding:0 12px}.sidebar .tagline{color:#f6f1e799;margin-bottom:28px;padding:0 12px;font-size:.75rem}.sidebar nav{flex-direction:column;gap:2px;display:flex}.sidebar a,.sidebar button.side-item{border-radius:var(--radius-sm);color:#f6f1e7c7;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:12px;width:100%;min-height:42px;padding:0 12px;font-size:.925rem;font-weight:550;text-decoration:none;display:flex;position:relative}.sidebar a:hover,.sidebar button.side-item:hover{color:var(--cream);background:#f6f1e70f}.sidebar a.active{color:var(--white);background:#f6f1e717}.sidebar a.active:before{content:"";background:var(--gold);border-radius:3px;width:3px;position:absolute;top:10px;bottom:10px;left:0}.sidebar .soon{color:#f6f1e773;text-transform:uppercase;letter-spacing:.06em;margin-left:auto;font-size:.65rem}.sidebar .bottom{border-top:1px solid #f6f1e71a;flex-direction:column;gap:2px;margin-top:auto;padding-top:12px;display:flex}.main{margin-left:var(--sidebar-w);max-width:none;padding:40px 40px 56px}.main>*{max-width:1120px;margin-left:auto;margin-right:auto}}.page-header{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:24px;display:flex}.page-header .eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:6px;font-size:.8rem;font-weight:650}.page-header .actions{gap:8px;margin-left:auto;display:flex}.modal-backdrop{z-index:50;background:#0d192980;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{background:var(--white);width:100%;max-height:92dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));box-shadow:var(--shadow-lg);border-radius:20px 20px 0 0;overflow:auto}.modal-header{align-items:center;margin-bottom:16px;display:flex}.modal-header h2{font-size:1.25rem}.modal-footer{flex-wrap:wrap;gap:8px;margin-top:24px;display:flex}.modal-footer .spacer{min-width:8px}@media (width>=640px){.modal-backdrop{align-items:center;padding:24px}.modal{border-radius:20px;max-width:560px;padding:24px 28px}}.auth{grid-template-rows:auto 1fr auto;min-height:100dvh;padding:20px 16px;display:grid}.auth-top{justify-content:space-between;align-items:center;display:flex}.auth-card{background:var(--white);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:20px;place-self:center;margin:32px 0;padding:28px 22px}.auth-card h1{margin-bottom:6px;font-size:1.6rem}.auth-card .lead{color:var(--text-muted);margin-bottom:24px}.auth-foot{text-align:center;color:var(--text-muted);font-size:.8rem}.auth-foot a{color:var(--text-muted)}@media (width>=960px){.auth{grid-template-rows:1fr;grid-template-columns:1fr 1fr;padding:0}.auth-brand{background:var(--navy);color:var(--cream);flex-direction:column;justify-content:space-between;padding:48px;display:flex!important}.auth-side{grid-template-rows:auto 1fr auto;padding:32px 48px;display:grid}}.auth-brand{display:none}.auth-side{display:contents}@media (width>=960px){.auth-mobile-logo{visibility:hidden}}.auth-brand .logo{font-size:1.6rem}.auth-brand blockquote{font-family:var(--font-serif);max-width:460px;margin:0;font-size:2.1rem;line-height:1.25}.auth-brand blockquote em{color:var(--gold);font-style:normal}.dash-grid{gap:16px;display:grid}@media (width>=760px){.dash-grid{grid-template-columns:repeat(2,1fr)}.dash-grid .wide{grid-column:1/-1}}@media (width>=1200px){.dash-grid{grid-template-columns:repeat(3,1fr)}.dash-grid .span2{grid-column:span 2}}.next-action{background:var(--navy);color:var(--cream)}.next-action h2{color:var(--white)}.next-action .eyebrow{color:var(--gold);letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px;font-size:.75rem;font-weight:700}.next-action p{font-size:1.05rem;line-height:1.5}.next-action p+p{color:#f6f1e7d1;border-top:1px solid #f6f1e71f;margin-top:10px;padding-top:10px;font-size:.95rem}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat .value{font-family:var(--font-serif);font-size:2rem;font-weight:600;line-height:1.1}.stat .label{color:var(--text-muted);font-size:.8rem}.time-col{font-variant-numeric:tabular-nums;color:var(--text-muted);min-width:92px;font-size:.875rem}.countdown{background:var(--cream);min-width:56px;height:56px;font-family:var(--font-serif);border-radius:12px;place-items:center;line-height:1;display:grid}.countdown strong{font-size:1.35rem}.countdown span{font-family:var(--font-sans);color:var(--text-muted);text-transform:uppercase;font-size:.65rem;font-weight:650}.countdown.urgent{background:var(--navy);color:var(--cream)}.countdown.urgent span{color:var(--gold)}.task-row{align-items:flex-start;gap:12px;display:flex}.task-check{border:2px solid var(--line-strong);background:var(--white);cursor:pointer;width:28px;height:28px;color:var(--white);border-radius:50%;flex:none;place-items:center;margin-top:1px;padding:0;display:grid}.task-check:hover{border-color:var(--navy)}.task-check[aria-checked=true]{background:var(--navy);border-color:var(--navy)}.task-body{cursor:pointer;text-align:left;background:0 0;border:none;flex:1;min-width:0;padding:0}.task-title{overflow-wrap:anywhere;font-weight:600}.task-done .task-title{color:var(--text-faint);text-decoration:line-through}.task-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:4px;font-size:.8rem;display:flex}.prio-High{color:var(--danger);font-weight:700}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.toolbar .select{width:auto;min-height:40px;padding:6px 10px;font-size:.9rem}.cal-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.cal-toolbar h2{text-transform:capitalize;min-width:0;font-size:1.25rem}.cal-nav{align-items:center;gap:2px;display:flex}@media (width<=559px){.cal-toolbar .segmented{order:3;width:100%}.cal-toolbar .segmented button{flex:1}}.month{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);grid-template-columns:repeat(7,minmax(0,1fr));display:grid;overflow:hidden}.month .dow{text-transform:uppercase;color:var(--text-muted);text-align:center;border-bottom:1px solid var(--line);padding:8px 6px;font-size:.7rem;font-weight:700}.month .cell{border-top:1px solid var(--line);border-left:1px solid var(--line);cursor:pointer;text-align:left;background:0 0;border-bottom:none;border-right:none;flex-direction:column;gap:2px;min-width:0;min-height:64px;padding:4px;display:flex}.month .cell:nth-child(7n+1){border-left:none}.month .cell.other{color:var(--text-faint);background:#fbfaf7}.month .cell .num{border-radius:50%;place-items:center;width:24px;height:24px;font-size:.8rem;font-weight:650;display:grid}.month .cell.today .num{background:var(--navy);color:var(--white)}.month .pill{white-space:nowrap;text-overflow:ellipsis;border-left:3px solid;border-radius:4px;padding:1px 4px;font-size:.7rem;line-height:1.3;overflow:hidden}.month .dots{flex-wrap:wrap;gap:3px;padding:2px 4px;display:flex}.month .dots i{border-radius:50%;width:6px;height:6px}.month .more{color:var(--text-muted);padding:0 4px;font-size:.7rem}@media (width>=760px){.month .cell{min-height:112px;padding:6px}}.timegrid{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.timegrid-head{border-bottom:1px solid var(--line);display:grid}.timegrid-head .h{text-align:center;color:var(--text-muted);text-transform:capitalize;padding:8px 4px;font-size:.75rem;font-weight:650}.timegrid-head .h strong{font-family:var(--font-serif);color:var(--navy);font-size:1.2rem;display:block}.timegrid-head .h.today strong{color:var(--white);background:var(--navy);border-radius:50%;place-items:center;width:34px;height:34px;margin:2px auto 0;display:grid}.timegrid-allday{border-bottom:1px solid var(--line);min-height:8px;display:grid}.timegrid-allday>div{flex-direction:column;gap:2px;min-width:0;padding:2px;display:flex}.timegrid-body{max-height:68dvh;display:grid;position:relative;overflow-y:auto}.timegrid .hours{position:relative}.timegrid .hour{height:48px;color:var(--text-faint);text-align:right;padding-right:6px;font-size:.7rem;transform:translateY(-7px)}.timegrid .col{border-left:1px solid var(--line);background-image:repeating-linear-gradient(to bottom, transparent 0, transparent 47px, var(--line) 47px, var(--line) 48px);cursor:pointer;position:relative}.timegrid .ev{cursor:pointer;text-align:left;border:none;border-left:3px solid;border-radius:6px;padding:3px 5px;font-size:.72rem;line-height:1.25;position:absolute;overflow:hidden}.timegrid .ev strong{text-overflow:ellipsis;white-space:nowrap;font-weight:650;display:block;overflow:hidden}.timegrid .now{background:var(--gold);z-index:2;pointer-events:none;height:2px;position:absolute;left:0;right:0}.agenda-day{margin-bottom:20px}.agenda-day h3{font-family:var(--font-sans);text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:8px;font-size:.8rem;font-weight:700}.agenda-day h3.today{color:var(--navy)}.agenda-item{background:var(--white);border-radius:var(--radius-sm);width:100%;box-shadow:var(--shadow);cursor:pointer;text-align:left;border:none;align-items:stretch;gap:12px;margin-bottom:8px;padding:12px 14px;display:flex}.agenda-item .bar{border-radius:4px;flex:none;width:4px}.cat-dot{border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.onboarding{max-width:640px;margin:0 auto;padding:24px 16px 48px}.progress-bar{background:#14243a14;border-radius:4px;height:4px;margin:16px 0 28px;overflow:hidden}.progress-bar>div{background:var(--gold);height:100%;transition:width .25s}.settings-grid{gap:16px;display:grid}@media (width>=900px){.settings-grid{grid-template-columns:1fr 1fr;align-items:start}.settings-grid .wide{grid-column:1/-1}}.danger-zone{border:1px solid #a33a3240}.user-row{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.user-row .who{flex:1;min-width:200px}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.tutor{gap:24px;display:grid}.tutor-list{display:none}.tutor.show-list .tutor-list{display:block}.tutor.show-list .tutor-chat{display:none}.tutor-head{flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:16px;display:flex}.tutor-head h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:1.35rem;overflow:hidden}.tutor-back{order:-1;justify-content:flex-start;width:100%;padding-left:4px}.conv-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.conv-list button{text-align:left;border-radius:var(--radius-sm);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;width:100%;min-height:44px;padding:8px 12px;font-weight:550;overflow:hidden}.conv-list button:hover{background:#14243a0f}.conv-list button[aria-current=true]{background:var(--white);box-shadow:var(--shadow)}@media (width>=960px){.tutor{grid-template-columns:260px minmax(0,1fr);align-items:start}.tutor-list,.tutor.show-list .tutor-list{max-height:calc(100dvh - 80px);display:block;position:sticky;top:40px;overflow-y:auto}.tutor.show-list .tutor-chat{display:block}.tutor-back{display:none}}.messages{flex-direction:column;gap:12px;min-height:40dvh;display:flex}.bubble{overflow-wrap:anywhere;border-radius:16px;max-width:100%;padding:12px 16px;line-height:1.55}.bubble.user{background:var(--navy);max-width:85%;color:var(--cream);border-bottom-right-radius:4px;align-self:flex-end}.bubble.assistant{background:var(--white);box-shadow:var(--shadow);border-bottom-left-radius:4px;align-self:stretch}.bubble-time{opacity:.55;margin-top:6px;font-size:.7rem;display:block}.typing{animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.4}}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p,.md ul,.md ol,.md pre,.md table,.md blockquote{margin:0 0 10px}.md ul,.md ol{padding-left:22px}.md li+li{margin-top:4px}.md h1,.md h2,.md h3,.md h4{margin:14px 0 6px;font-size:1.05rem}.md code{background:var(--grey);border-radius:4px;padding:1px 5px;font-size:.9em}.md pre{background:var(--grey);border-radius:8px;padding:10px 12px;overflow-x:auto}.md pre code{background:0 0;padding:0}.md table{border-collapse:collapse;display:block;overflow-x:auto}.md th,.md td{border:1px solid var(--line-strong);padding:4px 8px}.md blockquote{border-left:3px solid var(--gold);color:var(--text-muted);padding-left:12px}.md .katex-display{padding:4px 0;overflow:auto hidden}.tutor-empty{color:var(--text-muted);flex-direction:column;gap:16px;padding:8px 0 16px;display:flex}.suggestion{text-align:left;border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--white);cursor:pointer;min-height:44px;color:var(--navy);padding:12px 14px;font-weight:550}.suggestion:hover:not(:disabled){border-color:var(--navy)}.composer{bottom:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 8px);background:var(--white);box-shadow:var(--shadow-lg);border-radius:16px;align-items:flex-end;gap:8px;margin-top:16px;padding:8px;display:flex;position:sticky}.composer .textarea{resize:none;min-height:46px;max-height:200px;box-shadow:none;border:none;padding:11px 8px}.composer .textarea:focus{box-shadow:none}.composer .btn{flex:none;width:46px;padding:0}@media (width>=960px){.composer{bottom:16px}}.plan-day{font-family:var(--font-sans);text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);text-transform:capitalize;margin:8px 0;font-size:.8rem;font-weight:700}
