:root{color-scheme:light;--bg:#f8f7fc;--paper:#fff;--ink:#201b33;--muted:#6e6980;--line:#eae7f2;--purple:#6a46d5;--soft:#eee7ff;--shadow:0 2px 5px #23174a05;font-family:"DM Sans",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--purple);outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand,.metric-value{font-family:Outfit,sans-serif}svg{width:19px;height:19px;display:block;flex:none}button span[data-icon],a span[data-icon]{display:inline-flex}.layout{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:30px 17px 19px}.brand{display:flex;align-items:center;gap:11px;margin:0 9px;font-size:31px;font-weight:700;line-height:.92;letter-spacing:-1.6px;width:max-content}.brand small{display:block;font:500 11px "DM Sans",sans-serif;letter-spacing:.03px;color:var(--muted);margin-top:6px}.brand-dot{color:#7954df}.brand .brand-icon{display:grid;place-items:center;background:#754cde;border-radius:12px;width:40px;height:40px;color:#fff;box-shadow:0 5px 10px #754cde38}.brand-icon svg{width:23px;height:23px}.nav-group{margin-top:52px}.nav-group.second{margin-top:35px}.nav-label{color:#817a94;font-size:10px;font-weight:700;letter-spacing:1.3px;margin:0 10px 12px;display:block}.sidebar nav{display:grid;gap:4px}.sidebar nav a{height:43px;border-radius:9px;display:flex;gap:12px;align-items:center;padding:0 11px;font-weight:600;color:#665f78;white-space:nowrap}.sidebar nav a:hover{background:#f7f4fd}.sidebar nav a.active{background:#efe9ff;color:#613acb}.sidebar nav svg{width:18px;height:18px}.sidebar-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding:16px 6px 0;border-top:1px solid var(--line)}.sidebar-foot small,.sidebar-foot strong{display:block}.sidebar-foot small{color:var(--muted);margin-top:2px;font-size:11px}.sidebar-foot strong{font-size:12px}.avatar{width:34px;height:34px;border-radius:50%;background:#eee6fe;color:#7144cf;display:grid;place-items:center;font-weight:700}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.breadcrumb svg{width:15px;height:15px;color:#817994}.breadcrumb strong{color:var(--ink);font-weight:700}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:700;font-size:12px;white-space:nowrap}.button:hover{background:#f4effe}.button svg{width:16px;height:16px}.primary{background:#7149d9;color:#fff;border-color:#7149d9;box-shadow:0 3px 6px #6143ac24}.primary:hover{background:#6037ca}.topbar .primary{padding:0 14px;min-height:38px}.content{max-width:1730px;margin:0 auto;padding:28px 30px 36px}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:23px}.today-line{color:#7049d5;font-size:11px;font-weight:700;letter-spacing:1.05px;text-transform:uppercase;margin-bottom:6px}.intro h1{font-size:36px;letter-spacing:-1.35px;line-height:1.18;font-weight:600}.intro p{color:var(--muted);margin-top:6px;font-size:13px}.demo{color:#6b48bd;background:#f0eafb;border:1px solid #e9ddff;padding:6px 9px;border-radius:7px;font-size:11px;font-weight:700;align-self:start}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric{display:flex;align-items:center;gap:13px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);min-height:88px}.metric-icon,.task-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px}.violet{background:#eee7ff;color:#6e43d1}.mint{background:#e0f5ed;color:#237d62}.pink{background:#fce8f2;color:#a84076}.peach{background:#fff0df;color:#985923}.sky{background:#e6efff;color:#3e64ab}.metric span.label{color:var(--muted);font-size:11px;font-weight:600;display:block}.metric-value{font-size:25px;font-weight:600;line-height:1.14;margin-top:3px;letter-spacing:-.6px}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(242px,285px);gap:18px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);min-width:0}.calendar-panel{overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px}.panel-head h2,.side-panel h2{font-size:18px;font-weight:600;letter-spacing:-.3px}.calendar-actions,.week-switch{display:flex;align-items:center;gap:5px}.week-switch .button{padding:0 5px;min-width:27px}.calendar-actions .button{min-height:31px}.week-range{font-weight:700;white-space:nowrap;font-size:12px;padding:0 5px}.calendar-scroll{overflow:auto;max-height:605px;scrollbar-width:thin;scrollbar-color:#e1d9f1 transparent}.calendar-grid{min-width:590px;display:grid;grid-template-columns:45px repeat(7,minmax(0,1fr))}.calendar-grid .dow{position:sticky;top:0;background:#fff;z-index:3;padding:8px 0 9px;text-align:center;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:600}.calendar-grid .dow.today{background:#f8f3ff;color:#6d44ca}.dow strong{display:grid;place-items:center;width:27px;height:27px;margin:3px auto 0;color:var(--ink);font-family:Outfit,sans-serif;font-size:15px;font-weight:600}.dow.today strong{background:#744bdb;color:#fff;border-radius:8px}.time-col,.day-col{position:relative;min-width:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 44px,#efedf4 44px,#efedf4 45px)}.time-col span{position:absolute;right:7px;color:#807a90;font-size:10px;padding-top:3px;white-space:nowrap}.day-col{border-left:1px solid #f0edf5}.day-col.shaded{background-color:#faf7ff}.event{position:absolute;text-align:left;overflow:hidden;border:0;border-radius:5px;border-left:2px solid currentColor;padding:4px 4px;line-height:1.12;min-width:0;z-index:1}.event:hover,.event:focus-visible{z-index:2;filter:saturate(1.35);box-shadow:0 2px 5px #37245632}.event strong{display:block;font-size:10px;font-weight:700;overflow-wrap:anywhere}.event small{display:block;margin-top:3px;font-size:9px;white-space:nowrap}.event.tiny{padding-top:2px}.event.tiny small{display:none}.calendar-legend{padding:12px 16px;display:flex;gap:13px;flex-wrap:wrap;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.calendar-legend span{display:inline-flex;align-items:center;gap:5px}.dot{width:7px;height:7px;border-radius:50%;background:currentColor}.side{display:grid;gap:15px}.side-panel{padding:15px}.side-heading{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:10px}.text-link{color:#6944cb;font-size:11px;font-weight:700;white-space:nowrap}.text-link:hover{text-decoration:underline}.task-row{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-top:1px solid #f1edf6;min-width:0}.side-panel .task-row:first-child{border-top:0}.task-icon{width:32px;height:32px;border-radius:9px}.task-icon svg{width:15px;height:15px}.task-text{flex:1;min-width:0}.task-text button{display:block;text-align:left;background:none;border:0;padding:0;color:var(--ink);font-size:12px;font-weight:700;line-height:1.27;overflow-wrap:anywhere}.task-text button:hover{color:var(--purple)}.task-text small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.35}.check-button{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;border:1px solid #eae4f4;background:#fff;color:#75658b;flex:none}.check-button:hover{background:var(--soft);color:var(--purple)}.check-button svg{width:14px;height:14px}.assistant-card{background:linear-gradient(145deg,#eee5ff 0%,#faf3ff 100%);border:1px solid #e8dcfa;border-radius:14px;padding:15px;position:relative;isolation:isolate;overflow:hidden}.assistant-card:after{content:"";z-index:-1;position:absolute;width:130px;height:130px;border:1px solid #e8dcfd;border-radius:50%;right:-55px;top:-45px;box-shadow:0 0 0 12px #eee3fb,0 0 0 13px #e8dcfd,0 0 0 26px #f0e5fd,0 0 0 27px #e8dcfd;opacity:.78}.assist-icon{width:34px;height:34px;display:grid;place-items:center;color:#7149d9;background:#fff;border-radius:9px;box-shadow:var(--shadow);margin-bottom:9px}.assistant-card h2{font-size:17px;font-weight:600}.assistant-card p{color:#665781;font-size:11px;line-height:1.55;margin:5px 0 11px;max-width:215px}.assistant-card .button{color:#603ac5;border-color:#e5d9fa;font-size:11px;min-height:31px}.tip{padding:12px 13px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;gap:9px;color:var(--muted);font-size:11px;line-height:1.5}.tip svg{color:#7953d5;width:15px;height:15px}.tip strong{color:var(--ink)}
.page-panel{padding:19px;max-width:960px}.page-panel+.page-panel{margin-top:16px}.page-panel h2{font-size:19px;font-weight:600;margin-bottom:8px}.page-panel p,.empty{color:var(--muted);font-size:13px;line-height:1.55}.page-panel .task-row{align-items:center;padding:13px 0}.page-panel .task-text button{font-size:14px}.page-panel .task-text small{font-size:12px}.page-panel .task-icon{width:37px;height:37px}.page-panel .check-button{width:30px;height:30px}.section-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.section-row h2{margin:0}.page-panel form .button{margin-top:6px}.exam{border-top:1px solid var(--line);padding:12px 0}.exam h3{font-size:16px;margin:0}.exam .section-row{margin-bottom:3px}.exam:first-of-type{margin-top:10px}.exam .task-row{padding:8px 0}.pill{font-size:10px;padding:4px 6px;background:#fff1df;color:#874a1d;border-radius:5px;display:inline-block;margin-top:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:5px;min-width:0}.field.full,.full{grid-column:1/-1}.field label,.field>span,fieldset legend{font-weight:700;font-size:12px;color:#443b56}.field input,.field select,.field textarea{width:100%;min-height:38px;padding:8px 9px;border:1px solid #e3ddee;border-radius:8px;background:#fff;color:var(--ink)}.field textarea{resize:vertical;min-height:85px}.field .hint,.hint{color:var(--muted);font-size:11px;font-weight:400;line-height:1.5}.field .inline-check,.inline-check{display:flex;align-items:center;gap:7px}.inline-check input{width:auto;min-height:0;accent-color:#7149d9}.days{display:flex;gap:9px;flex-wrap:wrap}.days label{font-size:12px}.days input{accent-color:var(--purple)}fieldset{border:1px solid var(--line);border-radius:9px;margin:0;padding:8px 10px}.plan-note{background:#f6f1ff;color:#5d4399;border-radius:8px;padding:10px 11px;font-size:12px;line-height:1.5}.form-error{color:#a92e57;font-size:12px}.form-error:empty{display:none}.modal-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap;margin-top:16px}.danger{color:#a42d56;margin-right:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.modal-head h2{font-size:23px;font-weight:600;letter-spacing:-.4px}.icon-btn{display:grid;place-items:center;min-width:32px;padding:0}.icon-btn svg{width:15px;height:15px}.modal-info{color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:13px}dialog{width:min(500px,calc(100vw - 26px));max-height:calc(100dvh - 30px);border:1px solid var(--line);border-radius:17px;padding:20px;color:var(--ink);box-shadow:0 20px 85px #281d5f40}dialog::backdrop{background:#271c484d}#toast{position:fixed;right:20px;bottom:20px;display:none;background:#302447;color:#fff;padding:11px 15px;border-radius:9px;z-index:9;box-shadow:0 7px 18px #23174a33;font-size:13px;max-width:calc(100vw - 40px)}#toast.show{display:block}.progress-line{display:grid;grid-template-columns:minmax(90px,1fr) 2fr minmax(65px,auto);align-items:center;gap:10px;padding:10px 0;font-size:12px}.bar{background:#f3edf9;border-radius:20px;overflow:hidden;height:8px}.bar i{display:block;background:#a486ec;border-radius:20px;height:100%}
@media(max-width:1240px){.layout{grid-template-columns:196px minmax(0,1fr)}.sidebar{padding-inline:13px}.topbar,.content{padding-inline:22px}.dashboard{grid-template-columns:minmax(0,1fr) 242px;gap:13px}}
@media(max-width:1060px){.layout{grid-template-columns:168px minmax(0,1fr)}.sidebar nav a{font-size:12px;gap:8px}.dashboard{grid-template-columns:minmax(0,1fr)}.side{grid-template-columns:1fr 1fr}.tip{grid-column:1/-1}.calendar-grid{min-width:540px}}
@media(max-width:660px){.layout{display:block}.sidebar{height:auto;position:static;padding:12px 12px 8px;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px}.brand{margin:0 6px 5px 0;font-size:25px}.brand .brand-icon{width:30px;height:30px}.brand-icon svg{width:17px;height:17px}.brand small,.nav-label,.sidebar-foot{display:none}.nav-group,.nav-group.second{margin:0}.sidebar nav{display:flex;gap:3px;flex-wrap:wrap}.sidebar nav a{height:32px;padding:0 6px;gap:4px;font-size:11px}.sidebar nav svg{width:13px;height:13px}.topbar{height:52px;padding:0 12px}.breadcrumb{font-size:11px;gap:4px}.breadcrumb>span:nth-child(2),.breadcrumb>span:nth-child(3){display:none}.topbar .primary{min-height:32px;padding:0 8px}.content{padding:20px 12px}.intro{margin-bottom:15px}.intro h1{font-size:29px}.intro p{font-size:12px}.metrics{gap:5px;margin-bottom:13px}.metric{padding:7px;gap:5px;min-height:71px}.metric-icon{width:25px;height:25px;border-radius:7px}.metric-icon svg{width:14px;height:14px}.metric span.label{font-size:9px}.metric-value{font-size:17px}.panel-head{padding:10px 7px;flex-wrap:wrap}.panel-head h2{font-size:16px}.calendar-actions{gap:4px}.calendar-actions .button{padding:0 6px;font-size:10px}.week-range{font-size:10px}.side{grid-template-columns:minmax(0,1fr)}.calendar-scroll{max-height:490px}.form-grid{gap:9px}.page-panel{padding:13px}.demo{font-size:9px;white-space:nowrap}}
.course-color{background:#ded9ff;color:#4a379c}
.event.course-color{border-left-width:3px;font-weight:700}
.course-day{margin-top:17px}
.course-day h3{font-size:15px;font-weight:600;color:#4a379c;margin-bottom:4px}
.form-grid [hidden]{display:none}
.subfields{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fcfaff}
.session-list{margin:6px 0 0;padding-left:18px;color:#554569}
.session-list li+li{margin-top:4px}
.task-text .pill+.pill{margin-left:4px}
.side-panel .task-text small{overflow-wrap:anywhere}
@media(max-width:660px){.subfields{padding:8px;gap:7px}.page-panel .task-row{gap:6px}.page-panel .task-row .button{padding-inline:6px}}
.planning-column{display:grid;gap:16px;min-width:0}
.workload{padding:16px}
.workload h2{font-size:18px;font-weight:600}
.workload p{color:var(--muted);font-size:12px;line-height:1.5}
.workload .section-row>strong{color:#633dc7;font-size:12px;text-align:right}
.workload-days{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;list-style:none;margin:13px 0;padding:0}
.workload-days li{min-width:0;border:1px solid var(--line);border-radius:9px;padding:7px 9px}
.load-day-label{display:flex;justify-content:space-between;gap:5px;font-size:11px}
.workload-days small{color:var(--muted);display:block;font-size:10px;margin-top:4px}
.load-bar{display:flex;overflow:hidden;height:5px;border-radius:20px;background:#f4f0fa;margin-top:5px}
.load-bar i{height:100%;background:#9a80db}
.load-bar i+i{background:#529b84}
.workload .load-advice{display:flex;gap:7px;align-items:flex-start;padding:8px 9px;background:#f5f0ff;border-radius:8px;color:#594482}
.load-advice svg{width:15px;height:15px}
.rhythm-section{border-top:1px solid var(--line);padding-top:13px;margin-top:4px}
.rhythm-defaults,.rhythm-day-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin-bottom:8px}
.rhythm-controls,.rhythm-pair{display:grid;gap:8px}
.rhythm-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.rhythm-week{display:grid;gap:6px;margin-top:9px}
.rhythm-day{border:1px solid var(--line);border-radius:9px}
.rhythm-day summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;padding:10px 12px;font-size:12px}
.rhythm-day summary::-webkit-details-marker{display:none}
.rhythm-day summary strong:before{content:"›";color:var(--purple);display:inline-block;margin-right:6px}
.rhythm-day[open] summary strong:before{transform:rotate(90deg)}
.rhythm-day summary span{color:var(--muted);font-size:11px}
.rhythm-day-body{padding:0 12px 4px}
@media(max-width:660px){.rhythm-defaults,.rhythm-day-body{grid-template-columns:minmax(0,1fr)}.workload{padding:10px}.workload-days{gap:6px}}
.item-colored{background:color-mix(in srgb,var(--item-color) 24%,white);color:color-mix(in srgb,var(--item-color) 36%,#1b1827)}
.event.item-colored{border-left-color:color-mix(in srgb,var(--item-color) 72%,#35294b)}
.color-field{display:flex;align-items:flex-end;gap:13px}
.color-field .field input[type=color]{width:62px;padding:4px;cursor:pointer}
.color-field>.inline-check{min-height:38px;font-size:12px;color:#443b56}
.exam h3{display:flex;align-items:center;gap:8px}
.exam h3 .task-icon{width:29px;height:29px}
.passive-proposal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-top:8px}
.passive-proposal p{color:#554569}
.backup-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.page-panel .saved-status{margin-top:7px;font-weight:700;color:#514072}
.storage-warning{border:1px solid #ead7ba;background:#fff8ec;color:#654822;border-radius:11px;padding:10px 13px;margin-bottom:14px;font-size:13px}
.storage-warning .backup-actions{margin-top:6px}
.topbar-actions{display:flex;gap:7px;align-items:center}
#account-control{display:inline-flex;gap:inherit;align-items:center}
#account-notice:empty{display:none}
#account-notice{padding:12px 30px 0}
#account-notice .storage-warning{margin:0}
.account-prompt{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;border:1px solid #e9dffa;border-radius:10px;background:#f7f2ff;padding:9px 12px;color:#514072;font-size:12px}
@media(max-width:1240px){#account-notice{padding-inline:22px}}
@media(max-width:660px){#account-notice{padding-inline:12px}.topbar-actions{gap:4px}.topbar-actions .button{font-size:11px;padding-inline:7px;min-height:32px}}
@media(max-width:520px){.topbar{height:auto;min-height:52px;flex-wrap:wrap;padding-block:8px;gap:6px 12px}.topbar-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}}
.tutorial-card{max-width:660px;margin:clamp(10px,5vw,56px) auto;padding:clamp(20px,4vw,40px)}
.tutorial-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;font-weight:700}
.tutorial-progress{display:flex;gap:5px;margin:16px 0 24px}
.tutorial-progress i{height:4px;flex:1;border-radius:10px;background:#eee9f7}
.tutorial-progress .visited{background:var(--purple)}
.tutorial-card h1{font-size:clamp(25px,4.5vw,36px);letter-spacing:-.8px}
.tutorial-card p{margin:9px 0 14px;max-width:49ch;color:var(--muted);line-height:1.65}
.tutorial-card .text-link{font-size:13px}
.tutorial-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.tutorial-navigation{display:flex;flex-wrap:wrap;gap:7px}
.tutorial-skip{background:none;border-color:transparent;color:var(--muted)}
