.centres-explorer { max-width: 1440px; margin: 48px auto; padding: 0 24px; color: #202b45; }
.centres-explorer [hidden] { display: none !important; }
.centres-explorer__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.centres-explorer__toolbar h2 { font-size: 24px; line-height: 1.3; margin-right: auto; }
.centres-explorer button { font: inherit; cursor: pointer; }
.centres-explorer__mode, .centres-explorer__fit, .centres-explorer__retry {
  padding: 12px 18px; border: 1px solid #0054a6; border-radius: 4px; background: white; color: #0054a6;
}
.centres-explorer__mode[aria-pressed="true"] { background: #0054a6; color: white; }
.centres-explorer button:focus-visible, .centres-explorer a:focus-visible, .centres-explorer summary:focus-visible { outline: 3px solid #eb1451; outline-offset: 2px; }
.centres-explorer__status { margin: 12px 0; line-height: 1.5; min-height: 24px; }
.centres-explorer__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.centres-explorer__cities { border: 1px solid #d7e0eb; border-radius: 6px; padding: 16px; background: white; }
.centres-explorer__cities summary { cursor: pointer; font-size: 18px; font-weight: 700; }
.centres-explorer__cities input { display: block; width: 100%; height: 44px; padding: 8px; border: 1px solid #bbb; border-radius: 3px; margin-top: 14px; font-size: 16px; }
.centres-explorer__city-list { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; margin-top: 16px; }
.centres-explorer__city-group { margin-bottom: 12px; }
.centres-explorer__city-group h3 { color: #eb1451; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.centres-explorer__city-group a { display: block; padding: 9px 4px; color: #202b45; line-height: 1.4; }
.centres-explorer__city-group a:hover { color: #0054a6; text-decoration: underline; }
.centres-explorer__map-column { min-width: 0; }
#centresMap { width: 100%; height: 560px; position: relative; background: #eef2f7; border: 1px solid #d7e0eb; border-radius: 6px; overflow: hidden; }
.centres-explorer__map-notice { margin-bottom: 12px; line-height: 1.5; }
.centres-explorer__list-title { font-size: 22px; margin: 28px 0 14px; }
.centres-explorer__stations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; max-height: 370px; overflow-y: auto; overscroll-behavior: contain; padding: 3px; position: relative; }
.centres-explorer__station { border: 1px solid #d7e0eb; border-radius: 6px; padding: 18px; min-width: 0; background: white; }
.centres-explorer__station.is-selected { border-color: #0054a6; box-shadow: 0 0 0 2px #0054a6; }
.centres-explorer__station h4 { font-weight: 700; color: #0054a6; font-size: 17px; }
.centres-explorer__station p, .centres-explorer__station a { margin-top: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.centres-explorer__station a { display: block; color: #0054a6; text-decoration: underline; }
.centres-explorer__station button { margin-top: 12px; padding: 9px 12px; border: 1px solid #0054a6; border-radius: 4px; color: #0054a6; background: white; }
.centres-explorer__station button:disabled { cursor: default; opacity: .6; }
.centres-explorer__balloon { max-width: 260px; line-height: 1.5; }
.centres-explorer__balloon a { display: block; color: #0054a6; margin-top: 8px; text-decoration: underline; }
@media (max-width: 979px) {
  .centres-explorer { padding: 0 16px; margin-top: 32px; }
  .centres-explorer__layout { grid-template-columns: 1fr; }
  .centres-explorer__city-list { max-height: 250px; }
  #centresMap { height: 460px; }
  .centres-explorer__stations { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .centres-explorer__toolbar h2 { width: 100%; font-size: 22px; }
  .centres-explorer__mode, .centres-explorer__fit { padding: 10px 12px; }
  #centresMap { height: 420px; }
  .centres-explorer__stations { grid-template-columns: 1fr; max-height: 380px; }
}
