:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif;font-synthesis:none;color-scheme:light;--bg: #f6f5f0;--fg: #101820;--muted: #72777a;--accent: #3f5bcd;--line: #10182018}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);transition:background .8s,color .6s;min-height:100svh}body[data-phase=away]{color-scheme:dark;--bg: #071a2b;--fg: #f7f8fa;--muted: #9cabb9;--accent: #6e8fe4;--line: #ffffff19}body[data-phase=return_preparation]{color-scheme:dark;--bg: #132437;--fg: #f7f8fa;--muted: #c1b9b2;--accent: #f2b880;--line: #ffffff20;background:#132437}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 90% 110%,#f2b88075,transparent 65%);opacity:0;transition:opacity 1s}body[data-phase=return_preparation]:before{opacity:1}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:6px}main{max-width:900px;margin:auto;padding:32px 42px 22px}header{display:flex;align-items:center;justify-content:space-between;height:38px}.wordmark{font-weight:650;letter-spacing:-1px;font-size:23px;text-decoration:none;color:var(--fg)}.wordmark span{color:var(--accent);margin-left:2px}.header-actions{display:flex;align-items:center;gap:20px}#demo-label{font-size:9px;letter-spacing:2px;color:var(--muted)}.icon-button{border:0;background:none;font-size:26px;width:38px;height:38px;border-radius:50%;color:var(--muted)}.icon-button:hover{background:var(--line)}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.4px;color:var(--muted);display:flex;align-items:center;gap:9px}.live-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px var(--accent)}h1,h2{font-weight:550;letter-spacing:-.055em;line-height:1.02;margin:22px 0 16px}h1{font-size:clamp(52px,7.8vw,88px)}h2{font-size:clamp(38px,5vw,56px)}p{line-height:1.6}.subtitle{color:var(--muted);font-size:17px;margin:0}.page{animation:appear .55s ease both}.status-page{min-height:min(690px,calc(100svh - 170px));display:flex;flex-direction:column}.status-heading{padding-top:90px}.route-button{display:block;text-align:initial;color:inherit;background:none;border:0;padding:0;margin:28px -8px 0;width:calc(100% + 16px)}.route{display:block;width:100%;height:auto;overflow:visible}.route-ghost,.route-progress{stroke:var(--accent);stroke-width:2;stroke-linecap:round}.route-ghost{opacity:.19}.route-progress{stroke-width:2.5;stroke-dasharray:100;stroke-dashoffset:40;animation:draw 1.5s cubic-bezier(.2,.7,.3,1) both;transition:stroke .7s,stroke-dashoffset 1s}.route-dot{fill:var(--accent);transition:cx 1s,cy 1s}.route-halo{fill:var(--accent);opacity:.12;transform-box:fill-box;transform-origin:center;animation:breathe 3s ease-in-out infinite;transition:cx 1s,cy 1s}.home-icon{stroke:var(--fg);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.end-dot{fill:var(--accent);opacity:.4}.milestones{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 8px}.milestones>div:nth-child(2){text-align:center}.milestones>div:last-child{text-align:right}.milestones small{display:block;font-size:9px;letter-spacing:1.7px;color:var(--muted);margin-bottom:9px}.milestones strong{font-size:14px;font-weight:500;line-height:1.6;white-space:pre-line}.status-bottom{margin-top:auto;padding-top:55px;display:flex;align-items:center;justify-content:space-between;gap:24px}.next-change{font-size:12px;color:var(--muted)}.primary{display:flex;align-items:center;justify-content:space-between;gap:60px;background:var(--accent);color:#101820;border:0;padding:17px 24px;border-radius:40px;font-weight:600;font-size:14px;transition:transform .2s,filter .2s}.primary:hover{filter:brightness(1.08);transform:translateY(-2px)}body[data-phase=home] .primary{color:#fff}.primary span{font-size:19px;font-weight:400}.secondary{border:1px solid var(--line);background:transparent;border-radius:30px;padding:15px 20px;font-size:14px}.quiet{border:0;background:none;color:var(--muted);font-size:12px;padding:12px}.page-nav{display:flex;justify-content:center;gap:5px;margin:40px 0 16px}.page-nav button{border:0;background:none;padding:10px 5px}.page-nav span{display:block;width:5px;height:5px;border-radius:5px;background:var(--fg);opacity:.2;transition:width .3s,opacity .3s}.page-nav .selected span{width:22px;opacity:.9}.demo-controls{display:flex;justify-content:center;gap:5px;margin-top:18px}.demo-controls button{background:none;border:1px solid transparent;color:var(--muted);font-size:10px;padding:7px 11px;border-radius:20px}.demo-controls button.active{border-color:var(--line);color:var(--fg)}.detail-page{min-height:min(690px,calc(100svh - 170px));padding-top:80px}.steps{list-style:none;padding:20px 0 30px;margin:0}.steps li{position:relative;padding:0 0 36px 30px;font-size:16px}.steps li:before{content:"";position:absolute;width:7px;height:7px;background:var(--accent);border-radius:50%;left:0;top:6px}.steps li:not(:last-child):after{content:"";position:absolute;left:3px;top:18px;bottom:7px;width:1px;background:var(--line)}.steps small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.system-row{display:flex;justify-content:space-between;gap:25px;padding:25px 0;border-bottom:1px solid var(--line);font-size:14px}.system-row span:last-child{color:var(--muted);text-align:right}#sync-time{font-size:12px;margin:20px 0 35px}.login{padding-top:100px;max-width:600px}.login form{max-width:350px;margin-top:40px}label{font-size:12px;color:var(--muted)}input{width:100%;font:inherit;background:var(--line);color:var(--fg);border:1px solid transparent;border-radius:14px;padding:16px;margin:10px 0;min-width:0}input:focus{outline:none;border-color:var(--accent)}dialog{width:min(460px,calc(100% - 28px));max-height:90svh;overflow:auto;border:1px solid var(--line);border-radius:30px;padding:28px;background:var(--bg);color:var(--fg);box-shadow:0 30px 100px #0005}dialog[open]{animation:sheet-in .35s cubic-bezier(.2,.8,.2,1)}dialog::backdrop{background:#0006;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sheet-header{display:flex;justify-content:space-between;align-items:center}dialog h2{margin:20px 0 30px}dialog .primary,dialog .secondary{width:100%;margin-top:15px}dialog .quiet{display:block;margin:8px auto}dialog .hint{font-size:12px;color:var(--muted);margin:4px 0 20px}#message{color:var(--accent);font-size:12px;text-align:center}[hidden]{display:none!important}@keyframes draw{0%{stroke-dashoffset:100}}@keyframes breathe{50%{transform:scale(1.5);opacity:.04}}@keyframes appear{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-in{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1000px){main{padding-top:45px}.status-heading{padding-top:100px}.route-button{margin-top:10px}}@media(max-width:600px){main{padding:24px 26px 18px}.status-heading{padding-top:20px}.status-heading h1{margin-top:12px}h1{font-size:54px}.status-page{min-height:calc(100svh - 190px)}.route-button{margin-top:40px}.route{height:180px}.status-bottom{flex-direction:column;align-items:stretch;padding-top:55px;gap:18px}.next-change{text-align:center;font-size:11px}.primary{width:100%}.milestones strong{font-size:12px}.milestones small{font-size:8px;letter-spacing:1px}.page-nav{margin-top:25px}.detail-page{padding-top:65px;min-height:calc(100svh - 190px)}.system-row{font-size:12px}.header-actions{gap:8px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}.atmospheric .route-button{position:relative;margin:18px 0 0;width:100%;cursor:pointer;padding-bottom:90px}.atmospheric .scene{width:100%;height:auto;overflow:visible;color:var(--accent)}.atmospheric .milestones{display:block;position:absolute;top:calc(100% - 90px);left:0;width:100%;height:90px;padding:0}.atmospheric .milestones>div{position:absolute;transform:translate(-50%);text-align:center!important;width:115px}.atmospheric .milestones>div:nth-child(1){left:10%}.atmospheric .milestones>div:nth-child(2){left:68.75%}.atmospheric .milestones>div:nth-child(3){left:90%}.atmospheric .milestones small{font-size:8px;letter-spacing:1.3px}.atmospheric .milestones strong{font-size:13px}.horizon{stroke:var(--fg);stroke-opacity:.07;stroke-width:1}.scene-progress{stroke:var(--accent);stroke-width:2;stroke-linecap:round;fill:none}.atmospheric .route-ghost{stroke-dasharray:2 7;stroke-width:1.5;opacity:.25}.anchor-guides{stroke:var(--fg);stroke-opacity:.13;stroke-dasharray:2 4;stroke-width:.75}.scene-anchor{fill:var(--bg);stroke:var(--accent);stroke-width:1.5}.destination-house{stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:stroke 1s}.house-window{fill:var(--muted);stroke:none;opacity:.3;transition:fill 1s,opacity 1s}.arrival-light,.scene-stars,.heat-halo{opacity:0;transition:opacity 1.4s}.scene-stars{color:var(--fg)}.heat-halo{fill:var(--accent);transform-box:fill-box;transform-origin:center}.plane{fill:var(--accent);stroke:var(--bg);stroke-width:.6;stroke-linejoin:round}.flight-trail{stroke:url(#trail-color);stroke-width:1.8;stroke-linecap:round}body[data-flight=away] .scene-stars,body[data-flight=return_preparation] .scene-stars{opacity:.45}body[data-flight=return_preparation] .arrival-light,body[data-flight=landed] .arrival-light{opacity:1}body[data-flight=return_preparation] .house-window,body[data-flight=landed] .house-window{fill:#f2b880;opacity:1}body[data-flight=return_preparation] .destination-house,body[data-flight=landed] .destination-house{stroke:#f2b880}body[data-flight=return_preparation] .heat-halo{opacity:.14;animation:breathe 3s ease-in-out infinite}body[data-flight=home] .flight-trail{opacity:0}.atmospheric .demo-controls{flex-wrap:wrap}@media(max-width:600px){.atmospheric .route-button{margin-top:20px;width:calc(100% + 12px);margin-left:-6px}.atmospheric .milestones>div{width:80px}.atmospheric .milestones small{font-size:7px;letter-spacing:.6px}.atmospheric .milestones strong{font-size:11px}.atmospheric .status-bottom{padding-top:35px}.atmospheric .scene{min-height:0}}.trip-title{font-size:14px;font-weight:500;letter-spacing:-.01em;color:var(--accent);margin:20px 0 0;overflow-wrap:anywhere}#journey-title{overflow-wrap:anywhere}.milestones .trip-title{display:block;margin:7px auto 0;max-width:170px;font-size:11px;font-weight:400;line-height:1.4;letter-spacing:0;color:var(--muted);white-space:normal;overflow-wrap:anywhere}.atmospheric .route-button{padding-bottom:125px}.atmospheric .milestones{top:calc(100% - 125px);height:125px}@media(max-width:600px){.milestones .trip-title{font-size:9px;max-width:92px}.atmospheric .route-button{padding-bottom:135px}.atmospheric .milestones{top:calc(100% - 135px);height:135px}}.scene-clouds{stroke:var(--accent);stroke-width:1;fill:var(--accent);fill-opacity:.025;opacity:.24}.scene-landscape{stroke:var(--muted);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;opacity:.32}.house-silhouette{fill:var(--bg);stroke:none}.house-door{stroke:var(--muted);opacity:.6}.destination-house .house-window{opacity:.28;fill:var(--accent);transition:fill 1.5s,opacity 1.5s}.arrival-rings{stroke:#f2b880;stroke-width:.7;opacity:0;transition:opacity 1.5s}.arrival-rings circle:last-child{stroke-dasharray:1 6;opacity:.45}body[data-flight=return_preparation] .arrival-rings,body[data-flight=landed] .arrival-rings{opacity:.25}body[data-flight=return_preparation] .window-left,body[data-flight=landed] .window-left{fill:#f2b880;opacity:1;transition-delay:.1s}body[data-flight=return_preparation] .window-right,body[data-flight=landed] .window-right{fill:#f2b880;opacity:1;transition-delay:.45s}body[data-flight=return_preparation] .roof-window,body[data-flight=landed] .roof-window{fill:#f2b880;opacity:.8;transition-delay:.8s}body[data-flight=return_preparation] .scene-landscape,body[data-flight=landed] .scene-landscape{stroke:#d2a779;opacity:.4}.flight-trail{opacity:.32;transition:opacity 1s}.flying .flight-trail{opacity:.85}body[data-flight=landed] .destination-house{animation:arrival-settle 1.2s ease-out both}@keyframes arrival-settle{0%{filter:drop-shadow(0 0 0 transparent)}65%{filter:drop-shadow(0 0 7px #f2b88099)}to{filter:drop-shadow(0 0 2px #f2b88033)}}.route-aura{stroke:#6e8fe4;stroke-width:24;stroke-linecap:round;filter:url(#route-softness);opacity:0;transition:opacity 1.4s,stroke 1.4s}body[data-flight=away] .route-aura{opacity:.15}body[data-flight=return_preparation] .route-aura{stroke:#b4b8c8;opacity:.1}body[data-flight=landed] .route-aura{opacity:0}body[data-flight=return_preparation] .arrival-light,body[data-flight=landed] .arrival-light{opacity:.85}.editor-trip{font-size:12px;color:var(--muted);line-height:1.4;max-width:80%;overflow-wrap:anywhere}#editor h2{font-size:34px;letter-spacing:-1.2px;margin:22px 0 24px}.return-preview{display:flex;flex-direction:column;align-items:center;padding:4px 0 18px}.return-house{display:grid;place-items:center;width:72px;height:66px;background:radial-gradient(ellipse,#f2b88022,transparent 70%);margin-bottom:10px}.return-house svg{width:40px;height:40px;stroke:var(--fg);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.return-house .warm-window{fill:#f2b880;stroke:none}.return-day{color:var(--muted);font-size:14px}.return-clock{font-size:66px;font-weight:500;letter-spacing:-4px;font-variant-numeric:tabular-nums;line-height:1.25}.time-nudges{display:flex;gap:7px;margin:0 0 24px}.time-nudges button{flex:1;border:1px solid var(--line);border-radius:12px;background:transparent;padding:10px 3px;font-size:12px;color:var(--muted)}.time-nudges button:hover{background:var(--line);color:var(--fg)}.date-picker-label{display:block;font-size:11px;color:var(--muted)}.date-picker-label input{font-size:14px;padding:12px 14px;margin-top:7px}.heating-preview{display:flex;align-items:center;gap:12px;padding:18px 0;margin:6px 0 14px;border-bottom:1px solid var(--line)}.heat-symbol{font-size:31px;color:#dca46d;line-height:1;transform:rotate(-90deg)}.heating-preview div{display:flex;flex-direction:column;gap:4px}.heating-preview div>span{font-size:11px;color:var(--muted)}.heating-preview output{font-size:13px;font-variant-numeric:tabular-nums}.lead-badge{margin-left:auto;font-size:11px;color:var(--muted);padding:6px 9px;border-radius:8px;background:var(--line)}.editor-other{display:flex;flex-wrap:wrap;justify-content:center;margin-top:8px}.editor-error{font-size:12px;color:#de896d}#editor form{margin:0}#editor .secondary{margin-top:10px}#editor .primary{margin-top:0}@media(max-width:600px){#editor{padding:22px;border-radius:26px}#editor h2{font-size:30px;margin:14px 0}.return-clock{font-size:56px}.return-house{height:48px;margin-bottom:4px}.return-preview{padding-bottom:14px}.time-nudges{margin-bottom:18px}}#editor .editor-other{display:flex;flex-direction:column;gap:9px;margin-top:9px}#editor .editor-action{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;margin:0;padding:15px 19px;text-align:left;font-size:14px;font-weight:500;border-radius:18px;min-height:52px}#editor .editor-action svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#editor .editor-action span{font:inherit}#editor .editor-other .secondary{border-color:var(--line);color:var(--muted)}#editor .editor-other .secondary:hover{background:var(--line);color:var(--fg)}.spontaneous-action{display:flex;align-items:center;gap:9px;align-self:flex-start;background:transparent;border:1px solid var(--line);border-radius:24px;padding:12px 17px;font-size:13px;color:var(--fg);margin-top:22px}.spontaneous-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.spontaneous-action:hover{background:var(--line)}.action-leading{display:inline-flex;justify-content:flex-start;align-items:center;gap:10px;text-align:left}.action-leading svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.action-leading span{font:inherit}.status-bottom{flex-direction:column;align-items:stretch;gap:20px}.status-bottom .next-change{text-align:center}.status-actions{display:grid;grid-template-columns:1fr;gap:12px}.status-actions.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.status-actions button{width:100%;min-width:0;border-radius:20px;padding:17px 20px;font-size:14px;min-height:56px}.status-actions .secondary{color:var(--fg)}@media(max-width:600px){.status-actions{gap:10px}.status-actions button{padding:16px 12px;font-size:12px;gap:8px}.status-actions button svg{width:17px;height:17px;flex-basis:17px}}#editor .editor-purpose{font-size:13px;line-height:1.5;color:var(--muted);margin:-10px 0 22px;max-width:330px}#editor .editor-action{font-size:13px}.calendar-error{padding:16px 20px;border:1px solid #b83f32;border-radius:16px;background:#b83f3214;color:var(--fg);font-size:14px;line-height:1.6}.wordmark{display:inline-flex;align-items:center;gap:0;font-size:22px;letter-spacing:-.8px;white-space:nowrap}.wordmark img{margin-right:10px;border-radius:10px}.wordmark span{margin-left:0;color:var(--accent)}main{padding-top:max(32px,env(safe-area-inset-top));padding-bottom:max(22px,env(safe-area-inset-bottom));padding-left:max(26px,env(safe-area-inset-left));padding-right:max(26px,env(safe-area-inset-right))}input{font-size:16px}@media(max-width:380px){main{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.wordmark{font-size:19px}.wordmark img{width:30px;height:30px;margin-right:7px}.header-actions{gap:3px}.quiet{padding:10px 6px}.status-actions.two-columns{grid-template-columns:1fr}}@media(display-mode:standalone){.page-nav{padding-bottom:8px}}.push-settings{margin:28px 0;padding:24px 0;border-block:1px solid var(--line)}.push-settings h3{font-size:20px;font-weight:550;margin:0 0 12px;letter-spacing:-.5px}.push-settings .subtitle{font-size:14px}.push-preferences{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0}.push-preferences label{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--fg)}.push-preferences input{width:20px;height:20px;margin:0;accent-color:var(--accent)}.push-actions{display:flex;gap:10px;flex-wrap:wrap}.push-actions button{font-size:13px;min-height:44px}.milestones strong{display:flex;flex-direction:column;align-items:center;gap:8px;white-space:normal;text-align:center}.calendar-tile{display:flex;flex-direction:column;align-items:center;width:54px;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--bg);box-shadow:0 3px 10px #0000000a}.calendar-weekday{display:block;width:100%;background:#3f5bcd;color:#fff;text-align:center;font-size:9px;font-weight:700;line-height:20px;letter-spacing:1.3px;text-transform:uppercase}.calendar-day{font-size:25px;font-weight:550;line-height:36px;letter-spacing:-1px}.calendar-caption{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;align-items:center;text-align:center;font-size:12px;line-height:1.5}@media(max-width:600px){.calendar-tile{width:46px;border-radius:9px}.calendar-day{font-size:23px;line-height:31px}.calendar-weekday{line-height:18px}.calendar-caption{flex-direction:column;gap:0}}.push-name-label{display:block;max-width:340px;margin-top:20px}.push-devices{list-style:none;margin:12px 0;padding:0}.push-devices li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.push-devices li>div{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}.push-devices strong{font-size:14px;font-weight:600}.push-devices span,.push-devices small,.push-device-hint{font-size:12px;color:var(--muted)}.push-devices .quiet{flex-shrink:0;min-height:44px}.loading-screen{min-height:calc(100svh - 150px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:50px 0;gap:20px}.loading-screen h1{font-size:clamp(36px,6vw,60px);margin:8px 0 0}.loading-screen .subtitle{max-width:360px;font-size:15px}.loading-mark{width:112px;height:112px;display:grid;place-items:center;position:relative}.loading-mark img{border-radius:23px;animation:loading-breathe 2s ease-in-out infinite}.loading-ring{position:absolute;inset:0;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:loading-orbit 1.3s linear infinite}.loading-failed .loading-ring{animation:none;border-color:#b83f32}.loading-failed .loading-mark img{animation:none}.loading-screen .secondary{margin-top:8px}@keyframes loading-orbit{to{transform:rotate(360deg)}}@keyframes loading-breathe{50%{transform:scale(.94);opacity:.75}}.page{touch-action:pan-y pinch-zoom}.logout-button{display:grid;place-items:center;width:44px;height:44px}.logout-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#page-system{padding-top:42px}.system-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}.system-card{min-width:0;padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--line)}.system-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.system-card h3{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0 0 12px}.system-card-heading h3{margin:0}.card-symbol{font-size:23px;color:var(--muted)}.card-status{font-size:15px;font-weight:500;margin:0 0 8px;line-height:1.5}.card-detail,.system-card #sync-time{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 18px;overflow-wrap:anywhere}.system-card .secondary{font-size:13px;min-height:44px}.system-card.push-settings{grid-column:1/-1;margin:0;padding:22px;border:1px solid var(--line)}.push-manage{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}#push-devices-dialog .subtitle{font-size:13px}body:has(dialog[open]){overflow:hidden}@media(max-width:600px){#page-system{padding-top:24px}.system-cards{grid-template-columns:1fr;gap:12px;margin-top:20px}.system-card,.system-card.push-settings{padding:18px;border-radius:18px}.system-card.push-settings{grid-column:auto}.push-actions{flex-direction:column;align-items:stretch}.push-actions button{text-align:center}.system-card .push-name-label{max-width:none}}html{overscroll-behavior-y:contain}.pull-refresh{position:fixed;z-index:5;top:calc(env(safe-area-inset-top,0px) + 72px);left:50%;transform:translate(-50%,var(--pull-distance, 0px));display:flex;align-items:center;gap:9px;max-width:calc(100% - 32px);padding:11px 16px;background:var(--bg);color:var(--fg);border:1px solid var(--line);border-radius:24px;box-shadow:0 6px 24px #0002;font-size:12px;white-space:nowrap;pointer-events:none}.pull-refresh-icon{display:inline-block;font-size:18px;line-height:1;transition:transform .15s}.pull-ready .pull-refresh-icon{transform:rotate(180deg)}.pull-refreshing .pull-refresh-icon{font-size:0;width:15px;height:15px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:loading-orbit .8s linear infinite}.build-info{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:24px;color:var(--muted);font-size:11px;line-height:1.6}.build-info code{font-family:ui-monospace,SFMono-Regular,monospace;color:var(--fg);margin-left:5px}.build-info time{margin-left:5px}.settings-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--fg);font:inherit;font-size:13px;font-weight:500;line-height:1.4;text-align:center}.settings-button:hover{background:var(--line)}.settings-button:disabled{cursor:default;opacity:.4}.settings-primary{background:var(--accent);border-color:var(--accent);color:#071a2b}body[data-phase=home] .settings-primary{color:#fff}.settings-primary:hover{background:var(--accent);filter:brightness(1.06)}.settings-danger{color:#d16a59;border-color:transparent}.settings-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.settings-status{font-size:12px;color:var(--muted);white-space:nowrap}.settings-status[data-active=true]{color:var(--accent)}.ha-last-pull{display:flex;flex-direction:column;gap:3px}.ha-last-pull time{color:var(--fg);font-variant-numeric:tabular-nums}.settings-dialog .sheet-header{gap:12px;align-items:center;margin-bottom:20px}.settings-dialog .sheet-header h2{font-size:27px;line-height:1.15;letter-spacing:-1px;margin:0;overflow-wrap:anywhere}.settings-dialog .sheet-header .icon-button{flex-shrink:0}.settings-dialog .push-name-label{margin:0;max-width:none}.settings-dialog input[type=text],.settings-dialog #push-name{margin-bottom:0}.settings-dialog .push-preferences{display:flex;flex-direction:column;gap:0;margin:20px 0}.settings-dialog .push-preferences label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--fg);font-size:14px}.settings-dialog input[role=switch]{appearance:none;position:relative;width:42px;height:25px;flex:0 0 42px;padding:0;border:0;border-radius:20px;background:var(--muted);margin:0}.settings-dialog input[role=switch]:checked{background:var(--accent)}.settings-dialog input[role=switch]:before{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}.settings-dialog input[role=switch]:checked:before{transform:translate(17px)}.settings-dialog input[role=switch]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.settings-dialog .push-actions{display:flex;flex-direction:column;gap:10px}.settings-dialog .push-actions .settings-button{width:100%;margin:0}.settings-dialog .push-actions .settings-danger{margin-top:6px}.modal-feedback{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 18px}.modal-note{font-size:11px;color:var(--muted);margin:18px 0 0}.push-device-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px}.push-devices .device-current{font-size:10px;color:var(--accent);padding:2px 7px;border-radius:6px;background:var(--line)}.push-devices .device-remove{flex-shrink:0;padding:9px 11px;font-size:12px}@media(max-width:380px){.push-devices li{align-items:flex-start;flex-direction:column}.push-devices .device-remove{align-self:flex-end}.settings-dialog{padding:22px}.settings-dialog .sheet-header h2{font-size:24px}}#edit-close{margin-left:auto;flex:0 0 44px;width:44px;height:44px}@media(hover:none)and (pointer:coarse){#refresh{display:none}}main{min-height:100svh;display:flex;flex-direction:column;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}#dashboard:not([hidden]){display:flex;flex:1;flex-direction:column}.status-page{min-height:490px;flex:1}.detail-page,#page-system{padding-top:0}.detail-page{min-height:0;flex:1}.page-heading{padding-top:clamp(12px,2svh,24px)}.page-heading h1{font-size:clamp(40px,6.5vw,64px);margin:12px 0 8px}.atmospheric .route-button{width:min(100%,clamp(280px,calc((100svh - 590px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))*2.37),720px));margin:12px auto 0;padding-bottom:150px}.atmospheric .milestones{top:calc(100% - 150px);height:150px}.atmospheric .status-bottom{padding-top:16px;gap:12px}.page-nav{margin:16px 0 0}#message:empty{display:none}
