.owner-app,.auth-page{background:var(--owner-theme-background,#fff);color:var(--owner-theme-ink,#17120a)}
.owner-app .owner-topbar{background:var(--owner-theme-background,#fff);border-bottom-color:color-mix(in srgb,var(--owner-theme-primary,#005440) 18%,transparent);color:var(--owner-theme-ink,#17120a)}
.owner-app .owner-sidebar{background:var(--owner-theme-secondary,#001d18);color:var(--owner-theme-on-secondary,#fff);scrollbar-color:var(--owner-theme-primary,#507165) var(--owner-theme-secondary,#001d18)}
.owner-app .owner-sidebar a:hover{background:color-mix(in srgb,var(--owner-theme-on-secondary,#fff) 12%,transparent);color:var(--owner-theme-accent,#edc881)}
.owner-app .owner-sidebar a.active{background:var(--owner-theme-accent,#c99138);color:var(--owner-theme-on-accent,#17120a)}
.owner-app .owner-main{background:var(--owner-theme-background,#fff)}
.owner-app :is(h1,h2,h3),.auth-page :is(h1,h2,h3){color:var(--owner-theme-heading,#6d4f10)}
.owner-app .panel{background:var(--owner-theme-background,#fff);border-color:color-mix(in srgb,var(--owner-theme-primary,#005440) 18%,transparent);color:var(--owner-theme-ink,#17120a)}
.owner-app .button,.auth-page .button{background:var(--owner-theme-primary,#005440);color:var(--owner-theme-on-primary,#fff);border-color:transparent}
.owner-app .button:hover,.auth-page .button:hover{background:var(--owner-theme-primary,#005440);color:var(--owner-theme-on-primary,#fff);filter:brightness(.88)}
.owner-app .button.gold,.auth-page .button.gold{background:var(--owner-theme-accent,#c99138);color:var(--owner-theme-on-accent,#17120a)}
.owner-app .button.light{background:color-mix(in srgb,var(--owner-theme-accent,#c99138) 28%,#fff);color:var(--owner-theme-heading,#6d4f10)}
.owner-app .button.outline{background:transparent;border-color:var(--owner-theme-accent,#c99138);color:var(--owner-theme-heading,#6d4f10)}
.auth-page{min-height:100vh}
.auth-page .auth-art{background:linear-gradient(135deg,color-mix(in srgb,var(--owner-theme-secondary,#001d18) 84%,var(--owner-theme-primary,#005440)),var(--owner-theme-secondary,#001d18));color:var(--owner-theme-on-secondary,#fff)}
.auth-page .auth-art h1{color:var(--owner-theme-on-secondary,#fff)}
.auth-page .auth-art p{color:color-mix(in srgb,var(--owner-theme-on-secondary,#fff) 78%,var(--owner-theme-accent,#edc881))}
.auth-page .auth-art:after{border-color:color-mix(in srgb,var(--owner-theme-accent,#d6b06a) 28%,transparent)}
.auth-page .auth-form{background:var(--owner-theme-background,#fff);color:var(--owner-theme-ink,#17120a)}
.auth-page .auth-switch a{color:var(--owner-theme-heading,#6d4f10)}
.guest-app {
    --guest-theme-muted:color-mix(in srgb,var(--owner-theme-ink) 74%,var(--owner-theme-background));
    --guest-theme-border:color-mix(in srgb,var(--owner-theme-primary) 28%,var(--owner-theme-background));
    --guest-theme-surface:color-mix(in srgb,var(--owner-theme-primary) 7%,var(--owner-theme-background));
}
.guest-app .owner-sidebar :is(a,.nav-heading) { color:var(--owner-theme-on-secondary); }
.guest-app .owner-sidebar a.active { color:var(--owner-theme-on-accent); }
.guest-app .owner-sidebar a:not(.active):hover { color:var(--owner-theme-on-secondary); }
.guest-app .guest-profile-name small,
.guest-app .guest-notification-preview small,
.guest-app .guest-main .page-heading p,
.guest-app .guest-main .inventory-metrics small { color:var(--guest-theme-muted); }
.guest-app .guest-popover {
    background:var(--owner-theme-background);
    border-color:var(--guest-theme-border);
    color:var(--owner-theme-ink);
}
.guest-app :is(.metric-icon,.business-avatar,.customer-avatar) {
    background:var(--owner-theme-primary);
    color:var(--owner-theme-on-primary);
}
.guest-app .guest-booking-tabs a {
    background:var(--guest-theme-surface);
    border-color:var(--guest-theme-border);
    color:var(--owner-theme-ink);
}
.guest-app .guest-booking-tabs a:hover { border-color:var(--owner-theme-accent); }
.guest-app .guest-booking-tabs a[aria-current=page] {
    background:var(--owner-theme-accent);
    border-color:var(--owner-theme-accent);
    color:var(--owner-theme-on-accent);
}
.guest-app .guest-main :is(input,select,textarea):not([type="checkbox"],[type="radio"],[type="file"]) {
    background:var(--owner-theme-background);
    border-color:var(--guest-theme-border);
    color:var(--owner-theme-ink);
}
.guest-app .guest-main :is(input,select,textarea):focus-visible,
.guest-app .guest-booking-tabs a:focus-visible { outline:2px solid var(--owner-theme-accent); outline-offset:2px; }
.guest-app .guest-main table:not(.invoice-lines) th {
    background:var(--guest-theme-surface);
    color:var(--guest-theme-muted);
}
.guest-app .inventory-nav {
    background:var(--guest-theme-surface);
    border-color:var(--guest-theme-border);
}
.guest-app .inventory-nav a { color:var(--owner-theme-ink); }
.guest-app .inventory-nav a.selected {
    background:var(--owner-theme-accent);
    color:var(--owner-theme-on-accent);
}
@media (min-width:761px){
    .owner-app .mobile-nav{display:grid;place-items:center;width:36px;height:36px;margin:0;border:1px solid color-mix(in srgb,var(--owner-theme-primary,#005440) 22%,transparent);border-radius:7px;background:transparent;color:inherit;font-size:21px;line-height:1}
    .owner-app .owner-sidebar{transform:translateX(0);transition:transform .2s ease}
    .owner-app.sidebar-collapsed .owner-sidebar{width:68px;padding-inline:8px}
    .owner-app.sidebar-collapsed .owner-main{margin-left:68px}
    .owner-app.sidebar-collapsed .owner-logo{width:auto}
    .owner-app.sidebar-collapsed .owner-sidebar a{justify-content:center;gap:0;padding-inline:8px;font-size:0}
    .owner-app.sidebar-collapsed .owner-sidebar .nav-heading,
    .owner-app.sidebar-collapsed .owner-sidebar .module-external{display:none}
    .owner-app.sidebar-collapsed .owner-booking-menu summary{justify-content:center;gap:0;padding-inline:8px;font-size:0}
    .owner-app.sidebar-collapsed .owner-booking-menu summary > span,
    .owner-app.sidebar-collapsed .owner-booking-menu .owner-booking-chevron{display:none}
    .owner-app.sidebar-collapsed .owner-booking-menu a{padding-inline:8px}
}
