.auth-page {
    display: grid;
    min-height: calc(100vh - 145px);
    place-items: center;
    padding: 48px 16px;
}

.auth-panel {
    width: min(100%, 460px);
    padding: 32px;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.auth-panel h1 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.16;
}

.auth-switch {
    margin: 18px 0 0;
    color: var(--color-ink);
}

.auth-switch a,
.dashboard-card a:not(.button):not(.subtle-button):not(.icon-button),
.table-actions a:not(.button):not(.subtle-button):not(.icon-button) {
    color: var(--color-primary);
    font-weight: 800;
}

.auth-google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid rgba(219, 228, 242, 0.96);
    border-radius: 12px;
    background: #fff;
    color: var(--color-ink);
    font-weight: 850;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-google-button:hover,
.auth-google-button:focus-visible {
    border-color: rgba(8, 90, 239, 0.28);
    box-shadow: 0 10px 22px rgba(8, 20, 68, 0.07);
    outline: 0;
    transform: translateY(-1px);
}

.auth-google-button span {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(219, 228, 242, 0.96);
    border-radius: 50%;
    color: #085AEF;
    font-weight: 800;
}

.auth-divider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 0 16px;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: rgba(219, 228, 242, 0.9);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.dashboard-page {
    --admin-radius-xs: 6px;
    --admin-radius-sm: 8px;
    --admin-radius-md: 10px;
    --admin-radius-lg: 14px;
    --admin-border: rgba(219, 228, 242, 0.88);
    --admin-border-strong: rgba(199, 212, 232, 0.94);
    --admin-panel-bg: rgba(255, 255, 255, 0.94);
    --admin-muted-bg: rgba(246, 249, 255, 0.86);
    --admin-tint-bg: rgba(8, 90, 239, 0.07);
    --admin-shadow-soft: 0 10px 24px rgba(8, 20, 68, 0.045);
    --admin-shadow-menu: 0 16px 36px rgba(8, 20, 68, 0.12);
}

body.dashboard-page .button,
body.dashboard-page .subtle-button {
    min-height: 40px;
    border-radius: var(--admin-radius-sm);
    box-shadow: none;
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.91rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
}

body.dashboard-page .button-primary {
    box-shadow: 0 8px 18px rgba(8, 90, 239, 0.14);
}

body.dashboard-page .button:hover,
body.dashboard-page .subtle-button:hover {
    box-shadow: var(--admin-shadow-soft);
}

body.dashboard-page input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    flex: 0 0 20px;
    border: 1px solid rgba(127, 143, 169, 0.9);
    border-radius: var(--admin-radius-xs);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    vertical-align: middle;
    cursor: pointer;
}

body.dashboard-page input[type="checkbox"]::before {
    content: "";
    width: 5px;
    height: 10px;
    margin-top: -2px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 120ms ease;
}

body.dashboard-page input[type="checkbox"]:checked {
    border-color: transparent;
    background: var(--color-primary);
}

body.dashboard-page input[type="checkbox"]:checked::before {
    transform: rotate(45deg) scale(1);
}

body.dashboard-page input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(8, 90, 239, 0.18);
    outline-offset: 2px;
}

body.dashboard-page input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

body.dashboard-page .dashboard-card,
body.dashboard-page .table-card,
body.dashboard-page .flow-intro-card,
body.dashboard-page .next-step-panel,
body.dashboard-page .qr-hero-card,
body.dashboard-page .qr-manager-list-card,
body.dashboard-page .qr-manager-editor-card,
body.dashboard-page .qr-info-card,
body.dashboard-page .builder-outline-card,
body.dashboard-page .mobile-record-card,
body.dashboard-page .hotel-settings-card,
body.dashboard-page .project-list-toolbar,
body.dashboard-page .project-template-section {
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-soft);
}

body.dashboard-page .status-pill,
body.dashboard-page .flow-pill,
body.dashboard-page .language-chip,
body.dashboard-page .record-chip-list span,
body.dashboard-page .mini-group-type,
body.dashboard-page .mini-item-meta span,
body.dashboard-page .qr-manager-main-badge,
body.dashboard-page .qr-manager-tags span,
body.dashboard-page .page-stat-chip,
body.dashboard-page .form-section-tag,
body.dashboard-page .project-current-label {
    border-radius: var(--admin-radius-xs);
}

.dashboard-shell {
    position: relative;
    display: grid;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(234, 241, 255, 0.72), transparent 24%),
        radial-gradient(circle at top right, rgba(8, 90, 239, 0.05), transparent 18%),
        linear-gradient(180deg, #f7faff, #eef4ff 42%, #f7faff);
}

.dashboard-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    border: 0;
    background: rgba(8, 20, 68, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body.dashboard-menu-open .dashboard-mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: grid;
    align-content: start;
    gap: 10px;
    width: min(86vw, 340px);
    height: 100dvh;
    max-height: 100dvh;
    padding: 18px 16px 20px;
    border-right: 1px solid rgba(219, 228, 242, 0.82);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 54px rgba(8, 20, 68, 0.12);
    transform: translateX(-108%);
    transition: transform 220ms ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.dashboard-menu-open .dashboard-sidebar {
    transform: translateX(0);
}

.dashboard-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.dashboard-sidebar-body {
    display: grid;
    gap: 18px;
}

.dashboard-header-menu-slot {
    display: none;
    flex: 0 0 auto;
}

.dashboard-header-menu-toggle {
    margin-left: auto;
}

.dashboard-menu-close,
.dashboard-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(219, 228, 242, 0.9);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-ink);
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dashboard-menu-close:hover,
.dashboard-menu-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 90, 239, 0.22);
    box-shadow: var(--shadow-card);
}

.dashboard-menu-close span {
    font-size: 1.55rem;
    line-height: 1;
}

.dashboard-menu-toggle {
    gap: 4px;
    flex-direction: column;
    margin-left: auto;
    flex: none;
}

.dashboard-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: var(--admin-radius-xs);
    background: currentColor;
}

.dashboard-project-switcher,
.dashboard-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: var(--admin-radius-sm);
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 760;
    line-height: 1.2;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.dashboard-project-switcher:hover,
.dashboard-nav-link:hover {
    background: rgba(8, 90, 239, 0.06);
    color: var(--color-primary-dark);
    transform: translateX(1px);
}

.dashboard-project-switcher.is-active,
.dashboard-nav-link.is-active {
    background: rgba(8, 90, 239, 0.11);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.04);
}

.dashboard-nav-link.is-disabled {
    color: rgba(104, 119, 151, 0.58);
    cursor: not-allowed;
}

.dashboard-nav-link.is-disabled:hover {
    background: rgba(104, 119, 151, 0.06);
    color: rgba(104, 119, 151, 0.72);
    transform: none;
}

.dashboard-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.dashboard-nav-icon svg {
    width: 18px;
    height: 18px;
}

.dashboard-nav {
    display: grid;
    gap: 18px;
    width: 100%;
}

.dashboard-nav-group {
    display: grid;
    gap: 6px;
}

.dashboard-nav-label {
    margin: 0 0 2px;
    padding: 0 10px;
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-sidebar-title {
    margin: 0;
}

.dashboard-main {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 24px 14px 56px;
}

[data-adaptive-thumbnail] img {
    object-position: center center !important;
}

[data-adaptive-thumbnail] img.is-top-anchored-thumbnail-crop {
    object-position: center top !important;
}

.dashboard-main-frame {
    width: min(100%, 980px);
    margin: 0 auto;
}

.dashboard-main-frame-wide {
    width: min(100%, 1180px);
}

.project-preview-frame {
    width: min(100%, 1200px);
}

.live-demo-shell {
    display: grid;
    justify-items: center;
    min-height: calc(100vh - var(--site-header-height));
    padding: 16px clamp(16px, 4vw, 40px) 32px;
}

.live-demo-page .project-preview-frame {
    width: min(100%, 1200px);
}

.project-preview-stage {
    --project-preview-panel-height: clamp(680px, calc(100dvh - var(--site-header-height, 72px) - 126px), 740px);
    display: grid;
    grid-template-columns: minmax(560px, 1fr) minmax(340px, 380px);
    align-items: start;
    justify-content: stretch;
    gap: clamp(20px, 2.4vw, 34px);
    min-height: calc(100dvh - var(--site-header-height, 72px) - 132px);
    padding: 0 0 8px;
}

.project-preview-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
}

.project-preview-heading h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.project-preview-heading p {
    margin: 0;
    color: #64748b;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    line-height: 1.45;
    letter-spacing: 0;
}

.project-preview-gallery {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    min-width: 0;
    height: var(--project-preview-panel-height);
    overflow: hidden;
    border: 1px solid rgba(219, 228, 242, 0.9);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(8, 20, 68, 0.06);
}

.project-preview-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(219, 228, 242, 0.9);
    background: #fff;
}

.project-preview-gallery-toolbar h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.15;
    text-transform: uppercase;
}

.project-preview-gallery-toolbar p {
    margin: 3px 0 0;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
}

.project-preview-gallery-toolbar form {
    flex: 0 0 auto;
}

.project-preview-gallery-strip {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-width: 0;
    background: #fff;
}

.project-preview-gallery-strip > span,
.project-preview-gallery-strip > div {
    min-width: 0;
    min-height: 38px;
    padding: 10px 18px;
}

.project-preview-gallery-strip > span {
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(219, 228, 242, 0.9);
    color: var(--color-ink);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-preview-gallery-strip > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-preview-gallery-strip strong {
    overflow: hidden;
    color: var(--color-ink);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-preview-gallery-strip small {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: #edeeef;
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.project-preview-gallery-body {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
}

.project-preview-gallery-body::before,
.project-preview-gallery-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    z-index: 2;
    height: 18px;
    pointer-events: none;
}

.project-preview-gallery-body::before {
    left: 0;
    width: calc(220px - 1px);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.86) 82%);
}

.project-preview-gallery-body::after {
    right: 0;
    width: calc(100% - 220px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 82%);
}

.project-preview-category-list {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 14px;
    overflow-y: auto;
    scrollbar-width: none;
    border-right: 1px solid rgba(219, 228, 242, 0.9);
    background: rgba(248, 250, 252, 0.86);
}

.project-preview-category-list::-webkit-scrollbar {
    display: none;
}

.project-preview-category-button {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b5871;
    font: inherit;
    font-size: 0.79rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.project-preview-category-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.project-preview-category-button.is-active {
    background: rgba(8, 90, 239, 0.1);
    color: var(--color-primary);
    font-weight: 800;
}

.project-preview-category-button .dashboard-symbol {
    color: currentColor;
    font-size: 20px;
    font-variation-settings: "FILL" 0, "wght" 450, "GRAD" 0, "opsz" 20;
}

.project-preview-category-button span:not(.dashboard-symbol) {
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-preview-category-button small {
    color: currentColor;
    font-size: 0.68rem;
    font-weight: 800;
    opacity: 0.72;
}

.project-preview-gallery-main {
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.project-preview-apply-button {
    min-width: 96px;
    min-height: 36px;
    height: 36px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 20px;
    white-space: nowrap;
}

.project-preview-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    align-items: start;
    gap: 14px;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 18px;
    overflow-y: auto;
    scrollbar-width: none;
    background: #fff;
}

.project-preview-theme-grid::-webkit-scrollbar {
    display: none;
}

.project-preview-theme-card {
    display: grid;
    grid-template-rows: auto auto;
    align-self: start;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(219, 228, 242, 0.92);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(8, 20, 68, 0.045);
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.project-preview-theme-card:hover {
    border-color: rgba(8, 90, 239, 0.28);
    box-shadow: 0 14px 28px rgba(8, 20, 68, 0.075);
    transform: translateY(-1px);
}

.project-preview-theme-card.is-selected {
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 1px rgba(8, 90, 239, 0.18),
        0 14px 28px rgba(8, 90, 239, 0.1);
}

.project-preview-theme-card[hidden] {
    display: none;
}

.project-preview-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-card-accent) 24%, transparent), transparent 56%),
        linear-gradient(135deg, var(--theme-card-bg), var(--theme-card-container));
}

.project-preview-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 420ms ease;
}

.project-preview-theme-card:hover .project-preview-card-media img {
    transform: scale(1.035);
}

.project-preview-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--theme-card-accent);
}

.project-preview-card-placeholder .dashboard-symbol {
    font-size: 34px;
    font-variation-settings: "FILL" 1, "wght" 450, "GRAD" 0, "opsz" 32;
}

.project-preview-card-body {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 13px 14px 14px;
}

.project-preview-card-body strong {
    overflow: hidden;
    color: var(--color-ink);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.22;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-preview-card-body em {
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-preview-card-body em.is-empty {
    visibility: hidden;
}

.project-preview-card-palette {
    display: flex;
    gap: 5px;
    padding-top: 2px;
}

.project-preview-card-palette span {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(8, 20, 68, 0.12);
    border-radius: 999px;
}

.project-preview-gallery-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    padding: 22px;
    border: 1px dashed rgba(209, 219, 236, 0.96);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.82);
    color: var(--color-muted);
}

.project-preview-gallery-empty strong {
    color: var(--color-ink);
    font-weight: 800;
}

.project-preview-gallery-empty p {
    margin: 0;
}

.project-preview-phone-column {
    display: grid;
    justify-items: center;
    min-width: 0;
}

.project-preview-phone-viewport {
    width: min(100%, clamp(340px, 30vw, 380px));
    height: var(--project-preview-panel-height);
    overflow: hidden;
    border: 1px solid rgba(199, 212, 232, 0.9);
    border-radius: var(--admin-radius-lg);
    background: #fff;
    box-shadow: var(--admin-shadow-soft);
}

.project-preview-phone-viewport iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 1180px) {
    .project-preview-stage {
        grid-template-columns: minmax(500px, 1fr) minmax(320px, 360px);
        gap: 18px;
    }

    .project-preview-gallery-strip,
    .project-preview-gallery-body {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .project-preview-gallery-body::before {
        width: calc(190px - 1px);
    }

    .project-preview-gallery-body::after {
        width: calc(100% - 190px);
    }

    .project-preview-category-button {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .project-preview-category-button small {
        display: none;
    }
}

@media (max-width: 1040px) and (min-width: 761px) {
    .project-preview-stage {
        --project-preview-panel-height: 680px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .project-preview-gallery {
        width: 100%;
        max-width: 860px;
    }

    .project-preview-phone-viewport {
        width: min(100%, 360px);
    }
}

@media (max-width: 860px) and (min-width: 761px) {
    .project-preview-gallery {
        height: auto;
        max-height: none;
    }

    .project-preview-gallery-strip,
    .project-preview-gallery-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-preview-gallery-body::before {
        content: none;
    }

    .project-preview-gallery-body::after {
        width: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 82%);
    }

    .project-preview-gallery-strip > span {
        display: none;
    }

    .project-preview-category-list {
        display: flex;
        gap: 6px;
        padding: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-bottom: 1px solid rgba(219, 228, 242, 0.9);
        background: #fff;
    }

    .project-preview-category-button {
        flex: 0 0 174px;
        min-height: 40px;
    }

    .project-preview-gallery-toolbar {
        padding: 13px 14px;
    }

    .project-preview-theme-grid {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        max-height: 620px;
        padding: 14px;
    }
}

.dashboard-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-eyebrow {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-topbar h1 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.dashboard-title-group,
.dashboard-topbar-meta {
    display: grid;
    gap: 12px;
}

.dashboard-title-group {
    min-width: 0;
    width: 100%;
}

.dashboard-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

.dashboard-topbar-meta {
    justify-items: end;
}

.dashboard-user {
    padding: 10px 14px;
    border: 1px solid rgba(219, 228, 242, 0.88);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--color-muted);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(8, 20, 68, 0.05);
}

@keyframes dashboard-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 90, 239, 0.32);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(8, 90, 239, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(8, 90, 239, 0);
    }
}

@keyframes dashboard-draft-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 139, 54, 0.3);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(216, 139, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(216, 139, 54, 0);
    }
}

.dashboard-grid,
.dashboard-overview-hero {
    display: grid;
    gap: 18px;
}

.dashboard-grid-halves,
.dashboard-grid-thirds,
.dashboard-grid-feature {
    grid-template-columns: 1fr;
}

.compact-grid {
    margin-bottom: 16px;
}

.dashboard-inline-helper {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.page-stat-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 9px 13px;
    border-radius: var(--admin-radius-sm);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 0.86rem;
    font-weight: 850;
}

.compact-tip-banner {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid rgba(219, 228, 242, 0.82);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.9);
}

.compact-tip-banner p {
    margin: 0;
    color: var(--color-muted);
}

.compact-tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--admin-radius-sm);
    background: rgba(8, 90, 239, 0.12);
    color: var(--color-primary);
    font-size: 0.84rem;
    font-weight: 800;
}

.dashboard-card,
.table-card,
.flow-intro-card,
.next-step-panel,
.qr-hero-card {
    border: 1px solid rgba(219, 228, 242, 0.82);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--admin-shadow-soft);
}

.dashboard-card,
.flow-intro-card,
.next-step-panel {
    padding: 22px;
}

.table-card {
    overflow-x: auto;
    padding: 0;
}

.dashboard-card-wide {
    width: 100%;
}

.dashboard-card h2,
.flow-intro-card h2,
.next-step-panel h2,
.qr-hero-card h2 {
    margin: 0 0 8px;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.dashboard-card p,
.flow-intro-card p,
.next-step-panel p,
.qr-hero-card p {
    margin: 0 0 12px;
    color: var(--color-muted);
}

.hero-panel {
    background:
        linear-gradient(135deg, rgba(8, 90, 239, 0.09), rgba(234, 241, 255, 0.36)),
        #fff;
}

.dashboard-overview-page .dashboard-main-frame {
    width: min(100%, 1040px);
}

.dashboard-overview-grid {
    gap: 16px;
}

.dashboard-overview-grid[hidden],
.admin-page-stack[hidden],
.qr-manager > .admin-content-head[hidden],
.qr-manager > .admin-content-toolbar[hidden],
.qr-manager > .qr-manager-layout[hidden] {
    display: none !important;
}

.dashboard-overview-page .dashboard-overview-hero {
    grid-template-columns: 1fr;
}

.dashboard-overview-page .dashboard-card {
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-soft);
}

.dashboard-overview-page .dashboard-card {
    padding: 20px;
}

.overview-hero-card {
    --overview-title-row-height: 44px;
    --overview-action-row-height: 94px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.94);
}

.overview-hero-card.is-access-inactive {
    border-color: rgba(225, 194, 138, 0.3);
    background:
        linear-gradient(135deg, rgba(255, 249, 238, 0.76), rgba(255, 255, 255, 0.92) 42%),
        #fff;
}

.overview-hero-card.is-access-active {
    border-color: rgba(128, 170, 134, 0.26);
    background:
        linear-gradient(135deg, rgba(241, 248, 242, 0.78), rgba(255, 255, 255, 0.92) 42%),
        #fff;
}

.overview-hero-main,
.overview-qr-box,
.overview-support-card,
.overview-empty-card {
    display: grid;
    gap: 14px;
}

.overview-hero-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.overview-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.overview-status-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.overview-hero-head h2,
.overview-support-card h2,
.overview-empty-card h2 {
    margin-bottom: 0;
}

.overview-hero-copy {
    max-width: 720px;
}

.overview-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(8, 90, 239, 0.14);
    border-radius: var(--admin-radius-sm);
    background: rgba(8, 90, 239, 0.06);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 780;
}

.overview-status-badge.is-draft {
    border-color: rgba(216, 139, 54, 0.2);
    background: rgba(216, 139, 54, 0.09);
    color: #8a4d13;
}

.overview-status-badge.is-access {
    border-color: rgba(20, 122, 70, 0.14);
    background: rgba(20, 122, 70, 0.08);
    color: #17653c;
}

.overview-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.overview-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(219, 228, 242, 0.9);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.64);
}

.overview-stat-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #6658f6;
}

.overview-stat-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.overview-stat-icon--group {
    color: #085aef;
}

.overview-stat-icon--detail {
    color: #2E9F78;
}

.overview-stat-icon--detail svg {
    width: 46px;
    height: 46px;
}

.overview-stat-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.overview-stat strong {
    color: var(--color-ink);
    font-size: 1.05rem;
    line-height: 1.1;
}

.overview-stat-copy span {
    color: var(--color-muted);
    font-size: 0.81rem;
    font-weight: 720;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.overview-actions {
    gap: 10px;
    align-items: flex-end;
    align-content: flex-end;
}

.overview-qr-box {
    grid-template-rows: var(--overview-title-row-height, 34px) minmax(0, 1fr) var(--overview-action-row-height, 48px);
    align-content: start;
    justify-items: center;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.overview-qr-image {
    box-sizing: border-box;
    align-self: stretch;
    width: min(100%, 214px);
    aspect-ratio: 1;
    height: 100%;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    object-fit: contain;
}

.overview-qr-copy {
    display: grid;
    gap: 3px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.overview-qr-copy strong {
    color: var(--color-ink);
    font-size: 0.98rem;
}

.overview-qr-copy span {
    color: var(--color-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.overview-qr-actions {
    display: grid;
    align-self: end;
    gap: 10px;
    width: min(100%, 220px);
}

.overview-qr-actions .button {
    min-height: 42px;
    justify-content: center;
}

.overview-activation-strip,
.overview-activation-actions,
.overview-subscription-modal-head {
    display: flex;
    gap: 12px;
}

.overview-activation-strip {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(168px, 188px);
    align-items: center;
    gap: 18px;
    overflow: hidden;
    min-height: 138px;
    padding: 18px 24px;
    border: 1px solid rgba(225, 194, 138, 0.26);
    border-radius: var(--admin-radius-md);
    background: linear-gradient(135deg, rgba(255, 246, 229, 0.44), rgba(255, 255, 255, 0.32));
}

.overview-activation-strip::after {
    content: none;
}

.overview-activation-strip.is-active {
    border-color: rgba(128, 170, 134, 0.24);
    background: linear-gradient(135deg, rgba(235, 247, 237, 0.48), rgba(255, 255, 255, 0.36));
}

.overview-activation-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 1px solid rgba(186, 137, 50, 0.22);
    border-radius: 50%;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(255, 246, 229, 0.72));
    color: #a26c16;
    font-family: var(--portal-title-font, Georgia, serif);
    font-size: 1.15rem;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.overview-activation-strip.is-active .overview-activation-mark {
    border-color: rgba(20, 122, 70, 0.18);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(235, 247, 237, 0.78));
    color: #17653c;
}

.overview-activation-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-activation-lock {
    position: relative;
    display: block;
    width: 24px;
    height: 20px;
    margin-top: 8px;
    border: 3px solid currentColor;
    border-radius: 5px;
}

.overview-activation-lock::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% - 2px);
    width: 18px;
    height: 18px;
    border: 3px solid currentColor;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    transform: translateX(-50%);
}

.overview-activation-lock::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 4px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
    transform: translateX(-50%);
}

.overview-activation-check::before {
    content: "\2713";
    font-size: 2rem;
    line-height: 1;
}

.overview-activation-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
    max-width: 560px;
}

.overview-activation-copy strong {
    color: var(--color-ink);
    font-size: 1.05rem;
    line-height: 1.18;
}

.overview-activation-copy p {
    margin: 0;
    color: #303b56;
    font-size: 0.91rem;
    line-height: 1.52;
}

.overview-activation-copy a {
    color: var(--color-primary);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.overview-activation-helper {
    margin-top: 6px !important;
    color: var(--color-muted) !important;
    font-size: 0.88rem !important;
}

.overview-activation-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 168px;
    padding-top: 3px;
}

.overview-activation-actions form,
.overview-activation-actions .button {
    width: 100%;
}

.overview-activation-actions .button {
    min-height: 48px;
    justify-content: center;
    border-color: rgba(190, 201, 220, 0.82);
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-ink);
    box-shadow: none;
}

.overview-activation-actions .button-primary {
    border-color: rgba(8, 90, 239, 0.2);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
}

.overview-activation-actions .button:hover,
.overview-actions .button:hover,
.overview-qr-actions .button:hover {
    border-color: rgba(8, 90, 239, 0.22);
    background: rgba(255, 255, 255, 0.9);
}

.overview-actions .button,
.overview-qr-actions .button {
    border-color: rgba(190, 201, 220, 0.76);
    background: rgba(255, 255, 255, 0.64);
    color: var(--color-ink);
    box-shadow: none;
}

.overview-actions .button-primary,
.overview-qr-actions .button-primary {
    border-color: rgba(8, 90, 239, 0.2);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
}

.overview-subscription-modal-head {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.overview-subscription-modal-head h2 {
    margin: 2px 0 0;
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.overview-subscription-kicker {
    color: var(--color-primary);
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.overview-subscription-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(8, 20, 68, 0.38);
    backdrop-filter: blur(5px);
}

.overview-subscription-modal {
    display: grid;
    gap: 24px;
    width: min(100%, 1160px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 22px;
    border: 1px solid rgba(219, 228, 242, 0.92);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.98);
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: var(--admin-shadow-menu);
}

.overview-subscription-modal p,
.overview-subscription-modal a,
.overview-subscription-modal button {
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.overview-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.overview-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    min-height: 100%;
    margin: 0;
    padding: 32px;
    border: 1px solid rgba(195, 198, 215, 0.3);
    border-radius: 16px;
    background: #fff;
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow:
        0 10px 15px -3px rgba(0, 32, 96, 0.1),
        0 4px 6px -4px rgba(0, 32, 96, 0.1);
}

.overview-plan-card.is-featured {
    border: 2px solid var(--color-primary);
    box-shadow:
        0 20px 25px -5px rgba(0, 32, 96, 0.1),
        0 8px 10px -6px rgba(0, 32, 96, 0.1);
}

.overview-plan-featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    padding: 4px 16px;
    border-radius: 9999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
}

.overview-plan-card-body {
    min-width: 0;
}

.overview-plan-card h3,
.overview-plan-card p,
.overview-plan-card span,
.overview-plan-card strong,
.overview-plan-card li,
.overview-plan-card button {
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.overview-plan-heading,
.overview-plan-price,
.overview-plan-badge-row,
.overview-plan-note {
    margin-bottom: 24px;
}

.overview-plan-heading h3 {
    margin: 0;
    color: var(--color-ink);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.33;
}

.overview-plan-heading p,
.overview-plan-price span,
.overview-plan-note {
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.overview-plan-heading p,
.overview-plan-note {
    margin-top: 0;
}

.overview-plan-heading p {
    margin-bottom: 0;
}

.overview-plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.overview-plan-original {
    color: var(--color-muted);
    text-decoration: line-through;
}

.overview-plan-price strong {
    color: var(--color-primary);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.overview-plan-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.35;
}

.overview-plan-chip-blue {
    background: rgba(8, 90, 239, 0.09);
    color: var(--color-primary);
}

.overview-plan-chip-discount {
    background: #fff1f0;
    color: #c7352a;
}

.overview-plan-chip-value {
    background: #eaf8ef;
    color: #22894b;
}

.overview-plan-chip-icon {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
}

.overview-plan-chip-discount .overview-plan-chip-icon {
    background: #c7352a;
}

.overview-plan-chip-value .overview-plan-chip-icon {
    background: #22894b;
}

.overview-plan-benefits {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.overview-plan-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-ink);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
}

.overview-plan-benefits-primary li {
    color: var(--color-primary);
}

.overview-plan-benefits li span {
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.overview-plan-card > .button {
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 8px;
    justify-content: center;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
}

.overview-plan-card > .button-primary {
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 32, 96, 0.16);
}

@media (min-width: 900px) {
    .overview-hero-card {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.38fr);
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        column-gap: 18px;
        row-gap: 14px;
    }

    .overview-hero-main,
    .overview-qr-box {
        display: contents;
    }

    .overview-hero-head {
        grid-column: 1;
        grid-row: 1;
    }

    .overview-stat-row {
        grid-column: 1;
        grid-row: 2;
    }

    .overview-activation-strip {
        grid-column: 1;
        grid-row: 3;
    }

    .overview-actions {
        grid-column: 1;
        grid-row: 4;
    }

    .overview-qr-copy {
        grid-column: 2;
        grid-row: 1;
        min-height: 0;
    }

    .overview-qr-image {
        grid-column: 2;
        grid-row: 2 / 4;
        align-self: stretch;
        justify-self: center;
        aspect-ratio: auto;
        height: 100%;
        margin-top: 0;
    }

    .overview-qr-actions {
        grid-column: 2;
        grid-row: 4;
        align-self: end;
        justify-self: center;
    }
}

@media (max-width: 1040px) {
    .overview-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-plan-card.is-featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .overview-activation-strip,
    .overview-plan-grid {
        grid-template-columns: 1fr;
    }

    .overview-plan-card.is-featured {
        grid-column: auto;
    }

    .overview-activation-actions,
    .overview-activation-actions .button,
    .overview-activation-actions form {
        width: 100%;
    }
}

.stat-card h2 {
    margin-bottom: 6px;
    font-size: 2rem;
}

.status-row,
.action-row,
.dashboard-actions,
.heading-actions,
.flow-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.status-row {
    margin: 14px 0;
    color: var(--color-muted);
    font-weight: 750;
}

.status-pill,
.flow-pill,
.mini-group-type,
.mini-item-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--admin-radius-xs);
    background: #eef4ff;
    color: var(--color-muted);
    font-size: 0.83rem;
    font-weight: 780;
}

.status-pill.is-live,
.flow-pill.is-active {
    background: rgba(8, 90, 239, 0.12);
    color: var(--color-primary);
}

.subtle-pill {
    background: rgba(216, 139, 54, 0.14);
    color: #8a4d13;
}

.button-full {
    width: 100%;
}

.dashboard-actions {
    justify-content: flex-end;
    margin-bottom: 14px;
}

.dashboard-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    color: var(--color-muted);
    font-size: 0.87rem;
    font-weight: 780;
}

.dashboard-breadcrumbs a {
    color: var(--color-primary);
}

.dashboard-breadcrumbs a::after {
    content: "/";
    margin-left: 8px;
    color: var(--color-muted);
}

.dashboard-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-inline {
    align-items: flex-start;
}

.dashboard-section-heading h2 {
    margin: 0 0 8px;
    font-size: 1.7rem;
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.dashboard-section-heading p:not(.dashboard-eyebrow) {
    margin: 0;
    color: var(--color-muted);
    max-width: 760px;
}

.flow-intro-card {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
    background:
        linear-gradient(135deg, rgba(8, 90, 239, 0.08), rgba(255, 255, 255, 0.98)),
        #fff;
}

.flow-pill-group-vertical {
    display: grid;
    gap: 10px;
    align-items: start;
}

.section-intro {
    margin-bottom: 18px;
}

.template-section {
    margin-bottom: 18px;
}

.template-grid {
    display: grid;
    gap: 14px;
}

.template-card {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(219, 228, 242, 0.88);
    border-radius: var(--admin-radius-lg);
    background: linear-gradient(180deg, rgba(246, 249, 255, 0.98), rgba(255, 255, 255, 0.98));
    color: var(--color-ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.template-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 90, 239, 0.24);
    box-shadow: var(--shadow-card-hover);
}

.template-card strong {
    font-size: 1rem;
}

.template-card span {
    color: var(--color-muted);
}

.template-card small {
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.preview-card {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, var(--hotel-primary-soft, rgba(8, 90, 239, 0.14)), transparent 38%),
        rgba(255, 255, 255, 0.96);
    --hotel-primary: #085AEF;
    --hotel-secondary: #d88b36;
    --hotel-primary-soft: rgba(8, 90, 239, 0.14);
    --hotel-secondary-soft: rgba(216, 139, 54, 0.16);
    --hotel-primary-strong: #0648C5;
    --hotel-secondary-strong: #8a4d13;
    --hotel-primary-contrast: #ffffff;
    --hotel-secondary-contrast: #081444;
    --preview-ui-primary: #085AEF;
    --preview-ui-primary-soft: rgba(8, 90, 239, 0.1);
    --preview-ui-primary-strong: #0648C5;
    --preview-ui-primary-contrast: #ffffff;
    --preview-ui-tag-bg: rgba(24, 33, 31, 0.06);
    --preview-ui-tag-text: #62708f;
}

.mini-phone-preview {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 2px 0;
}

.mini-phone-screen {
    display: grid;
    gap: 12px;
    width: min(100%, 292px);
    min-height: 380px;
    padding: 18px 14px 16px;
    border: 10px solid #081444;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(234, 241, 255, 0.65), transparent 40%),
        linear-gradient(180deg, rgba(248, 251, 249, 0.98), rgba(255, 255, 255, 0.98)),
        #fff;
    box-shadow: 0 24px 44px rgba(8, 20, 68, 0.14);
    overflow: hidden;
}

.mini-page-preview .mini-phone-screen {
    min-height: 380px;
}

.mini-page-header,
.mini-item-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mini-page-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: var(--admin-radius-md);
    background: linear-gradient(135deg, var(--preview-ui-primary), var(--preview-ui-primary-strong));
    color: var(--preview-ui-primary-contrast);
    font-weight: 800;
    box-shadow: 0 14px 26px var(--preview-ui-primary-soft);
}

.mini-page-header strong,
.mini-group-preview strong,
.mini-item-row strong {
    display: block;
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.2;
}

.mini-page-header span,
.mini-page-meta,
.mini-preview-kicker,
.mini-group-preview p,
.mini-item-description,
.mini-item-value {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.mini-page-header div,
.mini-group-preview,
.mini-item-preview {
    display: grid;
    gap: 8px;
}

.mini-portal-topbar,
.mini-portal-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mini-portal-topbar strong {
    overflow: hidden;
    color: var(--color-ink);
    font-size: 0.82rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-portal-topbar span,
.mini-portal-tabs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(219, 228, 242, 0.95);
    border-radius: var(--admin-radius-xs);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-muted);
    font-size: 0.74rem;
    font-weight: 820;
}

.mini-portal-topbar span {
    border-color: rgba(8, 90, 239, 0.18);
    background: var(--preview-ui-primary-soft);
    color: var(--preview-ui-primary);
}

.mini-portal-tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.mini-portal-tabs span.is-active {
    border-color: rgba(8, 90, 239, 0.18);
    background: var(--preview-ui-primary-soft);
    color: var(--preview-ui-primary);
}

.mini-portal-page-head,
.mini-portal-card-list {
    display: grid;
    gap: 10px;
}

.mini-portal-page-head {
    padding: 14px;
    border: 1px solid rgba(219, 228, 242, 0.95);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.9);
}

.mini-portal-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(219, 228, 242, 0.9);
    border-radius: var(--admin-radius-md);
    background: rgba(248, 250, 248, 0.92);
}

.mini-portal-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.mini-page-meta {
    display: inline-flex;
    gap: 4px;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.mini-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-preview-list span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: var(--admin-radius-xs);
    background: var(--preview-ui-tag-bg);
    color: var(--preview-ui-tag-text);
    font-size: 0.78rem;
    font-weight: 800;
}

.mini-preview-kicker {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mini-group-preview {
    padding: 16px;
    border: 1px solid rgba(219, 228, 242, 0.95);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.88);
}

.mini-item-preview {
    gap: 10px;
}

.mini-item-image {
    width: 100%;
    height: 132px;
    border-radius: var(--admin-radius-md);
    object-fit: cover;
    background: #eef4ff;
}

.mini-item-price {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.08);
    color: var(--preview-ui-primary);
    font-size: 0.82rem;
    font-weight: 850;
}

.mini-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preview-card .mini-item-meta span {
    background: var(--preview-ui-tag-bg);
    color: var(--preview-ui-tag-text);
}

.is-hidden {
    display: none;
}

.form-section {
    display: grid;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(219, 228, 242, 0.72);
}

.form-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.form-section-header {
    display: grid;
    gap: 6px;
}

.form-section-admin {
    padding: 16px;
    border: 1px solid rgba(219, 228, 242, 0.9);
    border-radius: var(--admin-radius-lg);
    background: rgba(246, 249, 255, 0.92);
}

.dashboard-form .form-section-admin {
    border-top: 1px solid rgba(219, 228, 242, 0.9);
}

.form-section-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 5px 9px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 0.74rem;
    font-weight: 820;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-section-header h3 {
    margin: 0;
    font-size: 1.08rem;
}

.form-section-header p {
    margin: 0;
    color: var(--color-muted);
}

.status-banner {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(8, 90, 239, 0.14);
    border-radius: var(--admin-radius-md);
    background: rgba(8, 90, 239, 0.06);
}

.status-banner strong {
    color: var(--color-ink);
}

.status-banner span {
    color: var(--color-muted);
    font-size: 0.94rem;
}

.status-banner.is-muted {
    border-color: rgba(98, 112, 109, 0.14);
    background: rgba(240, 243, 239, 0.9);
}

.status-banner.is-warning {
    border-color: rgba(216, 139, 54, 0.28);
    background: rgba(255, 248, 238, 0.94);
}

.email-verification-banner {
    margin-bottom: 16px;
}

.status-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.status-banner-actions .button {
    width: auto;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.84rem;
}

.next-step-panel {
    margin-top: 16px;
    border-color: rgba(8, 90, 239, 0.18);
    background: linear-gradient(135deg, rgba(8, 90, 239, 0.09), rgba(234, 241, 255, 0.5));
}

.next-step-panel p:not(.dashboard-eyebrow) {
    margin: 0 0 16px;
}

.helper-list,
.checklist,
.stacked-form,
.dashboard-form,
.form-grid {
    display: grid;
    gap: 14px;
}

.helper-list p,
.checklist p {
    margin: 0;
}

.compact-helper-list {
    gap: 10px;
}

.compact-helper-list p {
    font-size: 0.95rem;
}

.checklist-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.dashboard-overview-page .checklist {
    gap: 0;
}

.dashboard-overview-page .checklist-row {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid rgba(219, 228, 242, 0.7);
}

.dashboard-overview-page .checklist-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
}

.dashboard-overview-page .checkmark {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: var(--admin-radius-xs);
}

.checkmark.is-done {
    border-color: transparent;
    background: radial-gradient(circle at center, #fff 22%, transparent 24%), var(--color-primary);
}

.form-grid {
    grid-template-columns: 1fr;
}

.stacked-form label,
.dashboard-form label {
    display: grid;
    gap: 8px;
    color: var(--color-ink);
    font-weight: 800;
}

.dashboard-form label > span:first-child {
    font-size: 0.94rem;
}

.stacked-form input,
.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: var(--admin-radius-sm);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.stacked-form input:focus,
.dashboard-form input:focus,
.dashboard-form select:focus,
.dashboard-form textarea:focus {
    outline: 0;
    border-color: rgba(8, 90, 239, 0.32);
    box-shadow: 0 0 0 4px rgba(8, 90, 239, 0.08);
}

.dashboard-form textarea {
    min-height: 138px;
    resize: vertical;
}

.auth-turnstile {
    min-height: 65px;
    max-width: 100%;
    overflow: hidden;
}

.dashboard-form input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    margin: 0;
}

.dashboard-form input[type="color"] {
    min-height: 56px;
    padding: 6px;
}

.checkbox-row {
    align-items: center;
    grid-template-columns: 1fr auto;
}

.checkbox-row input {
    order: 2;
}

.checkbox-row small,
.checkbox-row .errorlist {
    order: 3;
    grid-column: 1 / -1;
}

.presentation-toggle-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.presentation-toggle {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px;
    min-height: 74px;
    padding: 12px 14px;
    border: 1px solid rgba(213, 223, 218, 0.92);
    border-radius: var(--admin-radius-sm);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.presentation-toggle input[type="checkbox"] {
    margin-top: 2px;
}

.presentation-toggle > span {
    display: grid;
    gap: 3px;
}

.presentation-toggle strong {
    font-size: 0.86rem;
    line-height: 1.2;
}

.presentation-toggle small,
.presentation-toggle .errorlist {
    color: var(--color-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.presentation-toggle .errorlist {
    grid-column: 1 / -1;
}

@media (max-width: 620px) {
    .presentation-toggle-row {
        grid-template-columns: 1fr;
    }
}

.language-card {
    gap: 14px;
    margin-bottom: 18px;
}

.compact-section-intro {
    margin-bottom: 4px;
}

.language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-tab {
    display: grid;
    gap: 2px;
    min-width: 88px;
    padding: 10px 12px;
    border: 1px solid rgba(213, 223, 218, 0.94);
    border-radius: var(--admin-radius-sm);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.language-tab strong {
    font-size: 0.94rem;
    font-weight: 850;
}

.language-tab small {
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.language-tab:hover {
    border-color: rgba(8, 90, 239, 0.2);
    box-shadow: 0 10px 22px rgba(8, 20, 68, 0.06);
    transform: translateY(-1px);
}

.language-tab.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(8, 90, 239, 0.12), rgba(216, 139, 54, 0.12));
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.18);
}

.language-tab.is-disabled {
    opacity: 0.65;
    box-shadow: none;
    transform: none;
}

.checkbox-group-field > div,
.checkbox-group-field ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkbox-group-field label {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: var(--admin-radius-sm);
    background: rgba(255, 255, 255, 0.94);
    font-weight: 700;
}

.checkbox-group-field label input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    margin: 0;
}

.language-picker-field {
    display: grid;
    gap: 8px;
}

.language-picker {
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.language-picker[open] {
    border-color: rgba(8, 90, 239, 0.18);
}

.language-picker-summary {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.language-picker-summary::-webkit-details-marker {
    display: none;
}

.language-picker-summary-text {
    color: var(--color-ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.language-picker-panel {
    padding: 0 14px 14px;
}

.language-picker-panel.checkbox-group-field {
    gap: 10px;
}

.language-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.language-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 780;
}

.language-chip.is-muted {
    background: rgba(230, 235, 231, 0.9);
    color: var(--color-muted);
}

.readonly-language-panel {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.readonly-language-copy,
.readonly-language-note {
    margin: 0;
}

.readonly-language-copy {
    color: var(--color-ink);
    font-weight: 780;
}

.stacked-form small,
.dashboard-form small,
.errorlist {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.errorlist {
    color: #a53420;
}

.mobile-record-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.compact-page-footer-actions {
    margin-top: 14px;
}

.impact-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
}

.impact-list p {
    margin: 0;
}

.builder-outline-card {
    margin-bottom: 18px;
}

.builder-outline,
.builder-outline-children,
.builder-outline-items {
    display: grid;
    gap: 14px;
}

.builder-outline-node,
.builder-outline-item,
.builder-outline-empty {
    padding: 18px;
    border: 1px solid rgba(219, 228, 242, 0.78);
    border-radius: var(--admin-radius-lg);
    background: rgba(250, 251, 249, 0.84);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.builder-outline-node.is-page {
    background: linear-gradient(180deg, rgba(234, 241, 255, 0.26), rgba(255, 255, 255, 0.96));
}

.builder-outline-node.is-group {
    background: rgba(255, 255, 255, 0.88);
    border-left: 4px solid rgba(8, 90, 239, 0.12);
}

.builder-outline-node.is-element {
    background: rgba(246, 249, 255, 0.82);
    border-left: 4px solid rgba(216, 139, 54, 0.15);
}

.builder-outline-node:hover,
.builder-outline-item:hover {
    border-color: rgba(8, 90, 239, 0.18);
    box-shadow: var(--shadow-card);
}

.builder-outline-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.builder-outline-header strong,
.builder-outline-item strong {
    display: block;
    margin-top: 4px;
    font-size: 1.02rem;
    line-height: 1.25;
}

.builder-outline-header small,
.builder-outline-item small {
    display: block;
    margin-top: 6px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.builder-outline-label {
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.builder-outline-empty {
    color: var(--color-muted);
    text-align: center;
}

.builder-outline-item-muted {
    background: rgba(240, 243, 239, 0.9);
}

.builder-outline-item-list,
.record-chip-list,
.inline-action-row,
.summary-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.builder-outline-item-list,
.record-chip-list {
    margin-top: 14px;
}

.builder-outline-item-list span,
.record-chip-list span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 780;
}

.inline-action-row form,
.table-actions form {
    margin: 0;
}

.summary-stack {
    display: grid;
    gap: 8px;
}

.summary-stack p {
    margin: 0;
}

.compact-outline {
    gap: 10px;
}

.mobile-record-card {
    padding: 16px;
    border: 1px solid rgba(219, 228, 242, 0.78);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(8, 20, 68, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.mobile-record-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 90, 239, 0.18);
    box-shadow: var(--shadow-card-hover);
}

.empty-record-card {
    background: linear-gradient(180deg, rgba(234, 241, 255, 0.45), rgba(255, 255, 255, 0.96));
}

.record-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.record-heading-copy {
    min-width: 0;
}

.record-heading h3 {
    margin: 0;
    font-size: 1.15rem;
}

.record-heading p,
.mobile-record-card > p,
.record-note {
    margin: 6px 0 0;
    color: var(--color-muted);
}

.record-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.record-meta.is-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 10px;
}

.record-meta div {
    min-width: 0;
}

.record-meta dt {
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.record-meta dd {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    color: var(--color-ink);
    font-weight: 750;
}

.record-hint {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.record-actions {
    display: grid;
    gap: 8px;
}

.record-actions.is-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.record-primary-action {
    display: inline-flex;
    width: auto;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.record-icon-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reorder-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.record-primary-action svg,
.icon-button svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-muted);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.icon-button:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 90, 239, 0.22);
    color: var(--color-primary);
    box-shadow: var(--shadow-card);
}

.icon-button:disabled,
.icon-button[aria-disabled="true"],
.button:disabled,
.button[aria-disabled="true"] {
    opacity: 0.46;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.icon-button:disabled:hover,
.icon-button[aria-disabled="true"]:hover,
.button:disabled:hover,
.button[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
}

.icon-button.is-danger {
    border-color: rgba(165, 52, 32, 0.16);
    background: rgba(165, 52, 32, 0.05);
    color: #9a3827;
}

.button-compact {
    min-height: 38px;
    padding: 8px 12px;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    min-width: 760px;
}

.dashboard-table th,
.dashboard-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(219, 228, 242, 0.72);
    text-align: left;
    vertical-align: top;
}

.dashboard-table th {
    color: var(--color-muted);
    font-size: 0.77rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-table td span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.table-action-cell {
    width: 28%;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-action-cell .table-actions {
    justify-content: flex-start;
}

.project-list-table-card .dashboard-table th:last-child,
.project-list-table-card .table-action-cell {
    text-align: center;
}

.project-list-table-card .table-actions {
    justify-content: center;
}

.danger-link {
    color: #9a3827;
}

.page-content-summary {
    font-size: 0.88rem;
}

.dashboard-project-panel {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(219, 228, 242, 0.88);
    border-radius: var(--admin-radius-md);
    background: rgba(249, 251, 249, 0.92);
    box-shadow: none;
}

.dashboard-project-panel strong {
    font-size: 1rem;
    line-height: 1.2;
}

.dashboard-project-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.dashboard-project-card.is-empty {
    align-items: start;
}

.dashboard-project-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: var(--admin-radius-sm);
    background: linear-gradient(135deg, rgba(8, 90, 239, 0.16), rgba(230, 238, 255, 0.92));
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.06);
}

.dashboard-project-media-link {
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-project-media-link:hover {
    background: linear-gradient(135deg, rgba(8, 90, 239, 0.22), rgba(220, 231, 255, 0.96));
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.14), 0 8px 18px rgba(8, 90, 239, 0.1);
    transform: translateY(-1px);
}

.dashboard-project-media-link:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.18), 0 0 0 4px rgba(8, 90, 239, 0.16);
}

.dashboard-project-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-project-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.95rem;
    font-weight: 850;
}

.dashboard-project-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.dashboard-project-copy > strong,
.dashboard-project-copy > span,
.dashboard-project-copy > small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-project-copy > span {
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 650;
}

.dashboard-project-panel small,
.dashboard-project-label,
.project-list-summary,
.project-search-field small,
.project-current-label {
    color: var(--color-muted);
}

.dashboard-project-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dashboard-project-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.dashboard-project-status-value {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-primary);
}

.dashboard-project-status.is-draft .dashboard-project-status-value {
    color: #8a4d13;
}

.dashboard-project-status-value strong {
    font-size: 0.8rem;
    font-weight: 820;
}

.dashboard-project-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.dashboard-project-status.is-live .dashboard-project-status-dot {
    box-shadow: 0 0 0 0 rgba(8, 90, 239, 0.34);
    animation: dashboard-live-pulse 1.8s ease-out infinite;
}

.dashboard-project-status.is-draft .dashboard-project-status-dot {
    box-shadow: 0 0 0 0 rgba(216, 139, 54, 0.3);
    animation: dashboard-draft-pulse 1.8s ease-out infinite;
}

.project-list-toolbar {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.project-search-form {
    display: grid;
    gap: 10px;
}

.project-search-field {
    display: grid;
}

.project-search-field input {
    min-height: 48px;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    color: var(--color-ink);
    font: inherit;
}

.project-search-field input:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(8, 90, 239, 0.08);
}

.project-list-summary {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
}

.project-current-label {
    font-size: 0.84rem;
    font-weight: 780;
}

.project-record-card {
    gap: 14px;
}

.project-record-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.project-record-head h2 {
    margin-bottom: 0;
}

.project-list-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    margin-bottom: 18px;
}

.project-search-form,
.project-search-field {
    min-width: 0;
}

.project-search-form {
    display: block;
    width: 100%;
}

.project-search-field {
    position: relative;
    display: grid;
    align-items: center;
}

.project-search-field > svg {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    color: #53658f;
    pointer-events: none;
}

.project-search-field input {
    min-height: 46px;
    width: 100%;
    padding: 10px 48px 10px 48px;
    border: 1px solid rgba(214, 225, 242, 0.96);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 680;
    box-shadow: 0 10px 24px rgba(8, 20, 68, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.project-search-field input::placeholder {
    color: #7c8aaa;
    font-weight: 650;
}

.project-search-field input:focus {
    outline: 0;
    border-color: rgba(8, 90, 239, 0.34);
    box-shadow: 0 0 0 4px rgba(8, 90, 239, 0.08), 0 12px 26px rgba(8, 20, 68, 0.055);
}

.project-search-clear {
    position: absolute;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--admin-radius-sm);
    color: var(--color-muted);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1;
}

.project-search-clear:hover {
    background: rgba(8, 90, 239, 0.07);
    color: var(--color-primary);
}

.project-create-button {
    min-height: 46px;
    padding-inline: 20px;
    border-radius: var(--admin-radius-lg);
    white-space: nowrap;
}

.project-create-button svg,
.project-open-button svg,
.project-delete-confirm-button svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.project-list-table-card {
    overflow: hidden;
    border-color: rgba(214, 225, 242, 0.95);
    background: rgba(255, 255, 255, 0.96);
}

.project-list-table {
    min-width: 900px;
}

.project-list-table th,
.project-list-table td {
    padding: 22px 28px;
    border-bottom-color: rgba(214, 225, 242, 0.8);
    vertical-align: middle;
}

.project-list-table th {
    padding-block: 22px;
    color: #526287;
    font-size: 0.78rem;
    font-weight: 860;
    letter-spacing: 0.07em;
}

.project-list-table tbody tr {
    transition: background 160ms ease;
}

.project-list-table tbody tr:hover {
    background: rgba(247, 250, 255, 0.72);
}

.project-list-table tbody tr:last-child td {
    border-bottom: 0;
}

.project-list-table th:nth-child(1),
.project-list-table td:nth-child(1) {
    width: 37%;
}

.project-list-table th:nth-child(2),
.project-list-table td:nth-child(2) {
    width: 28%;
}

.project-list-table th:nth-child(3),
.project-list-table td:nth-child(3) {
    width: 17%;
}

.project-list-table th:nth-child(4),
.project-list-table td:nth-child(4) {
    width: 18%;
}

.project-list-identity {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
}

.project-folder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.05);
}

.project-folder-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.project-list-table .project-folder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.project-list-table tbody tr:nth-child(5n+1) .project-folder-icon,
.mobile-record-list .project-record-card:nth-child(5n+1) .project-folder-icon {
    background: #f1edff;
    color: #6d4aff;
}

.project-list-table tbody tr:nth-child(5n+2) .project-folder-icon,
.mobile-record-list .project-record-card:nth-child(5n+2) .project-folder-icon {
    background: #eaf3ff;
    color: #0f6ff1;
}

.project-list-table tbody tr:nth-child(5n+3) .project-folder-icon,
.mobile-record-list .project-record-card:nth-child(5n+3) .project-folder-icon {
    background: #e9fbf3;
    color: #11a873;
}

.project-list-table tbody tr:nth-child(5n+4) .project-folder-icon,
.mobile-record-list .project-record-card:nth-child(5n+4) .project-folder-icon {
    background: #fff5e7;
    color: #d48618;
}

.project-list-table tbody tr:nth-child(5n+5) .project-folder-icon,
.mobile-record-list .project-record-card:nth-child(5n+5) .project-folder-icon {
    background: #fceef4;
    color: #cf4d7d;
}

.project-list-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.project-list-copy strong,
.project-list-copy h2 {
    margin: 0;
    overflow: hidden;
    color: var(--color-ink);
    font-size: 1.08rem;
    font-weight: 880;
    letter-spacing: -0.015em;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.project-list-copy > span:not(.project-current-label) {
    overflow: hidden;
    color: #687797;
    font-size: 0.95rem;
    font-weight: 640;
    text-overflow: ellipsis;
}

.project-current-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    padding: 5px 10px;
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 820;
    line-height: 1.15;
}

.project-current-label svg {
    width: 14px;
    height: 14px;
    flex: none;
}

.project-list-table .project-current-label {
    display: inline-flex;
    margin-top: 0;
    color: var(--color-primary);
}

.project-billing-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-ink);
    font-weight: 820;
    line-height: 1.25;
    white-space: nowrap;
}

.project-billing-status svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: none;
    color: #ffad20;
    stroke: currentColor;
}

.project-billing-status span {
    display: inline;
    margin: 0;
    color: var(--color-ink);
    font-size: 0.94rem;
    font-weight: 820;
}

.project-list-table .project-billing-status span {
    display: inline;
    margin: 0;
    color: var(--color-ink);
}

.project-updated-cell strong {
    color: var(--color-ink);
    font-weight: 850;
    white-space: nowrap;
}

.project-updated-cell span {
    color: #687797;
    font-size: 0.94rem;
    font-weight: 640;
}

.project-list-table-card .table-actions {
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
}

.project-list-table-card .project-open-button {
    min-width: 94px;
}

.project-delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border-color: rgba(225, 29, 72, 0.25);
    border-radius: var(--admin-radius-md);
    background: rgba(225, 29, 72, 0.06);
    color: #e11d48;
    box-sizing: border-box;
}

.project-delete-button svg {
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    stroke: currentColor;
}

.project-delete-button:hover {
    border-color: rgba(225, 29, 72, 0.36);
    background: rgba(225, 29, 72, 0.1);
    color: #e21d36;
}

.project-record-card {
    border-color: rgba(214, 225, 242, 0.95);
    background: rgba(255, 255, 255, 0.96);
}

.project-record-card .project-list-identity {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
}

.project-record-card .project-folder-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
}

.project-record-card .project-folder-icon svg {
    width: 26px;
    height: 26px;
}

.project-mobile-meta {
    display: grid;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(214, 225, 242, 0.8);
    border-bottom: 1px solid rgba(214, 225, 242, 0.8);
}

.project-mobile-meta > div {
    display: grid;
    gap: 5px;
}

.project-mobile-meta span {
    color: #687797;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-mobile-meta .project-billing-status span {
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 820;
    letter-spacing: 0;
    text-transform: none;
}

.project-mobile-meta strong {
    margin: 0;
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 820;
}

.project-mobile-meta small {
    color: #687797;
    font-size: 0.9rem;
    font-weight: 640;
}

.project-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 10px;
    align-items: stretch;
}

.project-card-actions .project-delete-button {
    width: 46px;
    height: 100%;
    min-height: 44px;
}

.project-delete-modal[hidden] {
    display: none;
}

.project-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 22px;
}

.project-delete-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 20, 68, 0.34);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.project-delete-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 520px);
    overflow: hidden;
    border: 1px solid rgba(214, 225, 242, 0.92);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(8, 20, 68, 0.2);
}

.project-delete-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
}

.project-delete-modal-head p {
    margin: 0 0 6px;
    color: #e21d36;
    font-size: 0.78rem;
    font-weight: 880;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-delete-modal-head h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.project-delete-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(214, 225, 242, 0.92);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 1.45rem;
    font-weight: 780;
    line-height: 1;
}

.project-delete-modal-close:hover {
    border-color: rgba(8, 90, 239, 0.22);
    color: var(--color-ink);
}

.project-delete-modal-body {
    display: grid;
    gap: 16px;
    padding: 0 24px 22px;
}

.project-delete-modal-body p {
    margin: 0;
    color: #5d6b88;
    line-height: 1.55;
}

.project-delete-name-card {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(214, 225, 242, 0.92);
    border-radius: var(--admin-radius-md);
    background: rgba(247, 250, 255, 0.9);
}

.project-delete-name-card span,
.project-delete-confirm-field span {
    color: #687797;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-delete-name-card strong {
    color: var(--color-ink);
    font-size: 1rem;
    font-weight: 850;
}

.project-delete-confirm-field {
    display: grid;
    gap: 8px;
}

.project-delete-confirm-field input {
    min-height: 48px;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid rgba(214, 225, 242, 0.96);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    color: var(--color-ink);
    font: inherit;
    font-weight: 700;
}

.project-delete-confirm-field input:focus {
    outline: 0;
    border-color: rgba(8, 90, 239, 0.34);
    box-shadow: 0 0 0 4px rgba(8, 90, 239, 0.08);
}

.project-delete-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px 24px;
    border-top: 1px solid rgba(214, 225, 242, 0.8);
}

.project-delete-modal-actions .button {
    width: auto;
}

.project-delete-confirm-button {
    border-color: transparent;
    background: #e21d36;
    color: #fff;
}

.project-delete-confirm-button:hover,
.project-delete-confirm-button:focus-visible {
    background: #c9162c;
    color: #fff;
}

body.project-delete-modal-open {
    overflow: hidden;
}

@media (max-width: 759px) {
    .project-list-toolbar {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 12px;
    }

    .project-search-field input,
    .project-create-button {
        min-height: 46px;
    }

    .project-create-button {
        width: 100%;
    }

    .project-record-card {
        padding: 18px;
    }

    .project-record-head,
    .project-list-identity {
        min-width: 0;
    }

    .project-card-actions .project-delete-button {
        width: 46px;
    }

    .project-delete-modal {
        align-items: end;
        padding: 12px;
    }

    .project-delete-modal-panel {
        width: 100%;
    }

    .project-delete-modal-head,
    .project-delete-modal-body,
    .project-delete-modal-actions {
        padding-inline: 18px;
    }

    .project-delete-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .project-delete-modal-actions .button {
        width: 100%;
    }
}

.dashboard-overview-hero {
    margin-bottom: 2px;
}

.qr-side-card {
    align-content: start;
}

.qr-preview-image {
    width: min(100%, 220px);
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-lg);
    background: #fff;
}

.qr-preview-image.large {
    width: min(100%, 280px);
}

.qr-preview-image.compact {
    width: min(100%, 180px);
    margin-bottom: 14px;
}

.qr-empty-state {
    display: grid;
    min-height: 180px;
    place-items: center;
    padding: 24px;
    border: 1px dashed var(--color-line);
    border-radius: var(--admin-radius-lg);
    color: var(--color-muted);
    text-align: center;
}

.qr-manager {
    display: grid;
    gap: 16px;
}

.qr-manager-intro {
    margin: -8px 0 8px;
    color: var(--color-muted);
    font-weight: 650;
}

.qr-manager-toolbar {
    display: grid;
    gap: 10px;
}

.qr-manager-search input {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    color: var(--color-ink);
    font: inherit;
}

.qr-manager-layout {
    display: grid;
    gap: 16px;
    align-items: start;
}

.qr-manager-list-card,
.qr-manager-editor-card,
.qr-info-card {
    border: 1px solid rgba(219, 228, 242, 0.82);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--admin-shadow-soft);
}

.qr-manager-list-card {
    padding: 12px;
}

.qr-manager-editor-card {
    padding: 16px;
}

.qr-info-card {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.qr-info-header h2 {
    margin: 0 0 8px;
    font-size: 1.22rem;
}

.qr-info-image {
    justify-self: center;
    width: min(100%, 190px);
    aspect-ratio: 1;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-md);
    background: #fff;
}

.qr-info-details {
    display: grid;
    gap: 11px;
    margin: 0;
}

.qr-info-details div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.qr-info-details dt,
.qr-info-notes strong {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.qr-info-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--color-ink);
    font-weight: 780;
}

.qr-info-actions {
    display: grid;
    gap: 8px;
}

.qr-info-actions .subtle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.1;
}

.qr-info-actions .qr-manager-menu {
    display: grid;
}

.qr-info-notes {
    display: grid;
    gap: 6px;
}

.qr-info-notes p {
    margin: 0;
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

.qr-manager-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 6px 12px;
}

.qr-manager-list {
    display: grid;
    gap: 6px;
}

.qr-manager-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
}

.qr-manager-row.is-selected {
    background: rgba(8, 90, 239, 0.07);
}

.qr-manager-row-main {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    color: inherit;
    text-decoration: none;
}

.qr-manager-thumb,
.qr-utility-image {
    display: block;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fff;
}

.qr-manager-thumb {
    width: 48px;
    height: 48px;
    padding: 4px;
}

.qr-manager-row-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.qr-manager-row-copy strong,
.qr-manager-row-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-manager-row-copy strong {
    display: flex;
    align-items: center;
    gap: 7px;
}

.qr-manager-main-badge {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.1);
    color: var(--color-primary);
    font-size: 0.68rem;
    font-weight: 800;
}

.qr-manager-path {
    opacity: 0.78;
}

.qr-manager-row-copy small,
.qr-manager-row time {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.qr-manager-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.qr-manager-tags span {
    padding: 3px 7px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.1);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 820;
}

.qr-manager-menu {
    position: relative;
}

.qr-manager-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: var(--admin-radius-sm);
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
}

.qr-manager-menu-popover {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 15;
    display: grid;
    min-width: 138px;
    padding: 6px;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(8, 20, 68, 0.14);
}

.qr-manager-menu-popover[hidden] {
    display: none;
}

.qr-manager-menu-popover a,
.qr-manager-menu-popover button {
    display: flex;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--color-ink);
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.qr-manager-menu-popover button {
    color: #b42318;
}

.qr-manager-menu-popover button:disabled,
.qr-manager-editor-actions .is-disabled {
    color: var(--color-muted);
    cursor: not-allowed;
    opacity: 0.55;
}

.qr-manager-editor-form {
    display: grid;
    gap: 13px;
}

.qr-manager-editor-form h2 {
    margin: 0;
    font-size: 1.25rem;
}

.qr-manager-editor-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.qr-mobile-editor-backdrop {
    display: none;
}

.qr-editor-modal .visual-modal-panel {
    width: min(100%, 760px);
    max-height: min(88dvh, 860px);
}

.qr-editor-modal .visual-modal-header {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(219, 228, 242, 0.84);
}

.qr-editor-modal .visual-modal-header h2 {
    font-size: 1.24rem;
}

.qr-editor-modal .visual-modal-form {
    gap: 8px;
    padding: 0 20px;
}

.qr-manager-editor-form label {
    display: grid;
    gap: 6px;
}

.qr-modal-layout {
    display: grid;
    gap: 0;
    padding: 10px 0 0;
}

.qr-modal-form-column {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.qr-modal-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 178px;
    align-items: stretch;
    gap: 14px;
}

.qr-preview-stack {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    justify-items: stretch;
    align-content: stretch;
    width: 178px;
    min-width: 178px;
    height: 100%;
}

.qr-identity-fields {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    gap: 10px;
    min-width: 0;
}

.qr-identity-fields > .qr-field {
    display: grid;
    grid-template-columns: minmax(0, 24.5%) minmax(0, 75.5%);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.qr-identity-fields > .qr-field > span:first-child {
    grid-column: 1;
}

.qr-identity-fields > .qr-field > input,
.qr-identity-fields > .qr-field > select,
.qr-identity-fields > .qr-field > textarea,
.qr-identity-fields > .qr-field > .errorlist {
    grid-column: 2;
}

.qr-identity-fields > .qr-notes-field {
    align-items: start;
}

.qr-identity-fields > .qr-notes-field > span:first-child {
    padding-top: 9px;
}

.qr-identity-fields > .qr-notes-field textarea {
    min-height: 62px;
    resize: vertical;
}

.qr-inline-settings-grid {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.qr-setting-zone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.qr-setting-zone > span {
    color: var(--color-ink);
    font-size: 0.84rem;
    font-weight: 720;
    line-height: 1.2;
}

.qr-setting-zone-control {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.qr-modal-section {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
}

.qr-modal-section:first-child {
    padding-top: 0;
}

.qr-modal-section:last-of-type {
    margin-bottom: 0;
}

.qr-section-heading h3 {
    margin: 0;
    color: var(--color-ink);
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.qr-field {
    min-width: 0;
}

.qr-action-behavior-section .qr-link-type-slider,
.qr-action-behavior-section .qr-action-target-field,
.qr-action-behavior-section .qr-destination-panel,
.qr-action-behavior-section .qr-wifi-grid {
    grid-column: 1 / -1;
}

.qr-editor-modal .qr-action-behavior-section [data-qr-destination][hidden] {
    display: none !important;
}

.qr-editor-modal .qr-link-type-slider {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.qr-editor-modal .qr-link-type-slider > span {
    color: var(--color-ink);
    font-size: var(--element-setting-label-size, 0.88rem);
    font-weight: 760;
    line-height: 1.2;
}

.qr-editor-modal .qr-link-type-carousel {
    --template-arrow-slot: 30px;
    --template-card-gap: 8px;
    --template-cards-per-view: 3;
    --template-base-viewport: 100%;
    --template-visible-gaps: calc(var(--template-card-gap) * (var(--template-cards-per-view) - 1));
}

.qr-editor-modal .qr-link-type-slider .element-template-card {
    min-height: 104px;
}

.qr-editor-modal .qr-link-type-slider .element-template-card__icon .dashboard-symbol {
    color: currentColor;
    font-size: 1.2rem;
    line-height: 1;
}

.qr-destination-panel,
.qr-wifi-grid,
.qr-customization-grid {
    display: grid;
    min-width: 0;
}

.qr-link-target-card strong {
    color: var(--color-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.qr-link-target-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 40px;
    padding: 6px;
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: 8px;
    background: rgba(248, 251, 255, 0.92);
}

.qr-link-target-card > div {
    min-width: 0;
}

.qr-link-target-card small {
    overflow: hidden;
    display: block;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-wifi-grid,
.qr-customization-grid {
    gap: 8px;
}

.qr-customization-grid {
    align-items: start;
}

.qr-customization-control {
    min-width: 0;
}

.qr-destination-panel .project-file-picker-field {
    padding: 0;
    border: 0;
    background: transparent;
}

.qr-destination-panel .project-file-picker-field-subrow {
    grid-template-columns: minmax(0, 1fr);
}

.qr-destination-panel .project-file-picker-field-header .action-row {
    justify-self: start;
}

.qr-destination-panel .project-file-picker-selection {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 8px;
    border-radius: 8px;
}

.qr-destination-panel .project-file-picker-selection-preview {
    width: 58px;
    min-width: 58px;
    padding: 7px;
}

.qr-file-picker.theme-compact-picker .project-file-picker-field {
    grid-template-columns: minmax(0, 24.5%) minmax(0, 75.5%);
    align-items: center;
}

.qr-file-picker.theme-compact-picker .project-file-picker-field-subrow .action-row,
.qr-file-picker.theme-compact-picker .project-file-picker-field-header .action-row {
    justify-self: end;
    justify-content: flex-end;
}

.qr-logo-picker {
    display: grid;
    min-width: 0;
}

.qr-logo-compact-field {
    grid-template-columns: minmax(0, 24.5%) minmax(0, 75.5%);
    gap: 6px 12px;
    align-items: center;
}

.qr-logo-compact-label {
    color: var(--color-ink);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
}

.qr-logo-compact-control {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.qr-logo-compact-selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    min-width: 0;
    min-height: 36px;
    border: 1px solid rgba(219, 228, 242, 0.94);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    overflow: hidden;
}

.qr-editor-modal .qr-logo-compact-preview.icon-selector-preview-badge {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef4ff;
    color: #0648C5;
    font-weight: 800;
    overflow: hidden;
}

.qr-editor-modal .qr-file-compact-field {
    grid-template-columns: minmax(0, 24.5%) minmax(0, 75.5%);
    gap: 6px 12px;
    align-items: center;
}

.qr-editor-modal .qr-file-compact-preview.icon-selector-preview-badge {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef4ff;
    color: #0648C5;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
}

.qr-editor-modal .qr-file-compact-preview img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.qr-editor-modal .qr-file-compact-preview span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0 4px;
    color: currentColor;
    font-size: 0.62rem;
    text-align: center;
}

.qr-editor-modal .qr-file-compact-preview span:not([hidden]):empty::before {
    content: "\00d7";
    color: currentColor;
    font-size: 1.05rem;
    font-weight: 800;
}

.qr-editor-modal .qr-logo-compact-preview img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.qr-editor-modal .qr-logo-compact-preview span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: transparent;
    font-size: 0;
    white-space: nowrap;
}

.qr-editor-modal .qr-logo-compact-preview span:not([hidden])::before {
    content: "\00d7";
    display: block;
    width: 36px;
    height: 36px;
    color: #0648C5;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 34px;
    text-align: center;
}

.qr-logo-compact-selection > strong {
    overflow: hidden;
    min-width: 0;
    padding: 0 12px;
    color: var(--color-ink);
    font-size: 0.86rem;
    font-weight: 520;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-logo-clear-button.visual-icon-button {
    justify-self: end;
    z-index: 1;
    width: 36px;
    min-width: 36px;
    height: 34px;
    min-height: 34px;
    margin-right: 1px;
    border: 0;
    border-left: 1px solid rgba(219, 228, 242, 0.72);
    border-radius: 0 8px 8px 0;
    background: transparent;
    box-shadow: none;
    color: #b13528;
    font-size: 1.1rem;
    font-weight: 800;
}

.qr-logo-compact-control .icon-selector-image-button {
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 760;
    line-height: 20px;
    white-space: nowrap;
}

.qr-logo-picker.theme-compact-picker .project-file-picker-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.qr-logo-picker.theme-compact-picker .project-file-picker-field-header span {
    align-self: center;
    color: var(--color-ink);
    font-size: 0.84rem;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.qr-logo-picker.theme-compact-picker .project-file-picker-field-subrow .action-row,
.qr-logo-picker.theme-compact-picker .project-file-picker-field-header .action-row {
    align-self: center;
    justify-self: end;
    justify-content: flex-end;
}

.qr-logo-picker.theme-compact-picker .project-file-picker-trigger {
    width: auto;
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: var(--element-setting-label-size, 0.84rem);
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
}

.qr-live-preview {
    display: grid;
    place-items: center;
    width: 178px;
    min-width: 178px;
    min-height: 178px;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.qr-live-preview .qr-utility-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    padding: 0;
}

.qr-preview-empty {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    color: var(--color-muted);
    font-weight: 850;
}

.qr-manager-editor-form .errorlist {
    display: grid;
    gap: 3px;
    margin: 5px 0 0;
    padding: 0;
    color: #b42318;
    font-size: 0.78rem;
    font-weight: 750;
    list-style: none;
}

.qr-manager-editor-form [hidden] {
    display: none;
}

.qr-manager-editor-form label > span,
.qr-manager-editor-form .visual-label-builder > span,
.qr-manager-editor-form .link-target-picker-field strong {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
}

.qr-manager-editor-form input,
.qr-manager-editor-form select,
.qr-manager-editor-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    color: var(--color-ink);
    font: inherit;
}

.qr-manager-editor-form small {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.qr-utility-block {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-md);
    background: rgba(246, 249, 255, 0.72);
}

.qr-utility-image {
    width: 112px;
    height: 112px;
    padding: 8px;
}

.qr-utility-actions {
    display: grid;
    align-self: end;
    gap: 7px;
    width: 100%;
    min-width: 0;
}

.qr-utility-actions .subtle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 7px 12px;
    text-decoration: none;
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.1;
}

.qr-permanent-notice {
    grid-column: 1 / -1;
    align-self: start;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(8, 90, 239, 0.12);
    border-radius: 12px;
    background: rgba(8, 90, 239, 0.07);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 760;
    overflow-wrap: anywhere;
}

.qr-editor-modal .qr-manager-editor-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -20px;
    padding: 12px 20px;
}

.qr-editor-modal .qr-manager-editor-actions.is-editing {
    justify-content: flex-end;
}

.qr-editor-modal .qr-manager-editor-actions .button,
.qr-editor-modal .qr-manager-editor-actions .subtle-button {
    width: auto;
    min-width: 140px;
}

.qr-danger-button {
    border-color: #b42318;
    background: #b42318;
    color: #fff;
}

.qr-danger-button:hover,
.qr-danger-button:focus-visible {
    background: #9f1f16;
    color: #fff;
}

.qr-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 6px 2px;
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.qr-pagination .subtle-button {
    width: auto;
    min-height: 36px;
    padding: 8px 12px;
    text-decoration: none;
}

.qr-pagination .is-disabled {
    opacity: 0.46;
    pointer-events: none;
}

@media (min-width: 760px) {
    .qr-manager-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .qr-customization-grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .qr-identity-fields {
        height: 100%;
        align-content: space-between;
        gap: 14px;
    }

    .qr-inline-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 14px;
    }

    .qr-modal-section > .qr-field {
        grid-template-columns: minmax(0, 24.5%) minmax(0, 75.5%);
        align-items: center;
        gap: 12px;
    }

    .qr-modal-section > .qr-field > span:first-child {
        grid-column: 1;
    }

    .qr-modal-section > .qr-field > input,
    .qr-modal-section > .qr-field > select,
    .qr-modal-section > .qr-field > textarea,
    .qr-modal-section > .qr-field > .theme-color-control,
    .qr-modal-section > .qr-field > .errorlist {
        grid-column: 2;
    }

    .qr-wifi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .qr-manager-layout {
        grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.42fr);
    }
}

@media (min-width: 900px) {
    .dashboard-grid-halves {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid-thirds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid-feature {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    }

    .dashboard-overview-hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
        align-items: stretch;
    }
}

@media (min-width: 1100px) {
    .dashboard-shell {
        grid-template-columns: 296px minmax(0, 1fr);
        align-items: start;
        gap: 26px;
        padding: 22px;
    }

    .dashboard-sidebar {
        position: sticky;
        top: 22px;
        z-index: 5;
        display: grid;
        align-content: start;
        gap: 10px;
        min-height: calc(100vh - 44px);
        padding: 22px 20px;
        border: 1px solid rgba(219, 228, 242, 0.82);
        border-radius: var(--admin-radius-lg);
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 18px 46px rgba(8, 20, 68, 0.06);
    }

    .dashboard-nav {
        width: 100%;
    }

    .dashboard-project-switcher,
    .dashboard-nav-link {
        justify-content: flex-start;
        width: 100%;
    }

    .dashboard-main {
        width: 100%;
        margin: 0;
        padding: 0 8px 72px 0;
    }
}

@media (max-width: 759px) {
    .project-template-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-card,
    .flow-intro-card,
    .next-step-panel {
        padding: 18px;
        border-radius: var(--admin-radius-lg);
    }

    .dashboard-topbar h1 {
        font-size: clamp(1.6rem, 8vw, 2.1rem);
    }
}

.qr-hero-card {
    display: grid;
    gap: 24px;
    margin-bottom: 18px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(216, 139, 54, 0.12), transparent 36%),
        linear-gradient(135deg, rgba(8, 90, 239, 0.08), rgba(255, 255, 255, 0.98)),
        #fff;
}

.hotel-settings-layout {
    display: grid;
    gap: 16px;
    width: min(100%, 980px);
    margin: 0 auto;
}

.hotel-settings-hero,
.hotel-settings-card {
    width: min(100%, 920px);
    margin-inline: auto;
}

.hotel-settings-hero {
    gap: 18px;
    margin-bottom: 0;
    padding: 18px;
}

.hotel-settings-card {
    padding: 18px;
    border-radius: var(--admin-radius-lg);
}

.hotel-settings-card .section-intro {
    gap: 6px;
    margin-bottom: 6px;
}

.hotel-settings-card .section-intro p:last-child {
    margin-bottom: 0;
}

.hotel-settings-form {
    gap: 12px;
}

.hotel-settings-section {
    gap: 10px;
    padding-top: 12px;
}

.hotel-settings-section-compact {
    padding: 14px;
    border-radius: var(--admin-radius-lg);
}

.hotel-settings-grid {
    gap: 12px;
}

.project-template-section {
    border: 1px solid rgba(8, 90, 239, 0.14);
    border-radius: var(--admin-radius-lg);
    background: rgba(247, 251, 249, 0.82);
    padding: 14px;
}

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

.project-template-card {
    position: relative;
    display: grid;
    gap: 7px;
    min-height: 158px;
    padding: 14px;
    border: 1px solid rgba(219, 228, 242, 0.96);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.98);
    color: var(--color-ink);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.project-template-card:hover,
.project-template-card:focus-within {
    border-color: rgba(8, 90, 239, 0.32);
}

.project-template-card.is-selected,
.project-template-card:has(input:checked) {
    border-color: rgba(8, 90, 239, 0.58);
    background: rgba(241, 250, 247, 0.98);
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.12);
}

.project-template-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.project-template-card__eyebrow,
.project-template-card__meta {
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 760;
    line-height: 1.25;
}

.project-template-card strong {
    color: var(--color-ink);
    font-size: 0.98rem;
    line-height: 1.2;
}

.project-template-card small {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 520;
    line-height: 1.36;
}

.project-template-note {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.84rem;
    font-weight: 620;
    line-height: 1.4;
}

.hotel-settings-form label {
    gap: 6px;
}

.hotel-settings-form label > span:first-child {
    font-size: 0.9rem;
}

.hotel-settings-form input,
.hotel-settings-form select,
.hotel-settings-form textarea {
    min-height: 48px;
    padding: 11px 13px;
    border-radius: var(--admin-radius-sm);
}

.hotel-settings-form textarea {
    min-height: 118px;
}

.hotel-settings-form input[type="color"] {
    min-height: 50px;
    padding: 4px;
}

.hotel-range-field {
    display: grid;
    gap: 8px;
}

.hotel-range-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hotel-range-field strong {
    color: var(--color-primary);
    font-size: 0.92rem;
}

.hotel-range-field input[type="range"] {
    width: 100%;
    accent-color: var(--color-primary);
}

.standard-icon-settings-preview {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.74);
}

.standard-icon-settings-preview > span {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.standard-icon-settings-preview > div {
    display: flex;
    gap: 10px;
}

.standard-icon-settings-preview .standard-icon-badge {
    display: grid;
    width: calc(44px * var(--hotel-standard-icon-scale-factor, 1));
    height: calc(44px * var(--hotel-standard-icon-scale-factor, 1));
    place-items: center;
    border-radius: var(--admin-radius-sm);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, calc(0.45 * var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1)))),
            rgba(0, 0, 0, calc(0.04 * var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1))))
        ),
        rgba(var(--hotel-standard-icon-bg-bottom-rgb, 230, 238, 255), var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1)));
    color: var(--hotel-standard-icon-color, #0648C5);
}

.standard-icon-settings-preview svg {
    width: var(--hotel-standard-icon-glyph-size, 24px);
    height: var(--hotel-standard-icon-glyph-size, 24px);
}

.hotel-settings-form .form-section-header {
    gap: 4px;
}

.hotel-settings-form .form-section-header h3 {
    font-size: 1rem;
}

.hotel-settings-form .form-section-header p,
.hotel-settings-form small {
    font-size: 0.82rem;
}

.hotel-settings-form .language-tabs {
    gap: 8px;
}

.hotel-settings-form .language-tab {
    min-width: 82px;
    padding: 8px 10px;
    border-radius: var(--admin-radius-sm);
}

.hotel-settings-form .language-tab strong {
    font-size: 0.88rem;
}

.hotel-settings-form .language-tab small {
    font-size: 0.72rem;
}

.hotel-settings-form .language-picker,
.hotel-settings-form .readonly-language-panel,
.hotel-settings-form .qr-link-box,
.hotel-settings-form .portal-link-placeholder {
    border-radius: var(--admin-radius-lg);
}

.hotel-settings-form .language-picker-summary,
.hotel-settings-form .readonly-language-panel,
.hotel-settings-form .qr-link-box,
.hotel-settings-form .portal-link-placeholder {
    padding: 12px 14px;
}

.hotel-settings-form .language-picker-panel {
    padding: 0 12px 12px;
}

.hotel-settings-form .checkbox-group-field label {
    padding: 10px 12px;
    border-radius: var(--admin-radius-sm);
}

.hotel-settings-form .language-chip {
    padding: 6px 10px;
    font-size: 0.77rem;
}

.hotel-settings-form .portal-link-warning {
    font-size: 0.84rem;
}

.hotel-settings-actions {
    margin-top: 4px;
}

body.hotel-settings-page {
    background: var(--dashboard-shell-bg, #f8f9fa);
}

.settings-page {
    width: min(100%, 860px);
    max-width: 860px;
    margin: 0 auto;
    padding: 8px 0 96px;
}

.settings-header {
    margin-bottom: 24px;
}

.settings-title {
    margin: 0 0 8px;
    color: #081444;
    font-size: 2rem;
    font-weight: 850;
    line-height: 1.15;
}

.settings-subtitle {
    margin: 0;
    color: #5f6f95;
    font-size: 0.95rem;
    line-height: 1.45;
}

.settings-stack {
    display: grid;
    gap: 18px;
}

.settings-card {
    padding: 22px;
    border: 1px solid rgba(8, 90, 239, 0.14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(8, 20, 68, 0.04);
    overflow: visible;
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.settings-card-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid #d6e0f2;
    border-radius: 999px;
    color: #5f6f95;
}

.settings-card-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.settings-card-title {
    margin: 0;
    color: #081444;
    font-size: 1.25rem;
    font-weight: 850;
    line-height: 1.2;
}

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

.settings-language-grid {
    grid-template-columns: minmax(170px, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
}

.settings-language-grid .settings-field {
    position: relative;
}

.settings-language-grid select {
    height: 52px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #d6e0f2;
    border-radius: 10px;
    background: #fff;
    color: #081444;
    font-size: 0.94rem;
    font-weight: 750;
    box-sizing: border-box;
}

.settings-field,
.settings-form .settings-field {
    display: grid;
    gap: 0;
    min-width: 0;
}

.settings-field-full {
    grid-column: 1 / -1;
}

.settings-label,
.settings-form label > .settings-label:first-child,
.settings-form .language-picker-field > .settings-label:first-child {
    display: block;
    margin: 0 0 7px;
    color: #081444;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}

.settings-label-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 7px;
}

.settings-label-row .settings-label {
    margin: 0;
}

.settings-info-popover {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.settings-info-popover summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #cfd9ec;
    border-radius: 50%;
    background: #f8fbff;
    color: #506184;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    list-style: none;
}

.settings-info-popover summary::-webkit-details-marker {
    display: none;
}

.settings-info-popover summary:focus-visible {
    outline: 3px solid rgba(8, 90, 239, 0.18);
    outline-offset: 2px;
}

.settings-info-popover-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 70;
    width: min(280px, 72vw);
    padding: 10px 12px;
    border: 1px solid #d6e0f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(8, 20, 68, 0.14);
    color: #4f5f7f;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.45;
    transform: translateX(-50%);
}

.settings-control-with-lock {
    position: relative;
    display: block;
    min-width: 0;
}

.settings-control-with-lock.is-locked select {
    padding-right: 64px;
}

.settings-control-with-lock.is-locked select:disabled {
    border-color: #d7deeb;
    background: #f4f6fa;
    color: #485677;
    cursor: not-allowed;
    opacity: 1;
}

.settings-lock-icon {
    position: absolute;
    top: 50%;
    right: 34px;
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #c58a1e;
    pointer-events: none;
    transform: translateY(-50%);
}

.settings-lock-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.settings-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.settings-form select,
.settings-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 11px 13px;
    border: 1px solid #d6e0f2;
    border-radius: 8px;
    background: #fff;
    color: #081444;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 650;
    box-shadow: none;
}

.settings-form textarea {
    min-height: 100px;
    resize: vertical;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus,
.settings-language-picker:focus-within {
    border-color: rgba(8, 90, 239, 0.48);
    box-shadow: 0 0 0 3px rgba(8, 90, 239, 0.1);
    outline: none;
}

.settings-help {
    margin: 7px 0 0;
    color: #6a789b;
    font-size: 0.82rem;
    line-height: 1.4;
}

.settings-slug-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.settings-public-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 360px;
    color: #085AEF;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.settings-public-link span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-public-link:hover,
.settings-public-link:focus-visible {
    text-decoration: underline;
}

.settings-logo-zone .project-file-picker-field {
    gap: 14px;
    padding: 18px;
    border: 1px dashed #cbd9ef;
    border-radius: 12px;
    background: #fbfdff;
}

.settings-logo-zone .project-file-picker-field-header > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.settings-logo-zone .project-file-picker-field-header span {
    color: #081444;
    font-size: 0.82rem;
    font-weight: 800;
}

.settings-logo-zone .project-file-picker-field-subrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-logo-zone .project-file-picker-field small,
.settings-logo-zone .project-file-picker-disabled-note {
    color: #6a789b;
    font-size: 0.82rem;
}

.settings-logo-zone .project-file-picker-selection {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 70px;
    padding: 0;
    border: 0;
    background: transparent;
}

.settings-logo-zone .project-file-picker-selection-preview {
    width: 70px;
    height: 70px;
    border: 1px solid #e1e9f7;
    border-radius: 10px;
    background: #eef5ff;
}

.settings-logo-zone .project-file-picker-selection-preview span {
    padding: 8px;
    color: #5f6f95;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
}

.settings-logo-zone .project-file-picker-selection-copy strong {
    color: #081444;
}

.settings-logo-zone .project-file-picker-selection-copy span {
    color: #6a789b;
}

.settings-logo-zone .logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 16px 20px;
    border: 1px dashed #cbd9ef;
    border-radius: 12px;
    background: #fbfdff;
}

.settings-logo-zone .logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-height: 0;
    flex: 0 0 56px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #d8e4f7;
    border-radius: 10px;
    background: #fff;
    color: #607099;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.settings-logo-zone .logo-preview:not(.has-selection) {
    display: none;
}

.settings-logo-zone .logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-meta {
    min-width: 0;
    flex: 1;
}

.logo-meta strong {
    display: block;
    overflow: hidden;
    color: #081444;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo-meta span {
    display: block;
    margin-top: 4px;
    color: #617196;
    font-size: 0.88rem;
    line-height: 1.35;
}

.logo-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.logo-actions .button {
    width: auto;
    white-space: nowrap;
}

.secondary-danger {
    color: #b42318;
}

.secondary-danger:hover,
.secondary-danger:focus-visible {
    border-color: rgba(180, 35, 24, 0.26);
    background: rgba(180, 35, 24, 0.06);
    color: #9f1f16;
}

.settings-language-picker,
.settings-readonly-languages {
    position: relative;
    width: 100%;
    min-height: 52px;
    height: 52px;
    border: 1px solid #d6e0f2;
    border-radius: 10px;
    background: #fff;
    overflow: visible;
    box-sizing: border-box;
}

.settings-language-picker summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    width: 100%;
    height: 52px;
    overflow: hidden;
    padding: 0 14px;
    cursor: pointer;
    list-style: none;
    color: #081444;
    font-size: 0.94rem;
    font-weight: 750;
    box-sizing: border-box;
}

.settings-language-picker summary::-webkit-details-marker {
    display: none;
}

.settings-language-picker summary::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-right: 2px solid #6a789b;
    border-bottom: 2px solid #6a789b;
    transform: rotate(45deg) translateY(-2px);
}

.settings-language-picker[open] summary::after {
    transform: rotate(225deg) translateY(-1px);
}

.settings-language-chip-list {
    display: flex;
    align-items: center;
    flex: 1;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.settings-language-picker summary .settings-language-chip-list,
.settings-readonly-languages .settings-language-chip-list {
    flex-wrap: nowrap;
    overflow: hidden;
}

.settings-language-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 5px 8px;
    border: 1px solid #d6e0f2;
    border-radius: 999px;
    background: #f8fbff;
    color: #081444;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-language-picker summary .settings-language-chip,
.settings-readonly-languages .settings-language-chip {
    max-width: min(140px, 100%);
}

.settings-language-picker summary .language-more-chip,
.settings-readonly-languages .language-more-chip {
    flex: 0 0 auto;
    max-width: none;
    background: #eef4ff;
    color: #085AEF;
}

.settings-language-chip.is-muted {
    color: #6a789b;
}

.settings-language-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 50;
    display: grid;
    gap: 6px;
    max-height: 240px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #cbd9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(8, 20, 68, 0.14);
}

.settings-language-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 7px;
    color: #081444;
    font-size: 0.86rem;
    font-weight: 650;
}

.settings-language-panel label:hover {
    background: #f5f8fe;
}

.settings-readonly-languages {
    display: flex;
    align-items: center;
    min-height: 52px;
    height: 52px;
    padding: 0 14px;
    box-sizing: border-box;
}

.settings-readonly-languages.is-locked {
    padding-right: 64px;
    border-color: #d7deeb;
    background: #f4f6fa;
    color: #485677;
    cursor: not-allowed;
}

.settings-publishing-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.settings-publishing-card .settings-card-header {
    margin-bottom: 4px;
}

.settings-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #081444;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.settings-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.settings-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.settings-toggle-track {
    position: relative;
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d8e1f0;
    transition: background 200ms ease;
}

.settings-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(8, 20, 68, 0.18);
    transition: transform 200ms ease;
}

.settings-toggle input[type="checkbox"]:checked + .settings-toggle-track {
    background: #085AEF;
}

.settings-toggle input[type="checkbox"]:checked + .settings-toggle-track .settings-toggle-thumb {
    transform: translateX(20px);
}

.settings-toggle input[type="checkbox"]:focus-visible + .settings-toggle-track {
    box-shadow: 0 0 0 3px rgba(8, 90, 239, 0.16);
}

.settings-actions {
    position: static;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding: 0;
    background: transparent;
}

.settings-actions .button {
    width: auto;
}

.settings-form .errorlist {
    display: grid;
    gap: 3px;
    margin: 7px 0 0;
    padding-left: 0;
    list-style: none;
    color: #b42318;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

.qr-hero-copy,
.qr-hero-code {
    display: grid;
    gap: 16px;
}

.qr-link-box {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(219, 228, 242, 0.95);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.78);
}

.qr-link-box span {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.qr-link-box strong {
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.4;
}

.qr-link-box input {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    color: var(--color-ink);
    font: inherit;
}

.portal-link-card strong {
    color: var(--color-ink);
}

.portal-link-warning {
    margin: 0;
    color: #8a4d13;
    font-size: 0.9rem;
    line-height: 1.5;
}

.portal-link-placeholder {
    padding: 16px;
    border: 1px dashed rgba(219, 228, 242, 0.94);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-muted);
    font-weight: 700;
}

.portal-link-actions {
    align-items: stretch;
}

.qr-code-frame {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 18px;
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.72);
}

.danger-button {
    background: #a53420;
    color: #fff;
}

.subtle-button {
    border: 1px solid var(--color-line);
    border-radius: var(--admin-radius-sm);
    background: #fff;
    color: var(--color-ink);
}

@media (min-width: 760px) {
    .dashboard-inline-helper {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

    .dashboard-grid-halves {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid-thirds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid-feature {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }

    .dashboard-overview-hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    }

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

    .template-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .full-width {
        grid-column: 1 / -1;
    }

    .qr-hero-card {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
        align-items: center;
    }

    .hotel-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-settings-hero {
        grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
        align-items: center;
    }

    .project-search-form {
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
    }
}

@media (min-width: 1080px) {
    .dashboard-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .dashboard-mobile-backdrop,
    .dashboard-mobile-toolbar,
    .dashboard-sidebar-header,
    .dashboard-menu-close {
        display: none !important;
    }

    .dashboard-sidebar {
        position: sticky;
        top: 0;
        min-height: 100vh;
        width: auto;
        padding: 16px;
        border-right: 1px solid rgba(219, 228, 242, 0.9);
        box-shadow: none;
        transform: none;
    }

    .dashboard-nav,
    .logout-form {
        width: 100%;
    }

    .dashboard-project-switcher,
    .dashboard-nav-link,
    .logout-form button {
        justify-content: flex-start;
    }

    .mobile-record-list {
        display: none;
    }
}

@media (max-width: 1079px) {
    .table-card.has-mobile-cards {
        display: none;
    }

    .dashboard-user {
        display: none;
    }
}

@media (max-width: 759px) {
    body.dashboard-page .site-nav {
        position: relative;
    }

    body.dashboard-page .brand {
        position: relative;
        z-index: 2;
    }

    body.dashboard-page .nav-links {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 1;
        margin-left: 0;
        max-width: calc(100% - 132px);
        transform: translate(-50%, -50%);
    }

    body.dashboard-page .nav-admin-actions {
        max-width: 100%;
    }

    body.dashboard-page .dashboard-header-menu-slot {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
    }

    .dashboard-main {
        padding-top: 18px;
    }

    .dashboard-card,
    .flow-intro-card,
    .table-card,
    .next-step-panel,
    .qr-hero-card {
        padding: 15px;
        border-radius: var(--admin-radius-lg);
    }

    .mini-phone-screen {
        min-height: 356px;
        border-width: 8px;
    }

    .button,
    .subtle-button {
        width: 100%;
    }

    .record-actions.is-compact .record-primary-action,
    .record-icon-actions .icon-button {
        width: auto;
    }

    .heading-actions,
    .action-row {
        width: 100%;
    }

    .record-meta {
        grid-template-columns: 1fr;
    }

    .record-meta.is-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .record-actions.is-compact {
        align-items: stretch;
        flex-direction: column;
    }

    .record-primary-action {
        width: 100%;
        justify-content: center;
    }

    .record-icon-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }

    .icon-button {
        width: 100%;
    }

    .dashboard-topbar {
        margin-bottom: 14px;
    }

    .dashboard-topbar h1 {
        font-size: clamp(1.5rem, 8vw, 1.95rem);
    }

    .dashboard-eyebrow {
        margin-bottom: 6px;
    }

    .dashboard-topbar-meta {
        width: 100%;
        justify-items: start;
    }

    .dashboard-mobile-toolbar {
        align-items: flex-start;
    }

    .hotel-settings-layout {
        gap: 14px;
    }

    .hotel-settings-card,
    .hotel-settings-hero {
        width: 100%;
        padding: 15px;
    }

    body.project-preview-page .dashboard-topbar {
        display: none;
    }

    body.project-preview-page .dashboard-shell,
    body.project-preview-page .dashboard-main,
    body.project-preview-page .project-preview-frame,
    body.project-preview-page .project-preview-stage {
        display: block;
        min-height: calc(100vh - var(--site-header-height));
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        overflow: hidden;
    }

    body.project-preview-page,
    body.project-preview-page .dashboard-shell,
    body.project-preview-page .dashboard-main {
        overflow: hidden;
    }

    body.project-preview-page .project-preview-gallery {
        display: none;
    }

    body.project-preview-page .project-preview-heading {
        display: none;
    }

    body.project-preview-page .project-preview-phone-viewport {
        width: 100%;
        height: calc(100vh - var(--site-header-height));
        min-height: calc(100vh - var(--site-header-height));
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .qr-manager-row-main {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 9px;
    }

    .qr-manager-row time {
        font-size: 0.72rem;
    }

    .qr-manager-row.is-selected {
        background: transparent;
    }

    .qr-info-card {
        display: none;
    }

    .qr-utility-block {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .qr-utility-image {
        width: 92px;
        height: 92px;
    }

    .qr-permanent-notice {
        grid-column: 1 / -1;
        margin: 0;
    }

    .qr-editor-modal .qr-manager-editor-actions {
        align-items: stretch;
        flex-direction: column;
        margin: 0 -16px;
        padding: 12px 16px;
    }

    .qr-editor-modal .qr-manager-editor-actions .button,
    .qr-editor-modal .qr-manager-editor-actions .subtle-button {
        width: 100%;
    }

    .qr-editor-modal .visual-modal-panel {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        max-height: 100dvh;
        border-radius: 0;
        box-sizing: border-box;
    }

    .qr-editor-modal.visual-modal {
        padding: 8px !important;
        place-items: start center;
        overflow-x: hidden;
    }

    .qr-editor-modal .visual-modal-form {
        padding-inline: 16px;
    }

    .qr-modal-layout {
        gap: 12px;
        padding: 10px 0 0;
    }

    .qr-modal-identity {
        grid-template-columns: minmax(0, 1fr);
    }

    .qr-modal-identity {
        gap: 10px;
    }

    .qr-preview-stack {
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: 132px minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    .qr-identity-fields {
        grid-column: 1;
        grid-row: 2;
    }

    .qr-identity-fields > .qr-field,
    .qr-setting-zone,
    .qr-logo-compact-field,
    .qr-editor-modal .qr-file-compact-field,
    .qr-action-behavior-section .qr-action-target-field {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        align-items: stretch;
    }

    .qr-identity-fields > .qr-field > span:first-child,
    .qr-identity-fields > .qr-field > input,
    .qr-identity-fields > .qr-field > select,
    .qr-identity-fields > .qr-field > textarea,
    .qr-identity-fields > .qr-field > .errorlist,
    .qr-setting-zone > span,
    .qr-setting-zone-control,
    .qr-logo-compact-label,
    .qr-logo-compact-control,
    .qr-editor-modal .qr-file-compact-field > .qr-logo-compact-label,
    .qr-editor-modal .qr-file-compact-field > .qr-logo-compact-control,
    .qr-action-behavior-section .qr-action-target-field > span:first-child,
    .qr-action-behavior-section .qr-action-target-field > input,
    .qr-action-behavior-section .qr-action-target-field > .errorlist {
        grid-column: 1;
    }

    .qr-identity-fields > .qr-notes-field > span:first-child {
        padding-top: 0;
    }

    .qr-action-behavior-section .link-target-picker-field .project-file-picker-field-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .qr-action-behavior-section .link-target-picker-field .project-file-picker-field-header > span,
    .qr-action-behavior-section .link-target-picker-control {
        grid-column: 1;
    }

    .qr-wifi-grid label {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .qr-editor-modal .qr-link-type-carousel {
        --template-cards-per-view: 2;
    }

    .qr-live-preview {
        grid-column: 1;
        width: 132px;
        min-width: 132px;
        min-height: 132px;
    }

    .qr-utility-actions {
        grid-column: 2;
        align-self: stretch;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .qr-utility-actions .subtle-button {
        min-height: 0;
        height: 100%;
    }

}

.project-preview-page .dashboard-topbar {
    display: none;
}

.theme-editor-frame {
    width: min(100%, 1200px);
}

.theme-workspace {
    display: grid;
    gap: 8px;
}

.theme-editor-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    width: min(100%, calc(820px + 365px + 24px));
    margin: 0 auto;
}

.theme-editor-heading h1,
.theme-preview-header h2,
.theme-panel-heading h2 {
    margin: 0;
    color: var(--color-ink);
}

.theme-editor-heading h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.35rem);
    line-height: 1.16;
}

.theme-editor-heading p,
.theme-preview-header p,
.theme-panel-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.theme-editor-heading p {
    margin-top: 6px;
    max-width: 980px;
    font-size: 1rem;
    line-height: 1.5;
}

.theme-editor-stage {
    display: grid;
    grid-template-columns: minmax(420px, 820px) minmax(350px, 385px);
    align-items: start;
    justify-content: center;
    gap: clamp(14px, 1.5vw, 24px);
    width: min(100%, calc(820px + 385px + 24px));
    margin: 0 auto;
}

.theme-editor-controls,
.theme-editor-preview {
    min-width: 0;
}

.theme-editor-controls {
    --theme-sticky-preset-height: 58px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    max-height: clamp(680px, calc(100dvh - var(--site-header-height, 72px) - 126px), 740px);
    overflow: hidden;
    scrollbar-gutter: stable;
}

.theme-editor-panel {
    border: 1px solid rgba(219, 228, 242, 0.82);
    border-radius: var(--admin-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(8, 20, 68, 0.06);
}

.theme-editor-panel {
    display: grid;
    gap: 14px;
    min-height: 0;
    padding: 14px;
}

.theme-editor-preset-panel {
    position: relative;
    top: auto;
    z-index: 3;
    padding: 10px 12px;
    border-bottom: 0;
    border-radius: var(--admin-radius-lg) var(--admin-radius-lg) 0 0;
    box-shadow: 0 10px 24px rgba(8, 20, 68, 0.04);
}

.theme-editor-preset-panel + .theme-settings-panel {
    border-radius: 0 0 var(--admin-radius-lg) var(--admin-radius-lg);
    margin-top: -1px;
}

.theme-settings-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
}

.theme-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.theme-panel-heading > div:first-child {
    min-width: 0;
}

.theme-panel-heading h2 {
    font-size: 1.25rem;
    line-height: 1.18;
    font-weight: 800;
}

.theme-tab-panel > .theme-panel-heading h2 {
    display: none;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.15;
    text-transform: uppercase;
}

.theme-tab-panel > .theme-panel-heading p {
    display: none;
}

.theme-panel-heading select {
    width: 100%;
    min-height: 36px;
    padding-block: 6px;
}

.theme-preset-actions {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    width: min(100%, 346px);
    flex: 0 0 min(100%, 346px);
}

.theme-preset-actions .button {
    min-width: 96px;
    white-space: nowrap;
}

.theme-revert-button {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: var(--color-ink);
}

.theme-revert-button .dashboard-symbol {
    color: currentColor;
    font-size: 18px;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}

.theme-editor-preset-panel .theme-panel-heading {
    align-items: center;
}

.theme-editor-preset-panel .theme-panel-heading > div:first-child {
    max-width: 260px;
}

.theme-editor-preset-panel .theme-panel-heading p {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
}

.theme-editor-preset-panel .theme-panel-heading h2 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.15;
    text-transform: uppercase;
}

.theme-editor-tabs {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 0 -14px;
    padding: 8px 6px 0;
    overflow: hidden;
    border-top: 1px solid rgba(209, 219, 236, 0.95);
    border-bottom: 0;
    background: transparent;
}

.theme-settings-panel {
    position: relative;
}

.theme-settings-panel .theme-editor-tabs {
    position: relative;
    top: auto;
    z-index: 3;
    background: #fff;
}

.theme-editor-tabs::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(209, 219, 236, 0.95);
}

.theme-editor-tabs::-webkit-scrollbar {
    display: none;
}

.theme-editor-tab,
.theme-segment {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-muted);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.theme-editor-tab {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 56px;
    padding: 0 2px 8px;
    white-space: nowrap;
}

.theme-editor-tab + .theme-editor-tab {
    border-left: 0;
}

.theme-editor-tab svg,
.theme-editor-tab .dashboard-symbol {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.theme-editor-tab .dashboard-symbol {
    font-size: 32px;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.theme-editor-tab span:not(.dashboard-symbol) {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.theme-editor-tab.is-active,
.theme-segment.is-active {
    background: transparent;
    color: var(--color-primary);
}

.theme-editor-tab.is-active svg {
    stroke-width: 2.2;
}

.theme-editor-tab.is-active .dashboard-symbol {
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.theme-editor-tab.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    z-index: 1;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--color-primary);
}

.theme-control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    align-items: start;
}

.theme-control-full {
    grid-column: 1 / -1;
}

.theme-control-stack {
    display: grid;
    gap: 8px;
}

.theme-tab-panel[data-theme-panel="top-card"] .theme-control-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 8px 12px;
}

.theme-tab-panel[data-theme-panel="top-card"] .theme-field,
.theme-tab-panel[data-theme-panel="top-card"] .theme-toggle-field {
    min-height: 0;
}

.theme-field,
.theme-toggle-field {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    min-height: 0;
}

.theme-field > span,
.theme-toggle-field strong {
    color: var(--color-ink);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.theme-field small,
.theme-toggle-field small {
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.32;
}

.theme-field small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.theme-field input:not([type="checkbox"]):not([type="range"]):not([type="color"]),
.theme-field select,
.theme-field textarea,
.theme-panel-heading select {
    width: 100%;
    min-height: 36px;
    height: 36px;
    padding: 6px 13px 8px;
    border: 1px solid rgba(209, 219, 236, 0.9);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 20px;
}

.theme-field select,
.theme-panel-heading select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23081444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: right 12px center;
}

body.dashboard-page .theme-workspace .button {
    min-height: 36px;
    height: 36px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 20px;
}

.theme-color-control {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.theme-color-control input[type="color"] {
    width: 36px;
    height: 36px;
    aspect-ratio: 1;
    min-height: 36px;
    padding: 0;
    border: 1px solid rgba(127, 143, 169, 0.72);
    border-radius: var(--admin-radius-sm);
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.theme-color-control input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.theme-color-control input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: calc(var(--admin-radius-sm) - 1px);
}

.theme-color-control input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: calc(var(--admin-radius-sm) - 1px);
}

.theme-color-control .theme-color-text {
    min-height: 36px;
    height: 36px;
    padding: 6px 13px 8px;
    border: 1px solid rgba(209, 219, 236, 0.9);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 20px;
    text-transform: uppercase;
}

.theme-range-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.theme-range-field strong {
    color: var(--color-primary);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.theme-range-field input[type="range"] {
    display: block;
    width: 100%;
    height: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;
}

.theme-select-field em {
    display: block;
    min-height: 0;
    padding: 2px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-ink);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 800;
}

.theme-font-search {
    min-height: 36px !important;
    height: 36px;
    padding-top: 6px !important;
    padding-bottom: 8px !important;
    padding-inline: 12px;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
}

.theme-font-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.theme-font-picker {
    position: relative;
    min-width: 0;
}

.theme-font-picker-button,
.theme-font-picker-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.9fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    border: 1px solid rgba(209, 219, 236, 0.9);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
}

.theme-font-picker-button {
    padding: 6px 13px 8px;
}

.theme-font-picker-option {
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
}

.theme-font-picker-button:hover,
.theme-font-picker-button:focus-visible,
.theme-font-picker-option:hover,
.theme-font-picker-option:focus-visible,
.theme-font-picker-option.is-selected {
    background: rgba(8, 90, 239, 0.07);
    outline: 0;
}

.theme-font-picker-option.is-selected {
    color: var(--color-primary);
}

.theme-font-picker-button span,
.theme-font-picker-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-font-picker-option-name,
[data-font-picker-selected-name] {
    font-weight: 600;
}

.theme-font-picker-option-preview,
[data-font-picker-selected-preview] {
    justify-self: end;
    max-width: 100%;
    font-size: 0.875rem;
    font-weight: 800;
}

.theme-font-picker-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 30;
    display: grid;
    gap: 2px;
    max-height: 260px;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid rgba(209, 219, 236, 0.94);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(8, 20, 68, 0.12);
}

.theme-font-picker-group {
    display: grid;
    gap: 2px;
}

.theme-font-picker-group + .theme-font-picker-group {
    margin-top: 6px;
}

.theme-font-picker-group-heading {
    padding: 4px 8px 3px;
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.theme-font-picker-menu[hidden] {
    display: none;
}

.theme-segmented {
    display: flex;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
}

.theme-native-segment-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.theme-segment {
    flex: 1 1 0;
    min-height: 36px;
    height: 36px;
    padding: 6px 10px 8px;
    line-height: 20px;
}

.theme-segment + .theme-segment {
    border-left: 0;
}

.theme-segment.is-active {
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--color-primary);
}

.theme-toggle-field {
    cursor: pointer;
}

.theme-toggle-control {
    display: flex;
    align-items: center;
    min-height: 36px;
}

.theme-toggle-control input[type="checkbox"] {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    min-width: 0;
    min-height: 0 !important;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.theme-toggle-track {
    position: relative;
    display: inline-flex;
    width: 32px;
    height: 18px;
    flex: 0 0 32px;
    border-radius: 999px;
    background: #c7d4e8;
    box-shadow: inset 0 0 0 1px rgba(8, 20, 68, 0.08);
    transition: background 160ms ease, box-shadow 160ms ease;
}

.theme-toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(8, 20, 68, 0.22);
    transition: transform 160ms ease;
}

.theme-toggle-control input[type="checkbox"]:checked + .theme-toggle-track {
    background: #085AEF;
    box-shadow: inset 0 0 0 1px rgba(8, 90, 239, 0.16);
}

.theme-toggle-control input[type="checkbox"]:checked + .theme-toggle-track::after {
    transform: translateX(14px);
}

.theme-toggle-control input[type="checkbox"]:focus-visible + .theme-toggle-track {
    box-shadow: 0 0 0 4px rgba(8, 90, 239, 0.12);
}

.theme-compact-picker .project-file-picker-field {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.theme-compact-picker .project-file-picker-field-header {
    display: contents;
}

.theme-compact-picker .project-file-picker-field-header > div {
    display: contents;
}

.theme-compact-picker .project-file-picker-field-header span {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    color: var(--color-ink);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.theme-compact-picker .project-file-picker-field-header small {
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.32;
}

.theme-compact-picker .project-file-picker-field-subrow {
    display: contents;
}

.theme-compact-picker .project-file-picker-field-subrow small {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
}

.theme-compact-picker .project-file-picker-field-subrow .action-row {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.theme-compact-picker .project-file-picker-field-header .action-row {
    justify-self: end;
}

.theme-compact-picker .project-file-picker-trigger,
.theme-compact-picker .project-file-picker-selection-actions .button {
    width: auto;
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 20px;
    justify-content: center;
    white-space: nowrap;
}

.theme-compact-picker .project-file-picker-selection {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 0;
    padding: 8px;
    border: 1px solid #dbe4f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(8, 20, 68, 0.05);
}

.theme-compact-picker .project-file-picker-selection.has-selection {
    grid-template-columns: 112px minmax(0, 1fr) 34px;
}

.theme-compact-picker .project-file-picker-selection-preview {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    padding: 0;
    background: #f5f8ff;
}

.theme-compact-picker .project-file-picker-selection-preview img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center center;
}

.theme-compact-picker .project-file-picker-selection-preview img[hidden] {
    display: none;
}

.theme-compact-picker .project-file-picker-selection-preview span {
    overflow: hidden;
    width: 1px;
    height: 1px;
    white-space: nowrap;
}

.theme-compact-picker .project-file-picker-selection:not(.has-selection) .project-file-picker-selection-preview::before {
    content: "\00d7";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(209, 219, 236, 0.95);
    border-radius: inherit;
    color: #8a99a4;
    font-size: 1.45rem;
    font-weight: 520;
    line-height: 1;
    box-sizing: border-box;
}

.theme-compact-picker .project-file-picker-selection-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.theme-compact-picker .project-file-picker-selection-copy strong,
.theme-compact-picker .project-file-picker-selection-copy span {
    grid-column: 1;
    overflow: hidden;
    color: var(--color-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-compact-picker .project-file-picker-selection-copy strong {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
}

.theme-compact-picker .project-file-picker-selection-copy span {
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.32;
}

.theme-compact-picker .project-file-picker-selection-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
}

.theme-compact-picker .project-file-picker-selection-actions .button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(8, 90, 239, 0.045), rgba(8, 90, 239, 0.045)),
        rgba(248, 251, 255, 0.62);
    overflow: hidden;
    color: transparent;
    font-size: 0;
}

.theme-compact-picker .project-file-picker-selection-actions .button::before {
    content: "\00d7";
    color: #b13528;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1;
}

.theme-compact-picker .project-file-picker-selection.feed-image-picker-chip {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid #dbe4f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(8, 20, 68, 0.05);
}

.theme-compact-picker .project-file-picker-selection.feed-image-picker-chip:not(.has-selection) {
    grid-template-columns: 112px minmax(0, 1fr);
}

.theme-compact-picker .feed-image-picker-thumb {
    position: relative;
    display: grid;
    gap: 8px;
}

.theme-compact-picker .feed-image-picker-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
    object-position: center center;
}

.theme-compact-picker .feed-image-picker-order {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(8, 20, 68, 0.82);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
}

.theme-compact-picker .project-file-picker-selection:not(.has-selection) .feed-image-picker-order {
    display: none;
}

.theme-compact-picker .feed-image-picker-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.theme-compact-picker .feed-image-picker-meta strong {
    min-width: 0;
    overflow: hidden;
    color: #081444;
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-compact-picker .feed-image-picker-meta span {
    min-width: 0;
    overflow: hidden;
    color: #71828a;
    font-size: 0.76rem;
    font-weight: 620;
    line-height: 1.32;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-compact-picker .feed-image-picker-chip > button[data-project-file-picker-clear] {
    grid-column: 3;
    align-self: center;
    justify-self: center;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(8, 90, 239, 0.045), rgba(8, 90, 239, 0.045)),
        rgba(248, 251, 255, 0.62);
    color: #b13528;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.theme-compact-picker .feed-image-picker-chip > button[data-project-file-picker-clear][hidden] {
    display: none;
}

.theme-icon-preview {
    gap: 5px;
    align-self: start;
    grid-template-rows: auto calc(36px + 0.98rem);
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.theme-icon-preview > span {
    color: var(--color-ink);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.theme-icon-preview > div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: calc(36px + 0.98rem);
    align-self: start;
}

.theme-icon-preview::after {
    content: none;
}

.theme-icon-preview .standard-icon-badge {
    width: calc(36px + 0.98rem);
    height: calc(36px + 0.98rem);
    border-radius: 11px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, calc(0.45 * var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1)))),
            rgba(0, 0, 0, calc(0.04 * var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1))))
        ),
        linear-gradient(
            180deg,
            rgba(var(--hotel-standard-icon-bg-bottom-rgb, 230, 238, 255), var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1))),
            rgba(var(--hotel-standard-icon-bg-bottom-rgb, 230, 238, 255), var(--hotel-standard-icon-bg-visible-alpha, var(--hotel-standard-icon-bg-opacity-alpha, 1)))
        ),
        #e2e5ea !important;
}

.theme-icon-preview .standard-icon-badge svg {
    width: var(--hotel-standard-icon-glyph-size, 26px);
    height: var(--hotel-standard-icon-glyph-size, 26px);
}

.theme-editor-preview {
    position: sticky;
    top: calc(var(--site-header-height, 72px) + 16px);
    display: grid;
    justify-items: center;
    gap: 0;
}

.theme-preview-header {
    display: none;
    justify-content: space-between;
    width: min(100%, clamp(340px, 30vw, 380px));
}

.theme-preview-phone {
    --theme-phone-chrome-x: 18px;
    --theme-phone-screen-width: clamp(330px, 29vw, 367px);
    --theme-phone-width: calc(var(--theme-phone-screen-width) + var(--theme-phone-chrome-x));
    --theme-preview-phone-frame-border: 5px solid #050807;
    --theme-preview-phone-frame-radius: 35px;
    --theme-preview-phone-frame-padding: 9px 5px 10px;
    --theme-preview-phone-frame-background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 10%, transparent 90%, rgba(255, 255, 255, 0.12)),
        linear-gradient(180deg, #202927, #060908 18%, #050807 82%, #18211f);
    --theme-preview-phone-frame-shadow:
        0 22px 46px rgba(8, 20, 68, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset,
        0 0 0 1px rgba(3, 7, 6, 0.86);
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: var(--theme-phone-width);
    height: clamp(680px, calc(100dvh - var(--site-header-height, 72px) - 126px), 740px);
    overflow: visible;
    padding: var(--theme-preview-phone-frame-padding);
    border: var(--theme-preview-phone-frame-border);
    border-radius: var(--theme-preview-phone-frame-radius);
    background: var(--theme-preview-phone-frame-background);
    box-shadow: var(--theme-preview-phone-frame-shadow);
}

.theme-preview-phone::after {
    content: none;
    position: absolute;
    top: 76px;
    left: -8px;
    z-index: -1;
    width: 6px;
    height: 24px;
    border-radius: 5px 0 0 5px;
    background: linear-gradient(90deg, #050807 0 58%, #27312e 100%);
    box-shadow:
        0 48px 0 #050807;
}

.theme-preview-phone iframe {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 26px;
    clip-path: inset(0 round 26px);
    background: #050807;
    box-shadow: 0 0 0 1px #050807;
}

@media (max-width: 760px) {
    body.project-preview-page .theme-preview-phone {
        width: 100%;
        height: calc(100vh - var(--site-header-height));
        min-height: calc(100vh - var(--site-header-height));
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
        overflow: hidden;
    }

    body.project-preview-page .theme-preview-phone iframe {
        border-radius: 0;
        clip-path: none;
        background: #fff;
        box-shadow: none;
    }
}

.theme-tab-panel[hidden] {
    display: none !important;
}

.theme-tab-panel {
    display: grid;
    gap: 12px;
    min-height: 0;
    max-height: 100%;
    overflow: auto;
}

@media (min-width: 981px) and (max-width: 1320px) {
    .theme-editor-controls {
        --theme-sticky-preset-height: 104px;
    }

    .theme-tab-panel > .theme-panel-heading h2 {
        display: block;
    }

    .theme-editor-preset-panel .theme-panel-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 8px;
    }

    .theme-editor-preset-panel .theme-panel-heading > div:first-child {
        display: grid;
        gap: 2px;
        max-width: none;
    }

    .theme-editor-preset-panel .theme-panel-heading p {
        max-width: none;
    }

    .theme-preset-actions {
        width: 100%;
        flex-basis: auto;
    }

    .theme-editor-tab span:not(.dashboard-symbol) {
        display: none;
    }

    .theme-editor-tab {
        min-height: 56px;
        padding-bottom: 8px;
    }

    .theme-editor-tab svg,
    .theme-editor-tab .dashboard-symbol {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

@media (min-width: 681px) and (max-width: 980px) {
    .theme-editor-controls {
        --theme-sticky-preset-height: 104px;
    }

    .theme-editor-stage {
        grid-template-columns: minmax(360px, 1fr) minmax(320px, 360px);
        width: 100%;
    }

    .theme-editor-preset-panel .theme-panel-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 8px;
    }

    .theme-editor-preset-panel .theme-panel-heading > div:first-child {
        display: grid;
        gap: 2px;
        max-width: none;
    }

    .theme-editor-preset-panel .theme-panel-heading p {
        max-width: none;
    }

    .theme-preset-actions {
        width: 100%;
        flex-basis: auto;
    }

    .theme-editor-tab span:not(.dashboard-symbol) {
        display: none;
    }

    .theme-editor-tab {
        min-height: 56px;
        padding-bottom: 8px;
    }

    .theme-editor-tab svg,
    .theme-editor-tab .dashboard-symbol {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .theme-control-grid,
    .theme-tab-panel[data-theme-panel="top-card"] .theme-control-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 750px) {
    .theme-editor-stage {
        grid-template-columns: 1fr;
    }

    .theme-editor-preview {
        position: static;
    }

    .theme-settings-panel {
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .theme-editor-controls {
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .theme-editor-preset-panel,
    .theme-settings-panel .theme-editor-tabs {
        position: relative;
        top: auto;
    }
}

@media (max-width: 750px) {
    .theme-editor-heading,
    .theme-panel-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .theme-editor-preset-panel .theme-panel-heading {
        align-items: stretch;
        text-align: left;
    }

    .theme-settings-panel .theme-panel-heading h2 {
        display: block;
    }

    .theme-preset-actions {
        grid-template-columns: minmax(0, 1fr) auto auto;
        width: 100%;
        flex-basis: auto;
    }

    .theme-preset-actions .button {
        width: auto;
    }

    .theme-control-grid {
        grid-template-columns: 1fr;
    }

    .theme-compact-picker .project-file-picker-selection {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .theme-compact-picker .project-file-picker-selection.has-selection {
        grid-template-columns: 88px minmax(0, 1fr) 34px;
    }

    .theme-compact-picker .project-file-picker-selection-preview {
        height: auto;
    }

    .theme-compact-picker .project-file-picker-field-header .action-row {
        justify-self: end;
        width: auto;
        margin-top: 0;
    }

    .theme-tab-panel[data-theme-panel="top-card"] .theme-control-stack {
        grid-template-columns: 1fr;
    }

    .theme-preview-phone {
        width: min(100%, 380px);
        height: 680px;
    }

    .theme-editor-tabs {
        grid-template-columns: repeat(6, minmax(42px, 1fr));
    }

    .theme-editor-tab {
        min-height: 58px;
        padding-inline: 4px;
    }

    .theme-editor-tab svg,
    .theme-editor-tab .dashboard-symbol {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .theme-editor-tab span:not(.dashboard-symbol) {
        display: none;
    }
}

@media (max-width: 720px) {
    .settings-page {
        padding: 6px 0 88px;
    }

    .settings-title {
        font-size: 1.75rem;
    }

    .settings-card {
        padding: 18px;
    }

    .settings-grid,
    .settings-language-grid,
    .settings-slug-row {
        grid-template-columns: 1fr;
    }

    .settings-public-link {
        max-width: 100%;
    }

    .settings-logo-zone .project-file-picker-field-header > div,
    .settings-logo-zone .project-file-picker-field-subrow,
    .settings-publishing-card {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-logo-zone .logo-row {
        align-items: flex-start;
    }

    .logo-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-logo-zone .project-file-picker-field-subrow .action-row,
    .settings-logo-zone .project-file-picker-trigger,
    .settings-logo-zone .project-file-picker-selection-actions .button,
    .logo-actions .button {
        width: 100%;
    }

    .settings-toggle-row {
        justify-content: space-between;
        width: 100%;
    }

    .settings-actions {
        flex-direction: column-reverse;
    }

    .settings-actions .button {
        width: 100%;
    }
}

body.dashboard-page .site-header {
    z-index: 50;
}

body.dashboard-page .flash-stack {
    top: calc(var(--site-header-height, 72px) + 14px);
}

body.dashboard-page .dashboard-shell {
    min-height: calc(100vh - var(--site-header-height));
}

body.dashboard-page .dashboard-mobile-backdrop {
    top: var(--site-header-height);
}

body.dashboard-page .dashboard-sidebar {
    inset: var(--site-header-height) auto 0 0;
    height: calc(100vh - var(--site-header-height));
}

@media (min-width: 1080px) {
    body.dashboard-page .dashboard-shell {
        min-height: auto;
    }

    body.dashboard-page .dashboard-sidebar {
        inset: auto;
        height: auto;
        top: var(--site-header-height);
        min-height: calc(100vh - var(--site-header-height));
    }
}

.project-team-page .dashboard-main-frame {
    display: grid;
    gap: 20px;
}

.project-team-page .team-page-heading {
    margin-bottom: 4px;
}

.project-team-page .team-page-heading h1,
.project-team-page .team-page-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.team-invite-card,
.team-section-card {
    display: grid;
    gap: 18px;
    border-color: rgba(209, 219, 236, 0.92);
    background: rgba(255, 255, 255, 0.96);
}

.team-invite-card {
    padding: 28px;
}

.team-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.team-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 18px;
    background: rgba(8, 90, 239, 0.09);
    color: var(--color-primary);
}

.team-section-icon svg {
    width: 24px;
    height: 24px;
}

.team-section-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.team-section-copy h2,
.team-title-row h2 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.team-section-copy p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.team-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.team-help {
    position: relative;
    display: inline-flex;
}

.team-help-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(184, 198, 220, 0.88);
    border-radius: 999px;
    background: rgba(246, 249, 255, 0.96);
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.team-help-trigger:hover,
.team-help-trigger:focus-visible,
.team-help.is-open .team-help-trigger {
    border-color: rgba(8, 90, 239, 0.34);
    background: rgba(8, 90, 239, 0.1);
}

.team-help-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 10;
    width: min(330px, calc(100vw - 42px));
    padding: 12px 14px;
    border: 1px solid rgba(202, 214, 233, 0.94);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--admin-shadow-menu);
    color: var(--color-ink);
    font-size: 0.84rem;
    line-height: 1.45;
    transform: translateX(-50%);
}

.team-help-popover::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 1px solid rgba(202, 214, 233, 0.94);
    border-left: 1px solid rgba(202, 214, 233, 0.94);
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(-50%) rotate(45deg);
}

.team-invite-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 22px;
    align-items: start;
    margin-top: 10px;
}

.team-email-field {
    position: relative;
    display: grid;
    align-items: center;
    margin: 0;
}

.team-email-field input {
    width: 100%;
    min-height: 56px;
    padding-left: 54px;
    border: 1px solid rgba(202, 214, 233, 0.94);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    font-size: 0.98rem;
}

.team-email-field input:focus {
    border-color: rgba(8, 90, 239, 0.45);
    outline: 3px solid rgba(8, 90, 239, 0.12);
}

.team-email-icon {
    position: absolute;
    left: 20px;
    z-index: 1;
    display: inline-flex;
    color: rgba(73, 91, 125, 0.78);
}

.team-email-icon svg,
.team-button-icon svg {
    width: 22px;
    height: 22px;
}

.team-send-button {
    min-width: 178px;
    min-height: 56px;
    justify-content: center;
    gap: 10px;
}

.team-button-icon {
    display: inline-flex;
}

.team-table-header {
    padding: 26px 26px 4px;
}

.team-section-card {
    overflow-x: auto;
}

.team-table {
    min-width: 820px;
}

.team-table th,
.team-table td {
    padding: 16px 26px;
    vertical-align: middle;
}

.team-table th {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}

.team-table td strong {
    overflow-wrap: anywhere;
}

.team-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    min-width: 70px;
    min-height: 30px;
    margin: 0;
    padding: 6px 12px;
    border-radius: var(--admin-radius-xs);
    background: rgba(8, 90, 239, 0.1);
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.team-members-table .team-col-member {
    width: 38%;
}

.team-members-table .team-col-role {
    width: 20%;
}

.team-members-table .team-col-joined {
    width: 23%;
}

.team-members-table .team-col-actions {
    width: 19%;
}

.team-invitations-table {
    min-width: 940px;
    table-layout: fixed;
}

.team-invitations-table .team-col-email {
    width: 22%;
}

.team-invitations-table .team-col-invite-role {
    width: 11%;
}

.team-invitations-table .team-col-expires {
    width: 14%;
}

.team-invitations-table .team-col-status {
    width: 14%;
}

.team-invitations-table .team-col-link {
    width: 28%;
}

.team-invitations-table .team-col-invite-actions {
    width: 11%;
}

.team-invitations-table th,
.team-invitations-table td {
    padding-right: 18px;
    padding-left: 18px;
}

.team-link-field input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 42px;
    padding-right: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(202, 214, 233, 0.94);
    border-radius: var(--admin-radius-sm);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-ink);
    font-size: 0.86rem;
    white-space: nowrap;
}

.team-link-field.is-table {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.team-copy-button {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: var(--admin-radius-xs);
    background: transparent;
    color: rgba(73, 91, 125, 0.78);
    cursor: pointer;
    transform: translateY(-50%);
}

.team-copy-button:hover,
.team-copy-button:focus-visible,
.team-copy-button.is-copied {
    background: rgba(8, 90, 239, 0.1);
    color: var(--color-primary);
}

.team-copy-button svg {
    width: 18px;
    height: 18px;
}

.team-inline-form {
    display: inline-flex;
    margin: 0;
}

.team-muted-action {
    color: var(--color-muted);
    font-weight: 700;
}

.team-section-card .table-action-cell {
    width: auto;
}

.team-section-card .table-actions {
    display: grid;
    justify-items: start;
    gap: 8px;
}

.team-section-card .button-compact {
    min-width: 86px;
    justify-content: center;
}

.team-section-card .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    margin: 0;
    padding: 5px 10px;
    background: rgba(8, 90, 239, 0.1);
    color: var(--color-primary);
}

.team-section-card .status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.project-invitation-panel .action-row,
.project-invitation-panel .stacked-form {
    align-items: stretch;
}

@media (max-width: 1079px) {
    .project-team-page .table-card.has-mobile-cards {
        display: grid;
    }
}

@media (max-width: 760px) {
    .team-invite-card {
        padding: 20px;
    }

    .team-section-header {
        align-items: flex-start;
    }

    .team-section-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 15px;
    }

    .team-help-popover {
        left: auto;
        right: -8px;
        transform: none;
    }

    .team-help-popover::before {
        left: auto;
        right: 13px;
        transform: rotate(45deg);
    }

    .team-invite-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .team-invite-form .button {
        width: 100%;
    }

    .team-table {
        min-width: 720px;
    }

    .team-invitations-table {
        min-width: 900px;
    }
}

@media (max-width: 759px) {
    .project-card-actions .project-delete-button {
        width: 46px;
    }

    .project-delete-modal-actions .button {
        width: 100%;
    }
}

/* Scoped Stitch content styling. Keep dashboard shell, top bar, and sidebar untouched. */
.admin-page-stack {
    --admin-content-panel: #ffffff;
    --admin-content-soft: #f8fafc;
    --admin-content-ink: #191c1d;
    --admin-content-muted: #64748b;
    --admin-content-border: #e2e8f0;
    --admin-content-border-strong: #cbd5e1;
    --admin-content-blue: #004bc3;
    --admin-content-blue-action: #1d63ed;
    --admin-content-blue-soft: #eaf2ff;
    --admin-content-green: #006239;
    --admin-content-green-soft: rgba(0, 125, 75, 0.1);
    --admin-content-red: #c7352a;
    --admin-content-red-soft: #fff5f4;
    --admin-content-radius: 8px;
    --admin-content-card-radius: 12px;
    --admin-content-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 24px;
    color: var(--admin-content-ink);
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.admin-page-stack h1,
.admin-page-stack h2,
.admin-page-stack h3,
.admin-page-stack p {
    margin: 0;
    letter-spacing: 0;
}

.admin-content-head {
    display: grid;
    gap: 4px;
}

.admin-content-head.is-split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
}

.admin-content-head h1 {
    color: var(--admin-content-ink);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.admin-content-head p,
.admin-content-muted {
    color: var(--admin-content-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.admin-content-actions,
.admin-content-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-content-actions {
    justify-content: flex-end;
}

.admin-page-stack .button,
.admin-page-stack .subtle-button {
    min-height: 40px;
    border-radius: var(--admin-content-radius);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: none;
}

.admin-page-stack .button-primary {
    border-color: var(--admin-content-blue-action);
    background: var(--admin-content-blue-action);
    color: #fff;
    box-shadow: 0 10px 18px rgba(29, 99, 237, 0.14);
}

.admin-page-stack .button-secondary,
.admin-page-stack .subtle-button {
    border-color: var(--admin-content-border);
    background: #fff;
    color: var(--admin-content-ink);
}

.admin-page-stack .secondary-danger,
.admin-page-stack .qr-danger-button,
.admin-page-stack .project-delete-confirm-button {
    border-color: rgba(199, 53, 42, 0.32);
    background: var(--admin-content-red-soft);
    color: var(--admin-content-red);
}

.admin-page-stack input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.admin-page-stack select,
.admin-page-stack textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-radius);
    background: #fff;
    color: var(--admin-content-ink);
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.45;
    box-shadow: none;
}

.admin-page-stack input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):focus,
.admin-page-stack select:focus,
.admin-page-stack textarea:focus {
    border-color: var(--admin-content-blue-action);
    outline: 3px solid rgba(29, 99, 237, 0.14);
}

.admin-content-toolbar {
    justify-content: space-between;
}

.admin-content-search {
    position: relative;
    display: block;
    min-width: min(100%, 360px);
    flex: 1 1 auto;
}

.admin-content-search label {
    position: relative;
    display: block;
}

.admin-content-search svg {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--admin-content-muted);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    transform: translateY(-50%);
}

.admin-content-search input {
    padding-left: 40px;
}

.admin-content-card,
.admin-content-list-card,
.admin-content-metric,
.settings-card.admin-content-card,
.team-invite-card.admin-content-card,
.team-list-card.admin-content-card {
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: var(--admin-content-panel);
    box-shadow: var(--admin-content-shadow);
}

.admin-content-card {
    overflow: hidden;
}

.admin-content-card-head {
    padding: 20px;
    border-bottom: 1px solid var(--admin-content-border);
    background: rgba(248, 250, 252, 0.45);
}

.admin-content-card-head h2,
.admin-content-card-head h3 {
    color: var(--admin-content-ink);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.admin-content-card-head.is-compact h2,
.admin-content-card-head.is-compact h3 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-content-card-body {
    padding: 20px;
}

.admin-content-list {
    display: grid;
}

.admin-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--admin-content-border);
    color: var(--admin-content-ink);
}

.admin-content-row:last-child {
    border-bottom: 0;
}

.admin-content-row:hover {
    background: var(--admin-content-soft);
}

.admin-content-row-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-content-row-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-content-row-copy strong,
.admin-content-row-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-content-row-copy strong {
    color: var(--admin-content-ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.admin-content-row-copy span,
.admin-content-row-meta {
    color: var(--admin-content-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-content-row-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 0 0 auto;
}

.admin-content-avatar,
.admin-content-icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: var(--admin-content-blue-soft);
    color: var(--admin-content-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.admin-content-avatar img,
.admin-content-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-content-icon.is-muted {
    background: #f1f5f9;
    color: var(--admin-content-muted);
}

.admin-content-icon.is-danger {
    background: var(--admin-content-red-soft);
    color: var(--admin-content-red);
}

.admin-content-badge,
.admin-content-current-label,
.admin-page-stack .status-pill,
.admin-page-stack .team-role-badge,
.admin-page-stack .qr-manager-main-badge,
.admin-page-stack .qr-manager-tags span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 22px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--admin-content-blue-soft);
    color: var(--admin-content-blue);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-content-badge.is-active,
.admin-page-stack .status-pill.is-live,
.admin-page-stack .status-pill.is-active {
    background: var(--admin-content-green-soft);
    color: var(--admin-content-green);
}

.admin-content-badge.is-muted,
.admin-page-stack .status-pill.is-muted {
    background: #f1f5f9;
    color: var(--admin-content-muted);
}

.admin-content-badge.is-danger,
.admin-page-stack .status-pill.is-danger {
    background: var(--admin-content-red-soft);
    color: var(--admin-content-red);
}

.admin-content-menu,
.admin-actions-menu {
    position: relative;
    display: inline-flex;
}

.admin-content-menu summary,
.admin-actions-menu summary,
.admin-content-menu-button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: var(--admin-content-radius);
    background: transparent;
    color: var(--admin-content-muted);
    cursor: pointer;
    list-style: none;
}

.admin-content-menu summary:hover,
.admin-actions-menu summary:hover,
.admin-content-menu-button:hover {
    border-color: var(--admin-content-border);
    background: #fff;
    color: var(--admin-content-ink);
}

.admin-content-menu summary::-webkit-details-marker,
.admin-actions-menu summary::-webkit-details-marker {
    display: none;
}

.admin-content-popover,
.admin-actions-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 170px;
    padding: 6px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-radius);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.admin-content-menu-item,
.admin-menu-button,
.admin-actions-popover a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--admin-content-ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.admin-content-menu-item:hover,
.admin-menu-button:hover,
.admin-actions-popover a:hover {
    background: var(--admin-content-blue-soft);
    color: var(--admin-content-blue);
}

.admin-content-menu-item.is-danger,
.admin-menu-button.is-danger {
    color: var(--admin-content-red);
}

.admin-content-menu-item.is-danger:hover,
.admin-menu-button.is-danger:hover {
    background: var(--admin-content-red-soft);
}

.admin-content-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 24px;
    align-items: start;
}

.admin-content-grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.admin-content-col-8 {
    grid-column: span 8;
}

.admin-content-col-4 {
    grid-column: span 4;
}

.admin-content-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-content-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.admin-content-field.is-full {
    grid-column: 1 / -1;
}

.admin-content-field label,
.settings-label,
.settings-label-row {
    color: var(--admin-content-ink);
    font-size: 0.8125rem;
    font-weight: 800;
}

.settings-page {
    width: min(100%, 892px);
    margin: 0 auto;
}

.settings-page .settings-card {
    padding: 0;
}

.settings-page .admin-content-field {
    gap: 6px;
}

.settings-page .settings-publishing-card {
    display: grid;
    gap: 0;
    align-items: stretch;
}

.settings-publishing-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.settings-publishing-body .settings-help {
    margin: 0;
}

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

.settings-slug-prefix {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-radius);
    background: #f1f5f9;
    color: var(--admin-content-muted);
    font-size: 0.875rem;
    font-weight: 700;
}

.settings-public-link {
    color: var(--admin-content-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.settings-language-picker summary,
.settings-readonly-languages {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-radius);
    background: #fff;
}

.settings-language-panel,
.settings-info-popover-panel {
    border-color: var(--admin-content-border);
    border-radius: var(--admin-content-radius);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.settings-logo-zone .logo-row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
}

.settings-logo-zone .logo-preview {
    display: grid;
    width: 128px;
    height: 128px;
    place-items: center;
    border: 2px dashed var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: var(--admin-content-soft);
    color: var(--admin-content-muted);
    font-weight: 800;
}

.settings-logo-zone .logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.settings-logo-zone .logo-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.settings-logo-zone .logo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.settings-danger-card {
    width: min(100%, 892px);
    margin: 0 auto;
}

.settings-danger-stack {
    margin-top: 24px;
}

.settings-danger-stack .settings-danger-card {
    width: 100%;
    margin: 0;
}

.settings-danger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.team-page {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.team-list-card,
.team-invite-card {
    padding: 0;
}

.team-invite-form {
    display: grid;
    gap: 16px;
    margin: 0;
}

.team-email-field input {
    padding-left: 12px;
}

.team-list {
    display: grid;
}

.team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid var(--admin-content-border);
    border-radius: 0;
    box-shadow: none;
}

.team-row:last-child {
    border-bottom: 0;
}

.team-row-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.team-avatar {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 10px;
    background: var(--admin-content-blue-soft);
    color: var(--admin-content-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.team-row-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-page-stack .team-role-badge {
    background: rgba(218, 226, 253, 0.55);
    color: #5c647a;
}

.qr-manager {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.qr-manager-layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
    gap: 24px;
    align-items: start;
}

.qr-manager-list-card,
.qr-info-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: #fff;
    box-shadow: var(--admin-content-shadow);
}

.qr-manager-list-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--admin-content-border);
    background: rgba(248, 250, 252, 0.45);
}

.qr-manager-list-head strong {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.qr-manager-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid var(--admin-content-border);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.qr-manager-row:last-child {
    border-bottom: 0;
}

.qr-manager-row:hover,
.qr-manager-row.is-selected {
    background: var(--admin-content-soft);
}

.qr-manager-row-main {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 0;
}

.qr-manager-thumb {
    width: 40px;
    height: 40px;
    padding: 4px;
    border: 1px solid var(--admin-content-border);
    border-radius: 10px;
    background: var(--admin-content-blue-soft);
    object-fit: contain;
}

.qr-manager-row-copy strong {
    color: var(--admin-content-ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.qr-manager-row-copy small,
.qr-manager-row time {
    color: var(--admin-content-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.qr-manager-menu-toggle {
    border-color: transparent;
    border-radius: var(--admin-content-radius);
    background: transparent;
    color: var(--admin-content-muted);
}

.qr-info-card {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.qr-info-header {
    padding: 0;
    border: 0;
}

.qr-info-header h2 {
    font-size: 1.25rem;
}

.qr-info-image {
    width: min(100%, 220px);
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: #fff;
}

.qr-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qr-info-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.qr-info-details div {
    padding: 12px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-radius);
    background: var(--admin-content-soft);
}

.qr-info-details dt {
    color: var(--admin-content-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.qr-info-details dd {
    margin: 4px 0 0;
    color: var(--admin-content-ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.project-files-page-content {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.project-files-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 16px;
}

.project-files-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: #fff;
    box-shadow: var(--admin-content-shadow);
}

.project-files-usage-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: #fff;
    box-shadow: var(--admin-content-shadow);
}

.project-files-storage-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #f1f5f9;
}

.project-files-storage-fill {
    display: block;
    width: var(--storage-percent);
    height: 100%;
    border-radius: inherit;
    background: var(--admin-content-blue-action);
}

.project-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.project-file-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--admin-content-border);
    border-radius: var(--admin-content-card-radius);
    background: #fff;
    box-shadow: var(--admin-content-shadow);
}

.project-file-picker-card-preview {
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0;
    background: var(--admin-content-soft);
}

.project-file-meta {
    padding: 0 12px 12px;
}

.project-file-name {
    color: var(--admin-content-ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.project-file-subline {
    color: var(--admin-content-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

@media (max-width: 980px) {
    .admin-content-head.is-split,
    .admin-content-grid-2,
    .admin-content-grid-12,
    .qr-manager-layout,
    .project-files-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-content-col-8,
    .admin-content-col-4 {
        grid-column: auto;
    }

    .admin-content-actions,
    .admin-content-toolbar,
    .project-files-summary-card,
    .settings-danger-row {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-content-actions .button,
    .admin-content-toolbar .button,
    .project-files-summary-card .button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .admin-content-row,
    .team-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-content-row-side,
    .team-row-side {
        width: 100%;
        justify-content: space-between;
    }

    .admin-content-form-grid,
    .settings-slug-row,
    .settings-logo-zone .logo-row {
        grid-template-columns: 1fr;
    }

    .project-files-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard shell matched to the stitched admin reference. */
body.dashboard-page {
    --site-header-height: 73px;
    --dashboard-shell-bg: #f8f9fa;
    --dashboard-panel-bg: #ffffff;
    --dashboard-panel-muted: #f3f4f5;
    --dashboard-border: #dbe4f2;
    --dashboard-text: #191c1d;
    --dashboard-muted: #64748b;
    --dashboard-primary: #1d63ed;
    --dashboard-active-bg: #eaf2ff;
    background: var(--dashboard-shell-bg);
    color: var(--dashboard-text);
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 759px) {
    body.dashboard-page {
        --site-header-height: 65px;
    }
}

html:has(body.dashboard-page) {
    scrollbar-gutter: stable;
}

body.dashboard-page > main,
body.dashboard-page .dashboard-shell,
body.dashboard-page .dashboard-main {
    background: var(--dashboard-shell-bg);
}

.dashboard-symbol {
    display: inline-block;
    font-family: "Material Symbols Outlined";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga";
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

body.dashboard-page .flash-stack {
    top: calc(var(--site-header-height) + 14px);
}

body.dashboard-page .dashboard-shell {
    display: block;
    min-height: calc(100vh - var(--site-header-height));
    padding: 0;
}

body.dashboard-page .dashboard-mobile-backdrop {
    position: fixed;
    inset: var(--site-header-height) 0 0;
    z-index: 35;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
}

body.dashboard-page .dashboard-sidebar {
    position: fixed;
    inset: var(--site-header-height) auto 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: min(86vw, 280px);
    height: calc(100dvh - var(--site-header-height));
    padding: 0;
    border: 0;
    border-right: 1px solid var(--dashboard-border);
    border-radius: 0;
    background: var(--dashboard-panel-bg);
    box-shadow: 0 20px 54px rgba(8, 20, 68, 0.12);
    backdrop-filter: none;
    transform: translateX(-100%);
    transition: transform 220ms ease;
    overflow-y: auto;
}

body.dashboard-menu-open .dashboard-sidebar {
    transform: translateX(0);
}

body.dashboard-page .dashboard-sidebar-header {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
}

body.dashboard-page .dashboard-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: none;
}

body.dashboard-page .dashboard-sidebar-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 14px;
    padding: 8px 8px 20px;
}

body.dashboard-page .dashboard-sidebar-footer {
    display: none;
}

body.dashboard-page .dashboard-project-panel {
    display: block;
    padding: 8px 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.dashboard-page .dashboard-project-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--dashboard-border);
    border-radius: 8px;
    background: var(--dashboard-panel-muted);
}

body.dashboard-page .dashboard-project-card.is-empty {
    align-items: center;
}

body.dashboard-page .dashboard-project-media {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(29, 99, 237, 0.1);
    color: var(--dashboard-primary);
    box-shadow: none;
}

body.dashboard-page .dashboard-project-copy > strong {
    color: var(--dashboard-text);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

body.dashboard-page .dashboard-project-copy > small {
    color: var(--dashboard-muted);
    font-size: 0.72rem;
    line-height: 1.25;
}

body.dashboard-page .dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0;
}

body.dashboard-page .dashboard-nav-group {
    display: grid;
    gap: 4px;
}

body.dashboard-page .dashboard-nav-label {
    margin: 0 0 2px;
    padding: 0 12px;
    color: var(--dashboard-muted);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.dashboard-page .dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #424655;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

body.dashboard-page .dashboard-nav-link:hover {
    background: #edeeef;
    color: var(--dashboard-text);
    transform: none;
}

body.dashboard-page .dashboard-nav-link.is-active {
    background: var(--dashboard-active-bg);
    color: var(--dashboard-primary);
    box-shadow: none;
}

body.dashboard-page .dashboard-nav-link.is-active .dashboard-symbol {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

body.dashboard-page .dashboard-nav-link.is-disabled {
    color: rgba(100, 116, 139, 0.58);
}

body.dashboard-page .dashboard-nav-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    font-size: 20px;
}

body.dashboard-page .dashboard-main {
    width: auto;
    min-height: calc(100vh - var(--site-header-height));
    margin: 0;
    padding: 20px 16px 48px;
}

body.dashboard-page .dashboard-main-frame,
body.dashboard-page .dashboard-main-frame-wide,
body.dashboard-page .gc-stitch-frame,
body.dashboard-page .project-preview-frame,
body.dashboard-page .theme-editor-frame,
body.dashboard-page .portal-builder-frame {
    width: min(100%, 1200px);
    margin: 0 auto;
}

body.dashboard-page .project-preview-frame {
    width: min(100%, 1200px);
}

body.dashboard-page .project-preview-frame,
body.dashboard-page .theme-editor-frame,
body.dashboard-page .portal-builder-frame {
    box-sizing: border-box;
    padding-inline: 16px;
}

@media (max-width: 759px) {
    body.dashboard-page .dashboard-main {
        padding-right: 8px;
        padding-left: 8px;
    }

    body.dashboard-page .project-preview-frame,
    body.dashboard-page .theme-editor-frame,
    body.dashboard-page .portal-builder-frame {
        padding-inline: 8px;
    }
}

@media (max-width: 1023px) {
    body.dashboard-page .landing2-nav {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    body.dashboard-page .landing2-nav > .landing2-brand {
        align-self: center;
        gap: 8px;
        justify-self: start;
        width: auto;
    }

    body.dashboard-page .landing2-nav > .landing2-brand span {
        position: static;
        max-width: none;
        transform: none;
    }

    body.dashboard-page .landing2-nav-actions {
        display: none;
    }

    body.dashboard-page .landing2-menu-button {
        grid-column: 3;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        justify-self: end;
        gap: 4px;
        z-index: 2;
    }

    body.dashboard-page .landing2-menu-button span {
        margin: 0;
    }

    body.dashboard-menu-open .landing2-menu-button span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.dashboard-menu-open .landing2-menu-button span:nth-child(2) {
        opacity: 0;
    }

    body.dashboard-menu-open .landing2-menu-button span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    body.dashboard-page .dashboard-sidebar-footer {
        display: block;
        margin-top: auto;
        padding: 14px 4px 0;
        border-top: 1px solid var(--dashboard-border);
    }
}

@media (min-width: 1024px) {
    body.dashboard-page .project-preview-frame,
    body.dashboard-page .theme-editor-frame,
    body.dashboard-page .portal-builder-frame {
        padding-inline: 32px;
    }
}

body.dashboard-page .admin-page-stack,
body.dashboard-page .settings-page,
body.dashboard-page .settings-danger-card,
body.dashboard-page .team-page,
body.dashboard-page .qr-manager,
body.dashboard-page .project-files-page-content {
    width: min(100%, 1200px);
    margin-inline: auto;
}

@media (min-width: 1024px) {
    body.dashboard-page .landing2-nav {
        width: min(100% - 64px, var(--l2-container));
        max-width: var(--l2-container);
        margin: 0 auto;
        padding: 0;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    body.dashboard-page .landing2-brand {
        justify-self: start;
    }

    body.dashboard-page .landing2-nav-actions {
        grid-column: auto;
        justify-self: end;
    }

    body.dashboard-page .dashboard-mobile-backdrop,
    body.dashboard-page .dashboard-sidebar-header,
    body.dashboard-page .dashboard-menu-close {
        display: none !important;
    }

    body.dashboard-page .dashboard-sidebar {
        width: 240px;
        top: calc(var(--site-header-height) - 1px);
        height: calc(100dvh - var(--site-header-height) + 1px);
        transform: none;
        box-shadow: none;
    }

    body.dashboard-page .dashboard-main {
        margin-left: 240px;
        padding: 16px 32px 48px;
    }
}

body.stitch-admin-page .dashboard-stitch-topbar {
    margin-bottom: 8px;
}

body.create-project-wizard-page .create-project-frame {
    width: min(100%, 1200px);
}

.create-project-wizard {
    width: min(100%, 1200px);
}

.create-project-wizard-form {
    display: grid;
    gap: 18px;
    min-height: calc(100dvh - var(--site-header-height, 72px) - 32px);
    padding-bottom: 16px;
}

.create-wizard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.create-wizard-heading {
    display: grid;
    min-width: 0;
}

.create-wizard-heading h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
}

.create-wizard-progress {
    display: grid;
    grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 6px 0 10px;
}

.create-wizard-progress-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.create-wizard-progress-dot {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid rgba(203, 213, 225, 0.96);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 850;
}

.create-wizard-progress-line {
    height: 1px;
    min-width: 18px;
    background: #cbd5e1;
}

.create-wizard-progress-item.is-current {
    color: var(--color-primary);
}

.create-wizard-progress-item.is-current .create-wizard-progress-dot {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.create-wizard-progress-item.is-complete {
    color: var(--color-primary);
}

.create-wizard-progress-item.is-complete .create-wizard-progress-dot {
    border-color: rgba(8, 90, 239, 0.18);
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 0;
}

.create-wizard-progress-item.is-complete .create-wizard-progress-dot::before {
    content: "\2713";
    font-size: 0.84rem;
    line-height: 1;
}

.create-wizard-current-step-title {
    display: none;
    margin: 0;
    color: var(--color-ink);
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.22;
}

.create-wizard-step {
    display: none;
    min-width: 0;
    padding-bottom: 4px;
}

.create-wizard-step.is-active {
    display: block;
}

.create-wizard-step-intro {
    display: block;
    margin: 0 0 30px !important;
    color: #64748b;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 500;
    line-height: 1.45;
}

.create-wizard-inline-error {
    display: none;
    margin: 0;
    color: #c7352a;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.35;
}

.create-wizard-inline-error.is-visible {
    display: block;
}

.create-template-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.project-template-card.create-template-card {
    min-height: 220px;
    padding: 26px;
    border-radius: 12px;
}

.project-template-card.create-template-card.is-selected,
.project-template-card.create-template-card:has(input:checked) {
    border-color: var(--color-primary);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(8, 90, 239, 0.14),
        0 16px 34px rgba(8, 90, 239, 0.08);
}

.create-template-card .create-template-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid rgba(8, 90, 239, 0.18);
    border-radius: 999px;
    background: rgba(8, 90, 239, 0.08);
    color: var(--color-primary);
    font-size: 24px;
}

.project-template-card.create-template-card strong {
    margin-bottom: 7px;
}

.project-template-card.create-template-card small {
    max-width: 34rem;
}

.project-template-card.create-template-card .project-template-card__meta {
    margin-top: auto;
}

.create-setup-stack {
    gap: 16px;
}

.create-settings-panel .gc-settings-card-body {
    padding: 24px;
}

.gc-stitch-page .project-preview-category-button {
    font: inherit;
    font-size: 0.79rem;
    font-weight: 750;
    line-height: 1.2;
}

.create-plan-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    max-width: none;
}

.create-plan-card {
    position: relative;
    cursor: pointer;
}

.create-plan-card input[type="radio"],
.create-template-card input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.create-plan-card.is-selected,
.create-plan-card:has(input:checked) {
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 1px rgba(8, 90, 239, 0.16),
        0 16px 34px rgba(8, 90, 239, 0.1);
}

.create-plan-card.is-selected::after,
.create-plan-card:has(input:checked)::after {
    content: "\2713";
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
}

.create-wizard-footer {
    position: sticky;
    bottom: 16px;
    z-index: 12;
    display: grid;
    grid-template-columns: minmax(160px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 72px;
    margin-top: auto;
    padding: 12px 16px;
    border: 1px solid rgba(219, 228, 242, 0.92);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(8, 20, 68, 0.12);
    backdrop-filter: blur(18px);
}

.create-wizard-footer-step,
.create-wizard-footer-summary,
.create-wizard-footer-actions {
    display: flex;
    align-items: center;
    min-width: 0;
}

.create-wizard-footer-step {
    gap: 12px;
}

.create-wizard-footer-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(8, 90, 239, 0.12);
    border-radius: 999px;
    background: rgba(8, 90, 239, 0.07);
    color: var(--color-primary);
    font-size: 23px;
}

.create-wizard-footer-step span:last-child,
.create-wizard-footer-summary {
    display: grid;
    gap: 3px;
}

.create-wizard-footer small {
    overflow: hidden;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-wizard-footer strong {
    overflow: hidden;
    color: var(--color-ink);
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-wizard-footer-summary {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(219, 228, 242, 0.92);
}

.create-wizard-footer-actions {
    justify-content: flex-end;
    gap: 10px;
}

.create-wizard-footer-actions .gc-settings-button {
    min-width: 96px;
    min-height: 42px;
}

.create-wizard-footer-actions .gc-settings-button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
}

.create-wizard-footer-actions .dashboard-symbol {
    font-size: 18px;
}

@media (max-width: 759px) {
    body.create-project-wizard-page .dashboard-main {
        padding-bottom: 12px !important;
    }

    .create-project-wizard {
        padding-inline: 10px;
    }

    .create-project-wizard-form {
        gap: 14px;
    }

    .create-wizard-header {
        align-items: center;
    }

    .create-wizard-progress {
        grid-template-columns: auto minmax(10px, 1fr) auto minmax(10px, 1fr) auto minmax(10px, 1fr) auto;
        gap: 5px;
        width: 100%;
        margin-bottom: 14px;
    }

    .create-wizard-progress-item {
        gap: 0;
    }

    .create-wizard-progress-item > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .create-wizard-progress-dot {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        font-size: 0.66rem;
    }

    .create-wizard-current-step-title {
        display: block;
        margin: -2px 0 8px;
        font-size: 1rem;
    }

    .create-wizard-step-intro {
        margin-bottom: 22px !important;
        font-size: 0.88rem;
    }

    .create-template-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .project-template-card.create-template-card {
        min-height: 154px;
        padding: 18px;
    }

    .create-template-card .create-template-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 10px;
        font-size: 21px;
    }

    .create-settings-panel .gc-settings-card-body {
        padding: 18px;
    }

    .create-wizard-theme-layout {
        --project-preview-panel-height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        min-height: 0;
    }

    .create-theme-phone-column {
        order: 1;
    }

    .create-theme-gallery {
        display: none;
    }

    .create-theme-phone-column .project-preview-phone-viewport {
        width: min(100%, 430px);
        height: min(74dvh, 660px);
        min-height: 520px;
        margin-inline: auto;
        border-radius: 22px;
    }

    .create-theme-gallery .project-preview-gallery-strip,
    .create-theme-gallery .project-preview-gallery-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .create-theme-gallery .project-preview-gallery-strip > span,
    .create-theme-gallery .project-preview-gallery-body::before {
        display: none;
    }

    .create-theme-gallery .project-preview-gallery-body::after {
        width: 100%;
    }

    .create-theme-gallery .project-preview-category-list {
        display: flex;
        gap: 6px;
        padding: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-bottom: 1px solid rgba(219, 228, 242, 0.9);
        background: #fff;
    }

    .create-theme-gallery .project-preview-category-button {
        flex: 0 0 166px;
        min-height: 40px;
    }

    .create-theme-gallery .project-preview-theme-grid {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        max-height: none;
        padding: 12px;
    }

    .create-plan-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .create-wizard-footer {
        bottom: 8px;
        grid-template-columns: minmax(92px, 1fr) max-content;
        gap: 8px;
        min-height: 64px;
        padding: 10px;
    }

    .create-wizard-footer-step {
        gap: 9px;
        overflow: hidden;
    }

    .create-wizard-footer-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 20px;
    }

    .create-wizard-footer-summary {
        display: none;
    }

    .create-wizard-footer-actions {
        flex: 0 0 auto;
        gap: 7px;
        max-width: 100%;
    }

    .create-wizard-footer-actions .gc-settings-button {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
        min-width: 82px;
        min-height: 40px;
        padding: 9px 12px;
        white-space: nowrap;
    }

    .create-wizard-footer-actions .gc-settings-button.is-primary {
        min-width: 124px;
    }

    body.create-wizard-mobile-theme-open {
        overflow: hidden;
    }

    body.create-wizard-mobile-theme-open .landing2-header,
    body.create-wizard-mobile-theme-open .dashboard-sidebar,
    body.create-wizard-mobile-theme-open .dashboard-mobile-backdrop,
    body.create-wizard-mobile-theme-open .create-wizard-header,
    body.create-wizard-mobile-theme-open .create-wizard-progress,
    body.create-wizard-mobile-theme-open .create-wizard-current-step-title,
    body.create-wizard-mobile-theme-open [data-wizard-step="3"] > .create-wizard-step-intro,
    body.create-wizard-mobile-theme-open [data-wizard-step="3"] > .create-wizard-inline-error {
        display: none !important;
    }

    body.create-wizard-mobile-theme-open .dashboard-shell,
    body.create-wizard-mobile-theme-open .dashboard-main,
    body.create-wizard-mobile-theme-open .create-project-frame,
    body.create-wizard-mobile-theme-open .create-project-wizard,
    body.create-wizard-mobile-theme-open .create-project-wizard-form {
        display: block;
        width: 100vw !important;
        min-width: 100vw;
        max-width: none;
        min-height: 100dvh;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        background: #fff;
    }

    body.create-wizard-mobile-theme-open .dashboard-main {
        margin-left: 0 !important;
    }

    body.create-wizard-mobile-theme-open [data-wizard-step="3"].is-active {
        position: fixed;
        inset: 0;
        z-index: 900;
        display: block;
        width: 100vw;
        height: 100dvh;
        padding: 0 !important;
        overflow: hidden;
        background: #fff;
    }

    body.create-wizard-mobile-theme-open .create-wizard-theme-layout,
    body.create-wizard-mobile-theme-open .create-theme-phone-column,
    body.create-wizard-mobile-theme-open .create-theme-phone-column .project-preview-phone-viewport {
        display: block;
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff;
    }

    body.create-wizard-mobile-theme-open .create-theme-phone-column .project-preview-phone-viewport iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    body.create-wizard-mobile-theme-open .create-wizard-footer {
        position: fixed;
        right: auto;
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
        left: 50%;
        z-index: 1100;
        width: min(calc(100vw - 18px), 430px);
        margin: 0;
        transform: translateX(-50%);
    }
}

@media (min-width: 1024px) {
    body.stitch-admin-page .dashboard-main {
        padding-top: 16px;
    }

    body.stitch-admin-page .dashboard-stitch-topbar {
        display: none;
        margin: 0;
    }
}

@media (max-width: 759px) {
    body.dashboard-page .dashboard-main {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    body.dashboard-page .dashboard-main-frame,
    body.dashboard-page .dashboard-main-frame-wide,
    body.dashboard-page .gc-stitch-frame,
    body.dashboard-page .project-preview-frame,
    body.dashboard-page .theme-editor-frame,
    body.dashboard-page .portal-builder-frame {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}
