:root { --dashboard-gap: 11px; --room-readings-row-gap:15px; --room-readings-column-gap:7px; --dashboard-inset: 18px; --viewport-scrollbar-space: 0px; --dashboard-end-inset: max(0px,calc(var(--dashboard-inset) - var(--viewport-scrollbar-space))); --nav-glass:rgba(8,27,54,.48); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; color-scheme: dark; --bg: #03111a; --surface: #081c28; --surface-2: #0c2331; --surface-soft: #102a38; --glass: rgba(5, 24, 35, .88); --glass-hero: rgba(4, 20, 30, .28); --text: #f4f8fb; --muted: #9db0bf; --faint: #6f8798; --line: rgba(137, 184, 211, .16); --blue: #19a8ff; --green: #08df8d; --yellow: #ffc31c; --orange: #ff7b18; --red: #ff4655; --shadow: 0 14px 36px rgba(0, 0, 0, .22); --hero-sky: radial-gradient(circle at 65% 10%, #324487 0, #192e59 31%, #112640 55%, #071721 100%); } :root[data-theme="light"] { color-scheme: light; --bg: #edf8ff; --surface: rgba(255, 255, 255, .91); --surface-2: #f5fbff; --surface-soft: #eaf4fb; --glass: rgba(255, 255, 255, .86); --glass-hero: rgba(255, 255, 255, .24); --text: #0d1729; --muted: #64708d; --faint: #8a96ad; --line: rgba(32, 105, 158, .13); --blue: #079cf3; --green: #00c983; --yellow: #ffbd00; --red: #f43645; --shadow: 0 12px 32px rgba(34, 104, 148, .12); --hero-sky: linear-gradient(155deg, #83caff 0%, #bde2ff 42%, #f7d18a 100%); } * { box-sizing: border-box; } html { min-width: 320px; background: var(--bg); } body { margin: 0; color: var(--text); background: var(--bg); min-height: 100vh; } body[data-section="home"] { --dashboard-gap:10px; } a { color: inherit; text-decoration: none; } button, input, select { font: inherit; } button { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: .55; } button, a, input, select, summary { -webkit-tap-highlight-color: transparent; } :focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 75%, white); outline-offset: 3px; } .site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 82px; padding: 13px 3.2%; display: grid; grid-template-columns: 240px minmax(480px, 1fr) 270px; gap: 24px; align-items: center; color: white; } body[data-section="home"]:not([data-guest="true"]) .site-header { right:var(--drawer-scrollbar-gap,0px); padding-inline:var(--dashboard-inset) var(--dashboard-end-inset); } .homey-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-shadow: 0 2px 12px #0008; } .homey-brand > span:last-child { display: grid; } .homey-brand strong { font-size: 20px; font-weight: 700; line-height: 1.05; } .homey-brand small { font-size: 12px; font-weight: 400; margin-top: 4px; opacity: .88; } .homey-mark { width: 46px; height: auto; aspect-ratio: 1; object-fit: contain; flex: 0 0 auto; } .site-header nav { display: flex; align-items: center; justify-content: center; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 6px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: var(--nav-glass); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%); } .site-header nav::-webkit-scrollbar { display: none; } .site-header nav a { flex: 0 0 auto; padding: 11px 16px; border-radius: 10px; font-size: 12px; color: rgba(255, 255, 255, .78); white-space: nowrap; } .site-header nav a span { display: none; } .site-header nav a:hover { color: white; background: rgba(255, 255, 255, .08); } .site-header nav a[aria-current="page"] { color: white; background: rgba(255, 255, 255, .15); } .header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; } .icon-button, .avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); color: white; background: rgba(5, 24, 43, .48); backdrop-filter: blur(14px); } .icon-button { font-size: 19px; padding: 0; } .avatar { background: #f5f7fa; color: #758198; font-weight: 800; } .connection-pill { font-size: 10px; font-weight: 400; padding: 0; border-radius: 0; color: rgba(255,255,255,.78); background: transparent; border: 0; flex-shrink: 0; white-space: nowrap; -webkit-backdrop-filter: none; backdrop-filter: none; } .connection-pill.connected { color: #6ff2ba; } body[data-section="home"] .connection-pill { text-shadow:0 1px 3px #000,0 0 8px #000b; } :root[data-theme="light"] .homey-brand { text-shadow: 0 1px 8px rgba(255,255,255,.75); } :root[data-theme="light"] .homey-brand small { opacity: 1; } :root[data-theme="light"] .site-header nav { background: rgba(239,248,255,.72); border-color: rgba(255,255,255,.55); } :root[data-theme="light"] .site-header nav a { color: #101a2a; } :root[data-theme="light"] .site-header nav a:hover { color: #0878bd; background: rgba(255,255,255,.55); } :root[data-theme="light"] .site-header nav a[aria-current="page"] { color: #078be0; background: rgba(111,193,250,.25); } main { min-height: 100vh; padding: 112px 34px 24px; max-width: 1540px; margin: auto; } body[data-section="home"] main { max-width: none; padding: 0; } body:not([data-section="home"]) .site-header { position: fixed; height: 84px; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: none; backdrop-filter: blur(20px); } :root[data-theme="light"] body:not([data-section="home"]) .site-header { color: var(--text); } :root[data-theme="light"] body:not([data-section="home"]) .homey-brand { text-shadow: none; } :root[data-theme="light"] body:not([data-section="home"]) .site-header nav { background: rgba(255,255,255,.65); border-color: var(--line); } :root[data-theme="light"] body:not([data-section="home"]) .site-header nav a[aria-current] { color: #0878bd; background: #d9efff; } .page-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; margin:16px 0 24px; } body[data-section="home"] .page-heading { display: none; } .eyebrow { margin: 0 0 7px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; } h1, h2, h3, p { margin-top: 0; } .page-heading h1 { margin: 0; font-size: 34px; letter-spacing: -.03em; } .page-heading h1 span { color: var(--blue); } .actions { display: flex; gap: 9px; } .actions:empty { display:none; } button { border: 1px solid var(--line); background: var(--surface-soft); color: var(--text); border-radius: 10px; padding: 10px 15px; } button.primary { color: white; border-color: var(--blue); background: var(--blue); } #notice:empty { display: none; } .notice { margin: 0 0 18px; padding: 12px 16px; display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 12px; } .notice span { color: var(--muted); } .notice a { margin-left: auto; color: var(--blue); } body[data-section="home"] #notice:not(:empty) { position: absolute; z-index: 22; top: 89px; left: 4%; right: 4%; } .home-hero { position: relative; min-height: clamp(540px, 33vw, 620px); overflow: hidden; isolation: isolate; background: #274a39; } .hero-atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,18,25,.84) 0%, rgba(7,18,25,.58) 23%, rgba(7,18,25,.08) 42%, transparent 62%, rgba(1,12,16,.35) 100%), linear-gradient(to bottom, rgba(1,10,17,.08) 36%, rgba(0,8,12,.68) 100%); } :root[data-theme="light"] .hero-atmosphere { background: linear-gradient(90deg, rgba(7,18,25,.84) 0%, rgba(7,18,25,.58) 23%, rgba(7,18,25,.08) 42%, transparent 63%, rgba(8,25,15,.2) 100%), linear-gradient(to bottom, transparent 45%, rgba(4,24,15,.36) 100%); } .hero-house { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(.96) saturate(.98); } .hero-house-night { display: none; } :root[data-scene="night"] .hero-house-day { display: none; } :root[data-scene="night"] .hero-house-night { display: block; } .hero-house-day { filter: brightness(1.03) saturate(1.04) contrast(1.02); } .hero-greeting { position: absolute; left: var(--dashboard-inset); top: 148px; width: min(430px, 31vw); color: white; text-shadow: 0 3px 16px rgba(0,0,0,.78); } .hero-greeting h1 { font-size: clamp(34px, 3vw, 47px); letter-spacing: -.035em; } .hero-greeting p { font-size: 17px; line-height: 1.45; font-weight: 650; } :root[data-theme="light"] .hero-greeting, :root[data-theme="light"] .hero-clock { color: white; text-shadow: 0 3px 14px rgba(0,0,0,.78); } .hero-clock { grid-column: 5; grid-row: 1; align-self: center; display: grid; justify-items: end; color: white; text-shadow: 0 3px 14px #000b; } .hero-clock span { font-size: 13px; } .hero-clock strong { font-size: 36px; letter-spacing: -.03em; } .hero-widget-layout { --widget-gap: var(--dashboard-gap); position: absolute; z-index: 1; left: var(--dashboard-inset); right: var(--dashboard-end-inset); top: 84px; bottom: var(--dashboard-gap); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; align-items: end; gap: var(--widget-gap); } .hero-weather { grid-column: 5; grid-row: 2; min-width: 0; container-type: inline-size; padding: 14px 16px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: white; background: var(--glass-hero); box-shadow: 0 10px 26px rgba(0,0,0,.22); -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%); } :root[data-theme="light"] .hero-weather { color: #11192a; background: var(--glass-hero); border-color: rgba(255,255,255,.72); } .weather-glance-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 10px; } .weather-glance-heading > a { color: inherit; } .weather-daily-range { display: flex; align-items: center; gap: 10px; } .weather-daily-range > span { font-size: 11px; } .weather-daily-range > span:first-child { opacity: .7; } .weather-daily-high, .weather-daily-low { display: flex; align-items: center; gap: 2px; } .weather-daily-range b { font-size: 13px; font-variant-numeric: tabular-nums; } .weather-daily-arrow { width: 13px; height: 13px; flex: 0 0 13px; } .weather-daily-high .weather-daily-arrow { color: #ffb270; } .weather-daily-low .weather-daily-arrow { color: #54bdff; } :root[data-theme="light"] .weather-daily-high .weather-daily-arrow { color: #c16518; } :root[data-theme="light"] .weather-daily-low .weather-daily-arrow { color: #007bc9; } .weather-glance-main { display: flex; align-items: center; gap: 10px; color: inherit; margin-bottom: 12px; } .weather-glance-main .weather-glance-temperature { font-size: 34px; line-height: 1; letter-spacing: -.06em; } .weather-glance-main > div { display: grid; gap: 4px; flex: 1; min-width: 0; } .weather-glance-main > div strong { font-size: 12px; } .weather-glance-main > div > span { font-size: 11px; opacity: .8; } .weather-icon { width: 26px; height: 26px; flex: 0 0 auto; color: #a3c6e7; } .weather-icon-sun, .weather-icon-sun-cloud, .weather-icon-storm { color: #ffbc39; } .weather-icon-rain, .weather-icon-snow { color: #40b8ff; } .weather-icon-moon { color: #bacbf6; } :root[data-theme="light"] .weather-icon-cloud { color: #667c96; } :root[data-theme="light"] .weather-icon-moon { color: #6078ac; } .weather-glance-main > .weather-icon { flex-basis: 48px; } .weather-current-wind { display: flex; align-items: center; gap: 5px; } .weather-current-wind > span { min-width: 0; } .weather-direction-arrow { width: 16px; height: 16px; flex: 0 0 16px; } .weather-current-wind .weather-direction-arrow { width: 13px; height: 13px; flex-basis: 13px; color: #54bdff; } :root[data-theme="light"] .weather-current-wind .weather-direction-arrow { color: #007bc9; } .weather-glance-hours { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 6); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -3px; padding-top: 10px; border-top: 1px solid rgba(140,160,185,.25); } .weather-glance-hours::-webkit-scrollbar { display: none; width: 0; height: 0; } .weather-glance-hours a, .weather-hour-missing { scroll-snap-align: start; display: grid; justify-items: center; align-content: start; gap: 3px; padding: 3px 0; border-radius: 7px; color: inherit; min-width: 0; } .weather-glance-hours a:hover, .weather-glance-hours a:focus-visible { background: rgba(140,180,230,.18); } .weather-glance-hours time { font-size: 11px; opacity: .7; } .weather-glance-hours .weather-icon { width: 21px; height: 21px; } .weather-glance-hours strong { font-size: 12px; } .weather-hour-wind { display: grid; justify-items: center; gap: 3px; margin-top: 3px; font-size: 11px; white-space: nowrap; } .weather-hour-wind .weather-direction-arrow { opacity: .75; } .weather-hour-wind small { font-size: 10px; opacity: .75; } .weather-direction-missing { display: inline-grid; place-items: center; width: 16px; height: 16px; } .weather-glance-sun { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(140,160,185,.25); font-size: 12px; } .weather-glance-sun > span { margin-left: auto; font-size: 11px; opacity: .8; text-align: right; } .weather-sun-icon { width: 18px; height: 18px; flex: 0 0 18px; color: #ffbc39; } :root[data-theme="light"] .weather-sun-icon { color: #c16518; } .weather-page { display: grid; gap: 16px; } .weather-page-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); } .weather-page-top a, .weather-attribution a { color: var(--blue); } .weather-page-status { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); } .weather-page-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .weather-page .dashboard-panel { padding: 20px; min-width: 0; } .weather-page .panel-heading > span { font-size: 11px; color: var(--muted); } .weather-page-current, .weather-page-next { display: flex; align-items: center; gap: 20px; margin: 18px 0; } .weather-page-current > .weather-icon, .weather-page-next > .weather-icon { width: 62px; height: 62px; } .weather-page-current > div, .weather-page-next > div { display: grid; gap: 5px; } .weather-page-current strong { font-size: 42px; letter-spacing: -.04em; } .weather-page-current small, .weather-page-next span, .weather-page p { color: var(--muted); font-size: 13px; line-height: 1.6; } .weather-page-next strong { font-size: 24px; } .weather-page-hours { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; } .weather-page-hours button { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; background: var(--surface); border-radius: 10px; color: var(--text); min-width: 0; } .weather-page-hours button[aria-pressed="true"] { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--surface)); } .weather-page-hours time { font-size: 12px; color: var(--muted); } .weather-page-hours strong { font-size: 21px; } .weather-page-hours span { font-size: 11px; } .weather-page-hours small { font-size: 10px; color: var(--muted); } .weather-page-hours .weather-icon { width: 32px; height: 32px; } .weather-selected-hour { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 16px; font-size: 13px; line-height: 1.5; } .weather-selected-hour span { color: var(--muted); } .weather-reading-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .weather-reading-grid > div { display: grid; gap: 7px; padding: 12px; border-radius: 8px; background: var(--surface); } .weather-reading-grid span { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; } .weather-reading-grid strong { font-size: 17px; overflow-wrap: anywhere; } .weather-snapshot-time { margin-bottom: 14px; } .weather-station-panel { border-style: dashed; } .weather-station-panel h2 { margin-bottom: 8px; font-size: 16px; } @media (max-width: 1100px) { .weather-page-hours { grid-template-columns: repeat(4, minmax(0,1fr)); }} @media (max-width: 700px) { :root { --dashboard-inset: 14px; } body[data-section="home"] { --dashboard-gap:8px; } .weather-page-overview { grid-template-columns: 1fr; } .weather-page-hours { grid-template-columns: repeat(3,minmax(0,1fr)); } .weather-reading-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .weather-page-top { align-items: flex-start; } .weather-page .dashboard-panel { padding: 15px; }} .hero-status-row { --compact-header-columns: repeat(auto-fit, minmax(min(100%, max(260px, calc((100% - var(--widget-gap)) / 2))), 1fr)); grid-column: 1 / span 4; grid-row: 2; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--widget-gap); } .hero-status-row article { min-width: 0; min-height: 76px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: white; background: var(--glass-hero); box-shadow: 0 9px 26px rgba(0,0,0,.18); -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%); } :root[data-theme="light"] .hero-status-row article { color: #11192a; border-color: rgba(255,255,255,.6); } .hero-status-row b { width: 35px; flex: 0 0 auto; text-align: center; font-size: 35px; line-height: 1; } .hero-status-row .green { color: var(--green); } .hero-status-row .blue { color: var(--blue); } .hero-status-row .yellow { color: var(--yellow); } .hero-status-row .red { color: var(--red); } .hero-status-row article.status-alert { border-color: color-mix(in srgb, var(--red) 55%, transparent); } .hero-status-row div { min-width: 0; display: grid; } .hero-status-row strong { font-size: 19px; white-space: normal; line-height: 1.35; } .hero-status-row span { margin-top: 5px; font-size: 12px; opacity: .8; white-space: normal; line-height: 1.35; } .hero-status-row .security-status strong, .hero-status-row .security-status span { white-space: normal; overflow: visible; line-height: 1.35; } .dashboard-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--dashboard-gap); padding: 0 var(--dashboard-end-inset) 14px var(--dashboard-inset); background: var(--bg); } .dashboard-panel { min-width: 0; overflow: hidden; padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow); } .panel-heading { min-height: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; } .panel-heading h2 { margin: 0; font-size: 14px; font-weight: 750; letter-spacing: -.01em; } .panel-heading a { color: var(--blue); font-size: 11px; white-space: nowrap; } .panel-heading > span { color: var(--muted); font-size: 9px; } .panel-empty { min-height: 100px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 11px; padding: 18px; } .panel-empty a { color: var(--blue); } .rooms-panel { grid-column: span 4; } .cameras-panel { grid-column: span 4; container-type: inline-size; } .people-panel { grid-column: span 4; } .climate-panel { grid-column: span 3; } .energy-panel { grid-column: span 3; } .solar-panel { grid-column: span 3; } .security-panel { grid-column: span 3; } .quick-panel { grid-column: span 4; } .room-list { display: grid; } .room-thumb { width: 36px; height: 30px; display: grid; place-items: center; border-radius: 5px; color: #fff; background: linear-gradient(145deg, #e0b27c, #594336); } .room-reading { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .room-reading.blue { color: var(--blue); } .switch-state { width: 34px; height: 18px; justify-self: end; padding: 2px; border-radius: 20px; background: #78889a; } .switch-state i { display: block; width: 14px; height: 14px; border-radius: 50%; background: white; transition: transform .2s; } .switch-state.on { background: var(--blue); } .switch-state.on i { transform: translateX(16px); } .home-camera-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .home-camera-tile { position: relative; min-width: 0; } .home-camera-tile .camera-preview { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #061019; } .camera-preview { background: #061019; overflow: hidden; } .camera-preview video { width: 100%; height: 100%; object-fit: cover; display: block; background: #061019; } .camera-overlay { position: absolute; inset: auto 0 0; padding: 18px 43px 7px 9px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.86)); pointer-events: none; } .camera-overlay h3 { margin: 0 0 3px; font-size: 12px; } .camera-overlay p { margin: 0; font-size: 9px; } .camera-overlay p { display: flex; align-items: center; gap: 5px; } [data-camera-status-text] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .camera-overlay i { display: block; flex: 0 0 8px; width: 8px; height: 8px; margin-right: 0; border-radius: 50%; background: #9aa9b5; } [data-camera-status][data-stream-state="live"] i { background: var(--green); box-shadow: 0 0 8px color-mix(in srgb,var(--green) 70%,transparent); } [data-camera-status][data-stream-state="offline"] i { background: var(--red); } .camera-overlay p { white-space: nowrap; } .camera-meta { display: none; } .camera-actions { display: flex; gap: 5px; position: absolute; z-index: 3; top: 5px; right: 5px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s; } .camera-preview > .camera-audio-toggle { opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s; } [data-camera][data-controls-visible] > .camera-preview > :is(.camera-actions,.camera-audio-toggle), :root:not([data-input-modality="pointer"]) [data-camera]:has(:focus-visible) > .camera-preview > :is(.camera-actions,.camera-audio-toggle), :root:not([data-input-modality="pointer"]) [data-camera]:focus-visible > .camera-preview > :is(.camera-actions,.camera-audio-toggle) { opacity:1; visibility:visible; pointer-events:auto; } .home-camera-tile .camera-preview, .camera-panel .camera-preview { cursor:pointer; } .camera-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 5px 7px; border-radius: 6px; font-size: 10px; color: white; background: rgba(0,0,0,.68); } .camera-actions button[hidden], .camera-dialog [data-retry][hidden] { display: none; } .camera-actions svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .camera-audio-toggle { position:absolute; right:7px; bottom:7px; z-index:4; display:grid; place-items:center; width:28px; height:28px; padding:6px; border:1px solid #9db0bf99; border-radius:50%; color:white; background:#1018209e; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); } .camera-audio-toggle svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; } .camera-audio-toggle:hover { background:#101820e0; } .camera-audio-toggle:disabled { opacity:.55; } @media (hover: none) { .camera-actions button { min-height: 36px; padding: 7px 10px; font-size: 12px; } .camera-actions svg { width: 15px; height: 15px; }} .people-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; align-items:stretch; text-align:center; } .people-grid.people-count-1 { grid-template-columns:minmax(0,1fr); } .people-grid.people-count-2 { grid-template-columns:repeat(2,minmax(0,1fr)); } .people-grid > div { min-width: 0; display: grid; justify-items: center; } .person-avatar, .phone-avatar { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 7px; border-radius: 50%; font-size: 18px; font-weight: 800; color: white; background: linear-gradient(145deg, #d4aa8e, #56687b); } .person-avatar { position: relative; } .person-avatar i { position: absolute; right: -3px; bottom: -2px; width: 20px; height: 20px; display: grid; place-items: center; border: 3px solid var(--surface); border-radius: 50%; color: white; background: var(--blue); font-size: 12px; font-style: normal; } .phone-avatar { color: #6ac9ff; font-size: 37px; background: color-mix(in srgb, var(--blue) 15%, var(--surface-soft)); } .people-grid strong { font-size: 12px; } .people-grid small { width: 100%; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; } .people-grid small b { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px color-mix(in srgb, var(--green) 70%, transparent); } .people-empty { min-height: 126px; display: grid; place-content: center; justify-items: center; text-align: center; } .people-empty > span { margin-bottom: 8px; color: var(--blue); font-size: 30px; } .people-empty strong { font-size: 12px; } .people-empty small { margin-top: 5px; color: var(--muted); font-size: 9px; } .climate-layout { min-height: 126px; display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: start; gap: 12px; } .metric-list { display: grid; gap: 8px; } .metric-list > div { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; } .metric-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .metric-list i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--blue); } .metric-list strong { font-size: 10px; white-space: nowrap; } .energy-summary { display: grid; width: 52%; } .energy-summary strong { font-size: 23px; } .energy-summary span { color: var(--muted); font-size: 9px; } .energy-bars { height: 58px; margin-top: -4px; padding-left: 4px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--line); } .energy-bars i { flex: 1; min-width: 3px; height: 30%; background: var(--green); border-radius: 2px 2px 0 0; } .energy-bars i:nth-child(3n) { height: 55%; } .energy-bars i:nth-child(5n) { height: 78%; background: var(--yellow); } .energy-bars i:nth-child(7n) { height: 92%; } .chart-axis { display: flex; justify-content: space-around; margin-top: 3px; color: var(--muted); font-size: 8px; } .solar-layout { min-height: 99px; display: grid; grid-template-columns: 48px 1fr 100px; gap: 9px; align-items: center; } .sun-symbol { color: var(--yellow); font-size: 43px; } .solar-layout > div:not(.battery-ring) { display: grid; } .solar-layout strong { font-size: 18px; } .solar-layout span { color: var(--muted); font-size: 9px; } .battery-ring { width: 82px; height: 82px; display: grid; place-content: center; justify-items: center; border-radius: 50%; border: 9px solid var(--green); } .battery-ring strong { font-size: 20px; } .mapping-note { margin: 0; color: var(--muted); font-size: 9px; } .quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; } .quick-grid button { color: var(--text); font-family: inherit; border: 0; cursor: pointer; min-height: 67px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 7px; border-radius: 8px; background: var(--surface-soft); text-align: center; font-size: 9px; } .quick-grid b { color: #9aaabd; font-size: 20px; } .quick-grid .yellow { color: var(--yellow); } .quick-grid .red { color: var(--red); } .quick-panel { position:relative; container:guest-controls / inline-size; padding:var(--dashboard-gap); } .quick-panel .panel-heading { margin-bottom:var(--dashboard-gap); } .guest-mode-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--dashboard-gap); } .quick-panel .room-control-tile { min-width:0; border:1px solid var(--line); } .quick-panel .room-tile-power { min-height:106px; height:100%; padding:8px; gap:6px; grid-template-rows:20px minmax(30px,1fr) auto; cursor:pointer; } .quick-panel .room-tile-power > .room-ui-icon { width:20px; height:20px; } .quick-panel .room-tile-power strong { font-size:11px; line-height:1.35; font-weight:600; } .quick-panel .room-tile-power strong > span { display:block; } .quick-panel .guest-mode-prefix { white-space:nowrap; } .quick-panel .room-tile-status { font-size:11px; line-height:1.3; } .quick-panel .is-on .room-tile-status { color:var(--blue); font-weight:600; } .quick-panel .room-tile-power:disabled { cursor:default; opacity:.55; } .quick-panel .room-action-status { position:absolute; left:var(--dashboard-gap); right:var(--dashboard-gap); bottom:var(--dashboard-gap); margin:0; padding:6px 8px; border-radius:6px; color:var(--red); background:var(--surface); } :root[data-theme] .quick-panel .room-control-tile, :root[data-theme] .quick-panel .room-control-tile:is(.is-on,:hover,:active,:focus-within) { border-color:var(--line); box-shadow:none; } @container guest-controls (max-width:300px) { .guest-mode-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }} .card, .discovery, .setup { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); } .discovery, .setup { padding: 24px; } .setup { max-width: 900px; } .setup p, .section-heading p { color: var(--muted); line-height: 1.65; } .setup ol { padding-left: 22px; line-height: 1.8; } .setup-note { padding: 15px; border-left: 3px solid var(--blue); background: var(--surface-soft); color: var(--muted); } .text-link, .module-link { color: var(--blue); } .section-heading, .card-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; } .section-heading h2, .card-heading h2 { margin: 0; } .section-heading a, .card-heading a { color: var(--blue); font-size: 12px; } .rooms { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; } .room-card { min-height: 155px; padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--text); } .room-icon { font-size: 24px; color: var(--blue); } .room-temperature { float: right; color: var(--muted); } .room-card h3 { margin-top: 20px; } .room-card p, .room-sensors { color: var(--muted); font-size: 10px; } .room-sensors { display: flex; gap: 10px; flex-wrap: wrap; } .filters { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 13px; } .filters label { color: var(--muted); font-size: 10px; } .filters input, .filters select, .camera-editor input { display: block; width: 100%; margin-top: 7px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface-soft); } .muted { color: var(--muted); font-size: 10px; } .device { border-top: 1px solid var(--line); } .device summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 17px 0; font-size: 12px; } .device summary::-webkit-details-marker { display: none; } .device-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--blue); background: var(--surface-soft); font-size: 21px; } .device-name { flex: 1; min-width: 0; } .device-name small, .device-id { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; overflow-wrap: anywhere; } .availability, .cap-count { color: var(--muted); font-size: 9px; } .device-body { padding: 0 0 20px 48px; } .table-wrap { overflow: auto; } table { width: 100%; border-collapse: collapse; text-align: left; font-size: 10px; } th, td { padding: 11px 9px; border-bottom: 1px solid var(--line); vertical-align: top; } th { color: var(--muted); background: var(--surface-soft); } td code, td small { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; } pre { overflow: auto; padding: 18px; border-radius: 9px; background: color-mix(in srgb, var(--bg) 78%, black); color: #dce8ef; } .empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; } .empty-icon { display: block; color: var(--blue); font-size: 28px; } .future-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .future { padding: 18px; } .feature-icon { color: var(--blue); font-size: 23px; } .tag { display: inline-block; margin-top: 8px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 8px; } .camera-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; } .camera-panel { position: relative; padding-bottom: 14px; } .camera-panel .camera-preview { aspect-ratio: 16/9; } .camera-panel .camera-meta { display: flex; justify-content: space-between; padding: 10px 13px 3px; color: var(--muted); font-size: 10px; } .camera-panel .camera-actions { top: 8px; right: 8px; } body.camera-viewer-open { overflow:hidden; } .camera-dialog { position:fixed; inset:0; width:100vw; height:100dvh; aspect-ratio:auto; max-width:none; max-height:none; margin:0; padding:0; border:0; border-radius:0; background:#061019; color:white; overflow:hidden; box-shadow:none; outline:none; } .camera-dialog { --camera-safe-top:env(safe-area-inset-top,0px); --camera-safe-right:env(safe-area-inset-right,0px); --camera-safe-bottom:env(safe-area-inset-bottom,0px); --camera-safe-left:env(safe-area-inset-left,0px); } .camera-dialog::backdrop { background:#01070cdd; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); } .camera-viewer { position:relative; width:100%; height:100%; } .camera-dialog .camera-preview { width:100%; height:100%; aspect-ratio:auto; margin:0; border-radius:0; } .camera-viewer-title { position:absolute; inset:0 0 auto; padding:18px 70px 28px 20px; background:linear-gradient(#0009,transparent); pointer-events:none; } .camera-viewer-title h2 { margin:0; font-size:18px; font-weight:650; color:white; text-shadow:0 1px 5px #0008; } .camera-viewer-title span { display:block; margin-top:4px; color:#ffffffbf; font-size:12px; } .camera-viewer-close { position:absolute; top:max(12px,var(--camera-safe-top)); right:max(12px,var(--camera-safe-right)); display:grid; place-items:center; width:36px; height:36px; padding:8px; border:1px solid #9db0bf99; border-radius:50%; background:#1018209e; color:white; z-index:4; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); } .camera-viewer-close:focus { outline:none; outline-offset:0; box-shadow:none; } .camera-viewer-close:hover { background:#101820e0; } .camera-viewer-close svg,.camera-viewer-bottom button svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; } .camera-viewer-bottom { position:absolute; inset:auto 0 0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:30px max(18px,var(--camera-safe-right)) max(16px,var(--camera-safe-bottom)) max(20px,var(--camera-safe-left)); background:linear-gradient(transparent,#0009); } .camera-viewer-bottom p { display:flex; align-items:center; gap:7px; margin:0; min-width:0; color:white; font-size:13px; font-weight:550; } .camera-viewer-bottom i { display:block; flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:#9aa9b5; } .camera-viewer-bottom button { display:flex; align-items:center; gap:6px; padding:8px 11px; border:1px solid #ffffff38; border-radius:7px; color:white; background:#101820b3; font-size:12px; } .camera-viewer-bottom button svg { width:15px; height:15px; } .camera-viewer-controls { display:flex; align-items:center; gap:8px; flex-shrink:0; } .camera-viewer-bottom .camera-audio-toggle { position:static; display:grid; width:32px; height:32px; padding:7px; border-radius:50%; flex-shrink:0; } @media(pointer:coarse) { .camera-audio-toggle::before { content:""; position:absolute; inset:-8px; }} .camera-dialog .camera-play-button { z-index:2; } .camera-dialog-touch,.camera-dialog:fullscreen { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; aspect-ratio:auto; border-radius:0; } .camera-dialog-touch .camera-viewer-title { padding-left:max(20px,var(--camera-safe-left)); padding-top:max(18px,var(--camera-safe-top)); } .camera-dialog .camera-preview video { object-fit:contain; } @media (orientation:portrait) { .camera-dialog-touch { --camera-safe-top:env(safe-area-inset-right,0px); --camera-safe-right:env(safe-area-inset-bottom,0px); --camera-safe-bottom:env(safe-area-inset-left,0px); --camera-safe-left:env(safe-area-inset-top,0px); } .camera-dialog-touch .camera-viewer { position:absolute; left:50%; top:50%; width:100dvh; height:100vw; transform:translate(-50%,-50%) rotate(90deg); }} @media (hover:hover) and (pointer:fine) { .camera-actions button { border:1px solid #ffffff40; background:#101820a6; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }} .camera-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; } .camera-editor h3 { grid-column: 1/-1; } .camera-setting { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); } .camera-setting span { flex: 1; color: var(--muted); } .speed-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 14px 0; } .speed-metrics > div { padding: 14px 8px; text-align: center; border-radius: 8px; background: var(--surface-soft); } .speed-metrics strong { display: block; color: var(--blue); font-size: 22px; } .speed-metrics small { color: var(--muted); font-size: 9px; } footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 8px; letter-spacing: .12em; } .footer-status { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 6px 16px; } .footer-status > span { white-space: nowrap; } .footer-status a { cursor: pointer; } .site-footer {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:16px;row-gap:8px;line-height:1.5} .site-footer .footer-status {justify-content:flex-start;align-items:baseline;min-width:0} .footer-sync {justify-self:end;white-space:nowrap;line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums} body[data-section="home"] main > .site-footer {margin:30px var(--dashboard-end-inset) 24px var(--dashboard-inset)} .home-dashboard > .dashboard-grid {padding-bottom:0} @media (max-width: 1280px) { .site-header { grid-template-columns: 190px minmax(400px, 1fr) 180px; gap: 14px; } .site-header nav a { padding: 10px 12px; } .connection-pill { display: none; } .header-tools { min-width: 90px; }} @media (max-width: 1100px) { .people-panel, .climate-panel, .energy-panel, .solar-panel, .security-panel { grid-column: span 4; } .quick-panel { grid-column: span 6; }} @media (max-width: 980px) { .site-header { height: 126px; grid-template-columns: 1fr auto; grid-template-rows: 54px 48px; } .site-header nav { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; } .header-tools { grid-column: 2; grid-row: 1; } .home-hero { min-height: 670px; } .hero-house { top: 58px; height: calc(100% - 58px); object-position: center top; } :root[data-scene="day"] .home-hero { background: #66a9e6; } :root[data-scene="night"] .home-hero { background: #06234f; } .hero-greeting { top: 155px; width: 37vw; } .hero-clock { grid-column: 1; grid-row: 1; } .hero-widget-layout { top: 126px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; } .hero-weather { grid-column: 1; grid-row: 2; width: calc((100% - 3 * var(--widget-gap)) / 4); justify-self: end; } .hero-status-row { grid-column: 1; grid-row: 3; } .climate-panel, .energy-panel, .solar-panel, .security-panel, .quick-panel { grid-column: span 6; } main { padding-top: 145px; }} @media (max-width: 700px) { .site-header { padding: 8px 14px; } .homey-mark { width: 39px; } .homey-brand strong { font-size: 17px; } .homey-brand small { font-size: 10px; } .avatar { display: none; } .site-header nav a { padding: 9px 11px; } .home-hero { min-height: 730px; } .hero-house { top: 80px; height: 440px; object-position: 45% top; -webkit-mask-image: linear-gradient(black 78%, transparent); mask-image: linear-gradient(black 78%, transparent); } :root[data-scene="day"] .home-hero { background: linear-gradient(#66a9e6 140px, #254c32 440px); } :root[data-scene="night"] .home-hero { background: linear-gradient(#06234f 140px, #091c1a 440px); } .hero-greeting { width: calc(100% - 40px); } .hero-greeting h1 { font-size: 34px; } .hero-greeting p { width: 70%; font-size: 14px; } .hero-clock { display: none; } .hero-weather { width: 100%; } .hero-status-row { grid-template-columns: repeat(4, 220px); overflow-x: auto; } .rooms-panel, .cameras-panel, .people-panel, .climate-panel, .energy-panel, .solar-panel, .security-panel, .quick-panel { grid-column: 1/-1; } .home-camera-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rooms { grid-template-columns: 1fr; } .filters, .camera-editor { grid-template-columns: 1fr; } .camera-editor h3 { grid-column: auto; } .page-heading { align-items: center; } main { padding: 145px 14px 20px; } body[data-section="home"] main { padding: 0; } body[data-section="home"] main > .site-footer {margin-bottom:20px} footer { flex-direction: column; } .footer-status { justify-content: flex-end; }} .connection-details { margin-bottom: 16px; } .connection-details p { margin-top: 10px; line-height: 1.6; color: var(--muted); } .hero-status-row article.hero-network { display: block; padding: 0; } .hero-network > .hero-network-body { display: grid; gap: 8px; padding: 12px; height: 100%; border-radius: inherit; } .hero-network > div.hero-network-body { cursor:default; -webkit-tap-highlight-color:transparent; } :is(.hero-network > a.hero-network-body,.hero-status-row .header-widget-link):is(:active,:focus-visible) { background:rgba(120,175,220,.1); } @media (hover:hover) and (pointer:fine) { :is(.hero-network > a.hero-network-body,.hero-status-row .header-widget-link):hover { background:rgba(120,175,220,.1); }} .hero-status-row .hero-network-heading { display: flex; align-items: center; gap: 7px; } .hero-network-heading svg { color: var(--blue); flex: 0 0 auto; } .hero-status-row .hero-network-heading strong { font-size: 14px; } .hero-status-row .hero-network-heading span { margin: 0 0 0 auto; font-size: 9px; } .hero-status-row .hero-network-metrics { display:grid; grid-template-columns:repeat(3,max-content); justify-content:start; gap:clamp(4px,3cqi,12px); } .hero-status-row .hero-network-metrics > div { display: grid; gap: 3px; } .hero-status-row .hero-network-metrics strong { font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; } .hero-network-metrics small { font-size: 9px; font-weight: 500; opacity: .75; } .hero-status-row .hero-network-metrics span { margin: 0; font-size: 10px; } .hero-status-row .hero-network-status { display: flex; justify-content: space-between; align-items: center; font-size: 9px; opacity: .75; line-height: 1.2; } .hero-status-row .hero-network-status span { font-size: 14px; line-height: 1; margin: 0; } @media (min-width: 701px) and (max-width: 1280px) { .hero-status-row article:not(.hero-network) { padding: 10px; gap: 7px; } .hero-status-row article:not(.hero-network) > b { width: 28px; font-size: 28px; }} .hero-status-row .hero-network-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hero-status-row article.hero-octopus { display: grid; align-content: center; gap: 5px; } .hero-status-row .octopus-brand { display: flex; align-items: center; gap: 6px; } .octopus-brand img { flex: 0 0 18px; object-fit: contain; } .hero-status-row .octopus-brand strong { font-size: 11px; line-height: 1.2; white-space: nowrap; } .hero-status-row .octopus-reading { display: flex; align-items: baseline; gap: 5px; } .hero-status-row .octopus-reading strong { font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.7px; } .hero-status-row .octopus-reading span { margin: 0; font-size: 13px; opacity: .75; } .octopus-reading svg { margin-left: auto; align-self: center; width: 20px; height: 23px; flex: 0 0 20px; fill: none; stroke: #ff48d8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } :root[data-theme="light"] .octopus-reading svg { stroke: #a7289b; } .hero-status-row .octopus-caption { margin: 0; font-size: 10px; line-height: 1.3; opacity: .8; } @container (max-width: 230px) { .weather-glance-main { display: grid; column-gap: 8px; row-gap: 4px; } .weather-glance-main > div { display: contents; } .weather-glance-temperature { align-self: center; } .weather-glance-main > div > strong { align-self: end; } .weather-daily-range { gap: 5px; }} @media (min-width: 701px) and (max-width: 1100px) { .hero-status-row .hero-network-metrics strong { font-size: 15px; }} .header-security-sensors { list-style: none; padding: 0; margin: 7px 0 0; display: grid; gap: 6px; } .header-security-sensors li { display: flex; align-items: center; gap: 7px; min-width: 0; } .hero-status-row .header-security-sensors span { margin: 0; font-size: 12px; opacity: .95; } .header-security-sensors i { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); } .header-security-sensors .sensor-secure i { background: var(--green); box-shadow: 0 0 7px color-mix(in srgb, var(--green) 70%, transparent); } .header-security-sensors .sensor-alert i { background: var(--red); box-shadow: 0 0 7px color-mix(in srgb, var(--red) 70%, transparent); } .people-grid .person-tile.is-away small b { background: var(--red); } @media (min-width: 701px) and (max-width: 1100px) { .room-thumb { width: 32px; height: 28px; }} .people-grid.people-count-4 { grid-template-columns:repeat(4,minmax(0,1fr)); } .people-grid.people-count-5 { grid-template-columns:repeat(5,minmax(0,1fr)); } .people-grid .person-tile strong { max-width: 100%; overflow-wrap: anywhere; } @container (max-width: 320px) { .home-camera-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }} .hero-status-row .header-security-shield { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; margin: 0; opacity: 1; } .header-security-shield svg { width: 39px; height: 39px; transform: translateY(3px); } .header-security-shield .shield-symbol { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .hero-status-row .octopus-icon-slot { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; margin: 0; opacity: 1; } .hero-status-row .octopus-brand img { width: 39px; height: 39px; flex: none; } .hero-network-heading svg { width: 39px; height: 39px; flex-basis: 39px; } .weather-glance-main > .weather-icon { width: 59px; height: 59px; flex: 0 0 59px; } @container (max-width: 230px) { .weather-glance-main { grid-template-columns: auto minmax(0, 1fr) 59px; } .weather-glance-temperature { grid-column: 1; grid-row: 1 / span 2; } .weather-glance-main > div > strong { grid-column: 2; grid-row: 1; } .weather-glance-main > div > span:not(.weather-current-wind) { grid-column: 2; grid-row: 2; } .weather-glance-main > .weather-icon { grid-column: 3; grid-row: 1 / span 2; width: 59px; height: 59px; } .weather-glance-main > div > .weather-current-wind { grid-column: 1 / -1; grid-row: 3; }} .climate-room-list { gap: 6px; padding-top: 4px; } .climate-room-list > div { align-items: baseline; font-size: 11px; } .climate-room-list span { white-space: normal; overflow: visible; overflow-wrap: anywhere; } .climate-room-list strong { font-size: 11px; } .avatar img, .person-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; } .hero-status-row article.security-status, .hero-status-row article.hero-octopus { display:block; padding:0; } .hero-status-row .header-widget-link { display:grid; grid-template-columns:minmax(0,1fr); align-content:start; padding:12px; gap:8px; height:100%; border-radius:inherit; } .hero-status-row .header-card-heading { display: flex; align-items: center; gap: 7px; min-height: 39px; } .hero-status-row .header-card-heading > strong { font-size: 14px; font-weight: 700; line-height: 1.35; } .hero-status-row .header-security-sensors { margin: 0; padding-left: 46px; } .hero-status-row .security-status .header-widget-link > span { padding-left: 46px; } .hero-status-row .octopus-reading .octopus-power-bolt { width: 23px; height: 23px; flex: 0 0 23px; margin-left: auto; align-self: center; fill: none; stroke: #ff48d8; display: block; } .hero-status-row .octopus-reading .octopus-power-bolt path { fill: none; stroke: #ff48d8; } .hero-status-row .hero-octopus .octopus-reading { margin-left: 46px; } .hero-status-row .hero-octopus .octopus-caption { padding-left: 46px; } .hero-status-row article.hero-network { container: network-widget / inline-size; } .hero-status-row .hero-network-heading { min-height: 39px; } .hero-status-row .hero-network-metrics, .hero-status-row .hero-network-status { margin-left: 46px; } .hero-network > a { align-content:start; } .hero-status-row .hero-network-status { margin-top:0; margin-bottom:0; } @container network-widget (max-width: 300px) { .hero-status-row .hero-network-metrics > div { display:grid; align-content:start; gap:3px; } .hero-status-row .hero-network-metrics strong { font-size:clamp(13px,6cqi,17px); line-height:1.2; } .hero-network-metrics small { display:inline; font-size:clamp(8px,3.8cqi,9px); } .hero-status-row .hero-network-metrics span { font-size:9px; }} @container network-widget (max-width: 210px) { .hero-status-row .hero-network-metrics { gap:2px; } .hero-status-row .hero-network-metrics strong { font-size:11px; } .hero-network-metrics small { font-size:6px; } .hero-status-row .hero-network-metrics span { font-size:8px; }} @container (max-width: 280px) { .weather-glance-hours { grid-auto-columns:calc(100% / 5); } .weather-glance-sun { gap:5px; } .weather-glance-sun strong { font-size:11px; white-space:nowrap; } .weather-glance-sun > span { font-size:10px; white-space:nowrap; }} .rooms-panel { container: room-widget / inline-size; } .home-room-tiles { display:grid; } .home-room-tile { min-width:0; border:1px solid var(--line); } .home-room-title { display:flex; align-items:center; } .home-room-title strong { overflow-wrap:anywhere; } .home-room-title > span { color:var(--muted); font-size:20px; line-height:1; } .room-art { height:75px; overflow:hidden; position:relative; background:var(--surface-soft); } .room-art img { position:absolute; width:491.304%; height:319.48%; max-width:none; top:-71.43%; left:-6.52%; } .room-art-kitchen img { left:-129.89%; } .room-art-bedroom img { left:-251.63%; } .room-art-office img { left:-375%; } .home-room-items { padding:7px 8px; display:grid; gap:7px; } .home-room-item { display:flex; align-items:center; gap:6px; min-width:0; min-height:23px; font-size:11px; } .room-item-symbol { color:var(--blue); width:14px; flex:0 0 14px; text-align:center; font-size:16px; } .home-room-item-name { min-width:0; flex:1; overflow-wrap:anywhere; } .room-item-value { font-size:12px; overflow-wrap:anywhere; color:var(--muted); } .home-room-item .room-item-value { font-size:11px; } .room-adjust-link { color:var(--blue); white-space:nowrap; } .room-toggle { flex:0 0 34px; width:34px; height:21px; border:0; padding:3px; border-radius:20px; background:var(--faint); display:flex; align-items:center; justify-content:flex-start; } .room-toggle span { width:15px; height:15px; background:white; border-radius:50%; box-shadow:0 1px 4px #0004; } .room-toggle.is-on { background:var(--blue); justify-content:flex-end; } .room-no-items { font-size:11px; color:var(--muted); line-height:1.5; margin:7px 0; } .room-action-status:empty, .room-preference-status:empty { display:none; } .room-action-status, .room-preference-status { font-size:12px; line-height:1.5; color:var(--muted); margin:8px 0 0; } .room-editor-body .room-action-status { display:block; height:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .rooms-workspace { grid-template-columns:260px minmax(0,1fr); gap:18px; align-items:start; } .room-home-order { position:sticky; top:20px; } .room-home-order p, .room-selected-items p { font-size:12px; color:var(--muted); line-height:1.5; } .room-home-order ol, .room-selected-items ol { padding:0; margin:12px 0; list-style:none; display:grid; gap:6px; } .room-home-order li, .room-selected-items li { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px; background:var(--surface-soft); border-radius:7px; font-size:12px; } .room-home-order li > div, .room-selected-items li > div { display:flex; flex:0 0 auto; gap:3px; } .room-home-order button, .room-selected-items button { background:var(--surface); color:var(--text); border:1px solid var(--line); min-width:32px; height:32px; border-radius:5px; } .room-selected-items li > span { display:grid; gap:2px; } .room-selected-items li small { color:var(--muted); font-size:11px; } .rooms-browser { position:relative; } .room-preference-status { position:absolute; right:0; top:-22px; margin:0; } .room-page-list { display:grid; gap:10px; margin-top:0; } .room-editor { border:1px solid var(--line); border-radius:10px; background:var(--surface); } .room-editor > summary { cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:10px; padding:17px; font-size:15px; font-weight:650; } .room-editor > summary::after { content:'+'; font-size:21px; color:var(--blue); } .room-editor[open] > summary::after { content:'−'; } .room-editor > summary > small { margin-left:auto; color:var(--muted); font-size:11px; font-weight:400; } .room-editor-body { padding:0 17px 17px; } .room-home-choice { display:flex; align-items:center; gap:8px; font-size:13px; padding:4px 0 16px; } .room-home-choice input, .room-pin-label input { accent-color:var(--blue); width:17px; height:17px; flex:0 0 17px; } .room-selected-items { padding:12px; border:1px solid var(--line); border-radius:8px; margin-bottom:16px; } .room-selected-items h3, .room-device h3 { font-size:13px; margin:0 0 5px; } .room-devices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; } .room-device { min-width:0; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); } .room-device h3 { display:flex; justify-content:space-between; gap:5px; margin-bottom:10px; } .room-device h3 small { color:var(--muted); font-size:10px; font-weight:400; } .room-capability-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; min-height:38px; padding:7px 0; border-top:1px solid var(--line); } .room-pin-label { display:flex; align-items:center; gap:7px; font-size:12px; min-width:0; overflow-wrap:anywhere; } .room-capability-control { display:flex; justify-content:flex-end; align-items:center; max-width:200px; } .room-control, .room-number-control input { max-width:120px; min-width:0; border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:5px; padding:6px; font-size:12px; } .room-number-control { display:flex; gap:4px; align-items:center; } .room-number-control input { width:62px; } .room-number-control span { color:var(--muted); font-size:10px; } .room-number-control button { padding:6px; border:1px solid var(--line); background:var(--surface); color:var(--blue); border-radius:5px; font-size:11px; } @media(max-width:1100px) { .room-devices { grid-template-columns:minmax(0,1fr); }} @media(max-width:700px) { .rooms-workspace { grid-template-columns:minmax(0,1fr); } .room-home-order { position:static; } .room-editor > summary { padding:13px; } .room-editor-body { padding:0 12px 12px; } .room-capability-row { gap:5px; }} .home-room-tiles { overflow-x:auto; } .home-room-tile { scroll-snap-align:start; } .camera-preview { position: relative; } .camera-play-button { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 9px 14px; border-radius: 20px; color: white; background: rgba(0,0,0,.72); } .camera-play-button[hidden] { display: none; } .people-panel { container:occupants / inline-size; } .people-grid { padding:4px 0; align-content:start; } .people-grid .person-tile { padding:11px 3px; gap:8px; align-content:start; border:1px solid var(--line); border-radius:9px; background:var(--surface-soft); } .people-grid .person-avatar { width:30px; height:30px; margin:0; font-size:13px; font-weight:600; color:var(--blue); background:var(--surface-2); } :root[data-theme="light"] .people-grid .person-avatar:not(:has(img)) { color:#163d62; background:#bfd4e8; border:1px solid #87a6c3; font-weight:700; } .people-grid .person-tile > strong { font-size:13px; line-height:1.3; } .people-grid .person-tile > small { width:auto; display:flex; align-items:center; gap:4px; margin:0; overflow:visible; color:var(--text); font-size:11px; } .people-grid .person-tile > small b { width:6px; height:6px; margin:0; box-shadow:none; flex:0 0 6px; } .people-grid .person-tile.is-away small b { box-shadow:none; } .person-last-seen { display:grid; justify-items:center; gap:3px; margin-top:1px; color:var(--muted); font-size:11px; line-height:1.35; font-variant-numeric:tabular-nums; white-space:nowrap; } .person-last-seen .person-seen-time { display:flex; align-items:center; gap:4px; font-size:12px; } .person-seen-time svg { width:12px; height:12px; flex:0 0 12px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; } @container (max-width:300px) { .people-grid { gap:4px; } .people-grid .person-tile { padding-inline:1px; } .people-grid .person-tile > strong { font-size:12px; } .person-last-seen .person-seen-time { font-size:11px; gap:3px; } .person-seen-time svg { width:11px; height:11px; flex-basis:11px; }} .dashboard-reload svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } body:not([data-auth="ready"]) > .site-header, body:not([data-auth="ready"]) > main { display: none; } .login-screen { min-height: 100dvh; place-items: center; } .login-screen[hidden] { display: none; } .login-card { width: min(100%, 420px); padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--glass); box-shadow: var(--shadow); } .login-mark { width: 64px; height: 64px; margin-bottom: 26px; } .login-card h1 { margin: 9px 0 12px; font-size: 32px; letter-spacing: -.04em; } .login-card p { line-height: 1.6; color: var(--muted); font-size: 14px; } .login-card form, .profile-card form { display: grid; gap: 10px; margin-top: 24px; } .login-card label, .profile-card label { font-size: 13px; font-weight: 650; } .login-card input, .profile-card input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--surface-2); color: var(--text); font-size: 16px; } .login-card button, .profile-card button { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; background: var(--surface-soft); color: var(--text); font-size: 13px; } .login-card button.primary, .profile-card button.primary { background: var(--blue); color: white; border-color: transparent; } .login-card .primary { margin-top: 8px; } .login-card input[autocomplete="one-time-code"] { letter-spacing: .45em; font-size: 24px; text-align: center; } .login-secondary { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; } .login-secondary button { padding: 5px 0; background: transparent; border: none; color: var(--blue); font-size: 12px; } .login-message { min-height: 22px; margin: 14px 0 0; } .login-help { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 20px; } .login-screen { --login-floor:#eaf3fb; --login-surface:#fff; --login-text:#132236; --login-muted:#60728b; --login-input:#f4f7fb; --login-line:#d9e3ef; position:relative; isolation:isolate; display:block; padding:1px 24px 30px; background:var(--login-floor); overflow:hidden; } :root[data-theme="dark"] .login-screen { --login-floor:#071522; --login-surface:#122235; --login-text:#f3f7fe; --login-muted:#a5b7cc; --login-input:#0b192a; --login-line:#2b4057; background:var(--login-floor); } .login-scene { position:absolute; inset:0 0 auto; height:clamp(300px,37vw,570px); z-index:-1; } .login-scene img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:center top; } .login-house-night { display:none; } :root[data-scene="night"] .login-house-day { display:none; } :root[data-scene="night"] .login-house-night { display:block; } .login-scene::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,transparent 65%,var(--login-floor)); } .login-brand { position:absolute; top:28px; left:28px; display:flex; gap:10px; align-items:center; padding:10px 14px 10px 10px; border-radius:14px; color:var(--login-text); background:color-mix(in srgb,var(--login-surface) 88%,transparent); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); } .login-brand img { width:42px; height:42px; } .login-brand strong { display:block; font-size:21px; font-weight:700; line-height:1.25; letter-spacing:-.5px; } .login-brand span { display:block; margin-top:2px; font-size:12px; color:var(--login-muted); } .login-screen .login-card { width:min(100%,430px); position:relative; margin:clamp(230px,26vw,440px) auto 30px; padding:32px; border:0; border-radius:20px; background:var(--login-surface); color:var(--login-text); box-shadow:0 16px 55px #12294524; } :root[data-theme="dark"] .login-screen .login-card { box-shadow:0 16px 55px #0004; } .login-screen .login-card h1 { margin:0 0 8px; font-size:28px; line-height:1.2; font-weight:700; letter-spacing:-.04em; } .login-screen .login-card p { font-size:14px; line-height:1.55; color:var(--login-muted); overflow-wrap:anywhere; } .login-screen .login-intro { margin:0 0 22px; } .login-screen .login-card form { margin-top:24px; gap:8px; } .login-screen .login-card label { font-size:12px; color:var(--login-text); } .login-screen .login-card input { height:48px; background:var(--login-input); border-color:var(--login-line); color:var(--login-text); } .login-screen .login-card input::placeholder { color:var(--login-muted); opacity:.8; } .login-screen .login-card input.login-code { font-size:22px; letter-spacing:.45em; text-align:center; } .login-screen .login-card .primary { display:flex; justify-content:center; align-items:center; gap:9px; min-height:48px; margin-top:6px; background:#087fff; color:white; font-size:14px; font-weight:600; } .login-card .primary svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; } .login-screen .login-help { display:flex; justify-content:center; align-items:flex-start; gap:6px; margin-top:18px; font-size:11px; line-height:1.5; text-align:center; color:var(--login-muted); } .login-help svg { width:13px; height:13px; flex:0 0 13px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; margin-top:1px; } .login-message:empty { display:none; } .login-screen .login-secondary button { color:#087fff; font-size:12px; } :root[data-theme="dark"] .login-secondary button { color:#61b7ff; } @media (max-width:700px) { .login-screen { padding:1px 20px 24px; } .login-brand { top:20px; left:20px; } .login-scene { height:300px; } .login-screen .login-card { margin-top:240px; padding:26px 20px; }} .avatar { overflow: hidden; flex-shrink: 0; } .profile-layout { display: grid; gap: var(--dashboard-gap); } .profile-card { padding: 28px; align-self: start; } .profile-card h2 { margin: 0 0 18px; } .profile-card p { line-height: 1.5; color: var(--muted); font-size: 14px; } .profile-identity { display: flex; gap: 18px; align-items: center; margin: 20px 0 28px; } .profile-identity p { margin: 6px 0 0; overflow-wrap: anywhere; } .profile-avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-soft); color: var(--blue); font-size: 32px; flex-shrink: 0; } .profile-avatar img { width: 100%; height: 100%; object-fit: cover; } .profile-hint { margin: 0 0 6px; font-size: 12px !important; } .profile-buttons { display: flex; gap: 10px; } .profile-message { min-height: 22px; margin: 0; } .profile-session { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; } .profile-session p { width: 100%; margin: 0 0 4px; } .profile-device-section { border-top:1px solid var(--line); margin-top:24px; padding-top:20px; } .profile-device-section h3 { font-size:15px; margin:0 0 10px; } .profile-device-section .profile-hint { margin:0 0 16px; line-height:1.6; } .profile-device-list { list-style:none; margin:0 0 18px; padding:0; display:grid; gap:10px; } .profile-device-list li { display:flex; align-items:flex-start; gap:12px; padding:14px; background:var(--surface-soft); border:1px solid var(--line); border-radius:12px; } .profile-device-list li > svg { width:22px; height:22px; flex:0 0 22px; color:var(--muted); margin-top:2px; } .profile-device-list li > div { min-width:0; flex:1; } .profile-device-list strong { font-size:13px; overflow-wrap:anywhere; } .profile-device-list small { display:block; margin-top:5px; color:var(--muted); font-size:11px; } .profile-device-current { display:inline-block; font-size:10px; color:var(--blue); margin-left:8px; } .profile-device-list dl { margin:10px 0 0; display:grid; gap:5px; font-size:11px; } .profile-device-list dl > div { display:flex; flex-wrap:wrap; gap:3px 8px; justify-content:space-between; } .profile-device-list dt { color:var(--muted); } .profile-device-list dd { margin:0; font-variant-numeric:tabular-nums; } .profile-device-actions { display:flex; flex-wrap:wrap; gap:10px; } .profile-signout-devices,.profile-clear-devices { border:1px solid var(--line); background:var(--surface-soft); color:var(--red); padding:10px 14px; border-radius:10px; font-size:12px; cursor:pointer; } .profile-clear-devices { color:var(--text); } .profile-signout-devices:hover:not(:disabled),.profile-clear-devices:hover:not(:disabled) { background:var(--surface-2); } .profile-signout-devices:disabled,.profile-clear-devices:disabled { opacity:.5; cursor:default; } .profile-clear-hint { color:var(--muted); font-size:11px; line-height:1.6; margin:12px 0 0; } .profile-devices-empty,.profile-guest-identity p { color:var(--muted); font-size:12px; line-height:1.6; } .profile-devices-dialog .profile-device-section { border:0; margin:0; padding:0; } .profile-devices-dialog .profile-device-section h3 { display:none; } .profile-device-section .profile-message { margin-top:10px; font-size:12px; line-height:1.5; } .allowed-users { list-style: none; padding: 0; margin: 22px 0; } .allowed-users li { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); } .allowed-users li > div { min-width: 0; } .allowed-users small { display: block; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; } .allowed-users strong { font-size: 14px; } .allowed-users button { color: var(--red); } .admin-label { font-size: 12px; color: var(--muted); white-space: nowrap; } .hero-greeting h1 { line-height: 1.12; margin-bottom: 20px; } .hero-greeting { z-index: 2; } .hero-greeting .hero-brief p { width: 100%; margin: 0; overflow-wrap: anywhere; } .hero-brief { display: flex; align-items: center; gap: 10px; color: #fff; } .hero-brief-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; } .hero-greeting .hero-brief-title { font-size: 22px; line-height: 1.3; font-weight: 650; letter-spacing: -.018em; } .hero-greeting .hero-brief-occupancy { display: flex; align-items: center; gap: 7px; font-size: 14px; line-height: 1.4; font-weight: 400; color: #d5dfe5; } .hero-brief-people-icon { display: block; width: 17px; height: 17px; flex: 0 0 17px; } .hero-greeting .hero-brief-guest-mode { display:flex; align-items:center; gap:7px; font-size:14px; line-height:1.4; font-weight:600; color:#ffc31c; text-shadow:0 1px 3px rgba(0,0,0,.8); } .hero-brief-guest-mode > .room-ui-icon { width:17px; height:17px; flex:0 0 17px; color:inherit; } .hero-brief-shield { display: block; flex: 0 0 62px; width: 62px; height: 62px; color: #08df8d; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); } .hero-brief-shield svg { display: block; width: 100%; height: 100%; } .hero-brief-shield-symbol { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .hero-brief-priority .hero-brief-shield { color: #ff4655; } @media (max-width: 700px) { .hero-brief { gap: 8px; } .hero-atmosphere { background: linear-gradient(90deg, rgba(7,18,25,.84), rgba(7,18,25,.62) 65%, rgba(7,18,25,.22)), linear-gradient(to bottom, rgba(1,10,17,.08) 36%, rgba(0,8,12,.68) 100%); } :root[data-theme="light"] .hero-atmosphere { background: linear-gradient(90deg, rgba(7,18,25,.84), rgba(7,18,25,.62) 65%, rgba(7,18,25,.22)), linear-gradient(to bottom, transparent 45%, rgba(4,24,15,.36) 100%); }} @media (max-width: 440px) { .hero-greeting .hero-brief-title { font-size: 19px; } .hero-greeting .hero-brief-occupancy { font-size: 13px; } .hero-greeting .hero-brief-guest-mode { font-size:13px; }} @media (max-width: 700px) { .hero-greeting { position: relative; top: auto; left: auto; padding-top: 150px; margin: 0 20px; } .hero-widget-layout { position: relative; top: auto; bottom: auto; left: auto; right: auto; margin: 18px var(--dashboard-end-inset) var(--dashboard-gap) var(--dashboard-inset); grid-template-rows: auto auto; } .hero-weather { grid-row: 1; } .hero-status-row { grid-row: 2; }} @media (max-width: 700px) { .header-tools .avatar { display: grid; width: 36px; height: 36px; } .header-tools { gap: 7px; } .profile-layout { grid-template-columns: minmax(0,1fr); } .profile-card { padding: 22px; } .login-card { padding: 28px; }} .home-room-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-flow:row; grid-auto-columns:auto; gap:12px; overflow:visible; padding-bottom:0; scroll-snap-type:none; align-items:start; } .home-room-tile { padding:14px; border-radius:12px; overflow:visible; background:var(--surface-2); } .home-room-title { padding:0; margin-bottom:17px; justify-content:flex-start; gap:8px; font-size:14px; } .home-room-title strong { flex:1; } .room-ui-icon { width:17px; height:17px; flex:0 0 17px; display:block; color:var(--muted); } .home-room-title > svg:last-child { width:14px; height:14px; flex-basis:14px; } .room-glance { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 8px; } .room-glance-metric { min-width:0; display:grid; gap:5px; } .room-glance-metric > span { display:flex; align-items:center; gap:4px; font-size:11px; color:var(--muted); } .room-glance-metric .room-ui-icon { width:13px; height:13px; flex-basis:13px; } .room-glance-metric strong { font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; } .room-glance-metric.is-detected strong { color:var(--blue); } .room-detection-short { display:none; } .room-climate { border-top:1px solid var(--line); margin:18px 0 0; padding:13px 0 12px; } .room-climate h4 { font-size:12px; margin:0 0 6px; } .room-climate-unit + .room-climate-unit { border-top:1px solid var(--line); margin-top:12px; padding-top:12px; } .heating-panel { padding:16px; } .heating-panel > .panel-heading { margin-bottom:14px; } .heating-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr)); gap:var(--dashboard-gap); align-items:start; } .heating-grid > .empty { grid-column:1/-1; } .heating-room-heading { display:flex; align-items:center; gap:8px; margin-bottom:18px; } .heating-room-heading .room-ui-icon { width:18px; height:18px; flex:none; color:var(--blue); } .heating-room-heading h3 { margin:0; font-size:14px; font-weight:650; overflow-wrap:anywhere; } .heating-room .heating-room-readings.room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); } .heating-room .room-climate h4 { display:none; } .heating-room .room-climate-unit:only-of-type > .room-climate-name { display:none; } .heating-room .room-action-status { display:block; height:18px; margin:8px 0 0; font-size:12px; line-height:18px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .room-climate-name { color:var(--muted); font-size:11px; display:block; overflow-wrap:anywhere; } .room-dial-row { display:grid; grid-template-columns:32px minmax(0,1fr) 32px; align-items:center; justify-items:center; gap:6px; } .room-dial-step, .room-power-button { display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:50%; background:var(--surface-soft); color:var(--text); padding:0; } .room-dial-step .room-ui-icon, .room-power-button .room-ui-icon { width:15px; height:15px; } .room-power-button.is-on { background:color-mix(in srgb,var(--blue) 14%,var(--surface-soft)); } .room-power-button.is-on .room-ui-icon { color:var(--blue); } .room-dial { position:relative; width:112px; max-width:100%; aspect-ratio:1; } .room-dial-svg { display:block; width:100%; height:100%; touch-action:none; user-select:none; -webkit-user-select:none; } .room-dial-svg[data-room-dial] { cursor:grab; } .room-dial-svg[data-room-dragging] { cursor:grabbing; } .room-dial-track, .room-dial-progress { fill:none; stroke-width:7; stroke-linecap:round; } .room-dial-track { stroke:var(--line); } .room-dial-svg,.home-room-temperature { --room-temperature-blue:#0878bd; --room-temperature-green:#12b875; --room-temperature-red:#f43645; } .room-dial-progress { stroke:var(--room-temperature-blue); } .room-dial-svg[data-dial-tone="green"] .room-dial-progress { stroke:var(--room-temperature-green); } .room-dial-svg[data-dial-tone="red"] .room-dial-progress { stroke:var(--room-temperature-red); } .room-dial-thumb { fill:var(--text); } .room-dial-label { position:absolute; display:grid; justify-items:center; pointer-events:none; } .room-dial-label strong { font-weight:650; letter-spacing:-.8px; font-variant-numeric:tabular-nums; } .room-dial-svg[data-dial-off="true"] + .room-dial-label small { display:none; } .room-dial-label small, .room-dial-caption { color:var(--muted); font-size:11px; line-height:1.3; } .room-dial-caption { display:block; text-align:center; margin-top:3px; } .room-home-devices { border-top:1px solid var(--line); padding-top:11px; margin-top:3px; } .room-home-devices > summary { display:flex; align-items:center; justify-content:space-between; gap:8px; list-style:none; cursor:pointer; font-size:12px; min-height:32px; color:var(--blue); } .room-home-devices > summary::-webkit-details-marker { display:none; } .room-home-devices > summary .room-ui-icon { width:14px; height:14px; color:var(--blue); } .room-home-devices[open] > summary .room-ui-icon { transform:rotate(90deg); } .room-device-tiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:8px; padding-top:8px; } .room-control-tile { min-width:0; border-radius:9px; background:var(--surface-soft); } .room-control-tile.is-on { background:color-mix(in srgb,var(--blue) 14%,var(--surface-soft)); } .room-tile-power, .room-tile-info { display:grid; align-content:start; justify-items:start; text-align:left; padding:11px; width:100%; border:0; background:transparent; color:var(--text); } .room-tile-power:hover { background:color-mix(in srgb,var(--blue) 5%,transparent); } .room-tile-power:focus-visible { outline-offset:-3px; } .room-tile-power strong, .room-tile-info strong, .room-readonly-tile > strong { font-size:12px; line-height:1.35; font-weight:500; overflow-wrap:anywhere; } .room-readonly-tile > strong { display:block; padding:11px; } .room-control-tile.is-on .room-tile-power > .room-ui-icon { color:var(--blue); } .room-tile-status { font-size:11px; line-height:1.3; color:var(--muted); font-variant-numeric:tabular-nums; } .room-tile-status.is-unavailable, .room-dial-caption.is-unavailable { color:var(--red); } .room-tile-brightness { display:grid; gap:5px; padding:0 11px 9px; font-size:11px; color:var(--muted); } .room-tile-brightness > span { display:flex; flex-wrap:wrap; justify-content:space-between; gap:3px; } .room-tile-brightness input { width:100%; min-width:0; margin:0; accent-color:var(--blue); height:28px; cursor:pointer; } .room-tile-brightness input:disabled { cursor:default; opacity:.5; } .room-tile-readings { margin:0; padding:0 11px 10px; font-size:11px; line-height:1.4; } .room-tile-readings > div { display:grid; gap:3px; padding-top:7px; border-top:1px solid var(--line); margin-top:5px; } .room-tile-readings dt { color:var(--muted); overflow-wrap:anywhere; } .room-tile-readings dd { margin:0; overflow-wrap:anywhere; } .room-page-overview { margin:0 0 18px; border-radius:12px; container: room-detail / inline-size; } .room-page-overview .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); } .room-page-overview .room-climate { display:flex; align-items:start; gap:18px; flex-wrap:wrap; padding-bottom:0; } .room-page-overview .room-climate h4 { width:100%; margin-bottom:0; } .room-page-overview .room-climate-unit { width:250px; max-width:100%; } .room-page-overview .room-climate-unit + .room-climate-unit { border:0; padding:0; margin:0; } .room-devices-heading { margin:18px 0 2px; font-size:13px; border-top:1px solid var(--line); padding-top:13px; } .room-home-settings > summary { color:var(--blue); cursor:pointer; min-height:44px; font-size:13px; padding:12px 0; } .room-home-settings .room-home-choice { padding-top:7px; } @container room-widget (min-width:540px) { .home-room-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }} @container room-widget (max-width:540px) { .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); }} @container room-widget (max-width:420px) { .home-room-tile { padding:10px; } .home-room-tiles { gap:8px; } .home-room-title { gap:5px; font-size:12px; } .home-room-title > .room-ui-icon:first-child { width:14px; height:14px; flex-basis:14px; } .room-glance { gap:12px 7px; } .room-glance-metric strong { font-size:12px; } .room-dial-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; } .room-dial { grid-column:1/-1; grid-row:1; width:96px; } .room-dial-step { grid-row:2; width:36px; height:36px; } .room-dial-step[data-room-step="-1"] { grid-column:1; } .room-dial-step[data-room-step="1"] { grid-column:2; } .room-dial-label strong { font-size:21px; } .room-device-tiles { grid-template-columns:minmax(0,1fr); }} @container room-widget (max-width:360px) { .room-detection-long { display:none; } .room-detection-short { display:inline; } .room-glance-metric > span { gap:3px; } .room-glance-metric .room-ui-icon { width:11px; height:11px; flex-basis:11px; }} @container room-widget (max-width:280px) { .home-room-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }} @container room-detail (max-width:540px) { .room-page-overview .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); }} @container room-detail (max-width:360px) { .room-page-overview .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); }} @media (pointer:coarse) { .room-dial-step, .room-power-button { width:44px; height:44px; } .room-dial-row { grid-template-columns:44px minmax(0,1fr) 44px; } .room-tile-brightness input { height:44px; } .room-home-devices > summary { min-height:44px; }} @media (pointer:coarse) { @container room-widget (max-width:420px) { .room-dial-row { grid-template-columns:repeat(2,minmax(0,1fr)); }}} @container room-widget (max-width:420px) { .home-room-title { min-height:32px; } .room-climate-name { min-height:29px; }} @container room-widget (max-width:280px) { .room-glance-metric > span { display:grid; justify-items:start; gap:3px; } .room-glance-metric strong { font-size:11px; }} .room-control-tile[aria-busy="true"], .room-climate-unit[aria-busy="true"] { opacity:.6; } .room-selected-items li > span, .room-home-order li > span { min-width:0; overflow-wrap:anywhere; } .room-tile-readings .room-number-control { flex-wrap:wrap; } .room-editor { scroll-margin-top:var(--room-anchor-offset,108px); } .room-editor.is-selected > summary { color:var(--blue); } .room-page-overview { padding:0; border:0; background:transparent; } .room-page-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:16px; } .room-page-summary { min-width:0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); } .room-page-summary .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--room-readings-row-gap) var(--room-readings-column-gap); } .room-page-summary .room-glance-metric strong { font-size:12px; white-space:nowrap; } .room-page-summary .room-detection-long { display:inline; } .room-page-summary .room-detection-short { display:none; } .room-page-summary .room-climate { display:block; padding-bottom:0; } .room-page-summary .room-climate-unit { width:auto; } .room-page-summary .room-climate-unit + .room-climate-unit { border-top:1px solid var(--line); margin-top:12px; padding-top:12px; } .room-page-devices { position:relative; min-width:0; } .room-page-overview .room-device-tiles { padding-top:0; align-items:stretch; } .room-control-tile { position:relative; overflow:visible; } .room-tile-power, .room-tile-info { min-height:116px; border-radius:9px; gap:8px; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; touch-action:pan-y; } .room-tile-power > .room-ui-icon, .room-tile-info > .room-ui-icon { width:20px; height:20px; } .room-tile-power strong, .room-tile-info strong { max-width:100%; } .room-tile-adjust { display:grid; place-items:center; position:absolute; right:4px; top:4px; width:30px; height:30px; border:0; border-radius:50%; background:transparent; color:var(--muted); padding:0; } .room-tile-adjust:hover { background:var(--surface-2); } .room-tile-adjust .room-ui-icon { width:14px; height:14px; } .room-control-tile.is-editing { outline:1px solid var(--muted); outline-offset:0; } .room-adjustment-host { position:absolute; inset:0; pointer-events:none; } .room-adjustment-panel { position:absolute; right:0; top:0; z-index:10; width:330px; max-width:100%; max-height:100%; overflow-y:auto; overscroll-behavior:contain; pointer-events:auto; padding:17px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); box-shadow:var(--shadow); } .room-adjustment-panel > header { display:flex; align-items:center; gap:9px; margin-bottom:20px; } .room-adjustment-panel h4 { margin:0; flex:1; min-width:0; font-size:14px; overflow-wrap:anywhere; } .room-adjust-close { display:grid; place-items:center; border:0; border-radius:50%; background:var(--surface-soft); width:30px; height:30px; flex:0 0 30px; padding:0; } .room-adjust-field { display:grid; gap:7px; margin-bottom:17px; font-size:12px; } .room-adjust-field > span { display:flex; justify-content:space-between; gap:8px; } .room-adjust-field output { font-variant-numeric:tabular-nums; } .room-adjust-field input { width:100%; min-width:0; accent-color:var(--blue); height:30px; } .room-adjust-field select { width:100%; min-width:0; background:var(--surface); color:var(--text); border:1px solid var(--line); border-radius:6px; padding:8px; } .room-adjust-switch { width:100%; display:flex; align-items:center; gap:8px; padding:8px; margin-bottom:15px; border:0; border-radius:8px; background:var(--surface-soft); color:var(--text); font-size:12px; min-height:36px; } .room-adjust-switch strong { margin-left:auto; font-size:12px; } .room-adjust-switch.is-on .room-ui-icon { color:var(--blue); } .room-colour-label { display:flex; align-items:center; justify-content:space-between; gap:9px; margin-bottom:15px; font-size:12px; } .room-colour-label input { width:36px; height:30px; padding:2px; border:1px solid var(--line); border-radius:6px; background:var(--surface-soft); } .room-colour-wheel { position:relative; width:170px; aspect-ratio:1; border-radius:50%; margin:0 auto 14px; background:radial-gradient(circle closest-side,#fff 0,transparent 100%),conic-gradient(from 90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); touch-action:none; user-select:none; -webkit-user-select:none; cursor:crosshair; } .room-colour-wheel.is-disabled { opacity:.4; cursor:default; } .room-colour-thumb { position:absolute; width:16px; height:16px; margin:-8px; border:2px solid white; border-radius:50%; box-shadow:0 0 0 1px #13233188; pointer-events:none; } .room-colour-white { display:block; margin:0 auto; padding:7px 15px; border:0; border-radius:6px; color:var(--text); background:var(--surface-soft); font-size:12px; } .room-colour-controls > small { display:block; margin-top:10px; text-align:center; font-size:11px; color:var(--muted); } .room-adjust-reading, .room-adjust-readings > div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 12px; border-top:1px solid var(--line); padding:9px 0; font-size:11px; } .room-adjust-reading > span, .room-adjust-readings dt { color:var(--muted); overflow-wrap:anywhere; } .room-adjust-readings { margin:15px 0 0; } .room-adjust-readings dd { margin:0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; } .room-adjust-status { margin:12px 0 0; height:15px; font-size:11px; line-height:15px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .room-adjustment-panel[aria-busy="true"] .room-colour-wheel { opacity:.5; } @container room-detail (max-width:700px) { .room-page-layout { grid-template-columns:minmax(0,1fr); } .room-page-summary .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); } .room-page-summary .room-climate-unit { max-width:260px; } .room-page-summary .room-detection-long { display:inline; } .room-page-summary .room-detection-short { display:none; } .room-adjustment-panel { position:relative; width:100%; margin-top:12px; }} @container room-detail (max-width:360px) { .room-page-summary .room-glance { grid-template-columns:repeat(3,minmax(0,1fr)); } .room-page-overview .room-device-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }} @media(pointer:coarse) { .home-room-title { min-height:44px; } .room-tile-adjust, .room-adjust-close { width:44px; height:44px; } .room-adjust-close { flex-basis:44px; } .room-tile-adjust { right:0; top:0; } .room-tile-power > .room-ui-icon, .room-tile-info > .room-ui-icon { margin-bottom:6px; } .room-adjust-field input { height:44px; } .room-adjust-field select { min-height:44px; font-size:16px; } .room-colour-label input { width:44px; height:44px; } .room-colour-white, .room-adjust-switch { min-height:44px; }} .weather-glance-hours:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; } .weather-day-complete { grid-column: span 6; text-align: center; align-self: center; font-size: 11px; padding: 26px 0; opacity: .8; } .quick-grid button:disabled { opacity: .5; cursor: default; } .quick-grid button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } .quick-status { margin: 6px 0 0; font-size: 11px; color: var(--muted); } .quick-status:empty { display: none; } .room-editor { overflow:visible; } .rooms-workspace { display:block; } .room-editor-heading { align-items:center; justify-content:space-between; gap:12px; padding:16px 17px; } .room-editor-heading h3 { font-size:15px; font-weight:650; } .room-editor-heading small { font-size:11px; color:var(--muted); } .room-editor.is-selected .room-editor-heading h3 { color:var(--blue); } .room-heading-actions { display:flex; align-items:center; gap:14px; } .room-options-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:0; padding:0 3px; min-height:44px; background:transparent; color:var(--muted); font-size:12px; white-space:nowrap; } .room-options-button:hover { color:var(--blue); } .room-options-button .room-ui-icon { width:14px; height:14px; color:inherit; } .room-options-button[data-room-options] .room-ui-icon { transform:rotate(90deg); } .room-device-pages { display:flex; gap:8px; align-items:center; color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; } .room-device-pages button { display:grid; place-items:center; width:30px; height:30px; padding:0; border:1px solid var(--line); border-radius:50%; color:var(--text); background:var(--surface-soft); font-size:20px; } .room-device-pages button:disabled { opacity:.35; } .room-page-overview { margin-bottom:0; } .room-page-layout { align-items:stretch; } .room-page-summary { min-height:300px; } .room-page-devices { align-self:stretch; } .room-page-overview .room-device-tiles { position:absolute; inset:0; grid-template-columns:repeat(5,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); padding:0; gap:9px; } .room-page-overview .room-tile-power, .room-page-overview .room-tile-info { min-height:0; height:100%; padding:12px; } .room-page-overview .room-control-tile { min-height:0; } .room-device-tiles > .room-no-items { grid-column:1/-1; align-self:start; padding:16px; } .room-settings-dialog { width:560px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 40px); padding:0; border:1px solid var(--line); border-radius:16px; color:var(--text); background:var(--surface-2); box-shadow:var(--shadow); } .room-settings-dialog[open] { display:flex; flex-direction:column; } .room-settings-dialog::backdrop { background:rgba(2,12,22,.48); backdrop-filter:blur(4px); } .room-settings-body { padding:24px; overflow-y:auto; overscroll-behavior:contain; } .room-settings-body h2 { font-size:20px; margin:0 0 16px; } .room-settings-body h3 { font-size:13px; margin:18px 0 10px; } .room-settings-body p { font-size:12px; line-height:1.6; color:var(--muted); } .room-settings-body .room-home-order { position:static; } .room-settings-tabs { display:flex; gap:6px; padding:4px; border-radius:10px; background:var(--surface-soft); } .room-settings-tabs button { flex:1; border:0; padding:10px; border-radius:7px; color:var(--muted); background:transparent; font-size:12px; } .room-settings-tabs button[aria-selected="true"] { color:var(--blue); background:var(--surface); box-shadow:0 1px 5px #0001; } .room-settings-list { display:grid; gap:5px; } .room-settings-list label { display:flex; align-items:center; gap:10px; padding:10px; border-radius:8px; background:var(--surface-soft); font-size:13px; cursor:pointer; } .room-settings-list label > span { min-width:0; overflow-wrap:anywhere; } .room-settings-list small { display:block; font-size:11px; color:var(--muted); margin-top:3px; } .room-settings-list input, .room-settings-dialog .room-home-choice input { accent-color:var(--blue); width:18px; height:18px; flex:0 0 18px; margin:0; } .room-visibility-table { width:100%; margin:16px 0 20px; table-layout:fixed; } .room-visibility-table th, .room-visibility-table td { padding:4px; background:transparent; border-bottom:1px solid var(--line); } .room-visibility-table thead th { font-size:11px; font-weight:500; color:var(--muted); } .room-visibility-table th:first-child { width:50%; text-align:left; } .room-visibility-table tbody th { font-size:13px; font-weight:500; color:var(--text); overflow-wrap:anywhere; } .room-visibility-table td, .room-visibility-table thead th:not(:first-child) { text-align:center; } .room-visibility-table label { display:flex; justify-content:center; align-items:center; min-height:44px; cursor:pointer; } .room-visibility-table input { accent-color:var(--blue); width:18px; height:18px; margin:0; } .room-settings-list .room-ui-icon { width:18px; height:18px; flex:0 0 18px; color:var(--muted); } .room-settings-row { position:relative; display:flex; align-items:center; gap:4px; border-radius:8px; background:var(--surface-soft); } .room-settings-row label { flex:1; min-width:0; background:transparent; } .room-order-handle { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; padding:0; border:0; border-radius:7px; color:var(--muted); background:transparent; cursor:grab; touch-action:none; -webkit-user-select:none; user-select:none; } .room-order-handle .room-ui-icon { width:14px; height:14px; } .room-order-handle:hover { color:var(--blue); background:var(--surface-soft); } .room-order-handle[data-room-dragging] { cursor:grabbing; color:var(--blue); } .room-tile-drag { position:absolute; left:3px; top:3px; } .is-reordering { opacity:.5; } .room-drop-before::before, .room-drop-after::after { content:''; position:absolute; top:0; bottom:0; width:3px; border-radius:2px; background:var(--blue); pointer-events:none; z-index:2; } .room-drop-before::before { left:-6px; } .room-drop-after::after { right:-6px; } .room-order-list .room-drop-before::before, .room-order-list .room-drop-after::after { width:auto; height:3px; left:0; right:0; bottom:auto; } .room-order-list .room-drop-before::before { top:-4px; } .room-order-list .room-drop-after::after { top:auto; bottom:-4px; } @media(pointer:coarse) { .room-order-handle { width:44px; height:44px; flex-basis:44px; }} .room-settings-tools { display:flex; align-items:center; gap:12px; margin:16px 0; font-size:11px; color:var(--muted); } .room-settings-tools > span { margin-right:auto; } .room-settings-tools button { border:0; padding:5px 0; color:var(--blue); background:transparent; font-size:12px; } .room-settings-dialog > footer { display:flex; flex-direction:row; flex-shrink:0; justify-content:flex-end; align-items:center; gap:10px; margin-top:0; padding:16px 24px; border-top:1px solid var(--line); background:var(--surface-2); letter-spacing:normal; } .room-settings-dialog > footer button { border:1px solid var(--line); border-radius:8px; padding:10px 14px; font-size:12px; color:var(--text); background:var(--surface-soft); } .room-settings-dialog > footer .room-settings-save { background:var(--blue); color:#fff; border-color:var(--blue); } .room-settings-status { padding:0 24px; margin:0 0 12px; font-size:12px; color:var(--muted); } .room-settings-status:empty { display:none; } .room-layout-dialog { width:680px; background:var(--surface); } .room-layout-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:22px; } .room-layout-heading h2 { margin-bottom:5px; } .room-layout-heading p { margin:0; } .room-layout-heading > span { flex:none; font-size:11px; color:var(--muted); padding-top:4px; } .room-layout-hint { display:flex; align-items:center; gap:6px; margin:15px 0 12px; } .room-layout-hint .room-ui-icon { width:16px; height:16px; flex:none; } .room-layout-columns, .room-layout-row { display:grid; grid-template-columns:minmax(0,1fr) 68px 68px 36px; align-items:center; gap:6px; } .room-layout-columns { font-size:11px; color:var(--muted); padding-bottom:7px; } .room-layout-columns > span:not(:first-child) { text-align:center; } .room-layout-row { position:relative; min-height:60px; border-top:1px solid var(--line); padding:4px 0; } .room-layout-name { display:flex; align-items:center; gap:7px; min-width:0; } .room-layout-name > span:last-child { min-width:0; } .room-layout-name strong { display:block; font-size:13px; font-weight:550; overflow-wrap:anywhere; } .room-layout-name small { display:block; font-size:11px; color:var(--muted); margin-top:2px; } .room-layout-name .room-order-handle { width:24px; flex-basis:24px; min-height:44px; } .room-layout-number { width:14px; flex:none; color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; } .room-layout-icon { display:grid; place-items:center; width:30px; height:30px; flex:none; border-radius:8px; color:var(--blue); background:var(--surface-soft); } .room-layout-icon .room-ui-icon { width:16px; height:16px; } .room-layout-check { display:flex; align-items:center; justify-content:center; min-height:44px; cursor:pointer; } .room-layout-check input { width:18px; height:18px; margin:0; accent-color:var(--blue); } .room-layout-expand { display:grid; place-items:center; min-height:44px; width:36px; padding:0; border:0; border-radius:7px; background:transparent; color:var(--muted); } .room-layout-expand .room-ui-icon { width:16px; height:16px; } .room-layout-expand[aria-expanded="true"] .room-ui-icon { transform:rotate(90deg); } .room-layout-expand:hover { color:var(--blue); background:var(--surface-soft); } .room-layout-row.is-hidden .room-layout-name { opacity:.65; } .room-settings-body .room-layout-hidden-title { margin:18px 0 7px; font-size:11px; } .room-layout-detail { border-radius:10px; padding:15px; margin-bottom:12px; background:var(--surface-soft); } .room-layout-detail[hidden] { display:none; } .room-layout-detail h3:first-child { margin-top:0; } .room-layout-detail .room-settings-row, .room-layout-detail .room-settings-list label { background:var(--surface); } .room-layout-detail .room-settings-row label { background:transparent; } .room-layout-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; } .room-layout-metrics label { font-size:12px; gap:7px; padding:9px; } .room-layout-shared { margin-right:auto; font-size:11px; color:var(--muted); } .climate-settings-dialog { background:var(--surface); } .room-layout-row.climate-order-row { grid-template-columns:minmax(0,1fr); } .climate-order-row .room-layout-name .room-order-handle { width:44px; flex-basis:44px; min-height:44px; } @media(max-width:500px) { .climate-settings-dialog .room-settings-body { padding:18px 14px; } .climate-settings-dialog > footer { padding:14px; gap:7px; flex-wrap:wrap; } .room-layout-dialog .room-settings-body { padding:18px 14px; } .room-layout-dialog > footer { padding:14px; gap:7px; flex-wrap:wrap; } .room-layout-dialog > footer button { padding:10px; } .room-layout-columns, .room-layout-row { grid-template-columns:minmax(0,1fr) 46px 46px 30px; gap:2px; } .room-layout-row { min-height:66px; } .room-layout-icon { display:none; } .room-layout-name { gap:4px; } .room-layout-name .room-order-handle { width:22px; flex-basis:22px; } .room-layout-number { width:12px; } .room-layout-expand { width:30px; } .room-layout-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }} .hero-status-row article.hero-vehicle { display:grid; grid-template-columns:minmax(0,1fr); align-content:start; gap:6px; padding:12px; min-height:140px; container:vehicle-widget / inline-size; } .hero-status-row .hero-vehicle .header-card-heading { min-height:25px; } .hero-status-row .hero-vehicle .header-card-heading > strong { font-size:13px; line-height:1.25; } .hero-status-row .vehicle-brand-logo { width:34px; height:20px; flex:0 0 34px; display:block; margin:0; opacity:1; background:currentColor; -webkit-mask:url('/assets/audi.svg') center/contain no-repeat; mask:url('/assets/audi.svg') center/contain no-repeat; } .hero-status-row .hero-vehicle .vehicle-range-body { display:grid; grid-template-columns:minmax(max-content,1.17fr) minmax(0,1fr); align-items:center; gap:8px; } .hero-status-row .hero-vehicle .vehicle-primary { display:grid; gap:2px; } .hero-status-row .hero-vehicle .vehicle-primary > strong { font-size:26px; font-weight:700; line-height:1.1; white-space:nowrap; font-variant-numeric:tabular-nums; } .hero-vehicle .vehicle-primary small { font-size:11px; font-weight:500; } .hero-status-row .hero-vehicle .vehicle-primary > span { margin:0; font-size:11px; opacity:.8; } .hero-status-row .hero-vehicle .vehicle-photo { width:100%; min-width:0; height:62px; position:relative; overflow:hidden; } .hero-vehicle .vehicle-photo img { position:absolute; width:100%; height:100%; max-width:100%; left:0; top:0; transform:none; object-fit:contain; object-position:right center; } .hero-status-row .hero-vehicle .vehicle-battery-line { display:flex; align-items:center; gap:6px; min-height:15px; } .hero-status-row .hero-vehicle .vehicle-battery-level, .hero-status-row .hero-vehicle .vehicle-lock { display:inline-flex; align-items:center; gap:4px; margin:0; font-size:11px; line-height:1.3; opacity:1; white-space:nowrap; } .hero-status-row .hero-vehicle b { width:auto; font-size:11px; line-height:1.3; font-weight:500; text-align:inherit; } .hero-vehicle svg { display:block; width:12px; height:12px; flex:0 0 12px; } .vehicle-lock.is-locked { color:var(--green); } .vehicle-lock.is-unlocked,.vehicle-lock.is-door-open { color:var(--red); } .vehicle-lock.is-unknown { color:var(--muted); } .vehicle-battery-meter, .hero-status-row .hero-vehicle .vehicle-battery-missing { display:block; flex:1; min-width:20px; width:auto; height:4px; border:0; border-radius:3px; background:var(--surface-soft); -webkit-appearance:none; appearance:none; } .vehicle-battery-meter::-webkit-meter-bar { height:4px; border:0; border-radius:3px; background:var(--surface-soft); box-shadow:none; } .vehicle-battery-meter::-webkit-meter-optimum-value, .vehicle-battery-meter::-webkit-meter-suboptimum-value, .vehicle-battery-meter::-webkit-meter-even-less-good-value { border-radius:3px; background:var(--vehicle-battery-color); } .vehicle-battery-meter::-moz-meter-bar { border-radius:3px; background:var(--vehicle-battery-color); } .hero-status-row .hero-vehicle .vehicle-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:15px; } .hero-status-row .hero-vehicle .vehicle-meta .vehicle-lock { margin-left:auto; } .hero-status-row .hero-vehicle .vehicle-mileage { display:flex; align-items:center; gap:4px; font-size:11px; line-height:1.3; color:var(--muted); } .hero-status-row .hero-vehicle .vehicle-mileage span { margin:0; font-size:11px; line-height:1.3; opacity:1; white-space:nowrap; font-variant-numeric:tabular-nums; } .hero-vehicle { --vehicle-battery-color:var(--muted); } .hero-vehicle.vehicle-battery-good { --vehicle-battery-color:var(--green); } .hero-vehicle.vehicle-battery-warning { --vehicle-battery-color:var(--orange); } .hero-vehicle.vehicle-battery-low { --vehicle-battery-color:var(--red); } .hero-vehicle .vehicle-battery-level { color:var(--vehicle-battery-color); } .hero-vehicle .vehicle-charge-line { display:flex; align-items:center; gap:4px; min-width:0; font-size:11px; line-height:1.3; color:var(--muted); } .hero-vehicle .vehicle-charge-line span { min-width:0; margin:0; font:inherit; opacity:1; overflow-wrap:anywhere; } .hero-vehicle .vehicle-charge-line.is-charging { color:var(--blue); } @container vehicle-widget (max-width:270px) { .hero-status-row .hero-vehicle .header-card-heading > strong { font-size:12px; } .hero-status-row .hero-vehicle .vehicle-primary > strong { font-size:24px; } .hero-status-row .hero-vehicle .vehicle-photo { height:55px; }} @container vehicle-widget (max-width:230px) { .hero-status-row .hero-vehicle .vehicle-battery-line { flex-wrap:wrap; gap:5px; } .hero-vehicle .vehicle-charge-line { flex-basis:100%; }} @media(max-width:900px) and (orientation:portrait) { .home-hero { min-height:0; padding-top:550px; } .hero-greeting { position:absolute; top:150px; left:20px; width:calc(100% - 40px); padding:0; margin:0; } .hero-house { top:80px; height:540px; object-position:center top; -webkit-mask-image:linear-gradient(black 92%,transparent); mask-image:linear-gradient(black 92%,transparent); } .hero-widget-layout { position:relative; inset:auto; margin:0 var(--dashboard-end-inset) var(--dashboard-gap) var(--dashboard-inset); grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; } .hero-clock { display:none; } .hero-weather { width:100%; grid-column:1; grid-row:1; } .hero-status-row { grid-column:1; grid-row:2; grid-template-columns:var(--compact-header-columns); overflow:visible; }} @media(max-width:700px) and (orientation:portrait) { .home-hero { padding-top:440px; } .hero-house { height:440px; object-position:45% top; }} @container room-detail (max-width:800px) { .room-adjustment-host { position:static; pointer-events:auto; } .room-adjustment-panel { position:relative; width:100%; max-height:none; overflow:visible; margin-top:12px; } .room-page-layout { grid-template-columns:minmax(0,1fr); } .room-page-summary { min-height:0; } .room-page-summary .room-climate-unit { max-width:260px; } .room-page-overview .room-device-tiles { position:static; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; grid-auto-rows:minmax(130px,auto); } .room-page-overview .room-tile-power, .room-page-overview .room-tile-info { min-height:130px; }} @container room-detail (max-width:480px) { .room-page-overview .room-device-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }} @media(max-width:600px) { .room-editor-heading { align-items:start; padding:14px 12px; } .room-heading-actions { align-items:flex-end; flex-direction:column; gap:8px; } .room-options-button { min-height:44px; } .room-settings-body { padding:18px; } .room-settings-dialog > footer { padding:14px 18px; }} .home-overview { --home-tile-gap:var(--dashboard-gap); display:grid; width:100%; min-width:0; grid-template-columns:repeat(5,minmax(0,1fr)); gap:var(--dashboard-gap); padding:0 var(--dashboard-end-inset) var(--dashboard-gap) var(--dashboard-inset); background:var(--bg); } .home-overview .people-grid { gap:var(--home-tile-gap); } .home-overview-left { grid-column:1 / span 2; display:flex; flex-direction:column; gap:var(--dashboard-gap); min-width:0; } .home-overview-security { grid-column:3 / span 3; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; align-content:start; align-self:start; gap:var(--dashboard-gap); min-width:0; min-height:0; } .home-overview .dashboard-panel { width:100%; grid-column:auto; } .home-overview .home-room-tiles { display:grid; min-width:0; max-width:100%; grid-template-columns:repeat(5,minmax(0,1fr)); grid-template-rows:auto; grid-auto-flow:row; grid-auto-columns:auto; gap:var(--dashboard-gap); align-items:stretch; overflow:visible; padding-bottom:0; scroll-snap-type:none; } .home-overview .home-room-tiles:has(> .panel-empty) { display:block; } .home-overview .home-room-tile { padding:10px; } .home-overview .home-room-title { gap:5px; font-size:12px; margin-bottom:0; } .home-overview .home-room-tile .room-ui-icon { width:12px; height:12px; } .home-overview .home-room-title > .room-ui-icon { width:16px; height:16px; } .home-overview-security .cameras-panel { display:flex; flex-direction:column; padding:var(--dashboard-gap); } .home-overview-security .panel-heading { min-height:24px; margin-bottom:var(--dashboard-gap); align-items:center; } .home-overview-security .home-camera-grid { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; grid-auto-rows:auto; gap:var(--home-tile-gap); flex:none; } .home-overview-security .home-camera-tile { display:flex; flex-direction:column; } .home-overview-security .home-camera-tile .camera-preview { flex:none; width:100%; min-height:0; aspect-ratio:16/9; } .home-overview-security .camera-preview video { position:absolute; inset:0; } .home-overview-security .cameras-panel[data-height-aligned] { height:var(--home-security-height); } .home-overview-security .cameras-panel[data-height-aligned] > .panel-heading { flex-shrink:0; } .home-overview-security .cameras-panel[data-height-aligned] .home-camera-grid { flex:1; min-height:0; grid-auto-rows:minmax(0,1fr); } .home-overview-security .cameras-panel[data-height-aligned] .home-camera-tile { min-height:0; } .home-overview-security .cameras-panel[data-height-aligned] .camera-preview { flex:1; height:100%; aspect-ratio:auto; } .home-overview-security .cameras-panel[data-height-aligned] .camera-preview video { object-fit:cover; } @media (max-width:1000px) { .home-overview { grid-template-columns:minmax(0,1fr); } .home-overview .guest-mode-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }} @media (max-width:600px) { .home-overview-security .home-camera-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; }} .hero-vehicle {position:relative} .hero-vehicle .vehicle-card-link {position:absolute;inset:0;z-index:2;border-radius:inherit;cursor:pointer} @media(hover:hover) and (pointer:fine){.hero-vehicle .vehicle-card-link:hover {background:rgba(120,175,220,.1)}} .hero-vehicle .vehicle-card-link:active {background:rgba(120,175,220,.1)} .allowed-users li { justify-content:flex-start; gap:12px; } .allowed-user-avatar { display:grid; place-items:center; flex:0 0 46px; width:46px; height:46px; border-radius:50%; overflow:hidden; color:var(--blue); background:var(--surface-2); font-weight:650; font-size:18px; } .allowed-user-avatar img { width:100%; height:100%; object-fit:cover; } .allowed-user-details { flex:1; min-width:0; } .allowed-users small { font-size:12px; } .profile-card .allowed-users button { flex-shrink:0; min-height:32px; padding:5px 9px; font-size:12px; background:transparent; } .profile-card #allowed-form { border-top:1px solid var(--line); padding-top:24px; margin-top:28px; } #allowed-form h3 { margin:0 0 6px; font-size:16px; } .allowed-photo-picker { display:flex; gap:14px; align-items:center; margin:4px 0 12px; } .allowed-photo-picker .profile-avatar { width:64px; height:64px; font-size:24px; } .allowed-photo-picker .profile-hint { margin:5px 0 0; } .profile-card .photo-picker-link { color:var(--blue); font-weight:600; cursor:pointer; } .profile-card .photo-picker-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; border:0; clip-path:inset(50%); overflow:hidden; } :root:not([data-input-modality="pointer"]) .allowed-photo-picker:has(.photo-picker-input:focus-visible) .photo-picker-link { outline:2px solid var(--muted); outline-offset:4px; border-radius:2px; } .profile-card .photo-picker-clear { display:block; padding:0; margin-top:6px; min-height:24px; border:0; color:var(--muted); background:transparent; font-size:12px; } .profile-card .photo-picker-clear[hidden] { display:none; } .allowed-form-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:12px; } .allowed-form-fields > div { display:grid; gap:7px; } #allowed-form > .primary { justify-self:start; margin-top:4px; padding:10px 20px; } @media(max-width:420px) { .profile-card { padding:20px; } .allowed-form-fields { grid-template-columns:minmax(0,1fr); }} @container room-widget (max-width:650px) { .home-overview .room-detection-long { display:none; } .home-overview .room-detection-short { display:inline; }} @container (max-width:180px) { .weather-daily-range > span:first-child { display:none; } .weather-hour-wind { font-size:10px; } .weather-hour-wind small { font-size:9px; } .weather-glance-sun { display:grid; grid-template-columns:18px minmax(0,1fr); gap:3px 5px; } .weather-glance-sun .weather-sun-icon { grid-row:1 / span 2; } .weather-glance-sun strong { grid-column:2; } .weather-glance-sun > span { grid-column:2; margin-left:0; text-align:left; }} :root[data-theme="light"] body[data-section="home"] { --bg:#e4eaf0; --surface:#fff; --surface-2:#f0f4f8; --surface-soft:#f0f4f8; --glass-hero:rgba(255,255,255,.64); --text:#152438; --muted:#46576a; --faint:#59697a; --line:#bdcbd8; --blue:#0769b4; --green:#087952; --red:#ce3043; --yellow:#956500; --shadow:0 3px 10px rgba(32,56,76,.07); } :root[data-theme="light"] body[data-section="home"] :is(.hero-status-row article,.hero-weather) { color:var(--text); background:var(--glass-hero); border-color:rgba(64,85,108,.24); box-shadow:0 5px 20px rgba(16,43,69,.19),inset 0 1px 0 rgba(255,255,255,.52); -webkit-backdrop-filter:blur(14px) saturate(105%); backdrop-filter:blur(14px) saturate(105%); } :root[data-theme="light"] body[data-section="home"] .hero-status-row article.status-alert { border-color:color-mix(in srgb,var(--red) 55%,transparent); } :root[data-theme="light"] body[data-section="home"] :is( .hero-network-metrics span,.hero-network-metrics small,.hero-network-status, .octopus-caption,.octopus-reading > span,.vehicle-primary > span,.vehicle-mileage, .weather-daily-range > span:first-child,.weather-glance-main > div > span, .weather-glance-hours time,.weather-hour-wind small,.weather-glance-sun > span ) { color:var(--muted); opacity:1; } :root[data-theme="light"] body[data-section="home"] .header-security-sensors span { opacity:1; } :root[data-theme="light"] body[data-section="home"] :is(.weather-glance-hours,.weather-glance-sun) { border-color:var(--line); } :root[data-theme="light"] body[data-section="home"] .site-header nav { background:rgba(255,255,255,.9); border-color:var(--line); } :root[data-theme="light"] body[data-section="home"] .site-header nav a { color:var(--text); } :root[data-theme="light"] body[data-section="home"] .site-header nav a[aria-current="page"] { color:var(--blue); background:#e0edf8; } :root[data-theme="light"] body[data-section="home"] .homey-brand { position:relative; isolation:isolate; } :root[data-theme="light"] body[data-section="home"] .homey-brand::before { content:""; position:absolute; inset:-8px -12px; z-index:-1; border:1px solid rgba(64,85,108,.14); border-radius:12px; -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); } :root[data-theme="light"], :root[data-theme="light"] body[data-section="home"] { --bg:#ededeb; --surface:#e1e7ed; --surface-2:#d4dee7; --surface-soft:#ced9e3; --glass:rgba(225,231,237,.94); --glass-hero:rgba(225,231,237,.64); --text:#14283c; --muted:#40556a; --faint:#40556a; --line:#97acbf; --blue:#0878bd; --green:#145f43; --red:#c63242; --yellow:#8b6200; --orange:#a64a08; --shadow:0 4px 14px rgba(25,46,65,.09); --light-header:var(--bg); --light-nav:rgba(211,220,227,.48); --nav-glass:var(--light-nav); --light-nav-active:#a9c5da; --light-nav-active-text:#16466b; --light-control:#b8c9d8; --light-control-hover:#a5bfd4; --light-hover:#b9ccdc; --light-on:#b9d7ee; --light-link:#175b8a; } :root[data-theme="light"] .site-header { color:var(--text); } :root[data-theme="light"] body:not([data-section="home"]) .site-header { background:color-mix(in srgb,var(--light-header) 96%,transparent); } :root[data-theme="light"] .homey-brand small { color:var(--muted); } :root[data-theme="light"] body[data-section] .site-header nav { background:var(--nav-glass); border-color:var(--line); } :root[data-theme="light"] body:not([data-section="home"]) .site-header nav a { color:var(--muted); } :root[data-theme="light"] body:not([data-section="home"]) .site-header nav a[aria-current="page"], :root[data-theme="light"] body[data-section="home"] .site-header nav a[aria-current="page"] { color:var(--light-nav-active-text); background:var(--light-nav-active); box-shadow:inset 0 0 0 1px #82a5bf; } :root[data-theme="light"] body[data-section="home"] .homey-brand::before { background:rgba(225,231,237,.94); border-color:var(--line); } :root[data-theme="light"] .icon-button { color:var(--text); background:transparent; border-color:var(--line); -webkit-backdrop-filter:none; backdrop-filter:none; } :root[data-theme="light"] .avatar { color:var(--text); background:var(--surface-soft); border-color:var(--line); } :root[data-theme="light"] .connection-pill { color:var(--muted); background:transparent; border:0; padding:0; flex-shrink:0; white-space:nowrap; -webkit-backdrop-filter:none; backdrop-filter:none; } :root[data-theme="light"] .connection-pill.connected { color:#145f43; } :root[data-theme="light"] body[data-section="home"] .connection-pill { color:#f4f8fb; text-shadow:0 1px 3px #000,0 0 8px #000b; } :root[data-theme="light"] body[data-section="home"] .connection-pill.connected { color:#b6ffda; } :root[data-theme="light"] body[data-section="rooms"] .room-editor { background:#fff; } :root[data-theme="light"] .room-control-tile { border:1px solid var(--line); } :root[data-theme="light"] .room-control-tile.is-on { background:var(--light-on); border-color:color-mix(in srgb,var(--blue) 55%,var(--line)); } :root[data-theme="light"] :is(.room-options-button,.room-settings-tools button,.module-link,.text-link,.panel-heading > a) { color:var(--light-link); } :root[data-theme="light"] .room-tile-power:focus-visible { background:transparent; } :root[data-theme="light"]:not([data-input-modality="pointer"]) .room-control-tile:has(:focus-visible), :root[data-theme="light"]:not([data-input-modality="pointer"]) .home-room-tile:has(a:focus-visible) { background:var(--light-hover); border-color:var(--muted); box-shadow:none; } @media (hover:hover) and (pointer:fine) { :root[data-theme="light"] body[data-section] .site-header nav a:hover { color:var(--text); background:var(--light-hover); } :root[data-theme="light"] body:not([data-section="home"]) .site-header nav a[aria-current="page"]:hover, :root[data-theme="light"] body[data-section="home"] .site-header nav a[aria-current="page"]:hover { color:var(--light-nav-active-text); background:var(--light-nav-active); } :root[data-theme="light"] .icon-button:hover { color:var(--text); background:transparent; border-color:var(--blue); } :root[data-theme="light"] .connection-pill:hover { text-decoration:underline; text-underline-offset:3px; } :root[data-theme="light"] .room-control-tile:hover, :root[data-theme="light"] .home-room-tile:has(a:hover) { background:var(--light-hover); border-color:var(--blue); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blue) 28%,transparent); } :root[data-theme="light"] :is(.room-tile-power,.room-tile-info):hover { background:transparent; } :root[data-theme="light"] :is(.room-dial-step,.room-power-button,.room-device-pages button,.quick-grid button):not(:disabled):hover { background:var(--light-hover); color:var(--text); box-shadow:inset 0 0 0 1px var(--blue); } :root[data-theme="light"] :is(.room-tile-adjust,.room-order-handle,.room-adjust-close,.room-layout-expand):hover { background:#d9efff; color:var(--light-link); } :root[data-theme="light"] :is(.room-options-button,.room-settings-tools button,.module-link,.text-link,.panel-heading > a):hover { color:var(--light-link); text-decoration:underline; text-underline-offset:4px; }} body[data-section="home"] .homey-brand::before { display:none; } :root[data-theme="light"] body[data-section="home"] .homey-brand { color:#fff; text-shadow:0 2px 12px #0008; } :root[data-theme="light"] body[data-section="home"] .homey-brand small { color:#e2eaf0; text-shadow:inherit; } :root[data-theme="light"] body[data-section="home"] .icon-button { color:var(--text); text-shadow:none; } :root[data-theme="light"] body[data-section="home"] .icon-button svg { filter:none; } body[data-section="rooms"] .room-editor { --room-gap:9px; } body[data-section="rooms"] .room-editor-heading { padding:var(--room-gap); } body[data-section="rooms"] .room-editor-body { position:relative; padding:0 var(--room-gap) var(--room-gap); } body[data-section="rooms"] .room-page-layout, body[data-section="rooms"] .room-page-overview .room-device-tiles { gap:var(--room-gap); } body[data-section="rooms"] .room-editor-body .room-action-status { position:absolute; left:var(--room-gap); right:var(--room-gap); bottom:var(--room-gap); z-index:5; margin:0; height:18px; color:var(--red); background:var(--surface); border-radius:4px; padding:0 5px; } body[data-section="rooms"] .room-editor-body .room-action-status:empty { display:none; } :root body[data-section="home"] .icon-button, :root body[data-section="home"] .icon-button:hover { background:var(--nav-glass); -webkit-backdrop-filter:blur(16px) saturate(130%); backdrop-filter:blur(16px) saturate(130%); } body[data-section="rooms"] .room-climate-unit:only-of-type > .room-climate-name { display:none; } body[data-section="rooms"] .room-page-summary { min-height:0; } @container room-detail (min-width:801px) { body[data-section="rooms"] .room-page-summary { min-height:241px; }} :root[data-theme="light"] body[data-section="climate"] .heating-panel { background:#fff; } body[data-section="climate"] .heating-panel { padding:9px; } body[data-section="climate"] .heating-panel > .panel-heading { margin-bottom:9px; } body[data-section="climate"] .heating-grid { gap:9px; align-items:stretch; } body[data-section="climate"] .heating-room-heading { min-height:36px; margin-bottom:9px; } .room-glance-metric.is-window-open strong, .room-glance-metric.is-window-open .room-ui-icon { color:var(--red); } .room-editor-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:12px; row-gap:4px; } .room-heading-details { display:contents; } .room-editor-heading h3 { grid-column:1; grid-row:1; margin:0; align-self:center; } .room-heading-actions { grid-column:2; grid-row:1; } .room-editor-heading .room-heading-meta { grid-column:1 / -1; grid-row:2; min-height:16px; font-variant-numeric:tabular-nums; } :root[data-theme] body[data-section="home"] :is(.hero-status-row article,.hero-weather) { background:var(--nav-glass); -webkit-backdrop-filter:blur(16px) saturate(130%); backdrop-filter:blur(16px) saturate(130%); } .room-page-layout.room-information-hidden { grid-template-columns:minmax(0,1fr); } .room-information-hidden .room-device-tiles { position:static; } @container room-detail (min-width:801px) { .room-information-hidden .room-device-tiles { grid-template-rows:repeat(2,minmax(116px,auto)); } .room-information-hidden .room-device-tiles:has(> .room-no-items) { grid-template-rows:auto; }} .home-overview .home-room-tile { container:home-room / inline-size; } .home-overview .home-room-tile .room-glance-metric { container:room-metric / inline-size; } .home-overview .home-room-tile .room-glance-metric > strong { font-size:clamp(8px,20cqi,11px); white-space:nowrap; } .home-overview .home-room-tile .room-glance-metric > span { display:flex; flex-wrap:nowrap; white-space:nowrap; } .home-overview .home-room-tile .room-glance-metric .room-ui-icon { flex-basis:12px; } @container home-room (min-width:221px) { .home-overview .home-room-tile .room-glance-metric > span { font-size:11px; gap:4px; } .home-overview .home-room-tile .room-glance-metric > strong { font-size:12px; } .home-overview .home-room-tile .room-glance-metric .room-ui-icon { width:13px; height:13px; flex-basis:13px; }} .room-page-summary .room-climate .room-climate-unit { margin-inline:auto; } .profile-personal { display:grid; gap:var(--dashboard-gap); align-self:start; min-width:0; } #profile-network { scroll-margin-top:100px; min-width:0; } #profile-network .network { margin:0; container:profile-network / inline-size; } #profile-network .speed-metrics { gap:10px; } #profile-network .speed-metrics strong { font-size:clamp(16px,7cqi,22px); } .profile-name-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .profile-name-fields > div { display:grid; gap:8px; min-width:0; } .profile-card #profile-form { margin-top:0; } .profile-card .profile-identity { margin:4px 0 18px; } .profile-identity > div { min-width:0; } .profile-identity strong { overflow-wrap:anywhere; } .profile-card .profile-photo-button { position:relative; flex:0 0 88px; width:88px; height:88px; min-height:0; padding:0; border:0; border-radius:50%; background:transparent; color:var(--blue); } .profile-photo-badge { position:absolute; right:-1px; bottom:0; display:grid; place-items:center; width:28px; height:28px; border:2px solid var(--surface-2); border-radius:50%; background:var(--blue); color:white; } .profile-photo-badge svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round; } .profile-image-input { position:absolute; width:1px !important; height:1px; padding:0 !important; margin:-1px; border:0 !important; clip-path:inset(50%); overflow:hidden; } .profile-admin-options { display:grid; gap:8px; margin:12px 0; padding:14px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); } .profile-admin-options label { display:flex; align-items:center; gap:10px; line-height:1.5; } .profile-card .profile-admin-options input { width:18px; height:18px; flex:0 0 18px; padding:0; margin:0; accent-color:var(--blue); } .profile-admin-options a { font-size:12px; margin-left:28px; justify-self:start; } .profile-users-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; } .profile-users-heading h2 { margin:0; } .profile-card .profile-users-heading .room-options-button { border:0; background:transparent; padding:0; color:var(--muted); font-size:12px; } .profile-card .allowed-users .user-photo-button { flex:0 0 46px; width:46px; height:46px; min-height:0; padding:0; border:0; color:var(--blue); } .user-photo-button .profile-photo-badge { width:21px; height:21px; right:-3px; bottom:-2px; } .user-photo-button .profile-photo-badge svg { width:12px; height:12px; } .profile-user-dialog form { display:grid; gap:10px; } .profile-user-dialog label { font-size:13px; font-weight:650; } .profile-user-dialog input { min-width:0; width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px; background:var(--surface-soft); color:var(--text); font-size:16px; } .profile-user-dialog .profile-message { margin:0; min-height:22px; } .profile-photo-button:focus-visible { outline:2px solid var(--blue); outline-offset:4px; } @media(max-width:420px) { .profile-identity { gap:12px; } .profile-name-fields { gap:10px; } .profile-name-fields input { padding-inline:10px; } .profile-card .allowed-users button[data-revoke] { padding-inline:6px; }} .hero-greeting-name { display:inline-block; white-space:nowrap; } .profile-card .allowed-users button[data-manage-user] { color:var(--blue); } .profile-user-dialog .profile-remove-user { color:var(--red); margin-right:auto; } .profile-remove-confirm { margin-top:12px; padding:14px; border:1px solid var(--red); border-radius:10px; } .profile-remove-confirm[hidden], .profile-user-dialog button[hidden] { display:none; } .profile-remove-confirm > div { display:flex; justify-content:flex-end; gap:8px; } .profile-remove-confirm button { border:1px solid var(--line); border-radius:8px; padding:9px 12px; color:var(--text); background:var(--surface-soft); font-size:12px; } .profile-remove-confirm [data-remove-confirm] { background:var(--red); color:white; border-color:var(--red); } .profile-user-dialog .room-settings-body h2 { overflow-wrap:anywhere; } .profile-history-viewers { min-width:0; margin:0; padding:0; border:0; } .profile-history-viewers legend { margin:0 0 10px; padding:0; color:var(--text); font-size:13px; font-weight:650; } .profile-history-viewer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } .profile-history-viewer { display:flex; align-items:center; gap:9px; min-width:0; margin:0; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:var(--surface-soft); color:var(--text); font-size:13px; cursor:pointer; } .profile-history-viewer input[type=checkbox] { flex:0 0 18px; width:18px; height:18px; margin:0; padding:0; accent-color:var(--blue); cursor:pointer; } .profile-history-viewer > span { min-width:0; overflow-wrap:anywhere; } .profile-history-viewer small { display:block; margin-top:2px; color:var(--muted); font-size:10px; font-weight:400; } @media(max-width:420px) { .profile-card .allowed-users .admin-label { display:none; }} @media(max-width:980px) { .site-header #navigation[data-count="5"] { gap:4px; } .site-header #navigation[data-count="5"] a { flex:1 1 0; min-width:0; padding-inline:6px; justify-content:center; text-align:center; }} .hero-greeting { container-type:inline-size; } .hero-greeting-name[data-name-length="8"] { font-size:min(1em,12cqi); } .hero-greeting-name[data-name-length="9"] { font-size:min(1em,11cqi); } .hero-greeting-name[data-name-length="10"] { font-size:min(1em,10cqi); } .profile-card .profile-initials-link, .profile-user-dialog .profile-initials-link { display:inline-flex; align-items:center; min-height:28px; margin-top:4px; padding:0; border:0; border-radius:0; background:transparent; color:var(--muted); font-size:12px; } .profile-initials-link:hover { color:var(--blue); text-decoration:underline; text-underline-offset:3px; } .profile-initials-link:focus-visible { outline:2px solid var(--blue); outline-offset:3px; border-radius:2px; } .profile-manage-avatar-row { display:flex; align-items:center; gap:14px; margin-bottom:8px; } .profile-manage-avatar-row .profile-initials-link { margin-top:0; } .profile-layout { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:none; } .profile-layout-member { grid-template-columns:minmax(0,1fr); } @media(max-width:800px) { .profile-layout { grid-template-columns:minmax(0,1fr); }} .profile-user-name { display:flex; align-items:center; flex-wrap:wrap; gap:6px; } .profile-user-name strong { min-width:0; overflow-wrap:anywhere; } .profile-admin-pill { flex:none; display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; padding:2px 7px; background:var(--surface-soft); color:var(--blue); font-size:10px; font-weight:650; line-height:1.4; } .allowed-users .profile-last-viewed { display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 6px; font-size:11px; min-height:16px; } .profile-last-viewed > span, .profile-last-viewed time { white-space:nowrap; } .profile-role-control { display:grid; gap:6px; margin:6px 0; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); } .profile-card .profile-role-option { display:flex; align-items:center; gap:10px; line-height:1.5; } .profile-card .profile-role-option input { flex:0 0 18px; width:18px; height:18px; padding:0; margin:0; accent-color:var(--blue); } .profile-card .profile-role-control .profile-hint { margin:0 0 0 28px; } .profile-user-dialog .profile-role-option { display:flex; align-items:center; gap:10px; line-height:1.5; } .profile-user-dialog .profile-role-option input { flex:0 0 18px; width:18px; height:18px; padding:0; margin:0; accent-color:var(--blue); } .profile-user-dialog .profile-role-control .profile-hint { margin:0 0 0 28px; } .profile-card .profile-location-history-control .profile-hint, .profile-user-dialog .profile-location-history-control .profile-hint { margin:0; } @media(max-width:420px) { .allowed-users .profile-last-viewed { flex-direction:column; align-items:flex-start; gap:2px; min-height:32px; }} .profile-last-viewed time { white-space:normal; font-variant-numeric:tabular-nums; } .device-battery { display:inline-flex; align-items:center; gap:4px; flex:0 0 auto; font-size:11px; font-weight:600; line-height:16px; white-space:nowrap; font-variant-numeric:tabular-nums; } .device-battery .room-ui-icon { width:17px; height:17px; flex:0 0 17px; color:inherit; } .battery-critical { color:var(--red); } .battery-warning { color:var(--orange); } .battery-good { color:var(--green); } .battery-unknown { color:var(--muted); } .room-control-tile.has-battery :is(.room-tile-power,.room-tile-info) { padding-bottom:31px; } .room-control-tile > .device-battery { position:absolute; right:10px; bottom:8px; pointer-events:none; } .room-page-overview :is(.room-tile-power,.room-tile-info) { display:flex; flex-direction:column; align-items:flex-start; } .room-page-overview :is(.room-tile-power,.room-tile-info) > .room-ui-icon { flex-shrink:0; } .room-page-overview .room-tile-status { margin-top:auto; } .room-page-overview .room-control-tile.has-battery :is(.room-tile-power,.room-tile-info) { padding-bottom:12px; } .room-page-overview .room-control-tile.has-battery .room-tile-status { max-width:calc(100% - 58px); overflow-wrap:anywhere; } .room-battery-warning, .rooms-attention-warning { display:inline-flex; align-items:center; gap:6px; color:var(--red); font-size:11px; line-height:17px; white-space:nowrap; } .room-battery-warning.is-message, .rooms-attention-warning { gap:5px; white-space:normal; } .room-battery-warning.is-message > .room-ui-icon, .rooms-attention-warning > .room-ui-icon { width:17px; height:17px; flex:0 0 17px; color:inherit; } .room-battery-warning.is-message > span, .rooms-attention-warning > span { min-width:0; } .rooms-attention { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; margin:-12px 0 18px; } .rooms-attention[hidden] { display:none; } .rooms-attention .rooms-attention-warning { font-size:12px; line-height:18px; } .room-editor-heading .room-heading-meta { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; white-space:normal; } .home-room-tile > .room-battery-warning { display:flex; flex-wrap:wrap; margin:-9px 0 10px; white-space:normal; } .home-overview .home-room-tile > .room-battery-warning { margin:0 0 8px; } .room-settings-device-name { flex:1; } .room-settings-list label > .device-battery { overflow-wrap:normal; } @media (max-width:420px) { .room-settings-row label { gap:7px; padding:10px 7px; } .room-settings-row .device-battery { font-size:10px; gap:3px; }} .room-dial-label { inset:37px 0 auto; align-content:start; gap:2px; } .room-dial-label strong { font-size:24px; line-height:26px; } .room-dial-label small { line-height:14px; } .room-dial-svg[data-dial-off="true"] + .room-dial-label { top:43px; } .room-dial .room-dial-caption { position:absolute; inset-inline:0; bottom:9px; margin:0; font-size:11px; line-height:14px; } .room-heating-status { display:flex; align-items:center; justify-content:center; gap:5px; min-height:20px; margin-top:-6px; color:var(--muted); font-size:11px; line-height:16px; font-weight:500; } .room-heating-status[data-heating-status="heating"] { color:var(--blue); } .room-page-summary:has([data-heating-status="heating"]) [data-room-temperature-reading] > strong { color:var(--blue); } .home-room-tile [data-room-temperature-reading] > strong:has(.room-temperature-gas) { display:flex; align-items:center; gap:2px; } .home-room-tile [data-room-temperature-reading] > strong { line-height:1.35; min-height:1.35em; } .room-temperature-gas { display:flex; align-items:center; flex:0 0 clamp(8px,22cqi,12px); } .home-overview .home-room-tile .room-temperature-gas .room-ui-icon { width:clamp(8px,22cqi,12px); height:clamp(8px,22cqi,12px); flex-basis:auto; color:var(--blue); } .home-room-tile .room-temperature-value { font-size:clamp(6px,18cqi,12px); } .room-heating-status [data-heating-icon] { display:flex; align-items:center; } .room-heating-status [data-heating-icon][hidden] { display:none; } .room-heating-status .room-ui-icon { width:15px; height:15px; color:inherit; } .room-page-summary .room-climate h4 { margin-bottom:2px; } body:is([data-section="rooms"],[data-section="climate"]) .room-climate-unit:only-of-type > .room-climate-name { display:none; } body[data-section="climate"] .heating-room.room-page-summary { position:relative; min-height:0; } body[data-section="climate"] .heating-room .room-action-status { position:absolute; inset-inline:14px; bottom:14px; height:20px; margin:0; line-height:20px; color:var(--red); background:var(--surface-2); } body[data-section="climate"] .heating-room .room-action-status:empty { display:none; } #theme-toggle,#dashboard-reload {cursor:pointer} .theme-toggle > svg {width:19px;height:19px;color:inherit;pointer-events:none} .theme-save-status:empty {display:none} .theme-save-status {position:absolute;top:calc(100% + 5px);right:12px;max-width:min(320px,calc(100vw - 24px));font-size:12px;padding:10px 12px;border:1px solid var(--red);border-radius:8px;background:var(--surface);color:var(--text);z-index:30} #connection {cursor:pointer} #connection[hidden] {display:none} .connection-summary .connection-current-state {display:flex;align-items:center;gap:9px;font-size:15px;margin:0 0 22px;color:var(--text)} .connection-state-dot {width:9px;height:9px;flex:none;border-radius:50%;background:var(--red)} .connection-current-state.is-connected .connection-state-dot {background:var(--green)} .connection-summary h3 {font-size:14px;margin:0 0 10px} .connection-issues {margin:0;padding-left:19px;color:var(--text);font-size:13px;line-height:1.6} .connection-issues li {padding:0 0 12px;overflow-wrap:anywhere} .connection-issues li::marker {color:var(--red)} .connection-summary .connection-clear {font-size:13px;color:var(--muted);line-height:1.6} .weather-glance-hours a {cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-user-drag:none} .weather-glance-hours.is-weather-dragging {scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing} .weather-glance-hours.is-weather-dragging a {cursor:grabbing} .site-header a,.site-header a * {cursor:pointer} a[href],summary,select,input[type="checkbox"],input[type="radio"],input[type="range"]:not(:disabled),label:has(input[type="checkbox"]),label:has(input[type="radio"]),[role="button"]:not([aria-disabled="true"]),.ep-demand-hit {cursor:pointer} .room-options-button,.room-options-button * {cursor:pointer} button > svg {cursor:inherit} .room-settings-body #room-settings-content:is([aria-labelledby="room-home-tab"],[aria-labelledby="room-visible-tab"]) {padding-top:16px} [data-camera][data-camera-motion="detected"] [data-camera-status-text] {white-space:normal;overflow:visible;text-overflow:clip} .profile-notifications { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); } .profile-notifications-heading { display:flex; align-items:center; gap:9px; } .profile-notifications-heading h3 { font-size:15px; margin:0; } .profile-notifications-heading svg { width:19px; height:19px; fill:none; stroke:var(--blue); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; } .profile-card .profile-notifications p { margin:10px 0; font-size:12px; } .profile-card .profile-notifications .profile-notification-device { font-weight:600; color:var(--text); } .profile-notification-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 18px; } .profile-card .profile-notification-actions button { min-height:38px; padding:8px 11px; font-size:12px; cursor:pointer; } .profile-card .profile-notification-actions button[hidden] { display:none; } .profile-card .profile-notification-actions button:disabled { opacity:.55; cursor:default; } .profile-notification-preference { display:flex; align-items:flex-start; gap:10px; padding:13px; border:1px solid var(--line); background:var(--surface-soft); border-radius:10px; cursor:pointer; } .profile-card .profile-notification-preference input { flex:0 0 18px; width:18px; height:18px; margin:1px 0 0; padding:0; accent-color:var(--blue); } .profile-notification-preference span { min-width:0; display:grid; gap:4px; } .profile-notification-preference strong { font-size:13px; } .profile-notification-preference small { color:var(--muted); font-size:12px; line-height:1.5; font-weight:400; } .profile-notification-actions[hidden], .profile-notification-device[hidden] { display:none; } .home-overview-security > .rooms-panel { padding:var(--dashboard-gap); } .home-overview-security > .rooms-panel .panel-heading { min-height:24px; margin-bottom:var(--dashboard-gap); align-items:center; } .home-overview-left :is(.quick-actions-panel,.people-panel) { padding:var(--dashboard-gap); } .home-overview-left :is(.quick-actions-panel,.people-panel) .panel-heading { margin-bottom:var(--dashboard-gap); } .quick-actions-manage { border:0; padding:0; min-height:24px; background:transparent; color:var(--blue); font-size:11px; cursor:pointer; } .quick-actions-manage:hover { text-decoration:underline; text-underline-offset:3px; } .home-overview { --personal-tile-height:116px; } .home-overview-left :is(.quick-actions-panel,.people-panel) .panel-heading { min-height:24px; align-items:center; } .quick-actions-panel .room-device-tiles { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:repeat(2,var(--personal-tile-height)); gap:var(--dashboard-gap); padding:0; align-items:stretch; } .quick-actions-panel .room-control-tile, .quick-action-empty, .home-overview .people-grid .person-tile { height:var(--personal-tile-height); aspect-ratio:auto; min-width:0; min-height:0; border:1px solid var(--line); border-radius:9px; } .quick-actions-panel .room-tile-power, .quick-actions-panel .room-tile-info { min-height:0; height:100%; padding:8px; gap:3px; grid-template-rows:20px auto auto minmax(0,1fr); align-content:stretch; cursor:pointer; } .quick-actions-panel .room-tile-power > .room-ui-icon, .quick-actions-panel .room-tile-info > .room-ui-icon { width:20px; height:20px; } .quick-actions-panel :is(.room-tile-power,.room-tile-info) strong { font-size:11px; line-height:1.25; overflow:hidden; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; align-self:start; } .quick-actions-panel .room-tile-room { color:var(--muted); font-size:10px; line-height:1.2; overflow:hidden; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; } .quick-actions-panel .room-tile-status { align-self:end; font-size:10px; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .quick-action-empty { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; padding:8px; background:var(--surface-soft); color:var(--muted); cursor:pointer; font-size:11px; } .quick-action-empty > .room-ui-icon { width:22px; height:22px; color:var(--blue); } .quick-action-empty:hover, .quick-actions-panel .room-tile-info:hover { background:color-mix(in srgb,var(--blue) 9%,var(--surface-soft)); } .quick-actions-panel { position:relative; container:quick-actions / inline-size; } .quick-action-fixed button:disabled { cursor:default; opacity:.55; } .quick-actions-panel .quick-floor-button[aria-pressed="true"] { background:color-mix(in srgb,var(--blue) 14%,var(--surface-soft)); } .quick-floor-button[aria-pressed="true"] > .room-ui-icon, .quick-floor-button[aria-pressed="true"] > .room-tile-status { color:var(--blue); } .quick-actions-panel .quick-floor-state { white-space:normal; overflow-wrap:anywhere; } .quick-actions-panel .quick-floor-button:not(:disabled):hover { background:color-mix(in srgb,var(--blue) 18%,var(--surface-soft)); } .quick-action-bulk-status { position:absolute; z-index:5; left:12px; right:12px; bottom:8px; margin:0; padding:7px 9px; border:1px solid var(--red); border-radius:7px; background:var(--surface); color:var(--red); font-size:11px; line-height:1.4; } .quick-action-bulk-status[hidden] { display:none; } :root[data-theme] .quick-actions-panel .room-control-tile, :root[data-theme] .quick-actions-panel .room-control-tile:is(.is-on,:hover,:active,:focus-within) { border-color:var(--line); box-shadow:none; } .quick-actions-panel :is(.room-tile-power,.room-tile-info,.quick-action-empty):focus:not(:focus-visible) { outline:none; box-shadow:none; } .home-overview .people-grid { padding:0; text-align:left; grid-template-columns:repeat(2,minmax(0,1fr)); } .home-overview .people-grid.people-count-1 { grid-template-columns:minmax(0,1fr); } .home-overview .people-grid.people-count-5 {grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:calc((100% - var(--dashboard-gap)) / 2);gap:var(--dashboard-gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none} .home-overview .people-grid.people-count-5::-webkit-scrollbar {display:none} .home-overview .people-grid.people-count-5 > .person-tile {scroll-snap-align:start} .home-overview .people-grid.people-count-5 > :nth-child(1) {grid-column:1;grid-row:1} .home-overview .people-grid.people-count-5 > :nth-child(2) {grid-column:2;grid-row:1} .home-overview .people-grid.people-count-5 > :nth-child(3) {grid-column:1;grid-row:2} .home-overview .people-grid.people-count-5 > :nth-child(4) {grid-column:2;grid-row:2} .home-overview .people-grid.people-count-5 > :nth-child(5) {grid-column:3;grid-row:1} .home-overview .people-grid .person-tile { display:flex; flex-direction:column; align-items:stretch; height:auto; min-height:132px; padding:11px; gap:7px; container:occupant-card / inline-size; } .person-identity { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:6px; min-width:0; } .person-avatar-wrap { position:relative; display:grid; place-items:center; } .home-overview .people-grid .person-avatar { width:28px; height:28px; margin:0; font-size:12px; } .home-overview .person-identity > strong { font-size:12px; line-height:1.3; min-width:0; white-space:nowrap; overflow:hidden; overflow-wrap:normal; text-overflow:ellipsis; } .home-overview .person-identity > small { display:flex; align-items:center; gap:4px; width:auto; margin:0; color:var(--text); font-size:11px; line-height:1.3; white-space:nowrap; } .home-overview .person-identity > small b { width:6px; height:6px; margin:0; box-shadow:none; flex:0 0 6px; } .home-overview .person-tile.is-unknown small b { background:var(--muted); } .person-location-detail { display:flex; flex-direction:column; gap:3px; margin-top:0; } .person-location { display:flex; align-items:flex-start; gap:4px; min-height:2.9em; color:var(--muted); font-size:11px; line-height:1.35; overflow-wrap:anywhere; } .person-location > .person-address-lines { min-width:0; display:flex; flex-direction:column; gap:.2em; } .person-address-lines > span:first-child { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; } .person-town { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .person-location svg { width:12px; height:12px; flex:0 0 12px; margin-top:1px; } .person-distance { display:flex; align-items:center; gap:4px; min-height:20px; padding-left:16px; font-size:11px; line-height:1.4; color:var(--muted); } .person-home-detail { display:flex; align-items:center; gap:4px; min-height:20px; font-size:11px; line-height:1.4; color:var(--muted); } .person-home-detail svg { width:12px; height:12px; flex:0 0 12px; } .person-home-since { min-width:0; white-space:nowrap; } @container occupant-card (max-width:200px) { .person-home-since-date { display:none; }} @container occupant-card (max-width:125px) { .person-home-since { font-size:10px; }} .person-location svg,.person-home-detail svg { fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; } .person-batteries { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:auto; } .person-device-battery { min-width:0; display:inline-flex; align-items:center; gap:4px; font-size:11px; line-height:1.4; font-weight:400; white-space:nowrap; } .person-device-battery > svg { width:13px; height:13px; color:var(--muted); flex-shrink:0; } .person-battery-label { color:var(--muted); white-space:nowrap; } .person-battery-percent { font-variant-numeric:tabular-nums; white-space:nowrap; } .person-charging { display:inline-flex; align-items:center; color:inherit; } .person-charging > svg { width:13px; height:13px; flex-shrink:0; } @container quick-actions (max-width:380px) { .quick-actions-panel .room-device-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(4,var(--personal-tile-height)); }} @container occupants (max-width:400px) { .home-overview .person-identity { grid-template-columns:20px minmax(0,1fr) auto; gap:4px; } .home-overview .people-grid .person-avatar { width:20px; height:20px; font-size:10px; } .home-overview .person-identity > strong { font-size:11px; } .home-overview .person-identity > small { gap:3px; } .home-overview .people-grid .person-tile { padding:10px; }} @media(max-width:1100px) { .home-overview { grid-template-columns:minmax(0,1fr); } .home-overview-left, .home-overview-security { grid-column:1/-1; }} .climate-panel { container:home-climate / inline-size; padding:var(--dashboard-gap); } .climate-panel > .panel-heading { margin-bottom:var(--dashboard-gap); } .home-climate-rows { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--dashboard-gap); } .home-climate-row { display:flex; align-items:center; justify-content:space-between; gap:7px; min-width:0; min-height:64px; padding:8px; border:1px solid var(--line); border-radius:9px; background:var(--surface-soft); } .home-climate-copy { display:grid; gap:4px; min-width:0; } .home-climate-name { font-size:11px; line-height:1.3; min-height:28.6px; overflow-wrap:anywhere; } .home-climate-state { display:flex; align-items:center; gap:3px; min-height:14.3px; font-size:11px; line-height:1.3; color:var(--muted); } .home-climate-state > span { min-width:0; } .home-climate-state .room-ui-icon { width:12px; height:12px; flex:0 0 12px; color:var(--blue); } .home-climate-row[data-phase="heating"] .home-climate-state { color:var(--blue); } .home-climate-temperature { flex:0 0 auto; padding:4px 0; border-radius:6px; color:#f4f8fb; font-size:21px; line-height:1.15; letter-spacing:-.035em; font-variant-numeric:tabular-nums; white-space:nowrap; } :root[data-theme="light"] .home-climate-temperature { padding:4px; background:#223e50; } @container home-climate (max-width:340px) { .home-climate-row { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:7px 6px; gap:4px 5px; } .home-climate-copy { display:contents; } .home-climate-name { grid-column:1 / -1; } .home-climate-state { grid-column:1; grid-row:2; min-height:28.6px; } .home-climate-temperature { grid-column:2; grid-row:2; } .home-climate-temperature { font-size:17px; }} .security-panel { container:home-security / inline-size; padding:var(--dashboard-gap); } .security-panel > .panel-heading { margin-bottom:var(--dashboard-gap); } .security-sensors-panel { margin-top:var(--dashboard-gap); } .security-sensors-panel .home-security-rows { grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr)); } .home-security-group + .home-security-group { margin-top:15px; padding-top:14px; border-top:1px solid var(--line); } .home-security-group > h3 { display:flex; align-items:center; gap:6px; margin:0 0 9px; color:var(--muted); font-size:11px; font-weight:550; line-height:1.35; } .home-security-group > h3 .room-ui-icon { width:13px; height:13px; flex:0 0 13px; color:inherit; } .home-security-group > h3 > span { font-weight:450; font-variant-numeric:tabular-nums; } .home-security-group[data-sensor-group="active"] > h3 { color:var(--blue); } .home-security-group[data-sensor-group="unknown"] > h3 { color:var(--red); } .home-security-rows { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--dashboard-gap); } .home-security-row { display:flex; align-items:center; justify-content:space-between; gap:7px; min-width:0; min-height:64px; padding:8px; border:1px solid var(--line); border-radius:9px; background:var(--surface-soft); } .home-security-copy { display:grid; gap:5px; min-width:0; } .home-security-name { min-width:0; font-size:11px; line-height:1.35; font-weight:600; overflow-wrap:anywhere; } .home-security-type { display:flex; align-items:flex-start; gap:4px; min-width:0; color:var(--muted); font-size:11px; line-height:1.35; } .home-security-type > span { min-width:0; overflow-wrap:anywhere; } .home-security-type .room-ui-icon { width:13px; height:13px; flex:0 0 13px; color:inherit; } .home-security-state { flex:0 1 auto; min-width:0; max-width:12ch; text-align:right; color:var(--muted); font-size:11px; line-height:1.35; font-weight:550; white-space:normal; } .home-security-row[data-sensor-state="active"] .home-security-state, .home-security-row[data-sensor-state="active"] .home-security-type .room-ui-icon { color:var(--blue); } .home-security-row[data-sensor-state="unknown"] .home-security-state { color:var(--red); } .home-security-empty { display:flex; align-items:center; gap:7px; min-height:46px; margin:0; padding:9px; border-radius:9px; background:var(--surface-soft); color:var(--muted); font-size:11px; line-height:1.4; } .home-security-empty .room-ui-icon { width:15px; height:15px; flex:0 0 15px; color:inherit; } @container home-security (max-width:345px) { .home-security-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px; } .home-security-copy { display:contents; } .home-security-name { grid-column:1 / -1; } .home-security-type, .home-security-state { grid-column:1 / -1; } .home-security-state { max-width:none; text-align:left; }} @container home-security (max-width:290px) { .home-security-row { min-height:82px; }} .home-security-room-first .home-security-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; min-height:72px; padding:10px; } .home-security-room-first .home-security-copy { display:grid; gap:5px; } .home-security-room-first .home-security-name { grid-column:auto; font-size:13px; font-weight:650; overflow-wrap:break-word; } .home-security-room-first .home-security-type { grid-column:auto; align-items:center; gap:5px; font-size:12px; } .home-security-room-first .home-security-type > span { overflow-wrap:break-word; } .home-security-room-first .home-security-type .room-ui-icon { width:14px; height:14px; flex-basis:14px; color:var(--muted); } .home-security-room-first .home-security-row[data-sensor-state="active"] .home-security-type .room-ui-icon { color:var(--muted); } .home-security-room-first .home-security-state { display:inline-flex; grid-column:auto; justify-self:end; align-items:center; gap:5px; max-width:none; padding:3px 7px; border-radius:99px; color:var(--muted); background:color-mix(in srgb,var(--muted) 12%,var(--surface-soft)); font-size:11px; text-align:left; white-space:nowrap; } .home-security-room-first .home-security-state-dot { flex:0 0 5px; width:5px; height:5px; border-radius:50%; background:currentColor; } .home-security-room-first .home-security-row[data-sensor-state="active"] .home-security-state { color:var(--blue); background:color-mix(in srgb,var(--blue) 15%,var(--surface-soft)); } .home-security-room-first .home-security-row[data-sensor-state="unknown"] .home-security-state { color:var(--red); background:color-mix(in srgb,var(--red) 12%,var(--surface-soft)); } @container home-security (max-width:400px) { .home-security-room-first:not(.security-sensors-panel) .home-security-row { grid-template-columns:minmax(0,1fr); gap:8px; } .home-security-room-first:not(.security-sensors-panel) .home-security-state { justify-self:start; } } .camera-panel .camera-meta { align-items:center; gap:10px; font-size:11px; } .camera-meta > [data-camera-room] { min-width:0; overflow-wrap:break-word; } .camera-motion-pill { display:inline-flex; flex:0 0 auto; align-items:center; gap:5px; padding:3px 7px; border-radius:99px; color:var(--muted); background:color-mix(in srgb,var(--muted) 12%,var(--surface-soft)); font-size:11px; line-height:1.35; font-weight:550; white-space:nowrap; } .camera-motion-pill > i { width:5px; height:5px; flex:0 0 5px; border-radius:50%; background:currentColor; } [data-camera-motion="detected"] .camera-motion-pill { color:var(--blue); background:color-mix(in srgb,var(--blue) 15%,var(--surface-soft)); } [data-camera-motion="unavailable"] .camera-motion-pill { color:var(--red); background:color-mix(in srgb,var(--red) 12%,var(--surface-soft)); } @media(max-width:700px) { .hero-status-row { grid-template-columns:var(--compact-header-columns); overflow:visible; }} @media (min-width:601px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape) { .home-hero { min-height:0; padding-top:300px; } .hero-greeting { position:absolute; top:145px; left:var(--dashboard-inset); width:calc(100% - 2 * var(--dashboard-inset)); max-width:560px; padding-top:0; margin:0; } .hero-clock { display:none; } .hero-widget-layout { position:relative; inset:auto; margin:0 var(--dashboard-end-inset) var(--dashboard-gap) var(--dashboard-inset); grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,auto); align-items:stretch; } .hero-status-row { display:contents; } .hero-status-row > article { height:auto; align-self:stretch; } .hero-status-row > .security-status { grid-column:1; grid-row:1; } .hero-status-row > .hero-vehicle { grid-column:2; grid-row:1; } .hero-status-row > .hero-network { grid-column:1; grid-row:2; } .hero-status-row > .hero-octopus { grid-column:2; grid-row:2; min-height:0; } .hero-weather { display:flex; flex-direction:column; justify-content:flex-start; gap:var(--dashboard-gap); grid-column:3; grid-row:1 / span 2; align-self:stretch; justify-self:stretch; width:100%; } .hero-weather > :is(.weather-glance-heading,.weather-glance-main,.weather-glance-sun) { margin-top:0; margin-bottom:0; } .hero-status-row .hero-octopus .header-widget-link { grid-template-columns:39px minmax(0,1fr); column-gap:7px; row-gap:3px; padding:10px 12px; } .hero-status-row .hero-octopus .octopus-brand { display:contents; } .hero-status-row .hero-octopus .octopus-icon-slot { grid-column:1; grid-row:1 / span 2; align-self:center; } .hero-status-row .hero-octopus .octopus-brand > strong { grid-column:2; grid-row:1; } .hero-status-row .hero-octopus .octopus-reading { grid-column:2; grid-row:2; margin-left:0; } .hero-status-row .hero-octopus .octopus-reading > strong { font-size:28px; } .hero-status-row .hero-octopus .octopus-caption { grid-column:2; grid-row:3; padding-left:0; } } .home-overview .home-room-tile { display:flex; flex-direction:column; height:var(--personal-tile-height); gap:4px; padding:8px; color:var(--text); background:var(--surface-2); border-radius:10px; container:none; } .home-overview .home-room-title { display:flex; align-items:flex-start; min-height:30px; flex-shrink:0; gap:5px; margin:0; line-height:1.25; } .home-overview .home-room-title > .room-ui-icon { width:16px; height:16px; flex:0 0 16px; margin-top:1px; color:var(--muted); } .home-overview .home-room-title > strong { min-width:0; font-size:12px; font-weight:650; white-space:normal; overflow-wrap:anywhere; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; } .home-overview .home-room-title > .room-battery-warning { flex:0 0 13px; width:13px; margin:0; } .home-overview .home-room-title .room-battery-warning > span:first-child,.home-overview .home-room-title .device-battery > span { display:none; } .home-overview .home-room-title .device-battery { margin:0; } .home-overview .home-room-title .device-battery > .room-ui-icon { width:13px; height:13px; flex:0 0 13px; } .home-overview .home-room-temperature { display:grid; flex-shrink:0; grid-template-columns:16px minmax(0,1fr); column-gap:5px; align-items:center; } .home-overview .home-room-temperature > strong { grid-column:2; font-size:18px; font-weight:650; line-height:1.15; min-height:1.15em; white-space:nowrap; font-variant-numeric:tabular-nums; color:var(--text); } .home-overview .home-room-temperature .room-temperature-icon { grid-column:1; grid-row:1; display:flex; align-items:center; color:var(--muted); } .home-overview .home-room-temperature[data-temperature-tone="blue"] .room-temperature-icon { color:var(--room-temperature-blue); } .home-overview .home-room-temperature[data-temperature-tone="green"] .room-temperature-icon { color:var(--room-temperature-green); } .home-overview .home-room-temperature[data-temperature-tone="red"] .room-temperature-icon { color:var(--room-temperature-red); } .home-overview .home-room-temperature .room-temperature-icon .room-ui-icon { width:14px; height:14px; color:inherit; } .home-overview .home-room-readings { display:grid; flex-shrink:0; gap:3px; margin-top:auto; } .home-overview .home-room-reading { display:flex; align-items:center; gap:8px; min-width:0; color:var(--muted); font-size:12px; line-height:1.3; } .home-overview .home-room-reading > .room-ui-icon { width:13px; height:13px; flex:0 0 13px; color:var(--muted); } .home-overview .home-room-reading > span { min-width:0; overflow-wrap:anywhere; } .home-overview .home-room-reading > span.is-active { color:var(--blue); } @media (hover:hover) and (pointer:fine) { .home-overview a.home-room-tile:hover { background:var(--surface-soft); } :root[data-theme="light"] .home-overview a.home-room-tile:hover { background:var(--light-hover); } } .home-overview a.home-room-tile:active { background:var(--surface-soft); } @container room-widget (max-width:680px) { .home-overview .home-room-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } } .hero-status-row:has([data-home-energy]) > .hero-vehicle { align-self:end; } .hero-status-row article.hero-octopus[data-home-energy] { --home-energy-peak:#ab85f4; --home-energy-off:#27dcda; --home-energy-ev-peak:#fb69b8; --home-energy-ev-off:#5697f7; --home-energy-solar:#ffc246; position:relative; display:grid; grid-template-rows:29px minmax(0,1fr); gap:6px; box-sizing:border-box; container:home-energy / inline-size; align-self:end; height:var(--home-energy-height,163px); min-height:0; padding:12px; } :root[data-theme="light"] .hero-status-row article.hero-octopus[data-home-energy] { --home-energy-peak:#7652c6; --home-energy-off:#00a5ad; --home-energy-ev-peak:#ca3e8e; --home-energy-solar:#966000; } .hero-status-row [data-home-energy] span { margin:0; opacity:1; font:inherit; line-height:inherit; white-space:normal; } .hero-status-row [data-home-energy] .home-energy-view { position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%; min-height:0; padding:0; border:0; border-radius:inherit; background:transparent; cursor:pointer; } .hero-status-row [data-home-energy] :is(.home-energy-heading,.home-energy-body,.home-energy-breakdown) { position:relative; z-index:1; pointer-events:none; } .hero-status-row [data-home-energy] button { pointer-events:auto; cursor:pointer; } .hero-status-row [data-home-energy] .home-energy-view:active { background:rgba(120,175,220,.1); } @media(hover:hover) and (pointer:fine) { .hero-status-row [data-home-energy] .home-energy-view:hover { background:rgba(120,175,220,.1); } } .hero-status-row [data-home-energy] .home-energy-heading { display:grid; grid-template-columns:29px minmax(0,1fr) 52px; align-items:center; gap:7px; min-height:29px; } .hero-status-row [data-home-energy] .home-energy-heading > strong { min-width:0; font-size:13px; font-weight:700; line-height:1.25; overflow-wrap:break-word; } .hero-status-row [data-home-energy] .home-energy-logo { display:flex; align-items:center; justify-content:center; width:29px; height:29px; } .hero-status-row [data-home-energy] .home-energy-logo img { width:29px; height:29px; object-fit:contain; } .hero-status-row [data-home-energy] .home-energy-toggle { position:relative; padding:0; border:0; background:transparent; color:var(--blue); font-size:11px; font-weight:500; line-height:1.3; text-align:right; white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-toggle::before { content:""; position:absolute; inset:-14px 0; } .hero-status-row [data-home-energy] .home-energy-body { display:grid; grid-template-rows:minmax(0,1fr) auto; gap:6px; min-height:0; min-width:0; } .hero-status-row [data-home-energy] .home-energy-main { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:10px; min-height:0; } .hero-status-row [data-home-energy] .home-energy-power { display:grid; gap:2px; min-width:0; } .hero-status-row [data-home-energy] :is(.home-energy-power,.home-energy-breakdown-total) > strong { font-size:28px; font-weight:700; line-height:1.05; letter-spacing:-.035em; white-space:nowrap; font-variant-numeric:tabular-nums; } .hero-status-row [data-home-energy] strong small { color:var(--muted); font-size:11px; font-weight:400; letter-spacing:normal; } .hero-status-row [data-home-energy] .home-energy-power > span { color:var(--muted); font-size:11px; line-height:1.2; } .hero-status-row [data-home-energy] .home-energy-live-readings { display:grid; gap:6px; min-width:0; } .hero-status-row [data-home-energy] .home-energy-live-reading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px; min-width:0; font-size:11px; line-height:1.3; } .hero-status-row [data-home-energy] .home-energy-live-label { display:flex; align-items:center; gap:4px; min-width:0; color:var(--muted); white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-live-label > span { white-space:normal; } .hero-status-row [data-home-energy] .home-energy-live-label svg { width:12px; height:12px; flex:0 0 12px; } .hero-status-row [data-home-energy] .home-energy-live-reading > strong { font-size:13px; font-weight:650; line-height:1.2; white-space:nowrap; font-variant-numeric:tabular-nums; } .hero-status-row [data-home-energy] .home-energy-live-solar > strong,.hero-status-row [data-home-energy] .home-energy-live-solar svg { color:var(--home-energy-solar); } .hero-status-row [data-home-energy] .home-energy-live-grid > strong,.hero-status-row [data-home-energy] .home-energy-live-grid svg { color:var(--blue); } .hero-status-row [data-home-energy] .home-energy-live-reading[data-home-live-active="false"] > strong, .hero-status-row [data-home-energy] .home-energy-live-reading[data-home-live-active="false"] svg { color:var(--muted); } .hero-status-row [data-home-energy] .home-energy-daily { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding-top:6px; border-top:1px solid var(--line); } .hero-status-row [data-home-energy] .home-energy-today { display:grid; align-content:start; justify-items:start; gap:2px; min-width:0; } .hero-status-row [data-home-energy] .home-energy-today > span { display:flex; align-items:center; gap:4px; color:var(--muted); font-size:11px; line-height:1.2; white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-today > strong { color:var(--text); font-size:16px; font-weight:600; line-height:1.1; white-space:nowrap; font-variant-numeric:tabular-nums; } .hero-status-row [data-home-energy] .home-energy-generation-today { justify-items:end; text-align:right; } .hero-status-row [data-home-energy] .home-energy-generation-today svg { width:12px; height:12px; flex:0 0 12px; color:var(--home-energy-solar); } .hero-status-row [data-home-energy] .home-energy-breakdown { display:grid; align-content:start; gap:6px; min-width:0; min-height:0; } .hero-status-row [data-home-energy] .home-energy-breakdown-total { display:flex; justify-content:space-between; align-items:center; gap:6px; min-height:29px; } .hero-status-row [data-home-energy] .home-energy-breakdown-context { display:grid; justify-items:end; gap:2px; min-width:0; color:var(--muted); font-size:11px; line-height:1.3; text-align:right; white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-solar-today { display:flex; justify-content:flex-end; align-items:baseline; gap:5px; min-width:0; color:var(--muted); font-size:11px; line-height:1.3; white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-solar-today > span,.hero-status-row [data-home-energy] .home-energy-solar-today b { white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-solar-today b { width:auto; color:var(--text); font-size:11px; font-weight:500; line-height:1.3; text-align:inherit; font-variant-numeric:tabular-nums; } .hero-status-row [data-home-energy] .home-energy-rates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 12px; } .hero-status-row [data-home-energy] .home-energy-rate { display:grid; gap:2px; min-width:0; } .hero-status-row [data-home-energy] .home-energy-rate-label { display:flex; align-items:center; gap:4px; min-width:0; color:var(--muted); font-size:11px; line-height:1.2; } .hero-status-row [data-home-energy] .home-energy-rate-label > span { white-space:normal; } .hero-status-row [data-home-energy] .home-energy-rate-value { font-size:13px; line-height:1.15; white-space:nowrap; font-weight:500; font-variant-numeric:tabular-nums; } .hero-status-row [data-home-energy] .home-energy-rate-value small { font-size:11px; font-weight:400; } .hero-status-row [data-home-energy] .home-energy-swatch { display:block; width:5px; height:5px; flex:0 0 5px; border-radius:2px; background:var(--muted); } .hero-status-row [data-home-energy] .home-energy-swatch.peak { background:var(--home-energy-peak); } .hero-status-row [data-home-energy] .home-energy-swatch.off { background:var(--home-energy-off); } .hero-status-row [data-home-energy] .home-energy-swatch.ev-peak { background:var(--home-energy-ev-peak); } .hero-status-row [data-home-energy] .home-energy-swatch.ev-off { background:var(--home-energy-ev-off); } @container home-energy (max-width:245px) { .hero-status-row [data-home-energy] .home-energy-heading { grid-template-columns:24px minmax(0,1fr) 52px; gap:5px; } .hero-status-row [data-home-energy] .home-energy-heading > strong { font-size:12px; line-height:1.15; } .hero-status-row [data-home-energy] .home-energy-logo,.hero-status-row [data-home-energy] .home-energy-logo img { width:24px; height:24px; } .hero-status-row [data-home-energy] .home-energy-body { gap:4px; } .hero-status-row [data-home-energy] .home-energy-main { grid-template-columns:minmax(0,1fr); gap:4px; } .hero-status-row [data-home-energy] .home-energy-power { display:flex; align-items:baseline; gap:6px; } .hero-status-row [data-home-energy] .home-energy-power > strong { font-size:26px; } .hero-status-row [data-home-energy] .home-energy-live-readings { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; } .hero-status-row [data-home-energy] .home-energy-live-reading { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; align-items:start; gap:2px; } .hero-status-row [data-home-energy] .home-energy-live-reading > strong { font-size:12px; } .hero-status-row [data-home-energy] .home-energy-live-label { gap:3px; } .hero-status-row [data-home-energy] .home-energy-daily { gap:7px; padding-top:4px; } .hero-status-row [data-home-energy] .home-energy-today > strong { font-size:14px; } .hero-status-row [data-home-energy] .home-energy-breakdown-total > strong { font-size:24px; } .hero-status-row [data-home-energy] .home-energy-rates { grid-template-columns:minmax(0,1fr); gap:3px; } .hero-status-row [data-home-energy] .home-energy-rate { display:flex; align-items:baseline; justify-content:space-between; gap:6px; } .hero-status-row [data-home-energy] .home-energy-rate-label > span { white-space:nowrap; } .hero-status-row [data-home-energy] .home-energy-rate-value { font-size:12px; } .hero-status-row [data-home-energy] .home-energy-solar-day-word { display:none; } }
