/* Legacy-browser fallbacks (Windows 7 era browsers). Loaded after ui-system.css. */
html.no-has .x-body-side { padding: 0 !important; }
html.no-has .home-wrap.home-neu.x-has-side {
  max-width: none; margin: 0;
  padding-left: calc(var(--nav-w) + 4px) !important; padding-right: 4px;
  padding-top: var(--header-h) !important; gap: 0 !important;
}
html.no-has .x-body-shell { overflow: hidden; }
html.no-has .home-wrap.home-neu.x-has-shell {
  box-sizing: border-box; height: 100vh; min-height: 0 !important; overflow: hidden;
}
html.no-has .home-wrap.home-neu.x-has-canvas { min-height: 100vh; }
html.no-has .perm-chip.x-checked { background: var(--ui-sel, #e8f0fe); }
html.no-has .supplier-row.x-checked { background: var(--ui-sel, #e8f0fe) !important; }

/* Win7 has no GPU compositing by default: drop blur + heavy shadows so scrolling stays smooth. */
html.no-has *, html.no-colormix * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* Font fallbacks, legacy browsers only (modern browsers keep the original stacks). */
html.no-has body, html.no-colormix body { font-family: var(--font-body, 'Inter'), 'Segoe UI', Tahoma, Arial, sans-serif; }
html.no-has .mono, html.no-has code, html.no-has pre,
html.no-colormix .mono, html.no-colormix code, html.no-colormix pre { font-family: var(--font-mono, 'JetBrains Mono'), Consolas, 'Courier New', monospace; }

/* Old browsers (no color-mix): keep the priority tint on warehouse crates.
   fill at 28% opacity over the white board == color-mix(var(--pc) 28%, #fff). */
html.no-colormix .zone-rect.status-to-do[class*="pri-"] { fill: var(--pc); fill-opacity: .28; }
