:root{color-scheme:dark;color:#f5f7fb;--panel:#121924d6;--panel-strong:#171f2cf5;--line:#ffffff14;--muted:#aab2c0;--green:#67d657;--blue:#5d7cff;--violet:#7768ff;--amber:#ffba43;--pink:#ff6f9f;--door-travel-duration:20s;background:#05080e;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=light]{color-scheme:light;color:#101723;--line:#0f172a21;--muted:#586375;--green:#2f9d43;--blue:#315fdc;--violet:#6554db;--amber:#b87700;--pink:#cc3f70;background:#eef3f8}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button{color:inherit;font:inherit;border:0}.dashboard{background:radial-gradient(circle at 17% 12%,#405c8e29,#0000 34%),radial-gradient(circle at 78% 18%,#5c7cff1a,#0000 28%),linear-gradient(145deg,#080d15 0%,#05080e 48%,#070b12 100%);grid-template-rows:1fr auto;grid-template-columns:minmax(680px,1.58fr) minmax(390px,.98fr);gap:clamp(18px,2vw,32px);width:100vw;min-width:1024px;height:100vh;min-height:620px;padding:clamp(28px,4vw,70px) clamp(28px,4vw,70px) clamp(22px,3vw,38px);display:grid;position:relative}.dashboard:before{content:"";pointer-events:none;opacity:.18;background-image:linear-gradient(#ffffff06 1px,#0000 1px);background-size:100% 72px;position:absolute;inset:0}.left-pane,.calendar-panel,.status-bar{z-index:1;position:relative}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.time-block{align-items:center;gap:clamp(24px,3vw,42px);display:flex}.clock{letter-spacing:0;font-size:clamp(72px,7.2vw,118px);font-weight:760;line-height:.92}.date-stack{border-left:1px solid #ffffff2e;gap:16px;min-width:210px;padding-left:clamp(20px,3vw,34px);font-size:clamp(22px,1.6vw,30px);display:grid}.date-stack span:last-child,.greeting,.garage-panel p,.door-card small,.event p,.footer-metric span{color:var(--muted)}.system-links{align-items:center;gap:clamp(16px,2vw,34px);padding-top:8px;display:flex}.status-chip{white-space:nowrap;color:#eef2f8;align-items:center;gap:10px;font-size:clamp(14px,1.1vw,18px);display:inline-flex;position:relative}.status-chip svg,.accent-icon,.calendar-head svg{color:var(--blue)}.status-chip i{background:var(--green);border-radius:50%;width:7px;height:7px;position:absolute;bottom:-2px;left:18px}.greeting{align-items:center;gap:18px;margin:clamp(22px,3vh,34px) 0 22px;font-size:clamp(20px,1.7vw,27px);display:flex}.greeting svg{color:#676dff}.garage-panel,.calendar-panel{border:1px solid var(--line);background:linear-gradient(#121924c7,#0c121beb);border-radius:18px;box-shadow:inset 0 1px #ffffff0a,0 24px 80px #00000038}.garage-panel{grid-template-rows:auto minmax(240px,1fr) auto;min-height:0;display:grid;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:24px;padding:18px 24px 0;display:flex}.panel-heading>div{align-items:center;gap:18px;display:flex}h1,h2,h3,p{margin:0}h1{font-size:clamp(24px,2vw,32px);font-weight:760}.panel-heading p{margin-top:4px;font-size:clamp(16px,1.2vw,20px)}.health-pill{cursor:pointer;background:#1e2735db;border-radius:8px;align-items:center;gap:12px;min-width:210px;min-height:48px;padding:0 16px;display:flex;box-shadow:inset 0 1px #ffffff0d}.health-pill span,.door-state span{background:var(--green);border-radius:50%;width:13px;height:13px;box-shadow:0 0 18px #67d65773}.health-pill svg{margin-left:auto}.garage-visual{min-height:260px;margin:6px 28px 0;position:relative;overflow:hidden}.building{filter:drop-shadow(0 18px 24px #00000075);background:linear-gradient(#434a55,#252c35 34%,#151b24 100%);border-top:1px solid #ffffff29;grid-template-columns:1fr 1fr;gap:7%;height:58%;padding:34px 7% 0;display:grid;position:absolute;bottom:26px;left:8%;right:8%;overflow:hidden}.roof{z-index:2;background:#171d27;border-top:6px solid #2f3846;border-radius:2px;height:22px;position:absolute;bottom:calc(26px + 58%);left:6%;right:6%;box-shadow:0 14px 22px #00000052}.garage-opening{background:linear-gradient(#141a22 0%,#080d14 100%);border:5px solid #111720;border-top-width:8px;align-self:end;height:100%;min-height:150px;transition:background .8s,box-shadow .8s;position:relative;overflow:hidden;box-shadow:inset 0 10px 18px #00000038,0 20px 30px #00000057}.garage-door-slab{transition:transform var(--door-travel-duration) linear, background .8s ease;will-change:transform;background:linear-gradient(#242b36 0%,#161c25 100%);position:absolute;inset:0;transform:translateY(0);box-shadow:inset 0 10px 18px #ffffff08}.garage-opening.interior-visible{background:#131b275e;box-shadow:inset 0 18px 26px #00000057,inset 0 -14px 20px #0000002e,0 20px 30px #00000057}.garage-opening.raised .garage-door-slab{background:linear-gradient(#111821 0%,#293545 100%);transform:translateY(-100%)}.garage-door-slab i{border-bottom:1px solid #ffffff14;height:22%;display:block;box-shadow:0 1px #0009}.driveway{background:linear-gradient(#1d273466,#080c12f0);border-top:1px solid #ffffff0f;height:34px;position:absolute;inset:auto 0 0}.door-grid{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.door-card{justify-items:center;gap:10px;padding:16px clamp(24px,3vw,42px) 34px;display:grid}.door-card+.door-card{border-left:1px solid var(--line)}.door-card h3{font-size:clamp(21px,1.6vw,27px)}.door-state{color:var(--green);align-items:center;gap:10px;font-size:clamp(18px,1.4vw,22px);font-weight:650;display:flex}.door-state.open{color:var(--amber)}.door-state.open span{background:var(--amber);box-shadow:0 0 18px #ffba4373}.door-state.moving{color:var(--amber)}.door-state.moving span{background:var(--amber);box-shadow:0 0 18px #ffba4373}.door-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;margin-top:8px;display:grid}.door-action-button{cursor:pointer;background:0 0;border-radius:0;justify-content:center;align-items:center;width:100%;min-height:78px;transition:opacity .18s,transform .18s;display:flex}.door-action-button:before{content:"";filter:drop-shadow(0 14px 24px #0000003d);background:#fff;width:min(100%,132px);height:86px;display:block;mask-position:50%;mask-size:contain;mask-repeat:no-repeat}.door-action-button:active{transform:translateY(1px)}.door-action-button:disabled{opacity:.6}.door-action-button:focus-visible{outline-offset:4px;outline:3px solid #5d7cffb8}.open-button:before{background:linear-gradient(#6ee054,#3ca638);mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3e%3cpath%20d='M45.7%2015.6c1.9-3.1%206.7-3.1%208.6%200l38.2%2063.7c2%203.3-.4%207.7-4.3%207.7H11.8c-3.9%200-6.3-4.4-4.3-7.7L45.7%2015.6Z'%20/%3e%3c/svg%3e")}.close-button:before{background:linear-gradient(#8b95a3,#596371);mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3e%3cpath%20d='M11.8%2013h76.4c3.9%200%206.3%204.4%204.3%207.7L54.3%2084.4c-1.9%203.1-6.7%203.1-8.6%200L7.5%2020.7C5.5%2017.4%207.9%2013%2011.8%2013Z'%20/%3e%3c/svg%3e")}.calendar-panel{flex-direction:column;grid-area:1/2;align-self:end;height:calc(100vh - clamp(160px,18vh,230px));min-height:540px;padding:22px 16px 12px;display:flex}.calendar-head,.calendar-head>div,.calendar-actions,.event,.view-calendar,.footer-metric{align-items:center;display:flex}.calendar-head{justify-content:space-between;gap:18px;padding:0 10px 20px}.calendar-head>div:first-child{gap:14px;font-size:clamp(22px,1.6vw,28px)}.calendar-actions{gap:12px}.calendar-actions button,.view-calendar,.settings,.theme-toggle{cursor:pointer;background:#1e2735b8;border-radius:8px;min-height:46px}.calendar-actions button{min-width:46px;padding:0 14px;font-size:18px}.calendar-actions button:not(:last-child){font-size:34px;line-height:1}.week-row{border-bottom:1px solid var(--line);grid-template-columns:repeat(7,1fr);gap:4px;padding:0 12px 16px;display:grid}.day{min-height:80px;color:var(--muted);justify-items:center;gap:9px;display:grid}.day strong{color:#f8fbff;border-radius:8px;place-items:center;width:54px;height:48px;font-size:clamp(20px,1.5vw,25px);font-weight:520;display:grid}.day.selected strong{background:linear-gradient(#436edf,#385fc0)}.day i{background:#5275ff;border-radius:50%;width:6px;height:6px;margin-top:-6px}.calendar-panel h2{padding:16px 8px 14px;font-size:clamp(21px,1.55vw,26px);font-weight:540}.event-list{gap:11px;min-height:0;display:grid;overflow:hidden}.event{background:#1d2634d6;border-radius:8px;gap:20px;min-height:80px;padding:12px 14px}.event time{color:#64a2ff;background:#2e4f8c40;border-radius:8px;place-items:center;width:68px;min-width:68px;height:54px;font-size:20px;font-weight:720;display:grid}.event.calendar time{color:var(--violet);background:#7768ff29}.event.tooth time{color:var(--green);background:#67d65726}.event.shopping time{color:var(--amber);background:#ffba4321}.event.people:last-child time{color:var(--pink);background:#ff6f9f1f}.event svg{color:#cbd3df}.event div{flex:1;min-width:0}.event h3{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(17px,1.25vw,22px);font-weight:560;overflow:hidden}.event p{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:clamp(14px,1vw,17px);overflow:hidden}.event button{color:#a8b1bf;cursor:pointer;background:0 0;place-items:center;width:34px;height:44px;display:grid}.view-calendar{justify-content:space-between;margin-top:12px;padding:0 18px 0 22px;font-size:clamp(17px,1.25vw,21px)}.status-bar{border:1px solid var(--line);background:#0f1620d1;border-radius:14px;grid-area:2/1/auto/-1;grid-template-columns:1fr 1fr 1fr 1fr auto auto;align-items:center;min-height:84px;display:grid;overflow:hidden}.footer-metric{gap:16px;min-width:0;height:54px;padding:0 clamp(18px,2.4vw,34px)}.footer-metric+.footer-metric{border-left:1px solid var(--line)}.footer-metric svg{color:#bdc6d4;min-width:30px}.footer-metric div{gap:4px;min-width:0;display:grid}.footer-metric strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:520;overflow:hidden}.footer-metric strong.active{color:var(--green)}.settings,.theme-toggle{color:#bdc6d4;place-items:center;width:66px;height:66px;display:grid}.theme-toggle{margin-right:8px}.settings{margin-right:14px}.config-backdrop{z-index:10;backdrop-filter:blur(14px);background:#01050c9e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.config-dialog{border:1px solid var(--line);background:linear-gradient(#141d2afa,#0c121bfa);border-radius:16px;width:min(820px,100vw - 48px);max-height:calc(100vh - 48px);overflow:hidden;box-shadow:0 30px 90px #00000073}.config-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.config-head h2{font-size:22px;font-weight:680}.icon-button{cursor:pointer;background:#1e2735db;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.config-form{grid-template-rows:minmax(310px,1fr) auto;grid-template-columns:180px minmax(0,1fr);min-height:440px;padding:0;display:grid}.config-sidebar{border-right:1px solid var(--line);background:#090f186b;align-content:start;gap:6px;padding:14px 10px;display:grid}.config-nav-item{min-height:40px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:10px;padding:0 12px;display:flex}.config-nav-item svg{color:#aeb8c6}.config-nav-item.active{color:#fff;background:#5d7cff2e}.config-nav-item.active svg{color:var(--blue)}.config-content{min-width:0;padding:22px 24px}.config-section{gap:18px;display:grid}.config-actions{grid-column:2}.config-section-title{align-items:center;gap:14px;padding-bottom:4px;display:flex}.config-section-title>svg{color:var(--blue)}.config-section-title h3{color:inherit;text-transform:none;font-size:24px;font-weight:720}.config-section-title p{color:var(--muted);margin-top:3px;font-size:14px}.config-section label{color:var(--muted);gap:7px;font-size:14px;display:grid}.config-section input{border:1px solid var(--line);width:100%;min-height:44px;color:inherit;font:inherit;background:#050a12c7;border-radius:8px;outline:none;padding:0 12px}.config-section input:focus{border-color:#5d7cffb8;box-shadow:0 0 0 3px #5d7cff29}.config-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:12px;padding:14px 20px;display:flex}.secondary-action,.primary-action{cursor:pointer;border-radius:8px;min-width:116px;min-height:44px;font-weight:720}.secondary-action{background:#1e2735db}.primary-action{background:linear-gradient(#6ee054,#3ca638);box-shadow:inset 0 1px #ffffff3d,0 12px 30px #37b14238}.idle-overlay{z-index:20;color:inherit;cursor:pointer;background:radial-gradient(circle at 24% 18%,#5d7cff2e,#0000 32%),radial-gradient(circle at 78% 72%,#67d6571f,#0000 32%),linear-gradient(145deg,#05080efa,#0a1019fa);border:0;grid-template-columns:minmax(0,1fr) minmax(360px,.58fr);align-items:center;gap:clamp(34px,5vw,72px);padding:clamp(46px,7vw,92px);display:grid;position:fixed;inset:0}.idle-clock-block{gap:18px;display:grid}.idle-clock{font-size:clamp(128px,19vw,260px);font-weight:780;line-height:.86}.idle-clock-block p{color:var(--muted);font-size:clamp(28px,3vw,44px)}.idle-info{gap:18px;display:grid}.idle-weather{border:1px solid var(--line);background:#121924b8;border-radius:18px;grid-template-columns:auto 1fr;gap:18px;padding:24px;display:grid;box-shadow:inset 0 1px #ffffff0d,0 24px 80px #00000038}.idle-weather>svg{color:var(--amber)}.idle-weather strong{font-size:62px;line-height:.95;display:block}.idle-weather span{color:var(--muted)}.idle-weather-meta{grid-column:1/-1;gap:16px;display:flex}.idle-weather-meta span{align-items:center;gap:8px;display:flex}:root[data-theme=light] .dashboard{background:radial-gradient(circle at 18% 12%,#315fdc24,#0000 34%),radial-gradient(circle at 78% 18%,#2d85601a,#0000 28%),linear-gradient(145deg,#f8fbff 0%,#eef3f8 48%,#e5ecf4 100%)}:root[data-theme=light] .dashboard:before{opacity:.45;background-image:linear-gradient(#1720300d 1px,#0000 1px)}:root[data-theme=light] .date-stack{border-left-color:#0f172a2e}:root[data-theme=light] .status-chip{color:#182231}:root[data-theme=light] .garage-panel,:root[data-theme=light] .calendar-panel{background:linear-gradient(#ffffffd1,#ebf1f8f0);box-shadow:inset 0 1px #ffffffe0,0 22px 60px #222f4824}:root[data-theme=light] .health-pill,:root[data-theme=light] .calendar-actions button,:root[data-theme=light] .view-calendar,:root[data-theme=light] .settings,:root[data-theme=light] .theme-toggle{background:#ffffffb8;box-shadow:inset 0 1px #ffffffe6,0 10px 28px #2f416014}:root[data-theme=light] .building{filter:drop-shadow(0 18px 24px #404b5c42);background:linear-gradient(#d9e0e8,#aeb8c5 34%,#758394 100%)}:root[data-theme=light] .roof{background:#5b6674;border-top-color:#7c8796}:root[data-theme=light] .garage-opening{background:linear-gradient(#c7d0db 0%,#7a8797 100%);border-color:#5e6978;box-shadow:inset 0 10px 18px #3a455629,0 14px 28px #2b354638}:root[data-theme=light] .garage-opening.interior-visible{background:#131b275e;box-shadow:inset 0 18px 26px #0000004d,inset 0 -14px 20px #00000029,0 14px 28px #2b354638}:root[data-theme=light] .garage-door-slab{background:linear-gradient(#7c8796 0%,#596575 100%);box-shadow:inset 0 10px 18px #ffffff24}:root[data-theme=light] .garage-opening.raised .garage-door-slab{background:linear-gradient(#586575 0%,#8995a5 100%)}:root[data-theme=light] .garage-door-slab i{border-bottom-color:#ffffff2e;box-shadow:0 1px #2b354657}:root[data-theme=light] .driveway{background:linear-gradient(#ccd6e166,#aebac9f5);border-top-color:#0f172a14}:root[data-theme=light] .close-button:before{background:linear-gradient(#9aa5b3,#687383)}:root[data-theme=light] .day strong{color:#172033}:root[data-theme=light] .day.selected strong{color:#fff}:root[data-theme=light] .event{background:#ffffffad;box-shadow:inset 0 1px #ffffffdb}:root[data-theme=light] .event svg,:root[data-theme=light] .event button,:root[data-theme=light] .footer-metric svg,:root[data-theme=light] .settings,:root[data-theme=light] .theme-toggle{color:#5a6576}:root[data-theme=light] .status-bar{background:#ffffffbd;box-shadow:0 14px 42px #222f481a}:root[data-theme=light] .config-backdrop{background:#dae2edb3}:root[data-theme=light] .config-dialog{background:linear-gradient(#fffffffa,#ebf1f8fa);box-shadow:0 30px 90px #222f4838}:root[data-theme=light] .config-sidebar{background:#e2e9f29e}:root[data-theme=light] .config-nav-item.active{color:#172033;background:#315fdc24}:root[data-theme=light] .icon-button,:root[data-theme=light] .secondary-action{background:#ffffffc7;box-shadow:inset 0 1px #ffffffe6,0 10px 28px #2f416014}:root[data-theme=light] .config-section input{background:#ffffffb8}:root[data-theme=light] .idle-overlay{background:radial-gradient(circle at 24% 18%,#315fdc24,#0000 32%),radial-gradient(circle at 78% 72%,#2d85601f,#0000 32%),linear-gradient(145deg,#f7fbfffa,#e6edf6fa)}:root[data-theme=light] .idle-weather{background:#ffffffad;box-shadow:inset 0 1px #ffffffe6,0 24px 70px #222f4824}@media (width<=1180px),(height<=760px){.dashboard{grid-template-columns:minmax(620px,1.55fr) minmax(360px,.95fr);gap:18px;padding:28px}.calendar-panel{min-height:500px}.garage-visual{min-height:220px}.event{min-height:68px}}@media (width<=1320px) and (height<=840px){.dashboard{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1.55fr) minmax(390px,.95fr);gap:16px;min-width:0;min-height:0;padding:24px 24px 20px}.left-pane{flex-direction:column;min-height:0;display:flex}.topbar{gap:16px}.time-block{gap:18px}.clock{font-size:74px}.date-stack{gap:8px;min-width:150px;padding-left:18px;font-size:18px}.system-links{gap:14px;padding-top:5px}.status-chip{gap:7px;font-size:13px}.status-chip svg{width:22px;height:22px}.status-chip i{width:6px;height:6px;left:15px}.greeting{gap:12px;margin:16px 0 14px;font-size:18px}.greeting svg{width:20px;height:20px}.garage-panel{border-radius:14px;flex:1;grid-template-rows:auto minmax(150px,1fr) auto;min-height:0}.panel-heading{gap:14px;padding:16px 18px 0}.panel-heading>div{gap:12px}.accent-icon{width:28px;height:28px}h1{font-size:22px}.panel-heading p{font-size:15px}.health-pill{gap:9px;min-width:168px;min-height:40px;padding:0 12px;font-size:14px}.health-pill svg{width:20px;height:20px}.garage-visual{min-height:168px;margin:0 18px}.building{height:62%;padding:26px 8% 0;bottom:18px}.roof{border-top-width:5px;height:16px;bottom:calc(18px + 62%)}.garage-opening{border-width:6px 4px 4px;min-height:104px}.driveway{height:24px}.door-card{gap:6px;padding:10px 22px 16px}.door-card h3{font-size:20px}.door-state{gap:8px;font-size:17px}.door-card small{font-size:13px}.door-actions{gap:14px;margin-top:4px}.door-action-button{min-height:58px}.door-action-button:before{width:min(100%,98px);height:62px}.calendar-panel{border-radius:14px;align-self:stretch;height:100%;min-height:0;padding:14px 12px 10px}.calendar-head{gap:10px;padding:0 6px 10px}.calendar-head>div:first-child{gap:10px;font-size:21px}.calendar-head svg{width:24px;height:24px}.calendar-actions{gap:8px}.calendar-actions button{min-width:36px;min-height:38px;padding:0 10px;font-size:15px}.calendar-actions button:not(:last-child){font-size:28px}.week-row{gap:2px;padding:0 8px 10px}.day{gap:5px;min-height:58px;font-size:13px}.day strong{width:40px;height:36px;font-size:18px}.day i{width:5px;height:5px;margin-top:-5px}.calendar-panel h2{padding:10px 6px 9px;font-size:19px}.event-list{gap:8px}.event{gap:12px;min-height:58px;padding:7px 10px}.event time{width:52px;min-width:52px;height:40px;font-size:16px}.event svg{width:22px;height:22px}.event h3{font-size:16px}.event p{margin-top:2px;font-size:13px}.event button{width:26px;height:34px}.view-calendar{min-height:40px;margin-top:8px;padding:0 12px 0 16px;font-size:16px}.status-bar{border-radius:12px;min-height:68px}.footer-metric{gap:10px;height:46px;padding:0 18px}.footer-metric svg{width:25px;min-width:25px;height:25px}.footer-metric span{font-size:13px}.footer-metric strong{font-size:15px}.settings,.theme-toggle{width:50px;height:50px;min-height:50px}.settings svg,.theme-toggle svg{width:25px;height:25px}.config-backdrop{padding:18px}.config-dialog{width:min(760px,100vw - 36px);max-height:calc(100vh - 36px)}.config-head{padding:14px 16px}.config-form{grid-template-rows:minmax(250px,1fr) auto;grid-template-columns:150px minmax(0,1fr);min-height:350px}.config-sidebar{gap:4px;padding:10px 8px}.config-nav-item{gap:8px;min-height:36px;padding:0 10px;font-size:14px}.config-content{padding:16px 18px}.config-section{gap:12px}.config-section-title{gap:10px}.config-section-title h3{font-size:20px}.config-section-title p{font-size:13px}.config-section input{min-height:38px}.config-actions{padding:10px 16px}.secondary-action,.primary-action{min-height:40px}.idle-overlay{gap:32px;padding:44px}.idle-clock{font-size:146px}.idle-clock-block p{font-size:28px}.idle-weather{padding:18px}.idle-weather strong{font-size:48px}}
