:root {
  --cs-blue: #0E355E;
  --cs-sky: #25B7C9;
  --cs-gold: #D9AE58;
  --cs-sand: #EEF6F5;
  --cs-light: #F8F7F4;
  --cs-white: #fff;
  --cs-viewport-height: 100vh;
  --cs-keyboard-inset: 0px;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

.cs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body {
  margin: 0;
  color: var(--cs-blue);
  background: var(--cs-light);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cs-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(14, 53, 94, .12);
  background: rgba(255, 255, 255, .96);
}

.cs-topbar img { height: 34px; width: auto; }

.cs-topbar nav {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cs-topbar nav::-webkit-scrollbar {
  display: none;
}

body.cs-map-mode .cs-topbar nav {
  display: none;
}

body.cs-map-mode .cs-topbar {
  height: 46px;
  padding: 6px 10px;
}

body.cs-map-mode .cs-topbar img {
  height: 30px;
}

body.cs-map-mode .cs-app {
  min-height: calc(var(--cs-viewport-height) - 46px);
}

body.cs-map-mode.cs-hide-browser-bar {
  min-height: calc(100dvh + 24px);
}

.cs-language {
  max-width: 112px;
  min-height: 36px;
  border: 1px solid rgba(14, 53, 94, .16);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--cs-blue);
  background: #fff;
  font-weight: 700;
}

.cs-install-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px 9px;
  align-items: center;
  border: 1px solid rgba(14, 53, 94, .16);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(14, 53, 94, .18);
}

body.cs-map-mode .cs-install-banner {
  left: 12px;
  right: auto;
  bottom: calc(86px + env(safe-area-inset-bottom));
  width: min(218px, calc(100% - 24px));
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px 7px;
  padding: 7px;
  box-shadow: 0 10px 28px rgba(14, 53, 94, .18);
}

.cs-install-banner img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

body.cs-map-mode .cs-install-banner img {
  width: 34px;
  height: 34px;
}

.cs-install-copy {
  min-width: 0;
}

.cs-install-copy strong,
.cs-install-copy span {
  display: block;
}

.cs-install-copy strong {
  font-size: .86rem;
}

.cs-install-copy span {
  margin-top: 2px;
  color: #516173;
  font-size: .72rem;
  line-height: 1.25;
}

body.cs-map-mode .cs-install-copy span {
  display: none;
}

body.cs-map-mode .cs-install-banner.is-expanded .cs-install-copy span,
body.cs-map-mode .cs-install-banner.is-manual .cs-install-copy span {
  display: block;
}

.cs-install-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.cs-install-actions button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: .76rem;
}

.cs-install-actions .cs-btn-secondary {
  min-width: 34px;
  padding-inline: 9px;
  font-size: 0;
}

.cs-install-actions .cs-btn-secondary::before {
  content: "x";
  font-size: .8rem;
}

body.cs-map-mode .cs-install-actions {
  grid-template-columns: minmax(0, 1fr) 32px;
}

button, .cs-btn, .cs-btn-secondary {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--cs-blue);
  padding: 8px 14px;
  font-weight: 800;
  color: var(--cs-blue);
  background: var(--cs-white);
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--cs-blue);
  text-decoration: none;
}

.cs-app {
  min-height: calc(100vh - 58px);
}

.cs-home {
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 174, 88, .24), transparent 30%),
    linear-gradient(135deg, #F8F7F4 0%, #EEF6F5 52%, #ffffff 100%);
}

.cs-home-copy {
  max-width: 680px;
}

.cs-home h1 {
  font-size: 2.4rem;
}

.cs-home p {
  max-width: 540px;
  color: #516173;
  font-size: 1.08rem;
  line-height: 1.55;
}

.cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 14px 80px;
}

.cs-account {
  max-width: 1040px;
  padding-top: 14px;
}

.cs-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cs-account-head h1 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.cs-account-head p {
  margin: 0;
  color: #516173;
  overflow-wrap: anywhere;
}

.cs-kicker {
  color: var(--cs-gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cs-status {
  flex: 0 0 auto;
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 999px;
  padding: 7px 10px;
  color: #516173;
  background: #fff;
  font-size: .75rem;
  font-weight: 900;
}

.cs-status.is-ok {
  color: #165a3a;
  background: #e8f6ef;
}

.cs-account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.cs-account-stats article,
.cs-account-panel {
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(14, 53, 94, .08);
}

.cs-account-stats article {
  padding: 10px;
}

.cs-account-stats strong {
  display: block;
  font-size: 1.15rem;
}

.cs-account-stats span {
  color: #516173;
  font-size: .76rem;
  font-weight: 800;
}

.cs-account-panel {
  margin-bottom: 12px;
  padding: 12px;
}

.cs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.cs-section-head h2 {
  margin: 0;
}

.cs-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cs-profile-grid div {
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  padding: 9px;
  background: #F8F7F4;
}

.cs-profile-grid span {
  display: block;
  color: #516173;
  font-size: .72rem;
  font-weight: 800;
}

.cs-profile-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: .9rem;
}

.cs-profile-form label {
  display: block;
  font-weight: 800;
}

.cs-profile-form input {
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  border: 1px solid rgba(14, 53, 94, .18);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
}

h1 {
  margin: 0 0 18px;
  font-size: 1.7rem;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.cs-grid, .cs-list {
  display: grid;
  gap: 12px;
}

.cs-card, .cs-panel, .cs-poi {
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(14, 53, 94, .08);
  padding: 14px;
}

.cs-card p, .cs-poi p {
  margin: 0 0 12px;
  color: #516173;
}

.cs-price {
  margin-bottom: 12px;
  color: var(--cs-blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.cs-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cs-card-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cs-offline-status {
  display: inline-flex;
  margin-top: 6px;
  color: #165a3a;
  font-weight: 900;
}

.cs-spaced {
  margin-top: 28px;
}

.cs-auth {
  max-width: 560px;
}

.cs-auth label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.cs-auth textarea {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid rgba(14, 53, 94, .18);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.cs-auth input {
  width: 100%;
  min-height: 42px;
  margin: 6px 0 12px;
  border: 1px solid rgba(14, 53, 94, .18);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.cs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cs-tabs button.is-active {
  color: #fff;
  background: var(--cs-blue);
}

.cs-form-grid {
  display: grid;
  gap: 2px 12px;
}

.cs-check {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0;
  font-weight: 600 !important;
}

.cs-check input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

@media (min-width: 720px) {
  .cs-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cs-topbar {
    gap: 8px;
    padding: 7px 8px;
  }

  .cs-topbar img {
    height: 28px;
  }

  .cs-topbar nav button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: .82rem;
  }

  .cs-language {
    max-width: 76px;
    min-height: 34px;
    padding: 5px 6px;
    font-size: .78rem;
  }

  .cs-account-head {
    display: block;
  }

  .cs-status {
    display: inline-flex;
    margin-top: 8px;
  }

  .cs-profile-grid {
    grid-template-columns: 1fr;
  }

  .cs-card-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cs-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cs-map-page {
  position: relative;
  height: calc(var(--cs-viewport-height) - 58px);
  overflow: hidden;
  background: #dfe8ec;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cs-offline-banner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 108px;
  z-index: 4;
  border: 1px solid rgba(14, 53, 94, .16);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--cs-blue);
  background: rgba(255, 246, 225, .96);
  box-shadow: 0 10px 28px rgba(14, 53, 94, .12);
  font-size: .82rem;
  font-weight: 800;
}

body.cs-map-mode .cs-map-page {
  height: calc(var(--cs-viewport-height) - 46px);
}

.cs-map-header {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(14, 53, 94, .14);
}

.cs-map-header h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-map-actions {
  display: flex;
  gap: 4px;
}

.cs-map-icon-btn,
.cs-locate-btn {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: .9rem;
  line-height: 1;
}

.cs-emergency-btn {
  color: #dc3545;
}

.cs-emergency-btn.is-active {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.cs-emergency-icon,
.cs-emergency-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.cs-emergency-icon svg {
  fill: currentColor;
}

.cs-emergency-icon svg path {
  fill: #fff;
}

.cs-pin-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
  background: currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.cs-emergency-panel {
  position: absolute;
  top: 112px;
  right: 12px;
  z-index: 45;
  width: min(330px, calc(100% - 24px));
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(14, 53, 94, .12);
  box-shadow: 0 18px 42px rgba(14, 53, 94, .24);
}

.cs-emergency-panel[hidden] {
  display: none;
}

.cs-emergency-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.cs-emergency-head strong,
.cs-emergency-head span {
  display: block;
}

.cs-emergency-head span,
.cs-emergency-panel p {
  color: #64748b;
  font-size: .78rem;
  line-height: 1.35;
}

.cs-emergency-head button {
  border: 0;
  background: transparent;
  color: #0E355E;
  font-size: 1.4rem;
  line-height: 1;
}

.cs-emergency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cs-emergency-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border-radius: 8px;
  color: #0E355E;
  text-decoration: none;
  background: #F8F7F4;
  border: 1px solid rgba(14, 53, 94, .1);
}

.cs-emergency-call-number {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: #dc3545;
  font-weight: 900;
  font-size: .82rem;
  line-height: 1;
}

.cs-emergency-grid strong {
  font-size: .78rem;
  line-height: 1.15;
}

.cs-emergency-categories {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(14, 53, 94, .1);
}

.cs-emergency-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #0E355E;
  font-size: .82rem;
}

.cs-emergency-section-title span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: #0E355E;
  font-size: .7rem;
  font-weight: 800;
}

.cs-emergency-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cs-emergency-category-grid button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  border: 1px solid color-mix(in srgb, var(--cat-color) 24%, transparent);
  border-radius: 8px;
  color: #0E355E;
  background: color-mix(in srgb, var(--cat-color) 8%, #fff);
  text-align: left;
}

.cs-emergency-category-grid button > svg,
.cs-emergency-category-grid button > img,
.cs-emergency-category-grid button > .cs-category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cs-emergency-category-grid button > span {
  display: block;
  min-width: 0;
}

.cs-emergency-category-grid strong,
.cs-emergency-category-grid small {
  display: block;
}

.cs-emergency-category-grid strong {
  overflow: hidden;
  color: #0E355E;
  font-size: .76rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.cs-emergency-category-grid small {
  margin-top: 2px;
  color: #64748b;
  font-size: .66rem;
}

.cs-emergency-category-grid button:active {
  transform: translateY(1px);
}

.cs-pin-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.cs-map-back {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.cs-map-categories {
  position: absolute;
  top: 56px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cs-map-categories button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-color: rgba(14, 53, 94, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(14, 53, 94, .12);
}

.cs-map-categories button.is-active {
  color: #fff;
  border-color: var(--cat-color, var(--cs-blue));
  background: var(--cat-color, var(--cs-blue));
}

.cs-map-categories button.is-active .cs-category-icon {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .35));
}

.cs-map-categories span {
  display: none;
}

.cs-category-status {
  position: absolute;
  top: 104px;
  left: 10px;
  z-index: 3;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--cs-blue);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(14, 53, 94, .1);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-all-category-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: grid !important;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 4px;
}

.cs-all-category-icon::before,
.cs-all-category-icon::after {
  content: "";
}

.cs-all-category-icon,
.cs-all-category-icon::before,
.cs-all-category-icon::after {
  border-radius: 4px;
}

.cs-all-category-icon {
  background:
    linear-gradient(var(--cs-blue), var(--cs-blue)) left top / 7px 7px no-repeat,
    linear-gradient(var(--cs-blue), var(--cs-blue)) right top / 7px 7px no-repeat,
    linear-gradient(var(--cs-blue), var(--cs-blue)) left bottom / 7px 7px no-repeat,
    linear-gradient(var(--cs-blue), var(--cs-blue)) right bottom / 7px 7px no-repeat;
}

.cs-map-categories button.is-active .cs-all-category-icon {
  background:
    linear-gradient(#fff, #fff) left top / 7px 7px no-repeat,
    linear-gradient(#fff, #fff) right top / 7px 7px no-repeat,
    linear-gradient(#fff, #fff) left bottom / 7px 7px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 7px 7px no-repeat;
}

.cs-map-dock {
  position: absolute;
  left: 10px;
  right: 76px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(14, 53, 94, .18);
}

.cs-map-dock button {
  display: grid;
  grid-template-rows: 18px 1fr;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 46px;
  padding: 5px 3px;
  border-color: rgba(14, 53, 94, .14);
  border-radius: 7px;
}

.cs-map-dock button.is-active {
  color: #fff;
  background: var(--cs-blue);
}

.cs-map-dock strong {
  line-height: 1;
  font-size: .95rem;
}

.cs-map-dock span {
  overflow: hidden;
  line-height: 1.1;
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-section-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.cs-section-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cs-map-panel-tabs .cs-section-icon {
  width: 16px;
  height: 16px;
  margin: 0 auto;
}

.cs-map-panel-tabs .cs-section-icon svg {
  width: 16px;
  height: 16px;
}

.cs-google-map {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.cs-map-placeholder {
  height: 100%;
  min-height: calc(100vh - 58px);
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 174, 88, .24), transparent 28%),
    radial-gradient(circle at 75% 30%, rgba(37, 183, 201, .16), transparent 24%),
    linear-gradient(135deg, #EEF6F5, #F8F7F4);
}

.cs-map-placeholder strong {
  display: block;
  font-size: 3rem;
}

.cs-poi a {
  color: var(--cs-blue);
  font-weight: 800;
}

.cs-link-button,
.cs-info-action {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--cs-blue);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  text-decoration: underline;
}

.cs-info-action {
  display: inline-flex;
  margin-top: 6px;
}

.cs-poi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.cs-map-poi-panel {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  z-index: 4;
  max-height: 64vh;
  overflow: hidden;
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(14, 53, 94, .18);
  transform: translateY(calc(100% + 16px));
  transition: transform .22s ease;
}

.cs-map-poi-panel.is-open {
  transform: translateY(0);
}

body.cs-keyboard-open .cs-map-poi-panel.is-open {
  position: fixed;
  left: 8px;
  right: 8px;
  top: 92px;
  bottom: calc(var(--cs-keyboard-inset) + 8px);
  max-height: none;
  border-radius: 8px;
}

.cs-map-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(14, 53, 94, .1);
}

.cs-map-panel-head button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
}

.cs-map-panel-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 10px 0;
}

.cs-map-panel-tabs button {
  display: grid;
  grid-template-rows: 16px 1fr;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 42px;
  padding: 5px 4px;
  border-color: rgba(14, 53, 94, .14);
  font-size: .7rem;
}

.cs-map-panel-tabs button strong {
  line-height: 1;
  font-size: .95rem;
}

.cs-map-panel-tabs .cs-section-label {
  display: none;
}

.cs-map-panel-tabs button.is-active {
  color: #fff;
  background: var(--cs-blue);
}

.cs-map-filters {
  padding: 8px 10px 0;
}

.cs-map-filters input,
.cs-map-filters textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(14, 53, 94, .14);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--cs-blue);
  background: #fff;
  font: inherit;
  font-size: .86rem;
  user-select: text;
  -webkit-user-select: text;
}

.cs-map-filters textarea {
  resize: vertical;
}

.cs-suggestion-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 6px;
}

.cs-useful-category-filter {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.cs-useful-category-filter > span {
  color: #516173;
  font-size: .68rem;
  font-weight: 900;
}

.cs-useful-category-filter > div {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.cs-useful-category-filter label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  min-height: 32px;
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 999px;
  padding: 5px 8px 5px 6px;
  color: var(--cs-blue);
  background: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.cs-useful-category-filter input {
  width: 14px;
  min-height: 14px;
  padding: 0;
  border: 0;
  accent-color: var(--cat-color, var(--cs-blue));
}

.cs-useful-category-filter .cs-category-icon {
  width: 18px;
  height: 18px;
  margin: 0;
}

.cs-map-add-btn {
  width: 38px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--cs-blue);
  font-size: 1.3rem;
  line-height: 1;
}

.cs-suggestion-form {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  background: rgba(250, 247, 242, .92);
}

.cs-suggestion-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cs-suggestion-actions button {
  min-height: 34px;
  padding: 6px 8px;
  font-size: .78rem;
}

.cs-form-note {
  margin: 0;
  color: #165a3a;
  font-size: .78rem;
  font-weight: 800;
}

.cs-form-note.is-error {
  color: #9b1c1c;
}

.cs-message-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 53, 94, .58);
}

.cs-message-popup-content {
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  color: #0e355e;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  text-align: center;
}

.cs-message-popup-content strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cs-message-popup-content p {
  margin: 0 0 18px;
}

.cs-filter-grid {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.cs-filter-grid label {
  color: #516173;
  font-size: .68rem;
  font-weight: 900;
}

.cs-filter-grid input {
  margin-top: 3px;
}

.cs-map-poi-panel .cs-list {
  max-height: calc(64vh - 94px);
  overflow-y: auto;
  padding: 10px;
}

body.cs-keyboard-open .cs-map-poi-panel .cs-list {
  max-height: calc(var(--cs-viewport-height) - 230px);
}

body.cs-keyboard-open .cs-map-detail {
  max-height: calc(var(--cs-viewport-height) - 160px);
}

.cs-map-detail {
  max-height: calc(64vh - 50px);
  overflow-y: auto;
}

.cs-map-detail-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(14, 53, 94, .1);
  background: rgba(255, 255, 255, .98);
}

.cs-map-detail-head button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.4rem;
}

.cs-map-detail-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-map-detail-body {
  padding: 12px;
}

.cs-map-detail-body p {
  margin: 0 0 12px;
  color: #516173;
  line-height: 1.42;
}

.cs-map-detail-body h2 {
  margin: 12px 0 8px;
}

.cs-map-detail-body .cs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cs-map-detail-image {
  width: 100%;
  max-height: 150px;
  margin-bottom: 10px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f5f7;
}

.cs-detail-stops {
  display: grid;
  gap: 8px;
}

.cs-detail-stop {
  padding: 9px;
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  background: #F8F7F4;
}

.cs-detail-stop strong {
  display: block;
  margin-bottom: 5px;
}

.cs-detail-stop ul {
  margin: 0;
  padding-left: 18px;
  color: #516173;
  font-size: .86rem;
}

.cs-poi-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-poi {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
}

.cs-poi-body {
  min-width: 0;
}

.cs-poi-body h2 {
  margin-bottom: 4px;
}

.cs-map-thumb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  background: #F8F7F4;
}

.cs-map-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-map-thumb-icon .cs-category-icon {
  width: 30px;
  height: 30px;
}

.cs-category-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.cs-map-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--cs-sky);
  font-size: .68rem;
  font-weight: 900;
}

.cs-event-badge {
  background: var(--cs-gold);
}

.cs-sponsor-badge {
  background: var(--cs-gold);
}

.cs-suggestion-badge {
  background: var(--cs-sky);
}

.cs-sponsor-info-img {
  width: 100%;
  max-height: 96px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #f3f5f7;
}

.cs-suggestion-inline {
  display: grid;
  gap: 6px;
}

.cs-suggestion-inline img {
  width: 100%;
  max-height: 86px;
  object-fit: cover;
  border-radius: 6px;
  background: #f3f5f7;
}

.cs-suggestion-inline p {
  margin: 0;
  color: #516173;
  font-size: .86rem;
}

.cs-sponsor-rotator {
  position: absolute;
  left: 10px;
  right: 76px;
  bottom: 66px;
  z-index: 3;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(14, 53, 94, .12);
  border-radius: 8px;
  padding: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(14, 53, 94, .16);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .24s ease, transform .24s ease;
}

.cs-sponsor-rotator a,
.cs-sponsor-rotator button {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.cs-sponsor-rotator.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.cs-sponsor-rotator img {
  width: 54px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: #f3f5f7;
}

.cs-sponsor-rotator strong,
.cs-sponsor-rotator span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-sponsor-rotator strong {
  font-size: .82rem;
}

.cs-sponsor-rotator span {
  color: #516173;
  font-size: .72rem;
  font-weight: 700;
}

.cs-transport-card p,
.cs-sponsor-card p,
.cs-suggestion-card p {
  font-size: .92rem;
}

.cs-sponsor-detail-panel {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 60;
  max-height: min(76vh, 520px);
  overflow-y: auto;
  border: 1px solid rgba(14, 53, 94, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(14, 53, 94, .24);
}

.cs-sponsor-detail {
  position: relative;
  padding: 12px;
}

.cs-sponsor-detail h2 {
  margin-top: 8px;
}

.cs-sponsor-detail p {
  color: #516173;
  line-height: 1.4;
}

.cs-sponsor-detail-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
}

.cs-sponsor-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-card-meta {
  color: #516173;
  font-size: .8rem !important;
  font-weight: 800;
}

.cs-card-chip,
.cs-sponsor-features span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--cs-blue);
  background: var(--cs-sand);
  font-size: .72rem;
  font-weight: 900;
}

.cs-event-category-chip {
  border: 1px solid var(--event-color, var(--cs-gold));
  background: var(--cs-light);
}

.cs-sponsor-price {
  display: block;
  margin: 4px 0;
  color: var(--cs-blue);
  font-size: .95rem;
}

.cs-sponsor-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0;
}

.cs-sponsor-guest-info {
  display: grid;
  gap: 7px;
  margin: 10px 0;
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  padding: 10px;
  background: var(--cs-light);
}

.cs-sponsor-guest-info p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.cs-sponsor-guest-info span {
  color: #516173;
}

.cs-event-appointments {
  margin: 10px 0;
}

.cs-event-appointments h3 {
  margin: 0 0 6px;
  font-size: .88rem;
}

.cs-event-appointments ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-event-appointments li {
  display: grid;
  gap: 2px;
  border-left: 3px solid var(--cs-gold);
  padding: 5px 8px;
  background: var(--cs-light);
}

.cs-event-appointments span,
.cs-event-appointments small {
  color: #516173;
}

.cs-event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0;
}

.cs-event-gallery a {
  display: block;
  min-width: 0;
}

.cs-event-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  object-fit: cover;
  background: #f3f5f7;
}

.cs-detail-tabs {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 10px 0;
}

.cs-detail-tab-buttons {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.cs-detail-tab-buttons button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid rgba(14, 53, 94, .14);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--cs-blue);
  background: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.cs-detail-tab-buttons button.is-active {
  border-color: var(--cs-blue);
  color: #fff;
  background: var(--cs-blue);
}

.cs-detail-tab-panel {
  min-width: 0;
  color: #516173;
}

.cs-detail-tab-panel > p {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.cs-detail-tab-panel > p strong {
  color: var(--cs-blue);
}

.cs-detail-tab-panel > p span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cs-poi-info .cs-detail-tabs {
  margin-bottom: 7px;
}

.cs-poi-info .cs-detail-tab-panel {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 3px;
}

.cs-poi-info .cs-sponsor-detail {
  padding: 0;
}

.cs-poi-info .cs-sponsor-detail h2 {
  margin: 7px 0 4px;
  font-size: 1rem;
}

.cs-poi-info .cs-sponsor-info-img {
  width: 100%;
  max-height: 120px;
  border-radius: 7px;
  object-fit: cover;
}

.cs-poi-info .cs-sponsor-features {
  margin: 6px 0;
}

.cs-poi-info .cs-event-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cs-poi-info button.cs-link-button {
  cursor: pointer;
}

.cs-poi-info {
  width: min(340px, calc(100vw - 32px));
  max-width: none;
  padding: 12px 34px 12px 12px;
  color: var(--cs-blue);
}

.cs-poi-info .cs-category-icon {
  float: left;
  margin: 0 8px 6px 0;
}

.cs-poi-info > strong {
  display: block;
  margin: 0 0 8px;
  padding-right: 8px;
  font-size: .96rem;
  line-height: 1.2;
}

.cs-poi-info > p {
  margin: 0 0 8px;
  color: #475569;
  font-size: .84rem;
  line-height: 1.4;
}

.cs-poi-info > ul {
  max-height: 130px;
  overflow-y: auto;
  margin: 8px 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: .84rem;
  line-height: 1.35;
}

.cs-poi-info > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 5px 5px 0 0;
  border: 1px solid rgba(14, 53, 94, .14);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--cs-blue);
  background: #fff;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
}

.gm-style .gm-style-iw-c {
  max-width: calc(100vw - 24px) !important;
  max-height: min(72svh, 560px) !important;
  border-radius: 8px;
  padding: 0 !important;
  box-shadow: 0 14px 34px rgba(14, 53, 94, .2);
}

.gm-style .gm-style-iw-d {
  max-width: calc(100vw - 24px) !important;
  max-height: min(68svh, 520px) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
}

.gm-style .gm-ui-hover-effect {
  top: 5px !important;
  right: 5px !important;
  width: 30px !important;
  height: 30px !important;
}

.cs-poi-info-card {
  width: min(348px, calc(100vw - 24px));
  border: 0;
  box-shadow: none;
  padding: 10px 34px 10px 10px;
  display: block;
}

.cs-poi-info-card .cs-category-icon {
  float: none;
  margin: 0;
}

.cs-poi-info-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 56px;
  padding-right: 4px;
}

.cs-poi-info-head .cs-map-thumb {
  width: 54px;
  height: 54px;
}

.cs-poi-info-title h2 {
  margin: 0 0 3px;
  padding-right: 0;
  font-size: .96rem;
  line-height: 1.15;
}

.cs-poi-info-title .cs-poi-info-meta {
  margin: 0;
  font-size: .76rem;
  line-height: 1.25;
  color: #64748b;
}

.cs-poi-info-card .cs-poi-info-desc p {
  margin: 0 0 6px;
}

.cs-poi-info-card .cs-poi-info-desc p:last-child {
  margin-bottom: 0;
}

.cs-poi-info-card .cs-poi-info-desc {
  max-height: 118px;
  overflow-y: auto;
  margin-top: 9px;
  border-top: 1px solid rgba(14, 53, 94, .1);
  padding-top: 8px;
  color: #334155;
  font-size: .8rem;
  line-height: 1.35;
}

.cs-poi-info-card .cs-poi-info-desc strong {
  display: inline;
  margin-right: 4px;
  color: var(--cs-blue);
}

.cs-poi-info-card .cs-poi-info-desc span {
  color: #334155;
}

.cs-poi-info-card .cs-poi-info-desc a {
  color: var(--cs-blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.cs-poi-info-card .cs-info-times {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-poi-info-card .cs-info-times li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(14, 53, 94, .08);
  padding-bottom: 5px;
}

.cs-poi-info-card .cs-info-times li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Pinout allineato alla gerarchia informativa della mappa Web Forms. */
.cs-poi-info-card .cs-poi-info-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0 3px 9px 0;
  border-bottom: 1px solid rgba(14, 53, 94, .1);
}

.cs-poi-info-card .cs-poi-info-header .cs-category-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.cs-poi-info-card .cs-poi-info-category,
.cs-poi-info-card .cs-poi-info-label,
.cs-poi-info-card .cs-poi-info-meta span {
  color: #64748b;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cs-poi-info-card .cs-poi-info-title h2 {
  margin: 2px 0 0;
  color: var(--cs-blue);
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cs-poi-info-card .cs-poi-info-media-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin: 10px 0;
}

.cs-poi-info-card .cs-poi-info-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 72px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  background: var(--cs-sand);
}

.cs-poi-info-card .cs-poi-info-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-poi-info-card .cs-poi-info-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: #334155;
  font-size: .76rem;
}

.cs-poi-info-card .cs-poi-info-meta strong {
  display: block;
  color: #334155;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cs-poi-info-card .cs-poi-info-body {
  max-height: 230px;
  overflow-y: auto;
  padding-right: 3px;
  scroll-behavior: smooth;
}

.cs-poi-info-card .cs-poi-info-section {
  margin-bottom: 10px;
}

.cs-poi-info-card .cs-poi-data {
  display: grid;
  gap: 6px;
}

.cs-poi-info-card .cs-poi-data-row {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  border: 1px solid rgba(14, 53, 94, .08);
  border-radius: 8px;
  padding: 7px 8px;
  color: #334155;
  background: rgba(250, 247, 242, .72);
  font-size: .76rem;
}

.cs-poi-info-card .cs-poi-data-row span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cs-poi-info-card .cs-poi-data-row strong {
  min-width: 0;
  color: var(--cs-blue);
  text-align: right;
  overflow-wrap: anywhere;
}

.cs-poi-info-card .cs-poi-data-row a {
  color: inherit;
}

.cs-poi-info-card .cs-poi-info-description {
  color: #334155;
  font-size: .82rem;
  line-height: 1.45;
}

.cs-poi-info-card .cs-poi-info-description p {
  margin: 4px 0 0;
}

.cs-poi-info-card .cs-poi-info-actions {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(14, 53, 94, .1);
}

.cs-event-description {
  max-height: 175px;
  overflow-y: auto;
  margin-top: 7px;
  border: 1px solid rgba(14, 53, 94, .1);
  border-radius: 8px;
  padding: 9px 10px;
  color: #334155;
  background: var(--cs-light);
  line-height: 1.5;
}

.cs-empty-detail {
  color: #64748b;
  font-size: .8rem;
}

.cs-poi-info-card .cs-info-times span {
  color: #64748b;
  font-size: .75rem;
  text-align: right;
}

.cs-poi-info-card .cs-poi-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.cs-poi-info-card .cs-link-button {
  min-height: 28px;
  border: 1px solid rgba(14, 53, 94, .14);
  border-radius: 6px;
  padding: 5px 6px;
  background: #fff;
  font-size: .68rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.cs-poi-info-card .cs-link-button:first-child {
  grid-column: 1 / -1;
  color: #fff;
  background: var(--cs-blue);
}

.cs-poi-info-suggestions {
  display: grid;
  gap: 6px;
  margin: 0 0 8px;
}

.cs-poi-info-suggestions .cs-suggestion-inline {
  border-top: 1px solid rgba(14, 53, 94, .1);
  padding-top: 6px;
}

.cs-poi-info-suggestions .cs-suggestion-inline img {
  max-height: 54px;
}

.cs-poi-info-suggestions .cs-suggestion-inline strong {
  font-size: .78rem;
}

.cs-poi-info-suggestions .cs-suggestion-inline p {
  font-size: .74rem;
}

.cs-error {
  margin: 20px;
}

body.cs-maintenance-mode .cs-topbar {
  display: none;
}

body.cs-maintenance-mode .cs-app {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
  background: #f4f7f9;
}

.cs-maintenance {
  width: min(100%, 520px);
  text-align: center;
}

.cs-maintenance img {
  width: min(240px, 70vw);
  height: auto;
  margin-bottom: 24px;
}

.cs-maintenance h1 {
  margin: 0 0 12px;
  color: #0e355e;
  font-size: 2rem;
}

.cs-maintenance p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .cs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-map-header {
    left: 16px;
    right: 16px;
  }
  .cs-map-categories {
    top: 62px;
    left: 16px;
    right: 440px;
  }
  .cs-category-status {
    top: 112px;
    left: 16px;
    max-width: 420px;
  }
  .cs-offline-banner {
    left: 16px;
    right: auto;
    top: 108px;
    max-width: 420px;
  }
  .cs-map-dock {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 400px;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
  .cs-sponsor-rotator {
    left: 16px;
    right: auto;
    bottom: 16px;
    width: 360px;
  }
  .cs-sponsor-detail-panel {
    left: 16px;
    right: auto;
    bottom: 86px;
    width: 380px;
  }
  .cs-map-poi-panel {
    top: 62px;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: 400px;
    max-height: none;
    border-radius: 8px;
    transform: translateX(calc(100% + 24px));
  }
  .cs-map-poi-panel.is-open {
    transform: translateX(0);
  }
  body.cs-keyboard-open .cs-map-poi-panel.is-open {
    position: absolute;
    top: 62px;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: 400px;
    max-height: none;
  }
  .cs-map-poi-panel .cs-list {
    max-height: calc(100vh - 248px);
  }
  .cs-map-detail {
    max-height: calc(100vh - 132px);
  }
  #btnToggleList {
    display: inline-flex;
  }
}
