@font-face{font-family:Quicksand;src:url('./assets/fonts/Quicksand-Variable.ttf') format('truetype');font-style:normal;font-weight:300 700;font-display:swap}
:root{font-family:Quicksand,sans-serif;font-size:16px;font-synthesis:none;color-scheme:light;--bg:#fcfcfa;--surface:#fff;--ink:#1c1d23;--muted:#81818f;--line:#ededf0;--accent:#1c1d23;--soft:#f3f1fa;--lavender:#ece7ff;--lime:#e1efb9;--lime-ink:#344024;--hover:#f2f2f4;--nav:#ffffffeb;--shadow:0 20px 90px #17182421;--visible-height:100dvh}
:root[data-theme=dark]{color-scheme:dark;--bg:#17181c;--surface:#202126;--ink:#f2f1f5;--muted:#a3a1b1;--line:#34343d;--accent:#f2f1f5;--soft:#292733;--lavender:#393345;--lime:#39452a;--lime-ink:#e1edc5;--hover:#2b2c33;--nav:#202126ed;--shadow:0 20px 90px #0005}
*{box-sizing:border-box;min-width:0}html{background:var(--bg);-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.5;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer;padding:0;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}a{text-decoration:none;color:inherit}button,a{transition:background .18s,color .18s,transform .18s}button:active{transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}h1,h2,h3,p{margin:0}svg.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:980px;margin:auto;padding:0 40px calc(130px + env(safe-area-inset-bottom))}.brand-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:48px 0 34px}.header-copy h1{font-size:28px;font-weight:700;letter-spacing:-1.2px;line-height:1.25}.header-copy p{font-size:12px;color:var(--muted);margin-top:5px}.greeting-sun{color:#f7a777;display:inline-flex;vertical-align:middle;margin-left:3px}.greeting-sun .icon{width:20px;height:20px}.header-actions{display:flex;gap:12px;align-items:center}.icon-button,.add-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-button:hover{background:var(--hover)}.settings-button{background:var(--lavender)}.add-button{background:var(--ink);color:var(--surface)}.add-button .icon{width:23px;height:23px}.week-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;font-size:12px;color:var(--muted);text-transform:capitalize}.week-caption>div{display:flex;align-items:center;gap:1px}.week-caption .icon-button{width:32px;height:36px}.week-caption .icon{width:15px;height:15px}.text-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:12px;font-weight:600}.week-caption .text-action{padding:0 9px;min-height:36px}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.week-date{border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0 7px;min-height:72px;gap:1px}.week-date>span{font-size:10px;text-transform:capitalize;color:var(--muted)}.week-date strong{font-size:18px;font-weight:600;line-height:1.5}.week-date i{width:3px;height:3px;border-radius:50%;background:transparent}.week-date.is-today i{background:var(--ink)}.week-date.selected{background:var(--ink);color:var(--surface);box-shadow:0 4px 12px #1212210d}.week-date.selected>span{color:var(--surface)}.week-date.selected i{background:var(--surface)}.day-summary{background:var(--lime);color:var(--lime-ink);border-radius:22px;padding:22px 24px;display:grid;grid-template-columns:1fr auto;gap:17px;margin-top:26px}.summary-label{display:block;font-size:9px;letter-spacing:1.5px;font-weight:700;opacity:.65;margin-bottom:7px}.day-summary h1{font-size:23px;font-weight:700;letter-spacing:-.8px;line-height:1.2}.day-summary p{font-size:12px;margin-top:6px;opacity:.75}.summary-percent{font-size:32px;letter-spacing:-1.5px;font-weight:600;align-self:center;line-height:1}.summary-percent small{font-size:12px;letter-spacing:0;margin-left:2px}.progress-line{grid-column:1/-1;height:4px;background:#78894d36;border-radius:8px;overflow:hidden}.progress-line>span{display:block;height:100%;background:#6a8844;border-radius:8px;transition:width .25s}.today-layout{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;min-height:38px}.section-heading h2{font-size:18px;font-weight:700;letter-spacing:-.5px}.small-caption{font-size:11px;color:var(--muted);font-weight:500}.task-row{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:center;gap:14px;min-height:81px;padding:14px 0;border-bottom:1px solid var(--line)}.task-start,.task-finished{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--lavender);color:var(--ink)}.task-row:nth-of-type(3n+2) .task-start{background:#dcecef}.task-row:nth-of-type(3n) .task-start{background:#f5e0ef}:root[data-theme=dark] .task-row:nth-of-type(3n+2) .task-start{background:#294347}:root[data-theme=dark] .task-row:nth-of-type(3n) .task-start{background:#493044}.task-start .icon{height:14px;width:14px;fill:currentColor;stroke-width:1.2}.task-active .task-start{background:var(--lime)}.task-title{font-size:15px;text-align:left;font-weight:600;line-height:1.45;display:block;overflow-wrap:anywhere;letter-spacing:-.25px}.task-date{font-size:11px;color:var(--muted);margin-top:4px;display:block}.task-check{position:relative;width:25px;height:25px;border:1.5px solid #d0ced9;border-radius:50%;display:flex;align-items:center;justify-content:center;justify-self:end}.task-check:before{content:'';position:absolute;inset:-10px}.task-check .icon{width:15px;height:15px}.task-check:hover{background:var(--lime);border-color:transparent}.is-done .task-check{background:var(--lime);color:var(--lime-ink);border-color:transparent}.is-done .task-title{color:var(--muted);text-decoration:line-through}.task-finished{background:var(--soft);color:var(--muted)}.task-finished .icon{width:16px;height:16px}.list-label{font-size:10px;font-weight:600;color:var(--muted);letter-spacing:.4px;margin:24px 0 4px}.quick-add{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:1px solid var(--line);border-radius:28px;font-size:13px;font-weight:600;min-height:50px;margin-top:22px;background:var(--surface)}.quick-add .icon{width:17px;height:17px}.quick-add:hover{background:var(--lavender)}.empty-state{padding:24px 0 20px;font-size:12px;line-height:1.7;color:var(--muted);max-width:360px}.empty-title{color:var(--ink);font-size:18px;font-weight:600;letter-spacing:-.5px;margin-bottom:6px}.completed-list{margin-top:24px}.completed-list summary{cursor:pointer;font-size:12px;color:var(--muted);padding:12px 0;min-height:44px}.completed-list summary span{margin-left:7px}.now-section{margin:0 0 25px;background:var(--soft);padding:19px 21px;border-radius:21px}.section-label{display:flex;justify-content:space-between;font-size:11px;font-weight:600}.section-label>span:first-child{display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;border-radius:50%;background:var(--ink);display:inline-block}.now-section h2{font-size:18px;font-weight:600;margin-top:13px;overflow-wrap:anywhere;letter-spacing:-.5px}.focus-inline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:15px}.now-clock{font-size:32px;letter-spacing:-1px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1}.clock-caption{font-size:9px;color:var(--muted);margin-top:4px}.now-actions{display:flex;gap:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:28px;min-height:50px;padding:13px 23px;font-size:14px;font-weight:700;text-align:center}.primary{background:var(--ink);color:var(--surface)}.secondary{background:var(--surface);border:1px solid var(--line)}.subtle{color:var(--muted)}.now-actions .button{min-height:40px;padding:10px 13px;font-size:11px}.accent{color:var(--ink)}.muted{color:var(--muted)}.bottom-nav{position:fixed;z-index:5;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:90px;background:var(--nav);border-top:1px solid var(--line);backdrop-filter:blur(18px);padding:12px 20px calc(13px + env(safe-area-inset-bottom))}.nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:88px;min-height:54px;border-radius:19px;font-size:10px;color:var(--muted);font-weight:600}.nav-link .icon{width:21px;height:21px}.nav-link.active{background:var(--lavender);color:var(--ink)}.active-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:15px;border-radius:18px;background:var(--soft);font-size:11px;margin-bottom:20px}.active-strip>span:first-child{display:flex;align-items:center;gap:7px;max-width:55%;overflow-wrap:anywhere}.active-strip>span:last-child{display:flex;align-items:center;gap:5px}.active-strip .icon{width:15px;height:15px}.active-strip strong{font-variant-numeric:tabular-nums;white-space:nowrap}
/* The existing calendar stays functional while its new behavior is reserved for phase 2. */
.page-heading{display:none}.calendar-section{max-width:760px;margin:auto}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.calendar-toolbar h2{font-size:20px;letter-spacing:-.7px;text-transform:capitalize}.calendar-controls{display:flex;align-items:center;gap:5px}.calendar-mode{display:flex;gap:6px;margin:15px 0 23px}.calendar-mode button{font-size:12px;padding:8px 17px;border-radius:23px;min-height:38px;color:var(--muted)}.calendar-mode [aria-pressed=true]{color:var(--ink);background:var(--lavender)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.weekday{font-size:10px;color:var(--muted);padding-bottom:10px}.calendar-day{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:48px;padding:5px 0}.calendar-day>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:15px;font-weight:600}.calendar-day.selected>span{color:var(--surface);background:var(--ink)}.calendar-day.outside{opacity:.4}.calendar-day i{width:4px;height:4px;border-radius:50%;background:transparent}.calendar-day .has-items{background:#b5a2ef}.month-grid{gap:2px}.day-heading{margin:25px 0 9px;padding-top:20px;border-top:1px solid var(--line)}.day-heading h2{font-size:15px}.event-row{display:flex;align-items:center;gap:13px;width:100%;text-align:left;margin:8px 0;padding:15px;border-radius:15px;background:var(--soft);border-left:4px solid #c6b4f6}.event-time{font-size:11px;min-width:65px;font-weight:600}.event-row strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.event-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.event-row>.icon{width:15px;margin-left:auto;color:var(--muted)}
.sheet{border:1px solid var(--line);border-radius:30px;background:var(--surface);color:var(--ink);width:min(490px,calc(100% - 40px));padding:0;max-height:calc(100dvh - 50px);box-shadow:var(--shadow);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:20px}.sheet:before{content:'';display:block;width:39px;height:4px;border-radius:5px;background:var(--line);margin:10px auto 0}.sheet::backdrop{background:#17182438;backdrop-filter:blur(7px)}.sheet[open]{animation:arrive .2s ease-out}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 25px 0}.sheet-heading h2{font-size:24px;font-weight:700;letter-spacing:-.9px;line-height:1.3;overflow-wrap:anywhere}.sheet-heading .icon-button{width:36px;height:36px;background:var(--hover)}.sheet-heading .icon{width:17px;height:17px}.sheet-body{padding:23px 25px 27px}.date-choices{display:grid;grid-template-columns:70px 82px minmax(0,1fr);gap:7px;align-items:start}.date-choices>button{min-height:43px;border-radius:24px;background:var(--hover);font-size:12px;font-weight:600}.date-choices [aria-pressed=true]{background:var(--ink);color:var(--surface)}.other-date{position:relative;display:flex;align-items:center;gap:4px;min-height:43px;border:1px solid var(--line);border-radius:23px;padding:4px 10px;background:var(--surface)}.other-date>span{position:absolute;top:-9px;left:12px;padding:0 4px;background:var(--surface);font-size:9px;color:var(--muted)}.other-date input{max-width:100%;width:100%;min-width:0;font-size:11px;min-height:32px;border:0;background:transparent;color:var(--ink);-webkit-text-fill-color:var(--ink);padding:0;appearance:none;-webkit-appearance:none}.other-date.chosen{border-color:var(--ink)}.capture-date{font-size:10px;color:var(--muted);margin:8px 0 23px;min-height:15px;text-transform:capitalize}.form-field{display:flex;flex-direction:column;gap:9px;min-width:0}.form-field>span{font-size:12px;font-weight:500;color:var(--muted)}.form-field>span small{font-size:11px}.form-field input,.form-field textarea{width:100%;max-width:100%;min-width:0;min-height:50px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);-webkit-text-fill-color:var(--ink);padding:14px 15px;font-size:16px;line-height:1.4}.form-field input::placeholder,.form-field textarea::placeholder{font-size:13px;color:var(--muted);-webkit-text-fill-color:var(--muted);opacity:.8}.form-field input:is([type=date],[type=time]){appearance:none;-webkit-appearance:none;text-align:left}.form-field input::-webkit-date-and-time-value,.other-date input::-webkit-date-and-time-value{text-align:left;min-height:1.4em}.form-field small{font-size:10px;color:var(--muted)}.note-field{margin-top:24px}.note-field textarea{min-height:110px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.span-all{grid-column:1/-1}.form-actions{display:flex;gap:12px;justify-content:space-between;margin-top:25px;flex-wrap:wrap}.form-actions .button{flex:1}.capture-submit{position:sticky;bottom:-1px;background:var(--surface);padding:14px 0 2px;margin-top:21px}.capture-submit .primary{width:100%;min-height:52px}.delete-task{display:block;margin:17px auto 0;font-size:12px;color:#ce535d;min-height:44px}.form-error{font-size:12px;line-height:1.6}.form-error:not(:empty){padding:12px;border:1px solid var(--line);border-radius:12px;margin-top:12px}.sheet-intro,.muted-copy{color:var(--muted);font-size:13px;line-height:1.7}.settings-caption{font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:14px}.theme-choices{display:flex;gap:7px}.theme-choices button{flex:1;border:1px solid var(--line);border-radius:18px;min-height:60px;font-size:13px;color:var(--muted)}.theme-choices [aria-pressed=true]{background:var(--lavender);border-color:var(--lavender);color:var(--ink)}.settings-links{margin-top:25px}.settings-links>button{width:100%;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;font-size:13px;border-bottom:1px solid var(--line)}.settings-links span{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.settings-links .icon{width:14px}.settings-footnote{font-size:10px;color:var(--muted);line-height:1.8;margin-top:28px}.summary-time{font-size:55px;font-weight:600;letter-spacing:-2px;line-height:1.3;margin-top:18px}.session-task{font-size:18px;overflow-wrap:anywhere}.summary-question{font-size:15px;margin:25px 0 16px}.finish-options,.backup-actions{display:grid;gap:12px}.backup-actions{margin:25px 0}.import-label{position:relative;overflow:hidden;cursor:pointer}.import-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.backup-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:23px 0;font-size:12px}.check-field{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.7;margin-top:22px}.check-field input{accent-color:var(--ink);width:18px;height:18px;flex-shrink:0;margin:2px 0}.session-list article,.trash-list article{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:20px;border-bottom:1px solid var(--line);font-size:13px}.session-list strong{font-weight:600;overflow-wrap:anywhere}.session-list small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.session-list article>span{white-space:nowrap}.trash-list article>span{overflow-wrap:anywhere}.toast{position:fixed;z-index:20;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:15px;max-width:calc(100% - 32px);width:max-content;background:var(--ink);color:var(--surface);padding:13px 19px;border-radius:19px;font-size:12px;box-shadow:0 5px 20px #0002}.toast[hidden]{display:none}.toast button{font-weight:700;min-height:32px;color:inherit;text-decoration:underline}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;top:10px;left:10px;padding:10px;background:var(--surface);z-index:100}.app-start{padding:60px 0;color:var(--muted);font-size:13px}body.modal-open{overflow:hidden}.no-script{padding:40px}@keyframes arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(min-width:760px){body[data-route=hoy] main{display:grid;grid-template-columns:310px minmax(0,1fr);column-gap:55px;align-items:start}.week-section{grid-column:1}.day-summary{grid-column:1;margin-top:24px}.today-layout{grid-column:2;grid-row:1/span 3;margin-top:0}.brand-bar{margin-bottom:17px}.day-summary{padding:23px 21px}.day-summary h1{font-size:22px}.summary-percent{font-size:27px}.week-strip{gap:3px}.week-date{min-height:68px;border-radius:17px}}
@media(max-width:759px){.app-shell{max-width:540px;padding:0 23px calc(120px + env(safe-area-inset-bottom))}.brand-bar{padding:calc(28px + env(safe-area-inset-top)) 0 22px;gap:10px}.header-copy h1{font-size:23px;letter-spacing:-.9px}.header-copy p{font-size:11px;line-height:1.5}.header-actions{gap:9px}.add-button,.settings-button{width:38px;height:38px}.settings-button .icon{width:19px;height:19px}.greeting-sun .icon{width:17px;height:17px}.week-strip{gap:5px}.week-caption{margin-bottom:9px;font-size:10px}.week-date{min-height:67px;border-radius:18px}.week-date strong{font-size:17px}.week-date>span{font-size:10px}.day-summary{padding:20px;border-radius:20px;margin-top:22px;gap:15px}.day-summary h1{font-size:22px}.summary-percent{font-size:30px}.summary-label{font-size:8px;letter-spacing:1.3px}.day-summary p{font-size:11px}.today-layout{margin-top:25px}.task-row{min-height:80px;gap:12px}.task-title{font-size:14px}.section-heading h2{font-size:17px}.bottom-nav{justify-content:space-around;gap:25px;padding-top:10px;padding-bottom:calc(11px + env(safe-area-inset-bottom))}.nav-link{min-height:52px;min-width:82px;border-radius:18px}.nav-link .icon{width:20px;height:20px}.sheet{position:fixed;top:auto;bottom:var(--keyboard-bottom,0px);margin:0 auto;width:100%;max-width:540px;max-height:calc(var(--visible-height) - 14px - env(safe-area-inset-top));border-radius:30px 30px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.sheet-heading{padding:21px 24px 0}.sheet-heading h2{font-size:24px}.sheet-body{padding:23px 24px 25px}.form-grid{grid-template-columns:minmax(0,1fr)}.calendar-toolbar h2{font-size:18px}.calendar-controls{gap:0}.calendar-controls .icon-button{width:33px}.calendar-day>span{width:34px;height:34px}.calendar-grid{gap:2px}.active-strip>span:last-child{font-size:0}.active-strip>span:first-child{max-width:65%}}
@media(max-width:360px){.app-shell{padding-inline:19px}.header-copy h1{font-size:21px}.header-copy p{font-size:10px}.header-actions{gap:6px}.add-button,.settings-button{width:35px;height:35px}.sheet-heading,.sheet-body{padding-inline:20px}.date-choices{grid-template-columns:61px 72px minmax(0,1fr);gap:5px}.other-date{padding-inline:6px}.other-date input{font-size:10px}.focus-inline{flex-wrap:wrap}.now-actions{width:100%}.now-actions .button{flex:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Route changes focus this non-interactive landmark for assistive technology.
   Keep the existing focus-visible rings on interactive controls. */
#main:focus{outline:none}
/* Suppress double-tap zoom while retaining scrolling and pinch-to-zoom. */
html{touch-action:manipulation}
/* iOS must not magnify a small native input on focus. Do not cap viewport zoom. */
@media(max-width:759px){
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:max(16px,1em)}
 .other-date input{font-size:16px}
 .app-shell{padding-left:max(23px,env(safe-area-inset-left));padding-right:max(23px,env(safe-area-inset-right))}
 .bottom-nav{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
}
@media(max-width:360px){.app-shell{padding-left:max(19px,env(safe-area-inset-left));padding-right:max(19px,env(safe-area-inset-right))}}
/* Enfoque is a temporary full-screen surface, independent of the two main tabs. */
.focus-screen{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:calc(18px + env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) calc(25px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));color:#fff;background:radial-gradient(ellipse at 0 44%,#cad7d9a1,transparent 43%),radial-gradient(ellipse at 94% 15%,#6194b980,transparent 53%),linear-gradient(145deg,#7790a2 0%,#31536e 32%,#12324d 65%,#45657d 100%);overflow:auto;isolation:isolate;overscroll-behavior:contain}
.focus-screen[open]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:20px;animation:arrive .25s ease-out}.focus-screen::backdrop{background:#15344c}.focus-glass{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 15% 38%,#fce4b44d,transparent 18%),radial-gradient(ellipse at 72% 62%,#46abed33,transparent 32%)}.focus-glass:before{content:'';position:absolute;left:-25%;top:-51%;width:144%;height:120%;border-radius:48%;transform:rotate(-24deg);border:1px solid #dcf3ff7d;box-shadow:inset 10px -3px 17px #e4f3f844,inset 34px -3px 48px #84d9ff30,-6px 12px 12px #02192833;background:linear-gradient(117deg,transparent 40%,#e8ecdf38 47%,transparent 48%,#80b2c012 76%)}.focus-glass:after{content:'';position:absolute;right:-62%;top:-34%;width:130%;height:155%;border-radius:46%;transform:rotate(30deg);border:1px solid #9ccce76e;box-shadow:inset 18px -3px 35px #9cdaff24,-10px 0 16px #d8eff522;background:linear-gradient(80deg,#4383ae1c,transparent 25%,#ffffff17 50%,transparent 67%)}.focus-top{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:600px;flex-shrink:0}.focus-top>span:not(.focus-top-spacer){font-size:9px;letter-spacing:2.6px;font-weight:600;color:#e6eff5b3}.focus-top-spacer{width:44px}.focus-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #ffffff24;border-radius:50%;background:#ffffff22;backdrop-filter:blur(12px);color:#fff}.focus-icon .icon{width:19px;height:19px}.focus-task{text-align:center;max-width:550px;flex-shrink:0}.focus-task-symbol{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;margin:0 auto 16px;background:#cee6f11c;border:1px solid #e3f5ff17}.focus-task-symbol .icon{width:21px;height:21px}.focus-task h1{font-size:clamp(20px,5.5vw,29px);font-weight:650;letter-spacing:-.5px;line-height:1.35;overflow-wrap:anywhere}.focus-task p{font-size:12px;color:#dae6efbb;margin-top:7px}.focus-dial{position:relative;display:grid;place-items:center;width:min(80vw,350px,43dvh);aspect-ratio:1;flex-shrink:0}.focus-dial>svg{position:absolute;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);fill:none;stroke-width:9}.focus-track{stroke:#e8f3ff28}.focus-progress{stroke:#f5fbff;stroke-linecap:round;filter:drop-shadow(0 0 6px #dcf5ff33);transition:stroke-dashoffset .35s linear}.stopwatch .focus-progress{display:none}.stopwatch .focus-track{stroke-width:1;stroke:#e6f6ff55}.focus-clock-wrap{text-align:center;position:relative}.focus-clock{font-size:clamp(46px,14vw,72px);font-weight:650;letter-spacing:-2px;font-variant-numeric:tabular-nums;line-height:1.2;text-shadow:0 4px 24px #08253c45}.focus-state{font-size:12px;font-weight:500;color:#eaf3f5d9;margin-top:15px}.focus-footer{width:100%;flex-shrink:0}.focus-controls{display:flex;justify-content:center;gap:65px}.focus-control{color:white;font-size:11px;display:flex;align-items:center;gap:10px;flex-direction:column;min-width:68px;font-weight:600}.focus-control>span{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:#e5f1ff20;border:1px solid #e4f4ff1a;backdrop-filter:blur(14px)}.pause-control>span{color:#1a3349;background:#f7fbff;box-shadow:0 6px 25px #142e4b21}.focus-control .icon{width:23px;height:23px}.pause-control .icon{stroke-width:3}.finish-control .icon{fill:currentColor;stroke:none}.focus-footer>p{text-align:center;color:#e9f4fb70;font-size:10px;letter-spacing:1px;margin-top:27px}.focus-screen button:focus-visible{outline:2px solid white;outline-offset:5px}.focus-options{display:grid;gap:12px;margin-top:25px}.focus-durations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:26px 0 20px}.focus-durations .button{padding:16px 5px;flex-direction:column;gap:0;border-radius:20px;font-size:25px;min-height:86px}.focus-durations small{font-size:11px;font-weight:500;color:var(--muted)}.focus-return{margin-top:18px;min-height:44px;font-size:12px}.focus-return .icon{width:16px;height:16px}body.focus-open{overflow:hidden}
@media(max-height:650px){.focus-screen[open]{gap:13px}.focus-task-symbol{display:none}.focus-task h1{font-size:20px}.focus-task p{font-size:10px}.focus-footer>p{margin-top:14px}.focus-control>span{width:49px;height:49px}.focus-dial{width:min(70vw,300px,40dvh)}.focus-clock{font-size:48px}.focus-state{margin-top:9px;font-size:10px}}
@media(orientation:landscape) and (max-height:500px){.focus-screen[open]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto;gap:12px 35px}.focus-top{grid-column:1/-1;max-width:none}.focus-task{grid-column:1;grid-row:2}.focus-dial{grid-column:2;grid-row:2/span 2;width:min(48dvh,230px);justify-self:center}.focus-footer{grid-column:1;grid-row:3}.focus-clock{font-size:40px}.focus-state{font-size:10px}.focus-control>span{width:44px;height:44px}.focus-footer>p{display:none}}
/* Compact event form, without changing task capture or the main layouts. */
.event-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}.event-fields .form-field{gap:6px}.event-fields input,.event-fields select,.event-fields textarea{width:100%;max-width:100%;min-width:0;min-height:46px;border:1px solid var(--line);border-radius:20px;padding:11px 13px;background:var(--surface);color:var(--ink);font-size:16px;-webkit-text-fill-color:var(--ink)}.event-fields textarea{min-height:72px;border-radius:17px;resize:vertical}.event-help{font-size:10px;line-height:1.6;color:var(--muted);margin-top:13px}.event-reminder{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);background:var(--soft);padding:14px 17px;border-radius:18px;margin-bottom:20px;grid-column:1/-1}.event-reminder small{font-size:10px;color:var(--muted);display:block}.event-reminder strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.event-reminder .text-action{flex-shrink:0}select:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:360px){.event-fields{grid-template-columns:minmax(0,1fr)}}
/* Keep the app scale stable for touch; OS/browser accessibility zoom is untouched. */
html,body,dialog{touch-action:pan-x pan-y}
.task-swipe{position:relative;overflow:hidden;border-bottom:1px solid var(--line);touch-action:pan-y}.task-swipe .task-row{position:relative;z-index:1;background:var(--bg);border-bottom:0;transform:translateX(var(--swipe-x,0px));transition:transform 220ms cubic-bezier(.2,.85,.25,1.08);touch-action:pan-y}.task-swipe.is-dragging .task-row{transition:none;user-select:none;-webkit-user-select:none}.swipe-trash{position:absolute;top:50%;right:14px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#cd6974;color:#fff;border-radius:50%;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-50%) scale(.88);transition:opacity 200ms ease,transform 220ms cubic-bezier(.2,.85,.25,1.08),visibility 220ms}.swipe-trash .icon{width:20px;height:20px;stroke-width:1.5}.task-swipe:is(.is-open,.is-dragging) .swipe-trash{visibility:visible;pointer-events:auto;opacity:1;transform:translateY(-50%) scale(1)}.task-swipe:nth-child(3n+2 of .task-swipe) .task-start{background:#dcecef}.task-swipe:nth-child(3n of .task-swipe) .task-start{background:#f5e0ef}:root[data-theme=dark] .task-swipe:nth-child(3n+2 of .task-swipe) .task-start{background:#294347}:root[data-theme=dark] .task-swipe:nth-child(3n of .task-swipe) .task-start{background:#493044}
