:root{color-scheme:light;--primary: #19362e;--primary-deep: #142b25;--primary-hover: #26483c;--primary-soft: #2a4a3e;--primary-soft-hover: #34544a;--primary-tint: #eef3e8;--primary-tint-border: #c3d5bb;--primary-text: #4a6b4d;--on-primary: #fff;--sidebar-bg: #19362e;--on-sidebar: #f5f7f1;--on-sidebar-soft: #c6d0c8;--on-sidebar-muted: #a7b3a9;--on-sidebar-icon: #aec4ae;--sidebar-veil: rgb(255 255 255 / 8%);--sidebar-border: rgb(255 255 255 / 14%);--sidebar-track: rgb(255 255 255 / 19%);--accent: #c9e6a3;--accent-ink: #142b25;--accent-text: #7c9c5d;--ink: #23332c;--ink-soft: #34443a;--ink-strong: #24352b;--ink-quiet: #526057;--muted: #606e65;--muted-soft: #a4ada5;--warm-ink: #b0703f;--line: #e5e9e1;--line-soft: #eef0eb;--line-strong: #dfe5dc;--line-hover: #b7c8b3;--control-border: #c8d1c8;--line-focus: #7f9a7a;--paper: #fff;--canvas: #f5f6f2;--surface-input: #fbfcfa;--surface-muted: #f1f3ee;--surface-hover: #eef2ea;--topbar-bg: rgb(255 255 255 / 75%);--nav-bg: rgb(255 255 255 / 96%);--danger: #934e3b;--danger-text: #a24434;--danger-bg: #fff0ec;--danger-strong: #8d3f32;--focus-ring: #d07e53;--focus-ring-soft: rgb(117 151 110 / 15%);--shadow: 0 16px 44px rgb(26 47 37 / 7%);--shadow-soft: 0 7px 18px rgb(33 54 41 / 7%);--shadow-strong: 0 24px 80px rgb(18 38 29 / 24%);--heat-0-bg: #fff;--heat-0-ink: #23332c;--heat-1-bg: #edf3e6;--heat-1-border: #dce6d2;--heat-1-ink: #263a2d;--heat-2-bg: #f4efdf;--heat-2-border: #e8dfc7;--heat-2-ink: #413a27;--heat-3-bg: #f5e5d8;--heat-3-border: #ead9c9;--heat-3-ink: #482f22;--heat-4-bg: #f2ddd4;--heat-4-border: #e7c9bd;--heat-4-ink: #4a2d25;--legend-high: #e7b293;font-family:DM Sans,Segoe UI,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;--safe-bottom: env(safe-area-inset-bottom, 0px);font-optical-sizing:auto}:root[data-modo=oscuro]{color-scheme:dark;--ink: #e8eee7;--ink-soft: #dce4db;--ink-strong: #f1f5ef;--ink-quiet: #b8c6bc;--muted: #9aa9a0;--muted-soft: #6f7f75;--warm-ink: #e5a878;--line: #2b3a33;--line-soft: #23302a;--line-strong: #35463d;--line-hover: #4a6153;--control-border: #46584d;--line-focus: #79a17f;--paper: #16211c;--canvas: #101815;--surface-input: #1b2621;--surface-muted: #1d2823;--surface-hover: #21302a;--topbar-bg: rgb(19 28 24 / 78%);--nav-bg: rgb(19 28 24 / 94%);--danger: #e59c8b;--danger-text: #f0a897;--danger-bg: #33211d;--danger-strong: #7d3a2e;--focus-ring: #e3a578;--focus-ring-soft: rgb(129 162 127 / 22%);--shadow: 0 16px 44px rgb(0 0 0 / 38%);--shadow-soft: 0 7px 18px rgb(0 0 0 / 30%);--shadow-strong: 0 24px 80px rgb(0 0 0 / 55%);--heat-0-bg: #1a2620;--heat-0-ink: #e8eee7;--heat-1-bg: #22362b;--heat-1-border: #35513f;--heat-1-ink: #dbe9d5;--heat-2-bg: #2b2a1c;--heat-2-border: #4a4229;--heat-2-ink: #ecdfb6;--heat-3-bg: #33251b;--heat-3-border: #563b28;--heat-3-ink: #f3d5bd;--heat-4-bg: #3a211b;--heat-4-border: #63382b;--heat-4-ink: #f8cfc0;--legend-high: #8a5a3b}*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth;scroll-padding-top:24px}body{min-width:320px;min-height:100vh;margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.58}svg{display:block;width:20px;height:20px;flex:0 0 auto}.app-layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:4;display:flex;width:248px;flex-direction:column;padding:31px 20px 24px;background:var(--sidebar-bg);color:var(--on-sidebar)}.brand,.mobile-brand{display:inline-flex;width:fit-content;align-items:center;gap:10px;color:inherit;text-decoration:none}.brand{margin:0 0 57px 7px}.brand-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:var(--accent);color:var(--accent-ink)}.brand-mark svg{width:19px;height:19px}.brand-name{font-family:Manrope,Segoe UI,sans-serif;font-size:23px;font-weight:800;letter-spacing:-.075em}.brand-name>span{color:var(--accent)}.sidebar-label,.eyebrow{margin:0;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.13em}.sidebar-label{margin:0 0 12px 12px;color:var(--on-sidebar-muted)}.side-navigation{display:grid;gap:5px}.nav-link{display:flex;min-height:46px;align-items:center;gap:13px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--on-sidebar-soft);cursor:pointer;font-size:13px;text-align:left;transition:background .18s ease,color .18s ease,transform .18s ease}.nav-link:hover{background:var(--sidebar-veil);color:var(--on-sidebar);transform:translate(2px)}.nav-link-active{background:var(--primary-soft);color:var(--on-sidebar)}.nav-icon{color:var(--on-sidebar-icon)}.nav-icon svg{width:18px;height:18px}.nav-count{display:grid;min-width:23px;height:23px;place-items:center;margin-left:auto;border-radius:8px;background:var(--sidebar-veil);color:var(--on-sidebar);font-size:11px}.sidebar-bottom{margin-top:auto}.offline-indicator{display:flex;align-items:flex-start;gap:11px;padding:15px 12px;border:1px solid var(--sidebar-border);border-radius:12px;background:var(--sidebar-veil)}.online-dot{width:8px;height:8px;flex:0 0 auto;margin-top:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #c9e6a31f}.offline-indicator strong,.offline-indicator small{display:block}.offline-indicator strong{font-size:11px;font-weight:600}.offline-indicator small{margin-top:4px;color:var(--on-sidebar-muted);font-size:10px}.sidebar-footnote{margin:13px 10px 0;color:var(--on-sidebar-muted);font-size:10px;line-height:1.65}.main-content{min-height:100vh;margin-left:248px}.topbar{display:flex;height:75px;align-items:center;justify-content:flex-end;gap:20px;padding:0 clamp(26px,4vw,58px);border-bottom:1px solid var(--line);background:var(--topbar-bg)}.today-caption{margin:0;color:var(--muted);font-size:12px;text-transform:capitalize}.top-add,.button{display:inline-flex;min-height:43px;align-items:center;justify-content:center;gap:9px;padding:0 17px;border:0;border-radius:9px;cursor:pointer;font-size:12px;font-weight:700;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.top-add svg,.button svg{width:16px;height:16px}.button-primary{background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow-soft)}.button-primary:hover{transform:translateY(-2px);background:var(--primary-hover);box-shadow:var(--shadow)}.button-primary:active{transform:translateY(1px)}.button-today{min-height:34px;padding:0 12px;border:1px solid var(--line);background:var(--paper);color:var(--ink-quiet)}.button-today:hover,.button-quiet:hover{background:var(--surface-hover)}.button-quiet{min-height:39px;padding:0 13px;background:var(--surface-muted);color:var(--ink-quiet)}.page-content{width:min(100%,1450px);margin:0 auto;padding:42px clamp(26px,4vw,58px) 25px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.page-heading .eyebrow{color:var(--muted)}h1,h2,p{overflow-wrap:anywhere}.page-heading h1{margin:8px 0 4px;color:var(--ink);font-family:Manrope,Segoe UI,sans-serif;font-size:clamp(29px,3vw,37px);font-weight:700;letter-spacing:-.055em;line-height:1.2}.heading-period{color:var(--accent-text)}.heading-subtitle{margin:0;color:var(--muted);font-size:13px}.week-controls{display:flex;min-height:40px;align-items:center;gap:6px;padding:4px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}.week-range{min-width:105px;color:var(--ink-quiet);font-size:11px;font-weight:600;text-align:center}.icon-button{display:inline-grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border:0;border-radius:9px;background:transparent;color:var(--muted);cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.icon-button svg{width:17px;height:17px}.icon-button:hover{transform:translateY(-1px);background:var(--surface-hover);color:var(--primary)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(210px,.8fr);gap:15px;margin-bottom:34px}.overview-card,.load-card{min-height:168px;border-radius:16px}.overview-card{position:relative;display:flex;min-width:0;flex-direction:column;overflow:hidden;padding:23px 26px 18px;background:var(--sidebar-bg);color:var(--on-sidebar);isolation:isolate}.overview-copy,.overview-stats,.overview-progress,.progress-label{position:relative;z-index:1}.overview-kicker{display:block;color:var(--on-sidebar-muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.overview-copy h2{max-width:520px;margin:8px 0 4px;font-family:Manrope,Segoe UI,sans-serif;font-size:clamp(20px,2vw,25px);font-weight:600;letter-spacing:-.04em;line-height:1.25}.overview-copy p{margin:0;color:var(--on-sidebar-soft);font-size:11px}.overview-stats{position:absolute;top:24px;right:25px;display:flex;align-items:center;gap:17px;padding:9px 12px;border:1px solid var(--sidebar-border);border-radius:11px;background:var(--sidebar-veil)}.overview-stats div:not(.stat-divider){display:grid;gap:2px;text-align:center}.overview-stats strong{font-family:Manrope,Segoe UI,sans-serif;font-size:18px;line-height:1}.overview-stats span{color:var(--on-sidebar-soft);font-size:9px}.stat-divider{width:1px;height:28px;background:var(--sidebar-border)}.overview-progress{width:min(48%,330px);height:5px;margin-top:auto;overflow:hidden;border-radius:9px;background:var(--sidebar-track)}.overview-progress span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .3s ease}.progress-label{margin-top:6px;color:var(--on-sidebar-soft);font-size:9px}.overview-orbit{position:absolute;z-index:-1;border:1px solid rgb(221 239 203 / 13%);border-radius:50%;pointer-events:none}.orbit-one{width:260px;height:260px;right:30px;bottom:-198px}.orbit-two{width:175px;height:175px;right:72px;bottom:-155px;border-color:#ddefcb2e}.load-card{display:flex;align-items:flex-start;gap:14px;padding:24px 21px;border:1px solid var(--line);background:var(--paper)}.load-card-icon,.backup-icon{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:12px;background:var(--primary-tint);color:var(--primary-text)}.load-card-icon svg,.backup-icon svg{width:18px;height:18px}.load-card .overview-kicker{margin:1px 0 9px;color:var(--muted);font-size:9px}.load-card strong,.load-card>div:last-child>span:last-child{display:block}.load-card strong{margin-bottom:4px;color:var(--ink);font-family:Manrope,Segoe UI,sans-serif;font-size:18px;font-weight:700;letter-spacing:-.04em;text-transform:capitalize}.load-card>div:last-child>span:last-child{color:var(--muted);font-size:10px}.week-section{margin-bottom:34px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}.section-heading .eyebrow{margin-bottom:5px}.section-heading h2{margin:0;color:var(--ink);font-family:Manrope,Segoe UI,sans-serif;font-size:19px;font-weight:700;letter-spacing:-.04em}.heat-legend{display:flex;align-items:center;gap:12px;padding-bottom:2px;color:var(--muted);font-size:9px}.heat-legend>span{display:inline-flex;align-items:center;gap:5px}.heat-legend i{width:8px;height:8px;border-radius:3px}.legend-free{border:1px solid var(--line-strong);background:var(--paper)}.legend-low{background:var(--heat-1-bg)}.legend-high{background:var(--legend-high)}.week-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.day-card{display:flex;min-width:0;min-height:134px;flex-direction:column;align-items:flex-start;padding:12px 13px 10px;border:1px solid var(--line);border-radius:12px;cursor:pointer;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.day-card:hover{transform:translateY(-2px);border-color:var(--line-hover);box-shadow:var(--shadow-soft)}.heat-0{background:var(--heat-0-bg);color:var(--heat-0-ink)}.heat-1{border-color:var(--heat-1-border);background:var(--heat-1-bg);color:var(--heat-1-ink)}.heat-2{border-color:var(--heat-2-border);background:var(--heat-2-bg);color:var(--heat-2-ink)}.heat-3{border-color:var(--heat-3-border);background:var(--heat-3-bg);color:var(--heat-3-ink)}.heat-4{border-color:var(--heat-4-border);background:var(--heat-4-bg);color:var(--heat-4-ink)}.day-card.day-selected{border-color:var(--primary);background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow-soft)}.day-card-top{display:flex;width:100%;align-items:center;justify-content:space-between}.day-name{color:inherit;font-size:10px;font-weight:700}.today-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.day-date{margin-top:5px;color:inherit;font-family:Manrope,Segoe UI,sans-serif;font-size:25px;font-weight:700;letter-spacing:-.07em;line-height:1}.day-load{margin-top:auto;color:inherit;font-size:11px;font-weight:700}.day-bottom{display:flex;width:100%;align-items:center;justify-content:space-between;gap:4px;margin-top:5px;color:inherit;font-size:9px}.day-dots{display:inline-flex;min-height:8px;align-items:center;gap:3px}.day-dots i,.subject-tag i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--subject-color)}.day-selected .day-dots i{box-shadow:0 0 0 1px #ffffffb3}.heat-note{margin:9px 1px 0;color:var(--muted);font-size:10px}.details-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.85fr);align-items:start;gap:16px}.day-panel,.courses-panel,.backup-panel{border:1px solid var(--line);border-radius:14px;background:var(--paper)}.day-panel{min-height:288px;padding:21px 22px 14px}.day-heading{align-items:center;margin-bottom:12px}.day-heading h2{text-transform:capitalize}.day-title-date{display:inline-grid;min-width:28px;height:28px;place-items:center;margin-left:4px;border-radius:8px;background:var(--primary-tint);color:var(--primary-text);font-family:DM Sans,sans-serif;font-size:11px;letter-spacing:0;vertical-align:2px}.text-button{display:inline-flex;min-height:36px;align-items:center;gap:6px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--primary-text);cursor:pointer;font-size:11px;font-weight:700}.text-button:hover,.manage-link:hover{background:var(--primary-tint)}.text-button svg,.manage-link svg{width:14px;height:14px}.task-list{display:grid}.task-row{display:grid;grid-template-columns:23px minmax(0,1fr) 32px;align-items:start;gap:10px;padding:13px 0;border-top:1px solid var(--line-soft)}.task-check{display:grid;width:22px;height:22px;place-items:center;margin-top:1px;border:1.5px solid var(--control-border);border-radius:7px;background:var(--paper);color:var(--on-primary);cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.task-check:hover{transform:scale(1.06);border-color:var(--primary-text)}.task-check.is-checked{border-color:var(--primary);background:var(--primary)}.task-check svg{width:14px;height:14px}.task-copy{display:grid;min-width:0;gap:4px;padding:0;border:0;background:none;cursor:pointer;text-align:left}.task-title{overflow:hidden;color:var(--ink-soft);font-size:12px;font-weight:600;text-overflow:ellipsis}.task-done .task-title{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--muted-soft)}.task-notes{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:var(--muted);font-size:9px}.subject-tag{display:inline-flex;align-items:center;gap:5px;color:var(--ink-quiet);font-weight:600}.subject-tag i{width:6px;height:6px}.weight-tag>span{color:var(--warm-ink);letter-spacing:1px}.task-delete{width:30px;height:30px;color:var(--muted)}.task-row:hover .task-delete,.task-delete:focus-visible{opacity:1}.task-delete:hover{background:var(--danger-bg);color:var(--danger)}.task-delete svg{width:15px;height:15px}.list-footer{margin:6px 0 0;padding-top:11px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:10px}.list-footer span,.meta-dot{padding:0 4px;color:var(--muted-soft)}.empty-day{display:flex;min-height:185px;flex-direction:column;align-items:center;justify-content:center;padding:16px;text-align:center}.empty-icon{display:grid;width:39px;height:39px;place-items:center;margin-bottom:8px;border-radius:13px;background:var(--primary-tint);color:var(--primary-text)}.empty-icon svg{width:19px;height:19px}.empty-day strong{color:var(--ink-soft);font-family:Manrope,Segoe UI,sans-serif;font-size:14px}.empty-day p{margin:4px 0 12px;color:var(--muted);font-size:10px}.empty-day .button svg{width:14px;height:14px}.right-column{display:grid;gap:14px}.courses-panel{padding:18px 17px 11px;scroll-margin-top:20px}.compact-heading{align-items:center;margin-bottom:11px}.compact-heading h2{font-size:16px}.compact-heading .eyebrow{font-size:9px}.add-course{width:31px;height:31px;border:1px solid var(--line)}.course-list{display:grid}.course-row{display:flex;min-height:54px;align-items:center;gap:10px;border-top:1px solid var(--line-soft)}.course-swatch{width:8px;height:31px;flex:0 0 auto;border-radius:5px;background:var(--subject-color)}.course-copy{display:grid;min-width:0;flex:1;gap:4px}.course-copy strong{overflow:hidden;color:var(--ink-soft);font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.course-copy>span{color:var(--muted);font-size:9px}.course-inactive .course-copy strong,.course-inactive .course-copy>span{color:var(--muted)}.course-edit{width:30px;height:30px;color:var(--muted)}.course-row:hover .course-edit,.course-edit:focus-visible{opacity:1}.course-edit svg{width:14px;height:14px}.manage-link{display:flex;width:100%;min-height:35px;align-items:center;justify-content:center;gap:5px;margin-top:5px;border:0;border-radius:7px;background:transparent;color:var(--primary-text);cursor:pointer;font-size:10px;font-weight:700}.empty-courses{padding:0 0 10px;border-top:1px solid var(--line-soft)}.empty-courses p{margin:12px 0 5px;color:var(--muted);font-size:10px;line-height:1.55}.backup-panel{position:relative;padding:17px;scroll-margin-top:20px}.backup-panel .backup-icon{width:31px;height:31px;margin-bottom:10px}.backup-panel .backup-icon svg{width:16px;height:16px}.backup-copy .eyebrow{font-size:9px}.backup-copy h2{margin:5px 0;color:var(--ink-soft);font-family:Manrope,Segoe UI,sans-serif;font-size:15px;letter-spacing:-.03em}.backup-copy p:not(.eyebrow){margin:0;color:var(--muted);font-size:10px;line-height:1.5}.backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.backup-action{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--primary-text);cursor:pointer;font-size:10px;font-weight:700;transition:background .16s ease,border-color .16s ease}.backup-action:hover{border-color:var(--primary-tint-border);background:var(--primary-tint)}.backup-action svg{width:14px;height:14px}.storage-link{display:flex;min-height:34px;align-items:center;gap:6px;margin-top:5px;padding:0 1px;border:0;background:transparent;color:var(--primary-text);cursor:pointer;font-size:9px;text-align:left}.storage-link:hover{color:var(--primary-text);text-decoration:underline}.storage-link svg{width:13px;height:13px}.backup-disclaimer{margin:5px 0 0;color:var(--muted);font-size:9px;line-height:1.5}.page-footer{display:flex;justify-content:space-between;gap:12px;margin-top:25px;padding:15px 2px 3px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:9px}.mobile-brand,.mobile-fab,.mobile-nav{display:none}.modal{width:min(100% - 28px,480px);max-height:min(92dvh,790px);padding:0;overflow:auto;border:1px solid var(--line);border-radius:17px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow-strong)}.modal::backdrop{background:#0000008c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-content{display:grid;gap:9px;padding:23px 24px 21px}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:7px}.modal-heading .eyebrow{color:var(--muted);font-size:9px}.modal-heading h2{margin:6px 0 0;font-family:Manrope,Segoe UI,sans-serif;font-size:22px;letter-spacing:-.05em}.modal-heading .icon-button{margin:-4px -7px 0 0;font-size:24px}.modal-heading .icon-button>span{line-height:1}.field-label,.field-group legend{display:block;margin:2px 0 0;color:var(--ink-quiet);font-size:11px;font-weight:700}.optional{color:var(--muted);font-size:10px;font-weight:400}.text-input{width:100%;min-height:42px;padding:0 12px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface-input);color:var(--ink-strong);font-size:12px;transition:border-color .15s ease,box-shadow .15s ease}.text-input::placeholder{color:var(--muted)}.text-input:focus{border-color:var(--line-focus);outline:0;box-shadow:0 0 0 3px var(--focus-ring-soft)}.text-area{min-height:74px;padding:10px 12px;resize:vertical}.field-group{min-width:0;margin:0;padding:0;border:0}.field-group .text-input{margin-top:7px}.date-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.date-chip{display:grid;min-width:127px;gap:3px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink-quiet);cursor:pointer;text-align:left}.date-chip:hover,.date-chip-selected{border-color:var(--primary-tint-border);background:var(--primary-tint);color:var(--primary-text)}.date-chip>span{font-size:9px}.date-chip>strong{font-size:11px;text-transform:capitalize}.date-chip-other{display:inline-flex;align-items:center;gap:5px;padding:0 4px;color:var(--muted);font-size:9px}.date-chip-other svg{width:13px;height:13px}.field-hint{margin:5px 1px 0;color:var(--muted);font-size:9px}.field-error{min-height:0;margin:4px 0 0;color:var(--danger-text);font-size:10px}.field-error:not(:empty){padding:5px 7px;border-radius:6px;background:var(--danger-bg)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.weekday-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:9px}.weekday-choices label{position:relative;cursor:pointer}.weekday-choices input{position:absolute;width:1px;height:1px;opacity:0}.weekday-choices span{display:grid;min-height:39px;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface-input);color:var(--muted);font-size:10px;transition:all .15s ease}.weekday-choices input:checked+span{border-color:var(--primary-tint-border);background:var(--primary-tint);color:var(--primary-text);font-weight:700}.weekday-choices input:focus-visible+span{outline:3px solid var(--focus-ring);outline-offset:3px}.color-field{display:flex;align-items:center;justify-content:space-between;padding:6px 0}.color-field input{width:40px;height:32px;padding:2px;border:1px solid var(--line-strong);border-radius:7px;background:var(--paper);cursor:pointer}.check-row{display:flex;align-items:center;gap:8px;color:var(--ink-quiet);font-size:11px}.check-row input{width:16px;height:16px;accent-color:var(--primary)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px;padding-top:13px;border-top:1px solid var(--line-soft)}.toast{position:fixed;z-index:20;right:22px;bottom:calc(20px + var(--safe-bottom));max-width:min(400px,calc(100vw - 32px));padding:12px 16px;transform:translateY(12px);border:1px solid var(--sidebar-border);border-radius:10px;background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow);font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}.toast-visible{transform:translateY(0);opacity:1}.toast-error{background:var(--danger-strong)}.fatal-error{display:flex;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}.fatal-error .brand-mark{margin-bottom:15px}.fatal-error h1{margin:0;font-family:Manrope,Segoe UI,sans-serif;font-size:24px}.fatal-error p{max-width:370px;color:var(--muted);font-size:13px;line-height:1.6}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.theme-toggle{width:41px;height:41px;border:1px solid var(--line);background:var(--paper)}.theme-toggle:hover{background:var(--surface-hover)}.theme-toggle svg{width:18px;height:18px}.theme-toggle .icon-sun{display:none}:root[data-modo=oscuro] .theme-toggle .icon-moon{display:none}:root[data-modo=oscuro] .theme-toggle .icon-sun{display:block}.settings-modal{width:min(100% - 28px,460px)}.mode-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}.mode-choices label{position:relative;cursor:pointer}.mode-choices input{position:absolute;width:1px;height:1px;opacity:0}.mode-choices span{display:grid;min-height:42px;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface-input);color:var(--muted);font-size:11px;transition:background .15s ease,border-color .15s ease,color .15s ease}.mode-choices input:checked+span{border-color:var(--primary-tint-border);background:var(--primary-tint);color:var(--primary-text);font-weight:700}.mode-choices input:focus-visible+span{outline:3px solid var(--focus-ring);outline-offset:3px}.theme-swatches{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.theme-swatch{display:grid;width:38px;height:38px;padding:3px;place-items:center;border:2px solid transparent;border-radius:12px;background:transparent;cursor:pointer}.theme-swatch i{display:block;width:100%;height:100%;border-radius:8px;background:var(--subject-color);box-shadow:inset 0 0 0 1px #00000024}.theme-swatch[aria-pressed=true]{border-color:var(--primary-text)}.theme-swatch:hover{background:var(--surface-hover)}.theme-swatch:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.settings-note{margin:2px 1px 0;color:var(--muted);font-size:9px;line-height:1.55}@media(min-width:1500px){.page-content{padding-right:68px;padding-left:68px}}@media(max-width:1120px){.sidebar{width:215px;padding-right:16px;padding-left:16px}.main-content{margin-left:215px}.overview-stats{top:auto;right:20px;bottom:21px;padding:7px 9px}.overview-progress{width:47%}.week-grid{gap:7px}.day-card{padding-right:9px;padding-left:9px}.details-grid{grid-template-columns:minmax(0,1.35fr) minmax(225px,.8fr);gap:12px}}@media(max-width:860px){.sidebar{width:76px;align-items:center;padding:24px 10px}.brand{margin:0 0 48px}.brand-name,.sidebar-label,.sidebar-bottom{display:none}.side-navigation{width:100%}.nav-link{justify-content:center;min-height:45px;padding:0;font-size:0}.nav-link>:not(.nav-icon){display:none}.nav-icon svg{width:20px;height:20px}.main-content{margin-left:76px}.overview-grid{grid-template-columns:minmax(0,1.4fr) minmax(190px,.8fr)}.details-grid{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;align-items:start}}@media(max-width:640px){html{scroll-padding-top:10px}.sidebar{display:none}.main-content{margin-left:0;padding-bottom:calc(72px + var(--safe-bottom))}.topbar{height:61px;justify-content:space-between;gap:10px;padding:0 18px}.theme-toggle{width:37px;height:37px}.modal{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:min(90dvh,790px);margin:0;padding-bottom:var(--safe-bottom);border-right:0;border-bottom:0;border-left:0;border-radius:17px 17px 0 0}.mobile-brand{display:inline-flex}.mobile-brand .brand-mark{width:30px;height:30px;border-radius:9px}.mobile-brand .brand-mark svg{width:17px;height:17px}.mobile-brand .brand-name{display:inline;color:var(--primary);font-size:21px}.today-caption{display:none}.top-add{min-width:39px;min-height:39px;padding:0 11px;font-size:0}.top-add svg{width:18px;height:18px}.page-content{padding:27px 17px 20px}.page-heading{display:grid;gap:15px;margin-bottom:20px}.page-heading h1{margin-top:7px;font-size:30px}.heading-subtitle{font-size:12px}.week-controls{width:fit-content}.overview-grid{grid-template-columns:1fr;gap:10px;margin-bottom:29px}.overview-card{min-height:170px;padding:20px}.overview-copy h2{max-width:calc(100% - 100px);font-size:21px}.overview-copy p{max-width:250px;font-size:10px;line-height:1.5}.overview-stats{top:20px;right:15px;bottom:auto;gap:9px;padding:7px 8px}.overview-stats strong{font-size:16px}.overview-stats span{font-size:8px}.overview-progress{width:min(63%,280px)}.load-card{min-height:84px;align-items:center;padding:14px 17px}.load-card .overview-kicker{margin-bottom:5px}.load-card strong{font-size:16px}.section-heading h2{font-size:17px}.heat-legend{gap:7px;font-size:8px}.week-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.day-card{min-height:112px;padding:10px 11px 9px;border-radius:11px}.day-date{font-size:23px}.day-bottom{font-size:8px}.heat-note{font-size:9px;line-height:1.5}.week-section{margin-bottom:25px}.day-panel{min-height:260px;padding:17px 15px 12px}.right-column{grid-template-columns:1fr}.page-footer{display:grid;gap:5px;margin-top:20px;font-size:9px}.mobile-fab{position:fixed;z-index:8;right:17px;bottom:calc(66px + var(--safe-bottom));display:grid;width:53px;height:53px;place-items:center;border:0;border-radius:18px;background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow);cursor:pointer;transition:transform .15s ease,background .15s ease}.mobile-fab:hover{transform:translateY(-2px);background:var(--primary-hover)}.mobile-fab svg{width:23px;height:23px}.mobile-nav{position:fixed;z-index:7;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,1fr);padding:7px 12px calc(7px + var(--safe-bottom));border-top:1px solid var(--line);background:var(--nav-bg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-nav button{display:grid;min-height:47px;align-content:center;justify-items:center;gap:3px;border:0;border-radius:9px;background:transparent;color:var(--muted);cursor:pointer;font-size:9px}.mobile-nav button svg{width:18px;height:18px}.mobile-nav .mobile-nav-active{color:var(--primary);font-weight:700}.toast{right:16px;bottom:calc(75px + var(--safe-bottom))}}@media(max-width:390px){.page-content,.topbar{padding-right:13px;padding-left:13px}.overview-copy h2{max-width:calc(100% - 82px);font-size:19px}.overview-stats{right:11px}.day-card{min-height:105px;padding-right:8px;padding-left:8px}.heat-legend{gap:5px}.heat-legend>span{gap:3px}.modal-content{padding:20px 17px 17px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
