/* Haus-Cockpit: temperature, weather and scene views */
.notices-history{border-top:1px solid #e1e6df;margin-top:18px;padding-top:6px}.notices-history>summary{display:flex;gap:10px;align-items:center;cursor:pointer;min-height:48px;font-weight:600}.notices-history>summary span{font-size:12px;background:#edf1e9;border-radius:9px;padding:3px 8px;color:#667366}.notice-item.archived{background:#f6f7f3}.notice-item.archived .notice-symbol{background:#e9ede6;color:#73806e}.notice-item.archived p,.notice-item.archived small{color:#71806f}
.environment-row{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.8fr);gap:20px;align-items:start;margin:24px 0}.environment-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.environment-title h2{font-size:19px}.environment-title p{font-size:13px;color:#65756d;margin-top:6px}.environment-title .text-button{font-size:12px}.weather-card{background:#eaf1ed;border:1px solid #d9e3dc;border-radius:18px;padding:21px;min-width:0}.weather-card .environment-title .text-button{max-width:65%;overflow-wrap:anywhere;text-align:left}.weather-now{display:flex;align-items:center;gap:15px;margin:21px 0;color:#35564a}.weather-now>strong{font-size:38px;font-weight:550;letter-spacing:-1px;white-space:nowrap}.weather-now>strong small{font-size:18px}.weather-now>span{font-size:13px;display:grid;gap:3px}.weather-now>span small{color:#687e71;font-size:11px}.weather-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-top:1px solid #d4e0d7;padding-top:18px}.weather-days>div{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px}.weather-days strong{font-size:11px;font-weight:600}.weather-days small{font-size:10px;color:#63786b}.weather-days>div>span{white-space:nowrap}.weather-source{font-size:10px;color:#627668;margin-top:16px;display:block;line-height:1.6}.weather-source a{text-decoration:underline;text-underline-offset:2px}.weather-source.is-stale,.environment-warning{color:#8d5b2b}.environment-warning{font-size:12px;margin-top:10px}.temperature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.temperature-card{border:1px solid #e0e6de;border-radius:15px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:8px;text-align:left;min-width:0}.temperature-card:hover{border-color:#8ba694}.temperature-card>span{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:550;overflow-wrap:anywhere}.temperature-card>span svg{flex-shrink:0;color:#738a76}.temperature-card>strong{font-size:28px;font-weight:500;letter-spacing:-.7px}.temperature-card>strong small{font-size:14px;color:#778777}.temperature-card>small{font-size:10px;color:#647267;line-height:1.4;overflow-wrap:anywhere}.temperature-card.is-stale{background:#f5f4ef;border-color:#e7dfcd}.temperature-card.is-stale>strong{color:#80775e}.temperature-summary>.text-button{margin-top:12px}.temperature-details{background:#fff;border:1px solid #e0e6de;padding:20px;border-radius:16px;margin-bottom:24px}.temperature-line{display:flex;gap:14px;align-items:center;border-top:1px solid #edf0e9;padding:12px 0;min-width:0}.temperature-source{flex:1;min-width:0;text-align:left;padding:0;display:flex;flex-direction:column;gap:4px}.temperature-source strong{font-size:13px;overflow-wrap:anywhere}.temperature-source small{font-size:11px;color:#6c796d}.temperature-line>strong{font-size:18px;font-weight:500;white-space:nowrap}.environment-empty{font-size:13px;color:#69796c;padding:15px 0;line-height:1.6}.home-tile-temperature{display:block;font-size:25px;font-weight:500;margin:6px 0}.home-tile-temperature>small:first-child{font-size:13px}.home-tile-temperature>small:last-child{display:block;font-size:10px;font-weight:400;color:#6e7d70;margin-top:4px}.environment-dialog{max-width:520px}.environment-dialog>p{font-size:13px;margin:10px 0 18px}.environment-dialog label,.scene-dialog label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin:15px 0}.environment-dialog input,.environment-dialog select,.scene-dialog input,.scene-dialog select{padding:12px;border:1px solid #dbe2d7;border-radius:9px;background:#fff;font-size:15px;min-width:0;width:100%;color:#304b3e}.environment-dialog .home-favorite{flex-direction:row;align-items:center}.environment-dialog .home-favorite input{width:auto}.environment-dialog .text-button{margin-top:18px}.weather-results{display:flex;flex-direction:column;gap:8px;margin:18px 0}.weather-results .button{justify-content:space-between;white-space:normal;text-align:left;font-size:13px}.scenes-panel{margin:24px 0}.scenes-compact{padding:0}.scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scenes-compact .scene-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.scene-card{display:flex;align-items:center;background:#fff;border:1px solid #dfe5db;border-radius:14px;min-width:0;padding:4px}.scene-start{display:flex;align-items:center;gap:12px;text-align:left;flex:1;min-width:0;padding:12px}.scene-start>span:nth-child(2){flex:1;min-width:0;display:grid;gap:4px}.scene-start strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.scene-start small{font-size:11px;color:#71806f}.scene-start>svg{flex-shrink:0;color:#729078}.scene-symbol{background:#edf2e8;color:#718264;border-radius:12px;width:42px;height:42px;display:grid;place-items:center;flex-shrink:0}.scene-symbol.icon-moon{background:#eeedf5;color:#85809d}.scene-symbol.icon-sun{background:#faf0d9;color:#aa8d42}.scene-templates{display:flex;gap:10px;flex-wrap:wrap;padding:22px 0 12px;align-items:center}.scene-templates h3{width:100%;margin-bottom:3px}.scene-empty{padding:14px 0;font-size:13px;color:#72806e}.scene-empty .text-button{font-size:13px;margin-top:8px}.scene-dialog{max-width:650px}.scene-dialog h3{margin:20px 0 12px}.scene-dialog .button{font-size:13px}.scene-icons{display:flex;gap:8px;margin:15px 0}.scene-icons .selected{background:#e7eee2;color:#31594a}.scene-editor-action{padding:16px;border:1px solid #e0e5dc;border-radius:12px;margin-bottom:12px;display:grid;grid-template-columns:1fr auto;gap:10px}.scene-editor-action>div{display:grid;gap:4px}.scene-editor-action strong{font-size:14px}.scene-editor-action span{font-size:13px}.scene-editor-action small{font-size:11px;color:#967147}.scene-editor-action label{grid-column:1/-1;margin:0}.scene-add{margin:18px 0 24px}.scene-add .button{margin-top:0}.scene-delete{border-top:1px solid #e6e9e0;margin-top:24px;padding-top:20px;font-size:13px}.scene-delete .text-button{display:inline-flex;margin:10px;color:#92634d;font-size:12px}.scene-run-steps{padding-left:23px;margin:20px 0}.scene-run-steps li{padding:5px 0 16px 6px;border-bottom:1px solid #e7ebe1;margin-bottom:12px;font-size:13px}.scene-run-steps strong,.scene-run-steps span,.scene-run-steps small{display:block;margin-bottom:5px}.scene-run-steps small{color:#77866f}.scene-dialog>p{font-size:13px;margin:16px 0;line-height:1.6}.scene-dialog>.button{margin:6px 10px 6px 0}.step-result{font-size:12px;color:#5f7156;line-height:1.6}.step-result.rejected,.step-result.unconfirmed{color:#986b3e}.scene-history{margin-top:24px}.scene-history summary{font-size:14px;cursor:pointer;padding:12px 0}.scene-history>button{display:flex;width:100%;gap:12px;align-items:center;text-align:left;padding:14px 0;border-top:1px solid #e6ebe1;font-size:12px}.scene-history>button>span:first-child{flex:1;display:grid;gap:5px}.scene-history small{color:#798671}.home-heading h1{font-size:32px}.home-heading>div>p:last-child{color:#6c7b6f}.scene-dialog .error-strip,.environment-dialog .error-strip,.scenes-panel .error-strip{margin:12px 0}.home-overview .subtle,.scenes-panel .subtle{font-size:12px;color:#6d7c69}.sidebar{overflow-y:auto}.sidebar nav{gap:2px}.sidebar .nav-item{padding-top:9px;padding-bottom:9px}
@media(max-width:1150px){.environment-row{grid-template-columns:minmax(250px,1fr) minmax(0,1.3fr)}.temperature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scenes-compact .scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.environment-row{grid-template-columns:1fr;gap:23px;margin:20px 0}.weather-card{padding:19px;border-radius:17px}.weather-now{margin:12px 0 17px}.weather-now>strong{font-size:36px}.weather-days{gap:12px}.weather-days strong{font-size:12px}.weather-days small{font-size:11px}.temperature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.temperature-card{padding:15px}.temperature-card>small{font-size:11px}.environment-title h2{font-size:19px}.temperature-details{padding:16px}.temperature-line{gap:8px}.temperature-line>strong{font-size:16px}.scene-grid{grid-template-columns:1fr}.scenes-compact .scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-start{gap:8px;padding:9px 7px}.scene-symbol{width:32px;height:36px}.scene-start strong{font-size:12px}.scene-start>svg{width:13px}.environment-dialog,.scene-dialog{width:calc(100% - 24px);max-height:88dvh;padding:22px;overflow:auto}.environment-dialog input,.environment-dialog select,.scene-dialog input,.scene-dialog select{font-size:16px}.environment-title .home-tools{gap:5px}.scenes-panel.panel{padding:18px}.scenes-panel .environment-title{align-items:flex-start}.scenes-panel .environment-title .button{padding:10px;font-size:12px}.home-heading h1{font-size:28px}.sidebar{overflow:visible}.sidebar nav .nav-navimow,.sidebar nav .nav-gardena{display:none}.sidebar nav .nav-scenes{display:flex}.sidebar nav .nav-item{flex:1!important;min-width:0!important}.sidebar nav .nav-item span{display:block;font-size:9px}.sidebar nav .nav-account{display:flex}.home-tile-temperature>small:last-child{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spin{animation:none!important}}

/* One outdoor reading, one selected reading for each room. */
.outdoor-reading{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;padding:2px 0 20px;color:#35564a}.outdoor-reading>strong{font-size:43px;font-weight:550;letter-spacing:-1px;line-height:1.15}.outdoor-reading>strong small{font-size:20px;font-weight:400}.outdoor-reading>span{font-size:12px}.outdoor-reading>small{font-size:10px;color:#6a7d70}.outdoor-reading.is-stale>strong,.outdoor-reading.is-stale>small{color:#8a6a3e}.weather-forecast-heading{border-top:1px solid #d4e0d7;padding-top:18px;margin-bottom:14px}.weather-forecast-heading h3{font-size:14px;font-weight:600}.weather-card .weather-days{border-top:0;padding-top:0}.temperature-room-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:4px}.temperature-room-heading h3{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:550;line-height:1.4;overflow-wrap:anywhere;min-width:0}.temperature-room-heading h3 svg{flex-shrink:0;color:#738a76}.temperature-room-heading .home-icon-button{width:26px;height:26px;flex-shrink:0;margin-top:-5px;margin-right:-5px}.temperature-card-value{display:flex;flex-direction:column;gap:8px;text-align:left;padding:0;width:100%;min-width:0}.temperature-card-value>strong{font-size:30px;font-weight:500;letter-spacing:-.7px}.temperature-card-value>strong small{font-size:14px;color:#778777}.temperature-card-value>small{font-size:11px;color:#647267;line-height:1.45;overflow-wrap:anywhere}.room-temperature.is-stale .temperature-card-value>strong{color:#80775e}.temperature-source-options{display:grid;gap:10px}.temperature-source-option{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dce3d9;border-radius:12px;padding:14px;min-width:0}.temperature-source-option.selected{border-color:#739684;background:#f0f5ee}.temperature-source-option>span{display:grid;gap:4px;flex:1;min-width:0}.temperature-source-option strong{font-size:13px;overflow-wrap:anywhere}.temperature-source-option small{font-size:11px;color:#6b7b70}.temperature-source-option>b{font-size:17px;white-space:nowrap;font-weight:500}.temperature-source-option>svg{flex-shrink:0;color:#35564a}
@media(max-width:760px){.outdoor-reading>small{font-size:11px}.temperature-room-heading h3{font-size:12px}.temperature-room-heading .home-icon-button{width:25px;height:25px}.temperature-card-value>strong{font-size:28px}}

/* Mobile daily use: compact climate summary and direct device access. */
.home-climate{border:1px solid #dce5dc;border-radius:16px;background:#eef3ee;margin:18px 0}.home-climate>summary{list-style:none;cursor:pointer;padding:14px 17px}.home-climate>summary::-webkit-details-marker{display:none}.home-climate-title{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600}.home-temperature-strip{display:flex;gap:25px;overflow-x:auto;margin-top:12px;padding-bottom:4px;scrollbar-width:thin}.home-temperature-strip>span{display:grid;gap:4px;min-width:max-content}.home-temperature-strip small{font-size:11px;color:#657c6b}.home-temperature-strip strong{font-size:21px;font-weight:500}.home-temperature-strip i{font-size:10px;font-style:normal;font-weight:400;color:#94734c;margin-left:5px}.home-climate[open]>summary .home-temperature-strip{display:none}.home-climate[open]>summary svg{transform:rotate(90deg)}.home-climate .home-environment{padding:0 15px}.home-climate .environment-row{margin:8px 0 18px}.home-climate .weather-card{background:#fff}.home-climate .temperature-details{margin-top:12px}.home-heading{margin-bottom:14px}.home-overview .scenes-panel{margin:17px 0}.home-overview .scenes-panel .environment-title{margin-bottom:10px}.account-workspace{display:flex;flex-direction:column}.account-login-panel{order:-1}.remember-status{border-bottom:1px solid #e0e6dc;padding-bottom:18px;margin-bottom:18px}.remember-status .text-button{margin:10px 0}.auth-card .remember-choice{display:flex;flex-direction:row;gap:12px;align-items:flex-start;font-weight:400;font-size:14px}.auth-card .remember-choice input{width:20px;height:20px;margin-top:2px;flex-shrink:0;accent-color:#31574a}.remember-choice span{display:grid;gap:5px}.remember-choice small{font-size:12px;color:#6d7d70}.device-energy>section{margin-top:22px}.device-energy>section>h2{font-size:19px;margin-bottom:14px}.device-energy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.device-energy-card{min-width:0;padding:20px}.device-energy-card h3{font-size:16px;overflow-wrap:anywhere}.device-energy-value{font-size:29px;margin:14px 0;font-weight:500}.device-energy-value small{font-size:13px;font-weight:400}.device-energy-card>p:not(.device-energy-value){font-size:13px}.device-energy-card>small{display:block;color:#6e7c70;font-size:11px}.device-energy-card .button,.device-energy-card .text-button{margin-top:18px;font-size:13px}
@media(max-width:760px){.home-heading .eyebrow{display:none}.home-heading{padding-top:0}.home-heading h1{font-size:26px}.home-status-row{gap:7px;margin-bottom:12px}.home-climate{margin:12px 0}.home-climate>summary{padding:12px 14px}.home-temperature-strip{gap:20px}.home-overview .scenes-compact .scene-grid{display:flex;overflow-x:auto;gap:9px;padding-bottom:3px}.home-overview .scenes-compact .scene-card{min-width:165px;flex:0 0 48%}.home-overview .scenes-compact .scene-start{min-height:62px}.home-overview .scene-symbol{width:28px;height:32px}.home-room-tabs{margin-top:12px}.home-tile{min-height:150px}.home-tile-time{font-size:10px}.home-monitoring{margin-top:26px}.sidebar nav .nav-item{min-height:53px;padding-bottom:8px}.device-energy-grid{grid-template-columns:1fr}.device-energy-card{padding:18px}.remember-status .button{width:100%;justify-content:center}.home-climate .home-environment{padding:0 9px}.home-climate .environment-row{gap:18px}.home-climate .weather-card{padding:16px}}

@media(max-width:760px){.home-alerts{margin-bottom:16px}.home-room-tabs{padding-bottom:10px;margin-bottom:6px}.home-overview .home-status-row{margin-bottom:8px}.home-temperature-strip{scrollbar-width:none}.home-temperature-strip::-webkit-scrollbar{display:none}}
/* Everyday navigation */
.simple-shell .sidebar .nav-item{display:flex;font-size:14px;min-height:48px;padding:13px 14px}
.simple-shell .sidebar .nav-item span{display:block}
.simple-shell .sidebar nav{gap:6px}.simple-shell .sidebar-bottom p{font-size:11px}
.simple-shell .mobile-account{display:none}.simple-shell .topbar{height:64px}
.simple-shell .compact-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}
.simple-shell .compact-heading h1{font-size:30px;letter-spacing:-.7px;line-height:1.2}
.simple-shell .compact-heading .button{margin:0;font-size:13px;flex-shrink:0;min-height:44px}
.page-back{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:13px;color:#59725f;margin:0 0 10px;padding:4px 0}
.section-tabs{display:flex;gap:5px;padding:5px;background:#eaf0e8;border-radius:12px;margin:0 0 20px;max-width:520px}
.section-tabs button{flex:1;min-height:43px;border-radius:9px;font-size:14px;color:#667965}
.section-tabs button[aria-current=page]{color:#284f3e;background:white;box-shadow:0 1px 4px #244e3c0d;font-weight:600}
.settings-workspace,.connections-workspace,.account-workspace{max-width:900px}
.settings-list{border:1px solid #dfe5dc;border-radius:18px;background:#fff;overflow:hidden}
.settings-row{width:100%;display:flex;align-items:center;gap:16px;min-height:88px;padding:20px;text-align:left;border-bottom:1px solid #e8ece4;color:#2f483b}
.settings-row:last-child{border-bottom:0}.settings-row:hover{background:#f7f9f4}.settings-row:focus-visible,.page-back:focus-visible,.section-tabs button:focus-visible{outline:2px solid #537e64;outline-offset:-3px}
.settings-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#eef3e9;color:#658164;flex-shrink:0}
.settings-row>span:nth-child(2){display:grid;gap:6px;flex:1;min-width:0}.settings-row strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}.settings-row small{font-size:13px;color:#768272;line-height:1.4}.settings-row>svg{flex-shrink:0;color:#8b9b86}
.settings-note{font-size:13px;line-height:1.65;color:#657561;margin:0 0 18px;max-width:680px}.settings-workspace .settings-note{margin:22px 0}.settings-version{color:#8a9585;font-size:12px;display:block;margin-top:28px}
.connection-state{font-size:11px;color:#887b5f;flex-shrink:0;background:#f4f1e9;padding:5px 9px;border-radius:14px}.connection-state.connected{color:#587659;background:#edf3e7}
.settings-pending{margin-top:24px;border:1px solid #e0e5db;border-radius:15px;padding:0 20px;background:#f8f9f5}
.settings-pending>summary{cursor:pointer;font-size:14px;min-height:54px;padding:17px 0;color:#64715f}
.settings-pending>div{border-top:1px solid #e2e7db;padding:17px 0}.settings-pending h3{font-size:15px}.settings-pending p{font-size:13px;line-height:1.55;margin:7px 0;color:#74816b}.settings-pending .text-button{font-size:13px;min-height:44px}
.planned-device-form{border-top:1px solid #dfe6d7;padding:18px 0}.planned-device-form label{display:grid;gap:7px;margin:16px 0;font-size:14px}.planned-device-form input{width:100%;padding:12px;border:1px solid #d4dfcc;border-radius:9px;font-size:16px;background:white}
.simple-shell .account-login-panel{order:0}.simple-shell .account-panel{padding:24px}.simple-shell .account-panel .panel-heading{margin-bottom:18px}.simple-shell .account-panel h2{font-size:21px}.simple-shell .account-panel p{line-height:1.65}.simple-shell .account-panel .button{min-height:44px}.setup-details{margin-top:24px;border-top:1px solid #e0e6d9;padding-top:8px}.setup-details>summary{padding:16px 0;font-size:14px;cursor:pointer}.setup-details h3{font-size:16px;margin:20px 0 12px}.setup-details details{margin-top:22px}
@media(max-width:760px){
 .simple-shell .sidebar .brand{margin-bottom:0}.simple-shell .sidebar{height:62px;padding-top:0}
 .simple-shell .sidebar nav{overflow:visible!important;gap:3px!important;padding-top:6px}
 .simple-shell .sidebar nav .nav-item{display:flex!important;flex:1 1 0!important;min-width:0!important;min-height:54px;padding:7px 2px;font-size:11px}
 .simple-shell .sidebar nav .nav-item span{display:block;font-size:10.5px;line-height:1.3}.simple-shell .sidebar nav .nav-item svg{width:21px;height:21px}
 .simple-shell .content{padding:18px 16px 90px}.simple-shell .content:has(.home-overview){padding-top:18px}
 .simple-shell .topbar{display:none}.simple-shell .compact-heading h1{font-size:27px}.simple-shell .compact-heading{margin-bottom:20px;flex-wrap:wrap}.simple-shell .compact-heading .button{font-size:12px}
 .page-back{margin-bottom:6px;font-size:13px}.section-tabs{margin-bottom:18px}.section-tabs button{font-size:13px}
 .settings-row{gap:12px;padding:17px 14px;min-height:88px}.settings-icon{width:38px;height:40px;border-radius:11px}.settings-row strong{font-size:15px}.settings-row small{font-size:12px}
 .connection-row{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;gap:5px 12px;min-height:83px}.connection-row>.settings-icon{grid-row:1/3}.connection-row>span:nth-child(2){gap:3px;grid-column:2;grid-row:1}.connection-row>.connection-state{grid-column:2;grid-row:2;justify-self:start;padding:0;background:none;font-size:11px}.connection-row>svg{grid-column:3;grid-row:1/3}
 .settings-pending{padding:0 15px}.simple-shell .account-panel{padding:20px}.simple-shell .account-panel h2{font-size:20px}.simple-shell .account-panel p{font-size:13px}.simple-shell .remember-status .text-button{min-height:44px}
}

.heating-details{margin:22px 0;border:1px solid #dce4d6;border-radius:14px;padding:0 18px}.heating-details>summary{cursor:pointer;min-height:52px;padding:17px 0;font-size:14px;color:#536d55}.heating-details>.overview-grid{margin:8px 0 18px}

.navigation-loading{display:flex;align-items:center;gap:10px;font-size:14px;color:#6a7d68;padding:25px 0}
/* 1.12: direct device controls, notices and recurring scenes */
.home-tile{padding:0;overflow:hidden;align-items:stretch}.home-tile-open{display:flex;flex-direction:column;align-items:flex-start;width:100%;flex:1;text-align:left;padding:20px;background:transparent;min-height:165px;min-width:0}.home-tile-open:focus-visible,.tile-quick-button:focus-visible{outline:3px solid #537b68;outline-offset:-4px}.tile-quick-button{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 12px 12px;padding:10px 8px;min-height:44px;background:#edf2eb;border:1px solid #dce6d8;border-radius:12px;color:#31574a;font-size:13px;font-weight:600}.tile-quick-button:hover{background:#dfe9db}.home-tile.is-active .tile-quick-button{background:#fff9}.tile-quick-button:disabled{opacity:.6;cursor:default}.tile-check{justify-content:center;margin:0 8px 12px;font-size:12px}.home-tile .home-tile-time{padding-top:10px}.home-status-row>button{min-height:44px}.notice-count{font-size:13px;background:#e3ecdf;color:#3b624b;border-radius:20px;padding:4px 9px;vertical-align:middle}.notices-dialog{max-width:620px}.notices-dialog .home-dialog-title{margin-bottom:15px}.notices-dialog .subtle{font-size:12px;line-height:1.6;color:#6e7d70;margin-top:18px}.notices-dialog>.text-button{min-height:44px;font-size:12px}.notices-list{margin:12px 0}.notice-item{display:flex;gap:12px;padding:17px 0;border-bottom:1px solid #e4eadf}.notice-item>div{min-width:0;flex:1}.notice-item strong{display:block;font-size:15px;line-height:1.4}.notice-item p{font-size:13px;line-height:1.6;color:#637268;margin:6px 0}.notice-item small{font-size:11px;color:#859080}.notice-symbol{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:#edf2e8;color:#66845b}.notice-item.warning .notice-symbol,.notice-item.danger .notice-symbol{background:#faf0e1;color:#a2703e}.notice-item.unread strong:after{content:'';display:inline-block;height:7px;width:7px;border-radius:50%;background:#3b7856;margin-left:8px;vertical-align:middle}.notice-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.notice-actions .text-button{font-size:12px;min-height:44px}.notices-empty{padding:32px 8px;text-align:center;color:#758170}.notices-empty h3{margin:14px 0;font-size:19px}.notices-empty p{font-size:14px;line-height:1.6}.scene-card{display:block;padding:4px}.scene-card-main{display:flex;align-items:center;min-width:0}.scene-schedule-summary{border-top:1px solid #e6ebe2;margin:0 12px;padding:11px 0 6px;display:grid;gap:7px}.scene-schedule-summary>span{display:flex;gap:7px;align-items:center;font-size:12px;line-height:1.5;color:#42654c}.scene-schedule-summary>small{font-size:11px;line-height:1.6;color:#75806f}.scene-schedule-summary .text-button{justify-self:start;min-height:44px;font-size:12px}.scene-schedule-editor{border:1px solid #dce5d6;border-radius:15px;padding:16px;margin:22px 0}.scene-schedule-editor legend{padding:0 7px;font-weight:600;font-size:15px}.scene-schedule-editor legend svg{vertical-align:middle;margin-right:6px}.scene-schedule-editor p{font-size:13px;line-height:1.6;margin:12px 0}.schedule-days-label{display:block;font-size:13px;margin:18px 0 8px}.schedule-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.schedule-days button{min-height:44px;border:1px solid #dce4d6;border-radius:9px;background:white;font-size:13px}.schedule-days button.selected{background:#365b4d;color:white;border-color:#365b4d}.scene-dialog .schedule-consent{display:flex;flex-direction:row;align-items:flex-start;font-size:13px;line-height:1.6;gap:10px}.scene-dialog .schedule-consent input{width:20px;height:20px;min-height:20px;flex-shrink:0;margin-top:2px;accent-color:#365b4d}.scene-schedule-editor input[type=time]{max-width:180px;min-height:48px}.scene-card-main>.home-icon-button{height:44px;width:44px}.scene-grid .scene-start{min-height:65px}
@media(max-width:760px){.home-tile-open{padding:16px 13px;min-height:153px}.home-tile-top{margin-bottom:15px}.tile-quick-button{font-size:12px;margin:0 10px 10px;min-height:44px}.notices-dialog{width:calc(100% - 24px);padding:22px;max-height:88dvh;overflow:auto}.scene-schedule-editor{padding:12px}.schedule-days{gap:4px}.schedule-days button{font-size:12px;min-height:44px}.scene-schedule-summary{margin:0 10px}.scenes-compact .scene-schedule-summary{padding:8px 0 4px}.scenes-compact .scene-schedule-summary>span{font-size:10px}.scene-history>button{align-items:flex-start;flex-wrap:wrap}}
/* App installation and per-device notifications */
.push-workspace{display:grid;gap:18px;max-width:820px}.push-workspace .panel{padding:25px}.push-workspace h2{font-size:20px;line-height:1.3;margin:0 0 10px}.push-workspace p{line-height:1.55}.push-install{display:flex;gap:16px;align-items:flex-start}.push-install>div{min-width:0}.push-symbol{width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;background:#edf1ec;border-radius:16px;color:#52685d}.push-symbol.on{background:#e0eee4;color:#31574a}.push-install ol{padding-left:19px;margin:15px 0 0;line-height:1.6}.push-install li{padding:4px 0}.push-install li svg,.push-install p svg{vertical-align:middle}.push-options .panel-heading{align-items:flex-start;margin-bottom:14px}.push-options .panel-heading p{margin:0;color:#637067}.push-help{background:#f3f1e8;border-radius:13px;padding:15px;line-height:1.55;margin:15px 0;font-size:14px}.push-help .text-button{display:flex;margin-top:8px}.push-toggles{display:grid;margin:18px 0}.push-toggles label{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid #e6eae3;cursor:pointer}.push-toggles label span{min-width:0}.push-toggles strong{display:block;font-size:15px}.push-toggles small{display:block;font-weight:400;color:#758077;font-size:13px;line-height:1.45;margin-top:5px}.push-toggles input{width:22px;height:22px;flex:0 0 22px;accent-color:#31574a;cursor:pointer}.push-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.push-options .subtle,.push-background .subtle{font-size:12px;line-height:1.6;margin-top:18px}.push-manage{padding:12px 5px;color:#637067;font-size:14px}.push-manage summary{cursor:pointer;padding:10px 0}.push-workspace .error-strip{display:block}.push-workspace .error-strip button{margin-top:10px}.push-workspace .notice{line-height:1.5}.push-workspace .full{justify-content:center}
@media(max-width:600px){.push-workspace{gap:14px}.push-workspace .panel{padding:20px}.push-install{gap:12px}.push-workspace h2{font-size:18px}.push-install>.push-symbol{width:38px;height:38px;flex-basis:38px;border-radius:12px}.push-install ol{margin-left:-43px;margin-top:20px}.push-buttons{display:grid;gap:17px}.push-buttons .button{width:100%;justify-content:center}.push-workspace .button{white-space:normal;min-height:46px}.push-manage .button{margin-top:8px}.push-toggles label{min-height:64px}}
/* Daily overview: search, filters and saved favorite order. */
.home-find{display:grid;gap:10px;margin:15px 0 8px}.home-search{display:flex!important;align-items:center;gap:10px;min-height:46px;background:#fff;border:1px solid #dfe5dc;border-radius:14px;padding:0 13px;color:#708075}.home-search input{flex:1;width:100%;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:12px 0!important;font-size:16px!important;outline-offset:3px}.home-search:focus-within{outline:2px solid #91ae9d;outline-offset:1px}.home-search .home-icon-button{width:36px;height:36px;min-width:36px;background:transparent}.home-search input::-webkit-search-cancel-button{display:none}.home-state-filters{display:flex;gap:8px}.home-state-filters button{display:flex;gap:9px;align-items:center;justify-content:center;flex:1;border:1px solid #dfe5dc;border-radius:12px;background:transparent;min-height:43px;font-size:13px;color:#627268;font-weight:600}.home-state-filters button.selected{background:#31574a;color:#fff;border-color:#31574a}.home-state-filters button>span{font-size:11px;border-radius:8px;background:#e9eee6;min-width:20px;padding:2px 4px;color:#65776b}.home-state-filters button.selected>span{background:#ffffff24;color:white}.home-loaded{display:flex;justify-content:space-between;gap:8px;color:#7b867e;font-size:11px;margin:0 0 14px;line-height:1.5}.home-loaded span{color:#899289}.home-connection-note{display:flex;gap:10px;align-items:flex-start;border-radius:12px;background:#fbefe1;color:#815a33;padding:14px;font-size:13px;line-height:1.5;margin:12px 0}.home-connection-note svg{flex:0 0 17px;margin-top:2px}.home-feedback{font-size:13px;line-height:1.5;color:#496552;display:flex;gap:8px;align-items:center;margin:10px 0}.home-edit-note{background:#eaf0e6;border-radius:15px;padding:15px;margin:14px 0;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.home-edit-note p{display:flex;gap:10px;align-items:center;font-size:13px;line-height:1.45;flex:1 1 230px;margin:0}.home-edit-note svg{flex-shrink:0}.home-edit-note .button{font-size:13px;min-height:44px}.home-no-results{padding:32px 20px;text-align:center;border:1px dashed #cbd6c9;border-radius:18px;margin:18px 0;color:#728373}.home-no-results h2{font-size:19px;color:#344c3e;margin:10px 0}.home-no-results p{font-size:14px;line-height:1.6}.home-no-results .button{margin-top:8px}.home-edit form label>small{font-size:12px;font-weight:400;color:#7a857c;margin:5px 0;line-height:1.5}.favorite-order{width:min(510px,calc(100% - 28px))}.favorite-order .home-dialog-title h2{font-size:22px;margin:0 0 8px}.favorite-order .home-dialog-title p{font-size:13px;color:#768475;margin:0}.favorite-order-list{list-style:none;margin:20px 0;padding:0}.favorite-order-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid #e3e8df}.favorite-order-list li>span{min-width:0}.favorite-order-list strong{font-size:15px;display:block;overflow-wrap:anywhere}.favorite-order-list small{font-size:12px;color:#7b867a;display:block;margin-top:4px}.favorite-order-list li>div{display:flex;gap:5px;flex-shrink:0}.favorite-order-list button{width:44px;height:44px;background:#f0f3ed;border-radius:13px}.favorite-order-list button:disabled{opacity:.25;cursor:default}.favorite-order-footer{display:flex;gap:10px;justify-content:space-between;position:sticky;bottom:-24px;background:#fff;padding:15px 0 0}.favorite-order-footer button{min-height:46px}.home-tile-open:focus-visible,.home-state-filters button:focus-visible,.favorite-order button:focus-visible{outline:3px solid #9ab99e;outline-offset:3px}
@media(max-width:600px){.home-loaded{display:block;font-size:10px;margin-bottom:12px}.home-loaded span{margin-left:8px}.home-find{margin-top:12px}.home-state-filters{gap:6px}.home-state-filters button{font-size:12px;gap:7px;min-height:42px}.home-edit-note{gap:12px}.home-edit-note p{flex-basis:100%}.home-edit-note .text-button{margin-left:auto}.favorite-order .home-dialog-title h2{font-size:20px}.favorite-order .home-dialog-title{align-items:flex-start}}

/* 1.15: a consistent, phone-first home and device sheet. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ink:#203e34;--green:#285a46;--muted:#64766c;--line:#e0e7df;background:#f0f3ef;color:var(--ink)}
.simple-shell{background:#f0f3ef}.simple-shell .content{max-width:1370px}.simple-shell .topbar{background:#f8faf7;border-color:#e3e9e1}.simple-shell .button,.detail-dialog .button{border-radius:13px;min-height:44px;font-size:13px}.simple-shell .text-button,.detail-dialog .text-button{min-height:44px;font-size:13px}.simple-shell .panel{border-radius:20px;border-color:#e0e7dd}.simple-shell .sidebar .nav-item{border-radius:14px}.simple-shell .sidebar .nav-item.active{background:#e3eee4;color:#285a46}.simple-shell .compact-heading h1{font-weight:700;letter-spacing:-1px}.simple-shell .settings-list{border:0;box-shadow:0 4px 22px #1b443408}.simple-shell .settings-row{min-height:82px}.simple-shell .settings-icon{border-radius:15px;background:#edf3ed}.simple-shell footer{font-size:10px;color:#758278}
.home-heading{margin:0;gap:12px;align-items:center}.home-heading h1{font-size:36px;font-weight:750;letter-spacing:-1.5px;line-height:1.12}.home-heading .eyebrow{font-size:10px;color:#6d7f70;letter-spacing:1.5px}.home-tools{gap:7px}.home-icon-button{width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;background:#ffffffb8;border:1px solid #e0e7de;border-radius:15px;color:#3f5e4e}.home-icon-button:hover{background:#fff}.home-icon-button:disabled{cursor:default}.home-icon-button.selected{background:#285a46;color:white;border-color:#285a46}.home-bell{position:relative}.home-bell.has-alerts{color:#a36b27;background:#fff8e9}.home-bell>span{position:absolute;right:-3px;top:-4px;background:#bc783a;color:#fff;border:2px solid #f0f3ef;border-radius:12px;font-size:10px;font-weight:700;padding:1px 5px;min-width:20px}.home-glance{display:flex;gap:15px;align-items:center;margin:8px 0 18px;color:#65796b;font-size:13px;flex-wrap:wrap}.home-glance>span+span{position:relative}.home-glance>span+span:before{content:'·';position:absolute;left:-9px;color:#9aa99b}.home-glance .is-loading{font-size:12px}.home-climate{background:#e4ede3;border:1px solid #dce7d9;border-radius:20px;margin:16px 0}.home-climate>summary{padding:13px 17px}.home-climate-title{color:#3b5948;font-size:12px}.home-temperature-strip{gap:28px;margin-top:8px;padding-bottom:0}.home-temperature-strip small{font-size:11px;color:#55745d}.home-temperature-strip strong{font-size:24px;letter-spacing:-.6px;font-weight:650;color:#294f3e}.home-climate .temperature-summary h2,.home-climate .weather-card h2{font-size:18px}
.home-find{margin:14px 0 6px;gap:10px}.home-search{background:#fff9;border:1px solid #dce5da;border-radius:15px;min-height:44px}.home-search input{padding:11px 0!important;font-size:15px!important}.home-state-filters{padding:4px;border-radius:15px;background:#e3e9e0;gap:3px}.home-state-filters button{background:transparent;border:0;border-radius:11px;color:#5a6d60;min-height:38px;font-size:13px}.home-state-filters button.selected{background:#fff;color:#285a46;box-shadow:0 2px 6px #1c4c3212}.home-state-filters button>span,.home-state-filters button.selected>span{background:transparent;color:inherit;font-size:11px;min-width:auto;padding:0;opacity:.65}.home-room-tabs{gap:7px;margin:10px 0 4px;padding-bottom:8px;scrollbar-width:none}.home-room-tabs::-webkit-scrollbar{display:none}.home-room-tabs>button{border-radius:20px;min-height:40px;padding:9px 14px;background:transparent;border:1px solid #dce5da;color:#58705d;font-size:12px}.home-room-tabs>button.selected{background:#2b5746;color:#fff;border-color:#2b5746}.home-alerts{margin:10px 0 16px;border-radius:15px;background:#fff9ee;border:1px solid #efe2c8}.home-alerts>summary{padding:12px 14px;font-size:12px;min-height:44px;color:#93642e}.home-alerts>summary svg{width:17px;height:17px}.home-alerts .home-alert{border-radius:12px}.home-group{margin:19px 0 24px}.home-group-heading{margin:0 0 11px;align-items:baseline}.home-group-heading h2{font-size:22px;font-weight:700;letter-spacing:-.6px}.home-group-heading>span{font-size:12px;color:#81917f}.home-tile-grid{gap:13px}.home-tile{display:flex;flex-direction:column;min-height:196px;border:1px solid #e2e8df;border-radius:22px;background:#fff;box-shadow:0 4px 16px #21432c04;transition:transform .18s,box-shadow .18s,border-color .18s;overflow:hidden}.home-tile:hover{transform:translateY(-2px);box-shadow:0 8px 22px #21432c0c}.home-tile.is-active{background:#e4efe3;border-color:#c9dec5}.home-tile.kind-light.is-active,.home-tile.kind-plug.is-active{background:#fff0cd;border-color:#f2dfab}.home-tile.kind-climate.is-active{background:#e2edf5;border-color:#c8dae8}.home-tile.tone-danger{border-color:#e6baa5;background:#fff0e7}.home-tile.needs-attention:not(.tone-danger){border-color:#ddcfb4;background:#fcfaf5}.home-tile.is-editing{border-style:dashed}.home-tile-open{padding:18px 18px 13px;min-height:160px;flex:1;background:none;display:flex;flex-direction:column;align-items:flex-start}.home-tile-top{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:15px}.home-device-icon{width:44px;height:44px;border-radius:15px;background:#f0f4ed;color:#5b7a61;display:grid;place-items:center}.home-device-icon.kind-light{color:#a98732;background:#fff5dc}.home-device-icon.kind-climate{color:#668fa9;background:#eef4f8}.home-device-icon.kind-vacuum{color:#8b82ad;background:#f2eff9}.home-device-icon.kind-washer,.home-device-icon.kind-dryer{color:#718eaa;background:#eef3f8}.home-device-icon.kind-water,.home-device-icon.kind-sensor{color:#629797;background:#eaf5f2}.home-tile.is-active .home-device-icon{background:#fff9;color:#2e6c46}.home-tile.kind-light.is-active .home-device-icon{background:#edcc66;color:#745309}.home-tile.kind-climate.is-active .home-device-icon{color:#3b759b}.tile-state-mark{color:#a7b4a4;display:flex;align-items:center}.home-tile.needs-attention .tile-state-mark{color:#ac7a31}.home-tile.tone-danger .tile-state-mark{color:#b7673e}.home-tile-room{font-size:10px;letter-spacing:.65px;color:#73816e;text-transform:uppercase;line-height:1.4;margin-bottom:4px}.home-tile-name{hyphens:auto;hyphenate-limit-chars:6 3 3;font-size:17px;letter-spacing:-.35px;line-height:1.25;color:#243f33;font-weight:700;overflow-wrap:anywhere}.home-tile-status{font-size:13px;color:#70836d;margin-top:7px;display:flex;gap:6px;align-items:center;line-height:1.35}.home-tile .home-dot{display:none;width:5px;height:5px;border-radius:50%}.home-tile.is-active .home-dot{display:inline-block;background:#62925c}.home-tile.kind-light.is-active .home-dot{background:#b48b24}.home-tile.is-active .home-tile-status{color:#41623c;font-weight:600}.home-tile-temperature{margin-top:8px;font-size:27px;line-height:1.1;letter-spacing:-1px;color:#365f4c}.home-tile-temperature small:first-child{font-size:22px}.home-tile-temperature small:last-child{display:inline;margin-left:6px;font-size:10px;letter-spacing:0;color:#718474}.home-tile-value{font-size:12px;color:#70816a;line-height:1.35;margin-top:7px}.home-tile-time{display:flex;gap:5px;align-items:center;color:#87927f;font-size:10px;margin-top:auto;padding-top:12px}.home-tile.needs-attention .home-tile-time{color:#a07e42}.tile-quick-button{background:#f0f5ec;border:0;border-radius:12px;min-height:44px;margin:0 12px 12px;font-size:12px;color:#375d42;gap:7px;font-weight:650}.home-tile.kind-light.is-active .tile-quick-button{background:#fff9;color:#6d581d}.tile-quick-button.check-status{background:#f4eddd;color:#927039}.home-loaded{font-size:11px;color:#7c8977;margin:18px 0;line-height:1.5}.home-monitoring{background:transparent;border-top:1px solid #dce4d7;margin-top:18px;padding:0}.home-monitoring>summary{display:flex;align-items:center;gap:10px;min-height:54px;font-size:12px;color:#698068;list-style:none;cursor:pointer}.home-monitoring>summary::-webkit-details-marker{display:none}.home-monitoring>summary>svg:last-child{margin-left:auto}.home-monitoring[open]>summary>svg:last-child{transform:rotate(90deg)}.home-monitoring>p{font-size:12px;margin:8px 0 14px}.home-overview .scenes-panel{margin-top:24px}.home-overview .scene-card{background:#fff;border-radius:17px;border-color:#e0e7da}.home-overview .scene-start{min-height:70px}.home-overview .scene-empty{border:1px dashed #cfddc9;border-radius:17px;padding:15px}.home-overview .scene-empty p{font-size:13px}.home-edit-note{border-radius:18px}.home-edit label input{font-size:16px}
.command-feedback{display:flex;gap:12px;align-items:flex-start;border:1px solid #e6d7b6;background:#fff6e6;color:#866124;border-radius:17px;padding:16px;margin:16px 0;font-size:13px}.command-feedback>svg{flex-shrink:0;margin-top:2px}.command-feedback strong,.command-feedback .command-label{display:block}.command-feedback strong{font-size:14px;font-weight:700}.command-feedback .command-label{font-size:12px;margin-top:4px;opacity:.85}.command-feedback p{margin:8px 0 0;line-height:1.55}.command-feedback small{display:block;line-height:1.5;margin-top:9px}.command-feedback.outcome-confirmed{background:#edf5e9;border-color:#ccdfc5;color:#39623e}.command-feedback.outcome-rejected{background:#fcf0ea;border-color:#e6cec0;color:#975d3e}.command-sending{display:flex;gap:12px;align-items:center;padding:17px;border-radius:17px;background:#eaf0e8;margin:15px 0;color:#486c4f}.command-sending strong,.command-sending small{display:block}.command-sending strong{font-size:14px}.command-sending small{font-size:12px;margin-top:4px}
.quick-device{background:#fff;border:0;border-radius:28px;padding:26px;max-width:540px;color:#264334}.quick-device::backdrop{background:#20372966;backdrop-filter:blur(6px)}.quick-handle{display:none}.quick-device .home-dialog-title{gap:15px;margin-bottom:17px}.quick-device h2{font-size:27px;font-weight:730;letter-spacing:-.8px;overflow-wrap:anywhere;line-height:1.15}.quick-device .eyebrow{color:#7b8b76;font-size:10px;letter-spacing:1.3px}.quick-device .home-icon-button{background:#f0f4ed;border:0}.quick-state{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#f2f6ee;border-radius:13px;padding:12px 14px;font-size:13px;color:#476a45}.quick-state small{color:#7a8b71;font-size:11px;margin-left:auto}.quick-state-dot{width:6px;height:6px;border-radius:50%;background:#75a36a}.quick-state.has-warning{background:#fcf5e7;color:#9a7536}.quick-state.has-warning .quick-state-dot{background:#b6934b}.quick-state.has-warning small{color:#9a8865}.quick-program{margin:20px 0 8px}.quick-program>small{font-size:11px;color:#7e8a76}.quick-program h3{font-size:22px;margin:4px 0;color:#2b4839;font-weight:700}.quick-program p{font-size:13px;color:#71826a;margin-top:4px}.quick-door{font-size:13px;color:#8b7546;margin:8px 0}.quick-device .quick-metrics{margin:15px 0;gap:9px}.quick-device .quick-metrics>div{padding:15px;background:#f3f6f0;border:0;border-radius:15px;display:block}.quick-device .quick-metrics dt{font-size:11px;line-height:1.4;color:#6f8065}.quick-device .quick-metrics dd{font-size:25px;font-weight:650;letter-spacing:-.6px;margin:7px 0 0;line-height:1.2;color:#304f3c}.quick-device .quick-metrics dd small{font-size:12px;letter-spacing:0;font-weight:400}.quick-device .quick-actions{margin:15px 0;gap:8px}.quick-actions .button{min-height:52px;font-size:14px;border-radius:15px;padding:13px 16px}.quick-actions .button>span{display:flex;align-items:center;gap:10px}.quick-actions .button>span>svg{flex-shrink:0}.quick-actions .button>svg{color:#99ac93;flex-shrink:0}.quick-actions .button.primary>svg{color:#ffffffb0}.quick-power{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4ebdf;padding:16px 0}.quick-power>span{display:flex;align-items:center;gap:8px;color:#4e6e4e;font-size:14px;font-weight:600}.quick-power>div{display:flex;background:#edf2e8;border-radius:14px;padding:4px;gap:4px}.quick-power button{min-width:65px;min-height:44px;border-radius:11px;color:#68835f;font-size:14px;font-weight:600}.quick-power button.selected{background:#2e6146;color:#fff;opacity:1;cursor:default}.quick-temperature{margin:18px 0;padding:19px;background:#f1f6ef;border:1px solid #e3ecdd;border-radius:20px}.quick-temperature>label{font-size:13px;font-weight:600;color:#55734d;display:block}.quick-temperature-step{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:17px 0}.quick-temperature-step>button{height:48px;width:48px;min-width:48px;border-radius:50%;background:white;color:#4c7651;box-shadow:0 2px 8px #21452b0b;display:grid;place-items:center}.quick-temperature-step>span{display:flex;align-items:baseline;justify-content:center;min-width:0}:is(.quick-device,.device-controls) .quick-temperature-step input[type=number]{font-size:36px;font-weight:650;letter-spacing:-1px;color:#2b5138;max-width:100px;min-width:0;padding:0;border:0;min-height:48px;background:transparent;text-align:center;appearance:textfield;-moz-appearance:textfield}.quick-temperature-step input::-webkit-inner-spin-button{appearance:none}.quick-temperature-step small{font-size:18px;color:#78956d}.quick-temperature>.button{width:100%;font-size:13px}:is(.quick-device,.device-controls) .household-control{border-bottom:1px solid #e5ebdf;padding:14px 0;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}:is(.quick-device,.device-controls) .household-control label{font-size:13px;line-height:1.5;color:#50694c;min-width:0}:is(.quick-device,.device-controls) .household-control select{min-height:46px;border-radius:12px;font-size:16px;width:100%;background:#fafcf7}:is(.quick-device,.device-controls) .household-control .button{min-height:46px;padding:10px 12px}.quick-more{border-top:1px solid #e4ebdf;margin:12px 0}.quick-more>summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;font-size:13px;font-weight:600;color:#5f7956;cursor:pointer}.quick-more>summary span{font-size:11px;background:#f0f5eb;border-radius:9px;padding:2px 7px}.quick-more>summary:after{content:'+';font-size:18px;font-weight:400;margin-left:auto;padding-left:12px}.quick-more[open]>summary:after{content:'−'}.quick-more>summary::-webkit-details-marker{display:none}.quick-more>summary span{margin-left:8px}.quick-review{padding:14px;background:#fcf8ee;border-radius:15px;margin:15px 0}.quick-review p{font-size:13px;color:#8f7742;line-height:1.55}.quick-review button{margin:12px 0 0}.quick-review small{display:block;font-size:11px;color:#8f805d;margin-top:10px}.quick-device .quick-footer{margin-top:22px;gap:12px;padding-top:18px}.quick-poll-note{display:flex;align-items:center;gap:7px;font-size:11px!important;color:#809174!important;margin:12px 0 0!important}.quick-confirm{padding:10px 0 4px}.quick-confirm h3{font-size:25px;font-weight:700;margin:15px 0;letter-spacing:-.6px}.quick-confirm>p{font-size:14px;color:#64795c;line-height:1.6}.quick-confirm label{display:grid;gap:8px;font-size:13px;margin:17px 0;color:#50674b}.quick-confirm .garden-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:24px}.quick-confirm .garden-actions .button{min-height:50px}.quick-device .subtle{font-size:12px;color:#7b8972}.quick-device .quick-empty{display:flex;gap:10px;align-items:center;font-size:14px;margin:22px 0}.quick-device input[type=number],.quick-device input[type=time]{font-size:16px}.quick-device button:disabled{cursor:default}.home-overview button:focus-visible,.quick-device button:focus-visible{outline:3px solid #79a184;outline-offset:3px}
@media(min-width:1000px){.home-overview .home-find{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:center;gap:18px}.home-overview .home-climate>summary{display:flex;align-items:center;gap:25px}.home-overview .home-climate-title{min-width:190px;gap:25px}.home-overview .home-temperature-strip{margin:0;gap:28px}.home-overview .home-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.simple-shell .content{padding:21px 17px 0}.simple-shell .sidebar{border-bottom:1px solid #e4eade;background:#f8faf7}.simple-shell .sidebar nav{position:fixed;left:12px;right:12px;width:auto;bottom:max(10px,env(safe-area-inset-bottom));border:1px solid #dce5d9;background:#ffffffed;backdrop-filter:blur(18px);border-radius:23px;padding:5px 6px;box-shadow:0 7px 35px #23473316;gap:3px}.simple-shell .sidebar nav .nav-item{font-size:10px;min-height:54px;padding:8px 2px;border-radius:17px;gap:5px}.simple-shell .sidebar nav .nav-item.active{background:#e3eddf;color:#315d40}.simple-shell .sidebar nav .nav-item svg{width:21px;height:21px}.simple-shell main{padding-bottom:105px}.home-heading h1{font-size:32px;letter-spacing:-1.3px}.home-heading .home-tools{gap:5px}.home-heading .home-icon-button{width:40px;height:40px;min-width:40px;border-radius:14px}.home-glance{font-size:12px;margin:7px 0 15px;gap:14px}.home-climate{margin:12px 0;border-radius:18px}.home-climate>summary{padding:11px 14px}.home-climate-title{font-size:11px}.home-temperature-strip{margin-top:7px;gap:22px}.home-temperature-strip small{font-size:10px}.home-temperature-strip strong{font-size:22px}.home-find{gap:9px;margin-top:12px}.home-search input{font-size:16px!important;padding:10px 0!important}.home-state-filters{border-radius:13px;padding:3px}.home-state-filters button{min-height:36px;font-size:12px}.home-room-tabs{margin-top:10px;gap:6px;padding-bottom:5px}.home-room-tabs>button{min-height:38px;padding:8px 12px;font-size:11px}.home-alerts{margin:8px 0 14px}.home-alerts>summary{padding:10px 12px;font-size:11px}.home-group{margin:17px 0 22px}.home-group-heading{margin-bottom:10px}.home-group-heading h2{font-size:21px}.home-tile-grid{gap:11px;grid-template-columns:repeat(2,minmax(0,1fr))}.home-tile{min-height:180px;border-radius:21px}.home-tile-open{padding:15px 14px 12px;min-height:153px}.home-tile-top{margin-bottom:13px}.home-device-icon{width:40px;height:40px;border-radius:14px}.home-device-icon svg{width:23px;height:23px}.home-tile-room{font-size:9px;letter-spacing:.5px}.home-tile-name{font-size:15px;letter-spacing:-.35px}.home-tile-status{font-size:12px;margin-top:6px}.home-tile-value{font-size:11px}.home-tile-time{font-size:10px;padding-top:10px}.tile-quick-button{font-size:11px;margin:0 10px 10px;min-height:42px;border-radius:12px}.home-loaded{display:grid;gap:2px;font-size:10px}.home-loaded span{margin-left:0}.quick-device{width:100%;max-width:none;max-height:92dvh;margin:auto 0 0;border-radius:28px 28px 0 0;padding:12px 20px max(24px,env(safe-area-inset-bottom));overflow-x:hidden}.quick-handle{display:block;width:38px;height:4px;border-radius:5px;background:#d9e2d2;margin:0 auto 19px}.quick-device .home-dialog-title{margin-bottom:18px}.quick-device h2{font-size:26px}.quick-state{padding:11px 13px;font-size:13px}.quick-state small{font-size:10px}.quick-device .quick-metrics dd{font-size:25px}.quick-temperature{padding:16px}.quick-device .quick-footer{position:sticky;bottom:-24px;background:#fff;padding:15px 0 max(6px,env(safe-area-inset-bottom));z-index:2;flex-wrap:nowrap}.quick-device .quick-footer .button{padding:10px 13px}.quick-device .quick-footer .text-button{font-size:12px}.quick-confirm .garden-actions .button{font-size:13px}.command-feedback{padding:14px;font-size:12px}.command-feedback strong{font-size:14px}}
@media(max-width:360px){.simple-shell .content{padding-left:13px;padding-right:13px}.home-heading h1{font-size:29px}.home-heading .home-icon-button{width:37px;height:40px;min-width:37px}.home-tile-open{padding:13px 12px 11px}.home-tile-name{font-size:15px}.home-tile-room{font-size:8px}.quick-device{padding-left:16px;padding-right:16px}.quick-temperature-step>button{width:44px;height:44px;min-width:44px}.quick-temperature-step input{max-width:82px}:is(.quick-device,.device-controls) .household-control{gap:8px}}
@media(prefers-reduced-motion:reduce){.home-tile,.home-overview button,.quick-device button{transition:none}.home-tile:hover{transform:none}}

/* 1.16: scenes and full device views share the home interface. */
.scenes-panel:not(.scenes-compact){background:transparent;border:0;padding:0;box-shadow:none}
.scenes-panel .environment-title{align-items:flex-start;margin-bottom:22px}
.scenes-panel .environment-title h2{font-size:20px;letter-spacing:-.4px}
.scenes-panel .environment-title p{max-width:380px;line-height:1.5;font-size:13px}
.scenes-panel .home-tools{align-items:center;gap:8px;flex-shrink:0}
.scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.scene-card{border:1px solid #dce6d8;border-radius:22px;padding:9px;background:#fff;box-shadow:0 5px 18px #21452b04;min-width:0}
.scene-card-main{display:flex;align-items:center;gap:4px}
.scene-start{flex:1;min-width:0;min-height:88px;display:flex;align-items:center;gap:13px;text-align:left;padding:12px;border-radius:16px}
.scene-start>span:nth-child(2){min-width:0;flex:1;display:grid;gap:6px}
.scene-start strong{font-size:17px;line-height:1.3;letter-spacing:-.3px;overflow-wrap:anywhere}
.scene-start small{font-size:11px;color:#6e8266;line-height:1.5}
.scene-start>svg{flex-shrink:0;color:#5d8057}
.scene-symbol{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:16px;background:#eef4e9;color:#66875a}
.scene-symbol.icon-moon{background:#eceaf8;color:#9185bc}.scene-symbol.icon-house{background:#edf0f9;color:#7b91b3}.scene-symbol.icon-sun{background:#fff2d9;color:#b39646}.scene-symbol.icon-leaf{background:#e5f2e4;color:#5c9c69}.scene-symbol.icon-clean{background:#e8f3f4;color:#679ca4}
.scene-card-main>.home-icon-button{width:38px;height:42px;background:transparent;flex-shrink:0}
.scene-card-preview{margin:0 12px 12px;padding-top:8px;border-top:1px solid #e9eee4;display:grid;gap:9px}
.scene-card-preview p{display:flex;flex-direction:column;gap:3px;margin:0;line-height:1.4}
.scene-card-preview strong{font-size:12px;color:#55704c;font-weight:600}.scene-card-preview span,.scene-card-preview>small{font-size:11px;color:#819277}
.scene-schedule-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 12px;padding:11px 0 3px;border-top:1px solid #e9eee4}
.scene-schedule-summary>span{font-size:11px;display:flex;gap:6px;align-items:center;flex:1;min-width:150px;color:#6d8264}
.scene-schedule-summary .text-button{font-size:11px;min-height:36px}.scene-schedule-summary>small{flex-basis:100%;font-size:11px;line-height:1.5;color:#7b8b73}
.scene-templates{display:block;background:#eaf1e5;border:1px solid #dce6d5;border-radius:21px;padding:0 18px;margin:22px 0}
.scene-templates>summary,.scene-history>summary,.scene-explainer>summary,.device-help>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:56px;list-style:none;font-size:14px;font-weight:600;cursor:pointer;color:#5f7955}
.scene-templates>summary:after,.scene-history>summary:after,.scene-explainer>summary:after,.device-help>summary:after{content:'+';font-weight:400;font-size:20px;flex-shrink:0}
.scene-templates[open]>summary:after,.scene-history[open]>summary:after,.scene-explainer[open]>summary:after,.device-help[open]>summary:after{content:'−'}
.scene-templates>summary::-webkit-details-marker,.scene-history>summary::-webkit-details-marker,.scene-explainer>summary::-webkit-details-marker,.device-help>summary::-webkit-details-marker{display:none}
.scene-templates>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:2px 0 6px}
.scene-template{display:flex;align-items:center;gap:10px;text-align:left;padding:15px;background:#ffffffb8;border:1px solid #dce5d5;border-radius:15px;min-width:0}
.scene-template>svg{flex-shrink:0;color:#789a64}.scene-template>svg:last-child{margin-left:auto;width:16px}.scene-template>span{display:grid;gap:5px;min-width:0}.scene-template strong{font-size:13px;line-height:1.35;color:#406137}.scene-template small{font-size:11px;line-height:1.4;color:#819275}.scene-templates>p{font-size:11px;line-height:1.6;margin:10px 0 17px}
.scene-history,.scene-explainer{border-top:1px solid #dce5d6;margin-top:18px;padding:0 3px}
.scene-history>button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 0;border-top:1px solid #e2e9dc}
.scene-history>button>span:first-child{display:grid;gap:5px;flex:1}.scene-history strong{font-size:13px}.scene-history small,.scene-history>button>span:nth-child(2){font-size:11px;color:#7b9070}.scene-history>button svg{color:#8fa282}
.scene-explainer p{font-size:13px;color:#75866b;line-height:1.65;margin:0 0 12px}
.scene-dialog{border:0;border-radius:27px;background:#fff;max-width:600px;padding:26px;color:#284736}
.scene-dialog::backdrop{background:#20372966;backdrop-filter:blur(6px)}
.scene-dialog h2{font-size:27px;letter-spacing:-.7px;line-height:1.2}.scene-dialog .home-dialog-title{margin-bottom:20px;gap:15px}.scene-dialog .home-dialog-title .home-icon-button{background:#f0f4ed;flex-shrink:0}
.scene-dialog .eyebrow{font-size:10px;letter-spacing:1.4px;color:#819476}.scene-dialog .error-strip{font-size:13px;line-height:1.5}
.scene-form-fields{border:0;padding:0;margin:0;min-width:0;display:block}.scene-editor label{font-size:13px;color:#526e47;line-height:1.5;display:grid;gap:7px}.scene-editor input:not([type=checkbox]),.scene-editor select{font-size:16px;min-height:48px;border:1px solid #dce6d5;border-radius:13px;padding:10px 13px;width:100%;min-width:0;background:#fff}.scene-editor input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:#3d704d}
.scene-name>input{font-weight:600;color:#31583a}.scene-icons{display:flex;gap:8px;margin:13px 0 22px}.scene-icons .home-icon-button{width:42px;height:42px;background:#f2f6ee;border:1px solid transparent;border-radius:13px;color:#8a9e7e}.scene-icons .home-icon-button.selected{background:#dfeeda;border-color:#a8c59b;color:#3c713d}
.scene-section-heading{display:flex;align-items:center;justify-content:space-between;margin:23px 0 13px;gap:10px}.scene-section-heading h3{font-size:17px;letter-spacing:-.3px;font-weight:650}.scene-section-heading>span{font-size:11px;background:#eef4e8;padding:4px 8px;border-radius:8px;color:#829774}.scene-section-heading>svg{color:#8fa580}
.scene-editor-items{display:grid;gap:12px}.scene-editor-item{border:1px solid #e1e9da;border-radius:18px;padding:14px;background:#fafcf8;min-width:0}.scene-item-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.scene-item-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:10px;background:#e6efde;color:#73925e;font-size:12px;font-weight:600}.scene-item-head>div{display:grid;gap:3px;min-width:0}.scene-item-head strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.scene-item-head small{font-size:11px;color:#859979;line-height:1.4}.scene-item-setting{display:grid;gap:11px}.scene-item-setting p{font-size:14px;margin:3px 0;color:#56764a}.scene-state-choice{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#eaf1e3;border-radius:13px}.scene-state-choice button{min-height:42px;border-radius:10px;font-size:13px;color:#79956a;font-weight:600}.scene-state-choice .selected{background:#365f42;color:#fff;box-shadow:0 2px 5px #355b3515}.scene-item-tools{display:flex;align-items:center;gap:6px;margin:10px 0 -5px}.scene-item-tools .home-icon-button{width:40px;height:40px;color:#849b75}.scene-item-tools .text-button{margin-left:auto;font-size:11px;min-height:40px;color:#8c9f7f}.scene-item-warning{font-size:11px!important;line-height:1.6!important;color:#a28145!important;margin:10px 0 0!important}
.scene-add-device{width:100%;border:1px dashed #b8cdb0;background:#f7fbf2;min-height:49px;margin:13px 0;color:#5b814a;font-size:13px;border-radius:14px}
.scene-picker{margin:14px 0;border:1px solid #ccdebe;background:#f5f9ef;border-radius:18px;padding:14px}.scene-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:10px}.scene-picker h4{font-size:14px;font-weight:650}.scene-picker-heading button{width:34px;height:36px}.scene-device-search{display:flex!important;align-items:center;gap:10px!important;background:white;border:1px solid #d9e5cf;border-radius:13px;padding:0 11px;color:#8ca37b}.scene-editor .scene-device-search input{border:0;padding:10px 0;background:transparent;outline:0}.scene-picker-list{max-height:300px;overflow:auto;overscroll-behavior:contain;margin:12px -2px 0;padding:0 3px;scrollbar-width:thin}.scene-picker-list>p{font-size:13px;line-height:1.6;margin:10px 0;color:#7d926d}.scene-picker-device{padding:10px 0;border-top:1px solid #e0e9d6}.scene-picker-device>div{display:flex;flex-direction:column;gap:3px;margin-bottom:6px}.scene-picker-device strong{font-size:13px;font-weight:650}.scene-picker-device small{font-size:10px;color:#8c9e7d;line-height:1.5}.scene-picker-device>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border-radius:10px;text-align:left;padding:8px 10px;margin:3px 0;background:#fff;border:1px solid #e0e8d8;color:#5c7d4d;font-size:12px}.scene-picker-device>button>span{display:grid;gap:2px;flex:1}.scene-picker-device>button>svg{flex-shrink:0}
.scene-start-mode{display:grid;grid-template-columns:1fr 1fr;gap:9px}.scene-start-mode>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:63px;border:1px solid #e1e8d8;border-radius:15px;font-size:12px;color:#859973;padding:12px 9px}.scene-start-mode .selected{background:#e9f2e1;border-color:#adc59a;color:#4c743b;font-weight:600}.scene-start-mode svg{flex-shrink:0}
.scene-schedule-fields{margin-top:12px;background:#f7faf3;border:1px solid #e2eadb;border-radius:16px;padding:16px;display:grid;gap:14px}.schedule-presets{display:flex;gap:6px;flex-wrap:wrap}.schedule-presets button{padding:7px 10px;font-size:11px;border-radius:9px;background:#eef3e7;color:#7c946a;min-height:36px}.schedule-presets .selected{color:#396737;background:#deebd3}.scene-editor .schedule-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:0}.scene-editor .schedule-days button{min-height:40px;min-width:0;border-radius:10px;padding:7px 0;font-size:11px;border:1px solid #e0e8d4;background:white;color:#849d70}.scene-editor .schedule-days button.selected{background:#416f44;border-color:#416f44;color:white}.scene-schedule-fields .scene-schedule-toggle,.scene-schedule-fields .schedule-consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:12px;line-height:1.55}.scene-schedule-fields .schedule-consent{padding:12px;border-radius:12px;background:#eaf3e1;border:1px solid #d3e3c3}.scene-schedule-fields p{font-size:12px;line-height:1.6;margin:0}.scene-schedule-fields .notice{display:block;font-size:12px}.scene-editor .subtle{font-size:11px;line-height:1.6;margin-top:12px}
.scene-save-bar{position:sticky;bottom:-26px;background:#fff;padding:16px 0 10px;margin-top:20px;border-top:1px solid #e1e9d8;z-index:2}.scene-save-bar>p{font-size:11px;color:#849a73;margin:0 0 10px;line-height:1.5}.scene-save-bar .button{width:100%;min-height:50px;font-size:14px;border-radius:15px}.scene-save-bar>small{display:block;font-size:11px;margin-top:7px;color:#8a9e78;line-height:1.5}.scene-delete{border-top:0;margin-top:17px;padding-top:0}.scene-delete .text-button{font-size:11px;min-height:40px;color:#9d8876}.scene-delete>div{display:flex;gap:13px}.scene-delete p{font-size:13px;line-height:1.5}
.scene-run-progress{display:grid;gap:8px;margin:20px 0}.scene-run-progress span{font-size:12px;color:#78946a}.scene-run-progress progress{width:100%;height:6px;accent-color:#5d8950;border-radius:4px}.scene-run-steps{counter-reset:scene-step;list-style:none;margin:18px 0;padding:0;display:grid;gap:10px}.scene-run-steps li{counter-increment:scene-step;border:1px solid #e0e8d8;border-radius:16px;padding:14px 14px 14px 47px;position:relative;background:#f8fbf4}.scene-run-steps li:before{content:counter(scene-step);position:absolute;left:13px;top:14px;display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#e5eedb;color:#74965f;font-size:11px}.scene-run-steps strong{display:block;font-size:14px;margin-bottom:5px}.scene-run-steps li>span{display:block;font-size:12px;color:#779169;line-height:1.5}.scene-run-steps li>small{display:block;font-size:11px;color:#94a786;margin-top:9px}.scene-run-steps .step-result{font-size:12px;line-height:1.6;padding:9px 0 0;margin:8px 0 0;border-top:1px solid #e3eadc}.scene-dialog>p{font-size:13px;line-height:1.65;color:#728968}.scene-dialog>.button{margin:6px 8px 6px 0;min-height:48px;font-size:13px}
.household-workspace,.miele-workspace,.garden-workspace,.rr-workspace,.lighting-workspace{color:#294c39}
.garden-toolbar,.miele-toolbar{background:transparent;border:0;box-shadow:none;padding:0 0 17px;margin-bottom:4px;align-items:center}.garden-toolbar h2,.miele-toolbar h2{font-size:18px;letter-spacing:-.4px}.garden-toolbar p,.miele-toolbar p{font-size:11px;line-height:1.6;color:#859b77}.garden-toolbar .eyebrow,.miele-toolbar .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:4px}.garden-toolbar .button,.miele-toolbar .button{flex-shrink:0;font-size:12px;min-height:44px;border-radius:13px}
.household-device,.garden-device,.miele-device,.rr-status-panel,.rr-settings,.rr-rooms,.rr-map-panel,.rr-maintenance{border:1px solid #dfe8d9;border-radius:23px;box-shadow:0 5px 18px #284c3005;background:white;padding:23px;min-width:0}
.miele-device-heading{gap:13px;align-items:center;margin-bottom:18px}.miele-device-heading .device-symbol{width:48px;height:48px;border-radius:16px;background:#ecf4e7;color:#66875c;flex-shrink:0}.household-device .device-symbol{background:#e9f2f5;color:#7297ac}.garden-device .device-symbol{background:#e5f3ed;color:#5f9b83}.miele-device-heading>div{min-width:0}.miele-device-heading h2{font-size:23px;letter-spacing:-.65px;line-height:1.2;overflow-wrap:anywhere}.miele-device-heading .eyebrow{font-size:9px;letter-spacing:.9px;color:#94a687}.miele-device-heading p{font-size:11px;color:#8da27f;margin-top:5px}.garden-state{margin:10px 0 15px}.quality-badge{font-size:11px;border-radius:9px;padding:7px 10px}.miele-program{font-size:21px;letter-spacing:-.4px;line-height:1.4;margin-top:18px}.miele-device>p{font-size:13px;color:#7b9370;line-height:1.5}.miele-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:17px 0}.miele-values>div{display:block;border:0;background:#f1f6ed;border-radius:14px;padding:14px;min-width:0}.miele-values dt{font-size:11px;color:#819774;line-height:1.4}.miele-values dd{font-size:20px;font-weight:650;line-height:1.4;letter-spacing:-.4px;margin:6px 0 0;overflow-wrap:anywhere}.miele-values small{font-size:10px;color:#8ba27d;line-height:1.5}.device-primary-values dd{font-size:22px}.device-more-values{margin:14px 0;border-top:1px solid #e3eadb}.device-more-values>summary{font-size:12px;color:#7c946c;min-height:46px;padding:12px 0;cursor:pointer}.device-more-values .miele-values{margin-top:0}
.miele-actions,.garden-actions{gap:9px}.miele-actions .button,.garden-actions .button{min-height:48px;border-radius:14px;font-size:13px}.garden-service{border:1px solid #e1e9db;border-radius:17px;padding:15px;margin:12px 0;background:#fafcf8}.garden-service>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.garden-service strong{font-size:15px}.garden-service span{font-size:11px;color:#91a482}.garden-duration{border:1px solid #dbe6d2;border-radius:16px;background:#edf4e7;padding:14px 17px;margin:12px 0 18px;gap:12px}.garden-duration label{font-size:12px;color:#6a8758}.garden-duration select{font-size:16px;border-radius:11px;min-height:44px;background:#fff}
.device-controls .quick-temperature-step input[type=number]{font-size:36px;max-width:100px;min-width:0;width:100%;padding:0;border:0;background:transparent}.device-controls .quick-power{margin-top:6px}.device-controls .household-control input{font-size:16px;width:100%;min-width:0;min-height:46px;border-radius:12px}.device-controls .quick-more{margin-top:15px}.device-controls .quick-more summary{font-size:13px}.device-controls .household-control:has(button[type=button]){grid-template-columns:minmax(0,1fr) auto}
.device-help{border-top:1px solid #dce6d4;padding:0 4px;margin:24px 0 10px}.device-help>summary{font-size:12px;font-weight:500;min-height:48px}.device-help p{font-size:12px!important;line-height:1.7!important;color:#829775!important;margin:5px 0 15px!important;padding:0!important}.household-device .panel-foot,.garden-device .panel-foot,.miele-device .panel-foot{font-size:10px;color:#94a787;margin-top:18px;padding-top:13px;line-height:1.6}
.light-card{border:1px solid #e0e8d8;border-radius:23px;padding:22px;box-shadow:0 5px 18px #284c3005}.light-card.light-on{background:#fff6df;border-color:#ecddb8}.light-symbol{border-radius:16px}.light-title h3{font-size:20px;letter-spacing:-.5px;line-height:1.3}.light-title p{font-size:11px}.light-channel{border-radius:16px;padding:14px;background:#ffffffa8}.light-channel>span{font-size:12px}.light-channel strong{font-size:16px}.light-buttons{display:flex;border-radius:13px;background:#eeeeda;padding:4px;gap:4px}.light-buttons button{min-height:44px;border-radius:10px;min-width:64px;font-size:13px}.light-buttons .selected{background:#486c42;color:#fff}.light-power{font-size:13px;margin:18px 0}.light-power small{font-size:10px}.light-details summary{font-size:12px;min-height:44px}.light-details p{font-size:12px;line-height:1.6}.room-filter{gap:7px;overflow:auto;flex-wrap:nowrap;margin:16px 0}.room-filter button{border-radius:19px;white-space:nowrap;min-height:40px;padding:9px 14px;font-size:12px}.room-filter button.selected{background:#355f43;color:white}
.rr-stats>div{background:#f1f6ed;border-radius:15px;padding:16px 9px;border:0}.rr-stats strong{font-size:28px;font-weight:650;letter-spacing:-.7px}.rr-stats span,.rr-stats strong small{font-size:11px}.rr-controls .button{min-height:50px;border-radius:15px;font-size:13px}.rr-help,.rr-updated{font-size:11px!important;line-height:1.6!important}.rr-maintenance>summary{font-size:16px;font-weight:600;cursor:pointer;min-height:26px}.rr-maintenance[open]>.panel-heading{margin-top:20px}.rr-map-panel{margin-top:20px}.rr-room-list label{border-radius:14px;min-height:50px}.rr-room-list input{width:19px;height:19px;accent-color:#4c7847}.rr-settings h3,.rr-rooms h3,.rr-map-panel h3{font-size:20px;letter-spacing:-.4px}
.household-dialog,.garden-confirm,.miele-confirm{border:0;border-radius:25px;color:#355638}.household-dialog p,.garden-confirm p,.miele-confirm p{font-size:14px;line-height:1.65}.household-dialog h2,.garden-confirm h2,.miele-confirm h2{font-size:26px;letter-spacing:-.6px}
@media(max-width:760px){
 .scenes-panel:not(.scenes-compact) .environment-title{display:block;margin-bottom:18px}.scenes-panel:not(.scenes-compact) .home-tools{margin-top:15px;display:flex}.scenes-panel:not(.scenes-compact) .home-tools .button{flex:1;min-height:47px}.scene-grid{grid-template-columns:1fr;gap:13px}.scene-start{min-height:80px;padding:10px}.scene-start strong{font-size:16px}.scene-card{border-radius:21px}.scene-templates{padding:0 14px}.scene-templates>div{grid-template-columns:1fr;gap:8px}.scene-template{padding:13px;min-height:68px}.scene-template strong{font-size:13px}.scene-history>button{flex-wrap:wrap}.scene-history>button>span:nth-child(2){max-width:140px}.scene-explainer>summary{font-size:12px}
 .scene-dialog{width:100%;max-width:none;max-height:93dvh;margin:auto 0 0;border-radius:27px 27px 0 0;padding:12px 19px max(24px,env(safe-area-inset-bottom));overflow-x:hidden}.scene-dialog h2{font-size:25px}.scene-dialog .home-dialog-title{margin-bottom:18px}.scene-editor .scene-icons{gap:7px}.scene-icons .home-icon-button{width:39px;height:41px}.scene-section-heading h3{font-size:16px}.scene-picker{padding:12px}.scene-picker-list{max-height:255px}.scene-start-mode{gap:8px}.scene-start-mode>button{font-size:11px;gap:7px;padding:12px 6px}.scene-schedule-fields{padding:12px}.scene-editor .schedule-days{gap:4px}.scene-editor .schedule-days button{font-size:10px;min-height:39px}.scene-save-bar{bottom:-24px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
 .garden-toolbar,.miele-toolbar{gap:10px;padding:0 0 16px;display:flex;flex-wrap:wrap}.garden-toolbar h2,.miele-toolbar h2{font-size:17px}.garden-toolbar .button,.miele-toolbar .button{font-size:11px;padding:10px 12px}.garden-toolbar>div,.miele-toolbar>div{flex:1;min-width:160px}.household-device,.garden-device,.miele-device,.rr-status-panel,.rr-settings,.rr-rooms,.rr-map-panel,.rr-maintenance,.light-card{padding:18px;border-radius:21px}.miele-device-heading h2{font-size:23px}.miele-device-heading .device-symbol{height:44px;width:44px;border-radius:14px}.miele-values>div{padding:12px}.miele-values dd{font-size:19px}.device-primary-values dd{font-size:21px}.miele-program{font-size:20px}.miele-actions,.garden-actions{display:flex;flex-wrap:wrap}.miele-actions .button,.garden-actions .button{flex:1;font-size:12px;padding:12px;min-height:48px}.garden-service{padding:13px}.garden-duration{display:block;padding:13px}.garden-duration select{width:100%;margin-top:9px}.garden-service>div:first-child{align-items:flex-start}.device-controls .quick-power>span{font-size:13px}.device-controls .quick-power button{min-width:58px}.device-controls .quick-temperature{padding:13px}.device-controls .quick-temperature-step>button{width:42px;height:44px;min-width:42px}.device-controls .quick-temperature-step input[type=number]{max-width:83px;font-size:32px}.device-controls .household-control{gap:8px}.device-controls .household-control .button{font-size:12px}.light-title h3{font-size:21px}.light-switches .light-channel{padding:13px}.light-buttons button{min-width:60px}.light-energy-open{font-size:12px;min-height:44px}.lighting-workspace>.panel-heading,.rr-workspace>.panel-heading{display:block}.lighting-actions{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}.lighting-actions>.button{font-size:11px;min-height:44px;flex:1}.lighting-workspace h2,.rr-workspace h2{font-size:22px}.rr-stats{gap:7px}.rr-stats strong{font-size:24px}.rr-stats>div{padding:13px 4px}.rr-stats span{font-size:9px}.rr-controls{gap:7px}.rr-controls .button{padding:12px 10px;font-size:12px}.rr-map-panel .panel-heading,.rr-rooms .panel-heading{flex-wrap:wrap}.rr-room-start{flex-wrap:wrap;gap:12px}.rr-room-start .button{font-size:12px}.household-dialog,.garden-confirm,.miele-confirm{max-width:none;width:100%;margin:auto 0 0;border-radius:26px 26px 0 0;padding:24px 20px max(26px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){.scene-dialog{padding-left:15px;padding-right:15px}.scene-editor .scene-icons{display:grid;grid-template-columns:repeat(3,44px);gap:7px}.scene-icons .home-icon-button{width:44px;height:44px}.scene-start-mode>button{flex-direction:column;gap:7px}.scene-item-head strong{font-size:13px}.scene-card-preview{margin-left:9px;margin-right:9px}.scene-start{gap:9px}.scene-symbol{width:41px;height:44px}.scene-start small{font-size:10px}.device-controls .quick-power{gap:6px}.device-controls .quick-power>span{font-size:12px}.device-controls .quick-power button{min-width:49px}.device-controls .quick-temperature-step input[type=number]{max-width:72px;font-size:30px}.device-controls .quick-temperature-step>button{min-width:38px;width:38px}.rr-stats strong{font-size:21px}}
/* 1.17: device categories and clear room-first identification. */
[data-category]{--device-accent:#345c4d;--device-soft:#edf3ef;--device-active:#dfeee4;--device-border:#c7d9cf}
[data-category=climate]{--device-accent:#27628d;--device-soft:#eef6fd;--device-active:#dceefa;--device-border:#b8d6eb}
[data-category=light]{--device-accent:#805b13;--device-soft:#fff9e9;--device-active:#fff0bc;--device-border:#ead59b}
[data-category=household]{--device-accent:#675098;--device-soft:#f5f0fb;--device-active:#e9def8;--device-border:#d1c2e6}
[data-category=garden]{--device-accent:#3a7143;--device-soft:#eff7eb;--device-active:#e0efd8;--device-border:#c1d8b6}
[data-category=water]{--device-accent:#1c7374;--device-soft:#edf9f7;--device-active:#d8f0eb;--device-border:#b3dcd4}
.home-overview .home-find{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:19px 0 20px}
.home-find .home-search{background:#fff;border:1px solid #dbe3df;border-radius:16px;box-shadow:0 3px 12px #20382a03}
.home-category-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin;scrollbar-color:#c6d5cd transparent}
.home-category-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;flex-shrink:0;border:1px solid var(--device-border);border-radius:15px;background:var(--device-soft);color:var(--device-accent);padding:10px 15px;font-size:13px;font-weight:650}
.home-category-tabs button.selected{background:var(--device-accent);border-color:var(--device-accent);color:#fff;box-shadow:0 4px 10px #243c3512}
.home-category-tabs small{font-size:11px;font-weight:500;opacity:.9}.home-category-tabs svg{flex-shrink:0}
.home-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:550px}
.home-filter-row label{position:relative;display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #dae3dd;border-radius:13px;background:#ffffffb8;color:#62766d;padding:0 10px}
.home-filter-row label>svg{flex-shrink:0}.home-filter-row select{border:0;background:transparent;min-width:0;width:100%;height:44px;color:#435c50;font-size:13px;padding:0;cursor:pointer}
.home-overview .home-tile[data-category]{background:var(--device-soft);border:1px solid var(--device-border);box-shadow:0 4px 14px #20382a05;border-radius:23px;transition:box-shadow .15s ease,transform .15s ease;min-height:218px}
.home-overview .home-tile.is-active[data-category]{background:var(--device-active);border-color:var(--device-border)}
.home-overview .home-tile.needs-attention[data-category]{border-color:#dbbc88;background:#fffaf0}
.home-overview .home-tile.tone-danger[data-category]{border-color:#daaaa2;background:#fff5f2}
.home-overview .home-tile-open{padding:19px 18px 14px;min-height:195px}
.home-tile .home-tile-top{margin-bottom:16px;align-items:center}
.home-tile .home-device-icon{width:43px;height:43px;border-radius:14px;background:#fff;color:var(--device-accent);box-shadow:0 2px 6px #20382a05}
.home-tile[data-category].is-active .home-device-icon{background:var(--device-accent);color:white}
.home-tile .tile-state-mark{color:var(--device-accent);opacity:.75}
.home-tile.needs-attention .tile-state-mark{color:#976b2c;opacity:1}
.home-tile.tone-danger .tile-state-mark{color:#a44c3d}
.home-tile .home-tile-name{color:#263d35;font-size:18px;line-height:1.25;letter-spacing:-.45px;font-weight:720;margin:0}
.home-tile .home-tile-room{font-size:13px;color:#566d64;line-height:1.4;text-transform:none;letter-spacing:0;margin:5px 0 0;overflow-wrap:anywhere}
.home-tile .home-tile-status{align-self:flex-start;padding:4px 8px;border-radius:7px;background:#ffffffa6;color:#53685d;font-size:12px;line-height:1.4;margin-top:12px;gap:6px}
.home-tile .home-dot{background:#7e8c84}.home-tile.is-active .home-dot{background:var(--device-accent)}
.home-tile .home-tile-temperature{font-size:31px;font-weight:650;letter-spacing:-.8px;color:#294337;line-height:1.2;margin-top:12px}
.home-tile .home-tile-temperature>small:first-child{font-size:18px;letter-spacing:0}.home-tile .home-tile-temperature>small:last-child{font-size:11px;color:#5e7368;font-weight:400;letter-spacing:0}
.home-tile .home-tile-value{font-size:13px;color:#415c50;line-height:1.5;margin-top:9px}
.home-tile .home-tile-time{font-size:10px;color:#65786d;padding-top:14px;line-height:1.4}
.home-tile .tile-quick-button,.home-tile.kind-light.is-active .tile-quick-button{color:var(--device-accent);background:#ffffffc9;border:1px solid var(--device-border);font-size:12px;min-height:44px;margin:0 12px 12px}
.home-tile .tile-quick-button.check-status{background:#f5ead6;color:#855e27;border-color:#e6d4b5}
.home-overview .home-climate{background:linear-gradient(110deg,#eef6fa,#f6f8f0);border-color:#d4e1e4}
.home-climate .home-temperature-strip strong{color:#315e79}.home-climate .home-temperature-strip small{color:#516f7d}
.home-glance{color:#536d60}.home-group-heading h2{color:#2f493c}
.quick-device[data-category] .home-dialog-title>div{min-width:0;flex:1}
.quick-device-symbol{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:16px;background:var(--device-soft);color:var(--device-accent)}
.quick-device-room{font-size:14px;color:#5d7166;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
.quick-device[data-category] .quick-temperature,.household-workspace[data-category] .quick-temperature{background:var(--device-soft);border-color:var(--device-border)}
.quick-device[data-category] .quick-temperature :is(label,small,input),.household-workspace[data-category] .quick-temperature :is(label,small,input){color:var(--device-accent)}
.quick-device[data-category] .quick-temperature .button.primary,.quick-device[data-category] .quick-power button.selected,.household-workspace[data-category] .quick-temperature .button.primary,.household-workspace[data-category] .quick-power button.selected{background:var(--device-accent);color:white;border-color:var(--device-accent)}
.household-workspace[data-category] .device-symbol{background:var(--device-soft);color:var(--device-accent)}
.device-room-name{font-size:15px!important;line-height:1.4!important;color:#526b60!important;margin:5px 0 0!important}
.scene-device-room{display:block;font-size:11px;font-weight:400;color:#617666;line-height:1.4;margin-top:3px}
@media(max-width:760px){
 .home-overview .home-find{gap:8px;margin:14px 0 17px}.home-category-tabs{gap:7px;margin-right:-3px}.home-category-tabs button{padding:9px 12px;min-height:46px;font-size:12px;border-radius:13px;gap:6px}.home-category-tabs small{font-size:10px}.home-filter-row{gap:8px}.home-filter-row label{padding:0 8px;gap:5px}.home-filter-row select{font-size:16px;height:44px}
 .home-overview .home-tile[data-category]{border-radius:21px;min-height:205px}.home-overview .home-tile-open{padding:15px 13px 12px;min-height:185px}.home-tile .home-tile-top{margin-bottom:12px}.home-tile .home-device-icon{width:38px;height:38px;border-radius:12px}.home-tile .home-tile-name{font-size:17px;letter-spacing:-.5px}.home-tile .home-tile-room{font-size:12px}.home-tile .home-tile-status{font-size:11px;padding:4px 7px;margin-top:10px}.home-tile .home-tile-value{font-size:12px}.home-tile .home-tile-temperature{font-size:29px}.home-tile .home-tile-time{font-size:10px}.home-tile .tile-quick-button{font-size:11px;margin:0 9px 9px;gap:5px}.quick-device .home-dialog-title{gap:12px}.quick-device h2{font-size:25px}.quick-device-symbol{width:44px;height:44px;border-radius:14px}
}
@media(max-width:360px){.home-tile .home-tile-name{font-size:15px}.home-overview .home-tile-open{padding-left:11px;padding-right:11px}.home-tile .home-tile-room{font-size:11px}.home-filter-row label>svg{display:none}.home-filter-row select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.home-overview .home-tile[data-category]{transition:none}}
.home-overview .scenes-compact .scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible;padding:0}
.home-overview .scenes-compact .scene-card{min-width:0;padding:4px;border-radius:17px}
.home-overview .scenes-compact .scene-start{display:flex;min-height:94px;padding:10px 8px;gap:8px;align-items:flex-start;width:100%}
.home-overview .scenes-compact .scene-symbol{width:30px;height:33px;border-radius:10px}
.home-overview .scenes-compact .scene-symbol svg{width:19px;height:19px}
.home-overview .scenes-compact .scene-start>svg{display:none}
.home-overview .scenes-compact .scene-start strong{font-size:14px;line-height:1.3;letter-spacing:-.2px}
.home-overview .scenes-compact .scene-start small{font-size:10px;line-height:1.5;color:#607761}
.home-overview .scenes-compact .scene-start>span:nth-child(2){gap:5px}
@media(min-width:1000px){.home-overview .scenes-compact .scene-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* 1.18: Solar values and recommendations */
.solar-workspace{max-width:1000px;display:grid;gap:20px}.solar-heading{display:flex;gap:16px;align-items:center}.solar-heading h2{font-size:28px;margin:4px 0 6px}.solar-heading p{margin:0}.solar-emblem{width:64px;height:64px;display:grid;place-items:center;border-radius:22px;background:#fff0bc;color:#8a5b13;flex-shrink:0}.solar-heading .eyebrow{font-size:10px;letter-spacing:1.5px;color:#7c6850}.solar-workspace .panel{padding:24px}.solar-workspace form{display:grid;gap:18px}.solar-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.solar-workspace label{display:grid;gap:8px;font-size:14px;font-weight:600}.solar-workspace input,.solar-workspace select{width:100%;min-width:0;box-sizing:border-box;min-height:48px;font-size:16px;border-radius:12px;border:1px solid #d4ddd7;background:#fff;padding:11px 12px;color:#294139}.solar-workspace details summary{min-height:44px;cursor:pointer;font-weight:600;padding:10px 0}.solar-connect details[open]{display:grid;gap:12px}.solar-connect details label{margin-bottom:12px}.solar-workspace p{line-height:1.55}.solar-toolbar{display:flex;align-items:flex-end;gap:12px;justify-content:space-between}.solar-toolbar label{flex:1;max-width:460px}.solar-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.solar-metric{background:#fff;border:1px solid #e1e6df;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}.solar-metric>span{display:flex;align-items:center;gap:8px;font-size:13px;color:#5f7068}.solar-metric>strong{font-size:32px;line-height:1.1;letter-spacing:-1px}.solar-metric strong small{font-size:13px;font-weight:500;letter-spacing:0}.solar-metric>small{font-size:10px;line-height:1.5;color:#68746c}.solar-flow>.solar-metric:first-child{background:#fff6d7;border-color:#ecddb2;color:#77500e}.solar-flow>.solar-metric:nth-child(3){background:#e8f4e7;border-color:#cedfca;color:#315e38}.solar-battery{display:flex;align-items:center;gap:15px;padding:20px;border-radius:20px;background:#e9f0ed}.solar-battery>div{display:grid;gap:9px;flex:1;min-width:0}.solar-battery meter{width:100%;height:10px}.solar-battery small{font-size:11px;line-height:1.5}.solar-advice h3{display:flex;align-items:center;gap:9px}.solar-advice{background:#fffdf6!important}.solar-suggestions{display:grid;gap:12px}.solar-suggestions>button{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid #d9e3d6;background:white;border-radius:17px;padding:16px;color:#315344;cursor:pointer;min-width:0}.solar-suggestions>button>svg{flex-shrink:0}.solar-suggestions>button>span{display:grid;gap:5px;flex:1}.solar-suggestions small{color:#68746c;line-height:1.55}.solar-preferences{padding-top:16px;border-top:1px solid #e4e4db}.solar-workspace .solar-toggle{display:flex;align-items:center;gap:10px}.solar-toggle input{width:20px;min-height:20px;height:20px}.solar-disconnect{font-size:13px;color:#69766f}.solar-today .solar-flow{margin-top:12px}.solar-today .solar-metric{background:#fff;border-color:#e1e6df;color:inherit}.solar-summary{width:100%;text-align:left;border:1px solid #e7dab4;border-radius:22px;background:linear-gradient(120deg,#fff5d6,#f9fbef);padding:18px 20px;color:#544b2c;display:grid;grid-template-columns:auto 1fr;gap:10px 26px;margin:0 0 20px;cursor:pointer;box-sizing:border-box}.solar-summary-title{display:flex;gap:10px;align-items:center}.solar-summary-title>svg:first-child{color:#a1741b}.solar-summary-values{display:flex;gap:32px}.solar-summary-values>span{display:grid;gap:4px}.solar-summary-values small{font-size:11px}.solar-summary-values strong{font-size:23px;letter-spacing:-.5px}.solar-summary-values i{font-style:normal;font-size:12px}.solar-summary-note{grid-column:1/-1;font-size:11px;color:#716c53}.solar-summary:focus-visible,.solar-suggestions>button:focus-visible{outline:3px solid #31574a;outline-offset:3px}
@media(max-width:800px){.solar-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.solar-workspace .panel{padding:19px}.solar-metric{padding:17px 14px}.solar-summary{grid-template-columns:1fr;gap:13px;padding:16px}.solar-summary-title{font-size:13px}.solar-summary-title>svg:last-child{margin-left:auto}.solar-summary-values{justify-content:space-between;gap:12px}.solar-summary-values strong{font-size:22px}.solar-summary-note{font-size:10px}.solar-heading h2{font-size:23px}.solar-heading p:not(.eyebrow){font-size:12px}.solar-emblem{width:48px;height:48px;border-radius:17px}.solar-form-grid{grid-template-columns:1fr}.solar-toolbar{flex-wrap:nowrap}.solar-toolbar label{max-width:none;min-width:0}.solar-toolbar .solar-refresh{width:48px;min-height:48px;padding:12px;flex:0 0 48px}.solar-refresh>span{display:none}.solar-metric>strong{font-size:28px}.solar-metric>span{font-size:12px;gap:6px}.solar-workspace{gap:16px}.solar-workspace .panel-heading{gap:10px}.solar-workspace .panel-heading h3{font-size:17px}.solar-workspace .panel-heading .text-button{white-space:nowrap}}

/* 1.20: one home overview, rooms reuse the existing device controls. */
.home-now{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:24px;border:1px solid #dae5df;border-radius:22px;background:#f0f5f1;margin-bottom:22px}.home-now h2{font-size:24px;letter-spacing:-.5px;line-height:1.25}.home-now p:not(.eyebrow){font-size:13px;line-height:1.6;color:#5d7166;margin-top:8px;overflow-wrap:anywhere}.home-now .text-button{flex-shrink:0;min-height:44px}.home-priorities{margin:20px 0}.home-priorities>.home-group-heading{align-items:center;margin-bottom:10px}.home-priorities h2{font-size:17px}.home-priorities .home-alert,.home-all-alerts .home-alert{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:15px;background:#fffaf0;border:1px solid #eadfbe;border-radius:13px;margin:8px 0;min-width:0}.home-priorities .home-alert.danger,.home-all-alerts .home-alert.danger{background:#fff3ef;border-color:#ebc9bf}.home-priorities .home-alert>svg,.home-all-alerts .home-alert>svg{flex-shrink:0;color:#886429}.home-alert>span{min-width:0;flex:1;overflow-wrap:anywhere}.home-alert>span>span,.home-alert>span>small{display:block;margin-top:5px;line-height:1.45}.home-alert>span>small{font-size:10px;color:#706f62}.home-browse-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 15px}.home-browse-heading h2{font-size:21px;overflow-wrap:anywhere;min-width:0}.home-browse{display:flex;background:#eaf0ea;border-radius:12px;padding:4px;flex-shrink:0}.home-browse button{min-height:44px;padding:10px 16px;border-radius:9px;font-size:14px}.home-browse button[aria-pressed=true]{background:#fff;color:#274e3e;box-shadow:0 2px 4px #254e3210}.home-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}.home-room-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;border:1px solid #dfe5df;border-radius:21px;background:#fff;padding:22px;min-width:0;gap:10px}.home-room-card:hover{border-color:#8da997}.room-card-heading{display:flex;justify-content:space-between;align-items:center;color:#7f9082}.room-card-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eef3eb;color:#55765c}.room-climate .room-card-icon{background:#eaf3fb;color:#39759d}.home-room-card h3{font-size:19px;font-weight:600;overflow-wrap:anywhere;line-height:1.3;margin-top:5px}.room-card-value{font-size:34px;letter-spacing:-1px;color:#345b70;line-height:1.2}.room-card-value small{font-size:14px;font-weight:400;letter-spacing:0}.room-card-source{font-size:11px;line-height:1.55;color:#63756b;overflow-wrap:anywhere}.room-card-footer{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #edf0e9;margin-top:auto;padding-top:13px;font-size:12px;color:#637468}.room-card-footer>span{display:inline-flex;gap:4px;align-items:center;color:#8a642b}.room-readings{border:1px solid #dbe5eb;background:#f4f8fb;border-radius:16px;padding:18px;margin:0 0 16px}.room-readings h3{display:flex;gap:8px;align-items:center;font-size:16px;overflow-wrap:anywhere}.room-readings>p{margin-top:10px}.room-readings>div{display:flex;flex-wrap:wrap;gap:20px;margin-top:15px}.room-readings>div>p{display:flex;gap:14px;align-items:center;min-width:0;flex-wrap:wrap}.room-readings strong{font-size:25px;font-weight:500}.room-readings span{font-size:12px;overflow-wrap:anywhere}.room-readings small{display:block;font-size:11px;margin-top:5px;color:#667a87}.home-all-alerts{max-width:650px}.home-all-alerts>p{margin:16px 0}.home-all-alerts>.button{margin-top:16px}.home-room-card:focus-visible,.home-browse button:focus-visible{outline:3px solid #39759d;outline-offset:3px}#home-devices{scroll-margin-top:20px}
@media(max-width:1000px){.home-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.home-now{padding:18px;display:block;margin:8px 0 18px}.home-now h2{font-size:23px}.home-now .eyebrow{font-size:10px;margin-bottom:9px}.home-now .text-button{margin-top:10px}.home-room-grid{gap:12px}.home-room-card{padding:17px;border-radius:18px}.home-room-card h3{font-size:17px}.room-card-value{font-size:30px}.home-browse-heading{align-items:flex-start;flex-wrap:wrap}.home-browse-heading h2{font-size:20px}.home-priorities>.home-group-heading{gap:8px;flex-wrap:wrap}.home-priorities .home-alert{padding:12px}.home-all-alerts{padding:18px;width:calc(100% - 24px)}.home-alert>span>small{font-size:11px}}
@media(max-width:380px){.home-room-grid{grid-template-columns:1fr}.home-room-card{padding:20px}.home-filter-row{flex-wrap:wrap}.home-filter-row>label{min-width:0;flex:1 1 100%}}

/* 1.19.3: separate daily heat quantities from temperature and electric power. */
.wolf-analysis{display:grid;gap:20px;min-width:0}
.wolf-analysis>.panel{min-width:0}
.wolf-analysis .panel-heading{flex-wrap:wrap;gap:14px}
.wolf-analysis .panel-heading h2{font-size:21px;overflow-wrap:anywhere}
.wolf-analysis .subtle{line-height:1.6}
.wolf-analysis-loading{display:flex;align-items:center;gap:8px;padding:20px 0}
.wolf-analysis-empty{padding:20px 0;color:#62766d;line-height:1.6}
.wolf-analysis-empty .button{margin-top:16px}
.wolf-heat-summary{display:flex;align-items:center;gap:15px;margin:20px 0}
.wolf-heat-summary>strong{font-size:30px;letter-spacing:-.6px;color:#31574a}
.wolf-heat-summary>span{font-size:12px;color:#62766d;line-height:1.6}
.wolf-chart-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.wolf-chart-wide{width:1050px;min-width:100%;height:240px}
.wolf-heat-chart{width:100%;min-width:0;height:240px}
.wolf-day-detail{font-size:13px;line-height:1.6;min-height:40px;margin:14px 0;color:#435c50}
.wolf-day-table>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:#31574a}
.wolf-day-table td,.wolf-day-table th{white-space:normal;overflow-wrap:anywhere;font-size:13px}
.wolf-analysis .panel-foot{align-items:flex-start;line-height:1.65;overflow-wrap:anywhere;gap:8px}
.wolf-analysis .panel-foot>svg{flex-shrink:0;margin-top:3px}
.wolf-line-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin:15px 0;color:#435c50;font-size:12px}
.wolf-line-legend>span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}
.wolf-line-legend i{width:14px;height:3px;flex-shrink:0}
.wolf-line-chart{height:260px;min-width:0;width:100%}
.wolf-power-panel>summary{display:flex;gap:12px;align-items:center;min-height:48px;cursor:pointer;color:#31574a;font-size:18px;font-weight:600}
.wolf-power-panel>summary small{display:block;font-size:12px;font-weight:400;color:#62766d;margin-top:4px}
.wolf-power-panel>p{font-size:13px;line-height:1.65;margin:16px 0}
.wolf-analysis .error-strip{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media(max-width:600px){.wolf-analysis>.panel{padding:20px 14px}.wolf-analysis .panel-heading h2{font-size:20px}.wolf-analysis .segmented button{min-height:44px}.wolf-heat-summary{flex-wrap:wrap}.wolf-analysis .panel-foot{font-size:11px}.simple-shell .section-tabs{flex-wrap:wrap;gap:5px}.simple-shell .section-tabs>button{white-space:normal;min-height:44px;padding:10px 12px;font-size:13px}}
.wolf-analysis .recharts-tooltip-wrapper{max-width:calc(100vw - 56px)}
.wolf-analysis .recharts-default-tooltip,.wolf-analysis .recharts-tooltip-item{white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box}
.wolf-day-table table{table-layout:fixed;width:100%;min-width:0}
.wolf-day-table th:first-child,.wolf-day-table td:first-child{width:30%}
.wolf-day-table th:last-child,.wolf-day-table td:last-child{width:70%;overflow-wrap:normal;word-break:normal}
/* 1.21: one device collection, direct controls first. */
.home-overview.device-first .home-heading{margin:0 0 10px;gap:8px;align-items:center}
.device-first .home-heading h1{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:0}
.device-first .home-tools{gap:5px;flex-shrink:0}
.device-first .home-heading .home-icon-button{width:44px;height:44px;min-width:44px;flex-shrink:0;border-radius:13px}
.device-first-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;margin-bottom:12px}
.device-first-filters label{min-width:0}
.device-first-filters select,.device-first-search select{display:block;width:100%;min-width:0;height:44px;border:1px solid #d9e2dc;border-radius:12px;background:#fff;padding:0 9px;font-size:16px;color:#344f42}
.device-first-filters>.home-icon-button{width:44px;height:44px;min-width:44px;background:#fff;border:1px solid #d9e2dc}
.device-first-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px;margin:0 0 12px;align-items:center}
.device-first-search .home-search{min-width:0;background:#fff;border:1px solid #d9e2dc;border-radius:12px;padding:0 8px;margin:0}
.device-first-search .home-search input{min-width:0;font-size:16px;height:44px;padding:0 4px!important}
.device-first-search .home-search>.home-icon-button{width:44px;height:44px;min-width:44px;padding:0}
.device-first-offline{display:flex;align-items:center;gap:7px;color:#805b24;font-size:12px;margin:0 0 10px}
.device-first-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;font-size:12px;color:#53695b}
.device-first-edit .text-button{min-height:40px}
.device-first .device-first-devices{margin:0}
.device-first .home-tile-grid{gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.device-first .home-tile[data-category]{min-height:0;border-radius:18px;background:#fff;border-color:#dbe3df;box-shadow:none;padding:0;overflow:hidden}
.device-first .home-tile.is-active[data-category]{background:#f4f8f4;border-color:#c4d8ca}
.device-first .home-tile.needs-attention[data-category]{background:#fff;border-color:#d7bd94}
.device-first .home-tile.tone-danger[data-category]{background:#fff;border-color:#d7aaa1}
.device-first .home-tile .home-tile-open{padding:13px 12px 9px;min-height:0;gap:0;width:100%;flex:1}
.device-first-tile-head{display:flex;align-items:flex-start;gap:7px;width:100%;min-width:0}
.device-first-tile-head>.home-device-icon{width:27px;height:29px;min-width:27px;border-radius:8px;background:transparent!important;box-shadow:none!important;color:var(--device-accent)!important}
.device-first-tile-head>svg{flex-shrink:0;width:13px;color:#976b2c}
.device-first-tile-title{min-width:0;flex:1}
.device-first .home-tile .home-tile-name{display:block;margin:0;font-size:16px;line-height:1.25;letter-spacing:-.3px;overflow-wrap:anywhere}
.device-first .home-tile .home-tile-room{display:block;margin:4px 0 0;font-size:12px;line-height:1.35;color:#617669;text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
.device-first .home-tile .home-tile-status{font-size:12px;padding:0;margin-top:10px;background:transparent;line-height:1.4;overflow-wrap:anywhere;text-align:left}
.device-first .home-tile .home-tile-temperature{margin-top:6px;font-size:24px;line-height:1.2}
.device-first .home-tile .home-tile-temperature small{font-size:12px;font-weight:400;letter-spacing:0}
.device-first .home-tile .home-tile-time{display:flex;gap:3px;align-items:flex-start;font-size:10px;line-height:1.35;padding-top:9px;margin-top:auto;color:#6a7c70;text-align:left}
.device-first .home-tile .home-tile-time svg{flex-shrink:0}
.device-first .home-tile .tile-quick-button{min-height:46px;margin:0 9px 9px;font-size:13px;background:#edf4ee;border:1px solid #cbdccf;color:#315c41;border-radius:11px;padding:8px;white-space:normal;text-align:center;line-height:1.3;width:calc(100% - 18px)}
.device-first .home-tile .tile-quick-button.check-status{background:#faf3e6;color:#805b24;border-color:#e7d7ba}
.device-first .home-tile .tile-quick-button:disabled{opacity:.55}
.device-first-all{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin-top:10px;color:#315c41;border:1px solid #d8e2d9;border-radius:12px;background:#fff;font-size:13px}
.device-first-hints,.device-first-info{border-top:1px solid #dbe3dd;margin-top:18px;padding-top:4px;min-width:0}
.device-first-hints>summary,.device-first-info>summary{display:flex;align-items:center;gap:9px;min-height:48px;cursor:pointer;color:#526b59;font-size:14px;font-weight:600;list-style:none}
.device-first-hints>summary>span,.device-first-info>summary>span{flex:1}
.device-first-hints>summary::-webkit-details-marker,.device-first-info>summary::-webkit-details-marker{display:none}
.device-first-hints[open]>summary>svg:last-child,.device-first-info[open]>summary>svg:last-child{transform:rotate(90deg)}
.device-first-alert{display:flex;align-items:flex-start;gap:4px;padding:8px 0;border-top:1px solid #e3e8e2}
.device-first-alert-open{display:flex;align-items:flex-start;gap:9px;text-align:left;min-width:0;flex:1;padding:9px 2px;color:#6f572f}
.device-first-alert-open>svg{flex-shrink:0;margin-top:2px}
.device-first-alert.danger .device-first-alert-open{color:#914b3e}
.device-first-alert-open>span{min-width:0;flex:1}
.device-first-alert-open strong{display:block;font-size:13px;overflow-wrap:anywhere}
.device-first-alert-open span span{display:block;font-size:12px;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}
.device-first .alert-dismiss{width:44px;height:44px;min-width:44px;border:1px solid #d7dfd6;background:#fff;border-radius:11px;flex-shrink:0;color:#566d5c}
.device-first-hints>p,.device-first-info p{font-size:12px;line-height:1.65;color:#617367;margin:12px 0}
.device-first-info-part>summary{min-height:44px;cursor:pointer;padding:12px 0;color:#526b59;font-size:13px;font-weight:600}
.device-first-info-part{border-top:1px solid #e3e8e2}
.device-first .home-feedback{font-size:12px;line-height:1.6;margin:10px 0}
.device-first .home-loaded{font-size:10px;margin-top:14px}
@media(max-width:1100px){.device-first .home-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.device-first .home-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.device-first .home-tile .home-tile-name{font-size:15px}.device-first .home-tile .home-tile-open{padding:12px 10px 9px}.device-first .home-tile .home-tile-room{font-size:11px}.device-first .home-tile .tile-quick-button{font-size:12px}.device-first .home-tile-temperature>small:last-child{font-size:10px}.device-first .home-heading h1{font-size:27px}}
@media(max-width:360px){.device-first-tile-head{gap:5px}.device-first-tile-head>.home-device-icon{width:22px;min-width:22px;height:25px}.device-first-tile-head>svg{width:11px}.device-first .home-tile .home-tile-name{font-size:15px}.device-first-filters{gap:6px}.device-first-filters select{padding-left:6px;padding-right:3px}}

/* 1.21.4: the existing SolarSummary is the visual reference; state stays in text. */
[data-category]{--device-accent:#345c4d;--device-soft:#f0f5ee;--device-end:#fafcf8;--device-active:#e3eee4;--device-border:#cbd9cd;--device-control:#597163;--device-ink:#263f31}
[data-category=climate]{--device-accent:#27628d;--device-soft:#edf5fc;--device-end:#f9fcfd;--device-active:#dfedf8;--device-border:#cbdce9;--device-control:#51768e;--device-ink:#203e54}
[data-category=light]{--device-accent:#805b13;--device-soft:#fff5d6;--device-end:#f9fbef;--device-active:#f9edc3;--device-border:#e7dab4;--device-control:#8a7135;--device-ink:#544b2c}
[data-category=household]{--device-accent:#675098;--device-soft:#f4eefa;--device-end:#fcfafd;--device-active:#ebe0f5;--device-border:#dcd0e8;--device-control:#7c6694;--device-ink:#453455}
[data-category=garden]{--device-accent:#3a7143;--device-soft:#eff6e9;--device-end:#fafcf5;--device-active:#e1edd5;--device-border:#d0dec4;--device-control:#5d7950;--device-ink:#30492b}
[data-category=water]{--device-accent:#1c7374;--device-soft:#eaf7f4;--device-end:#f8fcfb;--device-active:#d9eee8;--device-border:#c5dfd9;--device-control:#4f7b75;--device-ink:#214c47}
.device-first .home-tile[data-category],.device-first .home-tile.is-active[data-category],.device-first .home-tile.needs-attention[data-category],.device-first .home-tile.tone-danger[data-category]{background:linear-gradient(120deg,var(--device-soft),var(--device-end));border:1px solid var(--device-border);color:var(--device-ink);box-shadow:none}
.device-first .home-tile .home-tile-open{color:var(--device-ink)}
.device-first-tile-head{display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:8px}
.device-first-tile-head>.home-device-icon{grid-column:1;grid-row:1;width:28px;height:28px;min-width:28px;background:transparent!important;color:var(--device-accent)!important;box-shadow:none!important}
.device-first-tile-head>svg{grid-column:2;grid-row:1;color:#7c581c}
.device-first-tile-title{grid-column:1/-1;grid-row:2;width:100%}
.device-first .home-tile .home-tile-name{font-size:15px;line-height:1.4;letter-spacing:0;word-break:normal;overflow-wrap:normal;hyphens:manual}
.device-first .home-tile :is(.home-tile-name,.home-tile-room,.home-tile-status,.home-tile-temperature,.home-tile-time),.device-first .home-tile .home-tile-temperature small{color:var(--device-ink)}
.device-first .home-tile .home-tile-room{overflow-wrap:break-word}
.device-first .home-tile .home-tile-status{display:flex;align-items:flex-start;gap:5px;line-height:1.5;min-width:0}
.device-first .home-tile .home-tile-status svg{flex-shrink:0;margin-top:2px}
.device-first .home-tile[data-state=active] .home-tile-status{font-weight:700;color:var(--device-accent)}
.device-first .home-tile[data-state=fault] .home-tile-status{color:#a32028}
.device-first .home-tile[data-state=fault] .device-first-tile-head>svg{color:#a32028}
.device-first .home-tile .home-tile-time{font-size:11px;line-height:1.5}
.device-first .home-tile[data-category] .tile-quick-button{min-height:44px;background:#ffffffb8;border:1px solid var(--device-control);color:var(--device-ink);font-weight:600;opacity:1;border-radius:10px}
.device-first .home-tile[data-category] .tile-quick-button.check-status{background:#ffffffb8;color:var(--device-ink);border-color:var(--device-control)}
.device-first .home-tile[data-category] .tile-quick-button:disabled{opacity:1;background:#f0f2ef;border-color:#718075;color:#45524b}
.device-first-filters select{border:1px solid #557063;color:#263f31}
.device-first-filters select[data-selected=true]{background:#e7efe6;font-weight:700}
.device-first-filters select[data-category]:not([data-category=all]){background:var(--device-active);border-color:var(--device-control);color:var(--device-ink);font-weight:700}
.device-first-filters select option{background:#fff;color:#263f31}
.device-first-search select,.device-first-search .home-search,.device-first-filters>.home-icon-button,.device-first-all{border:1px solid #557063;color:#263f31}
.device-first .alert-dismiss{border-color:#557063;color:#263f31}
.quick-device[data-category],:is(.household-workspace,.miele-workspace,.lighting-workspace,.garden-workspace,.rr-workspace)[data-category] :is(.household-device,.miele-device,.garden-device,.light-card,.rr-status-panel),.device-energy-card[data-category],.plug-energy[data-category]{background:linear-gradient(120deg,var(--device-soft),var(--device-end));border:1px solid var(--device-border);color:var(--device-ink);box-shadow:none}
.quick-device[data-category] :is(.home-dialog-title,.quick-device-room,.quick-program,.quick-program h3,.quick-program p,.quick-poll-note,.subtle,.quick-confirm>p,.quick-confirm .eyebrow){color:var(--device-ink)!important}
.quick-device[data-category] .quick-device-symbol{background:transparent;color:var(--device-accent)}
.quick-device[data-category] :is(.quick-state,.quick-metrics>div,.quick-temperature,.quick-review){background:#ffffffb8;border:1px solid var(--device-border);color:var(--device-ink)}
.quick-device[data-category] :is(.quick-state small,.quick-metrics dt,.quick-metrics dd,.quick-power>span,.quick-temperature label,.quick-temperature small,.quick-more summary,.quick-review p,.quick-review small,.text-button,.quick-program>small){color:var(--device-ink)}
.quick-device[data-category] .quick-state-dot{display:none}
.quick-device[data-category] :is(.button,.quick-power button,.quick-temperature-step>button,.home-icon-button),.device-energy-card[data-category] :is(.button,.text-button),.plug-energy[data-category] .button{border:1px solid var(--device-control);color:var(--device-ink);background:#ffffffb8;min-height:44px}
.quick-device[data-category] :is(.button.primary,.quick-power button.selected),.quick-device[data-category] .quick-actions .button,:is(.household-workspace,.miele-workspace,.lighting-workspace,.garden-workspace,.rr-workspace)[data-category] .button.primary{background:var(--device-active);color:var(--device-ink);border:1px solid var(--device-control);font-weight:600}
.quick-device[data-category] .quick-actions .button>svg{color:var(--device-accent)}
.quick-device[data-category] :is(.button,.quick-power button):disabled:not(.selected){background:#f0f2ef;color:#45524b;border-color:#718075;opacity:1}
.quick-device[data-category] .quick-power button:disabled{opacity:1}
.quick-device[data-category] .quick-footer{background:transparent}
.quick-device[data-category] .household-control :is(label,select){color:var(--device-ink)}
.quick-device[data-category] .household-control :is(input,select){border:1px solid var(--device-control);color:var(--device-ink);background:#fff}
.device-energy-card[data-category] :is(h3,p,small),.plug-energy[data-category] :is(.subtle,.plug-live,.plug-live strong,.plug-total,.plug-total small,.plug-period-caption,.plug-chart-max,.plug-method){color:var(--device-ink)}
.device-energy-card[data-category] .panel-heading>svg{color:var(--device-accent);flex-shrink:0}
.device-energy-card[data-category] :is(.button,.text-button){padding:10px 12px;border-radius:10px;display:inline-flex;align-items:center;gap:8px;white-space:normal;text-align:left}
.device-energy-card[data-category] .energy-sample-time{display:flex;align-items:flex-start;gap:5px;line-height:1.6}
.energy-sample-time>svg{flex-shrink:0;margin-top:2px}
.device-energy-card[data-category] .energy-room{font-size:12px;margin-top:6px}
.home-room-card,.room-readings{background:linear-gradient(120deg,#f0f5ee,#fafcf8);border:1px solid #cbd9cd;color:#263f31;box-shadow:none}
.home-room-card.room-climate,.room-readings{background:linear-gradient(120deg,#edf5fc,#f9fcfd);border-color:#cbdce9}
.home-room-card :is(h3,.room-card-source,.room-card-footer){color:#304a3c}
.room-readings :is(span,small,.subtle){color:#203e54}
.control-panel[data-category] .control-card,.metric-grid[data-category] .metric-card{background:linear-gradient(120deg,var(--device-soft),var(--device-end));border:1px solid var(--device-border);color:var(--device-ink);box-shadow:none}
.control-panel[data-category] :is(label,small,.control-label,.control-value),.metric-grid[data-category] :is(.metric-label,.metric-label svg,.metric-number,.metric-footer){color:var(--device-ink)}
.control-panel[data-category] :is(.control-group,.control-help,.eyebrow,.panel-intro),.metric-grid[data-category] .metric-number span{color:var(--device-ink)}
.section-tabs button,.source-strip .source-date,.source-strip .small-badge{color:#4a5f52}
.source-strip.connected .source-date,.control-panel[data-category] .small-badge{color:#4a5f52}
.control-panel[data-category] :is(input,select){border:1px solid var(--device-control);color:var(--device-ink);background:#fff}
:is(.household-workspace,.miele-workspace,.garden-workspace,.lighting-workspace,.rr-workspace)[data-category] :is(.eyebrow,.subtle,.miele-device-heading p,.panel-foot,.miele-values dt,.miele-values small,.garden-toolbar p,.miele-toolbar p,.garden-duration label,.device-help summary,.light-title p,.light-channel>span,.light-foot small,.light-details summary){color:var(--device-ink)}
:is(.household-workspace,.miele-workspace,.garden-workspace,.lighting-workspace,.rr-workspace)[data-category] .device-symbol{background:transparent;color:var(--device-accent)}
.garden-workspace[data-category] .quality-badge{color:#5b4a29;background:#fff8e9}
.garden-workspace[data-category] .quality-badge.good{color:var(--device-ink);background:var(--device-active)}
.garden-workspace[data-category] .garden-duration select{border:1px solid var(--device-control);background:#fff;color:var(--device-ink);min-height:44px}
.device-energy>.subtle,.connections-workspace .settings-note,.connections-workspace .settings-row small{color:#4a5f52}
.connections-workspace .connection-state{color:#665638}
.connections-workspace .connection-state.connected{color:#375b39}
.solar-workspace :is(.subtle,.solar-metric>small,.solar-battery small,.solar-disconnect summary){color:#4a5f52}
.solar-workspace select{border-color:#557063}
.home-overview.device-first :is(button,select,input):focus-visible,.quick-device[data-category] :is(button,select,input):focus-visible,.device-energy :is(button,input,select):focus-visible{outline:3px solid #152f45;outline-offset:3px}
.home-overview.device-first .home-tile-open:focus-visible{outline-offset:-4px;border-radius:12px}
.simple-shell .brand-sub,.simple-shell .home-label,.simple-shell .sidebar-bottom p,.simple-shell .topbar,.simple-shell .topbar .private,.simple-shell .sidebar .nav-item:not(.active),.device-first .home-loaded,.device-first .home-loaded span,.simple-shell .app-footer,.simple-shell .topbar>span,.simple-shell footer,.simple-shell footer span{color:#4a5f52}
@media(max-width:760px){.device-first .home-tile .home-tile-open{padding:12px 10px 9px}.quick-device[data-category] .home-dialog-title h2{overflow-wrap:break-word;word-break:normal;line-height:1.35}}
@media(max-width:360px){.device-first .home-tile-grid{grid-template-columns:1fr}.device-first-tile-head{grid-template-columns:28px 1fr auto;column-gap:8px;row-gap:0}.device-first-tile-title{grid-column:2;grid-row:1}.device-first-tile-head>svg{grid-column:3}.device-first .home-tile .home-tile-name{font-size:15px}}
:is(.household-workspace,.miele-workspace,.garden-workspace,.lighting-workspace,.rr-workspace)[data-category] :is(.light-power small,.light-card>small){color:var(--device-ink)}

/* Inner measurement cards follow their existing device category (1.21.5). */
.rr-workspace[data-category] .rr-stats>div,:is(.miele-workspace,.household-workspace,.garden-workspace)[data-category] .miele-values>div{background:linear-gradient(120deg,var(--device-soft),var(--device-end));border:1px solid var(--device-border);color:var(--device-ink)}
.rr-workspace[data-category] .rr-stats :is(strong,small,span,svg),:is(.miele-workspace,.household-workspace,.garden-workspace)[data-category] .miele-values :is(dt,dd,small,svg){color:var(--device-ink)}

/* Explicit PV / outdoor conditions stay within the existing scene and Solar style. */
.scene-editor .scene-start-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.scene-editor .scene-start-mode>button:last-child{grid-column:1/-1}
.scene-editor .scene-start-mode>button{min-height:48px;white-space:normal;line-height:1.4}
.scene-condition-fields{background:linear-gradient(120deg,#fff5d6,#f9fbef);border:1px solid #e7dab4;border-radius:18px;padding:16px;margin:18px 0;color:#544b2c;min-width:0}
.scene-condition-fields label,.scene-cooling-device label{display:grid;gap:8px;margin:14px 0;font-size:13px;line-height:1.5;color:inherit}
.scene-condition-fields :is(input,select){min-height:46px;border:1px solid #8a7135;color:#544b2c;background:#fff;min-width:0;width:100%;font-size:16px;border-radius:10px;padding:10px}
.condition-number-row{display:flex;gap:8px;align-items:center;min-width:0}
.condition-number-row input{flex:1;min-width:0}
.condition-number-row .button{flex-shrink:0;min-height:46px;font-size:12px;border:1px solid #8a7135;background:#ffffffbf;color:#544b2c;padding:10px;border-radius:10px}
.condition-and{font-size:12px;font-weight:700;display:block;margin:16px 0 2px}
.scene-condition-fields :is(.subtle,.condition-source-reading){font-size:12px;line-height:1.6;color:#544b2c}
.condition-source-reading{display:block;overflow-wrap:anywhere;margin:-4px 0 12px}
.condition-summary{font-size:13px;font-weight:600;line-height:1.6;margin:14px 0;padding:12px;border:1px solid #e7dab4;border-radius:12px;background:linear-gradient(120deg,#fff5d6,#f9fbef);color:#544b2c;overflow-wrap:anywhere}
.scene-cooling-devices{min-width:0;color:var(--device-ink)}
.scene-cooling-devices>.subtle,.scene-cooling-device .subtle{color:var(--device-ink);font-size:12px;line-height:1.6}
.scene-cooling-device{padding:15px;border:1px solid var(--device-border);border-radius:15px;background:linear-gradient(120deg,var(--device-soft),var(--device-end));margin:12px 0;min-width:0}
.scene-cooling-device .condition-device-choice{display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer;min-height:44px;padding:5px 0;overflow-wrap:anywhere}
.scene-cooling-device .condition-window-choice{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;margin:12px 0;cursor:pointer}
.condition-window-choice input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0;accent-color:#27628d}
.condition-device-choice input[type=checkbox]{width:20px!important;height:20px;min-height:20px;flex-shrink:0;margin:1px 0 0;accent-color:#27628d}
.scene-cooling-device :is(input[type=number],input[type=time],select){min-height:46px;width:100%;min-width:0;border:1px solid var(--device-control);background:#fff;color:var(--device-ink);font-size:16px;border-radius:10px;padding:10px}
.scene-direction-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.scene-direction-choice>button{min-height:48px;padding:12px;border:1px solid #54728d;border-radius:12px;background:linear-gradient(120deg,#f1f7ff,#eaf2fa);color:#193f5a;font:inherit;font-weight:650;line-height:1.5;text-align:left;white-space:normal}
.scene-direction-choice>button[aria-pressed=true]{background:linear-gradient(120deg,#dceafa,#e9f2ff);border:2px solid #234c70;box-shadow:inset 0 0 0 1px #234c70}
@media(max-width:540px){.scene-direction-choice{grid-template-columns:1fr}}
.scene-cooling-device small{color:var(--device-ink);font-size:11px;line-height:1.5}
.condition-scene-card{display:block;padding:18px;background:linear-gradient(120deg,var(--device-soft),var(--device-end));border:1px solid var(--device-border);color:var(--device-ink)}
.condition-card-heading{display:flex;gap:10px;align-items:center;min-width:0}
.condition-card-heading>div{flex:1;min-width:0;display:grid;gap:5px}
.condition-card-heading strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.condition-card-heading small{font-size:12px;line-height:1.5;color:var(--device-ink)}
.condition-card-heading .home-icon-button{flex-shrink:0;min-width:44px;min-height:44px;color:var(--device-ink)}
.condition-actions-summary{margin:12px 0;color:var(--device-ink)}
.condition-actions-summary>p{display:grid;gap:4px;padding:10px 0;border-top:1px solid var(--device-border);margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.condition-actions-summary strong{font-size:13px;color:var(--device-ink)}
.condition-wait{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.6;color:var(--device-ink);margin:12px 0}
.condition-wait svg{flex-shrink:0;margin-top:3px}
.condition-last{font-size:12px;line-height:1.6;color:var(--device-ink);margin:12px 0}
.condition-last :is(strong,span){display:block}
.condition-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.condition-card-actions .button{min-height:44px;padding:10px 13px;border:1px solid var(--device-control);border-radius:11px;background:#ffffffbf;color:var(--device-ink);font-size:13px;white-space:normal}
.condition-card-actions .button.primary{background:var(--device-active);color:var(--device-ink)}
.condition-activation{color:var(--device-ink);background:linear-gradient(120deg,var(--device-soft),var(--device-end));border:1px solid var(--device-border)}
.condition-activation>p{font-size:13px;line-height:1.65;color:var(--device-ink)}
.condition-activation .condition-summary{color:#544b2c}
.condition-activation .schedule-consent{color:var(--device-ink);line-height:1.6}
.condition-activation .schedule-consent input{accent-color:#27628d}
.condition-activation .home-dialog-title h2{font-size:24px;line-height:1.3}
.condition-activation .eyebrow{color:var(--device-ink)}
.scene-editor :is(.scene-condition-fields,.scene-cooling-devices) :is(input,select,button):focus-visible,.condition-scene-card :is(button,input):focus-visible,.condition-activation :is(button,input):focus-visible{outline:3px solid #152f45;outline-offset:3px}
@media(max-width:540px){.scene-editor .scene-start-mode{grid-template-columns:1fr}.scene-editor .scene-start-mode>button{display:flex;flex-direction:row;justify-content:flex-start;gap:10px;text-align:left;padding:11px 13px}.scene-condition-fields{padding:13px}.condition-scene-card{padding:15px}.condition-activation{padding:21px 17px;max-height:90dvh;overflow:auto}.condition-number-row .button{font-size:11px}.condition-card-actions .button{flex:1}}

/* Compact room scenes: one form, shared temperatures, optional details. */
html:has(.scene-dialog[open]),body:has(.scene-dialog[open]){overflow:hidden}
.scene-editor--compact .scene-save-bar>.error-strip{font-size:12px;line-height:1.45;color:#8b3128;margin:2px 0}
.scene-toolbar{margin-bottom:16px}.scene-create-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.scene-create-actions .button,.scene-create-actions .text-button{min-height:46px;white-space:normal}.scene-create-actions .button.primary{background:linear-gradient(120deg,#e2effb,#f1f7fc);border:1px solid #597c98;color:#193f5a}.scene-create-actions .text-button{padding:9px 10px}.scene-create-actions .home-icon-button{margin-left:auto;flex-shrink:0}
.scene-editor-head-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}.scene-editor .home-dialog-title>div:first-child{min-width:0}.scene-delete-trigger{min-height:44px;padding:8px 4px;color:#913e31;white-space:nowrap}.scene-delete-confirm{padding:14px;border:1px solid #c4978f;border-radius:12px;background:#fff5f2;color:#733a30;margin:0 0 14px;line-height:1.5}.scene-delete-confirm strong{display:block;overflow-wrap:anywhere}.scene-delete-confirm p{font-size:13px;margin:6px 0 10px}.scene-delete-confirm>div{display:flex;gap:8px;flex-wrap:wrap}.scene-delete-confirm .button{min-height:44px}.scene-delete-confirm .danger{background:#913e31;border:1px solid #913e31;color:white}
.scene-editor--compact{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px;overflow:auto;overscroll-behavior:contain;scroll-padding-block:16px 126px;color:#193f5a}.scene-editor--compact .quick-handle{display:none}.scene-editor--compact .home-dialog-title{margin-bottom:14px;align-items:center;gap:10px}.scene-editor--compact .home-dialog-title h2{font-size:23px;line-height:1.25}.scene-editor--compact .home-dialog-title .eyebrow{display:none}.scene-editor--compact .scene-name{margin:0 0 12px;font-size:13px}.scene-editor--compact .scene-name input{min-height:44px;font-size:16px;padding:10px 12px;margin-top:6px}.scene-editor--compact .scene-form-fields{min-width:0}.scene-editor--compact .scene-section-heading{margin:0 0 4px;gap:8px;flex-wrap:wrap}.scene-editor--compact h3{font-size:14px;line-height:1.4;margin:0;font-weight:650}.scene-editor--compact .scene-section-heading>span{font-size:11px;color:#486072}.compact-condition-editor{min-width:0}.compact-direction-choice{grid-template-columns:1fr 1fr!important;gap:8px;margin:0 0 13px}.compact-direction-choice>button{min-height:44px;padding:8px 12px;text-align:center;font-size:15px;line-height:1.4}.compact-scene-section{margin:13px 0;min-width:0}.compact-room-list{display:grid;gap:2px}.compact-room-entry{padding:0 9px;border-radius:10px;min-width:0}.compact-room-entry.selected{background:#ecf4fb}.compact-room-row{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:46px;margin:0!important;padding:5px 0;cursor:pointer}.compact-room-row input[type=checkbox]{width:20px;height:20px;min-height:20px;padding:0;margin:0;accent-color:#285a7c}.compact-room-name{min-width:0;line-height:1.35}.compact-room-name strong{font-size:13px;font-weight:600;display:block;overflow-wrap:anywhere}.compact-room-name small{display:block;font-size:11px;line-height:1.4;color:#486072}.compact-room-reading{font-size:14px;font-weight:650;white-space:nowrap;color:#193f5a}.compact-room-entry .scene-item-warning{font-size:12px;line-height:1.45;margin:0 0 9px}.compact-room-entry>small{font-size:12px;line-height:1.5;display:block;padding-bottom:9px}
.compact-temperature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px;min-width:0}.compact-temperature-grid>label{display:grid!important;gap:6px;margin:0!important;min-width:0;font-size:12px;line-height:1.4;font-weight:600;color:#193f5a}.compact-temperature-input{display:grid;grid-template-columns:minmax(54px,.7fr) minmax(0,1fr);gap:7px;align-items:center;min-width:0}.compact-temperature-input>span{font-size:12px;line-height:1.35;font-weight:500}.scene-editor--compact :is(.compact-temperature-grid,.compact-solar-options) :is(input[type=number],input[type=time],select){width:100%;min-width:0;min-height:44px;border:1px solid #668399;background:white;color:#193f5a;border-radius:9px;padding:8px;font-size:16px;line-height:1.4;box-sizing:border-box}.compact-individual-toggle{min-height:44px;padding:8px 0;font-size:12px;font-weight:600;color:#285a7c}.compact-room-entry>.compact-temperature-grid{margin:0 0 12px}.compact-shared-temperatures{margin-bottom:0}.compact-shared-temperatures>.subtle{font-size:12px;line-height:1.5;margin:7px 0}
.compact-solar-choice{display:grid;grid-template-columns:1.2fr .8fr 1.2fr;gap:6px;margin-top:7px}.compact-solar-choice>button{min-height:48px;padding:7px 6px;border:1px solid #748797;border-radius:10px;background:#fff;color:#294859;font-size:12px;font-weight:600;line-height:1.35;white-space:normal}.compact-solar-choice>button[aria-pressed=true]{background:#fff1c6;border:2px solid #8c6a22;color:#594317}.compact-solar-options{margin:10px 0 0;padding:0;min-width:0}.compact-solar-options>label{display:grid;gap:6px;margin:10px 0;font-size:12px;line-height:1.4;font-weight:600}.compact-solar-binding{display:flex;gap:6px;align-items:center;overflow-wrap:anywhere;font-size:12px;line-height:1.4;margin:7px 0;color:#53604d}.compact-solar-binding svg{flex-shrink:0}.compact-solar-options>.subtle{display:block;font-size:11px;line-height:1.5;color:#53604d;margin-top:4px}.compact-solar-details summary{min-height:36px;cursor:pointer;font-size:12px;line-height:1.5;padding:8px 0;color:#486072}.compact-solar-details .condition-source-reading{margin:4px 0;font-size:12px;line-height:1.5}
.compact-scene-extras{border-top:1px solid #d8e3eb;border-bottom:1px solid #d8e3eb;margin:12px 0;color:#294859}.compact-scene-extras>summary{min-height:44px;box-sizing:border-box;padding:12px 0;cursor:pointer;font-size:13px;font-weight:600;line-height:1.5}.compact-scene-extras>summary>span{font-weight:400;font-size:12px}.compact-room-detail{padding:12px 0;border-top:1px solid #d8e3eb;min-width:0}.compact-room-detail h4{font-size:13px;line-height:1.5;margin:0 0 5px}.compact-room-detail small{font-size:11px;line-height:1.55;display:block}.compact-room-detail .condition-source-reading{margin:10px 0 4px}.compact-room-window .condition-window-choice{display:flex;flex-direction:row;justify-content:flex-start;gap:10px;align-items:center;min-height:44px;margin:0;font-size:13px;cursor:pointer}.compact-room-window .compact-temperature-grid{margin:0 0 7px}.compact-scene-extras>.subtle{font-size:12px;line-height:1.5;padding-bottom:10px}.compact-scene-summary{margin:10px 0;font-size:13px;line-height:1.5;color:#193f5a;overflow-wrap:anywhere}.scene-editor--compact .notice{padding:10px 12px;font-size:12px;line-height:1.5;margin:8px 0}.scene-editor--compact .scene-save-bar{position:sticky;bottom:0;z-index:2;display:grid;gap:7px;padding:12px 0 max(8px,env(safe-area-inset-bottom));margin:10px 0 0;background:#fff;border-top:1px solid #d8e3eb}.scene-editor--compact .scene-save-bar>p{font-size:11px;margin:0;color:#486072}.scene-editor--compact .scene-save-bar .button{min-height:46px;font-size:14px;justify-content:center}.scene-editor--compact .scene-save-bar>small{font-size:11px;line-height:1.4;color:#6f4a35}.scene-editor--compact .condition-edit-note{font-size:12px;line-height:1.5;margin:10px 0 0}
.compact-condition-summary{font-size:13px;line-height:1.6;margin:12px 0;color:#193f5a;overflow-wrap:anywhere}.condition-room-list{list-style:none;padding:0;margin:10px 0}.condition-room-list>li{padding:7px 0;border-top:1px solid #d8e3eb;font-size:12px;line-height:1.5;min-width:0}.condition-room-list>li>div{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.condition-room-list>li>div>span{min-width:0;overflow-wrap:anywhere}.condition-room-list strong{white-space:nowrap;font-weight:600}.condition-room-list p{margin:4px 0;font-size:12px;line-height:1.5}.condition-room-list small{display:block;margin-top:3px;line-height:1.5;font-size:11px}.condition-room-list .condition-room-alert{color:#8b4434;font-size:12px}.condition-card-details{border-top:1px solid #d8e3eb;margin:12px 0 0}.condition-card-details>summary{min-height:44px;padding:12px 0 8px;cursor:pointer;font-size:12px;line-height:1.5;box-sizing:border-box}.condition-scene-card--compact .condition-wait{margin:8px 0;font-size:12px}.condition-scene-card--compact .condition-today-pause{margin-top:6px}.condition-scene-card--compact .condition-today-pause .condition-card-actions{margin-top:6px}.condition-scene-card--compact .condition-today-pause>small{font-size:11px;line-height:1.5;display:block;margin-top:5px}.condition-activation--compact{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;scroll-padding-block:16px 90px}.condition-activation--compact .condition-card-actions{position:sticky;bottom:0;padding:12px 0 max(10px,env(safe-area-inset-bottom));background:#f2f7fc;z-index:2}.condition-activation--compact .schedule-consent{min-height:44px;align-items:center;font-size:13px;margin-top:14px}.condition-activation--compact>.compact-solar-binding{font-size:12px}.scene-editor--compact :is(button,input,select,summary):focus-visible,.condition-card-details>summary:focus-visible{outline:3px solid #285a7c;outline-offset:2px}
@media(max-width:760px){.scene-toolbar{display:block}.scene-create-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:6px}.scene-create-actions>.button{padding:10px 12px;font-size:13px;gap:7px}.scene-create-actions>.text-button{font-size:12px;padding:8px 3px}.scene-editor--compact{width:100%;max-width:none;max-height:calc(100dvh - 12px);margin:12px 0 0;inset:auto 0 0;padding:18px 16px max(16px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.scene-editor--compact .home-dialog-title h2{font-size:22px}.scene-editor--compact .scene-save-bar{padding-bottom:max(12px,env(safe-area-inset-bottom))}.condition-activation--compact{width:100%;max-width:none;max-height:calc(100dvh - 12px);margin:12px 0 0;inset:auto 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom))}.scenes-panel:not(.scenes-compact){scroll-padding-bottom:100px;margin-bottom:calc(28px + env(safe-area-inset-bottom))}.scene-dialog button,.scene-dialog summary{touch-action:manipulation}}
@media(max-width:360px){.compact-temperature-grid{grid-template-columns:1fr;gap:10px}.compact-temperature-input{grid-template-columns:minmax(65px,.7fr) 1fr}.compact-room-row{gap:7px}.compact-room-name strong{font-size:12px}.compact-room-reading{font-size:13px}.scene-editor--compact .home-dialog-title h2{font-size:20px}.scene-delete-trigger{font-size:12px;gap:5px}.scene-editor-head-actions{gap:4px}.scene-create-actions{grid-template-columns:minmax(0,1fr) 44px}.scene-create-actions>.button{grid-column:1}.scene-create-actions>.home-icon-button{grid-column:2;grid-row:1}.scene-create-actions>.text-button{grid-column:1/-1;justify-content:flex-start;padding-left:0}}
