.nightify-seat-map-scope #seat-map-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    touch-action: pan-x pan-y;
    position: relative;
}

.nightify-seat-map-scope #seat-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    transform-origin: 0 0;
    background-image: linear-gradient(var(--ntf-color-222222, #222222) 1px, transparent 1px), linear-gradient(90deg, var(--ntf-color-222222, #222222) 1px, transparent 1px);
    background-size: 10px 10px;
}

.nightify-seat-map-scope .sector {
    position: absolute;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: var(--nightify-sector-gap, 4px);
}

.nightify-seat-map-scope .seat-map-resize-cursor-w,
.nightify-seat-map-scope .seat-map-resize-cursor-w *,
body.seat-map-global-cursor-w,
body.seat-map-global-cursor-w * {
    cursor: col-resize !important;
}

.nightify-seat-map-scope .seat-map-resize-cursor-n,
.nightify-seat-map-scope .seat-map-resize-cursor-n *,
body.seat-map-global-cursor-n,
body.seat-map-global-cursor-n * {
    cursor: row-resize !important;
}

.nightify-seat-map-scope .seat-map-resize-cursor-nw,
.nightify-seat-map-scope .seat-map-resize-cursor-nw *,
body.seat-map-global-cursor-nw,
body.seat-map-global-cursor-nw * {
    cursor: nwse-resize !important;
}

.nightify-seat-map-scope .seat-map-resize-cursor-ne,
.nightify-seat-map-scope .seat-map-resize-cursor-ne *,
body.seat-map-global-cursor-ne,
body.seat-map-global-cursor-ne * {
    cursor: nesw-resize !important;
}

.nightify-seat-map-scope .sector-title {
    font-weight: bold;
    cursor: grab;
    font-size: var(--nightify-sector-title-size, 16px);
    line-height: var(--nightify-sector-title-line-height, 1.2);
}

.nightify-seat-map-scope .sector-content {
    display: flex;
    flex-direction: column;
    gap: var(--nightify-seat-gap, 4px);
    border: var(--nightify-seat-map-border-width, 0.125rem) solid var(--sector-border-color, var(--ntf-color-333333, #333333));
    border-radius: var(--nightify-seat-map-radius, 10px);
}

.nightify-seat-map-scope .area {
    position: absolute;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: var(--nightify-sector-gap, 4px);
    align-items: flex-start;
}

.nightify-seat-map-scope .area:not([data-flow-seat-map-runtime-key]) {
    min-width: 120px;
    min-height: 120px;
}

.nightify-seat-map-scope .area .sector-title {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
    pointer-events: auto;
    word-break: break-word;
    max-width: 100%;
    padding: 0 var(--nightify-area-title-padding-right, 60px) 0 0;
    background: none;
    border-radius: 0;
}

.nightify-seat-map-scope .area-content {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: var(--nightify-seat-map-border-width, 0.125rem) solid var(--area-border-color, var(--ntf-color-333333, #333333));
    border-radius: var(--nightify-seat-map-radius, 10px);
    padding: var(--nightify-area-padding-top, 24px) var(--nightify-area-padding-side, 16px) var(--nightify-area-padding-bottom, 16px);
    font-weight: bold;
    color: var(--ntf-color-ffffff, #ffffff);
    text-align: center;
    background-color: var(--area-fill-color, var(--ntf-color-rgba-255-255-255-0-05, rgba(255, 255, 255, 0.05)));
    box-sizing: border-box;
    min-height: var(--nightify-area-min-height, 80px);
    font-size: var(--nightify-area-font-size, 16px);
}

.nightify-seat-map-scope .area-capacity-text {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.nightify-seat-map-scope .area-capacity-value {
    min-width: 32px;
    display: inline-block;
    border-bottom: 1px dashed var(--ntf-color-rgba-255-255-255-0-5, rgba(255, 255, 255, 0.5));
    outline: none;
    cursor: text;
}

.nightify-seat-map-scope .area-capacity-value:focus {
    border-bottom-color: var(--ntf-color-ffffff, #ffffff);
}

.nightify-seat-map-scope .area.selected .area-content {
    border-color: var(--ntf-color-ffffff, #ffffff);
}

.nightify-seat-map-scope .row {
    display: flex;
    align-items: center;
    gap: var(--nightify-seat-gap, 4px);
    border: none;
    padding: 0;
}

.nightify-seat-map-scope .row.selected {
    margin: -2px;
    padding: 2px;
    border-radius: 999px;
    background-color: var(--ntf-color-rgba-255-255-255-0-08, rgba(255, 255, 255, 0.08));
}

.nightify-seat-map-scope .row-label {
    width: var(--nightify-row-label-width, 20px);
    text-align: right;
    font-size: var(--nightify-row-label-size, 16px);
    line-height: var(--nightify-row-label-line-height, 1);
    cursor: pointer;
    user-select: none;
}

.nightify-seat-map-scope .row.selected .row-label {
    color: var(--ntf-color-111111, #111111);
    background-color: var(--ntf-color-ffffff, #ffffff);
    border-radius: 999px;
}

.nightify-seat-map-scope .seat {
    width: var(--nightify-seat-size, 20px);
    height: var(--nightify-seat-size, 20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--ntf-color-ffffff, #ffffff);
    font-size: var(--nightify-seat-font-size, 10px);
    border: var(--nightify-seat-map-border-width, 0.125rem) solid var(--seat-border-color, rgba(255, 255, 255, 0.35));
    box-sizing: border-box;
    background-color: var(--seat-bg-color, rgba(255, 255, 255, 0.08));
}

.nightify-seat-map-scope .seat.selected {
    background-color: var(--ntf-color-ffffff, #ffffff);
    color: var(--ntf-color-111111, #111111);
    border: var(--nightify-seat-map-border-width, 0.125rem) solid var(--ntf-color-ffffff, #ffffff);
    box-sizing: border-box;
}

.nightify-seat-map-scope .row.selected .seat:not(.placeholder) {
    background-color: var(--ntf-color-ffffff, #ffffff);
    color: var(--ntf-color-111111, #111111);
    border-color: var(--ntf-color-ffffff, #ffffff);
}

.nightify-seat-map-scope .seat.placeholder {
    background: transparent;
    border: none;
}

.nightify-seat-map-scope .row.selected .seat.placeholder {
    background-color: var(--ntf-color-rgba-255-255-255-0-12, rgba(255, 255, 255, 0.12));
    border: 1px dashed var(--ntf-color-rgba-255-255-255-0-45, rgba(255, 255, 255, 0.45));
}

.nightify-seat-map-scope .stage {
    position: absolute;
    min-width: 0;
    min-height: 0;
    padding: var(--nightify-stage-padding, 10px);
    background: var(--ntf-color-333333, #333333);
    color: var(--ntf-color-ffffff, #ffffff);
    border: var(--nightify-seat-map-border-width, 0.125rem) solid var(--ntf-color-444444, #444444);
    border-radius: var(--nightify-stage-radius, 4px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    font-size: var(--nightify-stage-font-size, 16px);
}

.nightify-seat-map-scope .stage-label {
    max-width: 100%;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    outline: none;
}

.nightify-seat-map-scope .stage-label[contenteditable="true"] {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
}

.nightify-seat-map-scope .stage.stage-label-editing {
    cursor: text;
}

.nightify-seat-map-scope .map-table {
    position: absolute;
    cursor: grab;
    display: block;
    user-select: none;
    touch-action: manipulation;
    overflow: visible;
}

.nightify-seat-map-scope .map-table:not([data-flow-seat-map-runtime-key]) {
    min-width: 120px;
    min-height: 120px;
    width: 160px;
    height: 160px;
}

.nightify-seat-map-scope .map-table .sector-title {
    font-weight: 600;
    color: var(--table-color, var(--ntf-color-e9c46a, #E9C46A));
    text-align: left;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    max-width: min(260px, 80vw);
    pointer-events: auto;
    cursor: grab;
    z-index: 2;
    margin: 0;
    word-break: break-word;
    line-height: var(--nightify-sector-title-line-height, 1.2);
}

.nightify-seat-map-scope .map-table .table-shell {
    position: absolute;
    border-radius: 50%;
}

.nightify-seat-map-scope .map-table .table-shell:not([data-flow-seat-map-runtime-key]) {
    inset: 0;
    width: 100%;
    height: 100%;
}

.nightify-seat-map-scope .map-table[data-shape="rect"] .table-shell {
    border-radius: var(--nightify-table-rect-radius, 14px);
}

.nightify-seat-map-scope .map-table .table-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#table-footer.business-seat-map-footer {
    padding-top: 16px;
    padding-bottom: 16px;
    background: transparent !important;
    box-shadow: none !important;
}

#table-footer.business-seat-map-footer .map-buttons-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

#table-footer.business-seat-map-footer .map-buttons-row > * {
    flex: 0 0 auto;
}

#table-footer.business-seat-map-footer .map-buttons-row .save-status {
    margin-right: auto;
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ntf-color-9aa0a6, #9aa0a6);
    background: var(--ntf-color-rgba-255-255-255-0-05, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--ntf-color-rgba-255-255-255-0-12, rgba(255, 255, 255, 0.12));
    border-radius: 999px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}







body.seat-map-builder-onboarding-active .cursor-tooltip {
    opacity: 0 !important;
    visibility: hidden !important;
}

.seat-map-builder-onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1200;
}

.seat-map-builder-onboarding-overlay.is-visible {
    opacity: 1;
}

.seat-map-builder-onboarding-card {
    --seat-map-builder-onboarding-arrow-left: 50%;
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(16, 16, 16, 0.98) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    color: #ffffff;
    opacity: 0;
    pointer-events: auto;
    transition: opacity 0.2s ease;
    z-index: 1201;
}

.seat-map-builder-onboarding-card.is-visible {
    opacity: 1;
}

.seat-map-builder-onboarding-card::after {
    content: '';
    position: absolute;
    left: var(--seat-map-builder-onboarding-arrow-left);
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.seat-map-builder-onboarding-card[data-placement="top"]::after {
    top: 100%;
    border-top: 12px solid rgba(16, 16, 16, 0.98);
}

.seat-map-builder-onboarding-card[data-placement="bottom"]::after {
    bottom: 100%;
    border-bottom: 12px solid rgba(26, 26, 26, 0.98);
}

.seat-map-builder-onboarding-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.seat-map-builder-onboarding-card__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 122, 143, 0.95);
}

.seat-map-builder-onboarding-card__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.seat-map-builder-onboarding-card__body {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.5;
}

.seat-map-builder-onboarding-card__footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.seat-map-builder-onboarding-card__counter {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.54);
    white-space: nowrap;
}

.seat-map-builder-onboarding-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

@media screen and (max-width: 736px) {
    #table-footer.business-seat-map-footer .map-buttons-row {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
    }

    #table-footer.business-seat-map-footer .map-buttons-row > * {
        width: auto;
    }

    #table-footer.business-seat-map-footer .map-buttons-row .save-status {
        justify-content: center;
        margin-right: 0;
    }

    .seat-map-builder-onboarding-card {
        width: calc(100vw - 24px);
        padding: 14px;
    }

    .seat-map-builder-onboarding-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .seat-map-builder-onboarding-card__actions {
        width: 100%;
        justify-content: space-between;
    }
}

.nightify-seat-map-scope .map-table .table-shell::after {
    content: '';
    position: absolute;
    width: var(--nightify-table-indicator-size, 8px);
    height: var(--nightify-table-indicator-size, 8px);
    border-radius: 50%;
    right: 0px;
    bottom: 0px;
    background: var(--ntf-color-ffffff, #ffffff);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.nightify-seat-map-scope .map-table.selected .table-shell::after {
    opacity: 1;
}

.nightify-seat-map-scope .map-table[data-shape="rect"] .table-shell::after {
    display: none;
}

.nightify-seat-map-scope .map-table .table-center {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: var(--nightify-seat-map-border-width, 0.125rem) solid var(--table-center-border, var(--ntf-color-e9c46a, #E9C46A));
    box-shadow: 0 6px 12px var(--ntf-color-rgba-0-0-0-0-25, rgba(0, 0, 0, 0.25));
    background: var(--table-center-bg, var(--ntf-color-rgba-233-196-106-0-6, rgba(233, 196, 106, 0.06)));
    pointer-events: var(--table-center-pointer-events, none);
    cursor: var(--table-center-cursor, auto);
}

.nightify-seat-map-scope .map-table[data-shape="rect"] .table-center {
    border-radius: var(--nightify-table-rect-radius, 14px);
}

.nightify-seat-map-scope .map-table.selected .table-center {
    border-color: var(--ntf-color-ffffff, #ffffff);
}

.nightify-seat-map-scope .map-table .table-seat {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--nightify-table-seat-size) * 0.6);
    font-weight: 600;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px var(--ntf-color-rgba-0-0-0-0-3, rgba(0, 0, 0, 0.3));
    box-sizing: border-box;
    pointer-events: none;
}

.nightify-seat-map-scope .sector.selected .sector-content {
    border-color: var(--ntf-color-ffffff, #ffffff);
}

.nightify-seat-map-scope .stage.selected {
    border-color: var(--ntf-color-ffffff, #ffffff);
}

:where(.business-seat-map-edit-page) #map-editor-section {
    padding-bottom: 140px;
}

:where(.business-seat-map-edit-page) #map-editor-section .map-editor-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

:where(.business-seat-map-edit-page) #map-editor-section .map-editor-card #seat-map-wrapper {
    flex: 1 1 auto;
    min-height: 400px;
}

:where(.business-seat-map-edit-page) .seat-map-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.01);
    z-index: 20;
    display: none;
    cursor: not-allowed;
}

:where(.business-seat-map-edit-page) .seat-map-lock-message {
    margin: 8px 0 0;
    max-width: 920px;
}

:where(.business-seat-map-edit-page) .action-buttons {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    visibility: hidden;
    gap: 4px;
    z-index: 1000;
    align-items: center;
    pointer-events: auto;
}



:where(.business-seat-map-edit-page) .map-summary {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

:where(.business-seat-map-edit-page) .map-summary-heading {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa0a6;
    margin: 0;
}

:where(.business-seat-map-edit-page) .map-summary-item {
    position: relative;
    overflow: hidden;
    padding: 18px 20px;
    border-radius: 14px;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    justify-content: flex-start;
    min-width: 0;
}

:where(.business-seat-map-edit-page) .map-summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: var(--accent-color, #FB1A3F);
    opacity: 0.9;
}

:where(.business-seat-map-edit-page) .map-summary-item > * {
    position: relative;
    z-index: 1;
}

:where(.business-seat-map-edit-page) .map-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

:where(.business-seat-map-edit-page) .map-summary-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

:where(.business-seat-map-edit-page) .map-summary-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: grab;
}

:where(.business-seat-map-edit-page) .map-summary-item:focus-visible {
    box-shadow: 0 0 0 2px rgba(251, 26, 63, 0.45), 0 12px 24px rgba(0, 0, 0, 0.35);
}

:where(.business-seat-map-edit-page).seat-map-reservations-locked input[disabled]:not(.ui-action-button),
:where(.business-seat-map-edit-page).seat-map-reservations-locked select[disabled] {
    opacity: 0.55;
    cursor: not-allowed !important;
}

:where(.business-seat-map-edit-page).seat-map-reservations-locked .map-summary-item[role="group"] {
    opacity: 0.7;
    cursor: not-allowed;
}

:where(.business-seat-map-edit-page) .map-summary-item.active {
    border-color: rgba(251, 26, 63, 0.6);
    box-shadow: 0 0 0 1px rgba(251, 26, 63, 0.35), 0 12px 24px rgba(0, 0, 0, 0.5);
}

:where(.business-seat-map-edit-page) .map-summary-item.active::before {
    opacity: 1;
}

:where(.business-seat-map-edit-page) .map-summary-meta {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa0a6;
}

:where(.business-seat-map-edit-page) .map-summary-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color, #FB1A3F);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

:where(.business-seat-map-edit-page) .map-summary-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

:where(.business-seat-map-edit-page) .map-summary-amount {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

:where(.business-seat-map-edit-page) .map-summary-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa0a6;
}

:where(.business-seat-map-edit-page) .map-summary-empty {
    font-size: 13px;
    color: #7d7d7d;
    margin: 0;
    padding: 6px 0;
}

:where(.business-seat-map-edit-page) .map-summary-controls {
    margin-top: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
}

:where(.business-seat-map-edit-page) .map-summary-item.active .map-summary-controls {
    display: flex;
}

:where(.business-seat-map-edit-page) .map-summary-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
    box-sizing: border-box;
    min-width: 0;
}

:where(.business-seat-map-edit-page) .map-summary-control-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa0a6;
    flex: 1 1 120px;
    min-width: 0;
}

:where(.business-seat-map-edit-page) .map-summary-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    min-width: 64px;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

:where(.business-seat-map-edit-page) .map-summary-input:focus,
:where(.business-seat-map-edit-page) .map-summary-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

:where(.business-seat-map-edit-page) .map-summary-control-row > .map-summary-stepper,
:where(.business-seat-map-edit-page) .map-summary-control-row > .map-summary-input,
:where(.business-seat-map-edit-page) .map-summary-control-row > .map-summary-select,
:where(.business-seat-map-edit-page) .map-summary-control-row > .map-summary-access-controls {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
}

:where(.business-seat-map-edit-page) .map-summary-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
}

:where(.business-seat-map-edit-page) .map-summary-stepper .map-summary-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}



:where(.business-seat-map-edit-page) .map-summary-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    padding: 6px 32px 6px 10px;
    font-size: 13px;
    min-width: 120px;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

:where(.business-seat-map-edit-page) .map-summary-select option {
    color: #000;
}

:where(.business-seat-map-edit-page) .map-summary-access-row {
    align-items: stretch;
}

:where(.business-seat-map-edit-page) .map-summary-access-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

:where(.business-seat-map-edit-page) .map-summary-access-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

:where(.business-seat-map-edit-page) .map-summary-access-group[hidden] {
    display: none;
}

:where(.business-seat-map-edit-page) .map-summary-access-assigned-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

:where(.business-seat-map-edit-page) .map-summary-access-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    max-width: 100%;
}

:where(.business-seat-map-edit-page) .map-summary-access-chip__label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



:where(.business-seat-map-edit-page) .map-summary-access-controls .map-summary-select {
    flex: 0 0 auto;
    width: 100%;
    min-width: 140px;
}

:where(.business-seat-map-edit-page) .map-summary-access-empty {
    font-size: 12px;
    color: #9aa0a6;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-header {
    width: 100%;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
    user-select: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-toggle:focus {
    outline: none;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-toggle:focus-visible {
    outline: 2px solid rgba(251, 26, 63, 0.45);
    outline-offset: 4px;
    border-radius: 4px;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-toggle i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

:where(.business-seat-map-edit-page) .map-summary-advanced-content {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 2px 0 0;
}

:where(.business-seat-map-edit-page) .map-summary-advanced-content.is-open {
    display: flex;
}

:where(.business-seat-map-edit-page) .map-summary-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

@media screen and (max-width: 736px) {
    :where(.business-seat-map-edit-page) #map-editor-section {
        padding-bottom: 220px;
    }

    :where(.business-seat-map-edit-page) .map-summary {
        gap: 20px;
    }

    :where(.business-seat-map-edit-page) .map-summary-item {
        padding: 16px 18px;
    }

    :where(.business-seat-map-edit-page) .map-summary-name {
        font-size: 15px;
    }

    :where(.business-seat-map-edit-page) .map-summary-amount {
        font-size: 17px;
    }
}
