.stand-page { margin: 0; padding: 20px; }
.stand-map-only { margin: 0; padding: 0; height: 100vh; display: flex; flex-direction: column; }
.stand-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.stand-toolbar p { margin: 0; flex: 1; min-width: 160px; }
.stand-toolbar button, .stand-popup button { background: #0f4a73; color: white; border: 0; border-radius: 5px; padding: 10px 14px; cursor: pointer; }
.stand-toolbar button:disabled, #switch-confirm:disabled { opacity: .5; cursor: default; }
.stand-map-only .stand-toolbar { padding: 8px; margin: 0; }
#map { width: 100%; height: 500px; margin-bottom: 1rem; border-radius: 8px; }
.stand-map-only #map { flex: 1; min-height: 0; height: auto; margin: 0; border-radius: 0; }
.stand-popup { min-width: 170px; }
.stand-popup p { margin: 6px 0; }
.stand-popup ul { margin: 6px 0; padding-left: 20px; }
.stand-popup img { display: block; max-width: 180px; max-height: 120px; width: 100%; object-fit: cover; border-radius: 6px; margin: 8px 0; }
.stand-popup button { margin-top: 8px; width: 100%; }
.stand-filter { display: block; text-align: right; }
.stand-table-wrap { overflow-x: auto; }
.stand-table { border-collapse: collapse; width: 100%; background: white; }
.stand-table th, .stand-table td { border: 1px solid #ddd; padding: 9px; text-align: left; vertical-align: top; }
.stand-table th { background: #0f4a73; color: white; }
.stand-table ul { margin: 0; padding-left: 16px; }
#switch-stand-dialog { max-width: 480px; width: calc(100% - 48px); max-height: 85vh; overflow: auto; border: 1px solid #ccc; border-radius: 10px; padding: 20px; }
#switch-stand-dialog::backdrop { background: rgb(0 0 0 / .45); }
#switch-stand-dialog h2 { margin-top: 0; }
#switch-stand-dialog label { display: block; margin-top: 12px; font-weight: bold; }
#switch-stand-dialog select { box-sizing: border-box; width: 100%; padding: 10px; margin-top: 5px; }
.stand-confirmation { background: #eef4fa; padding: 10px; border-radius: 5px; }
.stand-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.stand-dialog-actions button { padding: 10px 12px; cursor: pointer; }
#switch-confirm { background: #0f4a73; color: white; border: 1px solid #0f4a73; border-radius: 5px; }
#switch-error { color: #a21b1b; }
@media (max-width: 600px) {
  .stand-page { padding: 10px; }
  #map { height: 65vh; }
  .coordinates { display: none; }
}
