/* Runtime styles — extracted from an inline <style> block (CSP: no inline style blocks). */
/* ===== v150 definitive styles ===== */
    /* Clean Tab & Subtab Transitions */
    @keyframes hubEnterV15 {
      0%   { opacity: 0; transform: translateY(6px); }
      100% { opacity: 1; transform: none; }
    }
    @keyframes subPaneSlideV15 {
      0%   { opacity: 0; transform: translateX(5px); }
      100% { opacity: 1; transform: none; }
    }
    html body .tab-content.active {
      display: block !important;
      animation: hubEnterV15 0.20s var(--spring) forwards !important;
    }
    html body .subtab-pane.active {
      display: block !important;
      animation: subPaneSlideV15 0.16s var(--spring) forwards !important;
    }

    /* Vector SVG Icons */
    html body .bd-ico {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      vertical-align: -0.16em !important;
      margin-right: 4px !important;
      line-height: 1 !important;
      color: currentColor !important;
      flex-shrink: 0 !important;
      pointer-events: none !important;
    }
    html body .bd-ico svg {
      width: 15px !important;
      height: 15px !important;
      stroke: currentColor !important;
      fill: rgba(var(--s-rgb, 56, 189, 248), 0.14) !important;
      stroke-width: 2.15 !important;
      stroke-linecap: round !important;
      stroke-linejoin: round !important;
      display: block !important;
    }

    /* Interactive KPI Cards with Pop-Up Indicator Badge & Standout Text Colors */
    html body .kpi-card {
      cursor: pointer !important;
      user-select: none !important;
      --glow-rgb: 56, 189, 248 !important;
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      background: linear-gradient(180deg, rgba(14, 22, 38, 0.94) 0%, rgba(8, 13, 24, 0.98) 100%) !important;
      box-shadow: 0 10px 26px -4px rgba(2, 6, 23, 0.72), 0 4px 14px -2px rgba(14, 165, 233, 0.10) !important;
      transition: transform 0.20s var(--spring), box-shadow 0.20s ease, border-color 0.20s ease !important;
    }
    html body .kpi-card:nth-child(1) .kpi-val { color: #34d399; text-shadow: none !important; }
    html body .kpi-card:nth-child(2) .kpi-val { color: #38bdf8; text-shadow: none !important; }
    html body .kpi-card:nth-child(3) .kpi-val { color: #c084fc; text-shadow: none !important; }
    html body .kpi-card:nth-child(4) .kpi-val { color: #38bdf8; text-shadow: none !important; }
    html body .kpi-card:nth-child(5) .kpi-val { color: #fb7185; text-shadow: none !important; }

    html body .kpi-card::after {
      content: "⤢";
      position: absolute;
      top: 8px;
      right: 11px;
      font-size: 0.76rem;
      font-weight: 900;
      color: var(--muted);
      opacity: 0.45;
      transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
      pointer-events: none;
      z-index: 2;
    }
    html body .kpi-card:hover {
      transform: translateY(-2px) !important;
      border-color: rgba(56, 189, 248, 0.62) !important;
      box-shadow: 0 12px 28px -4px rgba(2, 6, 23, 0.82), 0 6px 20px -2px rgba(14, 165, 233, 0.24), inset 0 0 8px rgba(56, 189, 248, 0.08) !important;
    }
    html body .kpi-card:hover::after { opacity: 1; transform: scale(1.12); color: #7dd3fc; }
    html body .kpi-card:active { transform: scale(0.98) !important; }
    html body .kpi-card .kpi-label {
      color: #94a3b8 !important;
      font-size: 0.72rem !important;
      font-weight: 700 !important;
      letter-spacing: 0.04em !important;
      text-transform: uppercase !important;
      transition: color 0.15s ease !important;
    }
    html body .kpi-card:hover .kpi-label {
      color: #e2e8f0 !important;
    }

    /* Unified Pop-Up Modal Table Wrapper & Colspan Fix */
    html body .bd-modal-table-wrap {
      max-height: 360px !important;
      overflow: auto !important;
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      border-radius: 12px !important;
      background: rgba(6, 10, 19, 0.85) !important;
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.65) !important;
      -webkit-overflow-scrolling: touch !important;
    }
    html body .modal-box table {
      min-width: 560px !important;
      width: 100% !important;
      border-collapse: separate !important;
      border-spacing: 0 !important;
    }
    html body .modal-box th,
    html body .modal-box td {
      padding: 8px 10px !important;
      font-size: 0.80rem !important;
      vertical-align: middle !important;
    }
    html body table td[colspan] {
      position: static !important;
      left: auto !important;
      min-width: 0 !important;
      max-width: none !important;
      background: transparent !important;
      background-image: none !important;
      box-shadow: none !important;
      border-right: none !important;
      text-align: center !important;
    }
    /* Spill / Comp Modal Responsive Controls Bar */
    html body .bd-spill-form-grid {
      display: grid !important;
      grid-template-columns: 1.6fr 1.1fr 0.65fr 0.85fr auto !important;
      gap: 8px !important;
      align-items: end !important;
      margin-bottom: 12px !important;
      padding: 12px !important;
      background: var(--panel-alt) !important;
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      border-radius: 12px !important;
    }

    /* Dashboard Venue Bar & Status/Creep Pills */
    html body #hub-dashboard .program-bar {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 8px !important;
      padding: 12px 14px !important;
      border-radius: 14px !important;
    }
    .bd-venue-top-row {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 10px !important;
      width: 100% !important;
      flex-wrap: nowrap !important;
    }
    .bd-venue-selector-wrap {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
      flex: 1 !important;
      min-width: 220px !important;
    }
    .bd-venue-tag {
      font-size: 0.76rem !important;
      font-weight: 800 !important;
      color: var(--blue) !important;
      white-space: nowrap !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 5px !important;
    }
    .bd-venue-selector-wrap select {
      flex: 1 !important;
      font-weight: 700 !important;
      border-color: var(--border) !important;
      height: 35px !important;
    }
    .bd-venue-slot-buttons {
      display: flex !important;
      align-items: center !important;
      gap: 6px !important;
      flex-shrink: 0 !important;
    }
    .bd-venue-actions-grid {
      display: grid !important;
      grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
      gap: 8px !important;
      width: 100% !important;
    }
    .bd-venue-actions-grid > .btn {
      width: 100% !important;
      height: 34px !important;
      padding: 4px 8px !important;
      font-size: 0.73rem !important;
      font-weight: 700 !important;
      justify-content: center !important;
      white-space: nowrap !important;
    }
    @media (max-width: 1100px) {
      .bd-venue-actions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      }
      .bd-venue-top-row {
        flex-wrap: wrap !important;
      }
    }
    @media (max-width: 768px) {
      .bd-venue-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }
    }

    /* Unified Table Styling Across App - Matching Inventory Table */
    .sliding-pricing-wrap {
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      background: rgba(4, 8, 18, 0.70) !important;
      box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5) !important;
      border-radius: 10px !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
      margin-top: 10px !important;
    }
    .sliding-pricing-table {
      min-width: 840px !important;
      width: 100% !important;
      border-collapse: separate !important;
      border-spacing: 0 !important;
    }
    .sliding-pricing-table thead th {
      background: #080d1a !important;
      color: #e2e8f0 !important;
      font-size: 0.68rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.05em !important;
      text-transform: uppercase !important;
      padding: 9px 10px !important;
      border-bottom: 2px solid rgba(56, 189, 248, 0.40) !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75) !important;
      position: sticky !important;
      top: 0 !important;
      z-index: 25 !important;
      white-space: nowrap !important;
    }
    .sliding-pricing-table th,
    .sliding-pricing-table td {
      padding: 8px 10px !important;
      border-bottom: 1px solid rgba(71, 85, 105, 0.38) !important;
      vertical-align: middle !important;
      font-size: 0.82rem !important;
    }
    .sliding-pricing-table .sku-box-pill {
      min-width: 108px;
      max-width: 100%;
    }
    .sliding-table-input {
      width: 78px !important;
      text-align: center !important;
      font-weight: 700 !important;
      font-size: 0.82rem !important;
      background: rgba(15, 23, 42, 0.85) !important;
      border: 1px solid rgba(148, 163, 184, 0.35) !important;
      border-radius: 6px !important;
      padding: 5px 8px !important;
      color: #f8fafc !important;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
      transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    }
    .sliding-table-input:focus {
      border-color: #38bdf8 !important;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(56, 189, 248, 0.4) !important;
      outline: none !important;
    }

    /* Collapsible Import Drawers & "Audits & Tools" Popover Menus */
    .bd-import-drawer {
      background: linear-gradient(180deg, rgba(14, 22, 38, 0.94) 0%, rgba(8, 13, 24, 0.98) 100%);
      border: 1px solid rgba(56, 189, 248, 0.24) !important;
      border-radius: 12px;
      padding: 8px 14px;
      margin-bottom: 14px;
      box-shadow: 0 10px 26px -4px rgba(2, 6, 23, 0.72), 0 4px 14px -2px rgba(14, 165, 233, 0.10);
    }
    .bd-import-drawer-summary {
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      cursor: pointer;
      user-select: none;
    }
    .bd-import-drawer-summary::-webkit-details-marker { display: none; }
    .bd-import-drawer-title {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      font-size: 0.83rem;
      font-weight: 800;
      color: #e2e8f0;
    }
    .bd-import-drawer-hint {
      font-size: 0.72rem;
      font-weight: 600;
      color: #7dd3fc;
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.3);
      padding: 2px 8px;
      border-radius: 99px;
    }

    .panel > h3,
    .panel > .po-top-toolbar {
      position: relative !important;
      z-index: 80 !important;
    }
    .panel > h3:has(.bd-tools-dropdown[open]),
    .panel > *:has(.bd-tools-dropdown[open]) {
      z-index: 950 !important;
    }
    .panel:has(.bd-tools-dropdown[open]) {
      z-index: 300 !important;
      overflow: visible !important;
    }
    .bd-tools-dropdown {
      position: relative;
      display: inline-block;
      z-index: 90;
    }
    .bd-tools-dropdown[open] {
      z-index: 9999 !important;
    }
    .bd-tools-dropdown > summary {
      list-style: none;
      cursor: pointer;
      user-select: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }
    .bd-tools-dropdown > summary::-webkit-details-marker { display: none; }
    .bd-tools-dropdown-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 6px);
      min-width: 225px;
      background: rgba(9, 14, 26, 0.98);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(56, 189, 248, 0.35);
      border-radius: 12px;
      padding: 8px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      z-index: 10000 !important;
      box-shadow: 0 16px 36px -4px rgba(2, 6, 23, 0.85), 0 6px 20px -2px rgba(14, 165, 233, 0.18);
    }
    .bd-tools-dropdown-menu > .btn {
      width: 100% !important;
      justify-content: flex-start !important;
      text-align: left !important;
      padding: 7px 10px !important;
      font-size: 0.76rem !important;
    }

    /* ==========================================================================
       UNIFIED FROM-UNDERNEATH ICE-BLUE GLOW & 4-EDGE BUTTON ILLUMINATION
       - Panels/Cards/Widgets/Modals: 1px perimeter border + soft underneath blue glow
       - Buttons: Standardized dark obsidian (Amber/Red for warnings/danger only)
         with all 4 edges lighting up on hover + soft underneath blue glow
       ========================================================================== */
    .panel,
    .drop-box,
    .bd-widget-card,
    .bd-widget-card.widget-cyan,
    .bd-widget-card.widget-emerald,
    .bd-widget-card.widget-amber,
    .bd-widget-card.widget-purple,
    .bd-widget-card.widget-rose,
    .prep-card,
    .program-bar,
    .library-bar,
    .scalable-mode-banner,
    .property-outlet-bar,
    .hub-context-strip,
    .cocktail-balance-strip,
    .bd-import-drawer,
    #physAuditLifecycleBar,
    #avtAuditLifecycleBar,
    #bdCleanWorkspaceBanner,
    #poManualOrderCartStrip,
    .modal-box,
    .modal-card {
      --glow-rgb: 56, 189, 248 !important;
      background: linear-gradient(180deg, rgba(14, 22, 38, 0.94) 0%, rgba(7, 11, 21, 0.98) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      border-left: 1px solid rgba(56, 189, 248, 0.22) !important;
      box-shadow: 0 10px 26px -4px rgba(2, 6, 23, 0.72), 0 4px 14px -2px rgba(14, 165, 233, 0.10) !important;
      transition: transform 0.18s var(--spring), border-color 0.20s ease, box-shadow 0.20s ease !important;
    }
    .panel:hover,
    .panel:focus-within,
    .drop-box:hover,
    .drop-box:focus-within,
    .bd-widget-card:hover,
    .bd-widget-card:focus-within,
    .prep-card:hover,
    .prep-card:focus-within,
    .program-bar:hover,
    .program-bar:focus-within,
    .library-bar:hover,
    .library-bar:focus-within,
    .scalable-mode-banner:hover,
    .scalable-mode-banner:focus-within,
    .property-outlet-bar:hover,
    .property-outlet-bar:focus-within,
    .hub-context-strip:hover,
    .hub-context-strip:focus-within,
    .cocktail-balance-strip:hover,
    .cocktail-balance-strip:focus-within,
    .bd-import-drawer:hover,
    .bd-import-drawer:focus-within,
    #physAuditLifecycleBar:hover,
    #physAuditLifecycleBar:focus-within,
    #avtAuditLifecycleBar:hover,
    #avtAuditLifecycleBar:focus-within,
    #bdCleanWorkspaceBanner:hover,
    #bdCleanWorkspaceBanner:focus-within,
    #poManualOrderCartStrip:hover,
    #poManualOrderCartStrip:focus-within {
      border-color: rgba(56, 189, 248, 0.52) !important;
      box-shadow: 0 12px 28px -4px rgba(2, 6, 23, 0.82), 0 6px 20px -2px rgba(14, 165, 233, 0.22), inset 0 0 8px rgba(56, 189, 248, 0.06) !important;
    }
    html body .bd-widget-card .bd-widget-title,
    html body .bd-widget-card .bd-widget-header h4,
    html body .prep-card h4 {
      color: #f1f5f9 !important;
    }

    /* Standardized Button Palette:
       1) Standard Action Buttons (.btn, .btn-primary, .btn-purple, .btn-cyan, .btn-outline, .btn-secondary)
       2) Emerald Green Positive / Confirm Buttons (.btn-ok, .btn-emerald, .btn-success, .btn-skinny-emerald)
       3) Amber Warning Buttons (.btn-warn, .btn-amber)
       4) Red Danger Buttons (.btn-danger, .btn-rose) */
    .btn,
    button.btn,
    .btn-primary,
    .btn-purple,
    .btn-skinny-purple,
    .btn-cyan,
    .btn-skinny-cyan,
    .btn-outline,
    .btn-secondary,
    .btn-skinny-highlight,
    .turnkey-card,
    #hdrGeminiAiBtn,
    .subtab-btn,
    .po-tab-btn,
    .dep-credit-pill,
    .invoice-audit-pill,
    .inv-bottle-pill,
    .inv-step-btn,
    .user-auth-badge {
      --glow-rgb: 56, 189, 248 !important;
      background: linear-gradient(180deg, rgba(16, 26, 46, 0.92) 0%, rgba(9, 15, 28, 0.96) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.30) !important;
      color: #f1f5f9 !important;
      box-shadow: 0 4px 10px -2px rgba(2, 6, 23, 0.65), 0 2px 6px rgba(14, 165, 233, 0.08) !important;
      transition: transform 0.16s var(--spring), background 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease, color 0.16s ease !important;
    }
    .btn::after, button.btn::after {
      content: none !important;
      display: none !important;
    }
    /* Standout text colors preserved on specialized pills while border & glow stay unified */
    .inv-bottle-pill {
      color: #34d399 !important;
    }
    .subtab-btn[class*="cat-"] {
      color: var(--s-hex, #38bdf8) !important;
      border: 1px solid rgba(56, 189, 248, 0.30) !important;
    }
    .subtab-btn.active,
    .po-tab-btn.active,
    .dep-credit-pill.active,
    .invoice-audit-pill.active {
      background: linear-gradient(180deg, rgba(22, 38, 66, 0.96) 0%, rgba(11, 20, 36, 0.98) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.75) !important;
      color: #7dd3fc !important;
      box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.26), 0 2px 8px rgba(56, 189, 248, 0.14), inset 0 0 8px rgba(56, 189, 248, 0.15) !important;
    }
    .subtab-btn[class*="cat-"].active {
      color: var(--s-hex, #38bdf8) !important;
    }
    .po-tab-btn.tab-pending.active { color: #c084fc !important; }
    .po-tab-btn.tab-received.active { color: #34d399 !important; }

    /* Royal Amethyst Action Buttons */
    .btn.btn-warn,
    .btn.btn-amber,
    .btn.btn-skinny-amber,
    .btn-warn,
    .btn-amber,
    .btn-skinny-amber {
      --glow-rgb: 168, 85, 247 !important;
      background: linear-gradient(180deg, rgba(46, 20, 74, 0.88) 0%, rgba(19, 12, 34, 0.95) 100%) !important;
      border: 1px solid rgba(192, 132, 252, 0.48) !important;
      color: #e9d5ff !important;
      box-shadow: 0 4px 10px -2px rgba(2, 6, 23, 0.65), 0 2px 6px rgba(168, 85, 247, 0.08) !important;
    }

    /* Red Danger Buttons */
    .btn.btn-danger,
    .btn.btn-rose,
    .btn-danger,
    .btn-rose {
      --glow-rgb: 56, 189, 248 !important;
      background: linear-gradient(180deg, rgba(48, 14, 24, 0.88) 0%, rgba(20, 10, 16, 0.95) 100%) !important;
      border: 1px solid rgba(244, 63, 94, 0.48) !important;
      color: #fecdd3 !important;
      box-shadow: 0 4px 10px -2px rgba(2, 6, 23, 0.65), 0 2px 6px rgba(14, 165, 233, 0.08) !important;
    }

    /* Emerald Green Confirm / Positive Action Buttons (Start Audit, Receive Invoice, Confirm Cart, Consolidated Reports) */
    .btn.btn-ok,
    .btn.btn-emerald,
    .btn.btn-success,
    .btn.btn-skinny-emerald,
    .btn-ok,
    .btn-emerald,
    .btn-success,
    .btn-skinny-emerald {
      --glow-rgb: 16, 185, 129 !important;
      background: linear-gradient(180deg, rgba(10, 42, 32, 0.90) 0%, rgba(7, 22, 18, 0.96) 100%) !important;
      border: 1px solid rgba(16, 185, 129, 0.52) !important;
      color: #a7f3d0 !important;
      box-shadow: 0 4px 10px -2px rgba(2, 6, 23, 0.65), 0 2px 6px rgba(16, 185, 129, 0.10) !important;
    }

    /* Unified 4-Edge Lit Hover & Subtle Underneath Ice-Blue Glow Across All Buttons */
    .btn:hover,
    button.btn:hover,
    .btn-primary:hover,
    .btn-purple:hover,
    .btn-skinny-purple:hover,
    .btn-cyan:hover,
    .btn-skinny-cyan:hover,
    .btn-outline:hover,
    .btn-secondary:hover,
    .btn-skinny-highlight:hover,
    .turnkey-card:hover,
    #hdrGeminiAiBtn:hover,
    .subtab-btn:hover,
    .po-tab-btn:hover,
    .dep-credit-pill:hover,
    .invoice-audit-pill:hover,
    .inv-bottle-pill:hover,
    .inv-step-btn:hover,
    .user-auth-badge:hover {
      transform: translateY(-1px) !important;
      background: linear-gradient(180deg, rgba(20, 34, 58, 0.96) 0%, rgba(12, 21, 38, 0.98) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.78) !important;
      color: #ffffff !important;
      box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.28), 0 2px 8px rgba(56, 189, 248, 0.16), inset 0 0 8px rgba(56, 189, 248, 0.15) !important;
    }
    .subtab-btn[class*="cat-"]:hover {
      color: var(--s-hex, #38bdf8) !important;
    }
    .inv-bottle-pill:hover {
      color: #6ee7b7 !important;
    }
    .btn.btn-warn:hover,
    .btn.btn-amber:hover,
    .btn-warn:hover,
    .btn-amber:hover,
    .btn-skinny-amber:hover {
      transform: translateY(-1px) !important;
      background: linear-gradient(180deg, rgba(64, 28, 102, 0.94) 0%, rgba(28, 16, 48, 0.98) 100%) !important;
      border: 1px solid rgba(192, 132, 252, 0.82) !important;
      color: #f3e8ff !important;
      box-shadow: 0 6px 16px -2px rgba(168, 85, 247, 0.26), 0 2px 8px rgba(192, 132, 252, 0.14), inset 0 0 8px rgba(192, 132, 252, 0.15) !important;
    }
    .btn.btn-danger:hover,
    .btn.btn-rose:hover,
    .btn-danger:hover,
    .btn-rose:hover {
      transform: translateY(-1px) !important;
      background: linear-gradient(180deg, rgba(64, 18, 30, 0.94) 0%, rgba(26, 12, 18, 0.98) 100%) !important;
      border: 1px solid rgba(244, 63, 94, 0.82) !important;
      color: #ffe4e6 !important;
      box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.26), 0 2px 8px rgba(56, 189, 248, 0.14), inset 0 0 8px rgba(244, 63, 94, 0.15) !important;
    }
    .btn.btn-ok:hover,
    .btn.btn-emerald:hover,
    .btn.btn-success:hover,
    .btn.btn-skinny-emerald:hover,
    .btn-ok:hover,
    .btn-emerald:hover,
    .btn-success:hover,
    .btn-skinny-emerald:hover {
      transform: translateY(-1px) !important;
      background: linear-gradient(180deg, rgba(14, 56, 42, 0.95) 0%, rgba(9, 28, 22, 0.98) 100%) !important;
      border: 1px solid rgba(52, 211, 153, 0.85) !important;
      color: #ecfdf5 !important;
      box-shadow: 0 6px 16px -2px rgba(16, 185, 129, 0.28), 0 2px 8px rgba(52, 211, 153, 0.16), inset 0 0 8px rgba(52, 211, 153, 0.15) !important;
    }

    /* Mobile Anti-Clip Highlight Protection */
    @media (max-width: 900px) {
      .btn:hover,
      .btn:active,
      .btn:focus,
      .turnkey-card:hover,
      .subtab-btn:hover,
      .subtab-btn.active,
      .tab-btn:hover,
      .tab-btn.active,
      .po-tab-btn.active,
      .dep-credit-pill.active,
      .user-auth-badge:hover {
        transform: none !important;
      }
      .subtabs,
      .property-outlet-bar .subtabs,
      .po-segmented-tabs {
        padding: 6px 8px !important;
      }
      .bd-tools-dropdown {
        width: 100%;
      }
      .bd-tools-dropdown > summary {
        width: 100% !important;
        height: 35px !important;
        box-sizing: border-box !important;
      }
      .bd-tools-dropdown-menu {
        right: 0;
        left: auto;
        min-width: min(250px, 88vw);
      }
    }

    /* Whisper-Subtle 5% Table Row Tints — Clean Sommelier/Financial Ledger Look */
    body table tr[class*="cat-"] td,
    body .sliding-pricing-table tr[class*="cat-"] td {
      background: linear-gradient(90deg, rgba(var(--s-rgb), 0.055) 0%, rgba(var(--s-rgb), 0.018) 45%, rgba(8, 13, 24, 0.65) 100%) !important;
    }
    body table tbody td:first-child,
    body tr[class*="cat-"] td:first-child {
      background-color: #080d18 !important;
      background-image: linear-gradient(90deg, rgba(var(--s-rgb, 56, 189, 248), 0.09) 0%, rgba(8, 13, 24, 0.98) 85%, #080d18 100%) !important;
      box-shadow: 6px 0 14px rgba(0, 0, 0, 0.72) !important;
    }

    /* Header Suite Pill */
    .ent-suite-badge,
    .header-suite-pill {
      display: inline-flex !important;
      align-items: center !important;
      font-size: 0.80rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.08em !important;
      text-transform: uppercase !important;
      color: #ffffff !important;
      -webkit-text-fill-color: #ffffff !important;
      background: linear-gradient(180deg, rgba(16, 26, 46, 0.92), rgba(9, 15, 28, 0.96)) !important;
      border: 1px solid rgba(56, 189, 248, 0.45) !important;
      padding: 4px 11px !important;
      border-radius: 999px !important;
      box-shadow: 0 4px 12px -2px rgba(14, 165, 233, 0.18) !important;
      text-decoration: none !important;
    }

    /* ==========================================================================
       SLEEK EXECUTIVE CUSTOM SCROLLBARS (DARK OBSIDIAN + ICE CYAN PILL THUMB)
       ========================================================================== */
    *,
    html,
    body,
    .bd-table-scroll-wrap,
    .modal-box,
    .modal-card {
      scrollbar-width: thin;
      scrollbar-color: rgba(56, 189, 248, 0.38) rgba(6, 10, 19, 0.90);
    }
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: rgba(6, 10, 19, 0.92);
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.08);
    }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, rgba(56, 189, 248, 0.45) 0%, rgba(14, 165, 233, 0.40) 100%);
      border-radius: 999px;
      border: 1.5px solid rgba(6, 10, 19, 0.88);
      transition: background 0.2s ease;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, rgba(56, 189, 248, 0.82) 0%, rgba(14, 165, 233, 0.75) 100%);
    }
    ::-webkit-scrollbar-corner {
      background: rgba(6, 10, 19, 0.92);
    }

    /* Number Semantic Utilities */
    .num-good, .text-good { color: #34d399 !important; font-weight: 700; }
    .num-bad, .text-bad { color: #f43f5e !important; font-weight: 700; }
    .num-warn, .text-warn { color: #c084fc !important; font-weight: 700; }

    html body .dash-status-pill {
      margin: 0 0 8px 0 !important;
      padding: 9px 12px !important;
      border-radius: 10px !important;
      background: linear-gradient(180deg, rgba(16, 26, 46, 0.92) 0%, rgba(9, 15, 28, 0.96) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.28) !important;
      cursor: pointer !important;
      color: var(--text) !important;
      font-weight: 600 !important;
      font-size: 0.79rem !important;
      line-height: 1.4 !important;
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
      box-shadow: 0 4px 10px -2px rgba(2, 6, 23, 0.65), 0 2px 6px rgba(14, 165, 233, 0.08) !important;
      transition: transform 0.16s var(--spring), border-color 0.18s ease, box-shadow 0.18s ease !important;
    }
    html body .dash-status-pill:nth-of-type(3) { margin-bottom: 0 !important; }
    html body .dash-status-pill:hover {
      transform: translateY(-1px) !important;
      border-color: rgba(56, 189, 248, 0.78) !important;
      box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.28), 0 2px 8px rgba(56, 189, 248, 0.16), inset 0 0 8px rgba(56, 189, 248, 0.15) !important;
    }

    html body #dashCreepList > div.creep-alert-item {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      gap: 10px !important;
      background: rgba(244, 63, 94, 0.10) !important;
      border: 1px solid rgba(244, 63, 94, 0.35) !important;
      border-radius: 9px !important;
      padding: 8px 11px !important;
      margin-bottom: 6px !important;
      cursor: pointer !important;
      color: var(--text) !important;
      transition: transform 0.16s var(--spring), border-color 0.18s ease, box-shadow 0.18s ease !important;
    }
    html body #dashCreepList > div.creep-alert-item:hover {
      transform: translateY(-1px) !important;
      border-color: rgba(56, 189, 248, 0.78) !important;
      box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.26), inset 0 0 8px rgba(56, 189, 248, 0.12) !important;
    }
    html body #dashCreepList > div.creep-empty-state {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 10px 12px !important;
      border-radius: 10px !important;
      background: linear-gradient(180deg, rgba(16, 26, 46, 0.90) 0%, rgba(9, 15, 28, 0.95) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.28) !important;
      color: var(--text) !important;
      font-weight: 600 !important;
      font-size: 0.79rem !important;
    }

    /* ==========================================================================
       3D TOUCH BOTTLE CALCULATOR (RESTORED CRYSTAL BOTTLE & LIQUID FILL)
       ========================================================================== */
    html body #bottleCalcModal .modal-box {
      max-width: 530px !important;
      width: 100% !important;
      max-height: calc(100dvh - 16px) !important;
      padding: 14px 16px !important;
      border-color: var(--btl-hex, var(--accent)) !important;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.88), 0 0 32px rgba(var(--btl-rgb, 16, 185, 129), 0.30) !important;
      overflow-x: hidden !important;
    }
    html body #bottleCalcModal #bcOpenVal,
    html body #bottleCalcModal #bcVolSubtitle,
    html body #bottleCalcModal #bcTotalVal {
      color: var(--btl-hex, #38bdf8) !important;
    }
    html body #bottleCalcModal .subtabs .subtab-btn.active {
      border-color: var(--btl-hex, #38bdf8) !important;
      background: linear-gradient(90deg, rgba(var(--btl-rgb, 56, 189, 248), 0.32) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      color: #ffffff !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 0 10px rgba(var(--btl-rgb, 56, 189, 248), 0.25) !important;
    }
    html body #bottleCalcModal .inv-step-btn {
      border-color: rgba(var(--btl-rgb, 16, 185, 129), 0.55) !important;
    }
    html body #bottleCalcModal .btl-calc-grid {
      display: grid !important;
      grid-template-columns: 172px minmax(0, 1fr) !important;
      gap: 12px !important;
      align-items: stretch !important;
      margin-top: 8px !important;
    }
    html body #bottleCalcModal .btl-stage {
      background: radial-gradient(circle at 50% 32%, rgba(var(--btl-rgb, 16, 185, 129), 0.18) 0%, #050812 76%) !important;
      border: 1px solid rgba(var(--btl-rgb, 16, 185, 129), 0.40) !important;
      border-radius: 14px !important;
      padding: 10px 8px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: space-between !important;
      min-width: 0 !important;
      position: relative !important;
      overflow: hidden !important;
      box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7) !important;
    }
    /* Bottle Assembly: 100% STATIC & ROCK STILL (No tilting, rotation, or wobbling) */
    html body #bottleCalcModal .btl-assembly {
      position: relative !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      user-select: none !important;
      transform: none !important;
    }
    /* Metallic Foil Cap */
    html body #bottleCalcModal .btl-cap {
      width: 32px !important;
      height: 13px !important;
      border-radius: 4px 4px 1px 1px !important;
      background: linear-gradient(90deg, #182234 0%, #475569 15%, var(--btl-hex, #10b981) 40%, #ffffff 52%, var(--btl-hex, #10b981) 62%, #334155 85%, #0f172a 100%) !important;
      border: 1px solid rgba(255, 255, 255, 0.65) !important;
      border-bottom: 1px solid rgba(0, 0, 0, 0.70) !important;
      box-shadow: 0 3px 8px rgba(0,0,0,0.7), 0 0 12px rgba(var(--btl-rgb, 16, 185, 129), 0.40) !important;
      z-index: 5 !important;
      position: relative !important;
    }
    /* Stopper Collar */
    html body #bottleCalcModal .btl-collar {
      width: 28px !important;
      height: 3px !important;
      background: linear-gradient(90deg, #334155 0%, #cbd5e1 35%, #ffffff 50%, #94a3b8 70%, #1e293b 100%) !important;
      border-radius: 2px !important;
      margin: -1px auto !important;
      z-index: 4 !important;
      box-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
    }
    /* Crystal Fluted Glass Neck */
    html body #bottleCalcModal .btl-neck {
      width: 26px !important;
      height: 24px !important;
      margin: 0 auto -2px auto !important;
      background: linear-gradient(90deg, 
        rgba(255,255,255,0.45) 0%, 
        rgba(255,255,255,0.12) 18%, 
        #040711 48%, 
        rgba(255,255,255,0.22) 78%, 
        rgba(226,232,240,0.45) 100%) !important;
      border-left: 2px solid rgba(255, 255, 255, 0.70) !important;
      border-right: 2px solid rgba(148, 163, 184, 0.55) !important;
      border-top: none !important;
      border-bottom: none !important;
      position: relative !important;
      z-index: 3 !important;
    }
    /* Refined Luxury Spirit Bottle Silhouette */
    html body #bottleCalcModal #bcTouchBottle.btl-silhouette {
      position: relative !important;
      width: 108px !important;
      height: 200px !important;
      margin: 0 auto !important;
      border-radius: 38px 38px 16px 16px !important;
      background: linear-gradient(90deg, 
        rgba(255,255,255,0.20) 0%, 
        rgba(255,255,255,0.06) 12%, 
        rgba(15,23,42,0.82) 25%, 
        #040711 50%, 
        rgba(15,23,42,0.85) 75%, 
        rgba(255,255,255,0.08) 90%, 
        rgba(255,255,255,0.22) 100%) !important;
      border-top: 2.5px solid rgba(255, 255, 255, 0.55) !important;
      border-left: 2.5px solid rgba(255, 255, 255, 0.72) !important;
      border-right: 2.5px solid rgba(148, 163, 184, 0.55) !important;
      border-bottom: 14px solid rgba(203, 213, 225, 0.42) !important;
      overflow: hidden !important;
      box-shadow: 
        inset 12px 0 18px rgba(255,255,255,0.14), 
        inset -12px 0 20px rgba(0,0,0,0.90), 
        0 14px 32px rgba(0,0,0,0.85), 
        0 0 24px rgba(var(--btl-rgb, 16, 185, 129), 0.28) !important;
      transition: box-shadow 0.35s var(--spring), border-color 0.25s var(--spring) !important;
      cursor: ns-resize !important;
      touch-action: none !important;
      user-select: none !important;
      z-index: 2 !important;
    }
    html body #bottleCalcModal #bcTouchBottle.btl-silhouette::before {
      content: "" !important;
      position: absolute !important;
      top: -2px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      width: 26px !important;
      height: 4px !important;
      background: #040711 !important;
      z-index: 7 !important;
      pointer-events: none !important;
    }
    html body #bottleCalcModal #bcTouchBottle.btl-silhouette.is-sliding {
      border-color: rgba(255, 255, 255, 0.95) !important;
      box-shadow: 
        inset 12px 0 20px rgba(255,255,255,0.25), 
        inset 0 0 26px rgba(var(--btl-rgb, 16, 185, 129), 0.40), 
        0 16px 36px rgba(0,0,0,0.90), 
        0 0 32px rgba(var(--btl-rgb, 16, 185, 129), 0.75) !important;
    }
    /* Cylindrical Glass Specular Sheen (Left) */
    html body #bottleCalcModal .btl-glass-sheen {
      position: absolute !important;
      top: 0 !important;
      bottom: 0 !important;
      left: 11px !important;
      width: 5px !important;
      background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.14) 55%, rgba(255,255,255,0.30) 100%) !important;
      border-radius: 4px !important;
      pointer-events: none !important;
      z-index: 6 !important;
      opacity: 0.85 !important;
    }
    /* Cylindrical Glass Specular Sheen (Right) */
    html body #bottleCalcModal .btl-glass-sheen-right {
      position: absolute !important;
      top: 0 !important;
      bottom: 0 !important;
      right: 13px !important;
      width: 3px !important;
      background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.07) 60%, rgba(255,255,255,0.20) 100%) !important;
      pointer-events: none !important;
      z-index: 6 !important;
    }
    /* Authentic Concave Glass Base (Punt) */
    html body #bottleCalcModal .btl-punt {
      position: absolute !important;
      bottom: -6px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      width: 52px !important;
      height: 15px !important;
      border-radius: 50% 50% 0 0 !important;
      background: radial-gradient(ellipse at top, rgba(255,255,255,0.30) 0%, rgba(15,23,42,0.95) 75%) !important;
      border-top: 1.5px solid rgba(255,255,255,0.48) !important;
      pointer-events: none !important;
      z-index: 5 !important;
    }
    /* Ambient Ground Shadow */
    html body #bottleCalcModal .btl-stage-shadow {
      width: 92px !important;
      height: 10px !important;
      border-radius: 50% !important;
      background: radial-gradient(ellipse at center, rgba(0,0,0,0.88) 0%, rgba(var(--btl-rgb, 16, 185, 129), 0.22) 45%, transparent 75%) !important;
      margin: 4px auto 0 auto !important;
    }
    /* Pure SVG Bottle Liquid Engine (100% Vector Fluid Dynamics, Dual Waves, 3D Meniscus & Caustics) */
    html body #bottleCalcModal .btl-liquid-svg {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      pointer-events: none !important;
      z-index: 3 !important;
      overflow: visible !important;
    }
    html body #bottleCalcModal .btl-liquid-group {
      pointer-events: none !important;
      transition: opacity 0.12s ease !important;
    }
    /* Legacy HTML div liquid elements hidden in favor of pure SVG rendering */
    html body #bottleCalcModal div.btl-liquid,
    html body #bottleCalcModal .btl-wave-surface,
    html body #bottleCalcModal .btl-meniscus-back,
    html body #bottleCalcModal .btl-meniscus-front,
    html body #bottleCalcModal .btl-waterline {
      display: none !important;
    }
    /* Clean White Graduations (Ticks Only, ABSOLUTELY NO TEXT ON BOTTLE) */
    html body #bottleCalcModal .btl-ticks {
      position: absolute !important;
      top: 10% !important;
      bottom: 10% !important;
      right: 8px !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: space-between !important;
      align-items: flex-end !important;
      pointer-events: none !important;
      z-index: 8 !important;
    }
    html body #bottleCalcModal .btl-tick-row {
      display: flex !important;
      align-items: center !important;
      justify-content: flex-end !important;
      line-height: 1 !important;
      transition: all 0.15s ease !important;
    }
    html body #bottleCalcModal .btl-tick-line {
      display: block !important;
      height: 0 !important;
      border-radius: 2px !important;
      transition: all 0.15s ease !important;
    }
    html body #bottleCalcModal .subtabs.manager-audit-active {
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 5px !important;
      width: 100% !important;
      overflow: visible !important;
    }
    html body #bottleCalcModal .subtabs:not(.manager-audit-active) {
      display: none !important;
    }
    html body #bottleCalcModal .subtabs .subtab-btn {
      min-width: 0 !important;
      width: 100% !important;
      justify-content: center !important;
      padding: 6px 6px !important;
      font-size: 0.72rem !important;
      white-space: nowrap !important;
    }
    html body #bottleCalcModal .btn::after,
    html body #bottleCalcModal button.btn::after {
      display: none !important;
      content: none !important;
    }
    html body #bottleCalcModal .btl-full-step-row {
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 6px !important;
      width: 100% !important;
    }
    html body #bottleCalcModal .btl-full-step-row > .btn {
      min-width: 0 !important;
      width: 100% !important;
      padding: 6px 4px !important;
      font-size: 0.73rem !important;
      justify-content: center !important;
      pointer-events: auto !important;
      touch-action: manipulation !important;
      position: relative !important;
      z-index: 4 !important;
    }
    html body #bottleCalcModal #bcQuickAddCaseBtn {
      background: linear-gradient(135deg, rgba(var(--btl-rgb, 192, 132, 252), 0.28) 0%, rgba(15, 23, 42, 0.96) 100%) !important;
      border-color: rgba(var(--btl-rgb, 192, 132, 252), 0.65) !important;
      color: #ffffff !important;
      font-weight: 800 !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 0 10px rgba(var(--btl-rgb, 192, 132, 252), 0.22) !important;
    }
    html body #bottleCalcModal #bcQuickAddCaseBtn:active {
      transform: scale(0.95) !important;
      box-shadow: 0 0 16px rgba(var(--btl-rgb, 192, 132, 252), 0.65) !important;
    }
    @keyframes bcValPop {
      0% { transform: scale(1); }
      45% { transform: scale(1.18); text-shadow: 0 0 14px var(--btl-hex, #10b981); }
      100% { transform: scale(1); }
    }
    html body #bottleCalcModal .bc-val-pop {
      display: inline-block;
      animation: bcValPop 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    }
    html body #bottleCalcModal .btl-apply-row {
      display: grid !important;
      grid-template-columns: 0.74fr 1.26fr !important;
      gap: 5px !important;
      width: 100% !important;
    }
    html body #bottleCalcModal .btl-apply-row > .btn {
      min-width: 0 !important;
      width: 100% !important;
      padding: 8px 4px !important;
      font-size: 0.70rem !important;
      justify-content: center !important;
      gap: 3px !important;
    }

    /* Mobile Responsive Layout */
    @media (max-width: 900px) {
      header > .btn-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
      }
      header > .btn-row > .mob-collapsible-btn {
        grid-column: span 1 !important;
      }
      html body #hub-dashboard > div[style*="grid-template-columns"],
      html body .bd-spill-form-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
      }
      html body #csvOnboardingModal .csv-modal-drop-grid,
      html body #csvOnboardingModal div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }
      html body .bd-spill-form-grid > div:first-child {
        grid-column: span 2 !important;
      }
      html body .bd-spill-form-grid > button {
        grid-column: span 2 !important;
        width: 100% !important;
      }
      .bd-venue-top-row { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
      .bd-venue-selector-wrap { width: 100% !important; }
      .bd-venue-slot-buttons { width: 100% !important; display: grid !important; grid-template-columns: 1fr 1fr 44px !important; gap: 6px !important; }
      .bd-venue-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px !important; }

      html body #bottleCalcModal { padding: 8px !important; }
      html body #bottleCalcModal .modal-box { padding: 11px 12px !important; max-height: calc(100dvh - 14px) !important; }
      html body #bottleCalcModal .subtabs .subtab-btn { padding: 5px 4px !important; font-size: 0.68rem !important; gap: 3px !important; }
      html body #bottleCalcModal .btl-full-step-row > .btn { padding: 6px 2px !important; font-size: 0.71rem !important; gap: 2px !important; }
      html body #bottleCalcModal .btl-apply-row > .btn { padding: 8px 3px !important; font-size: 0.67rem !important; gap: 3px !important; }
      html body #bottleCalcModal .btl-calc-grid {
        grid-template-columns: 140px minmax(0, 1fr) !important;
        gap: 8px !important;
        margin-top: 6px !important;
      }
      html body #bottleCalcModal .btl-stage { padding: 8px 6px !important; }
      html body #bottleCalcModal .btl-cap { width: 25px !important; height: 10px !important; }
      html body #bottleCalcModal .btl-collar { width: 22px !important; height: 3px !important; }
      html body #bottleCalcModal .btl-neck { width: 23px !important; height: 20px !important; }
      html body #bottleCalcModal #bcTouchBottle.btl-silhouette {
        width: 90px !important;
        height: 168px !important;
        border-radius: 28px 28px 12px 12px !important;
      }
      html body #bottleCalcModal #bcTouchBottle.btl-silhouette::before { width: 20px !important; }
      html body #bottleCalcModal .btl-punt { width: 42px !important; height: 12px !important; }
      html body #bottleCalcModal .btl-stage-shadow { width: 76px !important; }
      html body #bottleCalcModal .btl-keypad { gap: 5px !important; margin: 6px 0 !important; }
      html body #bottleCalcModal .btl-keypad button { min-height: 38px !important; font-size: 1.0rem !important; border-radius: 8px !important; }

      /* Universal Modal Grid & Button Mobile Formatting */
      .modal-box div[style*="grid-template-columns:1fr 1fr"],
      .modal-box div[style*="grid-template-columns: 1fr 1fr"],
      .modal-box div[style*="grid-template-columns:1fr 1fr 1fr"],
      .modal-card div[style*="grid-template-columns:1fr 1fr"],
      .modal-card div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
      }
      .modal-box > h3, .modal-card > h3 {
        font-size: 0.96rem !important;
        line-height: 1.3 !important;
        gap: 8px !important;
      }
      .po-top-toolbar, .po-filter-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
      }
      .po-action-buttons-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        width: 100% !important;
      }
      .po-action-buttons-group > button:last-child:nth-child(odd) {
        grid-column: span 2 !important;
      }
      .po-segmented-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
      }
      .po-filter-toolbar .search-wrap {
        max-width: 100% !important;
        width: 100% !important;
      }
    }
  

/* ===== v162 master fixes ===== */
    /* A. Drink Lab Controls Row Baseline Alignment Fix */
    .controls-row > div {
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-end !important;
    }
    .controls-row > div > label {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      min-height: 24px !important;
      margin-bottom: 5px !important;
      gap: 6px !important;
      line-height: 1.15 !important;
    }
    .controls-row > div > label > button {
      height: 20px !important;
      padding: 0 7px !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px !important;
      line-height: 1 !important;
      flex-shrink: 0 !important;
      margin: 0 !important;
    }
    .controls-row > div > input,
    .controls-row > div > select,
    .controls-row > div > .price-input-inline-wrap {
      height: 36px !important;
      margin: 0 !important;
    }

    /* B. Menu Engineering Quadrants Panel & Row Hover Spotlight Glow on Dashboard (Unified Ice Blue) */
    .dash-quad-panel {
      position: relative !important;
      overflow: hidden !important;
      --mouse-x: 50%;
      --mouse-y: 50%;
      --glow-rgb: 56, 189, 248;
      transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    }
    .dash-quad-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.04) 48%, transparent 70%);
      opacity: 0;
      transition: opacity 0.22s ease;
      pointer-events: none;
      z-index: 0;
    }
    .dash-quad-panel:hover::before { opacity: 1; }
    .dash-quad-panel:hover {
      border-color: rgba(56, 189, 248, 0.52) !important;
      box-shadow: 0 12px 28px -4px rgba(2, 6, 23, 0.82), 0 6px 20px -2px rgba(14, 165, 233, 0.22), inset 0 0 8px rgba(56, 189, 248, 0.06) !important;
    }
    .dash-quad-row {
      position: relative;
      z-index: 1;
      padding: 7px 10px !important;
      margin-bottom: 6px !important;
      border-radius: 10px !important;
      border: 1px solid rgba(56, 189, 248, 0.20) !important;
      background: rgba(15, 23, 42, 0.45) !important;
      transition: transform 0.16s var(--spring), background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
      cursor: pointer !important;
    }
    .dash-quad-row:hover {
      transform: translateY(-1px);
      background: rgba(20, 34, 58, 0.88) !important;
      border-color: rgba(56, 189, 248, 0.78) !important;
      box-shadow: 0 6px 16px -2px rgba(14, 165, 233, 0.28), 0 2px 8px rgba(56, 189, 248, 0.16), inset 0 0 8px rgba(56, 189, 248, 0.14) !important;
    }

    /* C. Vector SVG Icon Input & Select Wrappers */
    .svg-input-wrap {
      position: relative !important;
      display: inline-flex !important;
      align-items: center !important;
    }
    .svg-input-wrap > .svg-prefix-ico {
      position: absolute !important;
      left: 11px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      width: 15px !important;
      height: 15px !important;
      color: var(--accent) !important;
      pointer-events: none !important;
      z-index: 3 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .svg-input-wrap > .svg-prefix-ico svg {
      width: 15px !important;
      height: 15px !important;
      stroke: currentColor !important;
      fill: rgba(16, 185, 129, 0.15) !important;
      stroke-width: 2.2 !important;
      stroke-linecap: round !important;
      stroke-linejoin: round !important;
    }
    .svg-input-wrap > input,
    .svg-input-wrap > select {
      padding-left: 34px !important;
      width: 100% !important;
    }
    svg.svg-input-icon {
      width: 15px !important;
      height: 15px !important;
      flex-shrink: 0 !important;
      pointer-events: none !important;
    }

    /* 100% Standardized Table Cell, Badge & First-Column Pill/Input Formatting Across Every Module */
    .bd-table-scroll-wrap table td .badge,
    .bd-table-scroll-wrap table td .bd-cat-pill,
    .bd-modal-table-wrap table td .badge,
    .bd-modal-table-wrap table td .bd-cat-pill {
      max-width: 100% !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      vertical-align: middle !important;
      box-sizing: border-box !important;
    }
    .bd-table-scroll-wrap table td:first-child input[type="text"],
    .bd-modal-table-wrap table td:first-child input[type="text"] {
      height: 32px !important;
      padding: 4px 10px !important;
      border-radius: 8px !important;
      border: 1px solid rgba(var(--s-rgb, 56, 189, 248), 0.45) !important;
      background: linear-gradient(90deg, rgba(var(--s-rgb, 56, 189, 248), 0.16) 0%, rgba(15, 23, 42, 0.90) 100%) !important;
      color: #f8fafc !important;
      font-weight: 700 !important;
      font-size: 0.78rem !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
    }
    .bd-table-scroll-wrap table td:first-child input[type="text"].bd-input-has-marquee:not(:focus),
    .bd-modal-table-wrap table td:first-child input[type="text"].bd-input-has-marquee:not(:focus) {
      color: transparent !important;
      -webkit-text-fill-color: transparent !important;
    }
    .bd-table-scroll-wrap table td:first-child .sku-box-pill,
    .bd-modal-table-wrap table td:first-child .sku-box-pill {
      min-height: 32px !important;
      padding: 4px 10px !important;
      border-radius: 8px !important;
      border: 1px solid rgba(var(--s-rgb, 56, 189, 248), 0.45) !important;
      background: linear-gradient(90deg, rgba(var(--s-rgb, 56, 189, 248), 0.16) 0%, rgba(15, 23, 42, 0.90) 100%) !important;
      color: #f8fafc !important;
      font-weight: 700 !important;
      font-size: 0.78rem !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 6px !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }
    .bd-table-scroll-wrap table td:first-child .sku-box-pill > span:first-child,
    .bd-modal-table-wrap table td:first-child .sku-box-pill > span:first-child {
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
      min-width: 0 !important;
    }

    /* D. Mobile Full-Width Dashboard & Sleek Uniform Bottom Dock */
    @media (max-width: 900px) {
      body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
      }
      .panel,
      .card,
      .kpi-card,
      .controls-row,
      .btn-row {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
      }
      .kpi-card {
        overflow: hidden !important;
      }
      .kpi-card .kpi-val,
      .kpi-card .kpi-sub,
      .kpi-card .kpi-label {
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        white-space: normal !important;
      }
      #physTopKpiGrid,
      .grid-kpi {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
      }
      #physTopKpiGrid > .kpi-card:last-child:nth-child(odd) {
        grid-column: span 2 !important;
      }
      #cocktailPrimaryConfigPanel .controls-row,
      #sub-station-rails .controls-row,
      #commissaryHubContent .controls-row,
      #hub-settings .controls-row,
      #createCustomPoModal div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
      }
      #cocktailPrimaryConfigPanel .controls-row > div:first-child,
      #sub-station-rails .controls-row > div:first-child,
      #commissaryHubContent .controls-row > div:first-child,
      #createCustomPoModal div[style*="grid-template-columns"] > div:first-child {
        grid-column: span 2 !important;
      }
      #sub-orders .po-top-toolbar,
      #sub-orders .po-filter-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
      }
      #sub-orders .po-action-buttons-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
      }
      #sub-orders .po-action-buttons-group > button:last-child:nth-child(odd) {
        grid-column: span 2 !important;
      }
      #sub-orders .po-action-buttons-group > button {
        width: 100% !important;
        justify-content: center !important;
      }
      #sub-orders .po-segmented-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
      }
      #sub-orders .po-segmented-tabs > .po-tab-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
      }
      #sub-orders .po-filter-toolbar > .svg-input-wrap.search-wrap {
        max-width: 100% !important;
        width: 100% !important;
      }
      #sub-pos-depletion-hub .panel > div,
      #posDepletionHubContent > div {
        max-width: 100% !important;
        min-width: 0 !important;
      }
      #hub-settings .panel select,
      #hub-settings .panel input,
      #sub-station-rails select,
      #sub-recipe-editor select,
      #sub-recipe-editor input {
        max-width: 100% !important;
        min-width: 0 !important;
      }
      #hub-dashboard > div[style*="display:grid"],
      #hub-dashboard > div[style*="display: grid"],
      .dash-two-col-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
      }
      #hub-dashboard .panel {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
      }
      #hub-dashboard .drop-box {
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        word-break: break-word !important;
      }
      #hub-dashboard .panel > div[style*="grid-template-columns:1fr 1fr"],
      #hub-dashboard .panel > div[style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }
      #hub-dashboard .panel > div[style*=" minmax(215px"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }
      .program-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px 12px !important;
        gap: 8px !important;
      }
      .program-select-wrap {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
        min-width: 0 !important;
        width: 100% !important;
      }
      .program-select-wrap > span:first-child {
        grid-column: span 4 !important;
        font-size: 0.72rem !important;
      }
      .program-select-wrap > select {
        grid-column: span 4 !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 36px !important;
      }
      .program-select-wrap > button {
        width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        padding: 4px 6px !important;
        font-size: 0.70rem !important;
      }
      .panel > h3 > .btn-row > .svg-input-wrap.search-wrap {
        grid-column: span 2 !important;
        width: 100% !important;
      }

      /* ENSURE STRICT TAB & SUBTAB ISOLATION ON MOBILE */
      .tab-content:not(.active) {
        display: none !important;
      }
      .subtab-pane:not(.active) {
        display: none !important;
      }

      /* 1. SLIDING PAGE SELECTOR TO TOP & PHYSICAL INVENTORY MODULE DIRECTLY UNDERNEATH ON MOBILE */
      #hub-phys-inventory.active {
        display: flex !important;
        flex-direction: column !important;
      }
      #hub-phys-inventory > #propertyOutletSwitcherBar {
        order: 1 !important;
      }
      #hub-phys-inventory > .subtabs {
        order: 2 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 35 !important;
        background: rgba(10, 15, 29, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        padding: 6px 4px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
      }
      #hub-phys-inventory > .subtab-pane.active {
        order: 3 !important;
      }
      #hub-phys-inventory > #sub-phys-count.active {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
      }
      #sub-phys-count > #physShelfInventoryPanel {
        order: 1 !important;
      }
      #sub-phys-count > .drop-grid {
        order: 2 !important;
        margin-top: 14px !important;
      }
      #sub-phys-count > #physOcrDrawer {
        order: 3 !important;
      }
      #hub-phys-inventory > #physTopKpiGrid {
        order: 4 !important;
        margin-top: 14px !important;
      }

      /* 2. REORGANIZE ACTIVE COCKTAIL BUILDER HUB ON MOBILE (SMALLER PANELS MOVED TO BOTTOM) */
      #hub-recipes > #sub-recipe-editor.active {
        display: flex !important;
        flex-direction: column !important;
      }
      #cocktailPrimaryConfigPanel {
        order: 1 !important;
      }
      #recipeSpecTablePanel {
        order: 2 !important;
      }
      #cocktailKpisPanel {
        order: 3 !important;
        margin-top: 14px !important;
      }
      #cocktailSecondarySpecsPanel {
        order: 4 !important;
        margin-top: 14px !important;
      }
      #cocktailBalanceContainer {
        order: 5 !important;
        margin-top: 14px !important;
      }
      .library-bar {
        flex-direction: column !important;
        align-items: stretch !important;
      }
      .library-bar > div {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
      }
      .library-bar > div > div {
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
      }
      .library-bar > .btn-row,
      .program-bar > .btn-row,
      .program-bar .btn-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
      }
      .library-bar > .btn-row > .btn,
      .program-bar > .btn-row > .btn,
      .program-bar .btn-row > .btn {
        width: 100% !important;
        font-size: 0.72rem !important;
        padding: 6px 8px !important;
        justify-content: center !important;
      }
      .library-bar > .btn-row > .btn:last-child:nth-child(odd),
      .program-bar > .btn-row > .btn:last-child:nth-child(odd),
      .program-bar .btn-row > .btn:last-child:nth-child(odd) {
        grid-column: span 2 !important;
      }
      #hub-settings div[style*="grid-template-columns"] > *,
      .modal-card div[style*="grid-template-columns"] > *,
      .modal-box div[style*="grid-template-columns"] > * {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      #hub-settings div[style*="minmax("] {
        grid-template-columns: minmax(0, 1fr) !important;
      }
      #hub-settings div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }

      /* Sleek, Uniform Mobile Bottom Navigation Dock (Adapts Automatically in Service Mode) */
      #mainSixHubNav.tabs {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(62px + env(safe-area-inset-bottom)) !important;
        margin: 0 !important;
        padding: 4px 6px calc(4px + env(safe-area-inset-bottom)) 6px !important;
        background: rgba(5, 9, 18, 0.97) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.80) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 3px !important;
        z-index: 2950 !important;
      }
      #mainSixHubNav.tabs > .tab-btn {
        flex: 1 1 0% !important;
        height: 50px !important;
        padding: 4px 2px !important;
        border-radius: 10px !important;
        border: 1px solid transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        position: relative !important;
      }
      #mainSixHubNav.tabs > .tab-btn.bd-service-hidden-tab {
        display: none !important;
      }
      .modal-backdrop .modal-box,
      .modal-backdrop .modal-card {
        max-width: calc(100vw - 14px) !important;
        width: calc(100vw - 14px) !important;
        padding: 14px 12px !important;
        box-sizing: border-box !important;
      }
      #mainSixHubNav.tabs > .tab-btn.active {
        background: rgba(56, 189, 248, 0.14) !important;
        border: 1px solid rgba(56, 189, 248, 0.55) !important;
        color: #7dd3fc !important;
        box-shadow: 0 4px 12px -2px rgba(14, 165, 233, 0.24), inset 0 0 10px rgba(56, 189, 248, 0.15) !important;
      }
      #mainSixHubNav.tabs > .tab-btn .nav-ico {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
      }
      #mainSixHubNav.tabs > .tab-btn .nav-ico svg {
        width: 17px !important;
        height: 17px !important;
      }
      #mainSixHubNav.tabs > .tab-btn .nav-lbl {
        font-size: 0.56rem !important;
        font-weight: 800 !important;
        line-height: 1.05 !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        display: block !important;
      }
    }
    body.bd-service-mode-active #physTopKpiGrid,
    body.bd-service-mode-active .bd-import-drawer,
    body.bd-service-mode-active #hdrUnitSystemToggleBtn,
    body.bd-service-mode-active #btnCloseAuditPhys,
    body.bd-service-mode-active #btnEditAuditPhys,
    body.bd-service-mode-active #btnCompareAuditsPhys,
    body.bd-service-mode-active #btnCogsByCatPhys,
    body.bd-service-mode-active #hub-phys-inventory .subtabs button[data-bd-on-click="h_d6c9a3a4d806"],
    body.bd-service-mode-active #hub-phys-inventory .subtabs #subtabBtnPosDepletion,
    #mainSixHubNav.tabs > .tab-btn.bd-service-hidden-tab {
      display: none !important;
    }
