@font-face{font-family:Weekly;src:url('heading.ttf') format('truetype');font-weight:900;font-display:swap}
:root{color-scheme:light;--paper:#dededb;--ink:#30312f;--muted:#666762;--line:#b2b3ae;--accent:#df622b;--outside:#d0d1cd}
:root[data-theme=dark]{color-scheme:dark;--paper:#292a28;--ink:#e2e2dd;--muted:#a1a29b;--line:#50514d;--accent:#ec753d;--outside:#222321}
*{box-sizing:border-box}body{margin:0;background:var(--outside);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}button,input{font:inherit;color:inherit}button{cursor:pointer}button,input{border:0;background:none}button{touch-action:manipulation}button:focus-visible{outline:1px solid var(--muted);outline-offset:-3px}input:focus-visible{outline:none;box-shadow:0 1px 0 var(--muted)}::selection{background:var(--accent);color:var(--paper)}input{caret-color:var(--accent)}*{scrollbar-width:thin;scrollbar-color:var(--line) var(--paper)}
.planner{width:100%;max-width:410px;min-height:100dvh;margin:0 auto;background:var(--paper)}
.toolbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:16px 34px 0;gap:10px}.weeks{display:flex;align-items:center;gap:0}#week{font-size:12px;font-variant-numeric:tabular-nums;min-width:115px;padding:12px 0}.icon{width:36px;height:40px;display:grid;place-items:center;padding:9px}.icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon:hover,#week:hover{color:var(--accent)}.sun{display:none}:root[data-theme=dark] .sun{display:block}:root[data-theme=dark] .moon{display:none}
.day{border-bottom:1px solid var(--line)}.day:last-child{border-bottom:0}.day-heading{margin:0}.day-toggle{display:block;width:100%;text-align:left;padding:32px 48px;line-height:1.08;font-size:38px;letter-spacing:-1.05px;font-family:Weekly,'Arial Narrow',Arial,sans-serif;font-weight:900}.day-toggle:hover{color:var(--muted)}.day.open .day-toggle{padding-bottom:6px;padding-top:13px}.day.open:not(:first-child) .day-toggle{padding-top:30px}.day-body{padding:0 48px 20px;min-height:275px;display:flex;flex-direction:column}.day-body[hidden]{display:none}.date{color:var(--muted);font-size:12px;margin:0 0 12px;line-height:1.5}.tasks{list-style:none;padding:0;margin:0 0 22px}.task{display:flex;align-items:center;gap:7px;position:relative;min-height:26px}.task-check{appearance:none;-webkit-appearance:none;flex:0 0 16px;width:16px;height:16px;margin:0;border:1px solid var(--muted);border-radius:1px;cursor:pointer;position:relative}.task-check:checked{background:var(--accent);border-color:var(--accent)}.task-check:checked:after{content:'';position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid var(--paper);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.task-text{width:100%;min-width:0;padding:4px 0;font-size:14px;line-height:19px}.task.done .task-text{text-decoration:line-through;color:var(--muted);text-decoration-color:var(--accent)}.delete{flex:0 0 24px;width:24px;height:26px;padding:5px;opacity:0;color:var(--muted)}.delete svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.2}.task:hover .delete,.task:focus-within .delete{opacity:1}.delete:hover{color:var(--accent)}.add-form{margin-top:auto;display:flex;align-items:center;gap:6px}.add-input{padding:9px 0;min-width:0;width:100%;font-size:14px;height:38px}.add-input::placeholder{color:var(--muted);opacity:1}.add-button{padding:8px 0 8px 8px;color:var(--muted);font-size:12px}.add-button:disabled{visibility:hidden}.add-button:hover{color:var(--accent)}footer{padding:26px 48px 32px;font-size:11px;color:var(--muted)}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:30px;min-width:250px;padding:14px 18px;font-size:13px;box-shadow:0 6px 24px #0002}#notice[hidden]{display:none}#undo{color:var(--paper);text-decoration:underline;text-underline-offset:3px}
@media(min-width:600px){.planner{margin:40px auto;min-height:calc(100dvh - 80px);border-radius:44px;overflow:hidden;box-shadow:0 24px 45px #00000012}.toolbar{height:88px}body{padding:0 16px}}
@media(max-width:359px){.day-toggle{padding-left:32px;padding-right:32px;font-size:35px}.day-body{padding-left:32px;padding-right:32px}.toolbar{padding-left:18px;padding-right:18px}footer{padding-left:32px}}
@media(hover:none){.delete{opacity:.7}}
/* Refined direction approved by Georges: quieter type and tighter rhythm. */
:root{--paper:#e7e7e2;--ink:#30322f;--muted:#666861;--line:#c0c2ba;--outside:#d7d8d1}
:root[data-theme=dark]{--paper:#272925;--ink:#e5e6df;--muted:#a3a69a;--line:#484b42;--outside:#20221e}
.planner{max-width:400px}.toolbar{height:72px;padding:8px 26px 0}.day-toggle{padding:24px 36px;font-size:32px;letter-spacing:-.85px;line-height:1.12}.day.open .day-toggle{padding-top:18px;padding-bottom:8px}.day.open:not(:first-child) .day-toggle{padding-top:24px}.day-body{padding:0 36px 17px;min-height:222px}.date{margin-bottom:16px}.task{min-height:29px}.task-text{font-size:14px}.tasks{margin-bottom:20px}footer{padding:24px 36px;font-size:10px}.day-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}.day-number{font:12px Arial,sans-serif;letter-spacing:0;color:var(--muted);font-variant-numeric:tabular-nums}.open .day-number{visibility:hidden}
@media(min-width:600px){.planner{margin:32px auto;border-radius:28px;min-height:calc(100dvh - 64px)}.toolbar{height:72px}}
@media(max-width:359px){.day-toggle{font-size:29px;padding-left:28px;padding-right:28px}.day-body{padding-left:28px;padding-right:28px}.toolbar{padding-left:18px;padding-right:18px}footer{padding-left:28px}}

@media(hover:none) and (pointer:coarse){.task-text,.add-input{font-size:16px}}
/* Interactive phone presentation. */
body{min-height:100dvh;display:grid;place-items:center;padding:28px 20px;background:var(--outside)}
.device{position:relative;width:min(390px,calc(100vw - 40px));height:min(844px,calc(100dvh - 56px));min-height:460px;border:9px solid #1c1d1c;border-radius:56px;background:var(--paper);box-shadow:0 0 0 1px #72746e,0 0 0 3px #373936,0 25px 50px #0003}
.device:before{content:'';position:absolute;left:-13px;top:145px;width:3px;height:58px;border-radius:2px;background:#444640;box-shadow:0 70px #444640}.device:after{content:'';position:absolute;right:-13px;top:192px;width:3px;height:84px;border-radius:2px;background:#444640}
.screen{height:100%;overflow-y:auto;overflow-x:hidden;border-radius:46px;scrollbar-width:none;overscroll-behavior:contain}.screen::-webkit-scrollbar{display:none}
.statusbar{height:51px;position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:var(--paper);padding:0 26px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.statusbar svg{width:58px;height:14px}.island{position:absolute;left:50%;top:10px;transform:translateX(-50%);width:108px;height:29px;background:#11120f;border-radius:20px}.island:after{content:'';position:absolute;right:10px;top:10px;width:8px;height:8px;border-radius:50%;background:#1b211e}
.planner{width:100%;max-width:none;min-height:0;margin:0;border-radius:0;box-shadow:none}.toolbar{height:52px;padding-top:0}.home-indicator{pointer-events:none;position:absolute;bottom:9px;left:50%;transform:translateX(-50%);width:112px;height:4px;border-radius:3px;background:var(--ink);z-index:3}.planner footer{padding-bottom:34px}
@media(max-width:420px){body{padding:18px 14px}.device{width:calc(100vw - 28px);height:calc(100dvh - 36px);border-width:8px;border-radius:50px}.screen{border-radius:42px}.day-toggle{font-size:30px;padding-left:30px;padding-right:30px}.day-body{padding-left:30px;padding-right:30px}.statusbar{padding:0 24px}}
@media(max-height:540px){body{display:block}.device{margin:auto;height:600px;min-height:0}}
.wordmark{padding:12px 36px 4px;display:flex;align-items:baseline;gap:4px;font-size:17px;font-weight:600;letter-spacing:-.5px}.brand-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);display:block;flex-shrink:0}.wordmark+.toolbar{height:49px}
@media(max-width:420px){.wordmark{padding-left:30px;padding-right:30px}}

.brand-caption{margin-left:auto;font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}
.icon .nine-dots{fill:currentColor;stroke:none;width:18px;height:18px}.settings-layer{position:absolute;inset:0;z-index:5;overflow:hidden;border-radius:46px}.settings-layer[hidden]{display:none}.settings-backdrop{position:absolute;inset:0;background:#0007}.settings-panel{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;background:var(--paper);padding:26px 30px 35px;border-radius:25px 25px 0 0;box-shadow:0 -8px 32px #0002}.settings-head{display:flex;align-items:center;justify-content:space-between}.settings-head h2{display:flex;align-items:baseline;gap:4px;margin:0;font-size:23px;letter-spacing:-.6px;font-weight:600}.settings-head .icon{margin-right:-8px}.settings-subtitle{font-size:12px;color:var(--muted);margin:0 0 29px}.settings-section{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.settings-section h3{margin:0 0 12px;font-size:12px;font-weight:600}.settings-section p{font-size:14px;line-height:1.65;margin:0 0 12px}.theme-options{display:flex;border:1px solid var(--line);border-radius:7px;padding:3px;gap:3px}.theme-options button{flex:1;padding:10px;font-size:13px;border-radius:4px;color:var(--muted)}.theme-options button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.storage-note{font-size:11px;line-height:1.6;color:var(--muted);margin:24px 0 0}.settings-layer~.home-indicator{z-index:6}
/* Palette sampled from weekstack.io: #d7d7d7, #424242, #f25606. */
:root{--paper:#d7d7d7;--ink:#424242;--muted:#626262;--line:#b2b2b2;--accent:#f25606;--outside:#c9c9c9}
:root[data-theme=dark]{--paper:#292929;--ink:#d7d7d7;--muted:#a6a6a6;--line:#4c4c4c;--accent:#f25606;--outside:#202020}
.device{border-color:#1c1c1c;box-shadow:0 0 0 1px #727272,0 0 0 3px #373737,0 25px 50px #0003}.device:before{background:#444;box-shadow:0 70px #444}.device:after{background:#444}.island{background:#111}.island:after{background:#1b1d20}
/* Stepped day surfaces: sampled reference greys, extended through Sunday. */
:root[data-theme=light]{--paper:#d9d9d9}
.day{background:var(--day-paper);border-bottom-color:color-mix(in srgb,var(--day-paper),var(--ink) 10%)}
:root[data-theme=light] .day{--muted:#393939}
:root[data-theme=light] .day:nth-child(1){--day-paper:#d9d9d9}
:root[data-theme=light] .day:nth-child(2){--day-paper:#d1d1d1}
:root[data-theme=light] .day:nth-child(3){--day-paper:#cacaca}
:root[data-theme=light] .day:nth-child(4){--day-paper:#c4c4c4}
:root[data-theme=light] .day:nth-child(5){--day-paper:#b2b2b2}
:root[data-theme=light] .day:nth-child(6){--day-paper:#acacac;--ink:#393939}
:root[data-theme=light] .day:nth-child(7){--day-paper:#a6a6a6;--ink:#393939}
:root[data-theme=dark]{--paper:#353535}
:root[data-theme=dark] .day:nth-child(1){--day-paper:#353535}
:root[data-theme=dark] .day:nth-child(2){--day-paper:#303030}
:root[data-theme=dark] .day:nth-child(3){--day-paper:#2b2b2b}
:root[data-theme=dark] .day:nth-child(4){--day-paper:#262626}
:root[data-theme=dark] .day:nth-child(5){--day-paper:#212121}
:root[data-theme=dark] .day:nth-child(6){--day-paper:#1c1c1c}
:root[data-theme=dark] .day:nth-child(7){--day-paper:#171717}
/* Installed iPhone app: use the real screen and system status bar. */
.native-app body{display:block;padding:0;background:var(--paper);min-height:100dvh}
.native-app .device{width:100%;height:100dvh;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none}
.native-app .device:before,.native-app .device:after,.native-app .statusbar,.native-app .home-indicator{display:none}
.native-app .screen{border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.native-app .settings-layer{border-radius:0}.native-app .settings-panel{padding-bottom:max(30px,env(safe-area-inset-bottom));max-height:calc(100% - env(safe-area-inset-top))}
.native-app .wordmark{padding-top:20px}.native-app .task-text,.native-app .add-input{font-size:16px}
/* More breathing room below the name; the final day reaches the bottom. */
.wordmark+.toolbar{margin-top:22px}
:root{--last-day:#a6a6a6}:root[data-theme=dark]{--last-day:#171717}
.screen{background:var(--last-day)}
.planner footer{height:0;padding:0;overflow:hidden;position:absolute;width:1px;clip-path:inset(50%)}
.native-app .screen{padding-bottom:0}
.day:last-child{padding-bottom:env(safe-area-inset-bottom)}

body{background:transparent!important;padding:14px!important;min-height:0!important}.device{width:390px!important;height:844px!important;margin:0!important}.screen{scrollbar-width:none}.statusbar{position:relative}.day-toggle:focus-visible{outline:1px solid var(--muted);outline-offset:-5px}
html{background:#d9d9d9!important}
