.xionia-city-widget {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 18px;
  border: 1px solid #adcadc;
  border-radius: 12px;
  padding: 12px;
  background: #edf6fb;
  color: #16384e;
  text-align: center;
  font:
    14px/1.4 system-ui,
    sans-serif;
}
.xw-link {
  display: block;
  color: inherit !important;
  text-decoration: none;
}
.xw-link:focus-visible {
  outline: 3px solid #d89016;
  outline-offset: 3px;
}
.xw-heading {
  display: block;
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 650;
}
.xw-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
}
.xw-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 8px;
  background: #ffffff;
  color: #16384e;
}
.xw-date,
.xw-rain {
  font-size: 12px;
  white-space: nowrap;
}
.xw-icon {
  font-size: 22px;
  line-height: 1.15;
}
.xw-temperatures {
  font-size: 15px;
  white-space: nowrap;
}
.xw-note,
.xw-brand,
.xw-updated {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.xw-brand {
  font-weight: 700;
}
.xionia-dark .xionia-city-widget,
body[data-widget-theme="dark"] .xionia-city-widget {
  background: #102b42;
  border-color: #486780;
  color: #edf6fb;
}
.xionia-dark .xw-day,
body[data-widget-theme="dark"] .xw-day {
  background: #1d3a52;
  color: #f2f8fc;
}
@media (max-width: 600px) {
  .xionia-city-widget {
    padding: 10px 6px;
  }
}
body[data-widget="true"] {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: transparent;
}
body[data-widget="true"] .xionia-city-widget {
  margin: 0;
  border-radius: 14px;
}
body[data-widget="true"][data-widget-theme="dark"] {
  color: #edf5ff;
}
.history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.history-summary > div {
  border: 1px solid #b9cede;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.history-summary strong {
  font-size: 24px;
  color: #0877a9;
}
.xionia-dark .history-summary strong {
  color: #8cd4f4;
}
.widget-builder-controls {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: end;
  margin: 20px 0;
}
.widget-builder-controls label {
  display: grid;
  gap: 6px;
}
.widget-builder-controls select {
  max-width: 100%;
  padding: 10px;
  font: inherit;
}
.widget-preview-frame {
  display: block;
  width: 100%;
  height: 285px;
  border: 0;
  margin: 20px auto;
  max-width: 1180px;
}
.widget-code {
  width: 100%;
  box-sizing: border-box;
  min-height: 145px;
  display: block;
  margin: 16px 0;
  font: 14px/1.6 monospace;
  padding: 12px;
}
@media (max-width: 600px) {
  .history-summary {
    grid-template-columns: 1fr;
  }
}

.weather-flags,
.xw-flags {
  font-size: 15px;
  line-height: 1.3;
  min-height: 20px;
}

.xw-wind {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.xw-day{min-width:0}.xw-wind{white-space:normal;overflow-wrap:anywhere}.xw-note{overflow-wrap:anywhere}
@media(max-width:760px){.xw-days{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}}
@media(max-width:480px){.xw-days{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.xw-day{padding:10px 6px}}

/* v27: one readable seven-day row, matching the compact station widget. */
.xionia-city-widget{max-width:800px;padding:8px;margin:8px auto 14px;font-size:13px;border-radius:10px;}
.xw-heading{font-size:14px;margin-bottom:6px;}
.xw-days{grid-template-columns:repeat(7,minmax(96px,1fr));gap:4px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:5px;}
.xw-day{padding:5px 3px;gap:2px;scroll-snap-align:start;}
.xw-icon{font-size:18px;line-height:1.2;}
.xw-temperatures{font-size:14px;}
.xw-wind{font-size:12px;line-height:1.4;}
.xw-note,.xw-brand,.xw-updated{font-size:12px;margin-top:3px;}
.xw-scroll-hint{display:none;font-size:12px;margin-top:2px;}
.widget-preview-frame{max-width:800px;height:235px;}
@media(max-width:760px){.xw-scroll-hint{display:block;}}
@media(max-width:450px){.xionia-city-widget{padding:7px 5px;}}
@media(prefers-reduced-motion:reduce){.xw-days{scroll-snap-type:none;scroll-behavior:auto;}}

/* v30: the seven-day row fills its desktop container, including embedded previews. */
@media(min-width:801px){
 .xionia-city-widget,.widget-preview-frame{max-width:100%;}
}

/* v30.1: place widgets are direct children of body. Match the inner content
   width of #greece-main: 1180px border box minus its 14px side padding,
   reduced to 8px on screens up to 600px, as in greece.css. */
body[data-place-page="true"] > #place-widget.xionia-city-widget{
  width:calc(100% - 28px);
  max-width:1152px;
  min-width:0;
  margin-inline:auto;
}
@media(max-width:600px){
  body[data-place-page="true"] > #place-widget.xionia-city-widget{
    width:calc(100% - 16px);
  }
}

#greece-main {
  max-width: 1180px;
  margin: auto;
  padding: 0 14px 32px;
}
.greece-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px auto;
}
.greece-controls select,
.greece-controls button {
  min-height: 44px;
  font: inherit;
  padding: 10px 16px;
}
#greece-map {
  height: clamp(350px, 48vw, 510px);
  border-radius: 14px;
  border: 1px solid #6b8ca5;
  z-index: 0;
  color: #152d40;
}
#greece-map img {
  margin: 0;
  max-width: none;
  border-radius: 0;
}
#greece-map .leaflet-control a {
  color: #164466;
}
#greece-map .leaflet-control-attribution {
  text-align: left;
  font-size: 12px;
}
#greece-map.leaflet-container:focus-visible {
  outline: 3px solid #1672ab;
  outline-offset: 3px;
}
#greece-map .xionia-location-icon {
  background: none;
  border: 0;
  pointer-events: none;
}
#greece-map .xionia-location-icon svg {
  display: block;
  width: 36px;
  height: 48px;
  filter: drop-shadow(0 2px 3px #102b4470);
}
.greece-city-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin: 16px auto;
}
.greece-city-links a {
  display: block;
  padding: 9px 8px;
  border: 1px solid #698ba34d;
  border-radius: 8px;
  text-decoration: none;
}
.greece-city-links a:hover,
.greece-city-links a:focus-visible {
  text-decoration: underline;
  border-color: #1672ab;
}
.greece-map-tools {
  margin-bottom: 8px;
}
.greece-map-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.greece-map-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1672ab;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #698ba3;
}
.greece-map-selected {
  background: #e99123;
}
.greece-map-help {
  max-width: 850px;
  margin: 8px auto 20px;
  font-size: 14px;
  line-height: 1.6;
}
#city-meta {
  min-height: 1.5em;
  overflow-wrap: anywhere;
}
#greece-status {
  min-height: 3em;
}
.greece-table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.greece-table-scroll table {
  width: 100%;
  min-width: 870px;
  border-collapse: collapse;
}
.greece-table-scroll th,
.greece-table-scroll td {
  padding: 12px 8px;
  border-bottom: 1px solid #698ba34d;
  text-align: center;
  font-size: 15px;
}
.greece-table-scroll th {
  font-weight: 650;
}
#forecast-output[hidden] {
  display: none;
}
#temperature-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 580px;
}
.greece-chart-scroll {
  overflow-x: auto;
}
.greece-chart-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.greece-high {
  color: #e67e22;
}
.greece-low {
  color: #399edd;
}
.greece-method {
  max-width: 950px;
  margin: 24px auto;
}
.greece-method p {
  font-size: 16px;
  line-height: 1.65;
}
@media (max-width: 600px) {
  #greece-main {
    padding: 0 8px 24px;
  }
  .greece-controls {
    flex-direction: column;
  }
  .greece-controls select {
    width: 100%;
  }
}

#greece-map,
#city-select {
  scroll-margin-top: 16px;
}
.greece-city-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 18px auto 8px;
  max-width: 700px;
}
.greece-city-search input,
.greece-city-search button {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #7b9db6;
  border-radius: 8px;
  font: inherit;
}
.greece-city-search input {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
}
#city-search-status {
  min-height: 1.6em;
  font-size: 14px;
}
.greece-city-links a[hidden] {
  display: none;
}
.greece-city-links a[aria-current="true"] {
  border-color: #1672ab;
  box-shadow: inset 0 0 0 1px #1672ab;
  font-weight: 700;
}
@media (max-width: 600px) {
  .greece-city-search label {
    flex-basis: 100%;
  }
}
.regional-intro {
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.regional-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px auto;
}
.regional-tabs a {
  padding: 10px 18px;
  border: 1px solid #718da4;
  border-radius: 999px;
  text-decoration: none;
}
.regional-tabs a[aria-current="page"] {
  background: #185f83;
  color: #fff;
}
#greece-map {
  height: clamp(390px, 55vw, 590px);
}
#greece-map .map-temperature-marker {
  border: 0;
  background: transparent;
}
.map-temperature-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 96px;
  min-height: 42px;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px #17334e45;
  background: var(--temperature-colour, #536878);
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
}
.map-weather-name {
  display: block;
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font:
    12px/1.15 Arial,
    sans-serif;
}
.map-weather-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.map-weather-values strong {
  font:
    700 14px/1.15 Arial,
    sans-serif;
  letter-spacing: -0.2px;
}
.map-weather-icon {
  font:
    15px/1.15 Arial,
    sans-serif;
}
.map-temperature-chip:focus-visible {
  outline: 3px solid #182c46;
  outline-offset: 3px;
  z-index: 1500 !important;
}
#map-temperature-status {
  min-height: 2.5em;
  font-size: 14px;
  line-height: 1.5;
  max-width: 950px;
  margin: 8px auto 18px;
}
.regional-keyboard {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
button.regional-keyboard:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 12px;
  margin: 10px auto;
  clip-path: none;
  white-space: normal;
}
.regional-breadcrumb {
  font-size: 14px;
  padding: 15px;
}
#city-permalink {
  display: inline-block;
  margin: 6px auto 16px;
}
#city-permalink[hidden] {
  display: none;
}
.regional-overview-note {
  font-size: 14px;
  line-height: 1.5;
}
.city-context {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid #718da44d;
  border-radius: 14px;
  margin: 20px auto;
  max-width: 850px;
}
.city-context dt {
  font-size: 13px;
  opacity: 0.85;
}
.city-context dd {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 600;
}
.greece-city-links small {
  display: block;
  margin-top: 4px;
  opacity: 0.8;
  font-size: 12px;
}
.greece-city-links [data-map-temperature] {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.map-temperature-chip[aria-current="location"] {
  outline: 3px solid #f4b24b;
  outline-offset: 1px;
}
#greece-map .xionia-map-selection {
  width: 190px;
  max-width: calc(100vw - 110px);
  padding: 10px 12px;
  border: 1px solid #9eb9cc;
  border-radius: 12px;
  background: #ffffff;
  color: #15344b;
  box-shadow: 0 3px 12px #102b4433;
  text-align: center;
  line-height: 1.35;
}
#greece-map .xionia-map-selection[hidden] {
  display: none;
}
#greece-map .map-selection-name {
  display: block;
  color: #165c87;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
#greece-map a.map-selection-name:hover {
  text-decoration: underline;
}
#greece-map .map-selection-date,
#greece-map .map-selection-status,
#greece-map .xionia-map-selection small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
#greece-map .map-selection-weather {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 7px;
}
#greece-map .map-selection-icon {
  font-size: 27px;
  line-height: 1.2;
}
#greece-map .map-selection-weather strong {
  font-size: 20px;
  white-space: nowrap;
}
#greece-map .map-selection-name:focus-visible {
  outline: 3px solid #f4b24b;
  outline-offset: 3px;
}

.xionia-alerts {
  box-sizing: border-box;
  max-width: 1180px;
  width: 100%;
  margin: 22px auto;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #b3c9d9;
  border-radius: 16px;
  background: #f2f7fa;
  color: #19384e;
  text-align: left;
  font:
    15px/1.6 system-ui,
    sans-serif;
}
.xionia-alerts h2 {
  margin-top: 0;
  font-size: clamp(20px, 3vw, 25px);
}
.weather-alert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin: 16px 0;
}
.weather-alert-card {
  display: grid;
  gap: 7px;
  border: 1px solid #d39235;
  border-left-width: 5px;
  border-radius: 10px;
  background: #fff4e0;
  color: #523004;
  padding: 14px;
}
.weather-alert-card > span {
  font-size: 24px;
  font-weight: 700;
}
.weather-alert-card small,
.alerts-fine-print {
  font-size: 12px;
}
.xionia-alerts summary {
  cursor: pointer;
  font-weight: 650;
  padding-block: 8px;
}
.xionia-alerts a {
  color: #08597b;
  text-decoration: underline;
}
.xionia-fire-panel {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #afc5d5;
}
body.xionia-dark .xionia-alerts {
  background: #132b40;
  color: #e7f1f7;
  border-color: #42617a;
}
body.xionia-dark .weather-alert-card {
  color: #fff0c7;
  background: #3b321c;
  border-color: #ba9149;
}
body.xionia-dark .xionia-alerts a {
  color: #8ed9ff;
}
.fire-source-links a {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 650;
}

/* Compact station homepage panel, next to the live camera. */
.home-camera-sidebar .xionia-alerts {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.home-camera-sidebar .xionia-alerts h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}
.home-camera-sidebar .xionia-alerts h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.home-camera-sidebar .xionia-alerts p {
  margin: 8px 0;
}
.home-camera-sidebar .alerts-intro {
  font-size: 12px;
}
.home-camera-sidebar .weather-alert-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.home-camera-sidebar .weather-alert-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  padding: 10px;
}
.home-camera-sidebar .weather-alert-card > span {
  font-size: 17px;
}
.home-camera-sidebar .weather-alert-card small {
  grid-column: 1 / -1;
}
.home-camera-sidebar .xionia-fire-panel {
  margin-top: 12px;
  padding-top: 12px;
}
.home-camera-sidebar .xionia-alerts summary {
  padding-block: 6px;
  font-size: 12px;
}
.home-camera-sidebar .fire-source-links a {
  padding: 7px 10px;
}

/* v33.8.4: named areas override legacy row/column placement at every breakpoint. */
html body #place-alerts.xionia-alerts-compact{box-sizing:border-box;display:grid;width:100%;max-width:none;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"signals fire";align-items:start;align-content:start;gap:12px 18px;margin:12px auto;padding:14px 16px;font:13px/1.5 system-ui,sans-serif}
html body #place-alerts.xionia-alerts-compact>.xionia-alert-overview{grid-area:signals;min-width:0;margin:0;padding:0}
html body #place-alerts.xionia-alerts-compact>.xionia-fire-panel{grid-area:fire;min-width:0;margin:0;padding:0 0 0 16px;border:0;border-inline-start:1px solid #819caa66}
html body #place-alerts.xionia-alerts-compact.xionia-alerts-has-preview{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:"signals preview" "fire preview";row-gap:10px}
html body #place-alerts.xionia-alerts-compact.xionia-alerts-has-preview>.xionia-fire-panel{border:0;border-top:1px solid #819caa66;padding:10px 0 0}
html body #place-alerts.xionia-alerts-compact>.xionia-signal-satellite{grid-area:preview;align-self:start;min-width:0;width:100%;margin:0;padding:0}
html body #place-alerts.xionia-alerts-compact h2,html body #place-alerts.xionia-alerts-compact h3{display:block;width:auto;max-width:none;margin:0 0 6px;padding:0;background:transparent;color:inherit;font:700 15px/1.4 system-ui,sans-serif;text-align:start}
html body #place-alerts.xionia-alerts-compact p{width:auto;max-width:none;margin:5px 0;text-align:start;font:13px/1.5 system-ui,sans-serif}
html body #place-alerts.xionia-alerts-compact .alerts-intro,html body #place-alerts.xionia-alerts-compact .fire-distinction,html body #place-alerts.xionia-alerts-compact .fire-provider{font-size:11px;line-height:1.5}
html body #place-alerts.xionia-alerts-compact .weather-alert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:6px;margin:8px 0;align-items:start}
html body #place-alerts.xionia-alerts-compact .weather-alert-grid>p{grid-column:1/-1;margin:0}
html body #place-alerts.xionia-alerts-compact .weather-alert-card{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;max-width:none;gap:3px 8px;margin:0;padding:8px 9px;border-left-width:3px}
html body #place-alerts.xionia-alerts-compact .weather-alert-card>span{font-size:17px;line-height:1.3}
html body #place-alerts.xionia-alerts-compact .weather-alert-card strong{font-size:12px}
html body #place-alerts.xionia-alerts-compact .weather-alert-card small{grid-column:1/-1;font-size:11px;line-height:1.4}
html body #place-alerts.xionia-alerts-compact .fire-reading{display:block;width:auto;max-width:none;margin:6px 0;padding:0}
html body #place-alerts.xionia-alerts-compact .fire-score{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:0;margin:0 0 5px;padding:5px 9px;border-radius:7px}
html body #place-alerts.xionia-alerts-compact .fire-score strong{font-size:22px}
html body #place-alerts.xionia-alerts-compact .fire-score span{font-size:12px;line-height:1.35}
html body #place-alerts.xionia-alerts-compact .fire-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:240px;gap:4px;margin:3px 0 5px}
html body #place-alerts.xionia-alerts-compact .fire-step{font-size:11px;padding:2px 0;line-height:1.4}
html body #place-alerts.xionia-alerts-compact .fire-value-date{font-size:12px}
html body #place-alerts.xionia-alerts-compact .fire-source-links{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 0}
html body #place-alerts.xionia-alerts-compact .fire-source-links a{display:inline-flex;align-items:center;min-height:40px;margin:0;padding:4px 0;background:transparent;border:0;border-radius:4px;font-size:12px;text-decoration:underline;text-underline-offset:3px}
html body #place-alerts.xionia-alerts-compact details{margin:4px 0 0;font-size:12px}
html body #place-alerts.xionia-alerts-compact summary{box-sizing:border-box;display:list-item;min-height:40px;padding:9px 0;font:600 12px/1.5 system-ui,sans-serif;cursor:pointer}
html body #place-alerts.xionia-alerts-compact details[open]{margin-top:6px;padding:0 10px 8px;border-inline-start:3px solid #789ab0;background:rgba(119,152,175,.08)}
html body #place-alerts.xionia-alerts-compact details p,html body #place-alerts.xionia-alerts-compact details li{font-size:12px;line-height:1.6}
html body #place-alerts.xionia-alerts-compact .xionia-signal-satellite iframe{box-sizing:border-box;display:block;width:100%;max-width:100%;height:310px;border:0;border-radius:9px;background:transparent}
html body #place-alerts.xionia-alerts-compact .xionia-signal-satellite>a{display:block;padding:8px 3px;font-size:12px;line-height:1.4;text-align:center;color:inherit}
html body #place-alerts.xionia-alerts-compact a:focus-visible,html body #place-alerts.xionia-alerts-compact summary:focus-visible{outline:3px solid #c8912a;outline-offset:3px}
@media(max-width:760px){html body #place-alerts.xionia-alerts-compact,html body #place-alerts.xionia-alerts-compact.xionia-alerts-has-preview{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"signals" "fire" "preview";gap:10px;margin:10px auto;padding:12px}html body #place-alerts.xionia-alerts-compact>.xionia-fire-panel{border:0;border-top:1px solid #819caa66;padding:10px 0 0}html body #place-alerts.xionia-alerts-compact .weather-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body #place-alerts.xionia-alerts-compact summary,html body #place-alerts.xionia-alerts-compact .fire-source-links a{min-height:44px}html body #place-alerts.xionia-alerts-compact .xionia-signal-satellite iframe{height:300px}}
@media(max-width:360px){html body #place-alerts.xionia-alerts-compact .weather-alert-grid{grid-template-columns:minmax(0,1fr)}}

/* v33.8.5: equal overall columns; the map fills the actual viewport, not a 760px reserve. */
html body #place-alerts.xionia-alerts-compact.xionia-alerts-has-preview{grid-template-rows:min-content minmax(min-content,1fr);align-items:stretch}
html body #place-alerts.xionia-alerts-compact>.xionia-signal-satellite{display:flex;flex-direction:column;align-self:stretch;min-height:420px}
html body #place-alerts .xionia-satellite-viewport{position:relative;flex:1 1 auto;min-height:360px;overflow:hidden;border-radius:10px}
html body #place-alerts .xionia-satellite-viewport iframe{position:absolute;inset:0;width:100%;height:100%!important;margin:0;pointer-events:none}
html body #place-alerts .xionia-satellite-zoom{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-start;justify-content:flex-end;box-sizing:border-box;padding:9px;background:transparent;color:#fff;text-shadow:0 1px 3px #000;font:600 12px/1.5 system-ui,sans-serif;text-decoration:none}
html body #place-alerts .xionia-satellite-zoom:focus-visible{outline:3px solid #38bdf8;outline-offset:-3px}
html body dialog.xionia-satellite-dialog{box-sizing:border-box;width:min(1200px,96vw);max-width:96vw;height:min(900px,92vh);height:min(900px,92dvh);max-height:92dvh;margin:auto;padding:12px;border:1px solid #7795a8;border-radius:14px;background:#fff;color:#15384b;overflow:hidden}
html body.xionia-dark dialog.xionia-satellite-dialog{background:#122b3d;color:#edf7ff}
html body dialog.xionia-satellite-dialog::backdrop{background:#061824b8}
html body .xionia-satellite-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;height:48px;margin-bottom:8px;font:600 14px/1.4 system-ui,sans-serif}
html body .xionia-satellite-dialog-bar strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .xionia-satellite-dialog-bar button{min-height:44px;flex-shrink:0;border:1px solid currentColor;border-radius:8px;padding:6px 12px;background:transparent;color:inherit;cursor:pointer}
html body dialog.xionia-satellite-dialog>iframe{display:block;width:100%;height:calc(100% - 56px)!important;border:0;border-radius:8px}
@media(max-width:760px){html body #place-alerts.xionia-alerts-compact>.xionia-signal-satellite{min-height:400px}html body #place-alerts .xionia-satellite-viewport{min-height:340px}html body dialog.xionia-satellite-dialog{padding:8px;border-radius:10px}.xionia-satellite-dialog-bar{font-size:12px}}

/* v33.9.20: retain the Meteosat viewport when fullscreen wraps the iframe. */
html body #place-alerts .xionia-satellite-viewport>.xn-map-frame{position:absolute;inset:0;width:100%;height:100%}
html body #place-alerts .xionia-satellite-viewport>.xn-map-frame.xn-map-full>iframe{pointer-events:auto}
html body #place-alerts .xionia-satellite-viewport>.xn-map-frame~.xionia-satellite-zoom{justify-content:flex-start}
html body dialog.xionia-satellite-dialog>.xn-map-frame{width:100%;height:calc(100% - 56px)}
html body dialog.xionia-satellite-dialog>.xn-map-frame>iframe{display:block;box-sizing:border-box;width:100%;height:100%!important;border:0;border-radius:8px}

.xc-dashboard{display:grid;gap:22px;margin:24px 0;min-width:0}.xc-panel{padding:20px;border:1px solid var(--line,#cbd7df);border-radius:12px;background:var(--panel,#fff);color:var(--text,#122c40);min-width:0}.xc-panel h3{font-size:20px;margin:0 0 14px}.xc-panel label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}.xc-panel select{font:inherit;color:inherit;background:var(--panel,#fff);border:1px solid var(--line,#cbd7df);border-radius:8px;padding:8px 12px;max-width:100%}.xc-plot{position:relative;min-width:0;margin-top:14px}.xc-plot svg{display:block;width:100%;height:auto;min-height:200px;overflow:visible;touch-action:pan-y}.xc-plot text{fill:var(--muted,#496476);font:13px system-ui,sans-serif}.xc-grid{stroke:var(--line,#cbd7df);stroke-width:1}.xc-cursor{stroke:var(--text,#122c40);stroke-dasharray:4 3;pointer-events:none}.xc-tooltip{position:absolute;z-index:5;top:38px;max-width:min(280px,100%);box-sizing:border-box;padding:10px 12px;border:1px solid var(--line,#cbd7df);border-radius:8px;background:var(--panel,#fff);color:var(--text,#122c40);box-shadow:0 4px 20px #0002;font:14px/1.5 system-ui,sans-serif;pointer-events:none;overflow-wrap:anywhere}.xc-tooltip strong{display:block;margin-bottom:4px}.xc-legend{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:14px;margin:5px 0}.xc-legend span:before{content:'';display:inline-block;width:18px;border-top:3px solid var(--c);margin-right:7px;vertical-align:middle}.xc-note{font-size:14px;color:var(--muted,#496476);margin:0}.xc-plot [role=slider]:focus-visible{outline:2px solid var(--accent,#096783);outline-offset:3px}@media(max-width:600px){.xc-panel{padding:12px}.xc-panel h3{font-size:18px}}.xionia-units-control{font-size:14px!important}

#temperature-chart.xc-dashboard{overflow:visible}#temperature-chart .xc-plot svg{min-width:0;width:100%;height:auto}.xionia-source-status{font:13px/1.4 system-ui,sans-serif;color:inherit;max-width:240px}

#legend.xc-legend span,.legend.xc-legend span{border-bottom:0;padding-bottom:0}

