/*
 * MyQRDeals Design C — Bold Deals
 * Source: docs/design/MyQRDeals-UI-Design.pdf, section 2.3.
 * This layer intentionally sits after the surface-specific stylesheets so the
 * public site, customer area, vendor workspace, admin panel and Android shells
 * share one visual language. Midnight remains the explicit dark-mode choice.
 */

:root:not([data-theme="midnight"]) {
    color-scheme: light;
    --bold-background: #fff6ee;
    --bold-surface: #ffffff;
    --bold-surface-2: #ffeede;
    --bold-text: #2a1208;
    --bold-muted: #8a6555;
    --bold-primary: #ff5a36;
    --bold-primary-dark: #e84929;
    --bold-accent: #ffb020;
    --bold-border: #2a1208;
    --bold-success: #1f9d55;
    --bold-warning: #c77400;
    --bold-danger: #d63a2f;
    --bold-card-shadow: 5px 5px 0 #2a1208;
    --bold-control-shadow: 3px 3px 0 #2a1208;

    --navy: var(--bold-text);
    --blue: var(--bold-primary);
    --sky: var(--bold-surface-2);
    --mint: var(--bold-success);
    --orange: var(--bold-accent);
    --ink: var(--bold-text);
    --muted: var(--bold-muted);
    --primary: var(--bold-primary);
    --accent: var(--bold-accent);
    --border: var(--bold-border);
    --surface: var(--bold-surface);
    --surface-2: var(--bold-surface-2);
    --danger: var(--bold-danger);

    --v-black: var(--bold-text);
    --v-panel: var(--bold-text);
    --v-line: #5b2a18;
    --v-blue: var(--bold-primary);
    --v-text: var(--bold-text);
    --v-muted: var(--bold-muted);
    --v-border: var(--bold-border);
    --v-bg: var(--bold-background);

    --admin-navy: var(--bold-text);
    --admin-navy-light: #4b2112;
    --admin-blue: var(--bold-primary);
    --admin-text: var(--bold-text);
    --admin-muted: var(--bold-muted);
    --admin-border: var(--bold-border);
    --admin-bg: var(--bold-background);

    --native-bg: var(--bold-background);
    --native-surface: var(--bold-surface);
    --native-surface-soft: var(--bold-surface-2);
    --native-border: var(--bold-border);
    --native-text: var(--bold-text);
    --native-muted: var(--bold-muted);
    --native-accent: var(--bold-primary);
    --native-accent-soft: var(--bold-surface-2);
    --native-success: var(--bold-success);
    --native-danger: var(--bold-danger);
    --native-shadow: var(--bold-card-shadow);
}

:root:not([data-theme="midnight"]) body {
    color: var(--bold-text);
    background: var(--bold-background);
    font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

:root:not([data-theme="midnight"]) h1,
:root:not([data-theme="midnight"]) h2,
:root:not([data-theme="midnight"]) h3,
:root:not([data-theme="midnight"]) h4,
:root:not([data-theme="midnight"]) h5,
:root:not([data-theme="midnight"]) h6,
:root:not([data-theme="midnight"]) .brand,
:root:not([data-theme="midnight"]) .vendor-brand,
:root:not([data-theme="midnight"]) .admin-brand {
    color: var(--bold-text);
    font-family: "Trebuchet MS", Poppins, "Segoe UI", sans-serif;
    font-weight: 900;
}

:root:not([data-theme="midnight"]) :focus-visible {
    outline: 3px solid var(--bold-primary) !important;
    outline-offset: 3px;
}

/* Public website and customer web */
:root:not([data-theme="midnight"]) .site-header {
    border-bottom: 2px solid var(--bold-border);
    background: var(--bold-surface);
    box-shadow: 0 4px 0 rgb(42 18 8 / .08);
}

:root:not([data-theme="midnight"]) .nav-links,
:root:not([data-theme="midnight"]) .nav-button,
:root:not([data-theme="midnight"]) .subtitle,
:root:not([data-theme="midnight"]) .header-note {
    color: var(--bold-muted);
}

:root:not([data-theme="midnight"]) .nav-links a:hover,
:root:not([data-theme="midnight"]) .nav-button:hover,
:root:not([data-theme="midnight"]) .text-link,
:root:not([data-theme="midnight"]) .link-action,
:root:not([data-theme="midnight"]) .back-link,
:root:not([data-theme="midnight"]) .eyebrow {
    color: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .nav-login,
:root:not([data-theme="midnight"]) .button,
:root:not([data-theme="midnight"]) .input,
:root:not([data-theme="midnight"]) input:not([type="checkbox"]):not([type="radio"]),
:root:not([data-theme="midnight"]) select,
:root:not([data-theme="midnight"]) textarea {
    border: 2px solid var(--bold-border);
    border-radius: 12px;
}

:root:not([data-theme="midnight"]) .input,
:root:not([data-theme="midnight"]) input:not([type="checkbox"]):not([type="radio"]),
:root:not([data-theme="midnight"]) select,
:root:not([data-theme="midnight"]) textarea {
    color: var(--bold-text);
    background: var(--bold-surface);
    box-shadow: none;
}

:root:not([data-theme="midnight"]) .input:focus,
:root:not([data-theme="midnight"]) input:focus,
:root:not([data-theme="midnight"]) select:focus,
:root:not([data-theme="midnight"]) textarea:focus {
    border-color: var(--bold-primary);
    outline: 3px solid rgb(255 90 54 / .2);
}

:root:not([data-theme="midnight"]) .button,
:root:not([data-theme="midnight"]) .search-bar button,
:root:not([data-theme="midnight"]) .storefront-file-button,
:root:not([data-theme="midnight"]) .public-deal-action {
    min-height: 44px;
    border: 2px solid var(--bold-border);
    border-radius: 12px;
    font-weight: 900;
    box-shadow: var(--bold-control-shadow);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

:root:not([data-theme="midnight"]) .button:hover,
:root:not([data-theme="midnight"]) .search-bar button:hover,
:root:not([data-theme="midnight"]) .storefront-file-button:hover,
:root:not([data-theme="midnight"]) .public-deal-action:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--bold-border);
}

:root:not([data-theme="midnight"]) .button-primary,
:root:not([data-theme="midnight"]) .button-accent,
:root:not([data-theme="midnight"]) .search-bar button,
:root:not([data-theme="midnight"]) .public-deal-action {
    color: var(--bold-text);
    background: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .button-primary:hover,
:root:not([data-theme="midnight"]) .button-accent:hover,
:root:not([data-theme="midnight"]) .search-bar button:hover {
    background: var(--bold-primary-dark);
}

:root:not([data-theme="midnight"]) .button-secondary,
:root:not([data-theme="midnight"]) .nav-login {
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .card,
:root:not([data-theme="midnight"]) .table-card,
:root:not([data-theme="midnight"]) .auth-card,
:root:not([data-theme="midnight"]) .portal-card,
:root:not([data-theme="midnight"]) .category-card,
:root:not([data-theme="midnight"]) .vendor-card,
:root:not([data-theme="midnight"]) .deal-card,
:root:not([data-theme="midnight"]) .storefront-panel,
:root:not([data-theme="midnight"]) .storefront-product-detail-copy,
:root:not([data-theme="midnight"]) .storefront-product-action-card,
:root:not([data-theme="midnight"]) .storefront-product-reviews,
:root:not([data-theme="midnight"]) .booking-card,
:root:not([data-theme="midnight"]) .order-card,
:root:not([data-theme="midnight"]) .customer-settings-card,
:root:not([data-theme="midnight"]) .customer-account-card,
:root:not([data-theme="midnight"]) .notification-item {
    border: 2px solid var(--bold-border);
    border-radius: 22px;
    background: var(--bold-surface);
    box-shadow: var(--bold-card-shadow);
}

:root:not([data-theme="midnight"]) .hero,
:root:not([data-theme="midnight"]) .marketplace-hero,
:root:not([data-theme="midnight"]) .customer-account-hero,
:root:not([data-theme="midnight"]) .store-hero {
    color: var(--bold-text);
    background: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .hero-copy,
:root:not([data-theme="midnight"]) .hero-note,
:root:not([data-theme="midnight"]) .eyebrow-light,
:root:not([data-theme="midnight"]) .hero-quick-links a,
:root:not([data-theme="midnight"]) .customer-account-hero > div > p:last-of-type,
:root:not([data-theme="midnight"]) .light-link,
:root:not([data-theme="midnight"]) .store-heading p {
    color: #4b2112;
}

:root:not([data-theme="midnight"]) .hero h1 span {
    color: var(--bold-surface);
    text-decoration: underline var(--bold-accent) 8px;
    text-underline-offset: 6px;
}

:root:not([data-theme="midnight"]) .search-bar {
    border: 2px solid var(--bold-border);
    border-radius: 16px;
    background: var(--bold-surface);
    box-shadow: 7px 7px 0 var(--bold-border);
}

:root:not([data-theme="midnight"]) .phone-card {
    border: 2px solid var(--bold-border);
    border-radius: 28px;
    background: var(--bold-background);
    box-shadow: 9px 9px 0 var(--bold-border);
}

:root:not([data-theme="midnight"]) .mini-banner,
:root:not([data-theme="midnight"]) .offer-banner {
    border: 2px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-accent);
    box-shadow: var(--bold-control-shadow);
}

:root:not([data-theme="midnight"]) .marketplace-home {
    --home-ink: var(--bold-text);
    --home-muted: var(--bold-muted);
    --home-coral: var(--bold-primary);
    --home-coral-dark: var(--bold-primary-dark);
    --home-teal: var(--bold-accent);
    --home-teal-dark: var(--bold-warning);
    --home-cream: var(--bold-background);
    --home-line: var(--bold-border);
    background: var(--bold-background);
}

:root:not([data-theme="midnight"]) .marketplace-home .site-header {
    border-bottom: 2px solid var(--bold-border);
    background: rgb(255 255 255 / .97);
    box-shadow: 0 4px 0 rgb(42 18 8 / .08);
}

:root:not([data-theme="midnight"]) .marketplace-home .nav-login,
:root:not([data-theme="midnight"]) .marketplace-home .public-nav-toggle {
    border: 2px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-hero {
    background: linear-gradient(135deg, var(--bold-background) 0%, #ffe3d2 58%, #ffd0b8 100%);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-hero::before {
    background: radial-gradient(circle, rgb(255 90 54 / .3), transparent 68%);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-hero::after {
    border-color: rgb(42 18 8 / .18);
    box-shadow: 0 0 0 3rem rgb(255 176 32 / .09), 0 0 0 7rem rgb(255 90 54 / .06);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-eyebrow,
:root:not([data-theme="midnight"]) .marketplace-home .eyebrow {
    color: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-search {
    border: 2px solid var(--bold-border);
    border-radius: 16px;
    background: var(--bold-surface);
    box-shadow: 7px 7px 0 var(--bold-border);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-search-icon {
    color: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-scan-button {
    color: var(--bold-text);
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-scan-button:hover {
    background: #ffc451;
}

:root:not([data-theme="midnight"]) .marketplace-home .home-scan-button::after {
    background: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-search button {
    border: 2px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-primary);
    box-shadow: var(--bold-control-shadow);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-search button:hover {
    background: var(--bold-primary-dark);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-discovery-panel {
    border: 2px solid var(--bold-border);
    background: var(--bold-text);
    box-shadow: 8px 8px 0 var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-discovery-panel::before {
    background: radial-gradient(circle, rgb(255 176 32 / .32), transparent 70%);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-scan-demo {
    border: 2px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-demo-scanner {
    background: var(--bold-surface);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-demo-scanner::before,
:root:not([data-theme="midnight"]) .marketplace-home .home-demo-scanner::after,
:root:not([data-theme="midnight"]) .marketplace-home .home-demo-scanner i::before,
:root:not([data-theme="midnight"]) .marketplace-home .home-demo-scanner i::after {
    border-color: var(--bold-text);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-demo-scanner i {
    background: var(--bold-primary);
    box-shadow: 1.25rem 0 var(--bold-accent), 0 1.25rem #ff8a36, 1.25rem 1.25rem var(--bold-success);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-scan-demo small,
:root:not([data-theme="midnight"]) .marketplace-home .home-preview-store > b {
    color: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-scan-demo p {
    color: var(--bold-muted);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-category-card,
:root:not([data-theme="midnight"]) .marketplace-home .home-vendor-card,
:root:not([data-theme="midnight"]) .marketplace-home .home-offers .deal-card,
:root:not([data-theme="midnight"]) .marketplace-home .home-offers .deal-card:nth-child(2n) {
    border: 2px solid var(--bold-border);
    border-radius: 22px;
    background: var(--bold-surface);
    box-shadow: var(--bold-card-shadow);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-category-card:hover,
:root:not([data-theme="midnight"]) .marketplace-home .home-category-card.is-selected,
:root:not([data-theme="midnight"]) .marketplace-home .home-vendor-card:hover {
    border-color: var(--bold-border);
    background: var(--bold-surface-2);
    box-shadow: 7px 7px 0 var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-category-card > span,
:root:not([data-theme="midnight"]) .marketplace-home .home-category-card:nth-child(2n) > span,
:root:not([data-theme="midnight"]) .marketplace-home .home-category-card:nth-child(3n) > span {
    color: var(--bold-text);
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-stores {
    border-color: var(--bold-border);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .marketplace-home .vendor-category,
:root:not([data-theme="midnight"]) .marketplace-home .vendor-card-footer > a,
:root:not([data-theme="midnight"]) .marketplace-home .vendor-card-footer button,
:root:not([data-theme="midnight"]) .marketplace-home .save-login-link,
:root:not([data-theme="midnight"]) .marketplace-home .deal-value {
    color: var(--bold-primary);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-offers .deal-card,
:root:not([data-theme="midnight"]) .marketplace-home .home-offers .deal-card:nth-child(2n) {
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-closing {
    color: var(--bold-surface);
    background: var(--bold-text);
}

:root:not([data-theme="midnight"]) .marketplace-home .home-closing a {
    border: 2px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-primary);
    box-shadow: 4px 4px 0 var(--bold-accent);
}

:root:not([data-theme="midnight"]) .soft-section,
:root:not([data-theme="midnight"]) .utility-strip,
:root:not([data-theme="midnight"]) th,
:root:not([data-theme="midnight"]) .storefront-page,
:root:not([data-theme="midnight"]) .customer-dashboard,
:root:not([data-theme="midnight"]) .marketplace-page {
    background: var(--bold-background);
}

:root:not([data-theme="midnight"]) .category-card:hover,
:root:not([data-theme="midnight"]) .category-card.is-selected {
    border-color: var(--bold-border);
    box-shadow: 7px 7px 0 var(--bold-primary);
    transform: translate(-2px, -2px);
}

:root:not([data-theme="midnight"]) .category-icon,
:root:not([data-theme="midnight"]) .merchant-avatar,
:root:not([data-theme="midnight"]) .utility-item > span,
:root:not([data-theme="midnight"]) .storefront-actions b,
:root:not([data-theme="midnight"]) .auth-role-badge,
:root:not([data-theme="midnight"]) .customer-role-badge,
:root:not([data-theme="midnight"]) .customer-icon,
:root:not([data-theme="midnight"]) .portal-icon {
    color: var(--bold-text);
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .deal-card,
:root:not([data-theme="midnight"]) .deal-card:nth-child(2n),
:root:not([data-theme="midnight"]) .public-deal-card {
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .deal-value,
:root:not([data-theme="midnight"]) .offer-value,
:root:not([data-theme="midnight"]) .storefront-product-detail-image > b,
:root:not([data-theme="midnight"]) [class*="deal-badge"],
:root:not([data-theme="midnight"]) [class*="offer-badge"] {
    border: 2px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-accent);
    font-weight: 900;
}

:root:not([data-theme="midnight"]) .vendor-art,
:root:not([data-theme="midnight"]) .storefront-product-image,
:root:not([data-theme="midnight"]) .storefront-product-detail-image {
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .storefront-page {
    --store-accent: var(--bold-primary);
    color: var(--bold-text);
}

:root:not([data-theme="midnight"]) .storefront-cover {
    color: var(--bold-surface);
    background: linear-gradient(135deg, var(--bold-text), #5b2a18);
}

:root:not([data-theme="midnight"]) .storefront-actions {
    overflow: hidden;
    border: 2px solid var(--bold-border);
    border-radius: 22px;
    background: var(--bold-surface);
    box-shadow: var(--bold-card-shadow);
}

:root:not([data-theme="midnight"]) .roadmap-section,
:root:not([data-theme="midnight"]) .site-footer {
    color: var(--bold-surface);
    background: var(--bold-text);
}

:root:not([data-theme="midnight"]) .roadmap-grid p,
:root:not([data-theme="midnight"]) .site-footer p,
:root:not([data-theme="midnight"]) .site-footer a,
:root:not([data-theme="midnight"]) .footer-bottom {
    color: #f4c9b5;
}

:root:not([data-theme="midnight"]) .roadmap-list b,
:root:not([data-theme="midnight"]) .site-footer .brand {
    color: var(--bold-accent);
}

:root:not([data-theme="midnight"]) td,
:root:not([data-theme="midnight"]) .storefront-product-description,
:root:not([data-theme="midnight"]) .product-name {
    color: var(--bold-text);
}

:root:not([data-theme="midnight"]) th,
:root:not([data-theme="midnight"]) td,
:root:not([data-theme="midnight"]) .vendor-meta,
:root:not([data-theme="midnight"]) .product-description {
    border-color: var(--bold-border);
}

/* Vendor workspace */
:root:not([data-theme="midnight"]) .vendor-body {
    color: var(--bold-text);
    background: var(--bold-background);
}

:root:not([data-theme="midnight"]) .vendor-sidebar {
    color: var(--bold-surface);
    background: var(--bold-text);
}

:root:not([data-theme="midnight"]) .vendor-brand,
:root:not([data-theme="midnight"]) .vendor-brand strong {
    color: var(--bold-surface);
}

:root:not([data-theme="midnight"]) .vendor-brand small,
:root:not([data-theme="midnight"]) .vendor-sidebar-footer,
:root:not([data-theme="midnight"]) .vendor-sidebar-footer small,
:root:not([data-theme="midnight"]) .vendor-nav p {
    color: #d9a48b;
}

:root:not([data-theme="midnight"]) .vendor-store-card,
:root:not([data-theme="midnight"]) .vendor-nav a.active {
    border: 2px solid #6d3925;
    color: var(--bold-surface);
    background: #4b2112;
}

:root:not([data-theme="midnight"]) .vendor-nav a:hover,
:root:not([data-theme="midnight"]) .vendor-nav a.active {
    color: var(--bold-text);
    background: var(--bold-primary);
    box-shadow: 3px 3px 0 var(--bold-accent);
}

:root:not([data-theme="midnight"]) .vendor-topbar {
    border-bottom: 2px solid var(--bold-border);
    background: rgb(255 255 255 / .96);
}

:root:not([data-theme="midnight"]) .vendor-card,
:root:not([data-theme="midnight"]) .vendor-metric,
:root:not([data-theme="midnight"]) .vendor-form-card,
:root:not([data-theme="midnight"]) .vendor-table-card,
:root:not([data-theme="midnight"]) .catalogue-workflow-card,
:root:not([data-theme="midnight"]) .category-editor,
:root:not([data-theme="midnight"]) .category-tree,
:root:not([data-theme="midnight"]) .qr-code-card,
:root:not([data-theme="midnight"]) .storefront-upload-card,
:root:not([data-theme="midnight"]) .qr-panel,
:root:not([data-theme="midnight"]) .inventory-metrics article,
:root:not([data-theme="midnight"]) .inventory-branch-card,
:root:not([data-theme="midnight"]) .offer-card,
:root:not([data-theme="midnight"]) .offer-editor,
:root:not([data-theme="midnight"]) .vendor-booking-calendar,
:root:not([data-theme="midnight"]) .native-hub-card,
:root:not([data-theme="midnight"]) .store-review-card,
:root:not([data-theme="midnight"]) .native-feature-menu > a {
    border: 2px solid var(--bold-border);
    border-radius: 22px;
    color: var(--bold-text);
    background: var(--bold-surface);
    box-shadow: var(--bold-card-shadow);
}

:root:not([data-theme="midnight"]) .vendor-button,
:root:not([data-theme="midnight"]) .vendor-filters button,
:root:not([data-theme="midnight"]) .vendor-pagination a {
    border: 2px solid var(--bold-border);
    border-radius: 12px;
    color: var(--bold-text);
    background: var(--bold-primary);
    box-shadow: var(--bold-control-shadow);
    font-weight: 900;
}

:root:not([data-theme="midnight"]) .vendor-button.secondary {
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .vendor-field input,
:root:not([data-theme="midnight"]) .vendor-field select,
:root:not([data-theme="midnight"]) .vendor-field textarea,
:root:not([data-theme="midnight"]) .offer-editor input,
:root:not([data-theme="midnight"]) .offer-editor select,
:root:not([data-theme="midnight"]) .offer-editor textarea {
    border: 2px solid var(--bold-border);
    border-radius: 12px;
    color: var(--bold-text);
    background: var(--bold-surface);
}

:root:not([data-theme="midnight"]) .vendor-table th,
:root:not([data-theme="midnight"]) .category-tree-head,
:root:not([data-theme="midnight"]) .inventory-branch-card dl div,
:root:not([data-theme="midnight"]) .vendor-calendar-day,
:root:not([data-theme="midnight"]) .native-hub-card-head > strong,
:root:not([data-theme="midnight"]) .native-feature-menu > a > span {
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .offer-value,
:root:not([data-theme="midnight"]) .offer-empty > span,
:root:not([data-theme="midnight"]) .offer-meta code,
:root:not([data-theme="midnight"]) .vendor-calendar-day a {
    color: var(--bold-text);
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .theme-toggle {
    border: 2px solid var(--bold-border) !important;
    color: var(--bold-text) !important;
    background: var(--bold-surface-2) !important;
}

:root:not([data-theme="midnight"]) .theme-switch,
:root:not([data-theme="midnight"]) .vendor-toggle-track {
    background: var(--bold-primary);
}

/* Admin workspace */
:root:not([data-theme="midnight"]) .admin-body,
:root:not([data-theme="midnight"]) .admin-login-body {
    color: var(--bold-text);
    background: var(--bold-background);
}

:root:not([data-theme="midnight"]) .admin-sidebar,
:root:not([data-theme="midnight"]) .admin-roadmap-panel,
:root:not([data-theme="midnight"]) .admin-login-header {
    color: var(--bold-surface);
    background: var(--bold-text);
}

:root:not([data-theme="midnight"]) .admin-brand,
:root:not([data-theme="midnight"]) .admin-brand strong,
:root:not([data-theme="midnight"]) .admin-login-header strong {
    color: var(--bold-surface);
}

:root:not([data-theme="midnight"]) .admin-nav a:hover,
:root:not([data-theme="midnight"]) .admin-nav a.active {
    color: var(--bold-text);
    background: var(--bold-primary);
    box-shadow: 3px 3px 0 var(--bold-accent);
}

:root:not([data-theme="midnight"]) .admin-nav a.active svg {
    color: var(--bold-text);
}

:root:not([data-theme="midnight"]) .admin-topbar {
    border-bottom: 2px solid var(--bold-border);
    background: rgb(255 255 255 / .96);
}

:root:not([data-theme="midnight"]) .environment-pill,
:root:not([data-theme="midnight"]) .category-icon-key,
:root:not([data-theme="midnight"]) .metric-icon,
:root:not([data-theme="midnight"]) .vendor-identity > span {
    color: var(--bold-text);
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .admin-card,
:root:not([data-theme="midnight"]) .admin-metrics article,
:root:not([data-theme="midnight"]) .admin-filters,
:root:not([data-theme="midnight"]) .admin-form-card,
:root:not([data-theme="midnight"]) .admin-create-panel,
:root:not([data-theme="midnight"]) .dashboard-vendor-table tr {
    border: 2px solid var(--bold-border);
    border-radius: 22px;
    background: var(--bold-surface);
    box-shadow: var(--bold-card-shadow);
}

:root:not([data-theme="midnight"]) .admin-button,
:root:not([data-theme="midnight"]) .admin-filters button,
:root:not([data-theme="midnight"]) .admin-inline-actions button {
    border: 2px solid var(--bold-border);
    border-radius: 12px;
    color: var(--bold-text);
    background: var(--bold-primary);
    box-shadow: var(--bold-control-shadow);
    font-weight: 900;
}

:root:not([data-theme="midnight"]) .admin-button.secondary,
:root:not([data-theme="midnight"]) .admin-inline-actions button {
    color: var(--bold-text);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .admin-filters input,
:root:not([data-theme="midnight"]) .admin-filters select,
:root:not([data-theme="midnight"]) .admin-login-field input,
:root:not([data-theme="midnight"]) .category-form textarea,
:root:not([data-theme="midnight"]) .vendor-review-control select {
    border: 2px solid var(--bold-border);
    border-radius: 12px;
    color: var(--bold-text);
    background: var(--bold-surface);
}

:root:not([data-theme="midnight"]) .admin-table-scroll th,
:root:not([data-theme="midnight"]) .dashboard-vendor-table th,
:root:not([data-theme="midnight"]) .qr-trend-list div {
    color: var(--bold-muted);
    background: var(--bold-surface-2);
}

:root:not([data-theme="midnight"]) .admin-table-scroll td,
:root:not([data-theme="midnight"]) .dashboard-vendor-table td,
:root:not([data-theme="midnight"]) .activity-list > div,
:root:not([data-theme="midnight"]) .detail-list article,
:root:not([data-theme="midnight"]) .admin-definition-list div,
:root:not([data-theme="midnight"]) .offer-admin-list article {
    border-color: var(--bold-border);
}

:root:not([data-theme="midnight"]) .status-pending,
:root:not([data-theme="midnight"]) .status-featured,
:root:not([data-theme="midnight"]) .offer-status.status-scheduled {
    border: 1px solid var(--bold-border);
    color: var(--bold-text);
    background: var(--bold-accent);
}

:root:not([data-theme="midnight"]) .status-approved,
:root:not([data-theme="midnight"]) .status-confirmed,
:root:not([data-theme="midnight"]) .status-completed,
:root:not([data-theme="midnight"]) .offer-status.status-live {
    color: #0b4b28;
    background: #c8f2d8;
}

:root:not([data-theme="midnight"]) .status-suspended,
:root:not([data-theme="midnight"]) .status-cancelled,
:root:not([data-theme="midnight"]) .offer-status.status-expired {
    color: #7d1711;
    background: #ffd7d2;
}

/* Native Android web shells */
:root:not([data-theme="midnight"]) body.native-android-app {
    color: var(--bold-text) !important;
    background: var(--bold-background) !important;
}

:root:not([data-theme="midnight"]) .native-android-app h1,
:root:not([data-theme="midnight"]) .native-android-app h2,
:root:not([data-theme="midnight"]) .native-android-app h3 {
    font-family: "Trebuchet MS", Poppins, "Segoe UI", sans-serif !important;
    font-weight: 900 !important;
}

:root:not([data-theme="midnight"]) .native-android-app .card,
:root:not([data-theme="midnight"]) .native-android-app .vendor-card,
:root:not([data-theme="midnight"]) .native-android-app .vendor-form-card,
:root:not([data-theme="midnight"]) .native-android-app .vendor-table-card,
:root:not([data-theme="midnight"]) .native-android-app .booking-card,
:root:not([data-theme="midnight"]) .native-android-app .order-card,
:root:not([data-theme="midnight"]) .native-android-app .native-hub-card,
:root:not([data-theme="midnight"]) .native-android-app .native-feature-menu > a,
:root:not([data-theme="midnight"]) .native-android-app .native-saved-list > article,
:root:not([data-theme="midnight"]) .native-android-app .native-saved-empty,
:root:not([data-theme="midnight"]) .native-android-app .native-location-search-v5,
:root:not([data-theme="midnight"]) .native-android-app .native-recent-locations-v5 > div {
    border: 2px solid var(--bold-border) !important;
    border-radius: 22px !important;
    color: var(--bold-text) !important;
    background: var(--bold-surface) !important;
    box-shadow: var(--bold-card-shadow) !important;
}

:root:not([data-theme="midnight"]) .native-android-app input:not([type="checkbox"]):not([type="radio"]),
:root:not([data-theme="midnight"]) .native-android-app select,
:root:not([data-theme="midnight"]) .native-android-app textarea,
:root:not([data-theme="midnight"]) .native-android-app .vendor-input {
    border: 2px solid var(--bold-border) !important;
    border-radius: 12px !important;
    color: var(--bold-text) !important;
    background: var(--bold-surface) !important;
}

:root:not([data-theme="midnight"]) .native-android-app .button,
:root:not([data-theme="midnight"]) .native-android-app .vendor-button,
:root:not([data-theme="midnight"]) .native-android-app button[type="submit"] {
    border: 2px solid var(--bold-border) !important;
    border-radius: 12px !important;
    color: var(--bold-text) !important;
    background: var(--bold-primary) !important;
    box-shadow: var(--bold-control-shadow) !important;
    font-weight: 900 !important;
}

:root:not([data-theme="midnight"]) .native-android-app .customer-discovery-search,
:root:not([data-theme="midnight"]) .native-android-app .customer-city-picker,
:root:not([data-theme="midnight"]) .native-android-app .native-scan-banner-v4,
:root:not([data-theme="midnight"]) .native-android-app .customer-stat-grid a,
:root:not([data-theme="midnight"]) .native-android-app .public-deal-card,
:root:not([data-theme="midnight"]) .native-android-app .native-popular-cities-v5 a > span {
    border: 2px solid var(--bold-border) !important;
    border-radius: 22px !important;
    color: var(--bold-text) !important;
    background: var(--bold-surface) !important;
    box-shadow: var(--bold-card-shadow) !important;
}

:root:not([data-theme="midnight"]) .native-android-app .native-scan-banner-v4 {
    background: var(--bold-accent) !important;
}

:root:not([data-theme="midnight"]) .native-android-app .native-scan-banner-v4 small,
:root:not([data-theme="midnight"]) .native-android-app .native-scan-banner-v4 > i,
:root:not([data-theme="midnight"]) .native-android-app .native-saved-heading p,
:root:not([data-theme="midnight"]) .native-android-app .native-saved-store b {
    color: var(--bold-primary) !important;
}

:root:not([data-theme="midnight"]) .native-app-tabs {
    right: 12px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0)) !important;
    left: 12px !important;
    height: 64px !important;
    padding: 5px 8px !important;
    border: 2px solid var(--bold-border) !important;
    border-radius: 999px !important;
    color: var(--bold-surface) !important;
    background: var(--bold-text) !important;
    box-shadow: 5px 5px 0 var(--bold-primary) !important;
    backdrop-filter: none !important;
}

:root:not([data-theme="midnight"]) .native-app-tab {
    color: #d9a48b !important;
}

:root:not([data-theme="midnight"]) .native-app-tab.is-active {
    color: var(--bold-accent) !important;
}

:root:not([data-theme="midnight"]) .native-app-tab.is-scan .native-tab-icon {
    border-color: var(--bold-text) !important;
    background: var(--bold-primary) !important;
    box-shadow: 4px 4px 0 var(--bold-accent) !important;
}

:root:not([data-theme="midnight"]) .native-tab-icon-scan::before {
    border-color: var(--bold-text) !important;
    box-shadow: -8px -8px 0 -5px var(--bold-text), 8px -8px 0 -5px var(--bold-text), -8px 8px 0 -5px var(--bold-text), 8px 8px 0 -5px var(--bold-text) !important;
}

@media (min-width: 700px) {
    :root:not([data-theme="midnight"]) .native-app-tabs {
        right: auto !important;
        left: 50% !important;
        width: min(676px, calc(100% - 24px)) !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 700px) {
    :root:not([data-theme="midnight"]) .card,
    :root:not([data-theme="midnight"]) .table-card,
    :root:not([data-theme="midnight"]) .auth-card,
    :root:not([data-theme="midnight"]) .portal-card,
    :root:not([data-theme="midnight"]) .category-card,
    :root:not([data-theme="midnight"]) .vendor-card,
    :root:not([data-theme="midnight"]) .deal-card,
    :root:not([data-theme="midnight"]) .admin-card,
    :root:not([data-theme="midnight"]) .admin-metrics article,
    :root:not([data-theme="midnight"]) .vendor-metric {
        box-shadow: 4px 4px 0 var(--bold-border);
    }
}

/* Vendor Android reference layouts: V07 Home and V08 Requests. */
.native-vendor-app {
    --vendor-ref-accent: var(--native-accent);
    --vendor-ref-accent-soft: var(--native-accent-soft);
    --vendor-ref-ink: var(--native-text);
    --vendor-ref-muted: var(--native-muted);
    --vendor-ref-surface: var(--native-surface);
    --vendor-ref-border: var(--native-border);
    --vendor-ref-shadow: none;
}

:root:not([data-theme="midnight"]) .native-vendor-app {
    --vendor-ref-accent: var(--bold-primary);
    --vendor-ref-accent-soft: #ffe4dc;
    --vendor-ref-ink: var(--bold-text);
    --vendor-ref-muted: var(--bold-muted);
    --vendor-ref-surface: var(--bold-surface);
    --vendor-ref-border: var(--bold-border);
    --vendor-ref-shadow: 4px 4px 0 var(--bold-border);
}

:root[data-theme="midnight"] .native-vendor-app {
    --vendor-ref-accent: #f2b943;
    --vendor-ref-accent-soft: #26304a;
    --vendor-ref-ink: #f5f1e7;
    --vendor-ref-muted: #9ba8c1;
    --vendor-ref-surface: #14213b;
    --vendor-ref-border: #2a3b60;
    --vendor-ref-shadow: 0 8px 24px rgb(0 0 0 / .18);
}

.native-screen-vendor-dashboard .vendor-topbar,
.native-screen-vendor-requests .vendor-topbar { display: none !important; }

.native-screen-vendor-dashboard .vendor-content,
.native-screen-vendor-requests .vendor-content {
    width: min(100%, 480px) !important;
    max-width: 480px !important;
    padding: 18px 16px 34px !important;
}

.vendor-reference-dashboard,
.vendor-reference-requests { color: var(--vendor-ref-ink); }

.vendor-reference-home-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.vendor-reference-home-head > img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
}

.vendor-reference-store-copy { min-width: 0; }
.vendor-reference-store-copy h1 {
    overflow: hidden;
    margin: 2px 0 0 !important;
    color: var(--vendor-ref-ink) !important;
    font-size: clamp(20px, 6vw, 27px) !important;
    line-height: 1.05 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.native-vendor-app .vendor-reference-live-toggle {
    display: block !important;
    margin: 0 !important;
}

.native-vendor-app .vendor-reference-live-toggle button {
    display: grid !important;
    width: 136px !important;
    min-width: 136px !important;
    min-height: 30px !important;
    grid-template-columns: 9px minmax(0, 1fr) 32px !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 4px 5px 4px 9px !important;
    border: 1.5px solid color-mix(in srgb, var(--native-danger) 68%, var(--vendor-ref-border)) !important;
    border-radius: 999px !important;
    color: var(--native-danger) !important;
    background: color-mix(in srgb, var(--native-danger) 10%, var(--vendor-ref-surface)) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.native-vendor-app .vendor-reference-live-toggle button.is-active,
.native-vendor-app .vendor-reference-live-toggle button.is-attempting {
    border-color: color-mix(in srgb, var(--native-success) 72%, var(--vendor-ref-border)) !important;
    color: color-mix(in srgb, var(--native-success) 84%, var(--vendor-ref-ink)) !important;
    background: color-mix(in srgb, var(--native-success) 10%, var(--vendor-ref-surface)) !important;
}

.vendor-reference-live-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border: 2px solid var(--vendor-ref-surface);
    border-radius: 50%;
    background: var(--native-danger);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--native-danger) 75%, transparent), 0 0 7px color-mix(in srgb, var(--native-danger) 45%, transparent);
}

.vendor-reference-live-toggle button.is-active .vendor-reference-live-dot,
.vendor-reference-live-toggle button.is-attempting .vendor-reference-live-dot {
    background: var(--native-success);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--native-success) 75%, transparent), 0 0 7px color-mix(in srgb, var(--native-success) 45%, transparent);
}
.vendor-reference-live-label { overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.vendor-reference-live-toggle .vendor-toggle-track { width: 32px !important; height: 19px !important; margin: 0 !important; padding: 2px !important; background: color-mix(in srgb, var(--native-danger) 72%, var(--vendor-ref-muted)) !important; }
.vendor-reference-live-toggle .vendor-toggle-track i { top: 2px !important; left: 2px !important; width: 15px !important; height: 15px !important; box-shadow: 0 1px 4px rgb(0 0 0 / .28) !important; }
.vendor-reference-live-toggle button.is-active .vendor-toggle-track,
.vendor-reference-live-toggle button.is-attempting .vendor-toggle-track { background: var(--native-success) !important; }
.vendor-reference-live-toggle button.is-active .vendor-toggle-track i,
.vendor-reference-live-toggle button.is-attempting .vendor-toggle-track i { transform: translateX(13px) !important; }

.vendor-reference-bell {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1.5px solid var(--vendor-ref-border);
    border-radius: 14px;
    color: var(--vendor-ref-ink) !important;
    background: var(--vendor-ref-surface);
    font-size: 17px;
    text-decoration: none;
}

.vendor-reference-bell b {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid var(--native-bg);
    border-radius: 10px;
    color: #fff;
    background: #f04f55;
    font-size: 8px;
}

.vendor-reference-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--vendor-ref-border);
    border-radius: 14px;
    background: var(--vendor-ref-accent-soft);
    font-size: 11px;
}
.vendor-reference-notice a { color: var(--vendor-ref-accent) !important; font-weight: 900; }

.vendor-reference-sales-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    align-items: end;
    gap: 12px;
    margin-bottom: 12px;
    padding: 16px;
    border: 1.5px solid var(--vendor-ref-border);
    border-radius: 18px;
    color: var(--vendor-ref-ink);
    background: linear-gradient(135deg, var(--vendor-ref-surface) 0 68%, color-mix(in srgb, var(--vendor-ref-accent) 18%, var(--vendor-ref-surface)) 100%);
    box-shadow: var(--vendor-ref-shadow);
}

:root[data-theme="midnight"] .vendor-reference-sales-card { background: var(--vendor-ref-surface); }
.vendor-reference-sales-card::before {
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: var(--vendor-ref-accent);
    content: "";
}
.vendor-reference-sales-card > * { position: relative; z-index: 1; }
.vendor-reference-sales-card p { margin: 0 0 5px; font-size: 9px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; }
.vendor-reference-sales-card strong { display: block; font-size: 22px; line-height: 1.1; }
.vendor-reference-sales-card span { display: block; margin-top: 5px; color: color-mix(in srgb, var(--vendor-ref-ink) 70%, transparent); font-size: 10px; }
.vendor-reference-sales-card a { display: inline-flex; margin-top: 12px; padding: 8px 12px; border-radius: 10px; color: #fff !important; background: #2a1208; font-size: 10px; font-weight: 900; }
:root[data-theme="midnight"] .vendor-reference-sales-card a { color: #071426 !important; background: var(--vendor-ref-accent); }
.vendor-reference-sales-card svg { width: 50px; stroke: currentColor; stroke-width: 2; fill: none; }

.vendor-reference-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 12px;
}

.vendor-reference-metric-grid > a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 2px 8px;
    min-width: 0;
    min-height: 92px;
    padding: 13px;
    border: 1.5px solid var(--vendor-ref-border);
    border-radius: 17px;
    color: var(--vendor-ref-ink) !important;
    background: var(--vendor-ref-surface);
    box-shadow: var(--vendor-ref-shadow);
    text-decoration: none;
}
.vendor-reference-metric-grid > a:last-child:nth-child(odd) {
    min-height: 80px;
    grid-column: 1 / -1;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
}
.vendor-reference-metric-grid > a:last-child:nth-child(odd) span { grid-row: auto; width: 34px; height: 34px; }
.vendor-reference-metric-grid > a:last-child:nth-child(odd) strong { grid-column: auto; align-self: center; }
.vendor-reference-metric-grid span { grid-row: 1 / span 2; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: var(--vendor-ref-accent); background: var(--vendor-ref-accent-soft); font-size: 13px; }
.vendor-reference-metric-grid small { overflow: hidden; align-self: center; color: var(--vendor-ref-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.vendor-reference-metric-grid strong { grid-column: 1 / -1; align-self: end; font-size: 25px; }

.vendor-reference-chart-card,
.vendor-reference-setup-card {
    padding: 15px;
    border: 1.5px solid var(--vendor-ref-border);
    border-radius: 18px;
    background: var(--vendor-ref-surface);
    box-shadow: var(--vendor-ref-shadow);
}
.vendor-reference-chart-card h2 { margin: 0 0 12px; font-size: 15px !important; }
.vendor-reference-chart { display: grid; height: 112px; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 8px; padding-top: 8px; border-bottom: 1px dashed color-mix(in srgb, var(--vendor-ref-border) 45%, transparent); }
.vendor-reference-chart > div { display: grid; height: 100%; grid-template-rows: 1fr 14px; align-items: end; gap: 5px; text-align: center; }
.vendor-reference-chart i { display: block; width: 100%; height: var(--vendor-chart-height); min-height: 10px; border-radius: 5px 5px 1px 1px; background: color-mix(in srgb, var(--vendor-ref-accent) 45%, transparent); }
.vendor-reference-chart > div:last-child i { background: var(--vendor-ref-accent); }
.vendor-reference-chart span { color: var(--vendor-ref-muted); font-size: 8px; }

.vendor-reference-setup-card { display: grid; gap: 0; margin-top: 12px; padding: 0; overflow: hidden; }
.vendor-reference-setup-card > p { margin: 0; padding: 13px 14px; color: var(--vendor-ref-muted); font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.vendor-reference-setup-card a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 54px; padding: 9px 13px; border-top: 1px solid var(--vendor-ref-border); color: var(--vendor-ref-ink) !important; }
.vendor-reference-setup-card a > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--vendor-ref-accent); background: var(--vendor-ref-accent-soft); }
.vendor-reference-setup-card a strong { font-size: 12px; }
.vendor-reference-setup-card a small { color: var(--vendor-ref-muted); font-size: 9px; }

.vendor-reference-requests-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vendor-reference-requests-head h1 { margin: 0 !important; color: var(--vendor-ref-ink) !important; font-size: 29px !important; }
.vendor-reference-requests-head > a { display: grid; width: 42px; height: 42px; place-items: center; border: 1.5px solid var(--vendor-ref-border); border-radius: 13px; color: var(--vendor-ref-ink) !important; background: var(--vendor-ref-surface); }
.vendor-reference-requests-head svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.vendor-reference-request-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 11px;
    padding: 4px;
    border: 1.5px solid var(--vendor-ref-border);
    border-radius: 13px;
    background: var(--vendor-ref-surface);
}
.vendor-reference-request-types a { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 5px; border-radius: 9px; color: var(--vendor-ref-muted) !important; font-size: 11px; font-weight: 900; }
.vendor-reference-request-types a.is-active { color: #fff !important; background: #2a1208; }
:root[data-theme="midnight"] .vendor-reference-request-types a.is-active { color: #071426 !important; background: var(--vendor-ref-accent); }
.vendor-reference-request-types b,
.vendor-reference-status-tabs b { display: inline-grid; min-width: 16px; height: 16px; place-items: center; padding: 0 4px; border-radius: 9px; background: color-mix(in srgb, currentColor 13%, transparent); font-size: 8px; }

.vendor-reference-status-tabs { display: flex; gap: 7px; margin-bottom: 13px; overflow-x: auto; scrollbar-width: none; }
.vendor-reference-status-tabs::-webkit-scrollbar { display: none; }
.vendor-reference-status-tabs a { display: flex; min-height: 36px; flex: 1 0 auto; align-items: center; justify-content: center; gap: 4px; padding: 7px 12px; border: 1.5px solid var(--vendor-ref-border); border-radius: 999px; color: var(--vendor-ref-ink) !important; background: var(--vendor-ref-surface); font-size: 10px; font-weight: 900; }
.vendor-reference-status-tabs a.is-active { color: #fff !important; background: var(--vendor-ref-accent); }

.vendor-reference-request-list { display: grid; gap: 10px; }
.vendor-reference-request-card { padding: 12px; border: 1.5px solid var(--vendor-ref-border); border-radius: 17px; color: var(--vendor-ref-ink); background: var(--vendor-ref-surface); box-shadow: var(--vendor-ref-shadow); }
.vendor-reference-request-card > header { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; gap: 9px; }
.vendor-reference-request-card > header > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--vendor-ref-accent); background: var(--vendor-ref-accent-soft); font-size: 12px; }
.vendor-reference-request-card > header div { min-width: 0; }
.vendor-reference-request-card > header a { display: block; overflow: hidden; color: var(--vendor-ref-ink) !important; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.vendor-reference-request-card > header small { display: block; overflow: hidden; margin-top: 3px; color: var(--vendor-ref-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.vendor-reference-request-card > header > b { padding: 5px 8px; font-size: 8px !important; }
.vendor-reference-order-lines { margin: 9px 0; padding: 7px 0; border-top: 1px dashed var(--vendor-ref-border); border-bottom: 1px dashed var(--vendor-ref-border); }
.vendor-reference-order-lines p { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 3px 0; color: var(--vendor-ref-muted); font-size: 10px; }
.vendor-reference-order-lines p strong { color: var(--vendor-ref-ink); font-weight: 700; }
.vendor-reference-order-lines .is-note strong { overflow: hidden; max-width: 70%; text-overflow: ellipsis; white-space: nowrap; }
.vendor-reference-request-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vendor-reference-request-card > footer > div:first-child { display: flex; align-items: baseline; gap: 6px; }
.vendor-reference-request-card > footer > div:first-child strong { font-size: 13px; }
.vendor-reference-request-card > footer > div:first-child small { color: var(--vendor-ref-muted); font-size: 8px; }
.vendor-reference-inline-actions { display: flex; gap: 7px; }
.native-vendor-app .vendor-reference-inline-actions form { margin: 0 !important; }
.native-vendor-app .vendor-reference-inline-actions button { width: auto !important; min-height: 34px !important; padding: 7px 11px !important; border: 1.5px solid var(--vendor-ref-border) !important; border-radius: 9px !important; color: #fff !important; background: var(--vendor-ref-accent) !important; box-shadow: none !important; font-size: 9px !important; }
.native-vendor-app .vendor-reference-inline-actions button.is-secondary { color: var(--vendor-ref-ink) !important; background: var(--vendor-ref-surface) !important; }
.vendor-reference-request-empty { padding: 30px 18px; border: 1.5px solid var(--vendor-ref-border); border-radius: 17px; color: var(--vendor-ref-muted); background: var(--vendor-ref-surface); text-align: center; }

@media (max-width: 360px) {
    .native-screen-vendor-dashboard .vendor-content,
    .native-screen-vendor-requests .vendor-content { padding-inline: 13px !important; }
    .vendor-reference-home-head { grid-template-columns: 36px minmax(0, 1fr) 38px; gap: 8px; }
    .vendor-reference-home-head > img { width: 36px; height: 36px; }
    .vendor-reference-bell { width: 38px; height: 38px; }
    .vendor-reference-store-copy h1 { font-size: 20px !important; }
    .vendor-reference-status-tabs { gap: 5px; }
    .vendor-reference-status-tabs a { padding-inline: 9px; }
    .vendor-reference-request-card > footer { align-items: flex-start; flex-direction: column; }
}

/* Notification centre: shared responsive treatment for web and native WebView shells. */
.topbar-notification-bell svg,
.vendor-reference-bell svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-notification-bell {
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.topbar-notification-bell:hover {
    border-color: var(--bold-primary, #55b6ff) !important;
    color: var(--bold-primary, #55b6ff) !important;
    transform: translateY(-2px);
}

.customer-topbar-actions .topbar-notification-bell:hover { transform: translateY(-2px); }

.notification-page {
    --notification-surface: #fff;
    --notification-surface-soft: #fff0e4;
    --notification-text: #2a1208;
    --notification-muted: #866657;
    --notification-border: #2a1208;
    --notification-accent: #ff5a36;
    width: min(100% - 2rem, 920px) !important;
    max-width: 920px !important;
    margin-inline: auto !important;
    padding: 32px 0 64px !important;
}

html[data-theme="midnight"] .notification-page {
    --notification-surface: #13213a;
    --notification-surface-soft: #182b49;
    --notification-text: #f5f7fb;
    --notification-muted: #a9b7cc;
    --notification-border: #304668;
    --notification-accent: #55b6ff;
}

.notification-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 0 0 20px !important;
    border: 1.5px solid var(--notification-border) !important;
    border-radius: 24px !important;
    padding: 22px !important;
    background: var(--notification-surface) !important;
    box-shadow: 5px 5px 0 color-mix(in srgb, var(--notification-border) 100%, transparent) !important;
}

.notification-heading-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.notification-heading-main > div { min-width: 0; }
.notification-heading-main .eyebrow { margin: 0 0 4px; color: var(--notification-accent) !important; }
.notification-heading h1 { margin: 0 !important; color: var(--notification-text) !important; font-size: clamp(1.8rem, 5vw, 2.8rem) !important; line-height: 1 !important; }
.notification-heading-main p:last-child { max-width: 34rem; margin: 8px 0 0 !important; color: var(--notification-muted) !important; font-size: .86rem; line-height: 1.55; }

.notification-heading-icon,
.notification-item-icon,
.notification-empty > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--notification-accent);
    background: var(--notification-surface-soft);
}

.notification-heading-icon { width: 54px; height: 54px; border-radius: 17px; }
.notification-heading-icon svg { width: 25px; height: 25px; }
.notification-heading-icon svg,
.notification-item-icon svg,
.notification-arrow svg,
.notification-read-all svg,
.notification-empty svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.notification-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.notification-heading-actions form { margin: 0; }
.notification-unread-summary { display: grid; min-width: 70px; justify-items: center; border: 1px solid color-mix(in srgb, var(--notification-border) 30%, transparent); border-radius: 14px; padding: 8px 10px; color: var(--notification-text); background: var(--notification-surface-soft); }
.notification-unread-summary strong { font-size: 1.15rem; line-height: 1; }
.notification-unread-summary small { margin-top: 3px; color: var(--notification-muted); font-size: .62rem; font-weight: 800; white-space: nowrap; }
.notification-read-all { display: inline-flex !important; min-height: 42px; align-items: center; justify-content: center; gap: 7px; border: 1.5px solid var(--notification-border) !important; border-radius: 13px !important; padding: 9px 13px !important; color: #fff !important; background: var(--notification-accent) !important; box-shadow: 2px 2px 0 var(--notification-border); font-size: .72rem; font-weight: 900 !important; cursor: pointer; }
.notification-read-all svg { width: 17px; height: 17px; }

.notification-list { display: grid !important; gap: 11px !important; }
.notification-list > form { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.notification-item { position: relative; display: grid !important; width: 100%; min-width: 0; grid-template-columns: 46px minmax(0, 1fr) 34px; align-items: center !important; gap: 13px !important; border: 1.5px solid var(--notification-border) !important; border-radius: 19px !important; padding: 14px 15px !important; color: var(--notification-text) !important; background: var(--notification-surface) !important; box-shadow: none !important; text-align: left; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.notification-item:hover { transform: translateY(-2px); }
.notification-item.unread { border-color: var(--notification-accent) !important; background: color-mix(in srgb, var(--notification-surface) 88%, var(--notification-accent) 12%) !important; box-shadow: inset 4px 0 0 var(--notification-accent) !important; }
.notification-item-icon { width: 46px; height: 46px; border-radius: 14px; }
.notification-item-icon svg { width: 22px; height: 22px; }
.notification-booking .notification-item-icon { color: #bc7400; background: #fff0cc; }
.notification-vendor_review .notification-item-icon { color: #168155; background: #e1f7ec; }
html[data-theme="midnight"] .notification-booking .notification-item-icon { color: #ffc85a; background: #3a3020; }
html[data-theme="midnight"] .notification-vendor_review .notification-item-icon { color: #4fd1a5; background: #153b36; }
.notification-copy { display: grid !important; min-width: 0; gap: 5px !important; }
.notification-title-row { display: flex; min-width: 0; align-items: center; gap: 8px; }
.notification-title-row strong { overflow: hidden; color: var(--notification-text) !important; font-size: .95rem !important; text-overflow: ellipsis; white-space: nowrap; }
.notification-title-row em { flex: 0 0 auto; border-radius: 999px; padding: 3px 7px; color: #fff; background: var(--notification-accent); font-size: .56rem; font-style: normal; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.notification-copy small { color: var(--notification-muted) !important; font-size: .78rem !important; line-height: 1.45 !important; overflow-wrap: anywhere; }
.notification-copy time { color: var(--notification-muted) !important; font-size: .66rem !important; font-weight: 750; }
.notification-arrow { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: var(--notification-text) !important; background: var(--notification-surface-soft); }
.notification-arrow svg { width: 17px; height: 17px; }
.notification-empty { display: grid; justify-items: center; gap: 8px; border: 1.5px dashed var(--notification-border); border-radius: 20px; padding: 42px 20px !important; color: var(--notification-muted); background: var(--notification-surface); text-align: center; }
.notification-empty > span { width: 54px; height: 54px; border-radius: 17px; }
.notification-empty svg { width: 25px; height: 25px; }
.notification-empty h2 { margin: 4px 0 0; color: var(--notification-text); font-size: 1.15rem; }
.notification-empty p { max-width: 28rem; margin: 0 !important; color: var(--notification-muted) !important; font-size: .78rem !important; }

@media (max-width: 700px) {
    .notification-page { width: min(100% - 24px, 920px) !important; padding-block: 18px 104px !important; }
    .notification-heading { align-items: stretch !important; flex-direction: column !important; gap: 14px !important; border-radius: 20px !important; padding: 16px !important; box-shadow: 3px 3px 0 var(--notification-border) !important; }
    .notification-heading-icon { width: 46px; height: 46px; border-radius: 14px; }
    .notification-heading h1 { font-size: 1.65rem !important; }
    .notification-heading-actions { width: 100%; }
    .notification-unread-summary { min-width: 82px; }
    .notification-heading-actions form { flex: 1; }
    .notification-read-all { width: 100%; }
    .notification-item { grid-template-columns: 42px minmax(0, 1fr) 30px; gap: 11px !important; border-radius: 17px !important; padding: 13px !important; }
    .notification-item-icon { width: 42px; height: 42px; border-radius: 13px; }
    .notification-arrow { width: 30px; height: 30px; }
}

.native-android-app .notification-page { width: min(100% - 28px, 560px) !important; max-width: 560px !important; padding: 16px 0 110px !important; }
.native-android-app .notification-heading { margin-bottom: 14px !important; border-width: 1.5px !important; box-shadow: none !important; }
.native-android-app .notification-heading-main .eyebrow { font-size: .63rem !important; letter-spacing: .13em !important; }
.native-android-app .notification-heading-main p:last-child { font-size: .76rem !important; }
.native-android-app .notification-item { min-height: 82px; }
.native-android-app .notification-list > form { padding: 0 !important; border: 0 !important; background: transparent !important; }
