.msw-page .standard-page > .article-body {
    max-width: none;
}

.msw {
    --msw-paper: var(--paper, #fafaf6);
    --msw-ink: var(--ink, #202923);
    --msw-green: var(--green, #284c39);
    --msw-muted: var(--muted, #606c63);
    --msw-line: var(--line, #dcded5);
    --msw-pale: var(--pale, #eef0e8);
    --msw-sans: var(--sans, Arial, Helvetica, sans-serif);
    --msw-serif: var(--serif, Georgia, 'Times New Roman', serif);
    --msw-dark-paper: #1c231f;
    --msw-dark-ink: #edf1e9;
    --msw-dark-green: #b3d2ba;
    --msw-dark-muted: #b9c5bb;
    --msw-dark-line: #4c5a50;
    --msw-dark-pale: #27332b;
    --msw-map-filter: none;
    min-width: 0;
    margin-block: 0 2rem;
    background: var(--msw-paper);
    color: var(--msw-ink);
    font: 14px/1.45 var(--msw-sans);
    text-align: start;
    color-scheme: light;
}

:is([data-theme="dark"], [data-color-scheme="dark"], .dark-mode, .theme-dark) .msw {
    --msw-paper: var(--msw-dark-paper);
    --msw-ink: var(--msw-dark-ink);
    --msw-green: var(--msw-dark-green);
    --msw-muted: var(--msw-dark-muted);
    --msw-line: var(--msw-dark-line);
    --msw-pale: var(--msw-dark-pale);
    --msw-map-filter: brightness(.78) saturate(.8);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    .msw:not(:is([data-theme="light"], [data-color-scheme="light"], .light-mode, .theme-light) .msw) {
        --msw-paper: var(--msw-dark-paper);
        --msw-ink: var(--msw-dark-ink);
        --msw-green: var(--msw-dark-green);
        --msw-muted: var(--msw-dark-muted);
        --msw-line: var(--msw-dark-line);
        --msw-pale: var(--msw-dark-pale);
        --msw-map-filter: brightness(.78) saturate(.8);
        color-scheme: dark;
    }
}

.msw *,
.msw *::before,
.msw *::after {
    box-sizing: border-box;
}

.msw [hidden],
.msw-dialog:not([open]) {
    display: none !important;
}

.msw .msw-visually-hidden,
.msw .msw-cell-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.msw .msw-source,
.msw .msw-status,
.msw .msw-updated,
.msw .msw-map-status,
.msw .msw-original {
    margin: 0;
    color: var(--msw-muted);
    font: 12px/1.5 var(--msw-sans);
    text-align: start;
}

.msw a {
    color: var(--msw-green);
    text-decoration: underline;
    text-underline-offset: .15em;
}

.msw .msw-filters {
    display: grid;
    grid-template-columns: .8fr repeat(3, minmax(0, 1fr)) 1.13fr;
    gap: 10px;
    margin: 18px 0 12px;
}

.msw-filters label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--msw-muted);
    font: 600 12px/1.4 var(--msw-sans);
}

.msw-filters select,
.msw .msw-button {
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--msw-line);
    border-radius: 0;
    background: var(--msw-paper);
    color: var(--msw-ink);
    font: 14px/1.3 var(--msw-sans);
}

.msw .msw-button {
    min-height: 36px;
    color: var(--msw-green);
    font-weight: 600;
    cursor: pointer;
}

.msw .msw-button:hover:not(:disabled) {
    border-color: var(--msw-green);
    background: var(--msw-pale);
}

.msw .msw-button:disabled {
    opacity: .5;
    cursor: default;
}

.msw :is(select, button, a, .msw-status):focus-visible {
    outline: 2px solid var(--msw-green);
    outline-offset: 2px;
}

.msw .msw-status {
    margin-block: 12px;
    scroll-margin-top: 110px;
}

.msw .msw-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 2px solid var(--msw-green);
    border-collapse: collapse;
    color: var(--msw-ink);
    background: var(--msw-paper);
    font: 14px/1.4 var(--msw-sans);
}

.msw-table abbr {
    text-decoration: none;
}

.msw .msw-table :is(th, td) {
    padding: 12px 9px;
    border: 0;
    border-bottom: 1px solid var(--msw-line);
    background: none;
    color: inherit;
    text-align: start;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.msw .msw-table th {
    color: var(--msw-muted);
    font: 600 11px/1.4 var(--msw-sans);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.msw .msw-table td {
    font-size: 14px;
}

.msw .msw-table td:first-child {
    font: 16px/1.35 var(--msw-serif);
}

.msw .msw-table td:nth-child(4),
.msw .msw-table td:nth-child(7),
.msw .msw-table td:last-child {
    white-space: nowrap;
}

.msw .msw-table td:last-child {
    text-align: end;
}

.msw .msw-table tr:hover td {
    background: var(--msw-pale);
}

.msw-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: var(--msw-muted);
}

.msw .msw-updated {
    margin-top: 12px;
}

.msw .msw-dialog {
    position: fixed;
    inset: 0;
    width: min(700px, calc(100% - 24px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--msw-line);
    border-radius: 0;
    background: var(--msw-paper);
    color: var(--msw-ink);
    box-shadow: 0 20px 70px #111a;
    font: 14px/1.5 var(--msw-sans);
    text-align: start;
}

.msw-dialog::backdrop {
    background: #111a;
}

.msw-dialog-inner {
    position: relative;
    padding: clamp(16px, 4vw, 28px);
}

.msw-dialog form {
    position: absolute;
    top: 12px;
    right: 12px;
}

.msw .msw-dialog .msw-close {
    width: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 24px;
    line-height: 1;
}

.msw .msw-dialog h2 {
    margin: 0 44px 14px 0;
    color: var(--msw-ink);
    font: 400 clamp(21px, 4vw, 29px)/1.2 var(--msw-serif);
    letter-spacing: normal;
    text-align: start;
}

.msw-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 6px 12px;
    margin: 0 0 16px;
    overflow-wrap: anywhere;
}

.msw-details dt {
    color: var(--msw-muted);
}

.msw-details dd {
    margin: 0;
    font-weight: 600;
}

.msw .msw-map {
    width: 100%;
    height: clamp(205px, 40vh, 340px);
    border: 1px solid var(--msw-line);
    background: var(--msw-pale);
    isolation: isolate;
}

.msw-map .leaflet-tile-pane {
    filter: var(--msw-map-filter);
}

.msw-map .leaflet-control-zoom a,
.msw-map .leaflet-control-attribution {
    background: var(--msw-paper);
    color: var(--msw-ink);
}

.msw .msw-original {
    margin-top: 12px;
}

@media (max-width: 760px) {
    .msw .msw-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .msw-filters select {
        min-height: 44px;
        font-size: 16px;
    }

    .msw-filters label:last-child {
        grid-column: 1 / -1;
    }

    .msw .msw-table,
    .msw .msw-table tbody {
        display: block;
    }

    .msw .msw-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .msw .msw-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 12px;
        padding: 13px 0;
        border-bottom: 1px solid var(--msw-line);
    }

    .msw .msw-table tbody td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        white-space: normal;
        background: transparent;
    }

    .msw .msw-table td:nth-child(3),
    .msw .msw-table td:last-child {
        grid-column: 1 / -1;
    }

    .msw .msw-cell-name {
        position: static;
        display: block;
        width: auto;
        height: auto;
        margin-bottom: 2px;
        overflow: visible;
        clip-path: none;
        color: var(--msw-muted);
        font: 600 10px/1.4 var(--msw-sans);
        text-transform: uppercase;
        letter-spacing: .045em;
    }

    .msw .msw-table .msw-button {
        min-height: 44px;
    }
}
