:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#242a30;background:#fff9f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b84d23;outline-offset:2px}button{border:0}h1,h2,p{margin-top:0}h1{font-size:clamp(28px,7vw,38px);letter-spacing:-.045em;line-height:1.17;margin-bottom:15px;font-weight:680}h2{font-size:18px;letter-spacing:-.025em}small{font-size:12px}.app-shell,.wizard{max-width:600px;min-height:100dvh;margin:0 auto;background:#fff9f2;position:relative}.topbar{height:64px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.06em}.brand-mark{width:26px;height:26px;border-radius:8px;background:linear-gradient(#526c82 0 0) 6px 6px/13px 3px no-repeat,linear-gradient(#e8a46c 0 0) 6px 12px/17px 3px no-repeat,linear-gradient(#b84d23 0 0) 6px 18px/11px 3px no-repeat,#fff0e0;box-shadow:0 0 0 1px #f1dfcd}.top-actions{display:flex;gap:2px}.icon-button{background:transparent;color:#39454f;padding:8px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:20px;height:20px}.main-content{padding:14px 20px 104px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:8px 0 20px;gap:10px}.section-head h1{margin-bottom:0}.eyebrow{text-transform:uppercase;color:#af6c49;font-size:11px;font-weight:750;letter-spacing:.17em;margin-bottom:8px}.muted{color:#7a838b;font-size:13px;line-height:1.55}.plain-small,.text-button{background:transparent;color:#b84d23;font-weight:650;font-size:13px;padding:8px 4px;display:inline-flex;gap:6px;align-items:center}.date-strip-wrap{display:flex;align-items:center;gap:2px;margin:2px -10px 18px}.date-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;flex:1;min-width:0}.strip-arrow{background:transparent;color:#a57961;padding:6px 1px;display:flex;align-items:center}.strip-arrow svg{width:17px}.date-pill{border-radius:17px;background:transparent;min-width:0;padding:8px 2px 5px;color:#68737c;display:flex;flex-direction:column;align-items:center;gap:3px}.date-pill span{font-size:10px}.date-pill strong{font-size:17px;color:#283139}.date-pill.selected{background:#e9a875;color:#542f1d}.date-pill.selected strong{color:#4f2d1c}.date-dot{width:4px;height:4px;border-radius:50%;display:block;background:#b9784e}.date-pill.selected .date-dot{background:#6c341d}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.quick-actions button{height:72px;border-radius:20px;border:1px solid #f0dfcd;background:#fffdf9;color:#303943;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:690;box-shadow:0 4px 16px #9d6b4020}.quick-actions button:nth-child(2){background:#fff0e3}.quick-actions button:nth-child(3){background:#f8f0e7}.feedback-banner{width:100%;background:#fff0e1;color:#9d3e1d;border-radius:13px;padding:12px 16px;text-align:left;font-weight:690;margin:0 0 12px;display:flex;justify-content:space-between;align-items:center}.timeline{padding:1px 0 10px}.timeline-card{width:100%;text-align:left;display:flex;align-items:stretch;gap:12px;background:transparent;padding:0;margin:3px 0;min-height:72px;color:inherit;position:relative}.time-col{width:47px;flex:none;padding-top:12px;font-size:12px;color:#5d6872;font-weight:730}.time-col small{display:block;color:#9ba3a9;font-weight:500;margin-top:5px}.card-body{flex:1;min-width:0;border-left:4px solid #526c82;background:#fffdf9;border-radius:7px 17px 17px 7px;box-shadow:0 2px 14px #674c2b15;padding:13px;display:flex;flex-direction:column;justify-content:center;gap:5px}.card-body strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-body small{color:#8b9298}.timeline-card.plan .card-body,.timeline-card.goal .card-body{border-left-color:#d6824e}.timeline-card.done .card-body{background:#f6f6f0}.timeline-card.missed .card-body,.timeline-card.cancelled .card-body{opacity:.6}.timeline-card.highlight .card-body{animation:highlight 1.4s ease-out}.status-badge{position:absolute;right:38px;margin-top:12px;border-radius:50%;background:#eef0ee;color:#52616b;font-size:10px;font-weight:800;width:20px;height:20px;display:grid;place-items:center}.gap-row{margin-left:59px;border-left:1px dashed #eadfd2;display:flex;align-items:center;padding-left:15px;color:#a6a4a0;font-size:11px}.now-line{margin:10px 0 10px 57px;height:1px;background:#c86639;position:relative}.now-line span{position:absolute;right:0;top:-10px;color:#b84d23;font-size:10px;background:#fff9f2;padding-left:5px}.bottom-nav{height:78px;padding:8px 22px calc(8px + env(safe-area-inset-bottom));position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(100%,600px);background:#fffdf9;border-top:1px solid #efe4d8;display:grid;grid-template-columns:repeat(3,1fr);z-index:5}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;justify-content:center;background:transparent;color:#9099a0;font-size:11px;font-weight:600}.bottom-nav button.active{color:#b84d23}.bottom-nav button.active svg{stroke-width:2}.week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.week-day{border-radius:14px;min-height:86px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;color:#634d3d;padding:4px}.week-day.current{box-shadow:inset 0 0 0 2px #b84d23}.week-day span{font-size:10px}.week-day strong{font-size:17px}.week-day small{font-size:9px;white-space:nowrap}.subheading{font-size:17px;margin:28px 0 15px}.list-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:#fffdf9;padding:14px;border-radius:14px;margin:7px 0;color:inherit;box-shadow:0 1px 10px #674c2b10}.list-row>span:nth-child(2){flex:1}.list-row strong,.list-row small,.idea-row small{display:block}.list-row small,.idea-row small{color:#8c9399;margin-top:4px}.mini-stripe{height:30px;width:4px;border-radius:5px;background:#526c82}.mini-stripe.plan,.mini-stripe.goal{background:#d6824e}.idea-row{display:flex;gap:10px;align-items:center;background:#fffdf9;padding:13px;border-radius:14px;margin:7px 0;font-size:14px}.idea-row>span{flex:1}.idea-row button{background:none;color:#b84d23;display:flex;padding:5px}.empty{padding:45px 20px;text-align:center;color:#8a9298;font-size:13px}.empty-art{width:64px;height:56px;display:flex;flex-direction:column;gap:7px;transform:rotate(-7deg);margin:0 auto 18px}.empty-art span{height:7px;border-radius:8px;background:#eedac8}.empty-art span:nth-child(2){width:85%;background:#e7ae82}.empty-art span:nth-child(3){width:66%;background:#a9b8c3}.full-screen{position:fixed;inset:0;margin:auto;max-width:600px;background:#fff9f2;z-index:10;display:flex;flex-direction:column}.screen-top{height:61px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:8px 18px;border-bottom:1px solid #f1e7dc}.screen-top h2{margin:0;font-size:16px}.screen-top>*:first-child,.screen-top>*:last-child{min-width:38px}.screen-content{flex:1;min-height:0;overflow:auto;padding:24px 22px 36px}.screen-footer{flex:none;background:#fff9f2;border-top:1px solid #f1e7dc;padding:12px 22px calc(12px + env(safe-area-inset-bottom))}.primary,.secondary,.small-primary{border-radius:14px;padding:14px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700}.primary{background:#b84d23;color:#fff;width:100%;box-shadow:0 4px 12px #b84d2333}.secondary{background:#fffdf9;color:#5a6470;border:1px solid #eadacb;margin:6px 5px 6px 0}.small-primary{background:#b84d23;color:#fff;padding:9px 14px}.danger{color:#b84d23}.detail-time{font-size:16px;font-weight:600}.note{white-space:pre-wrap;background:#fffdf9;border-radius:12px;padding:15px;color:#52606b}.screen-content label,.wizard-content label,.feedback-card label,.rule-card label{display:block;font-size:12px;font-weight:650;color:#667079;margin:18px 0 8px}.screen-content input:not([type=checkbox]):not([type=file]),.screen-content textarea,.screen-content select,.wizard input:not([type=file]):not([type=checkbox]),.wizard textarea,.rule-card input,.feedback-card input[type=number]{display:block;width:100%;border:1px solid #e5d9cd;border-radius:12px;background:#fffdf9;color:#242a30;padding:12px;margin-top:7px;outline:none;min-height:45px}.screen-content input:focus,.screen-content textarea:focus,.wizard input:focus,.wizard textarea:focus{border-color:#b84d23}.screen-content input[type=file],.wizard input[type=file]{width:100%;font-size:12px;margin:14px 0}.switch-row,.check-line{display:flex!important;justify-content:space-between;align-items:center;gap:12px}.switch-row small{display:block;color:#9a9fa3;font-weight:400;margin-top:4px}.switch-row input{width:22px;height:22px;accent-color:#b84d23}.check-line{justify-content:flex-start!important;font-size:12px!important}.check-line input{accent-color:#b84d23}.form-content details{margin-top:25px;border-top:1px solid #eaddd0;padding-top:17px}.form-content summary{color:#8b6b5a;font-size:13px;font-weight:650}.time-wheel{display:flex;align-items:center;gap:10px;margin-top:7px}.time-wheel select{width:86px!important;margin:0!important;padding:9px!important;font-weight:690}.drag-adjust{margin:23px 0}.tiny{font-size:11px;color:#8d9296}.drag-track{margin:12px 0;padding:7px;background:#f0e8df;border-radius:15px}.drag-block{background:#e7a06e;border-radius:11px;padding:12px;color:#493126;display:flex;justify-content:space-between;touch-action:none;font-size:13px;font-weight:700}.drag-handle{width:15px;border-left:2px solid #fff9f2;touch-action:none}.feedback-card{border-radius:17px;background:#fff0e3;padding:16px;margin:10px 0}.feedback-card>small{display:block;color:#8f7770;margin-top:5px}.segmented{display:flex;background:#fff8f1;border-radius:10px;padding:3px;margin-top:14px}.segmented button{flex:1;background:transparent;border-radius:8px;padding:8px 3px;color:#6b6865;font-size:12px}.segmented button.chosen{background:#d9895c;color:#fff}.feedback-card label{margin:12px 0}.feedback-card input[type=number]{max-width:140px}.error{color:#a72d18;background:#ffebdf;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5}.success{background:#e8f1e8;color:#45654c;border-radius:10px;padding:12px;font-size:12px}.toast{position:fixed;bottom:92px;left:50%;transform:translate(-50%);background:#303943;color:#fff;padding:12px 16px;border-radius:12px;display:flex;gap:24px;align-items:center;z-index:30;font-size:13px;white-space:nowrap}.toast button{background:none;color:#ffd3b0}.sheet-backdrop{position:fixed;inset:0;background:#27313d55;z-index:20;display:flex;align-items:flex-end;justify-content:center}.idea-sheet{width:min(100%,600px);border-radius:24px 24px 0 0;background:#fff9f2;padding:20px 22px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #2222}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head h2{margin:0}.idea-sheet textarea{width:100%;border:1px solid #e7d9ca;border-radius:14px;background:#fffdf9;padding:13px;margin:18px 0;resize:vertical}.wizard-top{display:flex;align-items:center;gap:10px;padding:20px 22px;font-weight:700}.wizard-content{padding:20px 22px 40px}.wizard-content>.muted{max-width:400px}.panel{background:#fffdf9;border-radius:20px;padding:19px;margin:20px 0;border:1px solid #f0e5d9}.panel h2{margin-bottom:8px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.field-grid label{min-width:0}.period-list{max-height:340px;overflow:auto}.period-row,.routine-row{display:flex;gap:6px;align-items:center;margin:8px 0}.period-row strong,.routine-row strong{font-size:12px;width:44px;flex:none}.period-row input,.routine-row input{min-width:0!important;padding:7px!important;font-size:12px!important;margin:0!important}.csv-input{font-size:12px!important;line-height:1.5}.course-edit,.rule-card{padding:14px;border-radius:14px;background:#fff9f2;border:1px solid #eee0d1;margin:12px 0}.course-edit-head{display:flex;justify-content:space-between;align-items:center}.course-edit label,.rule-card label{margin:8px 0}.history-row{background:#fffdf9;border-radius:14px;margin:8px 0;padding:15px}.history-row strong,.history-row small{display:block}.history-row small{margin-top:5px;color:#7f888f}.restore-preview{border:1px solid #e5d7c8;border-radius:14px;padding:15px;margin:18px 0}.restore-preview p{font-size:13px;margin:6px 0 15px}.loading{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b9399;gap:12px}@keyframes highlight{0%{background:#ffe3c9;box-shadow:0 0 0 3px #e8a46c}to{background:#fffdf9;box-shadow:0 2px 14px #674c2b15}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media(max-width:390px){.main-content{padding-left:14px;padding-right:14px}.week-day small{font-size:8px}.period-row strong{width:38px}}.template-links{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 6px;font-size:12px;color:#667079}.template-links a{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid #eadacb;border-radius:10px;background:#fff9f2;color:#a34725;text-decoration:none;font-weight:650}.template-links a:focus-visible{outline:3px solid #b84d23;outline-offset:2px}.wizard-restore summary{font-size:14px;font-weight:700;color:#39454f;cursor:pointer}.wizard-restore[open] summary{margin-bottom:12px}.task-overview{background:#fffdf9;border:1px solid #efdfcf;border-radius:18px;padding:13px 14px;margin:0 0 22px;box-shadow:0 2px 12px #674c2b10}.task-section-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.task-section-head h2{font-size:16px;margin:0}.task-section-head h2 span{color:#b84d23;font-size:12px;margin-left:5px}.task-overview .muted{margin:9px 0}.task-row{width:100%;min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;background:#fff9f2;border-radius:12px;color:#273139;padding:10px 12px;margin:6px 0}.task-row-main{min-width:0;flex:1}.task-row strong,.task-row small{display:block}.task-row strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-row small{font-size:11px;color:#806b5e;margin-top:4px;line-height:1.35}.tomorrow-preview{border-top:1px solid #eee1d5;margin-top:13px;padding-top:12px}.all-day-due{background:#fff2e8;border-left:3px solid #b84d23;border-radius:12px;padding:12px;margin:0 0 15px}.all-day-due h2{font-size:14px;margin:0 0 7px}.all-day-due .task-row{background:#fffaf5}.task-actions{display:flex;flex-wrap:wrap;gap:5px;margin:17px 0}.task-actions .secondary{margin:0}.work-row{background:#fffdf9;padding:14px;border-radius:14px;margin:8px 0;display:flex;justify-content:space-between;align-items:center;gap:10px}.work-row strong,.work-row small{display:block}.work-row strong{font-size:13px}.work-row small{font-size:11px;color:#80898f;margin-top:5px}.work-row>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end}.work-row .plain-small{padding:5px}.timeline-grid{position:relative;margin-bottom:12px;border-left:1px solid #e7d6c6;margin-left:64px}.timeline-hour{position:absolute;left:-57px;right:0;border-top:1px dashed #eedfd0;color:#9c8e83;font-size:10px;pointer-events:none}.timeline-hour span{position:absolute;left:0;top:-7px;background:#fff9f2;padding-right:4px}.timeline-grid-card{position:absolute;left:24px;right:0;width:calc(100% - 24px);min-height:0;overflow:hidden;text-align:left;background:#fffdf9;border-left:4px solid #526c82;border-radius:5px 14px 14px 5px;box-shadow:0 2px 10px #674c2b18;padding:8px 11px;display:flex;flex-direction:column;justify-content:center;gap:3px;color:#283139;z-index:1}.timeline-grid-card strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-grid-card small{font-size:10px;color:#7a858b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-grid-card.goal,.timeline-grid-card.plan{border-left-color:#d6824e}.timeline-grid-card.done,.timeline-grid-card.cancelled,.timeline-grid-card.missed{opacity:.6}.deadline-marker{position:absolute;left:-63px;width:80px;min-height:24px;transform:translateY(-50%);z-index:3;background:#fff3e8;color:#a33c1b;border:1px solid #d7885f;border-radius:8px;padding:2px 5px;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:750}.deadline-marker i{width:7px;height:7px;border-radius:50%;background:#b84d23;flex:none}.deadline-marker b{font-size:10px}.timeline-now{position:absolute;left:-5px;right:0;border-top:1px solid #c86639;z-index:2;pointer-events:none}.timeline-now span{position:absolute;right:0;top:-11px;color:#b84d23;font-size:10px;background:#fff9f2;padding-left:5px}.actual-minutes-input{width:108px;min-height:34px;border:1px solid #e7d9ca;border-radius:9px;background:#fff9f2;padding:5px 7px;font-size:11px}.today-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;height:clamp(350px,calc(100dvh - 355px),900px);min-width:0}.today-tasks-pane,.today-time-pane{min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;background:#fffdf9;border:1px solid #efdfcf;border-radius:16px;padding:9px 7px;scrollbar-width:thin}.today-split h2{font-size:14px;margin:2px 0 9px;line-height:1.3}.today-split h2 span{color:#b84d23}.today-tasks-pane .task-row{background:#fff8f0;padding:5px;gap:2px;align-items:stretch}.today-tasks-pane .task-row-main{padding:4px 0}.today-tasks-pane .task-row strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:1.3}.today-tasks-pane .task-row small{font-size:11px;line-height:1.35;white-space:normal}.task-row-main{flex:1;min-width:0;text-align:left;background:transparent;color:inherit;padding:0;min-height:44px}.task-complete{width:44px;min-width:44px;min-height:44px;align-self:center;border:1px solid #c3d6c3;border-radius:50%;color:#436547;background:#f3f8f0;display:grid;place-items:center}.task-complete:active{background:#dcebdc}.today-time-pane .timeline-grid{margin-left:38px}.today-time-pane .timeline-hour{left:-37px;font-size:10px}.today-time-pane .timeline-grid-card{left:18px;right:0;width:calc(100% - 18px);padding:3px 4px;border-radius:4px 9px 9px 4px}.today-time-pane .timeline-grid-card strong{font-size:12px;line-height:1.2;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.today-time-pane .timeline-grid-card small{font-size:10px;white-space:normal;line-height:1.2}.today-time-pane .deadline-marker{left:-39px;width:43px;min-height:44px;padding:2px;justify-content:center;gap:1px;font-size:10px;flex-direction:column;border-radius:8px}.today-time-pane .deadline-marker i{display:none}.today-time-pane .deadline-marker b{font-size:9px}.time-gap{position:absolute;left:0;right:0;text-align:center;font-size:10px;color:#8b9196;border-top:1px dashed #e3d6c9;pointer-events:none}.day-due-count{font-size:11px;color:#a34725;margin:0 0 6px}.today-reminder{font-size:12px;color:#7a838b;margin:11px 2px 0;line-height:1.4}.quick-actions{margin-bottom:10px}.quick-actions button{height:58px;border-radius:15px;gap:3px}.section-head{margin-bottom:12px}.screen-footer{position:relative;z-index:2}.full-screen{height:var(--visual-height,100dvh);inset:0 0 auto}.sheet-backdrop{height:var(--visual-height,100dvh);bottom:auto}.idea-sheet{max-height:calc(var(--visual-height,100dvh) - 20px);overflow:auto}.due-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 4px}.due-pickers button{min-width:0;min-height:50px;border:1px solid #e5d9cd;border-radius:12px;background:#fffdf9;color:#39454f;display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px}.due-pickers button.chosen{background:#fff0e3;border-color:#d49a72;color:#9b421d}.advanced-panel{border-top:1px solid #eaddd0;margin:20px 0;padding:15px 0}.advanced-panel summary{font-weight:700;color:#39454f;cursor:pointer;min-height:44px;padding:10px 0}.weekday-picker{border:0;padding:0;margin:15px 0}.weekday-picker legend{font-size:12px;font-weight:650;color:#667079}.weekday-picker button{min-width:43px;min-height:43px;border-radius:10px;background:#fffdf9;color:#58636d;margin:4px 4px 0 0;border:1px solid #eadacb}.weekday-picker button.chosen{background:#b84d23;color:#fff}.week-day small{font-size:11px;white-space:normal;line-height:1.15}.week-due{margin:18px 0}.week-due summary{padding:10px 0;color:#a34725;font-weight:700}.top-actions .icon-button,.screen-top .icon-button{min-width:44px;min-height:44px}.today-time-pane .empty{padding:30px 3px;font-size:11px}@media(max-width:390px){.week-day small{font-size:11px}.today-split{gap:6px}.today-tasks-pane,.today-time-pane{padding:8px 5px}}.update-banner{position:fixed;z-index:6;left:50%;bottom:88px;transform:translate(-50%);width:min(calc(100% - 28px),560px);min-height:44px;border-radius:12px;background:#354653;color:#fff;box-shadow:0 5px 18px #0003;font-size:13px;font-weight:650}.due-pickers label{margin:0!important;min-width:0;display:flex!important;align-items:center;flex-wrap:wrap;gap:4px}.due-pickers label input{font-size:13px;min-width:0}.due-pickers label input:disabled{opacity:.55}
