/* Home composition. Shared controls live in ilma-raam.css. */
#weather-page .readout{--readout-temp-size:clamp(112px,12vw,150px);max-width:480px}
#weather-page .forecast-location{justify-content:flex-start;gap:4px;margin-bottom:18px}
#weather-page .forecast-location h1{flex:1;margin:0;min-width:0;font-size:20px;font-weight:500;letter-spacing:0}
#weather-page .forecast-location .ilma-location-control{width:100%;min-height:52px;padding:10px 16px;border-color:color-mix(in srgb,currentColor 32%,transparent);border-radius:12px;font-size:20px;font-weight:500;letter-spacing:-.02em;gap:12px}
#weather-page .forecast-location .ilma-location-control svg{width:20px;height:20px}
#weather-page .forecast-temperature{font-weight:450;letter-spacing:-.065em;line-height:1;margin:0 0 10px;padding:0;min-height:0}
#weather-page .forecast-state{font-size:22px;line-height:1.3;font-weight:400;letter-spacing:-.025em;margin:0}
#weather-page .readout-meta{font-size:16px;font-weight:400;line-height:1.4;gap:8px 18px;margin:14px 0 0}
#weather-page .readout-meta :is(time,span){font-weight:400}
#weather-page .forecast-source{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin-top:18px;font-size:14px;font-weight:400}
#weather-page .forecast-source>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#weather-page .forecast-source-field{width:auto;min-width:0;max-width:calc(100% - 46px)}
#weather-page .forecast-source select{width:100%;max-width:100%;min-height:40px;padding:8px 42px 8px 12px;background:transparent;color:inherit;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:8px;font-size:14px;font-weight:400;backdrop-filter:none}
#weather-page .forecast-source-field>svg{right:14px;width:15px;height:15px}
#weather-page .forecast-source .ilma-info-button{width:40px;height:40px;min-width:40px;opacity:.8}
#weather-page .source-status:empty,#weather-page .location-feedback:empty{display:none}
#weather-page .week{border:0;padding-top:12px}
#weather-page .forecast-strip-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
#weather-page .forecast-strip-heading>a{font-size:14px;font-weight:400;opacity:.8;padding:10px 0;display:inline-flex;align-items:center;gap:5px}
#weather-page .forecast-strip-heading>a svg{width:16px;height:16px}
.hero-period-panels{min-height:170px;position:relative}
#weather-page .hours{padding-bottom:8px}
#weather-page .hour{font-weight:400}
#weather-page .hour :is(strong,.ilma-hour-temperature){font-weight:500}
#hero-days .hero-day{flex:0 0 110px;min-height:154px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px 8px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;font-size:16px;font-weight:400;cursor:pointer}
#hero-days .hero-day[aria-pressed=true]{background:color-mix(in srgb,currentColor 14%,transparent);border-color:color-mix(in srgb,currentColor 26%,transparent)}
#hero-days .hero-day small{font-size:13px;opacity:.8}
#hero-days .hero-day strong{font-size:22px;font-weight:500}
#hero-days .hero-day svg{width:32px;height:32px}
.forecast-quick-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:1200px;margin:0 auto;padding:18px var(--shell-gutter);border-bottom:1px solid #e5e5e5;background:#fff;color:#132d42}
.forecast-quick-nav a{justify-content:center;gap:12px;padding:14px 10px;min-height:64px;font-size:18px;font-weight:400;line-height:1.35}
.forecast-quick-nav svg{width:26px;height:26px;flex:none}
#place-sheet.ilma-fullscreen{position:fixed;inset:0;translate:none;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:#fff;color:#171717;overflow:auto}
#place-sheet .ilma-fullscreen-header{position:sticky;top:0;padding:18px max(24px,calc((100% - 1000px)/2));border-bottom:1px solid #e7e7e7;background:#fff;z-index:3}
#place-sheet .ilma-fullscreen-header h2{font-size:26px;letter-spacing:-.035em;font-weight:500;margin:0}
#place-sheet .place-search-content{display:block;max-width:1048px;padding:24px;margin:0 auto}
#place-sheet .place-controls{top:82px;background:#fff;padding-bottom:12px;z-index:2}
#place-sheet .ilma-location-search{border:1px solid #ccc;border-radius:12px;padding:4px 12px;background:#fff;min-height:58px}
#place-sheet .ilma-location-search input{font-size:18px;font-weight:400;min-height:48px;padding:8px;background:transparent}
#place-sheet .place-navigation{margin-block:16px 0;gap:12px}
#place-sheet .place-filters button{font-size:15px;font-weight:400;min-height:44px}
#place-sheet .sheet-list{padding-bottom:max(40px,env(safe-area-inset-bottom))}
#place-sheet .sheet-list h3{font-size:18px;font-weight:500;margin:28px 0 12px}
#place-sheet .place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
#place-sheet .quick-places{background:transparent;padding:0;border:0}
#place-sheet .place-row{border-bottom:1px solid #eee;min-height:80px}
#place-sheet .place-select{min-width:0;gap:12px;padding:14px 2px;align-items:center;text-align:left;font-size:18px;font-weight:400;background:transparent}
#place-sheet .place-select>span:first-child{min-width:0;flex:1}
#place-sheet .place-select small{display:block;font-size:13px;font-weight:400;color:#666;line-height:1.4;margin-top:4px}
#place-sheet .place-weather{display:grid;grid-template-columns:28px auto;align-items:center;gap:0 6px;flex:none;font-size:20px;line-height:1.2}
#place-sheet .place-weather svg{width:28px;height:28px;grid-row:1/3}
#place-sheet .place-weather .place-weather-wind{grid-column:2;margin:3px 0 0;font-size:12px;white-space:nowrap}
#place-sheet .place-select[aria-busy=true]{opacity:.55}
#place-sheet .favorites-status:not(:empty){font-size:15px;line-height:1.5;margin:12px 0 0}
@media(prefers-reduced-motion:no-preference){#place-sheet[open]{animation:ilma-dialog-arrive 180ms ease-out}.forecast-quick-nav a{transition:background 180ms ease}.forecast-quick-nav a:hover{background:#f4f4f4;text-decoration:none}}
@media(max-width:760px){
 #weather-page .player{padding-inline:20px;padding-bottom:20px}
 #weather-page .stage{padding-block:24px;gap:0}
 #weather-page .readout{--readout-temp-size:112px;max-width:390px;margin:0}
 #weather-page .forecast-location{margin-bottom:22px}
 #weather-page .forecast-location .ilma-location-control{font-size:18px;padding-inline:12px}
 #weather-page .forecast-state{font-size:20px}
 #weather-page .readout-meta{font-size:15px;margin-top:12px}
 #weather-page .forecast-source{margin-top:16px}
 .horizon-home #weather-page .stage{min-height:370px;padding-top:24px}
 .horizon-home #weather-page .player{min-height:calc(650px + var(--shell-height))}
 #weather-page .horizon-current-icon{width:88px;height:88px;top:8px;right:14px;left:auto}
 #weather-page [data-horizon-range=true] .forecast-temperature{font-size:64px}
 #weather-page .forecast-strip-heading{margin-bottom:12px}
 .ilma-segmented [role=tab]{padding-inline:18px}
 .forecast-quick-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 16px}
 .forecast-quick-nav a{justify-content:flex-start;gap:10px;padding:12px 6px;font-size:17px;min-height:64px}
 #place-sheet .ilma-fullscreen-header{padding:16px 20px}
 #place-sheet .ilma-fullscreen-header h2{font-size:24px}
 #place-sheet .place-search-content{padding:20px}
 #place-sheet .place-controls{top:77px}
 #place-sheet .place-grid{grid-template-columns:1fr}
 #place-sheet .ilma-location-search input{font-size:16px;min-width:0}
}
@media(max-width:360px){#weather-page .player{padding-inline:16px}.forecast-quick-nav a{font-size:15px}.forecast-quick-nav svg{width:24px;height:24px}#weather-page .forecast-strip-heading>a{font-size:12px}.ilma-segmented [role=tab]{padding-inline:14px}#place-sheet .place-search-content{padding:16px}}
@media print{.hero-period-panels,.forecast-strip-heading{display:none!important}}

#weather-page [hidden]{display:none!important}
#weather-page .forecast-quick-nav{display:grid}
[data-visual-theme=horisont] #hero-days .hero-day[aria-pressed=true]{background:#ffffff24;color:#fff;box-shadow:none;border-color:#ffffff48}
#weather-page .readout-meta{min-height:22px}
#place-sheet .ilma-location-search input[type=search]{border:0;outline:0;padding:8px 40px 8px 34px;min-height:48px;background:transparent}
#place-sheet .ilma-location-search:focus-within{outline:2px solid #171717;outline-offset:3px}
#place-sheet .place-select[aria-current=location]{box-shadow:none;padding-inline-start:2px}
#place-sheet .quick-places .place-row{background:transparent;border-bottom:1px solid #eee;border-radius:0;padding:0}
#place-sheet .sheet-list a.ilma-meta{display:inline-block;min-height:0;padding:8px 0;font-size:13px;line-height:1.4;color:#666;border:0;text-decoration:underline;text-underline-offset:3px}
#weather-page .player{--ilma-segment-selected:#191919;--ilma-segment-ink:#fff}
[data-visual-theme=horisont] #weather-page .player{--ilma-segment-selected:#fff;--ilma-segment-ink:#132d42}
/* Reserve the reading's space so day/hour crossfades never move the strip. */
#weather-page .readout-content{min-height:260px}
@media(max-width:760px){#weather-page .readout-content{min-height:220px}}

/* No matched station-verification module for coordinate forecasts. */
#weather-page[data-dynamic-place=true] .verification-module{display:none}

/* MET interval and local-clock coverage; existing visual themes preserved. */
#weather-page[data-forecast-source="met-norway"] :is(#hero-hours-panel,#hero-days-panel){min-height:220px}
#weather-page .hour-now{gap:8px}
#weather-page .hour-now-time{font-size:var(--ilma-text-meta);font-weight:400;font-variant-numeric:tabular-nums;opacity:.8}
