.wsp-app,
.wsp-auth {
    --wsp-adminbar-offset: 0px;
    --wsp-ink: #1f2933;
    --wsp-muted: #5d6977;
    --wsp-line: #d8dee7;
    --wsp-soft: #f4f7fb;
    --wsp-accent: #0f766e;
    --wsp-accent-dark: #115e59;
    --wsp-danger: #b91c1c;
    --wsp-focus: rgba(15, 118, 110, 0.18);
    --wsp-seat: #ffffff;
    color: var(--wsp-ink);
    font-family: inherit;
    margin: 24px auto;
}

body.admin-bar .wsp-app {
    --wsp-adminbar-offset: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .wsp-app {
        --wsp-adminbar-offset: 46px;
    }
}

.wsp-app *,
.wsp-auth * {
    box-sizing: border-box;
}

.wsp-hostess {
    display: none;
}

.wsp-first-plan {
    margin: 0 0 14px;
}

.wsp-first-plan-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(17, 94, 89, 0.2);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.wsp-kicker {
    color: var(--wsp-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wsp-first-plan h2 {
    margin: 0;
    color: var(--wsp-accent-dark);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
}

.wsp-first-plan p {
    max-width: 760px;
    margin: 0;
    color: var(--wsp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.wsp-first-plan-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wsp-first-plan-steps div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--wsp-line);
    border-radius: 10px;
    background: #fff;
}

.wsp-first-plan-steps strong {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--wsp-accent);
    color: #fff;
}

.wsp-first-plan-steps span {
    color: var(--wsp-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.wsp-first-plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wsp-app.is-hostess-mode .wsp-toolbar,
.wsp-app.is-hostess-mode .wsp-saved-panel,
.wsp-app.is-hostess-mode .wsp-summary,
.wsp-app.is-hostess-mode .wsp-workspace,
.wsp-app.is-hostess-mode .wsp-table-lists {
    display: none;
}

.wsp-app.is-hostess-mode .wsp-hostess {
    display: flex;
    flex-direction: column;
    max-width: 920px;
    max-height: calc(100vh - var(--wsp-adminbar-offset) - 48px);
    max-height: calc(100dvh - var(--wsp-adminbar-offset) - 48px);
    margin: 0 auto;
    border: 1px solid var(--wsp-line);
    border-radius: 12px;
    padding: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.wsp-hostess-logo {
    display: block;
    width: min(260px, 70vw);
    height: auto;
    margin: 0 auto 24px;
}

.wsp-hostess-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.wsp-hostess-head span {
    display: block;
    margin-bottom: 4px;
    color: var(--wsp-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.wsp-hostess-head h3 {
    margin: 0;
    color: var(--wsp-ink);
    font-size: 30px;
    line-height: 1.1;
}

.wsp-hostess-current-plan {
    display: none;
}

.wsp-hostess-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    margin: -6px 0 18px;
}

.wsp-hostess-stat {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: #f6fbfa;
    text-align: left;
}

.wsp-hostess-stat-button {
    appearance: none;
    cursor: pointer;
}

.wsp-hostess-stat-button:focus-visible {
    outline: 0;
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 3px var(--wsp-focus);
}

.wsp-hostess-stat-button.is-active {
    border-color: var(--wsp-accent);
    background: #e6f6f4;
}

.wsp-hostess-stat span {
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wsp-hostess-stat strong {
    color: var(--wsp-accent-dark);
    font-size: 26px;
    line-height: 1;
}

.wsp-hostess-sync {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 800;
}

.wsp-hostess-back {
    flex: 0 0 auto;
    border: 1px solid var(--wsp-line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--wsp-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.wsp-hostess-tools {
    display: grid;
    grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.wsp-hostess-tools label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 800;
}

.wsp-hostess-tools select,
.wsp-hostess-tools input {
    width: 100%;
    height: auto;
    min-height: 54px;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    color: var(--wsp-ink);
    font-size: 18px;
    outline: 0;
    height: auto;
}

.wsp-hostess-tools input {
    font-size: 24px;
    font-weight: 800;
}

.wsp-hostess-tools select:focus,
.wsp-hostess-tools input:focus {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 3px var(--wsp-focus);
}

.wsp-hostess-results {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 10px;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.wsp-hostess-empty,
.wsp-hostess-result {
    border: 1px solid var(--wsp-line);
    border-radius: 10px;
    background: #fbfcfe;
}

.wsp-hostess-empty {
    padding: 24px;
    color: var(--wsp-muted);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.wsp-hostess-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 8px 14px;
    padding: 16px;
    align-items: center;
}

.wsp-hostess-result.is-arrived {
    border-color: rgba(15, 118, 110, 0.38);
    background: #ecfdf5;
}

.wsp-hostess-arrival {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 58px;
    color: var(--wsp-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
}

.wsp-hostess-arrival input {
    width: 30px;
    height: 30px;
    margin: 0;
    accent-color: var(--wsp-accent);
    cursor: pointer;
}

.wsp-hostess-arrival input:disabled {
    cursor: progress;
    opacity: 0.55;
}

.wsp-hostess-result.is-arrived .wsp-hostess-arrival,
.wsp-hostess-result.is-arrived .wsp-hostess-result-name {
    color: var(--wsp-accent-dark);
}

.wsp-hostess-result-main {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.wsp-hostess-result-name {
    min-width: 0;
    color: var(--wsp-ink);
    font-size: 20px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.wsp-hostess-result-members {
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.wsp-hostess-result-seats {
    border-radius: 999px;
    padding: 5px 10px;
    background: #eef8f7;
    color: var(--wsp-accent-dark);
    font-size: 14px;
    font-weight: 900;
}

.wsp-hostess-result-table {
    border-radius: 8px;
    padding: 9px 13px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.wsp-hostess-result-detail {
    grid-column: 2 / -1;
    color: var(--wsp-muted);
    font-size: 14px;
    font-weight: 800;
}

.wsp-hostess-result.is-unplaced .wsp-hostess-result-table {
    background: var(--wsp-danger);
}

.wsp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--wsp-line);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-toolbar-main {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(120px, 0.65fr) minmax(160px, 0.85fr) minmax(170px, 1fr) minmax(150px, 0.8fr);
    gap: 12px;
    align-items: end;
}

.wsp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wsp-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--wsp-muted);
}

.wsp-field input,
.wsp-field select {
    width: 100%;
    height: auto;
    min-height: 42px;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 9px 11px;
    background: #fff;
    color: var(--wsp-ink);
    font-size: 14px;
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wsp-field input:focus,
.wsp-field select:focus,
.wsp-guest-search input:focus,
.wsp-guest-add input:focus,
.wsp-modal input:focus,
.wsp-auth-panel input:focus {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 3px var(--wsp-focus);
}

.wsp-import-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.wsp-import-row .wsp-button {
    white-space: nowrap;
}

.wsp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: flex-end;
    flex: 0 0 auto;
    max-width: 370px;
}

.wsp-update-panel {
    display: flex;
    flex: 1 0 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid rgba(17, 94, 89, 0.18);
    border-radius: 8px;
    background: #f7fbfa;
}

.wsp-update-panel strong {
    display: block;
    color: var(--wsp-accent-dark);
    font-size: 14px;
    font-weight: 900;
}

.wsp-update-panel span {
    display: block;
    margin-top: 3px;
    color: var(--wsp-muted);
    font-size: 12px;
    line-height: 1.35;
}

.wsp-update-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.wsp-update-actions label.wsp-button {
    cursor: pointer;
}

.wsp-update-actions .wsp-button {
    min-width: 210px;
}

.wsp-update-status {
    flex: 1 0 100%;
    margin-top: -2px;
    border-radius: 6px;
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 800;
}

.wsp-update-status.is-success {
    border: 1px solid rgba(17, 94, 89, 0.24);
    background: #e8f6f4;
    color: #064e45;
}

.wsp-update-status.is-error {
    border: 1px solid rgba(185, 28, 28, 0.28);
    background: #fff5f5;
    color: #991b1b;
}

.wsp-saved-panel {
    margin: 12px 0;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.wsp-saved-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.wsp-saved-head > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wsp-saved-head span {
    color: var(--wsp-muted);
    font-size: 12px;
}

.wsp-saved-head .wsp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.wsp-saved-head-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 8px;
}

.wsp-plan-transfer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    border: 1px solid rgba(17, 94, 89, 0.14);
    border-radius: 8px;
    padding: 10px;
    background: #f8fffd;
}

.wsp-plan-transfer > div:first-child {
    display: flex;
    min-width: 220px;
    flex-direction: column;
    gap: 3px;
}

.wsp-plan-transfer span {
    color: var(--wsp-muted);
    font-size: 12px;
}

.wsp-plan-transfer-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
}

.wsp-plan-transfer-actions .wsp-button {
    width: auto;
    min-width: 138px;
    white-space: nowrap;
}

.wsp-plan-transfer-actions label.wsp-button {
    cursor: pointer;
}

.wsp-plan-transfer .wsp-update-status {
    grid-column: 1 / -1;
    width: auto;
    min-width: 0;
    margin-top: 0;
    flex: initial;
}

.wsp-saved-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wsp-saved-empty {
    color: var(--wsp-muted);
    font-size: 13px;
}

.wsp-saved-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--wsp-line);
    border-radius: 999px;
    padding: 5px 6px 5px 12px;
    background: #fbfcfe;
    font-size: 13px;
    font-weight: 700;
}

.wsp-saved-item.is-active {
    border-color: var(--wsp-accent);
    background: #f0fdfa;
    color: var(--wsp-accent-dark);
}

.wsp-saved-actions {
    display: flex;
    gap: 4px;
}

.wsp-saved-action {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: var(--wsp-ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.wsp-saved-action:hover,
.wsp-saved-action:focus {
    border-color: var(--wsp-accent);
    color: var(--wsp-accent-dark);
}

.wsp-saved-action-edit:hover,
.wsp-saved-action-edit:focus {
    border-color: var(--wsp-accent);
    background: #f0fdfa;
    color: var(--wsp-accent-dark);
}

.wsp-saved-action-delete:hover,
.wsp-saved-action-delete:focus {
    border-color: var(--wsp-danger);
    color: var(--wsp-danger);
}

.wsp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    padding: 8px 13px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.wsp-button:hover,
.wsp-button:focus {
    background: var(--wsp-accent-dark);
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.18);
}

.wsp-button:active {
    transform: translateY(1px);
}

.wsp-button-secondary {
    background: #334155;
}

.wsp-button-secondary:hover,
.wsp-button-secondary:focus {
    background: #1f2937;
}

.wsp-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.wsp-file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.wsp-summary {
    margin: 12px 0;
    padding: 10px 14px;
    border: 1px solid #dce7dc;
    border-radius: 8px;
    background: #f7fbf6;
    color: #34423b;
    font-size: 14px;
}

.wsp-workspace {
    display: grid;
    grid-template-columns: 280px 320px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    min-width: 0;
}

.wsp-finance-panel {
    display: none;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-finance-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.wsp-finance-summary > div {
    border: 1px solid rgba(17, 94, 89, 0.16);
    border-radius: 8px;
    padding: 11px;
    background: #f8fffd;
}

.wsp-finance-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 800;
}

.wsp-finance-summary strong {
    color: var(--wsp-accent-dark);
    font-size: 18px;
}

.wsp-finance-summary .is-negative strong {
    color: var(--wsp-danger);
}

.wsp-finance-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    gap: 14px;
}

.wsp-finance-card {
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
}

.wsp-finance-card h3,
.wsp-finance-card h4 {
    margin: 0;
    color: var(--wsp-ink);
}

.wsp-finance-rows,
.wsp-finance-gifts,
.wsp-finance-custom {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.wsp-finance-row,
.wsp-finance-gift-row,
.wsp-finance-custom-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto 120px 110px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--wsp-line);
    border-radius: 7px;
    padding: 8px;
    background: #fff;
}

.wsp-finance-gift-row {
    grid-template-columns: minmax(180px, 1fr) 130px;
}

.wsp-finance-gift-row[hidden] {
    display: none;
}

.wsp-finance-gift-row > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.wsp-finance-gift-row > span strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsp-finance-gift-row > span em {
    flex: 0 0 auto;
}

.wsp-finance-custom-row {
    grid-template-columns: minmax(160px, 1fr) 130px 30px;
}

.wsp-finance-row strong,
.wsp-finance-gift-row strong {
    color: var(--wsp-ink);
    font-size: 13px;
}

.wsp-finance-row span,
.wsp-finance-gift-row em {
    color: var(--wsp-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.wsp-finance-row em {
    color: var(--wsp-accent-dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    text-align: right;
}

.wsp-finance-panel input {
    min-height: 34px;
    border: 1px solid rgba(216, 222, 231, 0.88);
    border-radius: 6px;
    padding: 7px 9px;
    background: #fff;
    color: var(--wsp-ink);
    font: inherit;
    font-weight: 700;
}

.wsp-finance-custom-row button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(185, 28, 28, 0.24);
    border-radius: 50%;
    background: #fff;
    color: var(--wsp-danger);
    font-weight: 900;
    cursor: pointer;
}

.wsp-finance-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.wsp-finance-card-head span {
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 800;
}

.wsp-finance-card-actions {
    display: flex;
    gap: 8px;
}

.wsp-finance-card-actions-bottom {
    margin-top: 10px;
}

.wsp-finance-card-actions-bottom .wsp-button {
    flex: 1 1 0;
}

.wsp-finance-card-head .wsp-button {
    min-height: 32px;
    padding: 6px 10px;
}

.wsp-finance-empty {
    margin: 0;
    color: var(--wsp-muted);
    font-size: 13px;
    font-style: italic;
}

.wsp-finance-search {
    width: 100%;
    margin-top: 10px;
}

.wsp-inspector {
    min-height: 640px;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 14px;
    background: #ffffff;
    color: var(--wsp-ink);
    overflow: auto;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-inspector-toggle {
    display: none;
}

.wsp-inspector-head {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--wsp-line);
    color: var(--wsp-accent-dark);
    text-align: center;
    font-size: 18px;
}

.wsp-inspector label,
.wsp-inspector-section {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 800;
}

.wsp-inspector input,
.wsp-inspector select {
    width: 100%;
    height: auto;
    min-height: 34px;
    border: 1px solid rgba(216, 222, 231, 0.88);
    border-radius: 6px;
    padding: 7px 9px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--wsp-ink);
    font: inherit;
    font-weight: 600;
}

.wsp-inspector-section strong {
    color: var(--wsp-ink);
    font-size: 15px;
}

.wsp-inspector-counter {
    margin-bottom: 14px;
    text-align: center;
}

.wsp-inspector-counter > span {
    display: block;
    margin-bottom: 8px;
    color: var(--wsp-muted);
    font-size: 13px;
    font-style: italic;
    font-weight: 800;
}

.wsp-inspector-counter > div {
    display: inline-grid;
    grid-template-columns: 36px minmax(62px, auto) 36px;
    align-items: center;
    gap: 8px;
}

.wsp-inspector-counter button,
.wsp-inspector-button,
.wsp-inspector-actions button,
.wsp-inspector-guest-choice {
    min-height: 34px;
    border: 1px solid var(--wsp-line);
    border-radius: 7px;
    background: #fff;
    color: var(--wsp-ink);
    font-weight: 800;
    cursor: pointer;
}

.wsp-inspector-counter strong {
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 16px;
    background: #e8f6f4;
    color: var(--wsp-accent-dark);
    font-size: 24px;
}

.wsp-inspector-range input {
    padding: 0;
}

.wsp-inspector-range > span {
    align-self: flex-start;
    border-radius: 999px;
    padding: 3px 8px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 12px;
}

.wsp-inspector-unit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.wsp-inspector-unit span {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 8px;
    background: #fff;
    color: var(--wsp-ink);
    font-weight: 700;
}

.wsp-inspector-warning {
    margin: 0 0 12px;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    padding: 9px;
    background: #fff5f5;
    color: #991b1b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.wsp-inspector-note {
    margin: -2px 0 8px;
    color: #64748b;
    font-size: 12px;
}

.wsp-inspector-button {
    width: 100%;
    background: var(--wsp-accent);
    color: #fff;
}

.wsp-inspector-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}

.wsp-inspector-actions-stack {
    grid-template-columns: 1fr;
}

.wsp-inspector-actions .is-danger {
    border-color: rgba(185, 28, 28, 0.25);
    color: var(--wsp-danger);
}

.wsp-inspector-guests {
    display: grid;
    gap: 6px;
    max-height: 280px;
    overflow: auto;
}

.wsp-seat-guest-section .wsp-inspector-guests {
    max-height: none;
    overflow: visible;
}

.wsp-seat-new-guest-form {
    padding: 10px;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    background: #fbfcfe;
}

.wsp-seat-new-guest-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
    align-items: end;
}

.wsp-seat-new-guest-form .wsp-guest-member-row {
    grid-template-columns: minmax(0, 1fr);
}

.wsp-seat-new-guest-form .wsp-menu-options {
    margin-bottom: 4px;
}

.wsp-inspector-search {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 8px 10px;
    background: #fff;
    color: var(--wsp-ink);
    font: inherit;
    font-weight: 600;
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wsp-inspector-search:focus {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 3px var(--wsp-focus);
}

.wsp-inspector-guests .wsp-table-list-guest,
.wsp-inspector-guest-choice {
    width: 100%;
    text-align: left;
}

.wsp-inspector-guest-choice {
    display: flex;
    align-items: center;
    padding: 8px 10px;
}

.wsp-seat-preview {
    display: grid;
    place-items: center;
    min-height: 86px;
    margin-bottom: 12px;
    border: 2px dashed var(--wsp-accent);
    border-radius: 999px;
    color: var(--wsp-accent-dark);
    font-weight: 800;
    text-align: center;
}

.wsp-seat-preview.is-occupied {
    border-color: #0f766e;
    background: #e8f6f4;
    color: #064e45;
}

.wsp-fixed-notice {
    position: fixed;
    left: 50%;
    top: 18px;
    z-index: 100002;
    width: min(520px, calc(100vw - 28px));
    transform: translateX(-50%);
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff5f5;
    color: #991b1b;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
}

.wsp-fixed-notice[hidden] {
    display: none;
}

.wsp-sidebar {
    min-height: 640px;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--wsp-line);
    background: var(--wsp-soft);
}

.wsp-sidebar-head h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.wsp-sidebar-head span {
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

.wsp-guest-tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--wsp-line);
    background: #fff;
}

.wsp-guest-tools .wsp-update-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.wsp-guest-tools .wsp-update-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.wsp-guest-tools .wsp-update-actions .wsp-button {
    width: 100%;
    min-width: 0;
}

.wsp-guest-search,
.wsp-guest-filter,
.wsp-guest-add-toggle-wrap,
.wsp-guest-add {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-bottom: 1px solid var(--wsp-line);
    background: #fbfcfe;
}

.wsp-guest-search label,
.wsp-guest-filter,
.wsp-guest-add label {
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 700;
}

.wsp-guest-search input,
.wsp-guest-add input,
.wsp-guest-add select,
.wsp-guest-members select {
    width: 100%;
    height: auto;
    min-height: 38px;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 8px 10px;
    background: #fff;
    color: var(--wsp-ink);
    font: inherit;
    font-weight: 600;
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wsp-guest-filter {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: #fff;
    cursor: pointer;
}

.wsp-guest-filter input {
    flex: 0 0 auto;
    width: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    accent-color: var(--wsp-accent);
}

.wsp-guest-add input[type="checkbox"],
.wsp-guest-add input[type="radio"],
.wsp-guest-members input[type="checkbox"],
.wsp-guest-members input[type="radio"],
.wsp-modal input[type="checkbox"],
.wsp-modal input[type="radio"],
.wsp-inspector input[type="checkbox"],
.wsp-inspector input[type="radio"] {
    width: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    accent-color: var(--wsp-accent);
}

.wsp-checkbox-label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    color: var(--wsp-ink) !important;
    font-size: 13px;
    font-weight: 700;
}

.wsp-guest-add-toggle-wrap .wsp-button {
    width: 100%;
}

.wsp-guest-add.is-collapsed {
    display: none;
}

.wsp-guest-members {
    display: grid;
    gap: 8px;
}

.wsp-guest-members label {
    display: grid;
    gap: 5px;
}

.wsp-guest-member-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
    align-items: end;
}

.wsp-guest-member-row .wsp-menu-options {
    grid-column: 1 / -1;
}

.wsp-menu-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
    align-items: center;
}

.wsp-menu-option {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px !important;
    margin: 0;
    color: var(--wsp-ink) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15;
    white-space: nowrap;
}

.wsp-menu-option input {
    flex: 0 0 auto;
}

.wsp-guest-add-row {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 8px;
}

.wsp-guest-add-row .wsp-button {
    min-height: 38px;
    padding: 7px 10px;
}

.wsp-guest-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow: auto;
    padding: 12px;
}

.wsp-guest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    cursor: grab;
    user-select: none;
}

.wsp-guest:hover {
    border-color: #b8c4d3;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.wsp-guest:active {
    cursor: grabbing;
}

.wsp-guest.is-placed {
    background: #f8fafc;
}

.wsp-guest.is-unplaced {
    border-color: #f0b9b9;
    background: #fffafa;
}

.wsp-guest-main {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    gap: 3px;
}

.wsp-guest-name {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.wsp-guest-table {
    min-width: 0;
    overflow: hidden;
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsp-guest.is-unplaced .wsp-guest-table {
    color: var(--wsp-danger);
}

.wsp-guest-size {
    flex: 0 0 auto;
    min-width: 26px;
    border-radius: 999px;
    padding: 3px 7px;
    background: #eef8f7;
    color: #0f766e;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.wsp-guest-actions,
.wsp-table-pill-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 3px;
}

.wsp-guest-actions {
    position: relative;
}

.wsp-guest-action {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    padding: 0;
    background: #ffffff;
    color: var(--wsp-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.wsp-guest-action-menu {
    width: 26px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 1px;
}

.wsp-guest-menu {
    position: absolute;
    z-index: 99999;
    display: none;
    flex-direction: column;
    gap: 3px;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.wsp-guest-menu.opens-up {
    transform-origin: bottom right;
}

.wsp-guest-actions.is-open .wsp-guest-menu {
    display: flex;
}

.wsp-guest-menu .wsp-guest-action {
    width: 86px;
    height: 28px;
    border-radius: 4px;
    justify-content: flex-start;
    padding: 0 9px;
    font-size: 12px;
    text-align: left;
}

.wsp-guest-action:hover,
.wsp-guest-action:focus {
    border-color: var(--wsp-accent);
    background: #f0fdfa;
    color: var(--wsp-accent-dark);
}

.wsp-guest-action-delete:hover,
.wsp-guest-action-delete:focus {
    border-color: var(--wsp-danger);
    background: #fff5f5;
    color: var(--wsp-danger);
}

.wsp-hall-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: auto;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto;
    touch-action: pan-x pan-y;
    scrollbar-gutter: stable;
    scrollbar-width: none;
}

.wsp-hall-wrap::-webkit-scrollbar {
    display: none;
}

.wsp-zoom-controls {
    position: sticky;
    left: calc(100% - 48px);
    bottom: 16px;
    z-index: 30;
    display: grid;
    width: 38px;
    margin: -136px 12px 12px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.wsp-zoom-controls button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    background: var(--wsp-accent);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.wsp-zoom-controls button:first-child {
    background: #fff;
    color: var(--wsp-accent);
    border: 1px solid #cbd5e1;
}

.wsp-zoom-controls button:last-child {
    border-bottom: 0;
}

.wsp-canvas-actions {
    position: sticky;
    left: 12px;
    top: 12px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    height: 0;
    max-width: calc(100% - 24px);
}

.wsp-canvas-actions:empty {
    display: none;
}

.wsp-canvas-add-table,
.wsp-canvas-add-room-item {
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.wsp-add-element-modal {
    width: min(760px, 100%);
    max-height: min(820px, calc(100vh - var(--wsp-adminbar-offset) - 42px));
    overflow: auto;
}

.wsp-add-element-section {
    margin-top: 14px;
}

.wsp-add-element-section h4 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--wsp-line);
    font-size: 18px;
    font-weight: 800;
}

.wsp-add-element-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 10px;
}

.wsp-add-element-grid .wsp-add-card {
    display: grid;
    grid-template-rows: 76px auto;
    gap: 8px;
    align-items: center;
    justify-items: center;
    min-height: 122px;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    color: #6d3fa0;
    font-weight: 800;
    cursor: pointer;
}

.wsp-add-element-grid .wsp-add-card:hover,
.wsp-add-element-grid .wsp-add-card:focus {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 3px var(--wsp-focus);
}

.wsp-add-element-grid .wsp-add-card.is-disabled,
.wsp-add-element-grid .wsp-add-card:disabled {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.58;
    box-shadow: none;
}

.wsp-add-element-grid .wsp-add-card.is-disabled:hover,
.wsp-add-element-grid .wsp-add-card.is-disabled:focus {
    border-color: #e2e8f0;
    box-shadow: none;
}

.wsp-add-card-label em {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.wsp-add-card-preview {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 76px;
    color: #111827;
}

.wsp-add-card-label {
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
}

.wsp-add-table-preview {
    position: relative;
    width: 86px;
    height: 58px;
}

.wsp-add-table-preview i {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 52px;
    height: 30px;
    transform: translate(-50%, -50%);
    border: 2px solid #555;
    border-radius: 6px;
    background: #f7f5fb;
}

.wsp-add-table-round i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.wsp-add-table-ellipse i {
    width: 58px;
    height: 34px;
    border-radius: 50%;
}

.wsp-add-table-square i {
    width: 34px;
    height: 34px;
}

.wsp-add-table-semiround i {
    width: 56px;
    height: 34px;
    border-radius: 999px 999px 8px 8px;
}

.wsp-add-table-preview b {
    position: absolute;
    left: calc(50% - 6px);
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    transform: rotate(calc((360deg / var(--n)) * var(--i))) translateY(-33px);
    border: 1.5px solid #555;
    border-radius: 50%;
    background: #fff;
}

.wsp-add-graphic-preview {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 58px;
    min-height: 48px;
    font-size: 32px;
    font-weight: 800;
}

.wsp-add-graphic-preview svg {
    display: block;
    width: 84px;
    height: 64px;
    overflow: visible;
}

.wsp-add-graphic-preview svg path,
.wsp-add-graphic-preview svg rect,
.wsp-add-graphic-preview svg circle {
    fill: none;
    stroke: #333;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wsp-add-graphic-preview svg text {
    fill: #334155;
    stroke: none;
    font: 700 12px Arial, sans-serif;
    text-anchor: middle;
    dominant-baseline: middle;
}

.wsp-add-graphic-preview svg .is-dashed {
    stroke-dasharray: 5 4;
}

.wsp-add-graphic-preview svg .is-wall {
    stroke-width: 6;
}

.wsp-add-graphic-preview svg .is-stage {
    fill: rgba(168, 85, 247, 0.1);
    stroke: #a855f7;
    stroke-dasharray: 5 4;
}

.wsp-add-graphic-preview svg .is-arrow {
    stroke-width: 3;
}

.wsp-add-graphic-fallback {
    display: none;
}

.wsp-add-graphic-wall {
    width: 78px;
    height: 10px;
    border-top: 5px solid #333;
    font-size: 0;
}

.wsp-add-graphic-door-right,
.wsp-add-graphic-door-left {
    width: 64px;
    height: 48px;
    border-bottom: 2px dashed #333;
    border-left: 2px solid #333;
    border-radius: 0 42px 0 0;
    font-size: 0;
}

.wsp-add-graphic-door-left {
    transform: scaleX(-1);
}

.wsp-add-graphic-dance-rect,
.wsp-add-graphic-dance-circle,
.wsp-add-graphic-stage-semi {
    border: 2px dashed #a855f7;
    color: transparent;
}

.wsp-add-graphic-dance-rect {
    width: 70px;
    height: 40px;
}

.wsp-add-graphic-dance-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.wsp-add-graphic-stage-semi {
    width: 70px;
    height: 40px;
    border-radius: 999px 999px 0 0;
    border-bottom-style: solid;
}

.wsp-add-graphic-preview {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: inherit;
    font-size: initial;
    transform: none;
}

.wsp-canvas-add-room-item {
    background: #334155;
}

.wsp-canvas-add-table:hover,
.wsp-canvas-add-table:focus,
.wsp-canvas-add-room-item:hover,
.wsp-canvas-add-room-item:focus {
    background: var(--wsp-accent-dark);
}

.wsp-hall-wrap.is-panning {
    cursor: grabbing;
    user-select: none;
}

.wsp-hall-stage {
    position: relative;
    min-width: 100%;
    min-height: 100%;
}

.wsp-hall {
    position: relative;
    width: 860px;
    height: 640px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(rgba(31, 41, 51, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 41, 51, 0.045) 1px, transparent 1px),
        #fbfcfe;
    background-size: 32px 32px;
    overflow: visible;
    cursor: grab;
    touch-action: pan-x pan-y;
    transform: scale(1);
    transform-origin: 0 0;
    will-change: transform;
}

.wsp-hall::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../img/logo1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: min(380px, 34%) auto;
    opacity: 0.08;
    pointer-events: none;
}

.wsp-room-shape {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.wsp-room-shape-fill {
    fill: rgba(255, 255, 255, 0.08);
    stroke: #53657a;
    stroke-linejoin: round;
    stroke-width: 5;
    vector-effect: non-scaling-stroke;
}

.wsp-hall[data-format="wide"] {
    min-width: 1040px;
    height: 560px;
}

.wsp-hall[data-format="long"] {
    min-width: 760px;
    height: 760px;
}

.wsp-room-item {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    --wsp-room-item-border: #8493a8;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #334155;
    font-weight: 800;
    cursor: move;
    touch-action: none;
    transform-origin: center center;
    user-select: none;
    gap: 6px;
    padding-inline: 8px;
}

.wsp-room-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 2px dashed var(--wsp-room-item-border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    pointer-events: none;
}

.wsp-room-item[hidden] {
    display: none !important;
}

.wsp-room-item.is-wsp-selected::after {
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.18);
}

.wsp-room-item::before {
    content: attr(data-icon);
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1;
}

.wsp-room-item[data-visual-type="wall"] {
    height: 28px;
}

.wsp-room-item[data-visual-type="wall"]::after {
    top: calc(50% - 3px);
    bottom: auto;
    height: 6px;
    border: 0;
    border-radius: 0;
    background: repeating-linear-gradient(135deg, #cbd5e1 0 4px, #f8fafc 4px 8px);
    box-shadow: inset 0 0 0 1px #94a3b8;
}

.wsp-room-item[data-visual-type^="door"]::after {
    border-style: dashed;
    border-radius: 0 999px 0 0;
    background: rgba(255, 255, 255, 0.72);
}

.wsp-room-item[data-visual-type="door-left"]::after {
    transform: scaleX(-1);
}

.wsp-room-item[data-visual-type="target"]::after,
.wsp-room-item[data-visual-type="pole"]::after {
    border-style: solid;
    border-radius: 999px;
}

.wsp-room-item[data-visual-type="arrow"] {
    padding: 0;
    color: #334155;
    overflow: visible;
}

.wsp-room-item[data-visual-type="arrow"]::after,
.wsp-room-item[data-visual-type="arrow"].is-wsp-selected::after {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wsp-room-item[data-visual-type="arrow"]::before {
    content: none;
}

.wsp-room-item[data-visual-type="arrow"] > span {
    position: absolute;
    inset: 8px 0;
    display: block;
    background-image: url("../img/top_arrow.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    color: transparent;
    font-size: 0;
}

.wsp-room-item[data-visual-type="arrow"] > span::before {
    content: none;
}

.wsp-room-item[data-visual-type="arrow"] > span::after {
    content: none;
}

.wsp-room-item[data-visual-type="arrow"] .wsp-room-rotate-handle {
    top: -34px;
}

.wsp-room-item[data-visual-type="arrow"] .wsp-room-resize-handle {
    right: -24px;
    bottom: -24px;
}

.wsp-room-item[data-visual-type="label"],
.wsp-room-item[data-icon="A"],
.wsp-room-item[data-label="Eticheta"] {
    padding: 0;
    background: transparent;
}

.wsp-room-item[data-visual-type="label"]::after,
.wsp-room-item[data-visual-type="label"].is-wsp-selected::after,
.wsp-room-item[data-icon="A"]::after,
.wsp-room-item[data-icon="A"].is-wsp-selected::after,
.wsp-room-item[data-label="Eticheta"]::after,
.wsp-room-item[data-label="Eticheta"].is-wsp-selected::after {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wsp-room-item[data-visual-type="label"]::before,
.wsp-room-item[data-icon="A"]::before,
.wsp-room-item[data-label="Eticheta"]::before {
    display: none;
}

.wsp-room-item[data-visual-type="label"] > span,
.wsp-room-item[data-icon="A"] > span,
.wsp-room-item[data-label="Eticheta"] > span {
    color: #334155;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.wsp-room-item[data-visual-type="stage-semi"] {
    padding: 0;
    color: #334155;
}

.wsp-room-item[data-visual-type="stage-semi"]::after,
.wsp-room-item[data-visual-type="stage-semi"].is-wsp-selected::after {
    inset: 0;
    border: 2px dashed rgba(168, 85, 247, 0.34);
    border-bottom: 2px dashed rgba(168, 85, 247, 0.34);
    border-radius: 999px 999px 0 0;
    background: rgba(168, 85, 247, 0.14);
    box-shadow: none;
}

.wsp-room-item[data-visual-type="stage-semi"]::before {
    display: none;
}

.wsp-room-item[data-visual-type="stage-semi"] > span {
    display: block;
    color: #1f2937;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.wsp-room-item[data-visual-type^="dance-"]::after,
.wsp-room-item[data-label="Ring de dans"]::after {
    background: transparent;
}

.wsp-room-item > span {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.wsp-room-item-stage {
    width: 170px;
    height: 72px;
}

.wsp-room-item-head {
    width: 230px;
    height: 72px;
    --wsp-room-item-border: #bf7c3a;
    color: #8a4f18;
}

.wsp-room-item-candy {
    width: 150px;
    height: 64px;
    --wsp-room-item-border: #c084fc;
    color: #7e22ce;
}

.wsp-room-item-cocktail {
    width: 160px;
    height: 64px;
    --wsp-room-item-border: #14b8a6;
    color: #0f766e;
}

.wsp-room-item-bar,
.wsp-room-item-custom {
    width: 150px;
    height: 64px;
}

.wsp-room-item-bar {
    --wsp-room-item-border: #2563eb;
    color: #1d4ed8;
}

.wsp-room-item-custom {
    --wsp-room-item-border: #64748b;
    color: #334155;
}

.wsp-room-item[data-shape="rounded"]::after {
    border-radius: 999px;
}

.wsp-room-item[data-shape="circle"] {
    aspect-ratio: 1;
}

.wsp-room-item[data-shape="circle"]::after {
    border-radius: 999px;
}

.wsp-room-item[data-shape="diamond"]::after {
    inset: 10px;
    border-radius: 4px;
    transform: rotate(45deg);
}

.wsp-room-item[data-shape="diamond"] {
    padding-inline: 18px;
}

.wsp-room-item-entrance {
    width: 120px;
    height: 42px;
    border-style: solid;
    --wsp-room-item-border: #0f766e;
    color: #0f766e;
}

.wsp-room-item-entrance::after,
.wsp-room-item-entrance.is-wsp-selected::after {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wsp-room-item-entrance::before {
    width: auto;
    height: auto;
    background: transparent;
    color: currentColor;
    font-size: 34px;
    line-height: 1;
}

.wsp-room-item-entrance > span {
    display: none;
}

.wsp-room-controls {
    display: none;
}

.wsp-room-transform-handle {
    position: absolute;
    z-index: 12;
    display: none;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #9fb0c3;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    touch-action: none;
}

.wsp-room-item.is-wsp-selected .wsp-room-transform-handle {
    display: grid;
}

.wsp-room-rotate-handle {
    left: 50%;
    top: -12px;
    cursor: grab;
    transform: translateX(-50%);
}

.wsp-room-rotate-handle:active {
    cursor: grabbing;
}

.wsp-room-resize-handle {
    right: -12px;
    bottom: -12px;
    cursor: nwse-resize;
}

.wsp-room-dimensions {
    position: absolute;
    inset: 0;
    z-index: 11;
    display: none;
    pointer-events: none;
}

.wsp-room-item.is-resizing .wsp-room-dimensions {
    display: block;
}

.wsp-room-dimension {
    position: absolute;
    color: #a855f7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff;
}

.wsp-room-dimension b {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    font: inherit;
    white-space: nowrap;
}

.wsp-room-dimension-x {
    left: 0;
    top: 50%;
    width: 100%;
    height: 0;
    border-top: 2px solid #a855f7;
    transform: translateY(-50%);
}

.wsp-room-dimension-x b {
    left: 28%;
    top: -12px;
    transform: translateX(-50%);
}

.wsp-room-dimension-y {
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    border-left: 2px solid #a855f7;
    transform: translateX(-50%);
}

.wsp-room-dimension-y b {
    left: 12px;
    top: 28%;
    transform: none;
}

.wsp-room-dimension-x::before,
.wsp-room-dimension-x::after,
.wsp-room-dimension-y::before,
.wsp-room-dimension-y::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

.wsp-room-dimension-x::before {
    left: -1px;
    top: -5px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 8px solid #a855f7;
}

.wsp-room-dimension-x::after {
    right: -1px;
    top: -5px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid #a855f7;
}

.wsp-room-dimension-y::before {
    left: -5px;
    top: -1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #a855f7;
}

.wsp-room-dimension-y::after {
    left: -5px;
    bottom: -1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #a855f7;
}

.wsp-table-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.wsp-table {
    position: absolute;
    width: 188px;
    height: 188px;
    transform-origin: center center;
    touch-action: none;
    cursor: default;
}

.wsp-table.is-wsp-selected {
    outline: 2px solid rgba(15, 118, 110, 0.55);
    outline-offset: 8px;
    border-radius: 999px;
}

.wsp-table-core {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 2px solid #53657a;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    cursor: move;
}

.wsp-table[data-table-visual="semiround"] .wsp-table-core {
    border-radius: 999px 999px 8px 8px;
}

.wsp-table[data-table-shape="rectangle"] .wsp-table-core {
    border-radius: 8px;
}

.wsp-table-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    max-width: 92px;
    text-align: center;
    line-height: 1.1;
    pointer-events: none;
}

.wsp-table-title strong {
    font-size: 15px;
}

.wsp-table-title span {
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 700;
}

.wsp-table-controls {
    position: absolute;
    left: 50%;
    top: -10px;
    z-index: 4;
    display: flex;
    gap: 4px;
    transform: translateX(-50%);
}

.wsp-table-control {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #9fb0c3;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: #334155;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
}

.wsp-table-control:hover,
.wsp-table-control:focus {
    border-color: var(--wsp-accent);
    color: var(--wsp-accent-dark);
}

.wsp-table-control-delete {
    border-color: #f1b8b8;
    color: var(--wsp-danger);
}

.wsp-table-control-delete:hover,
.wsp-table-control-delete:focus {
    border-color: var(--wsp-danger);
    background: #fff5f5;
    color: var(--wsp-danger);
}

.wsp-table-control-edit {
    font-size: 11px;
}

.wsp-seat {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    left: calc(50% - 12px);
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
    border: 2px dashed #c6ced8;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    color: #607086;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.wsp-seat-number {
    pointer-events: none;
}

.wsp-seat.is-occupied {
    z-index: 9;
    left: calc(50% - 16px);
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: grab;
    overflow: visible;
}

.wsp-seat.is-occupied .wsp-seat-number {
    display: none;
}

.wsp-seat.is-companion-occupied {
    left: calc(50% - 16px);
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wsp-seat.is-companion-occupied .wsp-seat-number {
    display: none;
}

.wsp-seat-person-icon {
    position: absolute;
    inset: -4px;
    z-index: 2;
    display: block;
    border: 2px solid #5f6874;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.16);
    pointer-events: none;
}

.wsp-seat-person-icon svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #5f6874;
}

.wsp-seat-person-icon img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(var(--wsp-person-icon-rotate, 0deg));
    transform-origin: center;
}

.wsp-seat-person-icon svg * {
    vector-effect: non-scaling-stroke;
}

.wsp-seat-person-boy svg,
.wsp-seat-person-girl svg {
    inset: 0;
    width: 100%;
    height: 100%;
}

.wsp-seat-person-baby svg {
    inset: 0;
    width: 100%;
    height: 100%;
}

.wsp-seat-person-woman svg {
    color: #4b5563;
}

.wsp-seat.is-occupied:active {
    cursor: grabbing;
}

.wsp-seat.is-wsp-selected {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 4px var(--wsp-focus);
}

.wsp-seat.is-occupied.is-wsp-selected {
    box-shadow: none;
}

.wsp-seat.is-occupied.is-wsp-selected .wsp-seat-person-icon {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.22), 0 6px 14px rgba(15, 23, 42, 0.22);
}

.wsp-table-resize-handle,
.wsp-table-rotate-handle {
    position: absolute;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #6b7280;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
}

.wsp-table-rotate-handle {
    left: 50%;
    top: calc(var(--wsp-table-core-offset-y, 36px) + 8px);
    cursor: grab;
    transform: translateX(-50%);
}

.wsp-table-resize-corner {
    right: calc(var(--wsp-table-core-offset-x, 36px) + 8px);
    bottom: calc(var(--wsp-table-core-offset-y, 36px) + 8px);
    cursor: nwse-resize;
}

.wsp-table-resize-handle:active,
.wsp-table-rotate-handle:active {
    cursor: grabbing;
}

.wsp-table-dimensions {
    position: absolute;
    inset: 0;
    z-index: 18;
    display: none;
    pointer-events: none;
}

.wsp-table.is-resizing .wsp-table-dimensions {
    display: block;
}

.wsp-table-dimension {
    position: absolute;
    color: #a855f7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff;
}

.wsp-table-dimension b {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    font: inherit;
    white-space: nowrap;
}

.wsp-table-dimension-x {
    left: var(--wsp-table-dim-x-left, 36px);
    top: var(--wsp-table-dim-x-top, 50%);
    width: var(--wsp-table-dim-x-width, 120px);
    height: 0;
    border-top: 2px solid #a855f7;
    transform: translateY(-50%);
}

.wsp-table-dimension-x b {
    left: 28%;
    top: -12px;
    transform: translateX(-50%);
}

.wsp-table-dimension-y {
    left: var(--wsp-table-dim-y-left, 50%);
    top: var(--wsp-table-dim-y-top, 36px);
    width: 0;
    height: var(--wsp-table-dim-y-height, 120px);
    border-left: 2px solid #a855f7;
    transform: translateX(-50%);
}

.wsp-table-dimension-y b {
    left: 10px;
    top: 28%;
    transform: none;
}

.wsp-table-dimension-x::before,
.wsp-table-dimension-x::after,
.wsp-table-dimension-y::before,
.wsp-table-dimension-y::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

.wsp-table-dimension-x::before {
    left: -1px;
    top: -5px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 8px solid #a855f7;
}

.wsp-table-dimension-x::after {
    right: -1px;
    top: -5px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid #a855f7;
}

.wsp-table-dimension-y::before {
    left: -5px;
    top: -1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #a855f7;
}

.wsp-table-dimension-y::after {
    left: -5px;
    bottom: -1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #a855f7;
}

.wsp-seat-tooltip {
    position: fixed;
    z-index: 999999;
    width: max-content;
    min-width: 132px;
    max-width: 240px;
    padding: 7px 9px;
    border: 1px solid #0f766e;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    color: #1f2937;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    pointer-events: none;
    text-align: center;
    white-space: normal;
}

.wsp-seat-tooltip[hidden] {
    display: none;
}

.wsp-seat.is-preview {
    border-color: #b7791f;
    background: #fde68a;
}

.wsp-seat.is-overflow {
    border-color: #b91c1c;
    background: #fecaca;
}

.wsp-table-guests {
    position: absolute;
    left: 50%;
    bottom: -78px;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    width: 150px;
    min-height: 22px;
    transform: translateX(-50%);
    z-index: 6;
}

.wsp-table-pill {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    max-width: 124px;
    min-width: 82px;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    border: 1px solid #b8d9d4;
    border-radius: 7px;
    padding: 6px 15px 5px;
    background: rgba(240, 253, 250, 0.96);
    color: #115e59;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.08;
    text-align: center;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.wsp-table-pill-name {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 104px;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.wsp-table-pill .wsp-guest-action {
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    padding: 0;
    font-size: 9px;
    line-height: 1;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wsp-table-pill-actions {
    display: contents;
}

.wsp-table-pill .wsp-guest-action-remove {
    right: -4px;
    top: -4px;
    border-color: var(--wsp-danger);
    color: var(--wsp-danger);
}

.wsp-table-pill:hover .wsp-guest-action-remove,
.wsp-table-pill:focus-within .wsp-guest-action-remove {
    opacity: 1;
    pointer-events: auto;
}

.wsp-table-pill .wsp-guest-action-remove:hover,
.wsp-table-pill .wsp-guest-action-remove:focus {
    background: var(--wsp-danger);
    color: #fff;
}

.wsp-table-guests-toggle {
    min-height: 20px;
    border: 1px solid #9fb0c3;
    border-radius: 999px;
    padding: 2px 7px;
    background: #fff;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.wsp-table-guests-toggle:hover,
.wsp-table-guests-toggle:focus {
    border-color: var(--wsp-accent);
    color: var(--wsp-accent-dark);
}

.wsp-table.is-drop-target .wsp-table-core {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15), 0 8px 20px rgba(15, 23, 42, 0.12);
}

.wsp-empty {
    color: var(--wsp-muted);
    padding: 12px;
    text-align: center;
}

.wsp-table-lists {
    margin-top: 16px;
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-table-lists:empty {
    display: none;
}

.wsp-table-lists-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.wsp-table-lists-head strong {
    font-size: 17px;
}

.wsp-table-lists-head span {
    color: var(--wsp-muted);
    font-size: 13px;
}

.wsp-table-lists-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 10px;
}

.wsp-table-list-card {
    min-width: 0;
    border: 1px solid #d9e3ee;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.wsp-table-list-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    background: #e8f6f4;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.wsp-table-list-card-head span {
    flex: 0 0 auto;
    color: #53657a;
}

.wsp-table-list-card-unplaced .wsp-table-list-card-head {
    background: #fff7ed;
    color: #9a3412;
}

.wsp-table-list-guests {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 64px;
    padding: 8px;
}

.wsp-table-list-guests.is-drag-over {
    outline: 2px dashed rgba(15, 118, 110, 0.45);
    outline-offset: -5px;
    background: rgba(15, 118, 110, 0.06);
}

.wsp-table-list-empty {
    color: var(--wsp-muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 12px 4px;
}

.wsp-table-list-guest {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 6px;
    border: 1px solid #cdd8e5;
    border-radius: 6px;
    padding: 6px;
    background: #fff;
    cursor: grab;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.wsp-table-list-guest.is-drop-before,
.wsp-table-list-guest.is-drop-after {
    border-color: rgba(15, 118, 110, 0.35);
    background: #f0fdfa;
}

.wsp-table-list-guest.is-drop-before::before,
.wsp-table-list-guest.is-drop-after::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    height: 3px;
    border-radius: 999px;
    background: var(--wsp-accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
    pointer-events: none;
}

.wsp-table-list-guest.is-drop-before::before {
    top: -6px;
}

.wsp-table-list-guest.is-drop-after::after {
    bottom: -6px;
}

.wsp-table-list-guest:active {
    cursor: grabbing;
}

.wsp-table-list-placeholder {
    min-height: 34px;
    border: 2px dashed rgba(15, 118, 110, 0.65);
    border-radius: 6px;
    background: rgba(15, 118, 110, 0.08);
}

.wsp-table-list-guest.ui-sortable-helper {
    cursor: grabbing;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.wsp-table-list-guest-name {
    min-width: 0;
    overflow: hidden;
    color: #1f2933;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsp-table-list-guest-meta {
    border-radius: 999px;
    padding: 2px 6px;
    background: #eef8f7;
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
}

.wsp-table-list-edit,
.wsp-table-list-remove {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0 6px;
    background: #fff;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.wsp-table-list-remove {
    width: 20px;
    min-width: 20px;
    border-color: #fecaca;
    border-radius: 50%;
    padding: 0;
    color: var(--wsp-danger);
    font-size: 13px;
}

.wsp-table-list-edit:hover,
.wsp-table-list-edit:focus {
    border-color: var(--wsp-accent);
    color: var(--wsp-accent-dark);
}

.wsp-table-list-remove:hover,
.wsp-table-list-remove:focus {
    background: var(--wsp-danger);
    color: #fff;
}

.wsp-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.42);
}

.wsp-modal {
    width: min(360px, 100%);
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
}

.wsp-modal-head,
.wsp-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wsp-modal-head {
    margin-bottom: 14px;
}

.wsp-modal-close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--wsp-line);
    border-radius: 50%;
    background: #fff;
    color: var(--wsp-ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.wsp-modal label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 700;
}

.wsp-modal .wsp-guest-members {
    margin-bottom: 12px;
}

.wsp-modal input,
.wsp-modal select {
    width: 100%;
    height: auto;
    min-height: 40px;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--wsp-ink);
    box-sizing: border-box;
}

.wsp-modal .wsp-guest-member-row {
    align-items: start;
}

.wsp-modal .wsp-guest-member-row > label {
    display: grid;
    gap: 6px;
    margin-bottom: 0;
}

.wsp-modal .wsp-guest-member-row .wsp-menu-options {
    margin-bottom: 12px;
}

.wsp-modal-actions {
    justify-content: flex-end;
}

.wsp-mobile-share-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 14px;
    background: rgba(15, 23, 42, 0.2);
}

.wsp-mobile-share-modal {
    width: min(520px, 100%);
    border: 1px solid rgba(93, 105, 119, 0.24);
    border-radius: 4px;
    padding: 12px 10px 10px;
    background: #fff;
    color: #6d5353;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.24);
}

.wsp-mobile-share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.wsp-mobile-share-head button {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.wsp-mobile-share-modal p {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.wsp-mobile-share-copy,
.wsp-mobile-share-submit {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.wsp-mobile-share-modal strong {
    display: block;
    margin: 22px 0 14px;
    text-align: center;
    color: #765d5d;
    font-size: 15px;
}

.wsp-mobile-share-modal input {
    width: 100%;
    min-height: 40px;
    margin-bottom: 12px;
    border: 1px solid #aeb7c2;
    border-radius: 4px;
    padding: 8px 10px;
    color: #334155;
    font-size: 16px;
}

.wsp-mobile-share-status {
    display: block;
    min-height: 18px;
    margin-top: 8px;
    color: #5d6977;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.wsp-auth {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 24px auto;
}

.wsp-auth-panel {
    border: 1px solid var(--wsp-line);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.wsp-auth-panel h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.wsp-auth-panel label,
.wsp-register-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--wsp-muted);
    font-size: 13px;
    font-weight: 700;
}

.wsp-auth-panel input[type="text"],
.wsp-auth-panel input[type="email"],
.wsp-auth-panel input[type="password"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--wsp-line);
    border-radius: 6px;
    padding: 9px 11px;
    color: var(--wsp-ink);
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wsp-auth-panel .login-remember label {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.wsp-auth-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    flex: 0 0 auto;
}

.wsp-auth-message {
    margin-bottom: 12px;
    border: 1px solid #f2c2c2;
    border-radius: 6px;
    padding: 10px;
    background: #fff7f7;
    color: #8a1f1f;
    font-size: 14px;
}

@media (max-width: 900px) {
    .wsp-finance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsp-finance-grid {
        grid-template-columns: 1fr;
    }

    .wsp-finance-row {
        grid-template-columns: 1fr 1fr;
    }

    .wsp-finance-row em {
        text-align: left;
    }

    .wsp-finance-gift-row,
    .wsp-finance-custom-row {
        grid-template-columns: 1fr;
    }

    .wsp-plan-transfer {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .wsp-plan-transfer > div:first-child {
        min-width: 0;
    }

    .wsp-plan-transfer-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .wsp-plan-transfer-actions .wsp-button {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .wsp-app.is-panel-open .wsp-inspector-toggle {
        display: none;
    }

    .wsp-workspace {
        grid-template-columns: 1fr;
    }

    .wsp-inspector {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 99990;
        width: min(320px, calc(100vw - 54px));
        height: 100vh;
        min-height: 0;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.22s ease;
        box-shadow: -18px 0 42px rgba(15, 23, 42, 0.2);
    }

    .wsp-app.is-inspector-open .wsp-inspector {
        transform: translateX(0);
    }

    .wsp-inspector-toggle {
        position: fixed;
        right: 0;
        top: 42%;
        z-index: 99991;
        display: grid;
        place-items: center;
        width: 42px;
        min-height: 116px;
        border: 0;
        border-radius: 10px 0 0 10px;
        background: var(--wsp-accent);
        color: #fff;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
        cursor: pointer;
        transform: translateX(0);
        transition: right 0.22s ease;
    }

    .wsp-app.is-inspector-open .wsp-inspector-toggle {
        right: min(320px, calc(100vw - 54px));
    }

    .wsp-inspector-toggle::before {
        content: "‹";
        font-size: 22px;
        font-weight: 900;
        line-height: 1;
    }

    .wsp-app.is-inspector-open .wsp-inspector-toggle::before {
        content: "›";
    }

    .wsp-inspector-toggle span {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0;
        text-align: center;
    }

    .wsp-table-lists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsp-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .wsp-toolbar-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsp-actions {
        justify-content: flex-start;
        max-width: none;
    }

    .wsp-saved-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .wsp-sidebar {
        min-height: 260px;
    }

    .wsp-guest-list {
        max-height: 260px;
    }

    .wsp-hall-wrap {
        max-height: 70vh;
        border: 1px solid var(--wsp-line);
        border-radius: 8px;
        background: #fff;
    }

    .wsp-zoom-controls {
        position: sticky;
        left: calc(100% - 48px);
        bottom: 14px;
        margin-top: -128px;
    }
}

@media (max-width: 640px) {
    .wsp-app,
    .wsp-auth {
        margin: 12px auto;
    }

    .wsp-first-plan-card {
        padding: 16px;
    }

    .wsp-first-plan-steps {
        grid-template-columns: 1fr;
    }

    .wsp-first-plan-actions .wsp-button {
        width: 100%;
    }

    .wsp-toolbar {
        gap: 10px;
        padding: 12px;
    }

    .wsp-toolbar-main {
        grid-template-columns: 1fr;
    }

    .wsp-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .wsp-table-lists {
        padding: 10px;
    }

    .wsp-table-lists-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .wsp-table-lists-grid {
        grid-template-columns: 1fr;
    }

    .wsp-import-row {
        grid-template-columns: 1fr;
    }

    .wsp-saved-list {
        flex-direction: column;
    }

    .wsp-saved-item {
        justify-content: space-between;
        width: 100%;
        border-radius: 8px;
    }

    .wsp-button {
        width: 100%;
        min-height: 36px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .wsp-summary {
        font-size: 12px;
        line-height: 1.35;
    }

    .wsp-app.is-hostess-mode {
        margin: 8px auto;
    }

    .wsp-app.is-hostess-mode .wsp-hostess {
        max-height: calc(100vh - var(--wsp-adminbar-offset) - 16px);
        max-height: calc(100dvh - var(--wsp-adminbar-offset) - 16px);
        padding: 10px 12px 14px;
    }

    .wsp-hostess-logo {
        width: min(172px, 50vw);
        max-height: 68px;
        object-fit: contain;
        margin: 0 auto 8px;
    }

    .wsp-hostess-head {
        flex-direction: column;
        gap: 2px;
        margin-bottom: 8px;
    }

    .wsp-hostess-head span {
        display: none;
    }

    .wsp-hostess-head h3 {
        font-size: 22px;
        line-height: 1;
    }

    .wsp-hostess-current-plan:not([hidden]) {
        display: flex;
        align-items: baseline;
        gap: 7px;
        min-width: 0;
        margin: 0 0 8px;
        color: var(--wsp-muted);
        font-size: 12px;
        font-weight: 900;
        line-height: 1.2;
    }

    .wsp-hostess-current-plan span {
        flex: 0 0 auto;
        text-transform: uppercase;
    }

    .wsp-hostess-current-plan strong {
        min-width: 0;
        color: var(--wsp-ink);
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wsp-hostess-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        margin: 0 0 8px;
    }

    .wsp-hostess-stat {
        gap: 2px;
        padding: 6px 7px;
        border-radius: 7px;
    }

    .wsp-hostess-stat span {
        font-size: 9px;
        line-height: 1.05;
    }

    .wsp-hostess-stat strong {
        font-size: 18px;
        line-height: 1;
    }

    .wsp-hostess-sync {
        font-size: 10px;
        line-height: 1.1;
    }

    .wsp-hostess-back {
        width: 100%;
        text-align: center;
    }

    .wsp-hostess-tools {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 10px;
    }

    .wsp-hostess-tools label {
        gap: 4px;
        font-size: 11px;
    }

    .wsp-hostess-tools label:first-child {
        display: none;
    }

    .wsp-hostess-tools label:nth-child(2) {
        order: 1;
    }

    .wsp-hostess-tools select,
    .wsp-hostess-tools input {
        min-height: 52px;
        border-radius: 7px;
        padding: 10px 12px;
        font-size: 18px;
    }

    .wsp-hostess-tools input {
        font-size: 22px;
    }

    .wsp-hostess-result {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px 10px;
    }

    .wsp-hostess-result-table {
        grid-column: 2 / -1;
        font-size: 24px;
    }

    .wsp-hostess-result-detail {
        grid-column: 2 / -1;
    }

    .wsp-workspace {
        gap: 10px;
    }

    .wsp-sidebar {
        min-height: 0;
    }

    .wsp-guest-list {
        max-height: 220px;
    }

    .wsp-hall {
        width: 760px;
        height: 560px;
    }

    .wsp-hall[data-format="wide"] {
        width: 900px;
        height: 520px;
    }

    .wsp-hall[data-format="long"] {
        width: 700px;
        height: 700px;
    }
}

.wsp-app:not(.is-hostess-mode) {
    width: 100%;
    max-width: none;
    height: calc(100vh - var(--wsp-adminbar-offset));
    min-height: 0;
    margin: 0;
    padding: 60px 10px 10px;
    overflow: hidden;
}

.wsp-app.is-hostess-mode .wsp-quickbar {
    display: none;
}

.wsp-app.is-hostess-mode .wsp-top-actions {
    display: none;
}

.wsp-app.is-hostess-mode .wsp-inspector-toggle {
    display: none !important;
}

.wsp-quickbar {
    position: fixed;
    top: calc(var(--wsp-adminbar-offset) + 10px);
    left: 50%;
    z-index: 99980;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100vw - 20px);
    padding: 6px;
    transform: translateX(-50%);
    border: 1px solid rgba(216, 222, 231, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.wsp-top-actions {
    position: fixed;
    top: calc(var(--wsp-adminbar-offset) + 10px);
    right: 12px;
    z-index: 99985;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.wsp-top-actions .wsp-button,
.wsp-top-actions .wsp-canvas-add-table {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    cursor: pointer;
}

.wsp-top-actions .wsp-button:hover,
.wsp-top-actions .wsp-button:focus,
.wsp-top-actions .wsp-canvas-add-table:hover,
.wsp-top-actions .wsp-canvas-add-table:focus {
    background: var(--wsp-accent-dark);
}

.wsp-quickbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    padding: 0 14px;
    background: var(--wsp-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.wsp-quickbar button:hover,
.wsp-quickbar button:focus {
    background: var(--wsp-accent-dark);
}

.wsp-panel-backdrop {
    position: fixed;
    inset: var(--wsp-adminbar-offset) 0 0;
    z-index: 99960;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.wsp-app.is-panel-open .wsp-panel-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wsp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.wsp-panel-head strong {
    color: var(--wsp-ink);
    font-size: 18px;
}

.wsp-panel-close {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--wsp-line);
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: var(--wsp-ink);
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.wsp-panel-close:hover,
.wsp-panel-close:focus {
    border-color: var(--wsp-accent);
    color: var(--wsp-accent-dark);
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar,
.wsp-app:not(.is-hostess-mode) .wsp-saved-panel,
.wsp-app:not(.is-hostess-mode) .wsp-sidebar,
.wsp-app:not(.is-hostess-mode) .wsp-table-lists {
    position: fixed;
    top: calc(var(--wsp-adminbar-offset) + ((100vh - var(--wsp-adminbar-offset)) / 2));
    left: 50%;
    right: auto;
    z-index: 99970;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100vh - var(--wsp-adminbar-offset) - 104px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, calc(-50% - 8px));
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.wsp-app:not(.is-hostess-mode) .wsp-saved-panel {
    margin: 0;
}

.wsp-app:not(.is-hostess-mode) .wsp-sidebar {
    width: min(420px, calc(100vw - 32px));
    min-height: 0;
}

.wsp-app.is-toolbar-open .wsp-toolbar,
.wsp-app.is-saved-open .wsp-saved-panel,
.wsp-app.is-guests-open .wsp-sidebar,
.wsp-app.is-tables-open .wsp-table-lists {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar {
    width: min(560px, calc(100vw - 32px));
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar-main {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 14px;
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar .wsp-field {
    width: 100%;
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar .wsp-import-row {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar .wsp-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
}

.wsp-app:not(.is-hostess-mode) .wsp-toolbar .wsp-actions .wsp-button {
    width: 100%;
}

.wsp-app:not(.is-hostess-mode) .wsp-update-panel {
    align-items: stretch;
    flex-direction: column;
}

.wsp-app:not(.is-hostess-mode) .wsp-update-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.wsp-app:not(.is-hostess-mode) .wsp-update-actions .wsp-button {
    width: 100%;
}

.wsp-app:not(.is-hostess-mode) .wsp-sidebar .wsp-guest-list {
    max-height: calc(100vh - 332px);
}

.wsp-quickbar button.is-active {
    background: var(--wsp-accent-dark);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

.wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-workspace {
    grid-template-columns: 280px minmax(0, 1fr);
}

.wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-hall-wrap {
    display: none;
}

.wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-sidebar {
    position: static;
    z-index: auto;
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
    overflow: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-sidebar .wsp-panel-head {
    display: none;
}

.wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-sidebar .wsp-guest-list {
    max-height: none;
    overflow: auto;
}

.wsp-app.is-tables-view:not(.is-hostess-mode) .wsp-workspace {
    display: none;
}

.wsp-app.is-finance-view:not(.is-hostess-mode) .wsp-workspace {
    display: none;
}

.wsp-app.is-finance-view:not(.is-hostess-mode) .wsp-finance-panel {
    display: block;
    max-height: calc(100vh - var(--wsp-adminbar-offset) - 120px);
    overflow: auto;
}

.wsp-app.is-finance-view:not(.is-hostess-mode) .wsp-finance-panel .wsp-panel-head {
    display: none;
}

.wsp-app.is-tables-view:not(.is-hostess-mode) .wsp-table-lists {
    position: static;
    z-index: auto;
    width: 100%;
    max-height: calc(100vh - var(--wsp-adminbar-offset) - 120px);
    margin-top: 0;
    overflow: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wsp-app.is-tables-view:not(.is-hostess-mode) .wsp-table-lists .wsp-panel-head {
    display: none;
}

.wsp-guest.is-selected,
.wsp-table-list-guest.is-selected,
.wsp-table-pill.is-selected {
    border-color: var(--wsp-accent);
    box-shadow: 0 0 0 3px var(--wsp-focus);
}

.wsp-app:not(.is-hostess-mode) .wsp-table-lists {
    top: calc(var(--wsp-adminbar-offset) + ((100vh - var(--wsp-adminbar-offset)) / 2));
    width: min(980px, calc(100vw - 32px));
    margin-top: 0;
}

.wsp-app:not(.is-hostess-mode) .wsp-table-lists-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wsp-app:not(.is-hostess-mode) .wsp-summary {
    position: fixed;
    top: calc(var(--wsp-adminbar-offset) + 58px);
    left: 50%;
    z-index: 99960;
    width: min(720px, calc(100vw - 24px));
    margin: 0;
    transform: translateX(-50%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.wsp-app:not(.is-hostess-mode) .wsp-summary.is-flash {
    z-index: 99986;
}

.wsp-app:not(.is-hostess-mode) .wsp-workspace {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 10px;
    height: calc(100vh - var(--wsp-adminbar-offset) - 70px);
    min-height: 0;
}

.wsp-app:not(.is-hostess-mode) .wsp-inspector {
    height: 100%;
    min-height: 0;
}

.wsp-app:not(.is-hostess-mode) .wsp-hall-wrap {
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
    background: #fbfcfe;
    overscroll-behavior: contain;
}

.wsp-app:not(.is-hostess-mode) .wsp-hall-wrap.is-panning {
    cursor: grabbing;
}

@media (max-width: 900px) {
    .wsp-app:not(.is-hostess-mode) {
        padding: 148px 8px 8px;
    }

    .wsp-quickbar {
        left: 8px;
        right: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        transform: none;
        border-radius: 10px;
    }

    .wsp-top-actions {
        top: calc(var(--wsp-adminbar-offset) + 58px);
        right: 8px;
        left: 8px;
        justify-content: flex-end;
    }

    .wsp-top-actions .wsp-button,
    .wsp-top-actions .wsp-canvas-add-table {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .wsp-quickbar button {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-workspace {
        grid-template-columns: 1fr;
        height: calc(100vh - var(--wsp-adminbar-offset) - 156px);
    }

    .wsp-app:not(.is-hostess-mode) .wsp-hall-wrap {
        height: 100%;
        max-height: none;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-toolbar,
    .wsp-app:not(.is-hostess-mode) .wsp-saved-panel,
    .wsp-app:not(.is-hostess-mode) .wsp-sidebar,
    .wsp-app:not(.is-hostess-mode) .wsp-table-lists {
        top: calc(var(--wsp-adminbar-offset) + ((100vh - var(--wsp-adminbar-offset)) / 2));
        width: calc(100vw - 16px);
        max-height: calc(100vh - var(--wsp-adminbar-offset) - 82px);
        overflow-x: hidden;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-saved-panel {
        padding: 12px;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-saved-head {
        align-items: stretch;
        flex-direction: column;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-saved-head-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-saved-list {
        flex-direction: column;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-saved-item {
        width: 100%;
        max-width: 100%;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-table-lists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsp-app:not(.is-hostess-mode) .wsp-sidebar {
        width: auto;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-sidebar .wsp-guest-list {
        max-height: calc(100vh - 326px);
    }

    .wsp-app:not(.is-hostess-mode) .wsp-summary {
        top: calc(var(--wsp-adminbar-offset) + 104px);
        width: calc(100vw - 16px);
    }

    .wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-inspector-toggle,
    .wsp-app.is-tables-view:not(.is-hostess-mode) .wsp-inspector-toggle,
    .wsp-app.is-finance-view:not(.is-hostess-mode) .wsp-inspector-toggle {
        display: none;
    }
}

@media (max-width: 640px) {
    .wsp-app:not(.is-hostess-mode) .wsp-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsp-app:not(.is-hostess-mode) .wsp-toolbar-main {
        grid-template-columns: 1fr;
    }

    .wsp-app:not(.is-hostess-mode) .wsp-table-lists-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-workspace {
        grid-template-columns: 1fr;
    }

    .wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-sidebar {
        width: auto;
        height: 100%;
        overflow: auto;
    }

    .wsp-app.is-guests-view:not(.is-hostess-mode) .wsp-sidebar .wsp-guest-list {
        max-height: none;
    }

    .wsp-app.is-tables-view:not(.is-hostess-mode) .wsp-table-lists {
        width: 100%;
        max-height: calc(100vh - var(--wsp-adminbar-offset) - 112px);
    }
}
