.disaster-tabs { display: flex; gap: .5rem; padding: .35rem; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.disaster-tabs a { flex: 1; padding: .85rem; border-radius: .55rem; color: var(--muted); text-align: center; text-decoration: none; font-weight: 800; }
.disaster-tabs .is-current { background: #e3f1ff; color: #245580; }
.shelter-management-heading { padding: 0 0 1rem; align-items: center; flex-wrap: wrap; gap: 1rem; }
.shelter-heading-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.shelter-management-list article { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.shelter-management-list h3 { margin: 0 0 .5rem; }
.shelter-management-list p { margin: 0 0 .5rem; }
.shelter-management-list small { color: var(--muted); }
.shelter-dialog { box-sizing: border-box; width: min(780px, calc(100% - 2rem)); max-height: 90dvh; overflow: auto; padding: 1.5rem; border: 0; border-radius: 1rem; color: var(--ink); background: #fff; }
.shelter-dialog::backdrop { background: rgba(8,25,19,.55); }
.shelter-dialog .dialog-heading { margin-bottom: 1.5rem; }
.shelter-dialog .dialog-heading h2 { margin: 0; }
.shelter-dialog .dialog-close { flex-shrink: 0; }
.shelter-photo-fields, .shelter-information-fields { min-width: 0; border: 1px solid var(--line); border-radius: .6rem; padding: 1rem; display: grid; gap: 1rem; }
.shelter-photo-fields .help-text, .shelter-information-fields .help-text { margin: 0; }
.shelter-photo-field { display: grid; gap: .6rem; }
.shelter-photo-field img { width: 130px; height: 90px; object-fit: cover; border-radius: .4rem; }
.form-stack .shelter-checkbox { display: flex; align-items: center; gap: .5rem; }
.form-stack .shelter-checkbox input { width: auto; }
.shelter-information-links { margin-bottom: 1.25rem; }
.shelter-information-links a { display: block; margin: .6rem 0; color: var(--green-dark); font-weight: 700; }
.shelter-display-layout { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; }
.shelter-selector nav { display: grid; }
.shelter-selector nav a { display: grid; gap: .5rem; padding: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: .5rem; }
.shelter-selector nav a[aria-current] { background: #e3f1ff; color: #245580; }
.shelter-selector nav small { color: var(--muted); overflow-wrap: anywhere; }
.shelter-map-frame { width: 100%; height: 360px; border: 0; border-radius: .6rem; }
.shelter-details dl { display: grid; gap: 1rem; }
.shelter-details dt { color: var(--muted); font-size: .9rem; }
.shelter-details dd { margin: .3rem 0 0; overflow-wrap: anywhere; }
.shelter-danger-points { white-space: pre-wrap; }
.shelter-acceptance { padding: .75rem 1rem; border-radius: .5rem; background: #fff0f0; color: var(--ink); overflow-wrap: anywhere; }
.shelter-photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }
.shelter-photo-gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: .4rem; }
@media (max-width: 760px) { .shelter-display-layout { grid-template-columns: 1fr; } .shelter-management-list article { align-items: flex-start; flex-direction: column; } .shelter-photo-gallery img { height: 100px; } }

#shelter-map { scroll-margin-top: 90px; }

.shelter-information-settings { margin-bottom: 1.25rem; }

.disaster-home-button { display: flex; flex-direction: column; gap: .25rem; }
.disaster-home-button small { font-size: .75rem; }
.disaster-home-normal { background: #e3f1ff; border-color: #bfd9f3; color: #245580; }
.disaster-home-normal:hover { background: #cfe6ff; }
.disaster-home-button:focus-visible { outline: 3px solid #245580; outline-offset: 3px; }
.disaster-home-button span { overflow-wrap: anywhere; }
.disaster-safety-panel { max-width: 760px; margin: 0 auto; }
.disaster-shelter-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.disaster-information-page .disaster-tabs a { padding: .85rem .5rem; }

.disaster-alert-emphasis { padding: 1.25rem 1.5rem; border-radius: .75rem; margin-bottom: 1.25rem; }
.disaster-alert-emphasis h2 { color: inherit; margin: 0 0 .75rem; }
.disaster-alert-emphasis p { color: inherit; margin: 0; font-weight: 800; line-height: 1.7; }
