/* Standalone fillable map pages — controls, legend, table (not hub maps). */
body:not(.fillable-map-embed) {
    overflow-x: hidden;
    overflow-y: auto;
}

/* ET map logo: hidden unless footer Pollsmax / green “All” toggle is active */
body.fillable-map-page image.et-map-logo,
body.fillable-map-embed image.et-map-logo {
    opacity: 0 !important;
    visibility: hidden;
}

body.fillable-map-page.pollsmax-header-hidden:not(.fillable-map-embed) image.et-map-logo {
    opacity: 1 !important;
    visibility: visible;
}

body:not(.fillable-map-embed) .senate-map-shell,
body:not(.fillable-map-embed) .gov-map-shell,
body:not(.fillable-map-embed) .house-map-shell {
    min-height: 100vh;
}

#standaloneMapExportRoot {
    background: #050608;
}

body.fillable-map-embed #standaloneMapExportRoot {
    background: transparent !important;
}

/* Flatten scoreboard header layout during PNG export (html2canvas clips absolute headers). */
#standaloneMapExportRoot.standalone-map-export-capture {
    box-sizing: border-box;
    overflow: visible;
    padding: 10px 0 0;
}

#standaloneMapExportRoot.standalone-map-export-capture .scoreboard-wrap {
    margin-top: 0 !important;
    transform: none !important;
    overflow: visible !important;
    padding-top: 0 !important;
}

#standaloneMapExportRoot.standalone-map-export-capture .scoreboard-wrap > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: 0 !important;
    overflow: visible !important;
}

#standaloneMapExportRoot.standalone-map-export-capture .scoreboard-wrap .flex.justify-between {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    order: 1;
    margin: 0 0 0.35rem !important;
}

#standaloneMapExportRoot.standalone-map-export-capture .scoreboard-wrap > div > div:first-child {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    order: 2;
    margin: 0 0 0.35rem !important;
}

#standaloneMapExportRoot.standalone-map-export-capture #barContainer {
    order: 3;
    margin-top: 0 !important;
    position: relative !important;
    height: 49px !important;
    min-height: 49px !important;
    max-height: 49px !important;
}

#standaloneMapExportRoot.standalone-map-export-capture .map-wrap,
#standaloneMapExportRoot.standalone-map-export-capture #houseMapZoomBlock {
    margin-top: 0.75rem !important;
    transform: none !important;
}

#standaloneMapExportRoot.standalone-map-export-capture #map,
#standaloneMapExportRoot.standalone-map-export-capture #houseCdMap {
    transform: none !important;
}

#standaloneMapExportRoot.standalone-map-export-capture #houseMapTopMask {
    display: none !important;
}

.standalone-map-below {
    --standalone-map-panel-bg: rgba(15, 23, 42, 0.45);
    width: min(1220px, calc(100vw - 1.5rem));
    margin: 50px auto 0;
    padding: 0 0 3rem;
    position: relative;
    z-index: 30;
}

body.fillable-map-embed .standalone-map-below {
    display: none !important;
}

.standalone-map-divider {
    width: 100%;
    height: 1px;
    background: rgba(148, 163, 184, 0.35);
    border: none;
    margin: 0 0 calc(1.25rem + 5px);
}

.standalone-map-below--president > .standalone-map-divider:first-of-type {
    margin-bottom: calc(1.25rem + 6px);
}

.standalone-map-instructions {
    color: #94a3b8;
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
    width: 100%;
    max-width: none;
}

.standalone-map-below:not(.standalone-map-below--president) .standalone-map-instructions {
    margin-bottom: calc(0.75rem + 6px);
}

.standalone-map-instructions-note {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    width: 100%;
    max-width: none;
}

.standalone-map-candidate-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: calc(1.25rem + 4px);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: var(--standalone-map-panel-bg);
    box-sizing: border-box;
}

.standalone-map-candidate-picker__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.standalone-map-candidate-picker__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.standalone-map-candidate-picker__label--d {
    color: #0c6df6;
}

.standalone-map-candidate-picker__label--r {
    color: #f42726;
}

.standalone-map-candidate-picker__input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.55);
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.9375rem;
    box-sizing: border-box;
}

.standalone-map-candidate-picker__input:focus {
    outline: none;
    border-color: rgba(148, 163, 184, 0.6);
}

.standalone-map-legend-row {
    margin-bottom: 1.5rem;
    width: 100%;
}

.standalone-map-key {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: 0.65rem;
    row-gap: 0.55rem;
    width: 100%;
    padding: 0.9rem 1rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: var(--standalone-map-panel-bg);
    box-sizing: border-box;
}

.standalone-map-key-item {
    appearance: none;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    text-align: center;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.2;
    cursor: pointer;
    padding: 0;
    transition: color 0.12s ease;
}

.standalone-map-key-item:hover,
.standalone-map-key-item--selected {
    color: #ffffff;
}

.standalone-map-key-swatch {
    width: 100%;
    height: 1.35rem;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standalone-map-key-check {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.standalone-map-toggles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.standalone-map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    user-select: none;
    color: #e2e8f0;
    font-size: 0.875rem;
}

.standalone-map-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.standalone-map-toggle-track {
    width: 2.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #334155;
    position: relative;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.standalone-map-toggle input:checked + .standalone-map-toggle-track {
    background: #475569;
}

.standalone-map-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #f8fafc;
    transition: transform 0.15s ease;
}

.standalone-map-toggle input:checked + .standalone-map-toggle-track .standalone-map-toggle-thumb {
    transform: translateX(1rem);
}

.standalone-map-fill-section {
    margin-bottom: 1.25rem;
}

.standalone-map-fill-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0 0 0.75rem;
}

.standalone-map-fill-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.standalone-map-fill-btn,
.standalone-map-share-btn,
.standalone-map-download-btn {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.65);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1.2;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.standalone-map-fill-btn:hover,
.standalone-map-download-btn:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.55);
}

.standalone-map-share-btn {
    background: var(--standalone-map-panel-bg);
    color: #ffffff;
}

.standalone-map-share-btn:hover {
    background: #0d121c;
    border-color: #ffffff;
    color: #ffffff;
}

.standalone-map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 2rem;
}

.standalone-map-actions-left {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
}

.standalone-map-actions-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-left: auto;
    flex: 0 1 auto;
}

.standalone-map-nav-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--standalone-map-panel-bg);
    color: #94a3b8;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.standalone-map-nav-btn:hover {
    background: #0d121c;
    border-color: rgba(148, 163, 184, 0.55);
    color: #94a3b8;
}

.standalone-map-nav-btn--president:hover {
    color: #ff4142;
    border-color: #ff4142;
}

.standalone-map-nav-btn--senate:hover {
    color: #0c6df6;
    border-color: #0c6df6;
}

.standalone-map-nav-btn--gov:hover {
    color: #22c55e;
    border-color: #22c55e;
}

.standalone-map-nav-btn--house:hover {
    color: #a855f7;
    border-color: #a855f7;
}

.standalone-map-nav-btn--hub:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.standalone-map-share-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.standalone-map-share-status {
    margin-left: 2px;
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

.standalone-map-share-status[hidden] {
    display: none;
}

.standalone-map-share-status--success {
    color: #4ade80;
}

.standalone-map-race-table-wrap {
    margin-top: 0.5rem;
}

.standalone-map-race-table-head {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) 1fr minmax(10.83rem, 15.96rem) minmax(10.83rem, 15.96rem) 13rem 6.25rem;
    gap: 0.75rem 1rem;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.55);
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.standalone-map-race-table-head > :nth-child(1) {
    grid-column: 1;
}

.standalone-map-race-table-head > :nth-child(2) {
    grid-column: 3;
}

.standalone-map-race-table-head > :nth-child(3) {
    grid-column: 4;
}

.standalone-map-race-table-head > :nth-child(4) {
    grid-column: 5;
}

.standalone-map-race-table-head > :nth-child(5) {
    grid-column: 6;
}

.standalone-map-sort-btn {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    text-align: left;
    transition: color 0.12s ease;
}

.standalone-map-sort-btn:hover {
    color: #94a3b8;
}

.standalone-map-sort-btn--active {
    color: #cbd5e1;
}

.standalone-map-sort-label {
    min-width: 0;
}

.standalone-map-sort-arrows {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.6;
    font-size: 0.5625rem;
    gap: 0.1rem;
    flex-shrink: 0;
}

.standalone-map-sort-arrow {
    opacity: 0.3;
    color: #64748b;
    transition: opacity 0.12s ease, color 0.12s ease;
}

.standalone-map-sort-btn--active.standalone-map-sort-btn--asc .standalone-map-sort-arrow--up,
.standalone-map-sort-btn--active.standalone-map-sort-btn--desc .standalone-map-sort-arrow--down {
    opacity: 1;
    color: #cbd5e1;
}

.standalone-map-race-table-head .standalone-map-col-fill {
    text-align: left;
}

.standalone-map-race-table-wrap--no-margin .standalone-map-race-table-head,
.standalone-map-race-table-wrap--no-margin .standalone-map-race-row,
.standalone-map-race-table-wrap--no-margin .standalone-map-split-sub {
    grid-template-columns: minmax(16rem, 22rem) 1fr minmax(10.83rem, 15.96rem) minmax(10.83rem, 15.96rem) 6.25rem;
}

.standalone-map-race-table-wrap--no-margin .standalone-map-race-table-head > :nth-child(4) {
    grid-column: 5;
}

.standalone-map-race-table-wrap--no-margin .standalone-map-race-row > .standalone-map-fill-control {
    grid-column: 5;
}

.standalone-map-race-table-wrap--no-margin .standalone-map-race-row--split > span:empty {
    grid-column: 5;
}

.standalone-map-race-table-wrap--no-margin .standalone-map-split-sub > .standalone-map-fill-control {
    grid-column: 5;
}

.house-map-shell .standalone-map-race-table-wrap--no-margin .standalone-map-race-table-head,
.house-map-shell .standalone-map-race-table-wrap--no-margin .standalone-map-race-row,
.house-map-shell .standalone-map-race-table-wrap--no-margin .standalone-map-split-sub {
    grid-template-columns: minmax(16rem, 22rem) 1fr minmax(13.68rem, 20.16rem) minmax(13.68rem, 20.16rem) 6.25rem;
}

.house-map-shell .standalone-map-race-row__cand {
    max-width: 20.16rem;
}

.standalone-map-race-list {
    display: flex;
    flex-direction: column;
}

.standalone-map-race-row {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) 1fr minmax(10.83rem, 15.96rem) minmax(10.83rem, 15.96rem) 13rem 6.25rem;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.85rem 0.5rem;
    border-bottom: 0.5px solid rgba(51, 65, 85, 0.28);
    min-height: 4rem;
    transition: background 0.15s ease;
}

.standalone-map-race-row:hover {
    background: rgba(15, 23, 42, 0.38);
}

.standalone-map-race-row--link {
    cursor: pointer;
}

.standalone-map-race-row--link .standalone-map-fill-control,
.standalone-map-race-row--link .standalone-map-fill-side {
    cursor: pointer;
}

html[data-pollsmax-theme="light"] .standalone-map-race-row:hover {
    background: #f8fafc;
}

.standalone-map-race-row__identity {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.standalone-map-race-row > .standalone-map-race-row__cand:nth-child(2) {
    grid-column: 3;
}

.standalone-map-race-row > .standalone-map-race-row__cand:nth-child(3) {
    grid-column: 4;
}

.standalone-map-race-row__margin {
    grid-column: 5;
}

.standalone-map-race-row > .standalone-map-fill-control {
    grid-column: 6;
}

.standalone-map-race-row__map,
.standalone-map-race-row__identity .race-related-races__map {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    pointer-events: none;
}

.standalone-map-race-row__map .race-related-races__map-svg,
.standalone-map-race-row__identity .race-related-races__map-svg {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.standalone-map-race-row__label {
    font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.3125rem;
    font-weight: 500;
    color: #f8fafc;
    line-height: 1.15;
    min-width: 0;
    letter-spacing: -0.01em;
}

.standalone-map-race-row--split {
    align-items: stretch;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.standalone-map-race-row__thumb {
    display: none;
}

.standalone-map-race-row__thumb--d {
    display: none;
}

.standalone-map-race-row__thumb--r {
    display: none;
}

.standalone-map-race-row__cand {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.35;
    min-width: 0;
    max-width: 15.96rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.standalone-map-race-row__cand--d {
    color: #0c6df6;
}

.standalone-map-race-row__cand--r {
    color: #f42726;
}

.standalone-map-race-row__margin {
    font-size: 1.0625rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.standalone-map-race-row__margin--d {
    color: #0c6df6;
}

.standalone-map-race-row__margin--r {
    color: #f42726;
}

.standalone-map-race-row__margin--neutral {
    color: #94a3b8;
}

.standalone-map-fill-control {
    --fill-control-line: rgba(148, 163, 184, 0.38);
    display: inline-flex;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid var(--fill-control-line);
    box-sizing: border-box;
    justify-self: start;
}

.standalone-map-fill-side {
    appearance: none;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.1875rem;
    font-weight: 700;
    width: 3rem;
    height: 2.625rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background-color 0.12s ease, filter 0.12s ease;
}

.standalone-map-fill-side--d:not(.standalone-map-fill-side--active),
.standalone-map-fill-side--r:not(.standalone-map-fill-side--active) {
    background-color: var(--standalone-map-panel-bg);
}

.standalone-map-fill-side:not(.standalone-map-fill-side--active):hover {
    background-color: rgba(30, 41, 59, 0.55);
}

.standalone-map-fill-side + .standalone-map-fill-side {
    box-shadow: inset 1px 0 0 var(--fill-control-line);
}

.standalone-map-fill-side--active {
    color: #ffffff;
}

.standalone-map-fill-side--active:hover {
    filter: brightness(1.06);
}

.standalone-map-fill-side--d.standalone-map-fill-side--active {
    background-color: var(--fill-bg, #0e368d);
}

.standalone-map-fill-side--r.standalone-map-fill-side--active {
    background-color: var(--fill-bg, #b91926);
}

.standalone-map-split-sub > span:nth-child(2) {
    grid-column: 3;
}

.standalone-map-split-sub > span:nth-child(3) {
    grid-column: 4;
}

.standalone-map-split-sub > .standalone-map-race-row__margin {
    grid-column: 5;
}

.standalone-map-split-sub > .standalone-map-fill-control {
    grid-column: 6;
}

.standalone-map-race-row--split > span:empty {
    grid-column: 6;
}

.standalone-map-split-row-body {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.standalone-map-split-sub {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) 1fr minmax(10.83rem, 15.96rem) minmax(10.83rem, 15.96rem) 13rem 6.25rem;
    gap: 0.75rem 1rem;
    align-items: center;
}

.standalone-map-split-sub__label {
    grid-column: 1;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #94a3b8;
    padding-left: 4.45rem;
}

.standalone-map-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(51, 65, 85, 0.35);
}

.standalone-map-pagination-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
}

.standalone-map-page-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.standalone-map-page-btn__arrow {
    font-size: 0.875rem;
    line-height: 1;
    opacity: 0.9;
}

.standalone-map-page-btn:hover:not(:disabled) {
    background: rgba(148, 163, 184, 0.14);
}

.standalone-map-page-btn:disabled {
    color: #64748b;
    cursor: not-allowed;
}

.standalone-map-page-btn:disabled .standalone-map-page-btn__arrow {
    opacity: 0.55;
}

.standalone-map-page-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 4.25rem;
    padding: 0 0.55rem;
    font-size: 0.8125rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: #94a3b8;
    user-select: none;
}

.standalone-map-page-status__current {
    color: #e2e8f0;
    font-weight: 600;
}

.standalone-map-page-status__sep {
    color: #64748b;
}

.house-map-shell .standalone-map-pagination {
    gap: 1.25rem;
    margin-top: 1.25rem;
    padding-top: 0;
    border-top: none;
}

.house-map-shell .standalone-map-page-label {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

.house-map-shell .standalone-map-page-btn {
    padding: 0 0.15rem;
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    min-width: 1.25rem;
}

.house-map-shell .standalone-map-page-btn:hover:not(:disabled) {
    background: transparent;
    color: #ffffff;
}

.house-map-shell .standalone-map-page-btn:disabled {
    color: #475569;
    opacity: 0.45;
    cursor: default;
}

.standalone-map-page-spacer {
    height: 0;
    pointer-events: none;
}

body:not(.fillable-map-embed) .house-map-shell .standalone-map-page-spacer {
    height: calc(100vh - 85px);
}

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

    .standalone-map-key {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 0.55rem;
        row-gap: 0.75rem;
        padding: 0.75rem 0.65rem 0.65rem;
    }

    .standalone-map-race-table-head {
        display: none;
    }

    .standalone-map-race-row,
    .standalone-map-split-sub {
        grid-template-columns: 5.5rem 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .standalone-map-race-row__identity {
        grid-column: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .standalone-map-race-row__label {
        font-size: 1.0625rem;
    }

    .standalone-map-race-row__margin,
    .standalone-map-race-row .standalone-map-fill-control {
        grid-column: 2 / -1;
    }

    .standalone-map-race-row .standalone-map-fill-control {
        justify-self: start;
    }
}
