.timer-entry{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:18px 0}.timer-entry>div{flex:1;min-width:220px}
.timer-modal{width:min(1120px,96vw);max-width:1120px;padding:24px;background:var(--paper)}
.timer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);margin-bottom:16px}.timer-toolbar>div{display:flex;gap:8px}
.timer-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:20px 0}.timer-children.timer-single{grid-template-columns:minmax(0,1fr);max-width:880px;margin-inline:auto}
.timer-child{min-width:0;--timer-color:var(--green);--timer-soft:var(--sage)}.timer-child.emelia{--timer-color:var(--emelia-ink,#8a4a34);--timer-soft:var(--emelia-soft,var(--peach))}.timer-child.briet{--timer-color:var(--briet-ink,#5d4a7a);--timer-soft:var(--briet-soft,var(--purple))}
.timer-child>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid var(--line)}.timer-child>header h2{font-size:20px}.timer-child>header>span{font-size:15px;font-weight:750;color:var(--timer-color)}
.timer-focus{text-align:center;display:grid;justify-items:center;align-items:center;gap:25px;padding:22px 8px 0}.timer-single .timer-focus{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:28px 14px 0}.timer-task-heading{min-width:0}.timer-symbol{font-size:58px;width:112px;height:112px;border-radius:32px;display:grid;place-items:center;background:var(--timer-soft);border:2px solid var(--timer-color);margin:0 auto 16px}.timer-focus h3{font-size:clamp(28px,3.5vw,42px);line-height:1.16;font-weight:850;overflow-wrap:anywhere}.timer-task-heading>p{color:var(--timer-color);font-size:14px;margin-top:10px}
.timer-clock-case{position:relative;width:min(100%,320px);padding:12px 10px 14px;background:var(--card);border:6px solid var(--sage);border-radius:40px;box-shadow:0 12px 22px #2b3a2f12,0 2px 3px #2b3a2f08}.timer-clock-case:before{content:'';position:absolute;top:-17px;left:calc(50% - 28px);width:56px;height:16px;background:var(--sun);border:2px solid #b58428;border-radius:15px 15px 0 0;z-index:-1}
.timer-dial{position:relative;isolation:isolate}.timer-face-art{width:100%;height:auto;display:block;overflow:visible}.timer-face-base{fill:var(--paper);stroke:var(--line);stroke-width:4}.timer-wedge{fill:var(--timer-color);opacity:.92}.timer-ticks{stroke:var(--muted);stroke-linecap:round;opacity:.3}.timer-hub{fill:var(--card);stroke:var(--line);stroke-width:3}.timer-hub-center{fill:var(--line)}.timer-dot{transition:r .2s,opacity .2s}.timer-dot-0{fill:#bf7457}.timer-dot-1{fill:var(--sun)}.timer-dot-2{fill:#9a86b4}.timer-dot-3{fill:var(--green)}.timer-dot.spent{fill:var(--muted);opacity:.18}.timer-smile{color:var(--ink)}.timer-cheeks{fill:#e4a689;opacity:.75}
.timer-digital{position:absolute;bottom:6%;left:50%;transform:translateX(-50%);font-size:36px;font-variant-numeric:tabular-nums;line-height:1.2;font-weight:900;letter-spacing:1px;padding:3px 16px;border:1px solid var(--line);border-radius:40px;background:var(--card);box-shadow:0 2px 4px #2b3a2f14;white-space:nowrap}.timer-dial.paused .timer-wedge,.timer-dial.paused .timer-dot:not(.spent){opacity:.6}.timer-dial.paused .timer-digital,.timer-dial.overtime .timer-digital{background:var(--yellow);color:var(--orange)}
.timer-dial-picker{display:flex;justify-content:center;gap:3px;width:fit-content;max-width:100%;margin:5px auto 0;padding:4px;background:var(--paper);border-radius:30px}.timer-dial-picker button{padding:6px 10px;min-height:40px;border:0;border-radius:24px;font-size:14px;white-space:nowrap;font-weight:750;color:var(--muted)}.timer-dial-picker button[aria-pressed=true]{background:var(--card);color:var(--green);box-shadow:0 1px 4px #2b3a2f10}
.timer-note{min-height:22px;text-align:center;font-size:14px;color:var(--muted);margin:12px 0 0}.timer-finished{text-align:center;padding:50px 15px}.timer-finished>span{display:block;font-size:70px;color:var(--sun)}.timer-finished h3{font-size:36px}
.timer-progress-panel{background:var(--card);padding:18px;border:1px solid var(--line);border-radius:24px;box-shadow:0 2px 5px #283b2d09;margin:12px 0 18px}.timer-next{display:flex;gap:10px;align-items:center;padding:12px 14px;background:var(--timer-soft);border-radius:14px;min-height:52px}.timer-next .eyebrow{font-size:12px;letter-spacing:1px}.timer-next-title{flex:1;font-weight:800;font-size:17px}.timer-next>strong{font-size:14px;white-space:nowrap;color:var(--timer-color)}.timer-total-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px;font-size:17px;font-weight:750}.timer-total-row>strong{font-size:23px;font-variant-numeric:tabular-nums}.timer-total-row svg{width:19px;color:var(--muted)}.timer-buffer{font-size:13px;margin:8px 0;color:var(--timer-color)}.timer-segments{display:flex;gap:2px;height:16px;border-radius:20px;overflow:hidden;background:var(--line)}.timer-segment{min-width:3px;background:var(--line);position:relative}.timer-segment i{display:block;height:100%;background:var(--timer-color);transition:width .3s}.timer-segment.active{background:var(--timer-soft)}.timer-segment.skipped i,.timer-segment.dropped{background:#dbba68}.timer-segment.timed_out i{background:#bc7b69}.timer-main-actions{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.timer-main-actions .btn{padding:14px 10px;min-height:56px;font-size:16px;border-radius:18px}.timer-main-actions .timer-complete{background:var(--green);font-size:20px;font-weight:800;box-shadow:0 3px 0 #294d39}.timer-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}.timer-departure{text-align:center;background:var(--yellow);padding:15px;border-radius:18px;font-size:23px}.timer-summary{padding:24px 10px}.timer-summary h3{font-size:28px}.timer-summary>div{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.timer-summary small{color:var(--muted)}.timer-summary button{margin-top:18px}.timer-device{border:1px solid var(--line);border-radius:18px;padding:16px;margin-top:22px;background:var(--card)}.timer-device summary{font-weight:750;cursor:pointer}.timer-device-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.timer-checkbox{display:flex;gap:10px;align-items:center;margin:12px 0}.timer-checkbox input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.timer-device .btn{margin:4px}.timer-footer{margin:18px 0 0;line-height:1.5}.timer-setting{border-bottom:1px solid var(--line);padding:12px 0}.timer-setting>label{display:flex;justify-content:space-between;gap:16px;align-items:center}.timer-setting input[type=number]{width:80px}.timer-setting details{font-size:14px;margin:10px 0}.timer-setting p{margin:8px 0}#timer-tasks h3{margin-top:18px}#timer-error{color:#9a3124;margin:12px 0}

.timer-kids-view .timer-main-actions{grid-template-columns:1fr}.timer-kids-view .timer-complete{min-height:78px;font-size:30px;border-radius:24px}.timer-complete svg{width:30px;height:30px}.timer-kids-view .timer-progress-panel{padding:0;border:0;background:transparent;box-shadow:none}.timer-kids-view .timer-next{padding:18px;background:var(--card);border:1px solid var(--line);border-radius:20px}.timer-kids-view .timer-next-title{font-size:20px}.timer-kids-view .timer-total-row,.timer-kids-view .timer-buffer,.timer-kids-view .timer-segments,.timer-kids-view .timer-progress-panel>p,.timer-kids-view .timer-next>strong{display:none}.timer-kids-view .timer-focus{padding-top:30px}.timer-kids-view .timer-task-heading h3{font-size:clamp(30px,4vw,48px)}
.timer-mobile-tabs{display:none}
@media(min-width:721px){.timer-children:not(.timer-single) .timer-focus{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px;padding:26px 0 0}.timer-children:not(.timer-single) .timer-symbol{width:64px;height:64px;font-size:38px;border-radius:20px;margin-bottom:8px}.timer-children:not(.timer-single) .timer-focus h3{font-size:28px}.timer-children:not(.timer-single) .timer-clock-case{width:min(100%,270px)}.timer-children:not(.timer-single) .timer-dial-picker button{font-size:12px;padding-inline:6px}}
@media(min-width:721px) and (max-height:900px){.timer-modal{padding:18px;max-height:calc(100dvh - 24px)}.timer-modal .modal-head{margin-bottom:12px}.timer-toolbar{margin-bottom:8px}.timer-children{margin-top:10px}.timer-single .timer-focus{padding-top:20px}.timer-single .timer-clock-case{width:260px}.timer-children:not(.timer-single) .timer-clock-case{width:min(100%,230px);padding:6px 6px 10px;border-radius:32px}.timer-digital{font-size:30px}.timer-children:not(.timer-single) .timer-dial-picker button{font-size:12px;padding-inline:7px}.timer-symbol{width:90px;height:90px;font-size:48px;margin-bottom:12px}.timer-progress-panel{margin:8px 0 12px;padding:14px}.timer-total-row{margin:12px 0 10px}.timer-next{min-height:46px}.timer-child>header{padding:8px 4px}.timer-note{margin-top:6px}.timer-kids-view .timer-complete{min-height:64px}}
@media(max-width:720px){.timer-modal{padding:16px}.timer-children{grid-template-columns:1fr;gap:32px}.timer-single .timer-focus{grid-template-columns:1fr;gap:26px;padding:16px 0 0}.timer-focus{padding:16px 0 0}.timer-clock-case{width:280px}.timer-symbol{width:68px;height:68px;font-size:38px;border-radius:21px;margin-bottom:10px}.timer-focus h3,.timer-kids-view .timer-task-heading h3{font-size:30px}.timer-toolbar{align-items:flex-start}.timer-toolbar>span{font-size:13px;max-width:110px}.timer-toolbar>div{flex-wrap:wrap;justify-content:flex-end}.timer-toolbar .btn{font-size:14px;padding:9px 12px}.timer-device-grid{grid-template-columns:1fr}.timer-departure{font-size:18px}.timer-next{gap:7px;padding:10px}.timer-next .eyebrow{font-size:11px}.timer-next-title{font-size:16px}.timer-next>strong{font-size:12px}.timer-progress-panel{padding:12px}.timer-total-row{font-size:16px}.timer-main-actions{grid-template-columns:1.7fr 1fr 1fr;gap:7px}.timer-main-actions .btn{font-size:14px;padding:12px 6px}.timer-main-actions .timer-complete{font-size:20px}.timer-main-actions .timer-complete svg{width:23px}.timer-kids-view .timer-complete{font-size:26px;min-height:70px}.timer-kids-view .timer-next{padding:15px}.timer-kids-view .timer-next-title{font-size:17px}.timer-mobile-tabs{display:flex;gap:8px;margin:12px 0}.timer-mobile-tabs button{flex:1;padding:10px;border:1px solid var(--line);border-radius:12px}.timer-mobile-tabs button[aria-pressed=true]{background:var(--sage);border-color:var(--green)}.timer-children[data-mobile-child=emelia] .timer-child:not(.emelia),.timer-children[data-mobile-child=briet] .timer-child:not(.briet){display:none}}
@media(prefers-reduced-motion:reduce){.timer-dot,.timer-segment i{transition:none}}
/* Saved outing/checklist setup uses the existing Heima form controls. */
.timer-source-choices,.timer-plan-library{display:grid;grid-template-columns:1fr 1fr;gap:14px}.timer-source-choices button{border:1px solid var(--line);border-radius:20px;padding:24px;background:var(--paper);text-align:left}.timer-source-choices strong,.timer-source-choices span{display:block}.timer-source-choices strong{font-size:21px;color:var(--green);margin-bottom:8px}.timer-source-choices span{color:var(--muted)}.timer-plan-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.timer-plan-library .card{padding:20px}.timer-plan-library p{font-size:14px;margin:8px 0 14px;color:var(--muted)}.timer-plan-row{border:1px solid var(--line);border-radius:18px;padding:16px;background:var(--paper);margin:10px 0}.timer-plan-row-options{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;align-items:end;gap:10px;margin-top:10px}.timer-plan-order{display:flex;gap:2px}.timer-plan-order button{border:1px solid var(--line);background:var(--card);min-width:40px}.timer-plan-row input,.timer-plan-row select{min-width:0;width:100%}.timer-plan-preview{padding:6px 0}.timer-plan-preview>div{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.timer-plan-preview strong{flex:1;min-width:0;overflow-wrap:anywhere}.timer-plan-preview span,.timer-plan-preview small{color:var(--muted)}.timer-empty-check{height:23px;width:23px;border:2px solid var(--green);border-radius:7px;flex-shrink:0}.timer-plan-preview small{white-space:nowrap}.timer-check-case{min-height:220px;display:flex;flex-direction:column;justify-content:center;gap:10px;align-items:center;padding:24px}.timer-check-case>span{font-size:55px;color:var(--green);width:90px;height:90px;border:3px solid var(--sage);border-radius:25px;display:grid;place-items:center}.timer-check-case strong{font-size:20px}.timer-check-case p{font-size:14px;color:var(--muted);max-width:200px}.timer-child.eydis{--timer-color:var(--eydis-ink,var(--green));--timer-soft:var(--eydis-soft,var(--sage))}.timer-child.valtyr{--timer-color:var(--valtyr-ink,#3f5a70);--timer-soft:var(--valtyr-soft,var(--valtyr))}.timer-children>.timer-child.all:last-child:nth-child(odd){grid-column:1/-1}.timer-children>.timer-child.all:last-child:nth-child(odd) .timer-focus{max-width:800px;margin-inline:auto}
@media(max-width:720px){.timer-mobile-hidden{display:none}.timer-mobile-tabs{flex-wrap:wrap}.timer-mobile-tabs button{flex-basis:25%}.timer-source-choices,.timer-plan-library{grid-template-columns:1fr}.timer-plan-row-options{grid-template-columns:minmax(0,1fr) 90px}.timer-plan-order{grid-column:1/-1;justify-content:flex-end}.timer-plan-preview>div{flex-wrap:wrap;gap:8px}.timer-plan-preview strong{flex-basis:calc(100% - 40px)}.timer-plan-preview small{margin-left:auto}}
#timer-list-departure[hidden]{display:none}
/* Library and builder; the running timer above keeps its existing layout. */
.timer-library-heading{align-items:center}.timer-library-heading>.btn{flex-shrink:0}
.timer-library-section{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0 20px}.timer-library-section h2{font-size:1.35rem}.timer-library-section p{margin-top:6px;color:var(--muted)}.timer-library-section .segments{margin:0;flex-shrink:0}
.timer-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.timer-library-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:26px;border:1px solid var(--line);border-radius:24px;background:var(--card)}.timer-library-card h3{font-size:1.45rem;overflow-wrap:anywhere;line-height:1.2}.timer-library-card p{color:var(--muted);margin:0;overflow-wrap:anywhere}.timer-library-card .eyebrow{font-size:.7rem}.timer-library-symbol{display:grid;place-items:center;width:60px;height:60px;font-size:30px;border-radius:20px;background:var(--sage);margin-bottom:8px}.daily-morning .timer-library-symbol{background:var(--yellow)}.daily-afternoon .timer-library-symbol{background:var(--peach)}.daily-evening .timer-library-symbol{background:var(--purple)}.timer-library-time{color:var(--green);font-size:.95rem}.timer-library-actions{display:flex;gap:8px;align-items:center;width:100%;margin-top:auto;padding-top:14px}.timer-library-actions .btn{flex:1;padding:11px 12px;min-width:0}.timer-history-link{font-size:.85rem;padding:6px 0}.timer-active-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;background:var(--sage)}.timer-active-banner p{margin-top:6px}.timer-library-empty{grid-column:1/-1;text-align:center;padding:35px;display:grid;justify-items:center;gap:14px}.timer-library-empty>span{font-size:36px}
.timer-builder-modal{width:min(880px,94vw);max-width:880px;padding:28px;background:var(--card)}.timer-builder-modal .stack{gap:24px}.timer-owner-chips{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 0}.timer-builder-step-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.timer-builder-step-head>div:first-child{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.timer-builder-step-head h3{font-size:1.05rem}.timer-builder-step-head .btn{font-size:.85rem;padding:9px 12px;min-height:44px}.timer-build-row{border:1.5px solid var(--line);border-radius:20px;padding:16px;background:var(--card)}.timer-build-main{display:grid;grid-template-columns:28px 56px minmax(0,1fr) 100px 38px;align-items:center;gap:10px}.timer-build-order{display:grid;gap:2px}.timer-build-order .icon-btn{width:28px;min-width:28px;height:32px;min-height:32px;font-size:20px}.timer-build-icon{font-size:26px;text-align:center;padding:8px;width:56px;height:56px;background:var(--paper);border-color:var(--line);border-radius:17px}.timer-build-title{font-size:1.1rem;font-weight:750;border-color:transparent;background:transparent;min-width:0;padding:10px 4px}.timer-build-title:hover{border-color:var(--line)}.timer-build-minutes{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.85rem;background:var(--paper);padding:4px 7px;border-radius:13px;border:1px solid var(--line)}.timer-build-minutes input{padding:6px;min-height:36px;text-align:center;font-weight:750;width:58px;border-radius:9px}.timer-build-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}.timer-build-meta>.field{display:flex;align-items:center;gap:8px}.timer-build-meta select{font-size:.85rem;min-height:38px;padding:7px 10px;max-width:190px}.timer-step-more{flex-basis:100%;color:var(--muted);font-size:.85rem}.timer-step-more[open]{display:grid;gap:12px}.timer-step-more summary{min-height:36px;cursor:pointer;align-content:center}.timer-step-more .field{max-width:240px}.timer-step-more .form-days{margin:10px 0}.timer-builder-section{border:1px solid var(--line);border-radius:20px;background:var(--paper);padding:20px;min-width:0}.timer-builder-section legend{font-weight:750;font-size:.95rem;padding:0 8px}.timer-builder-section>h3{margin:16px 0}.timer-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.timer-choice{position:relative;display:flex;cursor:pointer;min-width:0}.timer-choice>input{position:absolute;opacity:0;width:1px;min-height:0;height:1px}.timer-choice>span{display:grid;gap:9px;padding:17px;border:2px solid var(--line);border-radius:17px;background:var(--card);width:100%}.timer-choice strong{font-size:1rem;line-height:1.3;display:flex;gap:7px;align-items:center}.timer-choice svg{width:22px;height:22px;flex-shrink:0}.timer-choice small{font-size:.85rem;color:var(--muted);line-height:1.5}.timer-choice input:checked+span{background:#edf2e9;border-color:var(--green)}.timer-choice input:focus-visible+span{outline:3px solid var(--orange);outline-offset:3px}.timer-clock-setting{margin-top:18px;max-width:260px}.timer-builder-section .timer-checkbox{margin-top:20px}.timer-builder-section>summary{font-weight:700;cursor:pointer;min-height:32px}.timer-builder-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:20px}.timer-builder-modal [hidden]{display:none!important}.timer-plan-rows{display:grid;gap:12px}
@media(max-width:1100px){.timer-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.timer-library-section{align-items:flex-start;flex-direction:column}.timer-library-section .segments{flex-shrink:1}}
@media(max-width:600px){.timer-library-grid{grid-template-columns:1fr}.timer-library-card{padding:22px}.timer-library-heading{flex-wrap:wrap}.timer-builder-modal{padding:18px}.timer-builder-modal .modal-head h2{font-size:1.3rem}.timer-builder-step-head{align-items:flex-start;flex-direction:column}.timer-choice-grid{grid-template-columns:1fr}.timer-build-main{grid-template-columns:24px 45px minmax(0,1fr) 32px;gap:6px}.timer-build-icon{width:45px;height:48px;font-size:23px}.timer-build-title{font-size:1rem}.timer-build-main>.icon-btn{grid-column:4;grid-row:1}.timer-build-minutes{grid-column:3;grid-row:2;justify-self:end}.timer-build-order{grid-row:1/3}.timer-build-meta{gap:8px}.timer-build-row{padding:12px}.timer-builder-section{padding:14px}.timer-builder-footer{align-items:flex-start;flex-direction:column}.timer-builder-footer>.row{width:100%}.timer-builder-footer .btn{flex:1}.timer-active-banner{align-items:flex-start;flex-direction:column}.bottom-nav button{font-size:10px;overflow-wrap:anywhere}}
/* Three simple entry points; the active timer keeps its existing face and layout. */
.timer-hub-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 30px}
.timer-hub-nav button{text-align:left;background:var(--card,#fffefa);border:1px solid var(--line,#e4e2d5);border-radius:22px;padding:22px;color:inherit;cursor:pointer}
.timer-hub-nav button[aria-pressed=true]{background:#e3ebdf;border:2px solid #3c6b50;padding:21px}
.timer-hub-nav strong{display:block;font-size:1.2rem}.timer-hub-nav span{display:block;margin-top:8px;font-size:.9rem;color:#626b5f}
.timer-quick-card{max-width:720px;margin:24px auto}.timer-presets{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.timer-presets button{padding:14px 24px}
.timer-ready-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px}
.timer-ready-status{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.timer-step-photo{width:80px;height:80px;object-fit:cover;border-radius:16px}.timer-symbol img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.timer-plan-preview [data-occurrence-row]{display:grid;grid-template-columns:24px 24px minmax(100px,1fr) auto 80px;gap:10px;align-items:center}
.timer-plan-preview [data-occurrence-row] input[type=checkbox]{width:22px;height:22px;accent-color:#3c6b50}.timer-plan-preview [data-occurrence-row] input{min-width:0;width:100%}
@media(max-width:650px){.timer-hub-nav{grid-template-columns:1fr;gap:8px}.timer-hub-nav button{padding:15px}.timer-hub-nav button[aria-pressed=true]{padding:14px}.timer-hub-nav span{margin-top:4px}.timer-ready-intro{display:block}.timer-plan-preview [data-occurrence-row]{grid-template-columns:24px minmax(0,1fr) 65px}.timer-plan-preview [data-occurrence-row]>span{display:none}}
