@import url('typography.css?v=20260923-type-1');
@import url('fonts/source-sans-pro/font.css?v=20260923-type-1');
:root { --page-background: #f2f2f2; --content-background: #fdfdfd; color-scheme: light; font-family:Source Sans Pro, Arial, sans-serif; color: #000; background: var(--page-background); }
* { box-sizing: border-box; }
body { margin: 0; font-size: 13px; }
body.seasonal-background { isolation: isolate; min-height: 100vh; }
body.seasonal-background::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(243, 245, 248, .80), rgba(235, 239, 243, .80)), var(--season-background-image) center / cover no-repeat; }
/* Use normal background painting on touch devices instead of a fixed negative
   compositing layer that must be rerasterized while pinching the page. */
@media (pointer: coarse) {
  body.seasonal-background { isolation: auto; background-color: var(--page-background); background-image: linear-gradient(180deg, rgba(243, 245, 248, .80), rgba(235, 239, 243, .80)), var(--season-background-image); background-position: top center; background-size: 100% 100vh, auto 100vh; background-repeat: no-repeat; }
  body.seasonal-background::before { content: none; }
}
a { color: #184df7; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2475d8; outline-offset: 3px; }
.site { width: min(var(--design-width), calc(100% - 30px)); margin: 15px auto; background: var(--content-background); position: relative; }
@media (min-width: 992px) and (pointer: fine) {
  body:not(.editor-preview) #app > .site { max-width: calc(100vw - 208px); }
}
.masthead { height: 125px; background-color: #303a39; background-size: cover; background-position: center 45%; background-repeat: no-repeat; position: relative; }
@media (min-width: 1025px) {
  .site { border-radius: 10px; }
  .site > .masthead { border-radius: 10px 10px 0 0; }
}
.share-button { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(189, 205, 222, .82); border-radius: 999px; background: rgba(255, 255, 255, .72); color: #1f5f99; cursor: pointer; box-shadow: 0 3px 10px rgba(15, 23, 42, .1); transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.share-button:hover { background: #fff; border-color: rgba(31, 95, 153, .72); color: #174d7e; box-shadow: 0 8px 18px rgba(15, 23, 42, .17), 0 0 0 4px rgba(31, 95, 153, .12); transform: translateY(-2px) scale(1.1); }
.share-button:active { background: #e6f1fb; box-shadow: 0 2px 6px rgba(15, 23, 42, .16), 0 0 0 2px rgba(31, 95, 153, .16); transform: translateY(1px) scale(.9); }
.share-button:focus-visible { outline: 2px solid #3498db; outline-offset: 2px; }
.share-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .share-button { transition: none; }.share-button:hover, .share-button:active { transform: none; } }
.share-dialog { width: min(440px, calc(100% - 32px)); border: 1px solid #cbd9dd; border-radius: 16px; padding: 24px; box-shadow: 0 15px 60px #0003; }
.share-dialog::backdrop { background: #18303a77; } .share-dialog label, .share-dialog input { display: block; width: 100%; } .share-dialog input { margin: 8px 0 16px; padding: 12px; font-size: 16px; }
.share-dialog button { padding: 10px 14px; margin-right: 8px; border: 1px solid #b9ced4; border-radius: 8px; background: #edf6fa; }
.masthead > a { position: relative; top: 8px; display: inline-block; width: 160px; height: 67px; overflow: hidden; vertical-align: top; margin-left: 26px; }
.masthead img { display: block; }
/* Center the square Wetterpuls artwork within the wide header slot. */
.masthead > a img { position: absolute; inset: -37% 0 auto; width: 100%; height: 174%; object-fit: contain; }
@media (max-width: 1024px) { .masthead > a { width: 150px; height: 63px; } }
.navigation { position: absolute; inset: auto 0 0; z-index: 20; background: #fff; color: #000; box-shadow: inset 0 -1px #d9dfe3; }
.navigation ul { list-style: none; padding: 0; margin: 0; }
.navigation .nav-bar { display: flex; flex-wrap: nowrap; gap: 0; padding: 0; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 12px; }
.nav-bar::-webkit-scrollbar { display: none; }
.nav-item { min-width: 0; flex: 0 0 auto; }
.nav-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 11px; border: 0; border-radius: 0; background: transparent; color: #000; font: 700 13px/1.4 Source Sans Pro, Arial, sans-serif; text-decoration: none; text-shadow: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.nav-trigger::before { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: #f07800; pointer-events: none; transform: scaleX(0); transform-origin: left center; transition: transform .22s ease-out; }
.nav-trigger[aria-expanded]::after { content: ''; flex: 0 0 6px; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-label { position: relative; }
.nav-home-label { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.nav-home-label svg { display: block; width: 22px; height: 22px; }
.nav-home-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-trigger[aria-current=page]::before, .nav-trigger:focus-visible::before, .nav-trigger[aria-expanded=true]::before { transform: scaleX(1); }
.navigation:has(.nav-trigger:is([aria-expanded=true], :focus-visible)) .nav-trigger[aria-current=page]:not([aria-expanded=true]):not(:focus-visible)::before { transform: scaleX(0); transition: none; }
@media (hover: hover) {
  .nav-trigger:hover::before { transform: scaleX(1); }
  .navigation:has(.nav-trigger:hover) .nav-trigger:not(:hover)::before { transform: scaleX(0); transition: none; }
}
.nav-trigger:active::before { transform: scaleX(1); }
.nav-trigger:focus-visible { outline: 2px solid #2475d8; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .nav-trigger, .nav-trigger::before { transition: none; } }
.navigation.more-left .nav-bar { margin-left: 32px; }
.navigation.more-right .nav-bar { margin-right: 32px; }
.nav-scroll { position: absolute; top: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #f07800; cursor: pointer; }
.nav-scroll[hidden] { display: none; }
.nav-scroll-left { left: 0; }
.nav-scroll-right { right: 0; }
.nav-scroll svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-scroll:hover { background: #f07800; color: #fff; }
.nav-scroll:focus-visible { outline: 2px solid #2475d8; outline-offset: -3px; }
.menu-panel { position: absolute; left: 0; top: 100%; width: min(var(--menu-width, 839px), 100%); max-height: min(680px, 75vh); overflow: auto; padding: 12px; background: #fff; border: 1px solid #cdd3d9; border-radius: 0 0 8px 8px; box-shadow: 0 8px 20px #2534431a; color: #30363c; font-family:Source Sans Pro, Arial, sans-serif; font-weight: 400; }
.menu-panel input { width: 100%; padding: 10px 12px; border: 1px solid #c4d3dc; border-radius: 8px; background: #fff; color: #000; margin-bottom: 8px; }
.menu-search-row { display: flex; gap: 8px; margin-bottom: 8px; }
.menu-search-row input { flex: 1; min-width: 0; margin-bottom: 0; }
.menu-sort { flex: 0 0 auto; min-width: 54px; min-height: 36px; padding: 0 9px; border: 1px solid #c4d3dc; border-radius: 8px; background: #fff; color: #000; font: inherit; font-size: 14px; }
.menu-sort:hover { background: #edf3f7; }
.menu-sort:focus-visible { outline: 2px solid #2475d8; outline-offset: 2px; }
.menu-sort[data-sort="gps"] { background:#1768ad; color:#fff; border-color:#1768ad; }
.home-layout[data-project-theme=dark] .menu-sort { background: #18252f; color: #e3eaf0; border-color: #526574; }
.home-layout[data-project-theme=dark] .menu-sort:hover { background: #374e5e; color: #fff; }
.home-layout[data-project-theme=dark] .menu-sort[data-sort="gps"] { background:#286dab; color:#fff; border-color:#83b5e0; }
.menu-tree summary, .menu-tree a, .menu-results a, .menu-label { display: block; padding: 8px 10px; border-radius: 0; color: #000; text-decoration: none; }
.menu-tree summary { display: list-item; list-style-position: inside; }
.menu-tree summary:hover, .menu-tree a:hover, .menu-results a:hover { background: #333; color: #fff; }
.menu-tree ul { margin-left: 16px; border-left: 1px solid #ccc; }
.hero { height: 379px; position: relative; background-position: center 55%; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(20, 30, 25, .48)); pointer-events: none; }
.hero h1 { position: absolute; bottom: 10px; right: 32px; margin: 0; color: #f5f5f1; font: 900 28px 'Arial Black', Arial, sans-serif; white-space: nowrap; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.weather-map { width: 100%; height: 608px; display: block; border: 0; background: var(--content-background); }
.home-grid { display: grid; grid-template-columns: minmax(0, 568px) minmax(0, 269px); gap: 2px; }
.social-toolbar { height: 65px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; background: #fff; }
.social-toolbar a { flex-shrink: 0; }
.social-toolbar img { display: block; max-width: 100%; object-fit: contain; }
.clock { display: block; box-sizing: content-box; margin-right: auto; width: 140px; height: 58px; flex: 0 0 140px; border: 1px solid #cbd8df; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(31, 65, 85, .1); }
.station-row { height: calc(41px * var(--row-scale, 1)); position: relative; overflow: hidden; }
.station-row iframe { width: 567px; height: 40px; border: 0; transform: scale(var(--row-scale, 1)); transform-origin: top left; display: block; background: #fff; }
.station-row iframe.station-weather-loading { visibility: hidden; }
.station-link { position: absolute; inset: 0 0 1px; display: block; z-index: 1; }
.station-link:hover { background: #0001; }
.station-row.stale .station-link { background: #dc354599; }
.station-row.stale::after { content: 'Daten älter als 60 Minuten'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; z-index: 2; pointer-events: none; }
.sidebar { background: #fff; align-self: start; }
.station-column { align-self: start; }
.sidebar > a > img { width: 100%; height: auto; display: block; }
.sidebar iframe { width: 100%; border: none; display: block; }
.ranking { margin-top: 23px; height: 750px; }
.sidebar > a:last-child { display: block; padding: 10px; }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 14px 10px; padding: 20px 8px 12px; }
.partners img { object-fit: contain; display: block; }
.page-canvas { position: relative; overflow: hidden; }
.page-scene { position: absolute; transform-origin: top left; left: 0; }
.page-scene iframe { box-sizing: content-box; }
.positioned { position: absolute; border: none; }
.overview-heading, .overview-block h2, .editorial-heading, .responsive-page h2.editorial-description { display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 10px; border: 1px solid #cdd3d9; border-radius: 8px; background: #f4f5f6; box-shadow: none; color: #b95000; font: 600 13px/1.4 Source Sans Pro, Arial, sans-serif; white-space: nowrap; }
.text-left, .text-right, .text-center, .text-justify, .text-block { position: absolute; white-space: pre; }
.text-right { text-align: right; }.text-center { text-align: center; }.text-justify { text-align: justify; }
.bold { font-weight: bold; }.inline { display: inline-block; }.rollover { display: none; }
.webcam-container a { cursor: zoom-in; }
.webcam-container img { display: block; border-radius: 0; object-fit: contain; }
.lightbox { padding: 40px 12px 12px; border: 0; background: #111e; max-width: 98vw; max-height: 98vh; }
.lightbox::backdrop { background: #000d; }
.lightbox img { display: block; max-width: 90vw; max-height: 85vh; object-fit: contain; cursor: zoom-in; }
.lightbox img.enlarged { max-width: none; max-height: none; cursor: zoom-out; }
.lightbox-close { position: fixed; right: 25px; top: 15px; border: 0; font-size: 36px; background: #fff; color: #111; border-radius: 4px; z-index: 2; }
.notice, .custom-station { padding: 25px; }
.custom-station iframe { display: block; max-width: 100%; border: 0; }
.custom-station a { display: block; padding: 10px 0; }
.overview-webcams { max-width: 1320px; margin: auto; } .station-webcam { margin: 0 0 24px; }
.managed-overview .webcam-container { border: 8px solid #e8e8e8; border-radius: 8px; overflow: hidden; background: #fff; }
.managed-overview .webcam-container a { padding: 0; } .managed-overview .webcam-container img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.station-webcam figcaption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 8px; }
.timelapse-button, .custom-station .timelapse-button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 300px; max-width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid #c4d3dc; border-radius: 12px; background: linear-gradient(135deg, #fff, #edf3f6); color: #284758; box-shadow: 0 3px 9px #203f5012; font: 600 13px/1.3 Source Sans Pro, Arial, sans-serif; text-decoration: none; vertical-align: middle; cursor: pointer; touch-action: manipulation; transition: none; }
/* Keep SVG/text hit testing on the link and avoid animated gradient repainting in app windows. */
.timelapse-button > * { pointer-events: none; }
.timelapse-icon { display: flex; flex: 0 0 32px; }
.timelapse-icon svg { width: 32px; height: 32px; }
.timelapse-label { min-width: 0; }
a.timelapse-button:hover { border-color: #7999ad; background: #e5eef3; box-shadow: 0 4px 12px #203f5026; }
a.timelapse-button:focus-visible { outline: 3px solid #2475d8; outline-offset: 3px; }
a.timelapse-button:active { background: #d9e6ee; box-shadow: inset 0 1px 3px #203f501f; }
.home-layout[data-project-theme=dark] .timelapse-button { background: linear-gradient(135deg, #283a47, #202e3a); border-color: #607889; color: #e3eaf0; box-shadow: 0 3px 9px #0004; }
.home-layout[data-project-theme=dark] a.timelapse-button:is(:hover, :focus-visible) { background: linear-gradient(135deg, #344e63, #283e50); border-color: #9dccf4; color: #fff; box-shadow: 0 4px 12px #0005; }
.home-layout[data-project-theme=dark] a.timelapse-button:focus-visible { outline-color: #9dccf4; }
.home-layout[data-project-theme=dark] a.timelapse-button:active { background: #182a39; border-color: #71889d; box-shadow: inset 0 1px 3px #0005; }
.station-webcam figcaption.timelapse-caption { padding: 16px 0 0; }
@media (prefers-reduced-motion: reduce) { .timelapse-button { transition: none; } }
.overview-block { margin: 26px 0; } .overview-block h2 { width: fit-content; max-width: 100%; min-height: 32px; margin: 0 auto 18px; padding: 4px 18px; white-space: normal; text-align: center; font-size: 16px; }
.overview-frame { position: relative; width: 100%; margin: auto; overflow: hidden; } .managed-overview .overview-frame iframe { max-width: none; transform-origin: top left; }
.overview-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
/* Shared layout for all public detail pages, based on St.Marienkirchen/Ortszentrum. */
.overview-layout { --overview-gap: 24px; display: flex; flex-direction: column; gap: var(--overview-gap); padding: 28px 36px; }
.overview-layout > .overview-brand { align-self: flex-end; display: block; width: 115px; height: 40px; padding: 0; }
.overview-layout > .overview-brand-agrar { height: 75px; }
.overview-layout > .overview-brand-geosphere { width: 72px; height: 80px; }
.overview-layout > .overview-brand-muehlviertel { width: 200px; height: 53px; }
.overview-layout > .overview-brand-kallham { width: 200px; height: 71px; }
.overview-layout > .overview-brand-vorchdorf { width: 220px; height: 90px; }
.overview-layout > .overview-brand-hydro { width: 250px; height: 40px; }
.overview-brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.overview-layout > .overview-heading, .station-navigation > .overview-heading, .page-impressum .imprint-legal-heading { align-self: center; width: fit-content; max-width: 100%; min-height: 36px; margin: 0; padding: 4px 24px; white-space: normal; overflow-wrap: anywhere; text-align: center; font-size: clamp(16px, 1.25vw, 20px); }
.station-navigation { align-self: center; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; width: fit-content; max-width: 100%; }
.station-navigation > .overview-heading { min-width: 0; min-height: 44px; }
.station-navigation .station-step { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cdd3d9; border-radius: 8px; background: #f4f5f6; color: #f07800; text-decoration: none; transition: background .18s, border-color .18s, color .18s; }
.station-step svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.station-navigation a.station-step:hover { border-color: #f07800; background: #f07800; color: #fff; }
.station-navigation a.station-step:focus-visible { outline: 3px solid #2475d8; outline-offset: 3px; }
.station-navigation .station-step[aria-disabled=true] { color: #b8bec4; background: #f4f5f6; }
@media (max-width: 620px) { .station-navigation { gap: 8px; } .station-navigation > .overview-heading { padding: 4px 10px; } }
@media (prefers-reduced-motion: reduce) { .station-step { transition: none; } }
.overview-layout .overview-stack { position: static; display: flex; flex-direction: column; gap: var(--overview-gap); width: 100%; }
.overview-layout .embed-box { position: relative; width: 100%; }
.overview-layout .provider-embed { display: flex; flex-direction: column; align-items: center; gap: var(--overview-gap); text-align: center; line-height: 1.5; }
.overview-layout .webcam-container { width: 100%; border: 8px solid #e8e8e8; border-radius: 8px; overflow: hidden; background: #fff; }
.overview-layout .webcam-container a { display: block; padding: 0; }
.overview-layout .webcam-container img { width: 100%; }
.overview-layout .overview-frame iframe { display: block; max-width: none; border: 0; transform-origin: top left; }
.overview-layout .overview-webcams { display: flex; flex-direction: column; gap: var(--overview-gap); width: 100%; max-width: none; margin: 0; }
.overview-layout .station-webcam, .overview-layout .overview-block { display: flex; flex-direction: column; gap: var(--overview-gap); margin: 0; }
.overview-layout .station-webcam figcaption { padding: 0; }
.overview-layout .overview-block h2 { margin: 0 auto; }
.overview-layout .overview-links:empty { display: none; }
.overview-layout [hidden] { display: none !important; }
.collapsible-layout { overflow-anchor: none; }
.detail-panel { display: block; width: 100%; min-width: 0; margin: 0; }
.detail-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; min-height: 44px; padding: 10px 14px; border: 1px solid #89959e; border-radius: 8px; background: #fafbfc; color: #000; font: 600 16px/1.4 Source Sans Pro, Arial, sans-serif; cursor: pointer; list-style: none; }
.detail-panel > summary::-webkit-details-marker { display: none; }
.detail-panel > summary::after { content: ''; flex: 0 0 7px; width: 7px; height: 7px; margin: 0 4px 4px 0; color: #394751; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.detail-panel[open] > summary::after { margin-bottom: -4px; transform: rotate(225deg); }
.detail-panel > summary:hover { background: #f0f3f5; border-color: #596873; }
.overview-layout .detail-panel > summary h2 { display: block; width: auto; min-height: 0; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; color: inherit; font: inherit; text-align: left; white-space: normal; }
.detail-panel[open] > summary { width: 44px; margin-left: auto; padding: 10px; justify-content: center; background: transparent; }
.detail-panel[open] > summary:hover { background: #f0f3f5; }
.overview-layout .detail-panel[open] > summary > :is(span, h2) { display: none; }
.detail-panel[open] > summary::after { margin-right: 0; }
.detail-panel-body { display: flex; flex-direction: column; gap: var(--overview-gap); min-width: 0; padding-top: 8px; }
.detail-panel:not([open]) > .detail-panel-body { display: none; }
.overview-webcams > .timelapse-button { align-self: center; }
.detail-panel > summary:focus-visible { outline: 2px solid #256aa0; outline-offset: 3px; }
.overview-stack > .timelapse-button { position: static; align-self: center; }
@media (max-width: 620px) { .overview-layout { --overview-gap: 16px; padding: 20px 12px; } }
.webcam-card { margin: 0; border: 8px solid #e8e8e8; border-radius: 8px; background: #fff; overflow: hidden; }
.webcam-player { display: block; width: 100%; border: 0; } .webcam-still { display: block; }
.webcam-still img { display: block; width: 100%; object-fit: contain; }
@media (max-width: 620px) {
  .site { width: 100%; margin: 0 auto; }
  .nav-item > :focus-visible { outline-offset: -3px; }
  .masthead > a { margin-left: 10px; }
  .hero { height: 48vw; background-size: cover; }
  .hero h1 { white-space: nowrap; font-size: min(3vw, 18px); bottom: 12px; left: 16px; right: 16px; }
  .weather-map { height: 460px; }
  .home-grid { display: block; }.sidebar { max-width: 360px; margin: 20px auto; }
  .social-toolbar { gap: 5px; }.social-toolbar img { max-width: min(38px, 9vw); height: auto; }
  .partners { gap: 16px; }.partners img { max-width: 115px; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .nav-trigger, .nav-chevron svg { transition: none; } }
/* Controls exist only in the administrator's embedded preview. */
.editor-preview .managed-overview > [data-block] { position: relative; padding-top: 44px; outline: 1px dashed #73a9b8; margin-bottom: 20px; }
.editor-preview [hidden] { display: none !important; }
.canvas-handle { position: absolute; z-index: 5; left: 8px; top: 6px; border: 0; border-radius: 7px; padding: 8px 12px; background: #15596a; color: white; font: 600 13px Source Sans Pro, Arial, sans-serif; cursor: grab; touch-action: none; }
.canvas-dragging iframe { pointer-events: none; }
.canvas-before { border-top: 5px solid #e2a540; }.canvas-after { border-bottom: 5px solid #e2a540; }
.editor-preview .share-button, .editor-preview #weather-navigator, .editor-preview #bot-toggle { display: none !important; }

.timelapse-choice { width: min(420px, calc(100% - 32px)); padding: 26px 22px 22px; border: 1px solid #c4d3dc; border-radius: 16px; color: #284758; background: #f8fbfd; box-shadow: 0 16px 60px #102b4050; }
.timelapse-choice::backdrop { background: #152d4566; }
.timelapse-choice h2 { margin: 0 35px 20px 0; font-size: 20px; }
.timelapse-choice-links { display: grid; gap: 12px; }
.timelapse-choice-links a { display: block; padding: 15px 18px; border: 1px solid #bed0dc; border-radius: 10px; background: #fff; color: #245c81; text-decoration: none; font-size: 16px; font-weight: 600; }
.timelapse-choice-links a:hover { background: #e7f1f8; }
.timelapse-choice-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #a92330; font-size: 28px; }
.home-layout[data-project-theme=dark] .timelapse-choice { background: #142230; color: #f1f5f9; border-color: #536b80; box-shadow: 0 24px 80px #0009; }
.home-layout[data-project-theme=dark] .timelapse-choice::backdrop { background: #02080fcc; }
.home-layout[data-project-theme=dark] .timelapse-choice h2 { color: #f8fafc; }
.home-layout[data-project-theme=dark] .timelapse-choice-links a { background: #22364b; color: #f1f5f9; border-color: #829bb2; }
.home-layout[data-project-theme=dark] .timelapse-choice-links a:is(:hover, :focus-visible) { background: #2c4b6b; color: #fff; border-color: #93c5fd; }
.home-layout[data-project-theme=dark] .timelapse-choice-links a:active { background: #182b3e; }
.home-layout[data-project-theme=dark] .timelapse-choice-close { background: #223448; color: #e2e8f0; }
.home-layout[data-project-theme=dark] .timelapse-choice-close:is(:hover, :focus-visible) { background: #572c3b; color: #fff; }
.home-layout[data-project-theme=dark] .timelapse-choice :is(a, button):focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }

/* Station measurements: load each application when its tab is opened. */
.measurement-tabs{width:100%;min-width:0;border:1px solid #cdd7e0;border-radius:12px;background:#fff;overflow:hidden}
.measurement-tablist{display:flex;overflow-x:auto;overflow-y:hidden;gap:4px;padding:8px 10px 0;border-bottom:1px solid #cdd7e0;background:#f3f6f9;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.measurement-tablist button{flex:1 0 auto;min-height:44px;padding:10px 18px;border:0;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;background:transparent;color:#526777;font:600 16px/1.3 Source Sans Pro,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.measurement-tablist button:hover{background:#e5edf4;color:#163e5e}
.measurement-tablist button[aria-selected=true]{background:#fff;color:#145f9c;border-bottom-color:#178bcf}
.measurement-tablist button:focus-visible{outline:2px solid #178bcf;outline-offset:-3px}
.overview-layout .measurement-panel{margin:0;padding:0;box-sizing:border-box;width:100%}
.home-layout[data-project-theme=dark] .measurement-tabs{background:#111c29;border-color:#3d5061}
.home-layout[data-project-theme=dark] .measurement-tablist{background:#182735;border-color:#3d5061}
.home-layout[data-project-theme=dark] .measurement-tablist button{color:#c3d1de}
.home-layout[data-project-theme=dark] .measurement-tablist button:hover{background:#293e50;color:#fff}
.home-layout[data-project-theme=dark] .measurement-tablist button[aria-selected=true]{background:#111c29;color:#8acbff;border-bottom-color:#69b9f6}
@media(max-width:620px){.measurement-tablist{padding:4px 4px 0;gap:0}.measurement-tablist button{padding:10px 12px;font-size:14px}.overview-layout .measurement-panel{padding:0}}

.measurement-tabs{overflow-anchor:none}
.measurement-panel{position:relative}
.measurement-loading{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:36px 12px;background:#f3f6f9;color:#36536b;font:600 16px/1.4 Source Sans Pro,Arial,sans-serif;z-index:2}
.home-layout[data-project-theme=dark] .measurement-loading{background:#111c29;color:#c3d1de}
.measurement-loading::before{content:"";width:20px;height:20px;flex:0 0 20px;margin-right:10px;border:3px solid #aacbe3;border-top-color:#168dde;border-radius:50%;animation:measurement-loading-spin .7s linear infinite}
@keyframes measurement-loading-spin{to{transform:rotate(360deg)}}

/* Match the main navigation's left-to-right underline animation. */
.measurement-tablist button{position:relative;transition:background-color .15s ease,color .15s ease}
.measurement-tablist button::before{content:'';position:absolute;inset:auto 0 -3px;height:3px;background:#178bcf;pointer-events:none;transform:scaleX(0);transform-origin:left center;transition:transform .22s ease-out}
.measurement-tablist button[aria-selected=true],.home-layout[data-project-theme=dark] .measurement-tablist button[aria-selected=true]{border-bottom-color:transparent}
.measurement-tablist button[aria-selected=true]::before,.measurement-tablist button:focus-visible::before,.measurement-tablist button:active::before{transform:scaleX(1)}
.measurement-tablist:has(button:focus-visible) button[aria-selected=true]:not(:focus-visible)::before{transform:scaleX(0);transition:none}
.home-layout[data-project-theme=dark] .measurement-tablist button::before{background:#69b9f6}
@media(hover:hover){
  .measurement-tablist button:hover::before{transform:scaleX(1)}
  .measurement-tablist:has(button:hover) button:not(:hover)::before{transform:scaleX(0);transition:none}
}
@media(prefers-reduced-motion:reduce){.measurement-tablist button,.measurement-tablist button::before{transition:none}}

/* Selected navigation labels match their orange underline. */
.navigation .nav-trigger:is([aria-current=page],[aria-expanded=true]),
.home-layout[data-project-theme=dark] .navigation .nav-trigger:is([aria-current=page],[aria-expanded=true]){color:#f07800}

/* Active menu items use neutral surfaces with orange labels and underlines. */
.navigation .nav-trigger:is([aria-current=page],[aria-expanded=true]){background:#fff;color:#f07800}
.home-layout[data-project-theme=dark] .navigation .nav-trigger:is([aria-current=page],[aria-expanded=true]){background:#111c29;color:#f07800}

/* Quiet loading feedback within the selected panel; fast loads do not flash. */
.measurement-loading{inset:12px auto auto 50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);padding:10px 14px;border-radius:10px;font-size:14px;pointer-events:none;animation:measurement-feedback-in 120ms ease 250ms both}
@keyframes measurement-feedback-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.measurement-loading::before{animation:none}}
