/* Compact the workspace independently of browser zoom; keep the header readable. */
@media(min-width:1101px){
 body.startweb-home.desktop-fit #app{zoom:.75;min-height:133.333333vh}
 body.startweb-home.desktop-fit .scenic-header{zoom:1.333333333;min-height:max(220px,calc(var(--hero-height) * .75));padding:18px 24px;gap:12px 24px}
 body.startweb-home.desktop-fit .scenic-header .clock-text{font-size:44px}
 body.startweb-home.desktop-fit .scenic-header .status-text{font-size:22px}
 body.startweb-home.desktop-fit .scenic-header .topbar-subtitle{font-size:12px}
 body.startweb-home.desktop-fit .scenic-header .landscape-art{object-fit:cover}
}
/* Explicit contrast overrides for both themes. */
body .scenic-header .top-meta,body .scenic-header .moon-forecast-item{background:transparent!important;color:#eef4ff!important;border:0;box-shadow:none}
body .scenic-header .moon-forecast-label,body .scenic-header .moon-forecast-phase{color:#e2edfb!important;font-size:11px}
body .scenic-header .topbar-meta-stack{justify-content:flex-start}
body .scenic-header .moon-forecast-text{background:transparent}
body .scenic-header .topbar-right button{color:#fff!important;background:#142c46c9!important;border:1px solid #ffffff36}
body .scenic-header .topbar-right #desktopFitBtn[aria-pressed=true]{background:#2168a6df!important;border-color:#84caff}
body .search-dock .metric-card{border-radius:0;background:transparent!important;color:var(--text);box-shadow:none}
@media(max-width:1100px){#desktopFitBtn{display:none}}
/* 2.6.3: two-row header, approximately one fifth of the desktop viewport. */
@media(min-width:1101px){
 body.startweb-home .topbar.scenic-header{grid-template-columns:minmax(280px,1.15fr) minmax(230px,1fr) minmax(210px,.85fr);grid-template-areas:"brand tools tools" "main moon weather";grid-template-rows:auto 1fr;min-height:clamp(176px,20vh,240px);padding:12px 22px;gap:8px 20px;align-items:center}
 body.startweb-home .topbar.scenic-header .topbar-left h1{font-size:22px;margin:0 0 5px}
 body.startweb-home .topbar.scenic-header .topbar-subtitle{font-size:11px;line-height:1.35}
 body.startweb-home .topbar.scenic-header .topbar-right{max-width:none;gap:5px;align-self:start}
 body.startweb-home .topbar.scenic-header .topbar-right button{font-size:11px;min-height:30px;padding:7px 10px}
 body.startweb-home .topbar.scenic-header .hero-head{gap:4px;align-self:center}
 body.startweb-home .topbar.scenic-header .status-text{font-size:19px;line-height:1.15}
 body.startweb-home .topbar.scenic-header .quote-text{font-size:11px;margin-top:3px;line-height:1.3}
 body.startweb-home .topbar.scenic-header .date-text{font-size:11px;margin-top:3px;line-height:1.3}
 body.startweb-home .topbar.scenic-header .clock-text{font-size:34px;line-height:1.1}
 body.startweb-home .topbar.scenic-header .topbar-meta-stack{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;justify-content:center;align-items:center;gap:16px;align-self:center;margin:0}
 body.startweb-home .topbar.scenic-header .top-meta{display:flex;flex-direction:column;gap:6px;max-width:115px;text-align:center;font-size:11px;line-height:1.25}
 body.startweb-home .topbar.scenic-header .moon-forecast{display:flex;gap:16px}
 body.startweb-home .topbar.scenic-header .moon-forecast-item{display:flex;flex-direction:column;gap:6px;text-align:center;max-width:105px}
 body.startweb-home .topbar.scenic-header .moon-forecast-text{display:flex;flex-direction:column;gap:2px}
 body.startweb-home .topbar.scenic-header .landscape-info{padding:10px 14px;gap:5px}
 body.startweb-home .topbar.scenic-header #landscapeWeather{font-size:14px}
}
body.startweb-home .topbar.scenic-header .moon-img,body.startweb-home .topbar.scenic-header .moon-forecast-img{width:36px;height:36px;min-width:36px;object-fit:contain;filter:drop-shadow(0 2px 5px #0005)}
