.geo-explorer {
  margin: 22px 0 18px;
  padding: 20px;
  border: 1px solid #7696ad55;
  border-radius: 16px;
  background: var(--panel, #132433);
  text-align: left;
}
body.light .geo-explorer {
  background: #fff;
}
.geo-explorer h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}
.geo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 3px;
}
.geo-tabs button {
  min-height: 44px;
  padding: 9px 13px;
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.35;
  border: 1px solid #7696ad66;
  border-radius: 9px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.geo-tabs button[aria-selected="true"] {
  background: #096783;
  color: #fff;
  border-color: #096783;
}
.geo-tabs button:hover {
  border-color: #27a2c1;
}
.geo-tabs button:focus-visible,
.geo-explorer input:focus-visible {
  outline: 3px solid #27a2c1;
  outline-offset: 3px;
}
.geo-countries {
  margin-top: 16px;
}
.geo-countries label {
  display: block;
  margin-bottom: 7px;
  font-weight: 650;
}
.geo-countries input {
  width: min(100%, 420px);
  min-height: 44px;
  padding: 9px 12px;
  margin-bottom: 10px;
  border: 1px solid #7696ad88;
  border-radius: 8px;
  font: inherit;
  background: transparent;
  color: inherit;
}
.geo-countries .geo-tabs {
  max-height: 172px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.geo-selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #7696ad44;
  margin-top: 16px;
}
.geo-selection-bar button,
.directory-more {
  min-height: 44px;
  padding: 9px 13px;
  font: inherit;
  border-radius: 8px;
  border: 1px solid #7696ad88;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.geo-selection-bar p {
  margin: 0;
}
.geo-explorer .greece-controls {
  justify-content: flex-start;
  margin-bottom: 0;
}
.geo-explorer .greece-city-search {
  justify-content: flex-start;
  margin: 15px 0 0;
}
.geo-explorer .greece-city-search label {
  width: 100%;
}
.geo-explorer .greece-city-search input {
  flex: 1;
  min-width: 150px;
  max-width: 560px;
}
.directory-panel {
  margin: 20px 0;
}
.directory-panel h2 {
  margin-top: 0;
}
.directory-panel .greece-city-links {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  text-align: left;
}
.directory-panel .greece-city-links a {
  padding: 12px;
  min-height: 44px;
}
.geo-explorer [hidden],
.directory-panel [hidden] {
  display: none !important;
}
.city-facts-note {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.85;
}
.place-background {
  text-align: left;
  line-height: 1.75;
}
@media (max-width: 600px) {
  .geo-explorer {
    padding: 14px;
  }
  .geo-tabs {
    gap: 5px;
  }
  .geo-tabs button {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  #geo-scope-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 9px;
  }
  #geo-scope-tabs button {
    flex: 0 0 auto;
    max-width: 190px;
    white-space: normal;
  }
  .geo-countries .geo-tabs {
    max-height: 158px;
  }
  .geo-selection-bar {
    align-items: flex-start;
  }
  .geo-explorer .greece-controls select {
    max-width: 100%;
    width: 100%;
  }
  .directory-panel .greece-city-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.map-place-search {
  max-width: 800px;
  margin: 18px auto;
  text-align: left;
}
.map-place-search label {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
.map-search-controls {
  display: flex;
  gap: 8px;
}
.map-place-search input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  font: inherit;
  border: 1px solid #7895a9;
  border-radius: 9px;
  background: #fff;
  color: #122c40;
}
.map-place-search button {
  min-height: 46px;
  padding: 10px 16px;
  font: inherit;
  border: 1px solid #096783;
  border-radius: 9px;
  background: #096783;
  color: #fff;
  cursor: pointer;
}
.map-search-results {
  padding: 0;
  margin: 8px 0;
  max-height: 330px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #7895a9;
  border-radius: 10px;
  background: #fff;
  color: #122c40;
}
.map-search-results li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  min-height: 46px;
  border-bottom: 1px solid #7895a944;
  cursor: pointer;
}
.map-search-results li:last-child {
  border-bottom: 0;
}
.map-search-results li[aria-selected="true"],
.map-search-results li:hover {
  background: #e0f0f7;
}
.map-search-results span,
.map-search-credit,
.map-place-search [role="status"] {
  font-size: 13px;
  line-height: 1.6;
}
.map-place-search p {
  margin-block: 7px;
}
.map-place-search [hidden] {
  display: none !important;
}
body.xionia-dark .map-place-search input,
body.xionia-dark .map-search-results {
  background: #132433;
  color: #edf4fa;
}
body.xionia-dark .map-search-results li[aria-selected="true"],
body.xionia-dark .map-search-results li:hover {
  background: #21465c;
}
.map-place-search input:focus-visible,
.map-place-search button:focus-visible {
  outline: 3px solid #28a7cb;
  outline-offset: 3px;
}
@media (max-width: 380px) {
  .map-search-controls {
    flex-wrap: wrap;
  }
  .map-place-search input {
    width: 100%;
    flex-basis: 100%;
  }
}

.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}

