@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f4f6fa;--panel:#fff;--ink:#172033;--muted:#8490a3;--line:#e9edf3;--navy:#101827;--blue:#5575f7;--blue2:#eaf0ff;--green:#1da780;--shadow:0 12px 35px rgba(20,35,65,.06)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}.app-shell{min-height:100vh;display:flex}.sidebar{width:245px;background:var(--navy);color:#fff;padding:30px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 48px}.brand-mark{width:40px;height:40px;border-radius:13px;background:#6682ff;display:grid;place-items:center;font:800 22px Manrope}.brand strong{display:block;font:800 14px Manrope;letter-spacing:1.2px}.brand small{color:#8d9bb3;font-size:11px}.sidebar nav{display:grid;gap:8px}.nav-btn{border:0;background:transparent;color:#9ba7bc;text-align:left;padding:14px 15px;border-radius:11px;font:600 14px 'DM Sans';cursor:pointer}.nav-btn span{margin-left:12px}.nav-btn.active,.nav-btn:hover{background:#202d44;color:#fff}.sidebar-bottom{margin-top:auto;padding:14px 10px;color:#8290a7;font-size:11px}.offline-pill{display:flex;align-items:center;gap:8px;color:#dce4f3;margin-bottom:9px;font-size:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#29c394}.main{margin-left:245px;width:calc(100% - 245px);padding:30px 42px 18px;max-width:1700px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#98a3b5;margin:0 0 7px}.topbar h1{font:800 26px Manrope;margin:0}.top-actions{display:flex;gap:10px;align-items:center}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:10px;width:39px;height:39px;color:#56627a;font-size:19px;cursor:pointer}.primary-btn,.secondary-btn{border:0;border-radius:10px;padding:11px 16px;font:700 12px 'DM Sans';cursor:pointer}.primary-btn{background:var(--blue);color:white;box-shadow:0 6px 15px #5575f733}.secondary-btn{background:#f0f2f7;color:#59657b}.view{display:none}.view.active{display:block}.welcome-card{background:linear-gradient(115deg,#17243b,#263c60);border-radius:19px;padding:32px 38px;color:#fff;display:flex;justify-content:space-between;min-height:220px;overflow:hidden;position:relative}.tag{font-size:9px;letter-spacing:1.5px;color:#aebfff;font-weight:700}.welcome-card h2{font:800 29px/1.25 Manrope;margin:15px 0 10px}.welcome-card h2 em{color:#91a8ff;font-style:normal}.welcome-card p{font-size:12px;color:#b6c1d4;max-width:390px;line-height:1.7}.welcome-art{width:220px;position:relative;display:grid;place-items:center}.calendar-art{width:94px;height:106px;border-radius:14px;background:#edf1ff;color:#5977f6;display:grid;place-items:center;font-size:34px;font-weight:700;box-shadow:0 18px 40px #080f1e55;z-index:2;transform:rotate(8deg)}.calendar-art small{font-size:8px;letter-spacing:1.4px;text-align:center;color:#53617b}.orbit{position:absolute;border:1px solid #8ca0d655;border-radius:50%;width:190px;height:190px}.orbit-two{width:145px;height:145px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:17px 0 32px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 19px;box-shadow:var(--shadow)}.stat-card span{display:block;color:#9aa4b4;font-size:9px;letter-spacing:1.2px;font-weight:700}.stat-card strong{display:block;font:800 27px Manrope;margin:9px 0 3px}.stat-card small{font-size:10px;color:#9aa4b4}.progress-track{height:5px;background:#edf0f5;border-radius:9px;margin-top:10px;overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:var(--green);border-radius:9px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 13px}.section-heading h2{font:800 18px Manrope;margin:0}.section-heading .eyebrow{margin-bottom:5px}.text-btn{border:0;background:none;color:var(--blue);font-size:11px;font-weight:700;cursor:pointer}.today-card,.task-list,.subject-card,.toolbar,.schedule-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.today-card{padding:5px 18px}.slot{display:flex;align-items:center;gap:17px;padding:13px 0;border-bottom:1px solid var(--line)}.slot:last-child{border:0}.slot-time{font-size:11px;color:#8792a5;width:105px}.slot-dot{width:8px;height:8px;border-radius:3px;background:var(--blue)}.slot-name{font-size:12px;font-weight:700}.slot-note{font-size:10px;color:#9aa4b4;margin-left:auto}.task-list{padding:4px 18px}.task-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.check{width:18px;height:18px;border:1.5px solid #cbd3e0;border-radius:6px;background:#fff;cursor:pointer;flex-shrink:0}.check.checked{background:var(--green);border-color:var(--green);color:white}.task-main{flex:1;min-width:0}.task-main strong{font-size:12px;display:block}.task-main small{color:#9aa4b4;font-size:10px}.completed .task-main strong{text-decoration:line-through;color:#a7afbc}.task-actions button{border:0;background:none;color:#9aa4b4;cursor:pointer;font-size:15px}.toolbar{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.toolbar strong{font-size:12px}.muted{color:#97a1b1;font-size:11px;margin:0 0 5px}.week-controls{display:flex;align-items:center;gap:9px}.week-controls strong{min-width:150px;text-align:center}.schedule-wrap{overflow:auto;padding:12px}.schedule-grid{display:grid;grid-template-columns:65px repeat(7,minmax(105px,1fr));min-width:850px}.day-head{padding:10px 7px;text-align:center;font-size:10px;color:#78849a;font-weight:700;border-bottom:1px solid var(--line)}.time-head{border-bottom:1px solid var(--line)}.time-cell{height:66px;border-bottom:1px solid #f0f2f6;padding-top:8px;font-size:10px;color:#9aa4b4}.day-cell{height:66px;border-bottom:1px solid #f0f2f6;border-left:1px solid #f0f2f6;padding:4px;cursor:pointer}.event{height:100%;border-radius:7px;background:#edf1ff;border-left:3px solid var(--blue);padding:7px;font-size:9px;color:#4056a9;overflow:hidden}.event.fixed{background:#f2f4f7;border-color:#aeb8c8;color:#69758a}.event strong{display:block;font-size:9px;margin-bottom:4px}.hint{color:#9aa4b4;font-size:10px;margin:12px 2px}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.subject-card{padding:18px;position:relative}.subject-icon{width:37px;height:37px;border-radius:11px;background:#edf1ff;color:#5977f6;display:grid;place-items:center;font-size:17px;margin-bottom:14px}.subject-card h3{font:700 14px Manrope;margin:0 0 5px}.subject-card p{font-size:10px;color:#9aa4b4;margin:0}.subject-card .card-actions{position:absolute;right:14px;top:14px}.card-actions button{border:0;background:none;color:#9aa4b4;cursor:pointer}.filters{display:flex;gap:7px;margin:17px 0}.filter{border:1px solid var(--line);background:white;border-radius:20px;padding:7px 14px;font-size:10px;color:#8792a5;cursor:pointer}.filter.active{background:#eaf0ff;color:#5575f7;border-color:#eaf0ff}.empty{padding:28px;text-align:center;color:#9aa4b4;font-size:12px}footer{padding:28px 0 5px;text-align:center;color:#a5adba;font-size:9px}footer span{padding:0 5px;color:#c1c8d2}dialog{border:0;border-radius:17px;padding:0;width:min(440px,calc(100% - 30px));box-shadow:0 25px 80px #11182744}dialog::backdrop{background:#0d1728aa;backdrop-filter:blur(3px)}#itemForm{padding:25px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog-head h2{font:800 20px Manrope;margin:0}.field{display:grid;gap:6px;margin:13px 0}.field label{font-size:10px;font-weight:700;color:#78849a}.field input,.field select,.field textarea{width:100%;border:1px solid #e4e9f0;border-radius:9px;padding:11px;font:12px 'DM Sans';outline:none;background:white;color:var(--ink)}.field input:focus,.field select:focus{border-color:var(--blue)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#17243b;color:#fff;padding:11px 17px;border-radius:10px;font-size:11px;opacity:0;transition:.25s;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.sidebar{width:72px;padding:22px 10px}.brand{padding:0 6px 38px}.brand>div:last-child,.nav-btn span,.sidebar-bottom small{display:none}.nav-btn{text-align:center;padding:14px 8px}.nav-btn span{margin:0}.main{margin-left:72px;width:calc(100% - 72px);padding:25px 22px}.stats-grid{grid-template-columns:repeat(2,1fr)}.subject-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.main{padding:19px 13px}.topbar{align-items:flex-start}.topbar h1{font-size:21px}.top-actions{gap:5px}.top-actions .primary-btn{font-size:0;padding:10px}.top-actions .primary-btn:first-letter{font-size:15px}.welcome-card{padding:24px}.welcome-card h2{font-size:23px}.welcome-art{width:100px}.orbit{width:120px;height:120px}.orbit-two{width:95px;height:95px}.calendar-art{width:65px;height:78px}.stats-grid{gap:8px}.stat-card{padding:13px}.stat-card strong{font-size:23px}.subject-grid{grid-template-columns:1fr}.toolbar{display:block}.week-controls{margin-top:13px;justify-content:space-between}.section-heading h2{font-size:16px}}
.connector-explain{font-size:11px;line-height:1.6;color:#8490a3;margin:-6px 0 18px}.connector-status{font-size:11px;padding:10px 12px;background:#f3f6fa;border-radius:8px;color:#1d9675;min-height:36px}.connector-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.connector-actions button{flex:1;min-width:125px;padding:10px 9px;font-size:10px}
