.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#app .home-cover{width:100%;max-width:none;min-height:100dvh;height:100dvh;margin:0;padding:max(14px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:14px;background:radial-gradient(ellipse at 50% -15%,#1d3b3a70,transparent 65%),var(--bg,#0d1115);overflow:auto}
.cover-header{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:900px;min-height:48px;margin:0 auto;gap:18px}
.cover-logo{display:flex;justify-content:center;flex:1;min-width:0}.cover-logo .business-logo{width:min(180px,100%);height:46px;border:0;border-radius:0;background:none;font-size:40px;letter-spacing:-.04em}.cover-logo .business-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.cover-mini,.cover-add{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;min-height:40px;border:0;background:transparent;color:inherit;border-radius:12px;cursor:pointer}.cover-mini svg,.cover-add svg{width:21px;height:21px}.cover-mini:hover{background:#ffffff10}.cover-mini:focus-visible,.cover-service:focus-visible,.cover-add:focus-visible{outline:2px solid #6addb5;outline-offset:4px}
.cover-body{display:flex;flex-direction:column;justify-content:center;gap:20px;flex:1;min-height:min-content;width:100%;max-width:900px;margin:0 auto}
.cover-widgets{flex-shrink:0;display:grid;grid-template-columns:1fr;gap:12px;max-height:none;min-height:0}
.cover-weather{border-radius:24px;overflow:hidden;padding:15px 18px;color:#f6f9ff;display:flex;flex-direction:column;min-width:0;border:1px solid #ffffff0b;box-shadow:0 18px 48px #0002}
.cover-weather{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"heading heading" "reading summary" "reading meta";gap:0 12px;min-height:0;padding:10px 16px;background:radial-gradient(ellipse at 95% 0,#71a9c85c,transparent 65%),radial-gradient(ellipse at 5% 90%,#2d65804a,transparent 65%),linear-gradient(140deg,#173e58,#102438);position:relative}
.cover-weather:before{content:'';position:absolute;width:210px;height:210px;border-radius:50%;background:#bddaf616;filter:blur(28px);top:-90px;right:-90px;pointer-events:none}
.cover-weather header{grid-area:heading;margin-bottom:4px}
.cover-widgets header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;font-weight:650;min-height:30px}.cover-widgets header>span{display:flex;align-items:center;gap:10px;min-width:0}.cover-weather header>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cover-widgets header svg{width:18px;height:18px;flex-shrink:0}.cover-widgets header small{font-size:9px;letter-spacing:.14em;color:#a8bbc9}.cover-widgets .cover-mini{width:30px;min-height:30px;height:30px}
.weather-main{grid-area:reading;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:0}.weather-art{width:54px;max-width:none;filter:drop-shadow(0 10px 10px #00152930)}.weather-main strong{font-size:44px;font-weight:450;letter-spacing:-.06em;line-height:1}.weather-main small{font-size:12px;vertical-align:top;letter-spacing:0;margin-left:2px}.cover-weather p{grid-area:summary;align-self:end;font-size:12px;text-align:left;margin:0;line-height:1.4}.cover-widgets footer{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#adbdcb;font-size:10px;min-height:20px}.cover-weather footer{grid-area:meta;align-self:start;justify-content:flex-start;min-height:0;font-size:9px;line-height:1.4;margin-top:4px}
.cover-launcher{flex-shrink:0;width:100%;max-width:560px;align-self:center;display:grid;gap:18px}.cover-location{display:flex;align-items:center;gap:6px;padding:5px 7px 5px 14px;border:1px solid var(--line,#29343a);border-radius:16px;background:var(--card,#151c20);min-width:0}.cover-location label{display:flex;flex-shrink:0;align-items:center;justify-content:center;color:#6bddb6}.cover-client-logo .business-logo{width:42px;height:34px;min-width:0;border:0;border-radius:0;background:transparent;font-size:14px}.cover-client-logo .business-logo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.cover-location select{flex:1;min-width:0;width:0;min-height:42px;border:0;background:transparent;color:var(--ink,#fff);font:600 14px var(--sans,system-ui);padding:0 10px;outline-offset:-2px}.cover-location select option{background:var(--card,#151c20)}.cover-add{background:#6bddb616;color:#6bddb6;border:1px solid #6bddb621}.cover-services{display:flex;justify-content:center;gap:28px}.cover-service{height:88px;width:114px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:transparent;color:#9af3d3;box-shadow:none;cursor:pointer;transition:color .18s,transform .18s}.cover-service svg{width:56px;height:56px;filter:drop-shadow(0 4px 8px #69d9b122)}.cover-service:hover:not(:disabled){color:#d0ffef;transform:translateY(-2px)}.cover-service:disabled{background:transparent;color:#96a3ad3d;box-shadow:none;cursor:default}.cover-service:disabled svg{filter:none}
.home-preferences{max-height:90dvh;overflow:auto}.home-preferences label{display:grid;gap:6px;margin:12px 0;color:var(--ink)}.home-preferences input,.home-preferences select{min-width:0;width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--card-2);color:var(--ink)}.home-preferences small{display:block;color:var(--ink-faint);font-size:11px;line-height:1.5;margin:8px 0}.home-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-pref-actions{display:flex;justify-content:flex-end;gap:10px;margin:18px 0}
#app .audio-screen{width:100%;max-width:1120px;height:100dvh;min-height:0;display:flex;flex-direction:column;margin:0 auto;padding:0;overflow:hidden}.audio-route-header{display:flex;align-items:center;gap:14px;padding:18px 20px;flex-shrink:0}.audio-route-header h1{font-size:22px;margin:0 0 2px}.audio-route-header span{font-size:12px;color:var(--ink-faint)}#audio-panel{flex:1;min-height:0;border:0;width:100%;background:transparent;color-scheme:dark}html.light #audio-panel{color-scheme:light}
/* Final override: preserve four television proportions at every workspace size. */
#app .source-console .tv-compact-card{aspect-ratio:16/9;min-height:0;height:auto;padding:5px 6px;background:rgba(0,0,0,.46);border-radius:8px;display:flex;flex-direction:column;justify-content:center;gap:3px;overflow:hidden}
#app .source-console .tv-tile-label{font-size:11px;line-height:1.2}#app .source-console .tv-matrix-tag{font-size:9px;line-height:1.15}
/* Mobile defaults above; expand only when there is room for two widgets. */
@media(min-width:621px){#app .home-cover{gap:clamp(12px,3vh,28px);padding:clamp(12px,3vh,28px) max(20px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}.cover-header{min-height:56px}.cover-logo .business-logo{width:clamp(180px,24vw,240px);height:clamp(46px,7vh,70px)}.cover-body{gap:clamp(18px,4vh,36px)}.cover-widgets{grid-template-columns:1fr 1.15fr;gap:20px;max-height:340px;min-height:230px}.cover-weather{border-radius:28px;padding:22px}.cover-weather{display:flex;min-height:162px;gap:0}.cover-weather header{margin-bottom:0}.weather-main{min-height:80px;gap:16px;flex:1;justify-content:center}.weather-main strong{font-size:clamp(48px,5.5vw,76px)}.weather-art{width:100px;max-width:32%}.weather-main small{font-size:18px;margin-left:5px}.cover-weather p{font-size:13px;margin:4px 0 16px;text-align:center;align-self:auto}.cover-weather footer{font-size:10px;justify-content:center;min-height:20px;margin-top:0;align-self:auto}.cover-launcher{gap:24px}.cover-service{height:108px;width:132px}.cover-service svg{width:64px;height:64px}}
@media(max-height:740px) and (max-width:620px){#app .home-cover{gap:10px;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}.cover-header{min-height:42px}.cover-logo .business-logo{height:40px}.cover-body{gap:14px}.cover-widgets{gap:10px}.cover-weather{padding:10px 16px;border-radius:20px}.cover-weather{min-height:0}.cover-launcher{gap:13px}.cover-service{height:76px;width:106px}.cover-service svg{width:52px;height:52px}}
@media(max-height:620px) and (max-width:620px){.cover-body{gap:10px}.cover-widgets{gap:8px}.cover-launcher{gap:8px}.cover-service{height:68px}.cover-service svg{width:48px;height:48px}}
@media(max-height:560px) and (min-width:621px){.cover-widgets{min-height:200px}.cover-weather{padding:12px 20px}.cover-body{flex-direction:row;gap:24px}.cover-widgets{flex:1;grid-template-columns:1fr}.cover-launcher{width:40%}.cover-header{min-height:40px}.cover-logo .business-logo{height:40px}}
@media(prefers-reduced-motion:reduce){.cover-service{transition:none}}

.cover-wordmark{display:flex;align-items:center;gap:10px;font:800 40px/1 var(--sans);letter-spacing:-.04em}.cover-brand-bars{display:flex;height:22px;gap:2px}.cover-brand-bars i{width:5px;background:#53d8bb}.cover-brand-bars i:nth-child(2){background:#7da5ff}.cover-brand-bars i:nth-child(3){background:#d992e5}.cover-brand-bars i:nth-child(4){background:#ffc776}.cover-brand-bars i:nth-child(5){background:#ff8f86}

/* Audio uses its player controls as the heading; keep only compact back navigation. */
.audio-screen>.audio-route-header{padding:4px 16px;min-height:48px}
.cover-widgets footer:empty{display:none}
