.special-doc-keypoints > div {
    grid-template-columns: 5rem minmax(0, 1fr) !important;
}

.damage-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.65fr);
    gap: 18px;
    margin-top: 32px;
}

.damage-map-wrap {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dbe2e6;
    border-radius: 12px;
    background: #eef2f4;
}

.damage-map {
    width: 100%;
    height: 620px;
}

.damage-map .leaflet-control-attribution {
    font-size: 0.65rem;
}

.damage-map-legend {
    position: absolute;
    z-index: 500;
    left: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(200, 209, 214, 0.9);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 3px 12px rgba(36, 49, 57, 0.08);
}

.damage-map-legend-title {
    display: block;
    margin-bottom: 7px;
    color: #66747c;
    font-size: 0.7rem;
    font-weight: 700;
}

#damage-map-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 9px;
}

.damage-map-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #66737b;
    font-size: 0.68rem;
}

.damage-map-legend-item img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.damage-detail {
    min-width: 0;
    border: 1px solid #dbe2e6;
    border-radius: 12px;
    background: #fff;
}

[hidden] {
    display: none !important;
}

.damage-detail-empty {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    text-align: center;
}

.damage-detail-empty strong {
    color: #35424a;
    font-size: 0.95rem;
}

.damage-detail-empty p {
    max-width: 280px;
    margin: 10px 0 0;
    color: #7b868d;
    font-size: 0.78rem;
    line-height: 1.75;
}

.damage-detail-content {
    padding: 26px;
}

.damage-detail-heading {
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e6e9;
}

.damage-detail-heading > span {
    display: block;
    margin-bottom: 5px;
    color: #7b878e;
    font-size: 0.75rem;
}

.damage-detail-heading h3 {
    margin: 0;
    color: #263139;
    font-size: 1.35rem;
    line-height: 1.4;
}

.damage-detail-local {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 8px;
}

.damage-detail-local > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #e6eaec;
}

.damage-detail-local span,
.damage-detail-pref-grid span {
    color: #758088;
    font-size: 0.75rem;
}

.damage-detail-local strong {
    color: #313d45;
    font-size: 0.9rem;
}

.damage-detail-pref {
    margin-top: 27px;
}

.damage-detail-pref h4 {
    margin: 0 0 12px;
    color: #38444b;
    font-size: 0.86rem;
}

.damage-detail-pref-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e0e5e8;
    border-radius: 9px;
}

.damage-detail-pref-grid > div {
    padding: 14px;
    border-right: 1px solid #e0e5e8;
    border-bottom: 1px solid #e0e5e8;
}

.damage-detail-pref-grid > div:nth-child(2n) {
    border-right: 0;
}

.damage-detail-pref-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.damage-detail-pref-grid strong {
    display: block;
    margin-top: 6px;
    color: #303b43;
    font-size: 0.88rem;
}

.damage-detail-note {
    margin: 13px 0 0;
    color: #8a949a;
    font-size: 0.68rem;
    line-height: 1.65;
}

.damage-map-note {
    margin-top: 14px;
    padding: 17px 19px;
    border-left: 3px solid #8197a3;
    background: #f6f8f9;
}

.damage-map-note strong {
    color: #39464e;
    font-size: 0.8rem;
}

.damage-map-note p {
    margin: 6px 0 0;
    color: #6b777e;
    font-size: 0.76rem;
    line-height: 1.7;
}

.damage-intensity-marker {
    background: transparent;
    border: 0;
}

.damage-intensity-marker img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

@media (max-width: 900px) {
    .damage-map-layout {
        grid-template-columns: 1fr;
    }

    .damage-map {
        height: 520px;
    }
}

@media (max-width: 760px) {
    .damage-map {
        height: 430px;
    }

    .damage-map-legend {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .damage-detail-content {
        padding: 20px;
    }
}