:root {
    --ws-font-ui: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --ws-font-data: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

    --ws-font-size-base: 13px;
    --ws-font-size-control: 0.875rem;
    --ws-font-size-kicker: 0.72rem;
    --ws-font-size-title: 1.65rem;
    --ws-font-size-panel-title: 0.8rem;
    --ws-font-size-table-head: 0.74rem;
    --ws-font-size-table-cell: 0.84rem;

    --ws-space-1: 0.25rem;
    --ws-space-2: 0.5rem;
    --ws-space-3: 0.75rem;
    --ws-space-4: 1rem;
    --ws-space-5: 1.25rem;
    --ws-space-6: 1.5rem;
    --ws-space-7: 2rem;

    --ws-radius-sm: 0.8rem;
    --ws-radius-md: 1rem;
    --ws-radius-lg: 1.3rem;
    --ws-radius-xl: 1.6rem;

    --ws-color-text: #0f172a;
    --ws-color-text-muted: #667085;
    --ws-color-text-soft: #7b8794;
    --ws-color-text-inverse: #f8fafc;

    --ws-color-surface: rgba(255, 255, 255, 0.9);
    --ws-color-surface-strong: #ffffff;
    --ws-color-surface-soft: rgba(255, 255, 255, 0.74);
    --ws-color-surface-muted: #f8fafc;

    --ws-color-border: rgba(15, 23, 42, 0.08);
    --ws-color-border-strong: rgba(15, 23, 42, 0.14);
    --ws-color-border-soft: #d8dee6;

    --ws-color-accent: #431036;
    --ws-color-accent-strong: #102a43;
    --ws-color-accent-soft: rgba(67, 16, 54, 0.08);
    --ws-color-highlight: #e7792b;
    --ws-color-highlight-soft: rgba(231, 121, 43, 0.16);
    --ws-color-info-soft: #e9f2ff;
    --ws-color-info-border: #c7d7f6;

    --ws-color-success: #067647;
    --ws-color-warning: #b54708;
    --ws-color-danger: #b42318;

    --ws-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
    --ws-shadow-md: 0 16px 32px rgba(15, 23, 42, 0.08);
    --ws-shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.16);
    --ws-shadow-panel: 0 26px 50px rgba(15, 23, 42, 0.09);

    --ws-gradient-page:
        radial-gradient(circle at 12% 12%, rgba(231, 121, 43, 0.1), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.12), transparent 28%),
        linear-gradient(180deg, #f6f1ea 0%, #eef5ff 100%);
    --ws-gradient-page-animated:
        linear-gradient(135deg, #f5ede2 0%, #edf5ff 24%, #fff1e3 48%, #edf8f4 72%, #eef3ff 100%);
    --ws-gradient-auth:
        radial-gradient(circle at 12% 12%, #4c1d95 0%, rgba(76, 29, 149, 0.2) 28%, transparent 44%),
        radial-gradient(circle at 86% 18%, rgba(231, 121, 43, 0.18), transparent 30%),
        linear-gradient(160deg, #0f172a 0%, #2e1065 46%, #431043 100%);
    --ws-gradient-auth-animated:
        linear-gradient(150deg, #0f172a 0%, #31124f 28%, #102a43 56%, #5b1236 78%, #1f2937 100%);
    --ws-gradient-panel:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 253, 0.94));
    --ws-gradient-data-panel:
        linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(238, 245, 255, 0.96));
    --ws-gradient-hero:
        radial-gradient(circle at top right, rgba(231, 121, 43, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.94));
    --ws-bg-blob-1: rgba(231, 121, 43, 0.22);
    --ws-bg-blob-2: rgba(37, 99, 235, 0.18);
    --ws-bg-blob-3: rgba(16, 185, 129, 0.15);
    --ws-bg-blob-4: rgba(190, 24, 93, 0.14);
    --ws-bg-auth-blob-1: rgba(168, 85, 247, 0.26);
    --ws-bg-auth-blob-2: rgba(251, 146, 60, 0.18);
    --ws-bg-auth-blob-3: rgba(56, 189, 248, 0.14);

    --font-family-base: var(--ws-font-ui);
    --default-font-size: var(--ws-font-size-base);
    --color-page-shell-bg: var(--ws-color-surface);
    --color-page-shell-shadow: rgba(15, 23, 42, 0.12);
    --color-page-header-border: rgba(67, 16, 54, 0.1);
    --radius-page-shell: 1.4rem;
    --shadow-page-shell: var(--ws-shadow-md);

    --owner-font-ui: var(--ws-font-ui);
    --owner-font-data: var(--ws-font-data);
    --owner-font-size-base: 14px;
    --owner-font-size-control: var(--ws-font-size-control);
    --owner-font-size-kpi-label: 0.78rem;
    --owner-font-size-kpi-value: 1.45rem;
    --owner-font-size-panel-header: 0.82rem;
    --owner-font-size-table-head: var(--ws-font-size-table-head);
    --owner-font-size-table-cell: 0.82rem;
    --owner-font-size-submenu: 0.8rem;
    --owner-font-size-report-total: 0.84rem;
    --owner-font-size-report-meta: 0.74rem;
    --owner-font-size-print-title: 11px;
    --owner-font-size-print-table: 12px;
    --owner-font-size-technician-inline-tip-discount: 0.7rem;
    --owner-space-xs: 0.2rem;
    --owner-space-sm: 0.3rem;
    --owner-space-md: var(--ws-space-2);
    --owner-space-lg: 0.65rem;
    --owner-space-xl: 0.75rem;
    --owner-space-xxl: 0.8rem;
    --owner-space-print-cell: 3px;
    --owner-size-location-min-height: 88px;
    --owner-size-report-min-height: 220px;
    --owner-size-report-scroll-max-height: 68vh;
    --owner-size-report-date-col: 120px;
    --owner-size-report-tech-col: 100px;
    --owner-size-iframe-min-height: 72vh;
    --owner-size-tech-modal-height: 80vh;
    --owner-size-tech-modal-max-height: calc(100vh - 2rem);
    --owner-size-location-select-font: 0.98rem;
    --owner-size-date-panel-min-width: 320px;
    --owner-size-calendar-day: 44px;
    --owner-size-filter-cta-min-height: 44px;
    --owner-size-filter-cta-font: 0.96rem;
    --owner-radius-sm: 0.45rem;
    --owner-radius-md: 0.55rem;
    --owner-shadow-location-hover: 0 6px 16px rgba(15, 23, 42, 0.08);
    --owner-color-text-primary: var(--ws-color-text);
    --owner-color-text-muted: #6c757d;
    --owner-color-text-subtle: #526176;
    --owner-color-text-meta: #5f6f82;
    --owner-color-bg-white: #fff;
    --owner-color-bg-sticky-top: #f6f8fb;
    --owner-color-bg-summary-row: #eef3f9;
    --owner-color-bg-print-zebra: #f0f0f0;
    --owner-color-location-active: #5c1553;
    --owner-color-border-soft: var(--ws-color-border-soft);
    --owner-color-border-hover: #8aa4c8;
    --owner-color-print-line: #000;
    --owner-color-filter-card-glow-1: rgba(14, 165, 233, 0.18);
    --owner-color-filter-card-glow-2: rgba(20, 184, 166, 0.14);
    --owner-color-filter-card-bg-1: #ffffff;
    --owner-color-filter-card-bg-2: #eef7ff;
    --owner-color-date-panel-shadow: rgba(15, 23, 42, 0.18);
    --owner-color-calendar-day-hover: #e0ecff;
    --owner-color-calendar-day-selected: #1d4ed8;
    --owner-color-calendar-day-selected-text: #ffffff;
    --owner-color-calendar-day-range: #dbeafe;
    --owner-color-calendar-outside: #9aa8bc;
    --owner-color-filter-cta-grad-1: #eb25de;
    --owner-color-filter-cta-grad-2: #b2088d;
    --owner-color-filter-cta-text: #ffffff;
    --owner-color-filter-cta-shadow: rgba(14, 116, 144, 0.35);
    --owner-color-detail-grad-1: #5c0058;
    --owner-color-detail-grad-2: #7d1b76;
    --owner-color-detail-grad-3: #2b0b3f;
    --owner-color-detail-heading: #ffd7fb;
    --owner-color-detail-line: rgba(255, 255, 255, 0.16);
    --owner-color-shell-bg-1: #f6f1ea;
    --owner-color-shell-bg-2: #eef5ff;
    --owner-color-shell-accent: var(--ws-color-accent);
    --owner-color-shell-soft: var(--ws-color-accent-soft);
    --owner-color-shell-border: var(--ws-color-border);
    --owner-color-shell-panel: var(--ws-color-surface);
    --owner-color-shell-panel-strong: var(--ws-color-surface-strong);
    --owner-color-shell-highlight: var(--ws-color-highlight);
    --owner-color-shell-highlight-soft: var(--ws-color-highlight-soft);
    --owner-color-card-header-bg: #f0f0f0;
    --owner-color-tip: #4ae279;
    --owner-color-discount: #edad62;
    --owner-z-sticky-top: 7;
    --owner-z-sticky-left: 6;
    --owner-z-sticky-both: 9;
}

html {
    font-size: 93.75%;
}

body {
    min-height: 100vh;
    position: relative;
    font-family: var(--ws-font-ui);
    font-size: var(--ws-font-size-base);
    background: var(--ws-gradient-page-animated);
    background-size: 220% 220%;
    animation: wsBackgroundPan 20s ease-in-out infinite alternate;
    color: var(--ws-color-text);
    padding-bottom: 2rem;
}

.workspace-body,
.workspace-shell-body,
.owner-body {
    background: var(--ws-gradient-page-animated);
    background-size: 220% 220%;
    animation: wsBackgroundPan 28s ease-in-out infinite alternate;
    color: var(--ws-color-text);
}

.workspace-auth-body,
.bg-login {
    background: var(--ws-gradient-auth-animated);
    background-size: 220% 220%;
    animation: wsBackgroundPan 24s ease-in-out infinite alternate;
}

.workspace-ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.workspace-ambient-bg::before,
.workspace-ambient-bg::after {
    content: "";
    position: absolute;
    inset: -22%;
    will-change: transform, opacity, filter;
}

.workspace-ambient-bg::before {
    background:
        radial-gradient(circle at 18% 16%, var(--ws-bg-auth-blob-1) 0%, transparent 26%),
        radial-gradient(circle at 18% 20%, var(--ws-bg-blob-1) 0%, transparent 24%),
        radial-gradient(circle at 82% 16%, var(--ws-bg-blob-2) 0%, transparent 28%),
        radial-gradient(circle at 50% 78%, var(--ws-bg-blob-3) 0%, transparent 24%);
    animation: wsAmbientDriftA 22s ease-in-out infinite alternate;
    filter: blur(18px) saturate(118%);
    opacity: 0.98;
}

.workspace-ambient-bg::after {
    background:
        radial-gradient(circle at 72% 64%, var(--ws-bg-blob-4) 0%, transparent 22%),
        radial-gradient(circle at 70% 66%, rgba(217, 70, 239, 0.12) 0%, transparent 22%),
        radial-gradient(circle at 28% 72%, rgba(255, 255, 255, 0.18) 0%, transparent 18%),
        radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.24) 0%, transparent 20%);
    animation: wsAmbientDriftB 28s ease-in-out infinite alternate;
    mix-blend-mode: screen;
    opacity: 0.86;
}

.workspace-auth-body .workspace-ambient-bg::before,
.bg-login .workspace-ambient-bg::before {
    background:
        radial-gradient(circle at 18% 16%, var(--ws-bg-auth-blob-1) 0%, transparent 26%),
        radial-gradient(circle at 80% 18%, var(--ws-bg-auth-blob-2) 0%, transparent 24%),
        radial-gradient(circle at 52% 80%, var(--ws-bg-auth-blob-3) 0%, transparent 22%);
}

.workspace-auth-body .workspace-ambient-bg::after,
.bg-login .workspace-ambient-bg::after {
    background:
        radial-gradient(circle at 70% 66%, rgba(217, 70, 239, 0.16) 0%, transparent 22%),
        radial-gradient(circle at 28% 72%, rgba(255, 255, 255, 0.1) 0%, transparent 18%);
    opacity: 0.72;
}

@keyframes wsBackgroundPan {
    0% {
        background-position: 0% 10%;
    }

    50% {
        background-position: 100% 48%;
    }

    100% {
        background-position: 12% 100%;
    }
}

@keyframes wsAmbientDriftA {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }

    50% {
        transform: translate3d(2%, 2%, 0) scale(1.08);
    }

    100% {
        transform: translate3d(4%, -3%, 0) scale(1.12);
    }
}

@keyframes wsAmbientDriftB {
    0% {
        transform: translate3d(3%, 2%, 0) scale(1.02);
    }

    50% {
        transform: translate3d(-3%, -1%, 0) scale(1.1);
    }

    100% {
        transform: translate3d(-5%, 3%, 0) scale(1.16);
    }
}

@media (prefers-reduced-motion: reduce) {
    body,
    .workspace-body,
    .workspace-shell-body,
    .owner-body,
    .workspace-auth-body,
    .bg-login,
    .workspace-ambient-bg::before,
    .workspace-ambient-bg::after {
        animation: none !important;
    }
}

.workspace-auth-main {
    padding: 1.5rem 0;
}

.workspace-page-shell,
.page-shell {
    background: var(--ws-color-surface);
    border: 1px solid var(--ws-color-border);
    border-radius: var(--radius-page-shell);
    box-shadow: var(--shadow-page-shell);
    padding-top: var(--ws-space-6);
    padding-bottom: var(--ws-space-6);
}

.navbar {
    max-width: 1170px;
    margin: auto;
    margin-bottom: 2rem;
}

.navbar .nav-item {
    margin-left: 1rem;
    font-weight: 600;
}

.workspace-auth-shell {
    align-items: center;
}

.workspace-auth-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}

.workspace-auth-kicker,
.login-title + p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workspace-auth-title,
.login-title {
    color: #f8fafc;
    text-align: center;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
}

.workspace-auth-copy {
    color: rgba(255, 255, 255, 0.74);
}

.workspace-auth-card,
.login-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--ws-radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.workspace-auth-card .card-body,
.login-card .card-body {
    padding: 1.6rem;
}

.workspace-page {
    display: grid;
    gap: var(--ws-space-4);
}

.workspace-page-header,
.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ws-space-4);
    padding-bottom: 0.95rem;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(67, 16, 54, 0.1);
}

.workspace-page-header-hero,
.sales-hero {
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--ws-color-border);
    border-radius: var(--ws-radius-xl);
    background: var(--ws-gradient-hero);
    box-shadow: var(--ws-shadow-sm);
}

.workspace-page-kicker {
    margin-bottom: 0.35rem;
    color: var(--ws-color-text-muted);
    font-size: var(--ws-font-size-kicker);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
}

.workspace-page-title {
    margin: 0;
    color: var(--ws-color-text);
    font-size: clamp(1.35rem, 2vw, var(--ws-font-size-title));
    font-weight: 800;
    line-height: 1.1;
}

.workspace-page-copy {
    margin: 0.45rem 0 0;
    color: var(--ws-color-text-muted);
}

.workspace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.workspace-toolbar {
    padding: 0.95rem 1rem;
    border: 1px solid var(--ws-color-border);
    border-radius: var(--ws-radius-lg);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--ws-shadow-sm);
}

.workspace-toolbar .form-label {
    margin-bottom: 0.35rem !important;
    color: var(--ws-color-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.workspace-panel,
.workspace-data-panel,
.workspace-stat-card,
.workspace-modal-card,
.owner-modal-card {
    border: 1px solid var(--ws-color-border);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-md);
}

.workspace-panel,
.workspace-stat-card,
.sales-card {
    background: var(--ws-gradient-panel);
}

.workspace-data-panel {
    background: var(--ws-gradient-data-panel);
}

.workspace-panel > .card-body,
.workspace-panel > .card-header,
.workspace-stat-card > .card-body {
    position: relative;
}

.workspace-panel .card-header,
.workspace-stat-card .card-header,
.owner-dashboard .owner-panel .card-header {
    background: transparent;
    border-bottom: 1px solid var(--ws-color-border);
    color: var(--ws-color-text-muted);
    font-size: var(--ws-font-size-panel-title);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.workspace-panel .card-body,
.workspace-stat-card .card-body {
    padding: 1rem 1.15rem;
}

.workspace-kpi-label,
.owner-kpi-label {
    color: var(--owner-color-text-muted);
    font-size: var(--owner-font-size-kpi-label);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.workspace-kpi-value,
.owner-kpi-value {
    font-size: var(--owner-font-size-kpi-value);
    font-weight: 700;
    line-height: 1.1;
}

.workspace-table,
.owner-table {
    font-family: var(--ws-font-data);
}

.workspace-table thead th,
.owner-dashboard .owner-table th {
    color: var(--ws-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: var(--ws-font-size-table-head);
    font-weight: 800;
    border-bottom-color: var(--ws-color-border);
    background: rgba(255, 255, 255, 0.35);
}

.workspace-table th a {
    color: inherit;
    text-decoration: none;
}

.workspace-table tbody td,
.owner-dashboard .owner-table td {
    font-size: var(--ws-font-size-table-cell);
    border-bottom-color: rgba(15, 23, 42, 0.06);
    vertical-align: middle;
}

.workspace-table.table > :not(caption) > * > * {
    padding: 0.8rem 0.9rem;
}

.workspace-table-wrap {
    border-radius: inherit;
}

.workspace-empty-state,
.owner-empty-state {
    display: grid;
    gap: 0.55rem;
    place-items: center;
    min-height: 170px;
    padding: 1.4rem;
    text-align: center;
    color: var(--ws-color-text-muted);
}

.workspace-empty-state i,
.owner-empty-state i {
    font-size: 1.7rem;
    color: var(--ws-color-text-soft);
}

.workspace-empty-inline {
    min-height: 0;
    padding: 1rem;
}

.workspace-empty-state-title {
    color: var(--ws-color-text);
    font-weight: 700;
}

.workspace-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ws-space-3);
    color: var(--ws-color-text-muted);
}

.workspace-form-card .card-body,
.workspace-form-panel .card-body {
    padding: 1.25rem 1.3rem;
}

.workspace-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.workspace-detail-hero {
    background: var(--ws-gradient-hero);
}

.workspace-list-panel .list-group-item {
    padding-left: 0;
    padding-right: 0;
    border-color: rgba(15, 23, 42, 0.06);
}

.workspace-modal-card,
.modal-content.workspace-modal-card,
.owner-modal-card {
    overflow: hidden;
    background: var(--ws-color-surface-strong);
    box-shadow: var(--ws-shadow-lg);
}

.workspace-modal-card .modal-header,
.workspace-modal-card .modal-footer,
.owner-modal-card .modal-header,
.owner-modal-card .modal-footer {
    border-color: rgba(15, 23, 42, 0.08);
}

.workspace-modal-card .modal-header,
.owner-modal-card .modal-header {
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.05), rgba(231, 121, 43, 0.08));
}

.workspace-modal-card .modal-body {
    padding: 1.2rem 1.25rem;
}

.workspace-info-pair {
    display: grid;
    gap: 0.2rem;
}

.workspace-info-label {
    color: var(--ws-color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.workspace-info-value {
    font-weight: 700;
    color: var(--ws-color-text);
}

.workspace-shell-main,
.owner-main {
    padding: 1rem;
}

.workspace-shell,
.owner-shell-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.workspace-shell-overlay,
.owner-shell-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.workspace-shell-overlay.is-visible,
.owner-shell-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.workspace-topbar,
.owner-topbar {
    position: relative;
    top: 0.9rem;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin: 1rem 1rem 2rem;
    padding: 0.85rem 1rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.35rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
    animation: ownerShellRise 260ms ease-out;
}

.workspace-topbar-start,
.workspace-topbar-end,
.owner-topbar-start,
.owner-topbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.workspace-topbar-start,
.owner-topbar-start {
    justify-self: start;
}

.workspace-topbar-center,
.owner-topbar-center {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workspace-topbar-end,
.owner-topbar-end {
    justify-self: end;
    justify-content: flex-end;
}

.workspace-brand,
.owner-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.workspace-brand:hover,
.owner-brand:hover {
    color: inherit;
}

.workspace-brand-copy,
.owner-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.workspace-brand-kicker,
.owner-brand-kicker {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #790f5c;
    font-weight: 800;
    text-shadow: 0 0 13px rgba(0, 0, 0, 0.25);
}

.workspace-brand-title,
.owner-brand-title {
    text-align: center;
    font-size: 1.75rem;
    letter-spacing: 0.2rem;
    font-weight: 800;
    text-shadow: 0 0 13px rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(to bottom right, #eea47f, rgb(156, 0, 117));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-block;
}

.workspace-sidebar-toggle,
.workspace-topbar-chip,
.workspace-account-trigger,
.owner-sidebar-toggle,
.owner-topbar-chip,
.owner-account-trigger,
.owner-logout-btn {
    border-radius: 1rem;
    font-weight: 700;
}

.workspace-sidebar-toggle,
.owner-sidebar-toggle {
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    background: #fff;
}

.workspace-topbar-chip,
.workspace-account-trigger,
.owner-topbar-chip,
.owner-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
}

.workspace-chip-icon,
.workspace-account-avatar,
.owner-chip-icon,
.owner-account-avatar {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.92), rgba(29, 78, 216, 0.88));
    color: #fff;
    flex: 0 0 auto;
}

.workspace-chip-copy,
.workspace-account-copy,
.owner-chip-copy,
.owner-account-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.workspace-chip-label,
.workspace-account-label,
.owner-chip-label,
.owner-account-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 800;
}

.workspace-chip-value,
.workspace-account-name,
.owner-chip-value,
.owner-account-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ws-color-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-topbar-menu,
.owner-topbar-menu {
    min-width: 280px;
    padding: 0.55rem;
    border: 1px solid var(--ws-color-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}

.workspace-topbar-menu .dropdown-item,
.owner-topbar-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    font-weight: 700;
    color: var(--ws-color-accent);
}

.workspace-topbar-menu .dropdown-item:hover,
.workspace-topbar-menu .dropdown-item:active,
.workspace-topbar-menu .dropdown-item.active,
.owner-topbar-menu .dropdown-item:hover,
.owner-topbar-menu .dropdown-item:active,
.owner-topbar-menu .dropdown-item.active {
    background: var(--ws-color-highlight-soft);
    color: var(--ws-color-accent);
}

.workspace-sidebar,
.owner-function-nav {
    width: 150px;
    flex: 0 0 150px;
    position: sticky;
    top: 6.1rem;
    padding: 1rem 0.8rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(16px);
    animation: ownerShellRise 280ms ease-out;
}

.workspace-sidebar-top,
.owner-function-nav-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.workspace-sidebar-kicker,
.owner-function-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b8794;
    font-weight: 800;
}

.workspace-sidebar-title,
.owner-function-title {
    color: var(--ws-color-accent);
    font-size: 1rem;
    font-weight: 800;
}

.workspace-sidebar-list,
.owner-function-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.workspace-sidebar-divider,
.owner-function-divider {
    height: 1px;
    margin: 0.9rem 0;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.14), transparent);
}

.workspace-sidebar-link,
.owner-function-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 4.5rem;
    padding: 0.8rem 0.55rem;
    border-radius: 1.1rem;
    text-decoration: none;
    color: #4b5563;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.workspace-sidebar-link:hover,
.owner-function-link:hover {
    transform: translateY(-2px);
    color: var(--ws-color-accent);
    background: rgba(16, 42, 67, 0.06);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.workspace-sidebar-link.is-active,
.owner-function-link.is-active {
    background: linear-gradient(180deg, rgba(231, 121, 43, 0.18), rgba(255, 255, 255, 0.94));
    color: var(--ws-color-accent);
    box-shadow: inset 0 0 0 1px rgba(231, 121, 43, 0.18), 0 5px 15px rgba(231, 121, 43, 0.14);
}

.workspace-sidebar-icon,
.owner-function-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(16, 42, 67, 0.08);
    font-size: 0.96rem;
}

.workspace-sidebar-link.is-active .workspace-sidebar-icon,
.owner-function-link.is-active .owner-function-icon {
    background: rgba(231, 121, 43, 0.18);
}

.workspace-sidebar-label,
.owner-function-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

.workspace-content,
.owner-shell-content {
    min-width: 0;
    flex: 1 1 0;
    box-sizing: border-box;
    padding-left: 0.35rem;
    padding-right: 0.85rem;
}

.workspace-content > .workspace-page,
.workspace-content > .workspace-dashboard,
.owner-shell-content > .owner-dashboard {
    padding: 1.3rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.66);
    box-shadow: var(--ws-shadow-panel);
    backdrop-filter: blur(16px);
    animation: ownerShellRise 320ms ease-out;
}

.workspace-footer,
.owner-footer {
    padding: 1.15rem 1rem 1.8rem;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
}

.workspace-dashboard .card,
.workspace-dashboard .table,
.workspace-dashboard .form-control,
.workspace-dashboard .form-select,
.workspace-dashboard .btn,
.owner-dashboard .card,
.owner-dashboard .table,
.owner-dashboard .form-control,
.owner-dashboard .form-select,
.owner-dashboard .btn {
    font-size: var(--owner-font-size-control);
}

.workspace-dashboard .table,
.owner-dashboard .table {
    font-family: var(--ws-font-data);
}

.workspace-dashboard .owner-panel,
.workspace-dashboard .owner-kpi-card,
.workspace-dashboard .card,
.owner-dashboard .owner-panel,
.owner-dashboard .owner-kpi-card,
.owner-dashboard .card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.25rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.workspace-topbar .owner-chip-label,
.workspace-topbar .owner-account-label {
    color: #7b8794;
}

.workspace-topbar .owner-chip-value,
.workspace-topbar .owner-account-name {
    color: var(--owner-color-shell-accent);
}

.workspace-dashboard .owner-panel .card-body {
    padding: 1rem 1.15rem;
}

.workspace-metric-card .owner-kpi-value {
    margin-top: 0.2rem;
}

.workspace-metric-note {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.45;
}

.workspace-bar-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    gap: 0.85rem;
    align-items: end;
}

.workspace-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.workspace-bar-value {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}

.workspace-bar-track {
    width: 100%;
    min-height: 232px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.55rem 0.2rem 0;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 245, 255, 0.9));
}

.workspace-bar-fill {
    width: 32px;
    border-radius: 999px;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.14);
}

.workspace-bar-fill.admin {
    background: linear-gradient(180deg, #e7792b 0%, #7d1b76 100%);
}

.workspace-bar-fill.sales {
    background: linear-gradient(180deg, #2563eb 0%, #102a43 100%);
}

.workspace-bar-label {
    font-size: 0.77rem;
    text-align: center;
    color: #475467;
    font-weight: 700;
}

.workspace-actions-cell {
    white-space: nowrap;
}

.sales-card {
    border: 1px solid var(--ws-color-border);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-md);
}

@media print {
    .navbar,
    .page-shell > *:not(.owner-dashboard) {
        display: none !important;
    }

    .owner-dashboard,
    .owner-dashboard .popup.popup-printable {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 11px !important;
    }

    .owner-dashboard .popup.popup-printable .data-table {
        page-break-inside: avoid;
        break-inside: avoid;
        margin-top: 8mm;
    }

    .owner-dashboard textarea {
        border: 0 !important;
        resize: none !important;
    }
}

@media (max-width: 991.98px) {
    .owner-sidebar-open {
        overflow: hidden;
    }

    .workspace-topbar,
    .owner-topbar {
        top: 0.5rem;
        margin: 0.75rem 0.75rem 0;
        padding: 0.8rem;
        grid-template-columns: 1fr;
    }

    .workspace-topbar-start,
    .workspace-topbar-center,
    .workspace-topbar-end,
    .owner-topbar-start,
    .owner-topbar-center,
    .owner-topbar-end {
        width: 100%;
        justify-content: space-between;
        justify-self: stretch;
    }

    .workspace-topbar-start,
    .owner-topbar-start {
        flex-wrap: wrap;
    }

    .workspace-topbar-center,
    .owner-topbar-center {
        justify-content: flex-start;
    }

    .workspace-shell-main,
    .owner-main {
        padding: 0.85rem 0.75rem 1rem;
    }

    .workspace-sidebar,
    .owner-function-nav {
        position: fixed;
        top: 5.35rem;
        left: 0.75rem;
        bottom: 0.75rem;
        z-index: 60;
        transform: translateX(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .workspace-sidebar.is-open,
    .owner-function-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .workspace-content > .workspace-page,
    .workspace-content > .workspace-dashboard,
    .owner-shell-content > .owner-dashboard {
        padding: 1rem;
        border-radius: 1.4rem;
    }

    .workspace-content,
    .owner-shell-content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .workspace-brand-copy,
    .owner-brand-copy,
    .owner-topbar-ghost span,
    .owner-logout-btn span {
        display: none;
    }

    .workspace-topbar-chip,
    .workspace-account-trigger,
    .owner-topbar-chip,
    .owner-account-trigger {
        max-width: calc(100vw - 7rem);
        min-width: 0;
    }

    .workspace-topbar-end,
    .owner-topbar-end {
        gap: 0.5rem;
    }

    .workspace-page-shell,
    .page-shell {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .workspace-dashboard,
    .owner-dashboard {
        font-size: calc(var(--owner-font-size-base) - 1px);
    }

    .workspace-page-header,
    .page-header {
        align-items: flex-start;
    }

    .workspace-kpi-value,
    .owner-dashboard .owner-kpi-value {
        font-size: 1.2rem;
    }
}

@keyframes ownerShellRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Legacy owner styles migrated from owner-dashboard.css */

body {
    --owner-font-ui: "Manrope", "Segoe UI", sans-serif;
    --owner-font-data: "IBM Plex Sans", "Segoe UI", sans-serif;

    /* Typography */
    --owner-font-size-base: 14px;
    --owner-font-size-control: 0.875rem;
    --owner-font-size-kpi-label: 0.78rem;
    --owner-font-size-kpi-value: 1.45rem;
    --owner-font-size-panel-header: 0.82rem;
    --owner-font-size-table-head: 0.74rem;
    --owner-font-size-table-cell: 0.82rem;
    --owner-font-size-submenu: 0.8rem;
    --owner-font-size-report-total: 0.84rem;
    --owner-font-size-report-meta: 0.74rem;
    --owner-font-size-print-title: 11px;
    --owner-font-size-print-table: 12px;
    --owner-font-size-technician-inline-tip-discount: 0.7rem;

    /* Spacing and sizing */
    --owner-space-xs: 0.2rem;
    --owner-space-sm: 0.3rem;
    --owner-space-md: 0.5rem;
    --owner-space-lg: 0.65rem;
    --owner-space-xl: 0.75rem;
    --owner-space-xxl: 0.8rem;
    --owner-space-print-cell: 3px;
    --owner-size-location-min-height: 88px;
    --owner-size-report-min-height: 220px;
    --owner-size-report-scroll-max-height: 68vh;
    --owner-size-report-date-col: 120px;
    --owner-size-report-tech-col: 100px;
    --owner-size-iframe-min-height: 72vh;
    --owner-size-tech-modal-height: 80vh;
    --owner-size-tech-modal-max-height: calc(100vh - 2rem);
    --owner-size-location-select-font: 0.98rem;
    --owner-size-date-panel-min-width: 320px;
    --owner-size-calendar-day: 44px;
    --owner-size-filter-cta-min-height: 44px;
    --owner-size-filter-cta-font: 0.96rem;

    /* Radius and effects */
    --owner-radius-sm: 0.45rem;
    --owner-radius-md: 0.55rem;
    --owner-shadow-location-hover: 0 6px 16px rgba(15, 23, 42, 0.08);

    /* Colors */
    --owner-color-text-primary: #0f172a;
    --owner-color-text-muted: #6c757d;
    --owner-color-text-subtle: #526176;
    --owner-color-text-meta: #5f6f82;
    --owner-color-bg-white: #fff;
    --owner-color-bg-sticky-top: #f6f8fb;
    --owner-color-bg-summary-row: #eef3f9;
    --owner-color-bg-print-zebra: #f0f0f0;
    --owner-color-location-active: #5c1553;
    --owner-color-border-soft: #d8dee6;
    --owner-color-border-hover: #8aa4c8;
    --owner-color-print-line: #000;
    --owner-color-filter-card-glow-1: rgba(14, 165, 233, 0.18);
    --owner-color-filter-card-glow-2: rgba(20, 184, 166, 0.14);
    --owner-color-filter-card-bg-1: #ffffff;
    --owner-color-filter-card-bg-2: #eef7ff;
    --owner-color-date-panel-shadow: rgba(15, 23, 42, 0.18);
    --owner-color-calendar-day-hover: #e0ecff;
    --owner-color-calendar-day-selected: #1d4ed8;
    --owner-color-calendar-day-selected-text: #ffffff;
    --owner-color-calendar-day-range: #dbeafe;
    --owner-color-calendar-outside: #9aa8bc;
    --owner-color-filter-cta-grad-1: #eb25de;
    --owner-color-filter-cta-grad-2: #b2088d;
    --owner-color-filter-cta-text: #ffffff;
    --owner-color-filter-cta-shadow: rgba(14, 116, 144, 0.35);
    --owner-color-detail-grad-1: #5c0058;
    --owner-color-detail-grad-2: #7d1b76;
    --owner-color-detail-grad-3: #2b0b3f;
    --owner-color-detail-heading: #ffd7fb;
    --owner-color-detail-line: rgba(255, 255, 255, 0.16);
    --owner-color-shell-bg-1: #f6f1ea;
    --owner-color-shell-bg-2: #eef5ff;
    --owner-color-shell-accent: #431043;
    --owner-color-shell-soft: rgba(67, 16, 54, 0.08);
    --owner-color-shell-border: rgba(42, 15, 40, 0.08);
    --owner-color-shell-panel: rgba(255, 255, 255, 0.9);
    --owner-color-shell-panel-strong: #ffffff;
    --owner-color-shell-highlight: #e7792b;
    --owner-color-shell-highlight-soft: rgba(231, 121, 43, 0.16);
    --owner-color-card-header-bg: #f0f0f0;

    /* Report accent colors */
    --owner-color-tip: #4ae279;
    --owner-color-discount: #edad62;

    /* Z-index */
    --owner-z-sticky-top: 7;
    --owner-z-sticky-left: 6;
    --owner-z-sticky-both: 9;

    font-size: var(--owner-font-size-base);
    font-family: var(--owner-font-ui);
}

@media (max-width: 767.98px) {
    .owner-dashboard .owner-income-panel .card-body {
        padding: var(--owner-space-lg);
    }

    .owner-dashboard .owner-income-stat-grid {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
    }

    .owner-dashboard .owner-income-location {
        font-size: 1.16rem;
    }
}

.owner-body {
    min-height: 100vh;
    background: var(--ws-gradient-page-animated);
    background-size: 220% 220%;
    animation: wsBackgroundPan 28s ease-in-out infinite alternate;
    color: var(--owner-color-text-primary);
}

.owner-topbar {
    position: relative;
    top: 0.9rem;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin: 1rem 1rem 2rem;
    padding: 0.85rem 1rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.35rem;
    /* background: rgba(255, 255, 255, 0.78); */
    backdrop-filter: blur(18px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
    animation: ownerShellRise 260ms ease-out;
}

.owner-topbar-start,
.owner-topbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.owner-topbar-start {
    justify-self: start;
}

.owner-topbar-center {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-topbar-end {
    justify-self: end;
    justify-content: flex-end;
}

.owner-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.owner-brand:hover {
    color: inherit;
}

.owner-brand-mark {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #102a43, #1d4f91);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.25);
}

.owner-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.owner-brand-kicker {
    text-align:center;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #790f5c;
    font-weight: 800;
    text-shadow: 0px 0px 13px rgba(0, 0, 0, 0.25);
}

.owner-brand-title {
    text-align:center;
    font-size: 1.75rem;
    letter-spacing: .2rem;
    font-weight: 800;
    /* color: var(--owner-color-shell-accent); */
    text-shadow: 0px 0px 13px rgba(0, 0, 0, 0.25);
     /* Apply the gradient as a background image */
    background-image: linear-gradient(to bottom right, #EEA47FFF, rgb(156, 0, 117));

    /* Clip the background to the shape of the text */
    -webkit-background-clip: text;
    background-clip: text;

    /* Make the text itself transparent to reveal the background */
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;

    /* Optional: Ensure the element's width matches the text width */
    display: inline-block;
}

.owner-sidebar-toggle,
.owner-topbar-ghost,
.owner-topbar-chip,
.owner-account-trigger,
.owner-logout-btn {
    border-radius: 1rem;
    /* border: 1px solid var(--owner-color-shell-border); */
    font-weight: 700;
}

.owner-sidebar-toggle {
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    background: #fff;
}

.owner-topbar-chip,
.owner-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    /* background: rgba(255, 255, 255, 0.92); */
    /* box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06); */
}

.owner-topbar-chip {
    /* min-width: min(420px, 42vw); */
    justify-content: flex-start;
}

.owner-chip-icon,
.owner-account-avatar {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.92), rgba(29, 78, 216, 0.88));
    color: #fff;
    flex: 0 0 auto;
}

.owner-chip-copy,
.owner-account-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.owner-chip-label,
.owner-account-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 800;
}

.owner-chip-value,
.owner-account-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--owner-color-shell-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owner-chip-value small {
    color: #7b8794;
    font-size: 0.72rem;
    font-weight: 700;
}

.owner-topbar-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    background: rgba(16, 42, 67, 0.04);
    color: var(--owner-color-shell-accent);
}

.owner-topbar-ghost:hover,
.owner-topbar-ghost:focus {
    color: var(--owner-color-shell-accent);
}

.owner-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.68rem 1rem;
    background: rgba(16, 42, 67, 0.06);
    color: var(--owner-color-shell-accent);
    border-color: rgba(16, 42, 67, 0.12);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.owner-logout-btn i {
    color: #b42318;
}

.owner-logout-btn span {
    font-weight: 800;
}

.owner-logout-btn:hover,
.owner-logout-btn:focus {
    color: var(--owner-color-shell-accent);
    background: rgba(16, 42, 67, 0.1);
}

.owner-topbar-menu {
    min-width: 280px;
    padding: 0.55rem;
    border: 1px solid var(--owner-color-shell-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}

.owner-location-switcher .dropdown-menu {
    min-width: min(420px, calc(100vw - 2rem));
}

.owner-account-dropdown .dropdown-menu {
    min-width: 260px;
}

.owner-dropdown-divider {
    height: 1px;
    margin: 0.45rem 0.25rem;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.14), transparent);
}

.owner-topbar-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    font-weight: 700;
    color: var(--owner-color-shell-accent);
}

.owner-topbar-menu .dropdown-item i {
    width: 1rem;
    text-align: center;
    color: #66768a;
}

.owner-dropdown-action {
    width: 100%;
    border: 0;
    background: rgba(16, 42, 67, 0.04);
    font: inherit;
}

.owner-dropdown-danger {
    color: #b42318;
}

.owner-dropdown-danger i {
    color: #b42318;
}

.owner-topbar-menu .dropdown-item.active,
.owner-topbar-menu .dropdown-item:active,
.owner-topbar-menu .dropdown-item:hover {
    background: var(--owner-color-shell-highlight-soft);
    color: var(--owner-color-shell-accent);
}

.owner-dropdown-title {
    padding: 0.3rem 0.5rem 0.55rem;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.owner-dropdown-id {
    color: #7b8794;
    font-size: 0.78rem;
    font-weight: 800;
}

.owner-location-switcher .dropdown-toggle::after,
.owner-account-trigger.dropdown-toggle::after {
    margin-left: 0.4rem;
}

.owner-location-switcher .owner-chip-copy {
    min-width: 0;
}

.owner-location-switcher .owner-chip-value {
    max-width: 100%;
}

.owner-main {
    padding: 1rem;
}

.owner-shell-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.owner-shell-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.owner-shell-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.owner-function-nav {
    width: 150px;
    flex: 0 0 150px;
    position: sticky;
    top: 6.1rem;
    padding: 1rem 0.8rem;
    border-radius: 1.6rem;
    /* background: rgba(255, 255, 255, 0.84); */
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 015px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(16px);
    animation: ownerShellRise 280ms ease-out;
}

.owner-function-nav-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.owner-function-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b8794;
    font-weight: 800;
}

.owner-function-title {
    color: var(--owner-color-shell-accent);
    font-size: 1rem;
    font-weight: 800;
}

.owner-function-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.owner-function-divider {
    height: 1px;
    margin: 0.9rem 0;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.14), transparent);
}

.owner-function-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 4.5rem;
    padding: 0.8rem 0.55rem;
    border-radius: 1.1rem;
    text-decoration: none;
    color: #4b5563;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.owner-function-link:hover {
    transform: translateY(-2px);
    color: var(--owner-color-shell-accent);
    background: rgba(16, 42, 67, 0.06);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.owner-function-link.is-active {
    background: linear-gradient(180deg, rgba(231, 121, 43, 0.18), rgba(255, 255, 255, 0.94));
    color: var(--owner-color-shell-accent);
    box-shadow: inset 0 0 0 1px rgba(231, 121, 43, 0.18), 0 5px 15px rgba(231, 121, 43, 0.14);
}

.owner-function-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(16, 42, 67, 0.08);
    font-size: 0.96rem;
}

.owner-function-link.is-active .owner-function-icon {
    background: rgba(231, 121, 43, 0.18);
}

.owner-function-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

.owner-shell-content {
    min-width: 0;
    flex: 1 1 0;
    box-sizing: border-box;
    padding-left: 0.35rem;
    padding-right: 0.85rem;
}

.owner-shell-content>.owner-dashboard {
    padding: 1.3rem;
    border-radius: 1.8rem;
    /* background: rgba(255, 255, 255, 0.8); */
    border: 1px solid rgba(255, 255, 255, 0.66);
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(16px);
    animation: ownerShellRise 320ms ease-out;
}

.owner-footer {
    padding: 1.15rem 1rem 1.8rem;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
}

.owner-modal-card {
    border: 1px solid var(--owner-color-shell-border);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.owner-modal-card .modal-header,
.owner-modal-card .modal-footer {
    border-color: rgba(15, 23, 42, 0.08);
}

.owner-modal-card .modal-header {
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.05), rgba(231, 121, 43, 0.08));
}

.owner-services-menu-page {
    font-family: var(--owner-font-ui);
}

.owner-menu-shell {
    overflow: hidden;
}

.owner-menu-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.owner-menu-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: var(--owner-color-shell-accent);
    font-weight: 700;
}

.owner-menu-location-pill small {
    color: #7b8794;
    font-family: var(--owner-font-data);
}

.owner-menu-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.92));
}

.owner-menu-tabset,
.owner-menu-actionset,
.owner-menu-utilityset {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.owner-menu-viewset {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
}

.owner-menu-inline-toggle {
    display: inline-grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 0.55rem;
    margin: 0;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    color: #475467;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.owner-menu-inline-toggle.form-switch {
    padding-left: 0.8rem;
}

.owner-menu-inline-toggle .form-check-input {
    float: none;
    margin: 0;
}

.owner-menu-inline-toggle .form-check-label {
    min-width: 0;
    cursor: pointer;
}

.owner-menu-utilityset {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
}

.owner-menu-search-field {
    display: inline-flex;
    flex: 1 1 15rem;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    max-width: 20rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    color: #667085;
}

.owner-menu-search-field .form-control {
    border: 0;
    flex: 1 1 auto;
    padding: 0;
    min-width: 0;
    background: transparent;
    box-shadow: none;
}

.owner-menu-viewset,
.owner-menu-inline-toggle,
.owner-menu-utilityset > .btn {
    flex: 0 0 auto;
}

.owner-menu-search-field .form-control:focus {
    box-shadow: none;
}

.owner-menu-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.8rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #475467;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.owner-menu-tab.is-active {
    background: linear-gradient(135deg, rgba(231, 121, 43, 0.16), rgba(16, 42, 67, 0.08));
    color: var(--owner-color-shell-accent);
    border-color: rgba(231, 121, 43, 0.25);
    box-shadow: 0 12px 24px rgba(231, 121, 43, 0.12);
}

.owner-menu-view-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    color: #5f6b7d;
    font-weight: 700;
}

.owner-menu-view-btn.is-active {
    background: #fff;
    color: var(--owner-color-shell-accent);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.owner-menu-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.owner-menu-summary-title {
    color: var(--owner-color-shell-accent);
    font-size: 1rem;
    font-weight: 800;
}

.owner-menu-summary-subtitle {
    color: #667085;
    font-size: 0.86rem;
}

.owner-menu-summary-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.owner-menu-stat-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.06);
    color: #475467;
    font-size: 0.78rem;
    font-weight: 700;
}

.owner-menu-feedback {
    display: none;
    margin: 0 1.25rem 1rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.owner-menu-feedback.is-info,
.owner-menu-feedback.is-success,
.owner-menu-feedback.is-warning,
.owner-menu-feedback.is-danger {
    display: block;
}

.owner-menu-feedback.is-info {
    background: rgba(33, 150, 243, 0.09);
    color: #0c4a6e;
}

.owner-menu-feedback.is-success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
}

.owner-menu-feedback.is-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
}

.owner-menu-feedback.is-danger {
    background: rgba(239, 68, 68, 0.11);
    color: #991b1b;
}

.owner-menu-board {
    padding: 0 1.25rem 1.25rem;
}

.owner-menu-category-lane {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 320px);
    align-items: start;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.owner-menu-fluid-stack,
.owner-menu-list-stack {
    display: grid;
    gap: 1rem;
}

.owner-menu-fluid-card,
.owner-menu-list-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.owner-menu-fluid-card.is-selected,
.owner-menu-list-card.is-selected {
    border-color: rgba(231, 121, 43, 0.55);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.owner-menu-fluid-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.owner-menu-fluid-cloud-wide {
    padding: 1rem;
}

.owner-menu-fluid-item {
    display: inline-flex;
    align-items: stretch;
    gap: 0.55rem;
    min-width: 11rem;
    padding: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    cursor: grab;
    will-change: transform;
}

.owner-menu-fluid-item:hover {
    transform: translateY(-2px);
    border-color: rgba(231, 121, 43, 0.35);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.owner-menu-fluid-item-copy,
.owner-menu-fluid-subtitle-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.35rem 0.45rem 0.35rem 0.15rem;
    border: 0;
    background: transparent;
    text-align: left;
    color: inherit;
}

.owner-menu-fluid-item:focus-visible,
.owner-menu-fluid-subtitle:focus-visible {
    outline: 2px solid rgba(231, 121, 43, 0.45);
    outline-offset: 3px;
    border-radius: 0.9rem;
}

.owner-menu-fluid-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 2.6rem;
    min-width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.95rem;
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    cursor: grab;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.owner-menu-fluid-avatar .owner-menu-item-thumb-fill,
.owner-menu-fluid-avatar .owner-menu-item-thumb-img,
.owner-menu-fluid-avatar .owner-menu-item-thumb-label {
    width: 100%;
    height: 100%;
}

.owner-menu-fluid-avatar .owner-menu-item-thumb-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
}

.owner-menu-fluid-avatar-subtitle {
    background: linear-gradient(135deg, rgba(231, 121, 43, 0.14), rgba(255, 255, 255, 0.95));
    color: #9a3412;
}

.owner-menu-fluid-item-name {
    color: #18263a;
    font-weight: 800;
}

.owner-menu-fluid-item-price {
    color: #ce5d10;
    font-weight: 800;
}

.owner-menu-fluid-item-id {
    color: #7b8794;
    font-size: 0.75rem;
}

.owner-menu-fluid-subtitle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    margin: 0;
    padding-top: 0.2rem;
    padding: 0.2rem 0.1rem;
    cursor: grab;
    will-change: transform;
}

.owner-menu-fluid-subtitle-button {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
}

.owner-menu-fluid-subtitle-label {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.08);
    color: #516072;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.owner-menu-fluid-empty {
    padding: 1rem;
    color: #7b8794;
}

.owner-menu-list-table thead th {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7b8794;
}

.owner-menu-list-table tbody td {
    vertical-align: middle;
}

.owner-menu-list-entry {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.owner-menu-list-row.is-detail-open {
    background: rgba(231, 121, 43, 0.06);
}

.owner-menu-list-row td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.owner-menu-list-drag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    cursor: grab;
}

.owner-menu-list-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #475467;
    overflow: hidden;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.owner-menu-list-avatar:focus-visible {
    outline: 2px solid rgba(231, 121, 43, 0.45);
    outline-offset: 3px;
}

.owner-menu-list-avatar.is-static {
    cursor: default;
}

.owner-menu-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-menu-list-avatar .owner-menu-item-thumb-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.68rem;
    font-weight: 800;
    color: #475467;
    padding: 0.2rem;
    text-align: center;
}

.owner-menu-list-row .form-control,
.owner-menu-list-row .form-control-sm {
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    min-height: 2.1rem;
}

.owner-menu-list-row .form-control:focus,
.owner-menu-list-row .form-control-sm:focus {
    border-bottom-color: rgba(231, 121, 43, 0.9);
    background: transparent;
    box-shadow: none;
}

.owner-menu-list-row .owner-menu-color-input {
    width: 2.4rem;
    min-width: 2.4rem;
    height: 2rem;
    border: 0;
    padding: 0;
    background: transparent;
}

.owner-menu-list-detail-row {
    display: none;
}

.owner-menu-list-detail-row.is-detail-open {
    display: table-row;
}

.owner-menu-list-detail-row td {
    padding-top: 0;
    padding-left: 1rem;
    background: rgba(248, 250, 252, 0.94);
}

.owner-menu-list-detail-copy {
    color: #64748b;
    font-size: 0.82rem;
}

.owner-menu-board.is-sorting .owner-menu-fluid-item,
.owner-menu-board.is-sorting .owner-menu-fluid-subtitle,
.owner-menu-board.is-sorting .owner-menu-list-entry {
    transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.owner-menu-board.is-sorting .owner-menu-fluid-avatar,
.owner-menu-board.is-sorting .owner-menu-list-drag {
    cursor: grabbing;
}

.owner-menu-category-card,
.owner-menu-addon-card {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    will-change: transform;
}

.owner-menu-board.is-sorting .owner-menu-category-card,
.owner-menu-board.is-sorting .owner-menu-addon-card,
.owner-menu-board.is-sorting .owner-menu-item-row {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.owner-menu-board.is-sorting .owner-menu-category-card,
.owner-menu-board.is-sorting .owner-menu-addon-card {
    overflow: visible;
}

.owner-menu-sort-chosen {
    opacity: 0.12;
    box-shadow: inset 0 0 0 2px rgba(231, 121, 43, 0.22);
}

.owner-menu-list-entry.owner-menu-sort-ghost tr:first-child td {
    background: linear-gradient(135deg, rgba(255, 244, 231, 0.98), rgba(255, 255, 255, 0.96)) !important;
}

.owner-menu-list-entry.owner-menu-sort-ghost tr td {
    border-top-color: rgba(231, 121, 43, 0.28) !important;
}

.owner-menu-sort-ghost {
    opacity: 0.92;
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: rgba(231, 121, 43, 0.72) !important;
    background: linear-gradient(135deg, rgba(255, 244, 231, 0.98), rgba(255, 255, 255, 0.96)) !important;
    box-shadow: 0 0 0 1px rgba(231, 121, 43, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
    transform: scale(0.99);
}

.owner-menu-sort-drag,
.owner-menu-sort-fallback {
    cursor: grabbing !important;
    opacity: 0.58;
    transform: rotate(0.65deg) scale(0.985);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    filter: saturate(0.9);
}

.owner-menu-sort-fallback .owner-menu-card-actions,
.owner-menu-sort-drag .owner-menu-card-actions {
    opacity: 0.35;
}

.owner-menu-sort-fallback .owner-menu-item-secondary,
.owner-menu-sort-drag .owner-menu-item-secondary,
.owner-menu-sort-fallback .owner-menu-item-meta,
.owner-menu-sort-drag .owner-menu-item-meta {
    opacity: 0.65;
}

.owner-menu-category-card,
.owner-menu-addon-card,
.owner-menu-item-row,
.owner-menu-subtitle-section {
    cursor: grab;
}

.owner-menu-board.is-sorting .owner-menu-category-card,
.owner-menu-board.is-sorting .owner-menu-addon-card,
.owner-menu-board.is-sorting .owner-menu-item-row,
.owner-menu-board.is-sorting .owner-menu-subtitle-section {
    cursor: grabbing;
}

.owner-menu-category-card.is-selected {
    border-color: rgba(231, 121, 43, 0.75);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(231, 121, 43, 0.18);
}

.owner-menu-category-card:hover,
.owner-menu-addon-card:hover,
.owner-menu-item-card:hover,
.owner-menu-subtitle-card:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
}

.owner-menu-category-card.is-dragging,
.owner-menu-addon-card.is-dragging,
.owner-menu-item-row.is-dragging {
    opacity: 0.45;
    transform: scale(0.985);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.owner-menu-category-card.is-drop-target,
.owner-menu-addon-card.is-drop-target,
.owner-menu-item-row.is-drop-target,
.owner-menu-item-dropzone.is-drop-target {
    border-color: rgba(16, 42, 67, 0.28);
    box-shadow: 0 0 0 2px rgba(16, 42, 67, 0.1);
}

.owner-menu-category-card.is-drop-before::before,
.owner-menu-category-card.is-drop-after::after,
.owner-menu-addon-card.is-drop-before::before,
.owner-menu-addon-card.is-drop-after::after,
.owner-menu-item-row.is-drop-before::before,
.owner-menu-item-row.is-drop-after::after,
.owner-menu-item-dropzone.is-drop-append::after,
.owner-menu-category-lane.is-drop-append::after,
.owner-menu-addon-grid.is-drop-append::after {
    content: "Drop here";
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(16, 42, 67, 0.3);
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.06), rgba(231, 121, 43, 0.12));
    color: rgba(16, 42, 67, 0.6);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 1.05rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
    pointer-events: none;
    user-select: none;
    animation: ownerMenuPlaceholderPulse 900ms ease-in-out infinite;
}

.owner-menu-item-row.is-drop-before::before,
.owner-menu-item-row.is-drop-after::after {
    position: absolute;
    left: 0;
    right: 0;
    height: 3.5rem;
}

.owner-menu-item-row.is-drop-before::before {
    top: -4rem;
}

.owner-menu-item-row.is-drop-after::after {
    bottom: -4rem;
}

.owner-menu-category-card.is-drop-before::before,
.owner-menu-category-card.is-drop-after::after,
.owner-menu-addon-card.is-drop-before::before,
.owner-menu-addon-card.is-drop-after::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4.25rem;
}

.owner-menu-category-card.is-drop-before::before,
.owner-menu-addon-card.is-drop-before::before {
    left: -4.8rem;
}

.owner-menu-category-card.is-drop-after::after,
.owner-menu-addon-card.is-drop-after::after {
    right: -4.8rem;
}

.owner-menu-item-dropzone.is-drop-append::after {
    min-height: 5.35rem;
}

.owner-menu-category-lane.is-drop-append::after,
.owner-menu-addon-grid.is-drop-append::after {
    min-height: 10.5rem;
}

.owner-menu-category-lane.is-drop-append::after {
    min-width: 280px;
}

.owner-menu-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(255, 250, 244, 0.98), rgba(246, 250, 253, 0.94));
    gap: 0.75rem;
    padding: 1rem 1rem 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}

.owner-menu-category-header-main {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.owner-menu-category-copy {
    min-width: 0;
}

.owner-menu-category-toggle {
    width: 2rem;
    min-width: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(231, 121, 43, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: var(--owner-color-shell-accent);
    box-shadow: 0 8px 16px rgba(231, 121, 43, 0.08);
}

.owner-menu-category-toggle:hover {
    border-color: rgba(231, 121, 43, 0.32);
    background: rgba(255, 255, 255, 1);
}

.owner-menu-category-name {
    color: var(--owner-color-shell-accent);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.owner-menu-category-count {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    padding: 0.24rem 0.5rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.06);
    color: #6b7280;
    font-size: 0.73rem;
    font-weight: 700;
}

.owner-menu-accordion-panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 240ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 220ms ease;
    opacity: 1;
}

.owner-menu-accordion-panel.is-collapsed {
    grid-template-rows: 0fr;
    opacity: 0.72;
}

.owner-menu-accordion-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.owner-menu-category-toggle {
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.owner-menu-category-toggle i {
    transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.owner-menu-category-toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.owner-menu-item-dropzone {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 8rem;
    padding: 1rem;
}

.owner-menu-subtitle-section {
    will-change: transform;
}

.owner-menu-item-card,
.owner-menu-subtitle-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
    will-change: transform;
}

.owner-menu-item-card.owner-menu-subtitle-child {
    margin-left: 1.1rem;
    overflow: hidden;
    max-height: 10rem;
    opacity: 1;
    transition: max-height 240ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease, margin 180ms ease, padding 180ms ease, border-width 180ms ease, transform 180ms ease;
}

.owner-menu-item-card.owner-menu-subtitle-child::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: -0.8rem;
    bottom: -0.8rem;
    width: 2px;
    background: rgba(231, 121, 43, 0.18);
    border-radius: 999px;
}

.owner-menu-item-card.owner-menu-subtitle-child.is-subtitle-collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    pointer-events: none;
    transform: translateY(-6px);
}

.owner-menu-item-accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    border-radius: 1.1rem 0 0 1.1rem;
}

.owner-menu-item-main {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    flex: 1 1 auto;
}

.owner-menu-item-thumb,
.owner-menu-addon-thumb,
.owner-menu-item-preview-art {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 42, 67, 0.07);
    color: #667085;
    overflow: hidden;
    font-size: 1rem;
}

.owner-gift-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.owner-gift-shell {
    overflow: hidden;
}

.owner-gift-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(180px, 0.7fr) minmax(200px, 0.8fr);
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(145deg, rgba(255, 250, 244, 0.98), rgba(246, 250, 253, 0.94));
}

.owner-gift-toolbar .owner-menu-search-field {
    min-width: 0;
    width: 100%;
}

.owner-gift-filter-select {
    min-height: 2.75rem;
}

.owner-gift-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}

.owner-gift-summary-card {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.owner-gift-summary-card strong {
    display: block;
    margin-top: 0.35rem;
    color: #111827;
    font-size: 1.5rem;
    line-height: 1.05;
}

.owner-gift-summary-card small {
    display: block;
    margin-top: 0.35rem;
    color: #667085;
}

.owner-gift-summary-label {
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.owner-gift-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
    gap: 1rem;
    padding: 0 1.25rem 1.25rem;
}

.owner-gift-chart-card,
.owner-gift-monitor-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 1.05rem 1.15rem 1.15rem;
}

.owner-gift-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.owner-gift-section-kicker {
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.owner-gift-section-title {
    margin: 0.15rem 0 0;
    color: #18263a;
    font-size: 1.12rem;
    font-weight: 800;
}

.owner-gift-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: #667085;
    font-size: 0.83rem;
    font-weight: 700;
}

.owner-gift-legend-swatch {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    vertical-align: middle;
}

.owner-gift-legend-swatch.is-sales {
    background: #e7792b;
}

.owner-gift-legend-swatch.is-redeemed {
    background: #db2777;
}

.owner-gift-chart-shell {
    position: relative;
}

.owner-gift-chart {
    display: block;
    width: 100%;
    height: 260px;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 249, 243, 0.88), rgba(255, 255, 255, 0.96));
}

.owner-gift-chart-grid {
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
}

.owner-gift-chart-bar.is-sales {
    fill: rgba(231, 121, 43, 0.88);
}

.owner-gift-chart-bar.is-redeemed {
    fill: rgba(219, 39, 119, 0.78);
}

.owner-gift-chart-axis {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.7rem;
    color: #667085;
    font-size: 0.72rem;
    text-align: center;
}

.owner-gift-monitor-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.owner-gift-monitor-title {
    margin-bottom: 0.65rem;
    color: #18263a;
    font-size: 0.9rem;
    font-weight: 800;
}

.owner-gift-monitor-list {
    display: grid;
    gap: 0.65rem;
}

.owner-gift-monitor-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.92);
}

.owner-gift-monitor-item strong,
.owner-gift-monitor-item small {
    display: block;
}

.owner-gift-monitor-item strong {
    color: #111827;
}

.owner-gift-monitor-item small,
.owner-gift-monitor-empty {
    color: #667085;
}

.owner-gift-table .owner-gift-code {
    font-weight: 800;
    color: #111827;
}

.owner-gift-table .owner-gift-subcopy {
    color: #667085;
    font-size: 0.74rem;
}

.owner-gift-inline-note {
    color: #667085;
    font-size: 0.74rem;
    font-weight: 700;
}

.owner-gift-money {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.owner-gift-money.is-amount {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.owner-gift-money.is-balance {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.owner-gift-money.is-used {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}

.owner-gift-date.is-expired {
    color: #b42318;
    font-weight: 700;
}

.owner-gift-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem 1.1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.owner-gift-pagination-summary {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 700;
}

.owner-gift-pagination-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.owner-gift-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
}

.owner-gift-status-pill.is-active {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.owner-gift-status-pill.is-redeemed {
    background: rgba(219, 39, 119, 0.12);
    color: #9d174d;
}

.owner-gift-status-pill.is-deleted {
    background: rgba(148, 163, 184, 0.16);
    color: #475467;
}

.owner-gift-editor-shell {
    display: grid;
    gap: 1.1rem;
}

.owner-gift-create-mode {
    display: grid;
    gap: 0.55rem;
}

.owner-gift-mode-switch {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.owner-gift-mode-toggle {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #344054;
    font-weight: 700;
    padding: 0.45rem 0.95rem;
}

.owner-gift-mode-toggle.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.owner-gift-batch-note {
    color: #667085;
    font-size: 0.85rem;
    font-weight: 600;
}

.owner-gift-batch-preview {
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.04);
    color: #344054;
    font-size: 0.88rem;
    font-weight: 700;
}

.owner-gift-editor-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(255, 249, 243, 0.95), rgba(255, 255, 255, 0.98));
}

.owner-gift-editor-icon {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(231, 121, 43, 0.18), rgba(219, 39, 119, 0.15));
    color: #9a3412;
    font-size: 1.35rem;
}

.owner-gift-editor-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.owner-gift-editor-code {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 800;
}

.owner-gift-editor-status {
    margin-top: 0.25rem;
    color: #667085;
    font-weight: 700;
}

.owner-gift-editor-money {
    text-align: right;
}

.owner-gift-editor-money small {
    display: block;
    color: #667085;
    font-weight: 700;
}

.owner-gift-editor-money strong {
    display: block;
    margin-top: 0.15rem;
    color: #111827;
    font-size: 1.25rem;
}

.owner-gift-archive-toggle {
    display: inline-grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    column-gap: 0.6rem;
    margin-bottom: 0.35rem;
}

@media (max-width: 1199.98px) {
    .owner-gift-summary-grid,
    .owner-gift-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .owner-gift-toolbar,
    .owner-gift-insight-grid,
    .owner-gift-monitor-columns {
        grid-template-columns: 1fr;
    }

    .owner-gift-mode-switch {
        width: 100%;
    }

    .owner-gift-mode-toggle {
        flex: 1 1 0;
    }

    .owner-gift-pagination {
        display: grid;
        justify-content: stretch;
    }

    .owner-gift-pagination-controls {
        justify-content: flex-start;
    }

    .owner-gift-summary-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .owner-gift-summary-grid {
        grid-template-columns: 1fr;
    }

    .owner-gift-header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .owner-gift-header-actions .btn,
    .owner-gift-header-actions .owner-menu-location-pill {
        width: 100%;
        justify-content: center;
    }
}

.owner-menu-item-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-menu-item-thumb-fill {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
}

.owner-menu-item-thumb-label {
    padding: 0.25rem;
    text-align: center;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.2;
    color: #475467;
}

.owner-menu-item-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.owner-menu-item-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.owner-menu-item-name {
    color: #111827;
    font-size: 0.93rem;
    font-weight: 800;
    line-height: 1.2;
    min-width: 0;
}

.owner-menu-item-meta {
    color: #667085;
    font-family: var(--owner-font-data);
    font-size: 0.73rem;
    margin-top: 0.2rem;
}

.owner-menu-item-meta-compact {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.owner-menu-item-price {
    color: var(--owner-color-shell-accent);
    font-family: var(--owner-font-data);
    font-size: 0.92rem;
    font-weight: 800;
    flex: 0 0 auto;
    white-space: nowrap;
}

.owner-menu-item-secondary {
    margin-top: 0.42rem;
    color: #667085;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
}

.owner-menu-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.owner-menu-empty-dropzone {
    min-height: 5.5rem;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #7b8794;
    font-size: 0.78rem;
    text-align: center;
}

.owner-menu-subtitle-card {
    align-items: stretch;
    border-style: dashed;
    border-color: rgba(120, 53, 15, 0.18);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 1));
}

.owner-menu-subtitle-toggle {
    width: 2rem;
    min-width: 2rem;
    align-self: center;
    border-radius: 999px;
    border: 1px solid rgba(194, 65, 12, 0.16);
    background: rgba(255, 255, 255, 0.7);
    color: #9a3412;
}

.owner-menu-subtitle-toggle:hover {
    border-color: rgba(194, 65, 12, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: #7c2d12;
}

.owner-menu-subtitle-toggle i {
    transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.owner-menu-subtitle-toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.owner-menu-subtitle-bar {
    width: 0.55rem;
    align-self: stretch;
    border-radius: 999px;
    background: linear-gradient(180deg, #e7792b, #f4b57d);
}

.owner-menu-subtitle-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
}

.owner-menu-subtitle-copy[data-action="toggle-subtitle"] {
    cursor: pointer;
}

.owner-menu-subtitle-label {
    color: #9a3412;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.owner-menu-subtitle-count {
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 700;
}

.owner-menu-addon-price-inline {
    color: #111827;
    font-weight: 800;
}

.owner-menu-addon-inline-id {
    color: #667085;
}

.owner-menu-search-mark {
    padding: 0 0.18rem;
    border-radius: 0.35rem;
    background: rgba(231, 121, 43, 0.2);
    color: inherit;
}

.owner-menu-category-card.is-search-dim,
.owner-menu-addon-card.is-search-dim,
.owner-menu-item-row.is-search-dim {
    opacity: 0.42;
}

.owner-menu-category-card.is-search-match,
.owner-menu-addon-card.is-search-match,
.owner-menu-item-row.is-search-match {
    box-shadow: 0 12px 28px rgba(231, 121, 43, 0.14);
}

.owner-menu-subtitle-actions {
    align-self: center;
}

.owner-menu-subtitle-kicker {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #c2410c;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.owner-menu-addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.owner-menu-addon-card {
    padding: 1rem;
    cursor: pointer;
}

.owner-menu-addon-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.owner-menu-addon-swatch,
.owner-menu-item-preview-swatch {
    width: 0.7rem;
    height: 3rem;
    border-radius: 999px;
    background: #e7792b;
}

.owner-menu-addon-card-body {
    margin-bottom: 0.85rem;
}

.owner-menu-color-input {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.25rem;
    border-radius: 0.9rem;
}

.owner-menu-form-section {
    margin-top: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.owner-menu-form-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.owner-menu-form-section-title {
    color: var(--owner-color-shell-accent);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.owner-menu-item-preview {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    min-height: 8.5rem;
    padding: 1rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96));
}

.owner-menu-item-preview-copy {
    min-width: 0;
}

.owner-menu-item-preview-title {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
}

.owner-menu-item-preview-subtitle {
    color: #667085;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.owner-menu-addon-checklist {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.owner-menu-addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.owner-menu-addon-option-main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.owner-menu-addon-option-main strong,
.owner-menu-addon-option-main small {
    display: block;
}

.owner-menu-addon-option-main small {
    color: #667085;
    font-size: 0.75rem;
}

@keyframes ownerMenuPlaceholderPulse {
    0%,
    100% {
        transform: scale(1);
        border-color: rgba(16, 42, 67, 0.22);
    }

    50% {
        transform: scale(1.01);
        border-color: rgba(231, 121, 43, 0.55);
    }
}

@keyframes ownerMenuPlaceholderSlide {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.owner-modal-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b8794;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.owner-location-modal-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.owner-location-modal-card,
.owner-security-block {
    padding: 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 251, 0.92));
}

.owner-location-modal-card.is-active {
    border-color: rgba(231, 121, 43, 0.4);
    box-shadow: 0 14px 28px rgba(231, 121, 43, 0.12);
}

.owner-location-modal-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.owner-location-modal-card-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--owner-color-shell-accent);
}

.owner-location-modal-card-meta {
    color: #6b7280;
    font-size: 0.82rem;
}

.owner-location-modal-card-id,
.owner-location-editor-id,
.owner-account-id {
    font-family: var(--owner-font-data);
    font-weight: 700;
    color: var(--owner-color-shell-accent);
}

.owner-location-modal-card-id {
    font-size: 1.1rem;
}

.owner-location-modal-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.owner-location-editor-id,
.owner-account-id {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.06);
    letter-spacing: 0.04em;
}

.owner-modal-link {
    font-weight: 700;
    text-decoration: none;
}

.owner-security-title {
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--owner-color-shell-accent);
}

.owner-empty-state {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.4rem;
    border-radius: 1.2rem;
    background: rgba(16, 42, 67, 0.04);
    color: #64748b;
    text-align: center;
}

.owner-empty-state i {
    font-size: 1.35rem;
    color: #9aa8bc;
}

.owner-empty-state-sm {
    min-height: 140px;
}

.owner-api-key-table {
    font-family: var(--owner-font-data);
    font-size: 0.82rem;
}

.owner-api-key-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    color: #7b8794;
}

.owner-api-key-table code {
    font-size: 0.75rem;
    color: #7c3aed;
}

.owner-technician-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding-inline: 1rem;
}

.owner-tech-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1rem 0.5rem;
}

.owner-tech-table-count {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.owner-tech-table-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.owner-tech-table-filters .owner-menu-search-field {
    min-width: min(100%, 320px);
}

.owner-tech-inline-toggle {
    display: inline-grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 0.65rem;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    color: #475467;
    font-size: 0.92rem;
    font-weight: 700;
}

.owner-tech-inline-toggle.form-switch,
.owner-pos-toggle.form-switch,
.form-check.form-switch.m-0,
.owner-tech-access-flag,
.owner-tech-flag,
.owner-growth-inline-check,
.owner-pos-program-check,
.owner-gift-archive-toggle {
    /* padding-left: 0; */
}

.owner-tech-inline-toggle .form-check-input {
    float: none;
    margin: 0 !important;
}

.owner-pos-toggle .form-check-input,
.form-check.form-switch.m-0 .form-check-input,
.owner-tech-access-flag .form-check-input,
.owner-tech-flag .form-check-input,
.owner-growth-inline-check .form-check-input,
.owner-pos-program-check .form-check-input,
.owner-gift-archive-toggle .form-check-input {
    float: none;
    margin-left: 0 !important;
    margin-right: 0;
}

.owner-tech-inline-toggle .form-check-label,
.owner-tech-access-flag .form-check-label,
.owner-tech-flag .form-check-label,
.owner-growth-inline-check .form-check-label,
.owner-pos-program-check .form-check-label,
.owner-gift-archive-toggle .form-check-label {
    cursor: pointer;
    min-width: 0;
}

.owner-technician-table thead th {
    white-space: nowrap;
}

.owner-tech-table-avatar {
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.12), rgba(29, 78, 216, 0.12));
}

.owner-tech-table-avatar-img,
.owner-tech-avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-tech-table-avatar-fallback {
    font-weight: 800;
    color: var(--owner-color-shell-accent);
}

.owner-tech-name-link {
    font-weight: 800;
    text-decoration: none;
}

.owner-technician-table tbody tr.is-current-location {
    background: rgba(74, 222, 128, 0.06);
}

.owner-tech-location-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.owner-tech-location-indicator.is-assigned {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.owner-tech-location-indicator.is-other {
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
}

.owner-tech-app-access-cell {
    display: grid;
    gap: 0.45rem;
}

.owner-tech-app-access-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
}

.owner-tech-app-access-status.is-none {
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
}

.owner-tech-app-access-status.is-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.owner-tech-app-access-status.is-active {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.owner-tech-app-access-status.is-inactive {
    background: rgba(148, 163, 184, 0.16);
    color: #475467;
}

.owner-tech-avatar-editor {
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.92));
}

.owner-tech-avatar-preview-wrap {
    aspect-ratio: 1;
    width: min(100%, 240px);
    margin: 0 auto 1rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(16, 42, 67, 0.04);
    border: 1px dashed rgba(16, 42, 67, 0.16);
}

.owner-tech-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
}

.owner-tech-avatar-placeholder i {
    font-size: 1.35rem;
}

.owner-photo-picker-shell {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 1.25rem;
}

.owner-photo-picker-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.owner-photo-picker-toolbar {
    padding: 1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.92));
}

.owner-photo-picker-note {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.45;
}

.owner-photo-picker-library {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 32rem;
    overflow: auto;
    padding-right: 0.15rem;
}

.owner-photo-picker-library-card {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: #fff;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-photo-picker-library-card:hover,
.owner-photo-picker-library-card.is-selected {
    border-color: rgba(231, 121, 43, 0.45);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.owner-photo-picker-library-thumb {
    display: block;
    width: 3.4rem;
    height: 3.4rem;
    overflow: hidden;
    border-radius: 0.85rem;
    background: rgba(16, 42, 67, 0.05);
}

.owner-photo-picker-library-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-photo-picker-library-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.owner-photo-picker-library-copy strong,
.owner-photo-picker-library-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.owner-photo-picker-library-copy small {
    color: #64748b;
}

.owner-photo-picker-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.owner-photo-picker-workspace {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.owner-photo-picker-canvas-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(45deg, rgba(15, 23, 42, 0.03) 25%, transparent 25%, transparent 75%, rgba(15, 23, 42, 0.03) 75%),
        linear-gradient(45deg, rgba(15, 23, 42, 0.03) 25%, transparent 25%, transparent 75%, rgba(15, 23, 42, 0.03) 75%),
        #fff;
    background-position: 0 0, 12px 12px, 0 0;
    background-size: 24px 24px, 24px 24px, auto;
}

.owner-photo-picker-canvas-wrap canvas {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 1;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.owner-photo-picker-controls {
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.92));
}

.owner-photo-picker-controls .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475467;
}

.owner-photo-picker-controls .form-range {
    margin-bottom: 0.9rem;
}

.owner-photo-picker-status,
.owner-photo-picker-empty {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(16, 42, 67, 0.05);
    color: #64748b;
    font-size: 0.86rem;
}

@media (max-width: 991.98px) {
    .owner-photo-picker-shell,
    .owner-photo-picker-workspace,
    .owner-tech-access-flags,
    .owner-tech-access-meta-grid {
        grid-template-columns: 1fr;
    }

    .owner-tech-table-filters {
        width: 100%;
    }

    .owner-tech-table-filters .owner-menu-search-field,
    .owner-tech-inline-toggle {
        width: 100%;
    }

    .owner-tech-inline-toggle {
        justify-content: space-between;
    }
}

.owner-tech-form-section {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.owner-tech-form-section-title {
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-tech-access-summary {
    margin-bottom: 1rem;
}

.owner-tech-access-card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.92));
}

.owner-tech-access-status {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.owner-tech-access-status.is-none {
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
}

.owner-tech-access-status.is-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.owner-tech-access-status.is-active {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.owner-tech-access-status.is-inactive {
    background: rgba(148, 163, 184, 0.16);
    color: #475467;
}

.owner-tech-access-code {
    margin-top: 0.55rem;
    color: #101828;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.owner-tech-access-copy {
    margin-top: 0.2rem;
    color: #667085;
    font-size: 0.85rem;
}

.owner-tech-access-meta {
    min-height: 2.65rem;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.8);
    font-weight: 700;
    color: #344054;
}

.owner-tech-access-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.owner-tech-access-meta-grid div {
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.04);
}

.owner-tech-access-meta-grid strong,
.owner-tech-access-meta-grid span {
    display: block;
}

.owner-tech-access-meta-grid strong {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #667085;
}

.owner-tech-access-meta-grid span {
    margin-top: 0.3rem;
    color: #101828;
    font-weight: 700;
}

.owner-tech-access-section {
    margin-top: 1rem;
}

.owner-tech-access-section-title {
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-tech-access-flags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.owner-tech-access-flag {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    column-gap: 0.65rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: #fff;
}

.owner-tech-access-flags-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.owner-tech-access-flags-summary span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #475467;
    font-size: 0.78rem;
    font-weight: 700;
}

.owner-tech-tag-picker {
    position: relative;
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.8);
}

.owner-tech-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.owner-tech-tag {
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.08);
    color: var(--owner-color-shell-accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.owner-tech-tag-input {
    border: 0;
    box-shadow: none !important;
    padding-inline: 0;
    background: transparent;
}

.owner-tech-tag-suggestions {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% - 0.25rem);
    z-index: 20;
    padding: 0.45rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.owner-tech-suggestion {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    text-align: left;
}

.owner-tech-suggestion:hover,
.owner-tech-suggestion:focus {
    background: rgba(16, 42, 67, 0.06);
}

.owner-tech-suggestion small {
    color: #64748b;
}

.owner-tech-flag-grid {
    display: grid;
    gap: 0.55rem;
}

.owner-tech-flag {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.75);
}

@keyframes ownerShellRise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.owner-dashboard .card,
.owner-dashboard .table,
.owner-dashboard .form-control,
.owner-dashboard .form-select,
.owner-dashboard .btn {
    font-size: var(--owner-font-size-control);
}

.owner-dashboard .table {
    font-family: var(--owner-font-data);
}

.owner-dashboard .card,
.owner-dashboard .owner-panel,
.owner-dashboard .owner-kpi-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.25rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.owner-dashboard .owner-kpi-card .card-body {
    padding: var(--owner-space-lg) var(--owner-space-xl);
}

.owner-dashboard .owner-kpi-label {
    color: var(--owner-color-text-muted);
    font-size: var(--owner-font-size-kpi-label);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.owner-dashboard .owner-kpi-value {
    font-size: var(--owner-font-size-kpi-value);
    font-weight: 700;
    line-height: 1.1;
}

.owner-dashboard .owner-panel .card-header {
    font-size: var(--owner-font-size-panel-header);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 1.35rem 1.35rem 0 0;
}

.owner-dashboard .owner-report-filter-card {
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 70%, #b8d8ff 30%);
    background:
        radial-gradient(circle at 88% 16%, var(--owner-color-filter-card-glow-1), transparent 38%),
        radial-gradient(circle at 14% 120%, var(--owner-color-filter-card-glow-2), transparent 42%),
        linear-gradient(120deg, var(--owner-color-filter-card-bg-1), var(--owner-color-filter-card-bg-2));
    box-shadow: 0 5px 15px var(--owner-color-filter-card-glow-1);
}

.owner-dashboard .owner-location-select {
    font-size: var(--owner-size-location-select-font);
    min-height: 44px;
    font-weight: 600;
}

.owner-dashboard .owner-date-range-picker {
    position: relative;
}

.owner-dashboard .owner-date-range-trigger {
    min-height: 44px;
    font-size: 0.94rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-color: var(--owner-color-border-soft);
    background: var(--owner-color-bg-white);
}

.owner-dashboard .owner-date-range-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    z-index: 20;
    width: 100%;
    min-width: var(--owner-size-date-panel-min-width);
    border: 1px solid var(--owner-color-border-soft);
    border-radius: var(--owner-radius-sm);
    background: var(--owner-color-bg-white);
    padding: 0.75rem;
    box-shadow: 0 18px 36px var(--owner-color-date-panel-shadow);
}

.owner-dashboard .owner-date-range-presets {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.owner-dashboard .owner-date-range-presets .btn {
    font-weight: 600;
}

.owner-dashboard .owner-view-sales-btn {
    min-height: var(--owner-size-filter-cta-min-height);
    font-size: var(--owner-size-filter-cta-font);
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 0;
    color: var(--owner-color-filter-cta-text);
    background: linear-gradient(135deg, var(--owner-color-filter-cta-grad-1), var(--owner-color-filter-cta-grad-2));
    box-shadow: 0 10px 18px -10px var(--owner-color-filter-cta-shadow);
}

.owner-dashboard .owner-view-sales-btn:hover,
.owner-dashboard .owner-view-sales-btn:focus {
    color: var(--owner-color-filter-cta-text);
    background: linear-gradient(135deg, color-mix(in srgb, var(--owner-color-filter-cta-grad-1) 88%, #ffffff 12%), color-mix(in srgb, var(--owner-color-filter-cta-grad-2) 88%, #ffffff 12%));
}

.owner-dashboard .owner-report-shell-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-report-actionbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.owner-dashboard .owner-report-column-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.owner-dashboard .owner-report-column-btn {
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 78%, #8cc8ff 22%);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--owner-color-text-primary);
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
}

.owner-dashboard .owner-report-column-btn.is-active {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #075985;
}

.owner-dashboard .owner-calendar-shell {
    border: 1px solid var(--owner-color-border-soft);
    border-radius: var(--owner-radius-sm);
    padding: 0.55rem;
    background: #fcfdff;
}

.owner-dashboard .owner-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.owner-dashboard .owner-calendar-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.owner-dashboard .owner-calendar-nav {
    width: 2rem;
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.owner-dashboard .owner-calendar-weekdays,
.owner-dashboard .owner-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.owner-dashboard .owner-calendar-weekday {
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--owner-color-text-meta);
    font-weight: 700;
    padding: 0.2rem 0;
}

.owner-dashboard .owner-calendar-day {
    border: 0;
    background: transparent;
    border-radius: 0.5rem;
    min-height: var(--owner-size-calendar-day);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--owner-color-text-primary);
    transition: background-color 0.12s ease, color 0.12s ease;
}

.owner-dashboard .owner-calendar-day:hover {
    background: var(--owner-color-calendar-day-hover);
}

.owner-dashboard .owner-calendar-day.is-outside {
    color: var(--owner-color-calendar-outside);
}

.owner-dashboard .owner-calendar-day.is-in-range {
    background: var(--owner-color-calendar-day-range);
}

.owner-dashboard .owner-calendar-day.is-selected {
    background: var(--owner-color-calendar-day-selected);
    color: var(--owner-color-calendar-day-selected-text);
}

.owner-dashboard .owner-calendar-day.is-today {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--owner-color-calendar-day-selected) 60%, #ffffff 40%);
}

.owner-dashboard #owner-week-preview {
    color: var(--owner-color-text-meta);
    font-size: 0.78rem;
    font-weight: 500;
}

.owner-dashboard .owner-module-nav .btn {
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.78rem;
}

.owner-dashboard .owner-table th {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: var(--owner-font-size-table-head);
}

.owner-dashboard .owner-table td {
    white-space: nowrap;
    font-size: var(--owner-font-size-table-cell);
}

.owner-dashboard .owner-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--owner-space-md);
}

.owner-dashboard .owner-location-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--owner-size-location-min-height);
    border: 1px solid var(--owner-color-border-soft);
    border-radius: var(--owner-radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    padding: var(--owner-space-lg) var(--owner-space-xxl);
    text-decoration: none;
    color: var(--owner-color-text-primary);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.owner-dashboard .owner-location-btn:hover {
    border-color: var(--owner-color-border-hover);
    box-shadow: var(--owner-shadow-location-hover);
    transform: translateY(-1px);
}

.owner-dashboard .owner-location-title {
    font-weight: 700;
    font-size: 0.96rem;
    line-height: 1.2;
}

.owner-dashboard .owner-location-meta {
    margin-top: var(--owner-space-xs);
    font-size: 0.78rem;
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-income-panel .card-body {
    padding: var(--owner-space-xl);
}

.owner-dashboard .owner-income-period {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-income-panel-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--owner-space-lg);
    margin-bottom: var(--owner-space-lg);
}

.owner-dashboard .owner-income-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-income-location {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-income-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(136px, 1fr));
    gap: var(--owner-space-sm);
    min-width: min(100%, 440px);
}

.owner-dashboard .owner-income-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 84%, #6fb3ff 16%);
    border-radius: var(--owner-radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 248, 255, 0.96) 100%);
}

.owner-dashboard .owner-income-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-income-stat strong {
    font-size: 1.1rem;
    line-height: 1.15;
    color: #0f172a;
}

.owner-dashboard .owner-income-stat small {
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-income-chart-shell {
    overflow-x: auto;
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 82%, #8cc8ff 18%);
    border-radius: 1rem;
    background:
        radial-gradient(circle at top left, rgba(77, 163, 255, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.owner-dashboard .owner-income-chart {
    display: block;
    width: 100%;
    min-width: 720px;
    height: auto;
}

.owner-dashboard .owner-income-grid {
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
}

.owner-dashboard .owner-income-grid-label {
    fill: var(--owner-color-text-subtle);
    font-size: 11px;
    font-weight: 600;
}

.owner-dashboard .owner-income-area {
    fill: rgba(14, 165, 233, 0.16);
}

.owner-dashboard .owner-income-line {
    fill: none;
    stroke: #0284c7;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.owner-dashboard .owner-income-dot {
    fill: #ffffff;
    stroke: #0284c7;
    stroke-width: 3;
}

.owner-dashboard .owner-income-axis-labels {
    display: flex;
    justify-content: space-between;
    gap: var(--owner-space-sm);
    margin-top: var(--owner-space-sm);
    color: var(--owner-color-text-subtle);
    font-size: 0.78rem;
    font-weight: 600;
}

.owner-dashboard .owner-income-empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.owner-dashboard .owner-analytics-source {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-analytics-shell {
    display: grid;
    gap: var(--owner-space-lg);
}

.owner-dashboard .owner-analytics-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--owner-space-lg);
}

.owner-dashboard .owner-analytics-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(136px, 1fr));
    gap: var(--owner-space-sm);
    min-width: min(100%, 440px);
}

.owner-dashboard .owner-analytics-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--owner-space-md);
    align-items: center;
}

.owner-dashboard .owner-analytics-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
}

.owner-dashboard .owner-analytics-range-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.owner-dashboard .owner-analytics-charttype-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.owner-dashboard .owner-analytics-range-btn {
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 78%, #8cc8ff 22%);
    background: #fff;
    color: var(--owner-color-text-primary);
    border-radius: 999px;
    padding: 0.52rem 0.92rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.owner-dashboard .owner-analytics-range-btn:hover {
    border-color: #7cc3ff;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.12);
}

.owner-dashboard .owner-analytics-range-btn.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.owner-dashboard .owner-analytics-charttype-btn {
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 78%, #8cc8ff 22%);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--owner-color-text-primary);
    border-radius: 999px;
    padding: 0.48rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.owner-dashboard .owner-analytics-charttype-btn:hover {
    border-color: #7cc3ff;
}

.owner-dashboard .owner-analytics-charttype-btn.is-active {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #075985;
    box-shadow: 0 8px 18px rgba(56, 189, 248, 0.14);
}

.owner-dashboard .owner-analytics-toggle-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.owner-dashboard .owner-analytics-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 78%, #8cc8ff 22%);
    border-radius: 999px;
    padding: 0.48rem 0.78rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--owner-color-text-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.owner-dashboard .owner-analytics-toggle input {
    margin: 0;
}

.owner-dashboard .owner-analytics-period-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--owner-space-md);
    align-items: flex-end;
}

.owner-dashboard .owner-analytics-period {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-analytics-granularity {
    color: var(--owner-color-text-subtle);
    font-size: 0.8rem;
    font-weight: 600;
}

.owner-dashboard .owner-analytics-legend-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.owner-dashboard .owner-analytics-legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.78rem;
    font-weight: 700;
}

.owner-dashboard .owner-analytics-legend-chip::before {
    content: "";
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    display: inline-block;
}

.owner-dashboard .owner-analytics-legend-income::before {
    background: #0284c7;
}

.owner-dashboard .owner-analytics-legend-cash::before {
    background: #16a34a;
}

.owner-dashboard .owner-analytics-legend-card::before {
    background: #f59e0b;
}

.owner-dashboard .owner-analytics-line-shell {
    margin-top: -0.15rem;
    position: relative;
}

.owner-dashboard .owner-analytics-line-chart {
    min-width: 760px;
}

.owner-dashboard .owner-analytics-hitbox {
    cursor: crosshair;
}

.owner-dashboard .owner-analytics-axis-labels {
    min-height: 1.1rem;
}

.owner-dashboard .owner-analytics-tooltip {
    position: absolute;
    z-index: 5;
    min-width: 150px;
    max-width: 220px;
    padding: 0.72rem 0.8rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
    pointer-events: none;
}

.owner-dashboard .owner-analytics-tooltip-date {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.45rem;
    color: #e2e8f0;
}

.owner-dashboard .owner-analytics-tooltip-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
}

.owner-dashboard .owner-analytics-tooltip-row+.owner-analytics-tooltip-row {
    margin-top: 0.26rem;
}

.owner-dashboard .owner-analytics-tooltip-swatch {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
}

.owner-dashboard .owner-analytics-tooltip-label {
    color: #cbd5e1;
}

.owner-dashboard .owner-analytics-mix-card {
    height: 100%;
    border: 1px solid color-mix(in srgb, var(--owner-color-border-soft) 82%, #a1d5ff 18%);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
    padding: var(--owner-space-lg);
}

.owner-dashboard .owner-analytics-mix-head {
    margin-bottom: var(--owner-space-md);
}

.owner-dashboard .owner-analytics-mix-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-analytics-mix-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--owner-space-lg);
}

.owner-dashboard .owner-analytics-donut {
    width: 172px;
    height: 172px;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
    background: conic-gradient(#e5e7eb 0deg 360deg);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.owner-dashboard .owner-analytics-donut::after {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.owner-dashboard .owner-analytics-donut-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.owner-dashboard .owner-analytics-donut-center strong {
    font-size: 1rem;
    line-height: 1.1;
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-analytics-donut-center span {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--owner-color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.owner-dashboard .owner-analytics-legend-list {
    display: grid;
    gap: 0.65rem;
    min-width: min(100%, 220px);
    flex: 1 1 220px;
}

.owner-dashboard .owner-analytics-legend-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.owner-dashboard .owner-analytics-legend-swatch {
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 50%;
    margin-top: 0.18rem;
    flex: 0 0 auto;
}

.owner-dashboard .owner-analytics-legend-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.owner-dashboard .owner-analytics-legend-copy strong {
    font-size: 0.86rem;
    line-height: 1.15;
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-analytics-legend-copy small {
    color: var(--owner-color-text-subtle);
}

.owner-dashboard .owner-location-list .list-group-item {
    padding: var(--owner-space-md) var(--owner-space-lg);
    border-left: 0;
    border-right: 0;
    font-size: var(--owner-font-size-table-cell);
}

.owner-dashboard .owner-location-list .list-group-item.active {
    background: var(--owner-color-location-active);
    border-color: var(--owner-color-location-active);
}

.owner-dashboard .owner-submenu .nav-link {
    padding: var(--owner-space-sm) var(--owner-radius-md);
    font-size: var(--owner-font-size-submenu);
}

.owner-dashboard .owner-submenu .nav-link.active {
    font-weight: 600;
}

.owner-files-shell {
    overflow: hidden;
}

.owner-files-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(25, 43, 68, 0.08);
    background: linear-gradient(180deg, rgba(249, 244, 235, 0.7) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.owner-files-search-field {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: min(100%, 26rem);
    margin: 0;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(25, 43, 68, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: #4e5d71;
}

.owner-files-search-field .form-control {
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.owner-files-toolbar-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    color: #6a778a;
    font-size: 0.82rem;
}

.owner-files-relation-note {
    max-width: 32rem;
}

.owner-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}

.owner-files-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(25, 43, 68, 0.08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(18, 34, 57, 0.08);
    overflow: hidden;
}

.owner-files-card-preview {
    position: relative;
    width: 100%;
    border: 0;
    padding: 0;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(232, 239, 244, 0.9), rgba(249, 244, 235, 0.9));
    cursor: zoom-in;
}

.owner-files-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-files-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1rem 0.8rem;
}

.owner-files-card-title {
    color: #18263a;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.owner-files-card-file {
    color: #5f6b7d;
    font-size: 0.8rem;
    word-break: break-all;
}

.owner-files-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: #7a8798;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.owner-files-card-meta span {
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(25, 43, 68, 0.06);
}

.owner-files-card-actions {
    display: flex;
    gap: 0.55rem;
    padding: 0 1rem 1rem;
}

.owner-files-card-actions .btn {
    flex: 1 1 0;
}

.owner-files-lightbox-modal {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.98), rgba(28, 37, 51, 0.98));
    color: #f8fafc;
}

.owner-files-lightbox-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.owner-files-lightbox-stage {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.owner-files-lightbox-frame {
    min-height: 66vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.35rem;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.92));
    overflow: hidden;
}

.owner-files-lightbox-frame img {
    max-width: 100%;
    max-height: 66vh;
    object-fit: contain;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.modal.show .owner-files-lightbox-frame img {
    transform: scale(1);
    opacity: 1;
}

.owner-files-lightbox-caption {
    display: grid;
    gap: 0.35rem;
}

.owner-files-lightbox-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.owner-files-lightbox-meta {
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
}

.owner-files-lightbox-nav {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.owner-files-lightbox-nav:disabled {
    opacity: 0.35;
}

.owner-files-editor-modal {
    overflow: hidden;
}

.owner-files-editor-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
}

.owner-files-editor-stage {
    display: grid;
    gap: 0.85rem;
}

.owner-files-editor-canvas-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.96), rgba(246, 250, 253, 0.9));
}

.owner-files-editor-canvas-wrap canvas {
    width: min(100%, 640px);
    height: auto;
    aspect-ratio: 1;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    cursor: grab;
}

.owner-files-editor-canvas-wrap canvas.is-dragging {
    cursor: grabbing;
}

.owner-files-editor-status {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 700;
}

.owner-files-editor-controls {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.92));
}

.owner-files-editor-file {
    color: #344054;
    font-size: 0.92rem;
    font-weight: 700;
    word-break: break-word;
}

.owner-files-editor-section {
    display: grid;
    gap: 0.45rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.owner-files-editor-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.owner-files-editor-section-title {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.owner-files-editor-rotate-row {
    display: flex;
    gap: 0.6rem;
}

.owner-files-editor-rotate-row .btn {
    flex: 1 1 0;
}

.owner-files-editor-note {
    color: #667085;
    font-size: 0.8rem;
    font-weight: 600;
}

.owner-growth-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #344054;
    font-weight: 700;
}

.owner-growth-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.owner-growth-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.owner-growth-summary-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.15rem;
    background: linear-gradient(160deg, rgba(255, 250, 244, 0.96), rgba(246, 250, 253, 0.94));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.owner-growth-summary-label,
.owner-growth-program-kicker,
.owner-growth-side-kicker {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.owner-growth-summary-card strong {
    color: #101828;
    font-size: 1.55rem;
    font-weight: 800;
}

.owner-growth-summary-card span {
    color: #475467;
    font-size: 0.86rem;
    font-weight: 600;
}

.owner-growth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 1rem;
}

.owner-growth-main,
.owner-growth-side,
.owner-growth-boost-list {
    display: grid;
    gap: 1rem;
}

.owner-growth-program-card .card-body,
.owner-growth-insight-card .card-body {
    display: grid;
    gap: 1rem;
}

.owner-growth-program-card {
    border: 2px solid rgba(255, 255, 255, 0.6)!important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12)!important;

}

.owner-growth-program-card.is-loyalty {
    background: linear-gradient(145deg, rgba(239, 246, 255, 0.98), rgba(224, 242, 254, 0.92));
}

.owner-growth-program-card.is-membership {
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.98), rgba(254, 215, 170, 0.24));
}

.owner-growth-program-card.is-prepaid {
    background: linear-gradient(145deg, rgba(240, 253, 244, 0.98), rgba(187, 247, 208, 0.28));
}

.owner-growth-program-card.is-referral {
    background: linear-gradient(145deg, rgba(250, 245, 255, 0.98), rgba(233, 213, 255, 0.3));
}

.owner-growth-program-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.owner-growth-program-title,
.owner-growth-side-title {
    margin: 0.3rem 0 0;
    color: #101828;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
}

.owner-growth-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.owner-growth-status-pill.is-live {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.owner-growth-status-pill.is-idle {
    background: rgba(148, 163, 184, 0.16);
    color: #475467;
}

.owner-growth-program-actions {
    display: flex;
    justify-content: flex-end;
}

.owner-growth-manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.owner-growth-metric-grid,
.owner-growth-legacy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.owner-growth-metric-grid div,
.owner-growth-legacy-grid div {
    display: grid;
    gap: 0.22rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.04);
}

.owner-growth-metric-grid strong,
.owner-growth-legacy-grid strong {
    color: #101828;
    font-size: 1.2rem;
    font-weight: 800;
}

.owner-growth-metric-grid span,
.owner-growth-legacy-grid span,
.owner-growth-side-note {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 600;
}

.owner-growth-boost-card {
    display: grid;
    gap: 0.4rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.owner-growth-boost-card strong {
    color: #101828;
    font-size: 0.95rem;
    font-weight: 800;
}

.owner-growth-boost-card p {
    margin: 0;
    color: #475467;
    font-size: 0.86rem;
    line-height: 1.45;
}

.owner-growth-boost-card.is-primary {
    background: linear-gradient(180deg, rgba(239, 248, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.owner-growth-boost-card.is-warning {
    background: linear-gradient(180deg, rgba(255, 250, 235, 0.96), rgba(255, 255, 255, 0.98));
}

.owner-growth-boost-card.is-info {
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.96), rgba(255, 255, 255, 0.98));
}

.owner-growth-modal-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
}

.owner-growth-modal-list-pane,
.owner-growth-modal-form-pane {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}

.owner-growth-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.owner-growth-modal-subtypes {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.owner-growth-subtype-btn {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
}

.owner-growth-subtype-btn.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.owner-growth-definition-list {
    display: grid;
    gap: 0.75rem;
}

.owner-growth-definition-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
}

.owner-growth-definition-title {
    color: #101828;
    font-weight: 800;
}

.owner-growth-definition-meta {
    margin-top: 0.25rem;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 600;
}

.owner-growth-definition-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.owner-growth-form-section {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.owner-growth-inline-check {
    display: inline-grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 0.6rem;
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 0.95rem;
    background: rgba(15, 23, 42, 0.04);
}

.owner-growth-inline-check .form-check-input {
    float: none;
    margin: 0;
}

.owner-growth-pos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

@media (max-width: 991.98px) {
    .owner-growth-summary-grid,
    .owner-growth-layout,
    .owner-growth-metric-grid,
    .owner-growth-legacy-grid,
    .owner-growth-modal-shell,
    .owner-growth-pos-grid,
    .owner-files-lightbox-body,
    .owner-files-editor-shell {
        grid-template-columns: 1fr;
    }

    .owner-growth-definition-card,
    .owner-growth-modal-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .owner-files-lightbox-body {
        gap: 0.75rem;
    }

    .owner-files-lightbox-nav {
        width: 100%;
        height: auto;
        padding: 0.7rem 0.9rem;
    }

    .owner-files-lightbox-nav.is-prev,
    .owner-files-lightbox-nav.is-next {
        order: 2;
    }
}

.owner-dashboard .owner-report-main {
    min-height: var(--owner-size-report-min-height);
    border-radius: 1rem;
}

.owner-report-sheet {
    color: #0f172a;
}

.owner-report-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.owner-report-sheet-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-report-sheet-title {
    margin: 0.15rem 0 0.2rem;
    font-size: 1.65rem;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
}

.owner-report-sheet-period {
    color: #475569;
    font-weight: 600;
}

.owner-report-sheet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.owner-report-sheet-meta>div,
.owner-report-sheet-stat {
    min-width: 92px;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.owner-report-sheet-meta strong,
.owner-report-sheet-stat strong {
    display: block;
    font-size: 1rem;
    line-height: 1.15;
    color: #0f172a;
}

.owner-report-sheet-meta span,
.owner-report-sheet-stat span {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-report-sheet-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.owner-report-sheet-section+.owner-report-sheet-section {
    margin-top: 1.15rem;
}

.owner-report-sheet-section {
    break-inside: avoid;
    page-break-inside: avoid;
}

.owner-report-sheet-section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}

.owner-report-sheet-section-title span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-report-sheet-table-wrap {
    overflow: auto;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
}

.owner-report-sheet-table {
    width: 100%;
    min-width: max-content;
    border-collapse: separate;
    border-spacing: 0;
}

.owner-report-sheet-table th,
.owner-report-sheet-table td {
    padding: 0.55rem 0.7rem;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    white-space: nowrap;
    font-size: 0.82rem;
}

.owner-report-sheet-table th {
    background: #eff6ff;
    font-weight: 700;
    color: #0f172a;
}

.owner-report-sheet-table thead th:first-child,
.owner-report-sheet-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}

.owner-report-sheet-table thead th:first-child {
    background: #eff6ff;
    z-index: 2;
}

.owner-report-sheet-table tbody tr:nth-child(even) td {
    background: #fafcff;
}

.owner-report-sheet-table tbody tr:nth-child(even) td:first-child {
    background: #fafcff;
}

.owner-report-sheet-total-row td {
    background: #e0f2fe !important;
    font-weight: 700;
}

.owner-report-sheet-subrow td {
    background: #f8fafc;
}

.owner-dashboard .owner-report-scroll {
    overflow: auto;
    max-height: var(--owner-size-report-scroll-max-height);
    border: 1px solid var(--owner-color-border-soft);
    border-radius: var(--owner-radius-sm);
    padding-bottom: 60px;
}

.owner-dashboard .owner-report-table {
    min-width: max-content;
    margin-bottom: 0;
}

.owner-dashboard .owner-report-table th,
.owner-dashboard .owner-report-table td {
    white-space: nowrap;
    vertical-align: top;
    background: var(--owner-color-bg-white);
    position: relative;
    overflow: visible;
    padding-right: 5px;
}


.owner-dashboard .double-lined-top {
    border-top: 3px double var(--owner-color-border-soft);
}

.owner-dashboard .double-lined-bottom {
    border-bottom: 3px double var(--owner-color-border-soft);
}


.owner-dashboard .owner-report-table tbody tr:nth-child(even)>th,
.owner-dashboard .owner-report-table tbody tr:nth-child(even)>td {
    background: #faf7fb;
}

.owner-dashboard .owner-report-date-col {
    min-width: var(--owner-size-report-date-col);
}

.owner-dashboard .owner-report-money-col {
    min-width: 8.5rem;
    text-align: right;
}

.owner-dashboard .owner-report-tech-col {
    min-width: var(--owner-size-report-tech-col);
    text-align: center;
}

.owner-dashboard .owner-tech-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 8px;
}

.owner-dashboard .owner-tech-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    background: linear-gradient(145deg, #5c0058, #a1198e);
    box-shadow: 0 4px 10px rgba(92, 0, 88, 0.3);
}

.owner-dashboard .owner-tech-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(92, 0, 88, 0.25);
}

.owner-dashboard .owner-sticky-top {
    position: sticky;
    top: 0;
    z-index: var(--owner-z-sticky-top);
    background: var(--owner-color-bg-sticky-top);
}

.owner-dashboard .owner-sticky-left {
    position: sticky;
    left: 0;
    z-index: var(--owner-z-sticky-left);
    background: var(--owner-color-bg-white);
}

.owner-dashboard .owner-sticky-top.owner-sticky-left {
    z-index: var(--owner-z-sticky-both);
}

.owner-dashboard .owner-report-cell {
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.owner-report-detail-anchor {
    cursor: pointer;
}

.owner-dashboard .owner-report-date-label {
    font-weight: 400;
}

.owner-dashboard .owner-report-total {
    font-weight: 600;
    font-size: var(--owner-font-size-report-total);
}

.owner-dashboard .owner-report-total.owner-report-total-breakdown {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.3rem;
    flex-wrap: wrap;
    width: 100%;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.owner-dashboard .owner-report-total.owner-report-total-breakdown.owner-money {
    align-items: flex-start;
}

.owner-dashboard .owner-report-total.owner-report-total-breakdown .owner-money {
    align-items: flex-start;
}

.owner-dashboard .owner-report-total.owner-report-total-breakdown .owner-money-sign {
    align-self: flex-start;
    line-height: 1.2;
    padding-top: 0;
}

.owner-dashboard .owner-report-total.owner-report-total-breakdown .owner-money-value {
    line-height: 1.2;
}

.owner-dashboard .owner-report-total .owner-report-total-main {
    color: var(--owner-color-text-primary);
}

.owner-dashboard .owner-report-total .owner-report-total-discount {
    color: var(--owner-color-discount);
    font-weight: 400;
    /* margin-right: 8px; */
}

.owner-dashboard .owner-report-total .owner-report-total-tip {
    color: var(--owner-color-tip);
    font-weight: 400;
    /* margin-right: 8px; */
}

.owner-dashboard .owner-report-total .owner-report-total-tip,
.owner-dashboard .owner-report-total .owner-report-total-discount {
    font-size: var(--owner-font-size-technician-inline-tip-discount);
}

.owner-dashboard .owner-report-meta {
    color: var(--owner-color-text-meta);
    font-size: var(--owner-font-size-report-meta);
}

.owner-dashboard .owner-report-meta-min {
    opacity: 0.82;
}

.owner-report-cell>.owner-report-hover-detail {
    display: none;
}

.owner-report-floating-detail,
.owner-dashboard .owner-report-show-details .owner-report-hover-detail {
    min-width: 230px;
    max-width: min(320px, calc(100vw - 24px));
    background: linear-gradient(155deg, var(--owner-color-detail-grad-1) 0%, var(--owner-color-detail-grad-2) 52%, var(--owner-color-detail-grad-3) 100%);
    color: #f8fafc;
    border: 1px solid var(--owner-color-detail-line);
    border-radius: 0.6rem;
    padding: 0.5rem 0.6rem;
    box-shadow: 0 14px 30px rgba(37, 0, 44, 0.45);
    z-index: 5000;
    font-size: 0.73rem;
    line-height: 1.35;
}

.owner-report-floating-detail {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
}

.owner-dashboard .owner-report-show-details .owner-report-hover-detail {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    left: auto;
    bottom: auto;
    transform: none;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 60;
}

.owner-report-detail-section {
    padding-top: 0.2rem;
}

.owner-report-detail-section+.owner-report-detail-section {
    margin-top: 0.35rem;
    border-top: 1px solid var(--owner-color-detail-line);
    padding-top: 0.35rem;
}

.owner-report-detail-heading {
    color: var(--owner-color-detail-heading);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.owner-report-detail-total {
    margin-top: 0.2rem;
    color: #fdf2ff;
    font-weight: 700;
}

.owner-report-detail-metrics {
    margin-top: 0.45rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--owner-color-detail-line);
    display: grid;
    gap: 0.08rem;
}

.owner-report-detail-metrics>div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.owner-report-detail-metrics>div>strong {
    color: #cbd5e1;
    font-weight: 600;
    flex: 0 0 auto;
}

.owner-report-detail-metrics>.owner-report-detail-metric-spacer,
.owner-report-detail-metrics>.owner-report-detail-hr {
    display: block;
}

.owner-report-detail-grid {
    display: grid;
    gap: 0.3rem;
}

.owner-report-detail-metric-spacer {
    height: 0.55rem;
}

.owner-report-detail-hr {
    margin-top: 0.15rem;
    height: 0.3rem;
    border-top: 1px solid var(--owner-color-detail-line);
}

.owner-report-detail-metric {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.owner-report-detail-metric-label {
    color: #cbd5e1;
    font-weight: 600;
}

.owner-report-detail-metric-value {
    color: #f8fafc;
    font-weight: 700;
    text-align: right;
}

.owner-report-detail-anchor:hover,
.owner-report-detail-anchor:focus-within,
.owner-report-detail-anchor.is-detail-open {
    z-index: 250;
}

.owner-report-detail-anchor.is-detail-active {
    z-index: 260;
}

.owner-report-detail-anchor.is-detail-active::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 0.55rem;
    background: rgba(161, 25, 142, 0.12);
    box-shadow: 0 0 0 1px rgba(161, 25, 142, 0.3), 0 8px 18px rgba(92, 0, 88, 0.14);
    pointer-events: none;
    z-index: -1;
}

.owner-dashboard .owner-report-day-row.is-day-detail-active>th.owner-report-date-col,
.owner-dashboard .owner-report-day-row.is-day-detail-active>td.owner-report-day-summary-col {
    background: rgba(161, 25, 142, 0.08);
    box-shadow: inset 0 1px 0 rgba(161, 25, 142, 0.12), inset 0 -1px 0 rgba(161, 25, 142, 0.12);
}

.owner-dashboard .owner-report-day-row.is-day-detail-active>th.owner-report-date-col {
    box-shadow:
        inset 0 1px 0 rgba(161, 25, 142, 0.12),
        inset 0 -1px 0 rgba(161, 25, 142, 0.12),
        inset 1px 0 0 rgba(161, 25, 142, 0.18);
}

.owner-dashboard .owner-report-day-row.is-day-detail-active>td.owner-report-day-summary-col:last-of-type {
    box-shadow:
        inset 0 1px 0 rgba(161, 25, 142, 0.12),
        inset 0 -1px 0 rgba(161, 25, 142, 0.12),
        inset -1px 0 0 rgba(161, 25, 142, 0.18);
}

.owner-dashboard .owner-report-show-details .owner-report-tech-anchor .owner-report-tech-value {
    display: none;
}

.owner-report-hover-detail .owner-report-detail-list {
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

.owner-report-hover-detail .owner-report-detail-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.06rem 0;
}

.owner-report-hover-detail .service-line-values {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
}

.owner-report-hover-detail .service-total {
    color: #f8f7ff;
    font-weight: 700;
}

.owner-report-hover-detail .service-discount {
    color: var(--owner-color-discount);
    font-weight: 700;
}

.owner-report-hover-detail .service-tip {
    color: var(--owner-color-tip);
    font-weight: 700;
}

.owner-report-hover-detail .service-name {
    color: #e2e8f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.owner-report-hover-detail .service-count {
    color: #93c5fd;
    font-weight: 700;
    flex: 0 0 auto;
}

.owner-report-detail-empty,
.owner-report-detail-more {
    color: #94a3b8;
    margin-top: 0.2rem;
}

.owner-report-hover-detail .owner-report-detail-off {
    color: #fdf2ff;
    font-weight: 700;
    text-align: center;
    padding: 0.15rem 0.25rem;
}

.owner-dashboard .owner-report-show-details .owner-report-hover-detail {
    position: static;
    transform: none;
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 0.35rem;
    pointer-events: auto;
    z-index: 60;
}

.owner-dashboard .owner-report-meta-tip {
    color: var(--owner-color-tip);
    font-weight: 400;
}

.owner-dashboard .owner-report-meta-sep {
    color: var(--owner-color-text-meta);
}

.owner-dashboard .owner-report-meta-discount {
    color: var(--owner-color-discount);
    font-weight: 400;
}

.owner-dashboard .owner-tech-link {
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.owner-dashboard .owner-tech-link:hover {
    text-decoration: underline;
}

.owner-dashboard .owner-report-summary-row th,
.owner-dashboard .owner-report-summary-row td {
    background: var(--owner-color-bg-summary-row);
}

.owner-dashboard .owner-report-summary-row-tip td strong {
    color: var(--owner-color-tip);
}

.owner-dashboard .owner-report-summary-row-discount td strong {
    color: var(--owner-color-discount);
}

.owner-dashboard .popup.popup-printable .data-table {
    margin-top: 2em;
}

.owner-dashboard .popup.popup-printable .data-table .data-table-title {
    font-weight: bold;
    font-size: var(--owner-font-size-print-title);
}

.owner-dashboard .popup.popup-printable .data-table table {
    border-collapse: collapse;
    font-size: var(--owner-font-size-print-table);
    width: 100%;
}

.owner-dashboard .popup.popup-printable .data-table table thead tr {
    height: 1.5rem;
}

.owner-dashboard .popup.popup-printable .data-table table thead tr th {
    border-bottom: 1px solid var(--owner-color-print-line);
    border-top: 2px solid var(--owner-color-print-line);
    font-size: 0.9em;
    vertical-align: top;
    text-align: left;
    padding: var(--owner-space-print-cell);
}

.owner-dashboard .popup.popup-printable .data-table table thead tr th:not(:first-child) {
    border-left: 1px solid var(--owner-color-print-line);
}

.owner-dashboard .popup.popup-printable .data-table table tbody tr {
    height: 1.5em;
}

.owner-dashboard .popup.popup-printable .data-table table tbody tr td:not(:first-child) {
    border-left: 1px solid var(--owner-color-print-line);
    padding: var(--owner-space-print-cell);
}

.owner-dashboard .popup.popup-printable .data-table table tbody tr:nth-child(even) {
    background: var(--owner-color-bg-print-zebra);
}

.owner-dashboard .popup.popup-printable .data-table table tfoot tr td {
    border-top: 2px solid var(--owner-color-print-line);
    font-weight: bold;
    padding: var(--owner-space-print-cell);
}

.owner-dashboard .owner-money {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-variant-numeric: tabular-nums;
}

.owner-dashboard .owner-money-sign {
    flex: 0 0 auto;
    padding-right: 6px;
}

.owner-dashboard .owner-money-value {
    flex: 1 1 auto;
    text-align: right;
    min-width: 0;
}

.owner-dashboard .owner-money-dash {
    display: block;
    text-align: right;
}

.owner-dashboard .owner-money-edit {
    width: 100%;
}

.owner-dashboard .owner-money-input {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: right;
    font: inherit;
    font-variant-numeric: tabular-nums;
    padding: 0;
    min-width: 0;
}

.owner-dashboard .owner-money-input:focus {
    outline: none;
}

.owner-dashboard .owner-print-actions {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.owner-tech-report-iframe {
    width: 100%;
    min-height: var(--owner-size-iframe-min-height);
    height: 100%;
    border: 0;
    display: block;
    background: var(--owner-color-bg-white);
}

#technicianReportModal .modal-content {
    height: min(var(--owner-size-tech-modal-height), var(--owner-size-tech-modal-max-height));
    display: flex;
}

#technicianReportModal {
    --owner-size-tech-modal-height: 80vh;
    --owner-size-tech-modal-max-height: calc(100vh - 2rem);
}

#technicianReportModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

@media print {
    body {
        background: var(--owner-color-bg-white) !important;
    }

    nav,
    .owner-print-actions,
    .btn,
    .navbar,
    .page-shell>*:not(.owner-dashboard) {
        display: none !important;
    }

    .owner-dashboard,
    .owner-dashboard .popup.popup-printable {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 11px !important;
    }

    .owner-dashboard .popup.popup-printable .data-table {
        page-break-inside: avoid;
        break-inside: avoid;
        margin-top: 8mm;
    }

    .owner-dashboard textarea {
        border: 0 !important;
        resize: none !important;
    }
}

@media (max-width: 991.98px) {
    .owner-sidebar-open {
        overflow: hidden;
    }

    .owner-topbar {
        top: 0.5rem;
        margin: 0.75rem 0.75rem 0;
        padding: 0.8rem;
        grid-template-columns: 1fr;
    }

    .owner-topbar-start,
    .owner-topbar-center,
    .owner-topbar-end {
        width: 100%;
        justify-content: space-between;
        justify-self: stretch;
    }

    .owner-topbar-start {
        flex-wrap: wrap;
    }

    .owner-topbar-center {
        justify-content: flex-start;
    }

    .owner-main {
        padding: 0.85rem 0.75rem 1rem;
    }

    .owner-function-nav {
        position: fixed;
        top: 5.35rem;
        left: 0.75rem;
        bottom: 0.75rem;
        z-index: 60;
        transform: translateX(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .owner-function-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .owner-shell-content>.owner-dashboard {
        padding: 1rem;
        border-radius: 1.4rem;
    }

    .owner-shell-content {
        padding-left: 0;
        padding-right: 0;
    }

    .owner-menu-category-lane {
        grid-auto-columns: minmax(250px, 88vw);
    }
}

@media (max-width: 767.98px) {

    .owner-brand-copy,
    .owner-topbar-ghost span,
    .owner-logout-btn span {
        display: none;
    }

    .owner-topbar-chip,
    .owner-account-trigger {
        max-width: calc(100vw - 7rem);
        min-width: 0;
    }

    .owner-topbar-end {
        gap: 0.5rem;
    }

    .owner-location-modal-grid {
        grid-template-columns: 1fr;
    }

    .owner-tech-avatar-preview-wrap {
        width: min(100%, 180px);
    }

    .owner-dashboard {
        font-size: calc(var(--owner-font-size-base) - 1px);
    }

    .owner-dashboard .owner-date-range-panel {
        min-width: 100%;
    }

    .owner-dashboard .owner-kpi-value {
        font-size: 1.2rem;
    }

    .owner-menu-toolbar,
    .owner-menu-summary,
    .owner-menu-board {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .owner-menu-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .owner-menu-location-pill,
    .owner-menu-tab {
        width: 100%;
        justify-content: center;
    }

    .owner-menu-actionset,
    .owner-menu-tabset,
    .owner-menu-summary-stats,
    .owner-menu-utilityset {
        width: 100%;
    }

    .owner-menu-utilityset {
        justify-content: stretch;
    }

    .owner-menu-search-field {
        width: 100%;
        min-width: 0;
    }

    .owner-menu-actionset>.btn,
    .owner-menu-tabset>.btn {
        flex: 1 1 0;
        justify-content: center;
    }

    .owner-menu-item-card,
    .owner-menu-subtitle-card,
    .owner-menu-addon-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .owner-menu-card-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .owner-menu-item-card.owner-menu-subtitle-child {
        margin-left: 0.6rem;
    }

    .owner-menu-item-card.owner-menu-subtitle-child::before {
        left: -0.7rem;
    }

    .owner-menu-item-main {
        width: 100%;
    }

    .owner-menu-item-topline {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
    }

    .owner-menu-item-price {
        font-size: 0.86rem;
    }

    .owner-dashboard .owner-analytics-stat-grid,
    .owner-dashboard .owner-income-stat-grid {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
    }

    .owner-dashboard .owner-analytics-toolbar,
    .owner-dashboard .owner-analytics-period-row,
    .owner-dashboard .owner-analytics-mix-body {
        flex-direction: column;
        align-items: stretch;
    }

    .owner-dashboard .owner-analytics-toolbar-actions {
        justify-content: flex-start;
    }

    .owner-dashboard .owner-analytics-line-chart {
        min-width: 680px;
    }

    .owner-dashboard .owner-analytics-donut {
        width: 152px;
        height: 152px;
        margin: 0 auto;
    }

.owner-report-sheet-head,
.owner-report-sheet-summary {
    display: grid;
    grid-template-columns: 1fr;
}
}

.owner-pos-settings-page {
    --owner-pos-border: rgba(15, 23, 42, 0.08);
    --owner-pos-surface: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
}

.owner-pos-header-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.owner-pos-location-picker {
    display: grid;
    gap: 0.3rem;
    min-width: 240px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-pos-grid {
    display: grid;
    gap: 1rem;
}

.owner-pos-section {
    border: 1px solid var(--owner-pos-border);
    background: var(--owner-pos-surface);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.owner-pos-device-section {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.owner-pos-programs-section {
    background:
        radial-gradient(circle at top left, rgba(244, 114, 182, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(253, 242, 248, 0.95), rgba(255, 255, 255, 0.98));
}

.owner-pos-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.owner-pos-section-kicker {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.owner-pos-section-title {
    font-size: 1.05rem;
    margin: 0;
    color: #0f172a;
}

.owner-pos-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
}

.owner-pos-device-grid,
.owner-pos-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.owner-pos-location-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.owner-pos-location-card strong {
    color: #0f172a;
}

.owner-pos-location-card span {
    color: #475569;
    font-size: 0.9rem;
}

.owner-pos-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #64748b;
}

.owner-pos-api-panel {
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.owner-pos-api-list {
    display: grid;
    gap: 0.75rem;
}

.owner-pos-api-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.owner-pos-api-title {
    font-weight: 700;
    color: #0f172a;
}

.owner-pos-api-meta,
.owner-pos-api-token,
.owner-pos-api-dates {
    font-size: 0.88rem;
    color: #475569;
}

.owner-pos-api-token {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    margin-top: 0.15rem;
}

.owner-pos-api-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    margin-top: 0.35rem;
}

.owner-pos-setting-list {
    display: grid;
    gap: 0.9rem;
}

.owner-pos-toggle {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.owner-pos-toggle .form-check-input {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.owner-pos-toggle span {
    display: grid;
    gap: 0.2rem;
}

.owner-pos-toggle strong {
    color: #0f172a;
    font-size: 0.96rem;
}

.owner-pos-toggle small {
    color: #64748b;
    font-size: 0.84rem;
}

.owner-pos-program-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.owner-pos-program-check {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 0.7rem;
    align-items: center;
    margin: 0;
    min-height: 56px;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(190, 24, 93, 0.12);
    background: rgba(255, 255, 255, 0.84);
}

.owner-pos-program-check .form-check-input {
    margin-top: 0;
}

.owner-pos-program-check .form-check-label {
    font-weight: 600;
    color: #0f172a;
}

@media (max-width: 991.98px) {
    .owner-pos-api-card {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .owner-pos-header-tools {
        width: 100%;
    }

    .owner-pos-location-picker {
        min-width: 0;
        width: 100%;
    }

    .owner-pos-header-tools .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Remote support */

.workspace-support-stack {
    display: grid;
    gap: 1rem;
}

.workspace-support-card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.95));
}

.workspace-support-card-head,
.workspace-support-actions,
.workspace-support-tool-row,
.workspace-support-session-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.workspace-support-code-label,
.workspace-support-meta,
.workspace-support-note {
    color: #64748b;
    font-size: 0.94rem;
}

.workspace-support-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    border: 1px dashed rgba(15, 23, 42, 0.14);
    background: rgba(15, 23, 42, 0.03);
    color: #0f172a;
    font-family: "IBM Plex Mono", "IBM Plex Sans", monospace;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workspace-support-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.workspace-support-status.is-live {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.workspace-support-status.is-connecting {
    background: rgba(249, 115, 22, 0.12);
    color: #c2410c;
}

.workspace-support-note {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.workspace-support-note i {
    margin-top: 0.1rem;
    color: #0f172a;
}

.workspace-support-page {
    display: grid;
    gap: 1.5rem;
}

.workspace-support-join-panel,
.workspace-support-viewer-panel {
    padding: 1.2rem;
}

.workspace-section-heading.workspace-section-heading-sm {
    margin-bottom: 0.75rem;
}

.workspace-section-heading h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.workspace-section-heading p {
    margin: 0;
    color: #64748b;
}

.workspace-support-join-form,
.workspace-support-draw-tools {
    display: grid;
    gap: 1rem;
}

.workspace-support-code-input {
    font-family: "IBM Plex Mono", "IBM Plex Sans", monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: center;
    text-transform: uppercase;
}

.workspace-support-session-summary {
    flex-wrap: wrap;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 0.92rem;
}

.workspace-support-stage {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    --support-stage-zoom: 1;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background:
        radial-gradient(circle at top left, rgba(255, 111, 60, 0.12), transparent 36%),
        linear-gradient(160deg, #0f172a, #1e293b 58%, #334155);
}

.workspace-support-stage-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.workspace-support-stage-controls .btn {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(15, 23, 42, 0.54);
    color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.workspace-support-stage-controls .btn:hover,
.workspace-support-stage-controls .btn:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(30, 41, 59, 0.76);
    color: #fff;
}

.workspace-support-stage-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.66);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.workspace-support-stage-status::before {
    content: "";
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #94a3b8;
    box-shadow: 0 0 0 0 rgba(148, 163, 184, 0.45);
}

.workspace-support-stage-status.is-live::before {
    background: #22c55e;
    animation: workspace-support-pulse 1.7s ease infinite;
}

.workspace-support-stage-status.is-connecting::before {
    background: #f59e0b;
}

.workspace-support-stage-status.is-idle::before {
    background: #94a3b8;
}

.workspace-support-video,
.workspace-support-annotation-layer {
    position: absolute;
    top: 0;
    left: 0;
}

.workspace-support-video {
    object-fit: fill;
    background: #020617;
}

.workspace-support-annotation-layer {
    z-index: 2;
    cursor: crosshair;
}

.workspace-support-stage .workspace-empty-state {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
}

.workspace-support-overlay {
    position: fixed;
    inset: 0;
    z-index: 1055;
    pointer-events: none;
    display: none;
}

.workspace-support-overlay.is-visible {
    display: block;
}

.workspace-support-overlay canvas {
    width: 100%;
    height: 100%;
}

.workspace-support-spotlight {
    position: absolute;
    z-index: 3;
    width: 96px;
    height: 96px;
    margin-left: -48px;
    margin-top: -48px;
    border-radius: 999px;
    border: 4px solid rgba(59, 130, 246, 0.92);
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.14);
    opacity: 0;
    transform: scale(0.45);
    pointer-events: none;
}

.workspace-support-spotlight::before,
.workspace-support-spotlight::after {
    content: "";
    position: absolute;
    inset: 50%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.workspace-support-spotlight::before {
    width: 18px;
    height: 18px;
    background: rgba(59, 130, 246, 0.92);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.26);
}

.workspace-support-spotlight::after {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(59, 130, 246, 0.38);
}

.workspace-support-spotlight.is-visible {
    opacity: 1;
}

.workspace-support-spotlight.is-animating {
    animation: workspace-support-spotlight-pulse 1.6s ease-out forwards;
}

@keyframes workspace-support-spotlight-pulse {
    0% {
        opacity: 0.98;
        transform: scale(0.3);
    }

    35% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

.workspace-support-resume-banner {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    display: none;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
}

.workspace-support-resume-banner.is-visible {
    display: grid;
    gap: 0.85rem;
}

.workspace-support-resume-banner strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #0f172a;
}

.workspace-support-resume-banner p {
    margin: 0;
    color: #64748b;
}

.workspace-support-resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@keyframes workspace-support-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@media (max-width: 767.98px) {
    .workspace-support-card-head,
    .workspace-support-actions,
    .workspace-support-tool-row,
    .workspace-support-session-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .workspace-support-stage {
        min-height: 360px;
    }

    .workspace-support-resume-banner {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }

    .workspace-support-stage-controls {
        right: 0.75rem;
        left: 0.75rem;
        top: auto;
        bottom: 0.75rem;
        justify-content: space-between;
    }

    .workspace-support-actions .btn {
        width: 100%;
    }
}
