#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;
}

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

