:root{--ink:#182337;--muted:#66728a;--line:#e2e7ef;--blue:#4255d4;--surface:#fff;--bg:#f4f6fa;--navy:#152035;--lime:#bdf06c;--hour:72px;color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #95a8ff;outline-offset:3px}button{transition:background .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(.97)}.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#ecf0f8;padding:30px 20px;display:flex;flex-direction:column;gap:0;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;font-size:1.35rem;font-weight:750;letter-spacing:-.6px}.brand-icon{width:28px;height:28px;position:relative}.brand-icon i{display:block;width:21px;height:6px;position:absolute;left:0;top:5px;background:var(--lime);border-radius:2px}.brand-icon i+ i{left:9px;top:16px;width:18px}.demo-label{font-size:.68rem;font-weight:600;letter-spacing:.7px;color:#c3ceea;border:1px solid #48536c;border-radius:4px;padding:3px 5px;margin-left:auto}.profile{display:flex;gap:12px;align-items:center;margin:34px 0 29px}.avatar{background:#344157;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:.875rem;font-weight:700;color:var(--lime)}.profile strong{display:block;font-size:.94rem;font-weight:600}.profile small{display:block;font-size:.78rem;color:#a5b2c9;margin-top:6px}.nav-heading{font-size:.72rem;color:#a2b0c7;letter-spacing:1.1px;font-weight:600;margin:0 10px 12px}.nav-item{width:100%;border:0;display:flex;align-items:center;gap:13px;text-align:left;background:none;color:#c1cce0;font-size:.94rem;padding:12px 14px;margin:3px 0;border-radius:7px}.nav-item span{font-size:1.3rem}.nav-item.active{background:#303e59;color:#fff;box-shadow:inset 3px 0 var(--lime)}.project-heading{margin-top:33px}.project-list{display:flex;flex-direction:column;gap:17px;padding:8px 10px}.project-legend{display:flex;align-items:center;gap:10px;font-size:.875rem;color:#d4dcec}.project-dot{width:9px;height:9px;border-radius:3px;flex:none}.project-legend small{margin-left:auto;font-size:.75rem;color:#9ba9c0}.roster-note{margin-top:35px;border:1px solid #35435a;padding:16px 13px;border-radius:9px}.roster-symbol{display:block;color:var(--lime);font-size:1.55rem;font-weight:700;letter-spacing:1px;margin-bottom:8px}.roster-note strong{font-size:.875rem;font-weight:550}.roster-note p{font-size:.81rem;line-height:1.6;color:#a9b7cd;margin:10px 0 0}.sidebar-bottom{margin-top:auto;padding:30px 5px 0;font-size:.78rem;color:#acbad0}.storage-indicator{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);margin-right:6px}.sidebar-bottom small{display:block;font-size:.75rem;color:#9dacc4;margin-top:8px}main{padding:30px 34px 24px;max-width:1700px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{font-size:.71rem;letter-spacing:1.05px;font-weight:650;color:var(--muted)}h1{font-size:1.8rem;letter-spacing:-.65px;line-height:1.25;font-weight:650;margin:7px 0 0}h2{font-size:1.05rem;font-weight:650;letter-spacing:-.2px;margin:0}.button{border:1px solid var(--line);padding:10px 16px;border-radius:7px;font-size:.875rem;line-height:1.4;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 5px #4255d41a}.primary span{font-size:1.2rem;line-height:1}.subtle{background:white;color:var(--ink)}.summary-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:24px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px 20px;position:relative}.summary-card:nth-child(3){border-top:3px solid #a4d05b;padding-top:15px}.summary-label{display:block;font-size:.7rem;letter-spacing:.8px;color:var(--muted);font-weight:650}.summary-card strong{display:block;margin-top:9px;font-size:1.4rem;font-weight:650;letter-spacing:-.45px}.summary-card small{display:block;font-size:.8rem;color:var(--muted);margin-top:7px}.planner-card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;box-shadow:0 3px 10px #20385b04}.planner-toolbar{padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.date-nav{display:flex;align-items:center;gap:7px}.date-nav h2{margin:0 10px}.date-nav .button{font-size:.8rem;padding:7px 10px}.icon-button{width:31px;height:31px;background:white;border:1px solid var(--line);border-radius:6px;display:inline-grid;place-items:center;font-size:1.4rem;line-height:1;color:var(--muted);flex:none}.view-switch{display:flex;background:#f0f2f7;border:1px solid #e9edf4;padding:3px;border-radius:7px}.view-switch button{background:none;border:0;color:var(--muted);font-size:.8rem;line-height:1.5;padding:5px 14px;border-radius:5px}.view-switch button.active{background:white;color:var(--ink);box-shadow:0 1px 4px #172f5120}.planner-options{border-top:1px solid #eff1f5;padding:12px 20px;display:flex;justify-content:space-between;align-items:center;gap:18px}.legend{display:flex;align-items:center;gap:16px;font-size:.75rem;color:var(--muted)}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:2px}.option-controls{display:flex;gap:19px;align-items:center}.switch-label{display:flex;gap:7px;align-items:center;cursor:pointer;font-size:.8rem;color:var(--muted)}.switch-label input{position:absolute;opacity:0;width:1px;height:1px}.switch{display:inline-block;width:29px;height:17px;border-radius:9px;background:#cfd6e3;position:relative}.switch:after{content:"";position:absolute;left:3px;top:3px;width:11px;height:11px;border-radius:50%;background:white;transition:transform .15s}.switch-label input:checked+.switch{background:var(--blue)}.switch-label input:checked+.switch:after{transform:translateX(12px)}.switch-label input:focus-visible+.switch{outline:3px solid #95a8ff;outline-offset:3px}.text-button{border:0;background:none;padding:7px 0;color:var(--blue);font-size:.8rem;white-space:nowrap}.muted{color:var(--muted)}.schedule-surface{overflow:auto;max-height:690px;position:relative;border-top:1px solid var(--line);background:#fff;scrollbar-color:#cbd4e3 #f5f7fa}.calendar-inner{min-width:700px}.calendar-head{display:grid;grid-template-columns:80px repeat(7,minmax(0,1fr));position:sticky;top:0;z-index:5;background:white;border-bottom:1px solid var(--line)}.day-head{border-left:1px solid var(--line);padding:13px 5px 11px;text-align:center}.day-head .day-name{font-size:.72rem;color:var(--muted);font-weight:550}.day-head .day-num{display:inline-grid;place-items:center;font-size:1.1rem;font-weight:650;width:30px;height:30px;margin:3px auto}.day-head.today .day-num{background:var(--blue);color:white;border-radius:50%}.location-pill{display:table;margin:0 auto;padding:2px 6px;border-radius:4px;color:#5564b1;background:#eef0fd;font-size:.75rem;line-height:1.5}.location-pill.groote{color:#247568;background:#e7f5f0}.location-pill.travel{background:#fff2d7;color:#9a6b17}.calendar-body{display:grid;grid-template-columns:80px repeat(7,minmax(0,1fr));position:relative}.time-axis{position:relative;background:#fff;z-index:2}.time-label{position:absolute;right:10px;transform:translateY(-7px);font-size:.7rem;color:#7c8699;white-space:nowrap}.time-label:first-child{transform:translateY(4px)}.day-column{border-left:1px solid var(--line);position:relative;background:repeating-linear-gradient(to bottom,transparent,transparent calc(var(--hour)/2 - 1px),#eff2f8 calc(var(--hour)/2 - 1px),#eff2f8 calc(var(--hour)/2),transparent calc(var(--hour)/2),transparent calc(var(--hour) - 1px),#e6ebf3 calc(var(--hour) - 1px),#e6ebf3 var(--hour))}.unavailable{position:absolute;left:0;right:0;pointer-events:none;background:#edf0f68f}.unavailable-label{font-size:.67rem;color:#8d96a6;padding:8px 5px;text-align:center;line-height:1.4}.task-event{position:absolute;left:4px;right:4px;border:0;border-left:3px solid var(--event-color);background:var(--event-bg);border-radius:5px;overflow:hidden;text-align:left;padding:5px 6px;color:var(--event-ink);cursor:grab;min-height:24px;font-size:.76rem;line-height:1.3;z-index:2;box-shadow:0 1px 2px #1e314608;touch-action:pan-y}.task-event strong{display:block;font-weight:600;font-size:.875rem}.task-event small{display:block;font-size:.75rem;margin-top:3px;opacity:.85}.task-event .fixed-mark{float:right;margin-left:2px}.task-event.fixed{cursor:pointer;opacity:.85}.task-event.complete{opacity:.58;text-decoration:line-through}.task-event:hover{box-shadow:0 2px 6px #1e314626;z-index:3}.task-event.dragging{opacity:.4}.day-column.drag-over{box-shadow:inset 0 0 0 2px var(--blue);background-color:#f4f5ff}.planner-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;font-size:.75rem;color:var(--muted);border-top:1px solid var(--line)}.bottom-row{display:flex;align-items:center;gap:18px;margin-top:18px}.hint-card{display:flex;align-items:flex-start;gap:13px;flex:1}.hint-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;flex:none;background:#e8ecff;color:var(--blue);font-size:1.35rem}.hint-card strong{font-size:.85rem;font-weight:650}.hint-card p{font-size:.8rem;color:var(--muted);line-height:1.65;margin:4px 0 0}.hint-card b{font-weight:550;color:#4c5871}.example-note{font-size:.75rem;color:#758096;line-height:1.6;margin:17px 0 0}dialog{border:1px solid var(--line);border-radius:13px;width:min(570px,calc(100vw - 28px));padding:0;box-shadow:0 16px 80px #13213c30;color:var(--ink)}dialog::backdrop{background:#12203b65;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:23px 24px 20px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:1.35rem;margin-top:7px}.dialog-content{padding:22px 24px;display:flex;flex-direction:column;gap:17px}.dialog-content label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;font-weight:550}.dialog-content input:not([type=checkbox]),.dialog-content select,.dialog-content textarea{width:100%;min-height:40px;padding:8px 10px;border:1px solid #d9e0eb;border-radius:6px;background:white;color:var(--ink);font-size:.875rem;font-weight:400}.dialog-content input:disabled,.dialog-content select:disabled{background:#f2f4f8;color:var(--muted)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-row.three{grid-template-columns:1.4fr 1fr .9fr}.check-row{display:flex;gap:24px}.check-row label{flex-direction:row;align-items:center;font-size:.8rem;font-weight:400}.check-row input{accent-color:var(--blue);width:15px;height:15px}.dependency-note{font-size:.8rem;color:var(--muted);line-height:1.5;padding:10px 12px;background:#f4f6fb;border-radius:6px}.form-error{font-size:.85rem;color:#b53d42;line-height:1.4}.form-error:empty{display:none}.dialog-footer{padding:17px 24px;border-top:1px solid var(--line);display:flex;gap:16px;align-items:center}.dialog-footer .primary{margin-left:auto}.danger{color:#b23d4d}.toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translate(-50%,20px);border-radius:8px;box-shadow:0 4px 25px #14223b26;background:var(--navy);color:white;padding:13px 18px;max-width:min(560px,calc(100vw - 30px));font-size:.85rem;line-height:1.5;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.confirm-content{padding:25px}.confirm-content h2{font-size:1.25rem}.confirm-content p{color:var(--muted);font-size:.9rem;line-height:1.6}.confirm-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}@media(min-width:1500px){.task-event strong{font-size:.83rem}.task-event small{font-size:.73rem}.day-head .day-name{font-size:.8rem}.location-pill{font-size:.73rem}}@media(max-width:1150px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:25px 15px}.brand{font-size:1.15rem;gap:7px}.demo-label{font-size:.6rem;padding:3px}.brand-icon{width:25px}main{padding:25px 20px}.date-nav h2{font-size:.94rem;margin:0 6px}.planner-toolbar{padding:14px}.planner-options{padding:12px 14px;flex-wrap:wrap}.summary-card{padding:15px}.topbar h1{font-size:1.55rem}.bottom-row{flex-wrap:wrap}.hint-card{flex-basis:100%}.toast{left:50%}}@media(max-width:850px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:15px 20px;display:grid;grid-template-columns:1fr auto;align-items:center}.brand{font-size:1.25rem;max-width:200px}.profile,.nav-heading,.project-list,.roster-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:7px}.nav-item{font-size:.8rem;width:auto;margin:0;padding:7px 10px}.nav-item span{display:none}.nav-item.active{box-shadow:none}.topbar{margin-bottom:20px}.topbar h1{font-size:1.5rem}.summary-row{gap:10px;margin-bottom:18px}.summary-card strong{font-size:1.15rem}.summary-label{font-size:.64rem}.summary-card small{font-size:.72rem}.planner-foot{flex-wrap:wrap;font-size:.72rem}.planner-toolbar{gap:10px}.date-nav{flex-wrap:wrap}.date-nav h2{font-size:1rem}.schedule-surface{max-height:650px}.example-note{font-size:.72rem}}@media(max-width:540px){main{padding:21px 13px}.topbar h1{font-size:1.26rem}.topbar .eyebrow{font-size:.63rem}.topbar .button{font-size:.8rem;padding:9px 12px}.summary-row{grid-template-columns:1fr 1fr}.summary-card:nth-child(3){display:none}.summary-card{padding:14px}.summary-card strong{font-size:1.17rem}.sidebar{padding:13px 15px}.sidebar .nav-item{font-size:.75rem}.sidebar .brand{font-size:1.14rem}.sidebar .demo-label{display:none}.planner-toolbar{padding:12px}.date-nav .button{display:none}.view-switch button{padding:4px 10px}.planner-options{gap:10px}.legend{gap:10px;font-size:.7rem}.option-controls{justify-content:space-between;width:100%}.calendar-inner{min-width:735px}.hint-card p{font-size:.78rem}.bottom-row{gap:12px}.dialog-content{padding:18px}.dialog-header,.dialog-footer{padding:18px}.form-row{gap:10px}.form-row.three{grid-template-columns:1.2fr 1fr .85fr}.dialog-footer{gap:12px}.dialog-footer .button{font-size:.8rem;padding:9px 11px}.check-row{gap:12px}.confirm-actions{flex-wrap:wrap}}

.calendar-range{font-size:.875rem;color:var(--muted);white-space:nowrap}.calendar-end{height:26px;border-top:1px solid var(--line);background:#fff}.calendar-end span{display:block;width:56px;text-align:right;padding:5px 10px 0 0;font-size:.75rem;color:#7c8699}.task-event.compact{padding:0 4px;min-height:18px}.task-event.compact strong{font-size:.75rem;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-event.compact small{display:none}

.time-header{position:sticky;left:0;z-index:7;background:#f8faff;display:flex;align-items:flex-end;justify-content:center;padding:13px 5px;color:var(--muted);font-size:.875rem;border-right:1px solid var(--line)}.time-axis{position:sticky;left:0;z-index:4;background:#f8faff;border-right:1px solid var(--line)}.time-label{font-size:.875rem;right:11px}.calendar-end span{position:sticky;left:0;width:80px;background:#f8faff;font-size:.875rem;padding-right:7px}

/* Priority to-do list */
.todo-board{padding:28px;max-width:1300px;margin:auto}.todo-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.todo-heading h2{font-size:28px;margin:5px 0 8px}.todo-heading p,.todo-copy span,.todo-copy small,.todo-budget span{color:var(--muted)}.todo-add{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) 100px 90px 120px auto;gap:12px;align-items:end;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px}.todo-add label{display:grid;gap:7px;font-size:12px;font-weight:600}.todo-add input,.todo-add select{width:100%;min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.todo-add .todo-auto{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-weight:400}.todo-auto input{width:auto}.todo-budgets{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.todo-budget{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:12px 16px;text-align:left;display:grid;gap:5px;font-size:12px}.todo-item{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-bottom:10px}.todo-item>input{width:19px;height:19px;flex-shrink:0;accent-color:var(--blue)}.todo-copy{display:grid;gap:7px;flex:1;min-width:0}.todo-copy strong{overflow-wrap:anywhere}.todo-copy span,.todo-copy small{font-size:12px}.todo-item.complete .todo-copy strong{text-decoration:line-through;opacity:.6}.todo-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.todo-empty{text-align:center;padding:55px 20px;color:var(--muted)}.todo-empty h3{color:var(--ink)}.todo-board .eyebrow{color:var(--muted)}.task-timing[hidden],.check-row[hidden]{display:none!important}@media(max-width:1100px){.todo-add{grid-template-columns:repeat(3,minmax(0,1fr))}.todo-name{grid-column:1/3}}@media(max-width:600px){.todo-board{padding:16px}.todo-heading{align-items:flex-start}.todo-heading h2{font-size:24px}.todo-heading p{font-size:12px}.todo-add{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.todo-name{grid-column:1/-1}.todo-item{flex-wrap:wrap;padding:16px}.todo-actions{margin-left:33px;width:100%}.todo-copy{flex-basis:75%}}

.todo-add{grid-template-columns:minmax(120px,1fr) 100px minmax(225px,1.6fr) 130px auto}.todo-add .todo-name{grid-column:1/-1;display:grid;gap:7px}.todo-name textarea{width:100%;min-width:0;min-height:64px;resize:vertical;line-height:1.5;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.todo-name>button{justify-self:end;padding:4px 0;font-size:12px}.todo-duration{border:0;margin:0;padding:0;min-width:0}.todo-duration legend{font-size:12px;font-weight:600;margin-bottom:7px;padding:0;color:var(--ink)}.todo-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.todo-add .todo-time-fields label{font-size:11px;gap:4px;color:var(--muted)}.todo-stepper{display:grid;grid-template-columns:30px minmax(30px,1fr) 30px;align-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}.todo-stepper button{border:0;background:transparent;color:var(--ink);font-size:18px;min-height:36px;padding:0}.todo-add .todo-stepper input{border:0;border-radius:0;text-align:center;padding:9px 0;appearance:textfield;-moz-appearance:textfield}.todo-stepper input::-webkit-inner-spin-button,.todo-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.todo-copy strong{white-space:pre-wrap}@media(max-width:1100px){.todo-add{grid-template-columns:1fr 1fr}.todo-duration{grid-column:1/-1}.todo-time-fields{max-width:360px}.todo-add>button[type=submit]{justify-self:start}}@media(max-width:600px){.todo-time-fields{max-width:none}.todo-stepper button{min-height:40px}.todo-add>button[type=submit]{grid-column:1/-1;justify-self:stretch}}

.week-start-picker{display:grid;gap:4px;font-size:11px;color:var(--muted)}.week-start-picker input{font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:6px;max-width:150px}.task-move{position:absolute;left:2px;top:2px;z-index:12;width:20px;height:22px;max-height:calc(100% - 2px);border:0;border-radius:4px;color:var(--event-ink,var(--ink));background:transparent;padding:0;font-size:19px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.task-move:disabled{opacity:.25;cursor:default}.calendar-task>.task-event,.calendar-task>.task-event.compact{padding-left:25px}.task-move:hover,.task-move:focus-visible{background:var(--raised)}.drag-moving{opacity:.3;pointer-events:none}.task-dragging{cursor:grabbing;user-select:none}.date-nav{flex-wrap:wrap}@media(max-width:600px){.week-start-picker{order:3}.date-nav #week-title{width:100%;order:4;font-size:15px}.task-move{width:22px}.calendar-task>.task-event,.calendar-task>.task-event.compact{padding-left:25px}}

#task-form textarea[name="title"]{resize:vertical;min-height:64px;line-height:1.5}
.project-field>label{display:block;margin-bottom:7px}.projects-manager-list li{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.project-list-copy{flex:1;min-width:120px;display:grid;gap:4px}.project-list-copy small{color:var(--muted)}.project-row-actions,.project-form-actions{display:flex;gap:12px;align-items:center}.project-delete-panel{margin-top:20px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--raised)}.project-delete-panel[hidden]{display:none}.project-delete-panel h3{margin-top:0}.project-field .category-picker select{min-width:0;flex:1}.project-field .category-picker button{white-space:nowrap;font-size:12px}@media(max-width:600px){#task-form .form-row:has(.project-field){grid-template-columns:1fr}.project-row-actions{margin-left:auto}}
