/* ==========================================================================
   West Coast Sound · design system
   ========================================================================== */
:root {
  --ink: #111114;
  --ink-2: #4b4b55;
  --ink-3: #8a8a96;
  --line: #e9e9ee;
  --line-2: #d9d9e0;
  --bg: #ffffff;
  --bg-2: #f6f6f8;
  --bg-3: #efeff3;
  --dark: #0b0b10;
  --dark-2: #15151d;
  --dark-3: #1f1f2a;
  --amber: #ffb400;
  --amber-2: #ffcb47;
  --amber-ink: #1a1200;
  --magenta: #ff3d81;
  --blue: #3d8bff;
  --danger: #d93025;
  --danger-bg: #fdecec;
  --success: #188a4e;
  --success-bg: #e6f6ec;
  --warning: #b26b00;
  --warning-bg: #fff4dc;
  --info: #1d4ed8;
  --info-bg: #e8effe;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 20, 0.05), 0 1px 6px rgba(17, 17, 20, 0.04);
  --shadow: 0 2px 6px rgba(17, 17, 20, 0.06), 0 12px 32px rgba(17, 17, 20, 0.08);
  --shadow-lg: 0 8px 20px rgba(17, 17, 20, 0.1), 0 30px 60px rgba(17, 17, 20, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --hdr-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.2rem; }
.muted { color: var(--ink-3); }
.small { font-size: 0.85rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.text-danger { color: var(--danger); font-weight: 600; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-2); }
.boot { padding: 6rem 1rem; text-align: center; color: var(--ink-3); }
#app.is-loading { opacity: 0.55; transition: opacity 0.25s; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.icon-wrap { display: inline-flex; align-items: center; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.container.narrow { max-width: 640px; }
.page-title { margin: 2rem 0 1.25rem; }
.breadcrumb { display: flex; gap: 0.5rem; color: var(--ink-3); font-size: 0.9rem; margin: 1.5rem 0 1rem; }
.breadcrumb a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Buttons, inputs, chips
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; padding: 0.7rem 1.15rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap; transition: transform 0.15s var(--ease), box-shadow 0.15s, background 0.15s, border-color 0.15s; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-2); box-shadow: 0 6px 18px rgba(255, 180, 0, 0.35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a33; }
.btn-secondary { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-danger { background: #fff; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-link { background: none; border: none; color: var(--ink-2); padding: 0.3rem 0.4rem; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; border-radius: 6px; }
.btn-link:hover { color: var(--danger); }
.btn-icon { background: none; border: none; padding: 0.35rem; border-radius: 999px; color: var(--ink-3); cursor: pointer; display: inline-flex; }
.btn-icon:hover { background: var(--bg-3); color: var(--ink); }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.input { font: inherit; padding: 0.65rem 0.85rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.input:hover { border-color: #b9b9c4; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 20, 0.08); }
.input-qty { width: 5rem; }
select.input { width: auto; min-width: 8rem; }
input[type="date"].input, input[type="search"].input, input[type="number"].input { width: auto; }
textarea.input { resize: vertical; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-label { font-weight: 600; font-size: 0.88rem; }
.field-hint { color: var(--ink-3); font-size: 0.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid.four { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }
.stack { display: flex; flex-direction: column; gap: 0.85rem; }
.row { display: flex; gap: 0.5rem; align-items: center; }
.row.wrap { flex-wrap: wrap; margin-bottom: 1.25rem; }
.checks { justify-content: center; }
.check { display: flex; align-items: center; gap: 0.5rem; }
.date-pair { display: flex; gap: 1rem; flex-wrap: wrap; }
.date-pair label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; }

.chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em; background: #fff; box-shadow: var(--shadow-sm); }
.chip-all { color: var(--success); }
.chip-some { color: var(--warning); }
.chip-none { color: var(--danger); }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper-btn { background: none; border: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.stepper-btn:hover { background: var(--bg-3); color: var(--ink); }
.stepper-value { min-width: 2rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper-link { font-size: 0.8rem; color: var(--ink-3); margin-left: 0.6rem; text-decoration: underline; text-underline-offset: 3px; }
.qty-control { display: flex; align-items: center; margin-top: auto; padding-top: 0.6rem; }
.qty-lg { padding-top: 0.25rem; }
.qty-lg .stepper { height: 3rem; }
.qty-lg .stepper-btn { width: 3rem; height: 3rem; }
.qty-lg .stepper-value { min-width: 3rem; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Header & footer
   -------------------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 16, 0.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hdr-in { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-mark { background: var(--amber); color: var(--amber-ink); font-weight: 800; padding: 0.2rem 0.5rem; border-radius: 7px; letter-spacing: 0.06em; font-size: 0.8rem; }
.hdr-nav { display: flex; align-items: center; gap: 0.35rem; }
.hdr-nav > a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 999px; font-weight: 500; color: rgba(255,255,255,0.85); transition: background 0.15s, color 0.15s; }
.hdr-nav > a:hover, .hdr-nav > a.active { background: rgba(255,255,255,0.1); color: #fff; }
.hdr-quote { border: 1px solid rgba(255,255,255,0.18); }
.hdr-badge { background: var(--amber); color: var(--amber-ink); border-radius: 999px; padding: 0 0.45rem; font-size: 0.72rem; font-weight: 800; min-width: 1.3rem; text-align: center; line-height: 1.3rem; }
.hdr-staff { width: 2.5rem; height: 2.5rem; padding: 0 !important; justify-content: center; border: 1px solid rgba(255,255,255,0.18); }
.site-main { min-height: 60vh; overflow-x: clip; }
.site { overflow-x: clip; }

.ftr { background: var(--dark); color: rgba(255,255,255,0.75); margin-top: 5rem; }
.ftr-in { max-width: 1240px; margin: 0 auto; padding: 3.5rem clamp(1rem, 4vw, 2.5rem) 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.ftr-brand p { max-width: 360px; margin-top: 1rem; font-size: 0.95rem; }
.ftr h4 { color: #fff; margin-bottom: 0.9rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.ftr a:hover { color: var(--amber); }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; margin-top: calc(-1 * var(--hdr-h)); padding-top: var(--hdr-h); }
.hero-lights { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* Haze: soft colored fog the beams cut through */
.glow { position: absolute; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; border-radius: 50%; filter: blur(90px); opacity: 0.35; mix-blend-mode: screen; animation: haze 22s var(--ease) infinite alternate; }
.g1 { background: radial-gradient(circle, rgba(255,180,0,0.9) 0%, transparent 60%); top: -30%; left: -15%; }
.g2 { background: radial-gradient(circle, rgba(255,61,129,0.8) 0%, transparent 60%); bottom: -45%; right: -20%; animation-delay: -11s; }
@keyframes haze { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(5%, 6%, 0) scale(1.12); } }
/* Moving-head beams: cones hung above the viewport that pan left and right */
.spot { position: absolute; top: -6vh; left: var(--x); width: 30vw; max-width: 460px; min-width: 220px; height: 150%; margin-left: -15vw; transform-origin: 50% 0; background: linear-gradient(180deg, var(--c) 0%, color-mix(in srgb, var(--c) 45%, transparent) 40%, transparent 90%); clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); filter: blur(18px); opacity: var(--o, 0.5); mix-blend-mode: screen; animation: pan var(--dur) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; animation-delay: var(--delay); will-change: transform; }
.spot::after { content: ''; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 24px 10px var(--c); opacity: 0.9; }
.s1 { --x: 12%; --c: rgba(255,180,0,0.9); --dur: 7.5s; --delay: 0s; --o: 0.55; }
.s2 { --x: 32%; --c: rgba(255,61,129,0.85); --dur: 9.5s; --delay: -3.2s; --o: 0.45; }
.s3 { --x: 52%; --c: rgba(61,139,255,0.85); --dur: 8.2s; --delay: -5.5s; --o: 0.5; }
.s4 { --x: 71%; --c: rgba(255,180,0,0.85); --dur: 10.5s; --delay: -1.7s; --o: 0.45; }
.s5 { --x: 90%; --c: rgba(255,61,129,0.8); --dur: 7s; --delay: -6.4s; --o: 0.5; }
.s2, .s4 { animation-direction: alternate-reverse; }
@keyframes pan { 0% { transform: rotate(-26deg); } 100% { transform: rotate(26deg); } }
/* A hint of the truss the fixtures hang from */
.truss { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,16,0.1) 0%, rgba(11,11,16,0.55) 70%, var(--dark) 100%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.eyebrow { color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; margin-bottom: 1.25rem; }
.hero-accent { color: rgba(255,255,255,0.55); }
.hero-lead { color: rgba(255,255,255,0.75); max-width: 560px; font-size: clamp(1rem, 1.6vw, 1.2rem); margin-bottom: 2.25rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-proof .icon { color: var(--amber); }

.search-card { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; align-items: stretch; background: #fff; color: var(--ink); border-radius: 999px; padding: 0.4rem; box-shadow: var(--shadow-lg); max-width: 860px; }
.sc-field { display: flex; flex-direction: column; justify-content: center; gap: 0.1rem; padding: 0.55rem 1.4rem; border-right: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background 0.15s; }
.sc-field:hover { background: var(--bg-2); }
.sc-field:last-of-type { border-right: none; }
.sc-field span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.sc-input { border: none; background: none; font: inherit; font-size: 0.95rem; color: var(--ink); padding: 0; outline: none; width: 100%; }
.sc-btn { display: inline-flex; align-items: center; gap: 0.5rem; border: none; background: var(--amber); color: var(--amber-ink); font-weight: 700; padding: 0 1.5rem; border-radius: 999px; cursor: pointer; transition: background 0.15s; }
.sc-btn:hover { background: var(--amber-2); }

/* --------------------------------------------------------------------------
   Category strip, rails, cards
   -------------------------------------------------------------------------- */
.cat-strip { background: var(--dark); padding: 0 0 2.5rem; }
.cat-strip-in { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); display: flex; gap: 0.75rem; overflow-x: auto; scrollbar-width: none; }
.cat-strip-in::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.1rem 0.7rem 0.85rem; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #fff; transition: background 0.15s, border-color 0.15s, transform 0.15s var(--ease); }
.cat-chip:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.cat-chip .icon { width: 1.5rem; height: 1.5rem; color: var(--amber); }
.cat-chip span { display: flex; flex-direction: column; line-height: 1.2; }
.cat-chip small { color: rgba(255,255,255,0.55); font-size: 0.75rem; }

.rails { max-width: 1240px; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2.5rem) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.rail { min-width: 0; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.rail-head h2 { margin: 0; }
.rail-ctl { display: flex; align-items: center; gap: 0.5rem; }
.link-more { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; color: var(--ink-2); margin-right: 0.5rem; }
.link-more:hover { color: var(--ink); }
.rail-btn { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); transition: all 0.15s; }
.rail-btn:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-sm); }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 270px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1rem; margin: -0.5rem -0.25rem 0; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }

.egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem 1.25rem; padding-bottom: 2rem; }
.ecard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; transition: transform 0.25s var(--ease); }
.ecard:hover { transform: translateY(-4px); }
.ecard-media { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); transition: box-shadow 0.25s; }
.ecard:hover .ecard-media { box-shadow: var(--shadow); }
.ecard-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.ecard:hover img.ecard-img { transform: scale(1.04); }
.ecard-media .chip { position: absolute; top: 0.75rem; left: 0.75rem; }
.ecard-body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0.25rem 0.25rem; flex: 1; }
.ecard-meta { font-size: 0.78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.ecard-title { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.ecard-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.ecard-price { margin-top: 0.15rem; }
.ecard-price strong { font-size: 1.05rem; }

.ph { position: relative; display: grid; place-items: center; color: rgba(255,255,255,0.9); overflow: hidden; }
.ph::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.22), transparent 55%), radial-gradient(80% 60% at 90% 100%, rgba(0,0,0,0.35), transparent 60%); }
.ph .icon-wrap { position: relative; }
.ph .icon { width: 28%; height: 28%; opacity: 0.85; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25)); }
.ph-audio { background: linear-gradient(135deg, #1c1c26 0%, #3a2f5c 100%); }
.ph-lighting { background: linear-gradient(135deg, #3b1d0a 0%, #b45309 100%); }
.ph-staging { background: linear-gradient(135deg, #1a2a2a 0%, #2c6e63 100%); }
.ph-video { background: linear-gradient(135deg, #10203a 0%, #2255b8 100%); }
.ph-power { background: linear-gradient(135deg, #2a2a0e 0%, #8a8a12 100%); }
.ph-rigging { background: linear-gradient(135deg, #2b2b30 0%, #5c5c66 100%); }
.ph-backline { background: linear-gradient(135deg, #3a1020 0%, #a3244c 100%); }
.thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.thumb-sm { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; }
.thumb-sm.ph .icon, .thumb.ph .icon { width: 45%; height: 45%; }
.detail-image { width: 100%; max-width: 480px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* --------------------------------------------------------------------------
   Home sections
   -------------------------------------------------------------------------- */
.props { max-width: 1240px; margin: 4.5rem auto 0; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.props-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prop { background: var(--bg-2); border-radius: var(--r-xl); padding: 1.75rem; }
.prop .icon-wrap { width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--ink); color: var(--amber); display: grid; place-items: center; margin-bottom: 1rem; }
.prop .icon { width: 1.4rem; height: 1.4rem; }
.prop h3 { margin-bottom: 0.4rem; }
.prop p { color: var(--ink-2); margin: 0; font-size: 0.95rem; }
.cta { max-width: 1240px; margin: 3rem auto 0; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.cta-in { background: var(--dark); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-in h2 { margin: 0 0 0.35rem; font-size: 1.8rem; }
.cta-in p { margin: 0; color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------------------
   Catalog
   -------------------------------------------------------------------------- */
.filter-bar { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filter-bar-in { max-width: 1240px; margin: 0 auto; padding: 0.85rem clamp(1rem, 4vw, 2.5rem) 0.5rem; display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.fb-dates { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.35rem 0.6rem 0.35rem 0.9rem; background: #fff; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.fb-date { border: none; background: none; font: inherit; font-size: 0.92rem; color: var(--ink); outline: none; }
.fb-sep { color: var(--ink-3); }
.fb-clear { background: var(--bg-3); border: none; border-radius: 50%; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.fb-form { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.35rem 0.9rem; background: #fff; color: var(--ink-3); box-shadow: var(--shadow-sm); flex: 1; max-width: 360px; }
.fb-search { border: none; background: none; font: inherit; outline: none; width: 100%; color: var(--ink); }
.fb-cats { max-width: 1240px; margin: 0 auto; padding: 0.35rem clamp(1rem, 4vw, 2.5rem) 0.85rem; display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
.fb-cats::-webkit-scrollbar { display: none; }
.fb-cat { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid transparent; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); transition: all 0.15s; }
.fb-cat:hover { background: var(--bg-3); color: var(--ink); }
.fb-cat.active { background: var(--ink); color: #fff; }
.catalog-head { margin: 2rem 0 1.5rem; }
.catalog-head h1 { margin-bottom: 0.25rem; }
.catalog-head p { margin: 0; }

/* --------------------------------------------------------------------------
   Listing (equipment detail)
   -------------------------------------------------------------------------- */
.listing { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: start; padding-bottom: 3rem; }
.listing-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-xl); margin-bottom: 1.5rem; }
.listing-img.ph .icon { width: 18%; height: 18%; }
.listing-meta { display: flex; gap: 0.75rem; color: var(--ink-3); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 0.5rem; }
.listing-meta span + span::before { content: '·'; margin-right: 0.75rem; }
.listing-desc { font-size: 1.1rem; color: var(--ink-2); max-width: 65ch; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.spec { background: var(--bg-2); border-radius: var(--r); padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.spec span { font-size: 0.78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.spec strong { font-size: 1.15rem; }
.listing-notes { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.listing-notes ul { display: grid; gap: 0.5rem; color: var(--ink-2); }
.book-card { position: sticky; top: calc(var(--hdr-h) + 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.book-price strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.book-price span { color: var(--ink-3); }
.book-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.book-dates label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.book-dates .input { width: 100%; }
.book-avail { display: flex; align-items: center; gap: 0.5rem; }
.book-est { display: grid; gap: 0.35rem; border-top: 1px solid var(--line); padding-top: 0.85rem; }
.book-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--ink-2); }
.book-total { font-size: 1rem; color: var(--ink); }
.book-note { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem; color: var(--ink-3); margin: 0; }
.book-note .icon { color: var(--success); margin-top: 0.1rem; }

/* --------------------------------------------------------------------------
   Quote page
   -------------------------------------------------------------------------- */
.qlayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; padding-bottom: 3rem; }
.qsection { padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.qsection:last-child { border-bottom: none; }
.qsection h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.qlist { display: grid; gap: 0.75rem; }
.qitem { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 1rem; align-items: center; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); }
.qitem-img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.qitem-img.ph .icon { width: 40%; height: 40%; }
.qitem-title { font-weight: 600; }
.qitem-title:hover { text-decoration: underline; }
.qitem-total { font-weight: 700; min-width: 5rem; text-align: right; font-variant-numeric: tabular-nums; }
.qsum { position: sticky; top: calc(var(--hdr-h) + 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--shadow); }
.qsum h3 { margin-bottom: 1rem; }
.qsum-body { display: grid; gap: 0.6rem; }
.qsum-dates { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.qsum-row { display: flex; justify-content: space-between; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.qsum-total { color: var(--ink); font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 0.75rem; margin-top: 0.25rem; }
.sent { text-align: center; padding: 4rem 1rem; }
.sent-icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.sent-icon .icon { width: 1.8rem; height: 1.8rem; }

/* --------------------------------------------------------------------------
   Generic components (cards, tables, badges, alerts, dialogs)
   -------------------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.card > h2:first-child { margin-top: 0; font-size: 1.1rem; margin-bottom: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 700; }
.table th.num { text-align: right; }
.table tbody tr { transition: background 0.1s; }
.table tbody tr:hover { background: var(--bg-2); }
.table tfoot td { border-bottom: none; }
.table a { font-weight: 600; }
.table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.total-row td { font-weight: 700; font-size: 1.05rem; border-top: 2px solid var(--ink); }
.row-warn td { background: var(--warning-bg); }
.totals { margin-left: auto; margin-top: 1rem; min-width: 300px; font-variant-numeric: tabular-nums; }
.totals td { padding: 0.35rem 0.75rem; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; margin: 0; }
.dl dt { font-weight: 600; color: var(--ink-3); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 0.15rem; }
.dl dd { margin: 0; }
.plain { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.35rem; }
.empty { padding: 2.5rem 1rem; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.chosen { margin-top: 0.5rem; }

.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.65rem 0.2rem 0.5rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; text-transform: capitalize; background: var(--bg-3); color: var(--ink-2); margin-right: 0.3rem; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-quote { background: var(--info-bg); color: var(--info); }
.badge-confirmed { background: var(--warning-bg); color: var(--warning); }
.badge-out { background: #e6f0ff; color: #1d4ed8; }
.badge-returned { background: var(--success-bg); color: var(--success); }
.badge-cancelled { background: var(--bg-3); color: var(--ink-3); }
.badge-overdue { background: var(--danger-bg); color: var(--danger); }

.alert { padding: 0.85rem 1rem; border-radius: var(--r); margin-bottom: 1rem; font-size: 0.93rem; }
.alert-error { background: var(--danger-bg); color: #8a1c14; }
.alert-info { background: var(--info-bg); color: #1e3a8a; }
.alert-success { background: var(--success-bg); color: #14532d; }
.alert-warning { background: var(--warning-bg); color: #7a4a00; }

.toast-host { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 0.5rem; z-index: 100; align-items: center; }
.toast { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--ink); color: #fff; padding: 0.75rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); transition: all 0.25s var(--ease); max-width: min(420px, 90vw); font-weight: 500; }
.toast.show { opacity: 1; transform: none; }
.toast .icon { color: var(--amber); }
.toast-error { background: var(--danger); }
.toast-error .icon { color: #fff; }
.dialog { border: none; border-radius: var(--r-xl); padding: 1.75rem; max-width: 460px; width: calc(100% - 2rem); box-shadow: var(--shadow-lg); color: var(--ink); }
.dialog::backdrop { background: rgba(11, 11, 16, 0.55); backdrop-filter: blur(4px); }
.dialog-wide { max-width: 900px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.dialog-head h2 { margin: 0; font-size: 1.25rem; }
.dialog-msg { font-size: 1.05rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }

/* --------------------------------------------------------------------------
   Staff shell
   -------------------------------------------------------------------------- */
.staff { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: var(--bg-2); }
.sb { background: var(--dark); color: #fff; padding: 1.25rem 0.9rem; display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 0; height: 100vh; }
.sb-brand { padding: 0.25rem 0.6rem; }
.sb-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.sb-nav a { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.72); padding: 0.62rem 0.8rem; border-radius: 10px; font-weight: 500; font-size: 0.95rem; transition: background 0.15s, color 0.15s; }
.sb-nav a .icon { width: 1.2rem; height: 1.2rem; opacity: 0.85; }
.sb-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.sb-nav a.active { background: var(--amber); color: var(--amber-ink); font-weight: 700; }
.sb-nav a.active .icon { opacity: 1; }
.sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.35rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; }
.sb-link { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.65); background: none; border: none; padding: 0.5rem 0.8rem; border-radius: 10px; cursor: pointer; font-size: 0.88rem; text-align: left; }
.sb-link:hover { background: rgba(255,255,255,0.07); color: #fff; }
.sb-user { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.8rem; }
.avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: linear-gradient(135deg, var(--amber), var(--magenta)); color: var(--dark); font-weight: 800; display: grid; place-items: center; flex: none; }
.sb-user-name { font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.sb-user-role { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: capitalize; }
.staff-main { padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 4rem; max-width: 1320px; width: 100%; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-header h1 { margin: 0; font-size: 1.7rem; }
.page-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.15rem 1.3rem; box-shadow: var(--shadow-sm); transition: transform 0.15s var(--ease), box-shadow 0.15s; }
a.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-label { color: var(--ink-3); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-value { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 0.25rem; }
.stat-danger .stat-value { color: var(--danger); }
.search-form { display: flex; gap: 0.5rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; }
.pill { border: 1px solid transparent; border-radius: 999px; padding: 0.4rem 0.95rem; color: var(--ink-2); font-size: 0.9rem; font-weight: 500; transition: all 0.15s; }
.pill:hover { background: var(--bg-3); color: var(--ink); }
.pill.active { background: var(--ink); color: #fff; }

/* Login */
.login { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-art { position: relative; background: var(--dark); color: #fff; overflow: hidden; display: flex; align-items: flex-end; padding: 3rem; }
.login-art-in { position: relative; z-index: 1; max-width: 420px; }
.login-art h2 { font-size: 2.4rem; margin: 2rem 0 0.5rem; }
.login-art p { color: rgba(255,255,255,0.65); margin: 0; }
.login-panel { display: grid; place-items: center; padding: 2rem; background: #fff; }
.login-box { width: 100%; max-width: 380px; }
.login-box h1 { font-size: 1.7rem; margin-bottom: 0.35rem; }

/* Calendar */
.legend { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.9rem; font-size: 0.82rem; }
.legend span { padding: 0.25rem 0.7rem; border-radius: 999px; font-weight: 600; }
.calendar { border-collapse: separate; border-spacing: 0; font-size: 0.78rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.calendar th, .calendar td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; min-width: 30px; padding: 0.3rem 0.1rem; }
.calendar th { font-weight: 700; color: var(--ink-3); background: var(--bg-2); }
.calendar .cal-name { text-align: left; padding: 0.4rem 0.7rem; white-space: nowrap; position: sticky; left: 0; background: #fff; font-weight: 500; }
.calendar td.today, .calendar th.today { box-shadow: inset 0 0 0 2px var(--amber); }
.cal-quoted { background: var(--info-bg); color: var(--info); cursor: pointer; }
.cal-booked { background: var(--warning-bg); color: var(--warning); cursor: pointer; }
.cal-full { background: #ffd66b; color: #6b4200; cursor: pointer; font-weight: 700; }
.cal-over { background: var(--danger-bg); color: var(--danger); cursor: pointer; font-weight: 700; }

/* Print documents */
.print-page { max-width: 820px; margin: 0 auto; padding: 2rem 1.5rem; background: #fff; min-height: 100vh; font-size: 0.95rem; }
.print-bar { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.print-head { display: flex; justify-content: space-between; border-bottom: 3px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.print-brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.print-doc { text-align: right; }
.print-doc h1 { margin: 0; font-size: 1.4rem; }
.print-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.print-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.print-table th, .print-table td { border-bottom: 1px solid #ccc; padding: 0.45rem 0.5rem; text-align: left; vertical-align: top; }
.print-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #555; }
.print-table th.num, .print-table td.num { text-align: right; }
.print-table .box { font-size: 1.2rem; }
.print-table .wide { width: 30%; }
.print-table tfoot td { border-bottom: none; }
.terms ol { padding-left: 1.2rem; font-size: 0.85rem; color: #333; }
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; font-size: 0.85rem; color: #555; }
.sig-line { border-bottom: 1px solid #333; height: 2.5rem; margin-bottom: 0.3rem; }
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .print-page { padding: 0; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .listing { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .qlayout { grid-template-columns: 1fr; }
  .qsum { position: static; }
  .props-in { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .staff { grid-template-columns: 1fr; }
  .sb { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
  .sb-nav { flex-direction: row; flex-wrap: wrap; }
  .sb-foot { margin: 0; border: none; padding: 0; flex-direction: row; flex-basis: 100%; align-items: center; }
  .two-col { grid-template-columns: 1fr; }
  .form-grid.four { grid-template-columns: 1fr 1fr; }
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 260px; padding: 2rem; }
  .login-art h2 { font-size: 1.8rem; margin-top: 1rem; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 64px; }
  .brand-name { display: none; }
  .hdr-nav > a { padding: 0.5rem 0.75rem; }
  .search-card { grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); gap: 0.25rem; }
  .sc-field { border-right: none; padding: 0.6rem 1rem; }
  .sc-field:nth-child(3) { grid-column: span 2; }
  .sc-btn { grid-column: span 2; padding: 0.85rem; justify-content: center; }
  .form-grid, .form-grid.four { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .qitem { grid-template-columns: 72px 1fr auto; }
  .qitem-img { width: 72px; height: 54px; }
  .qitem-total { grid-column: 2; text-align: left; }
  .print-cols, .ftr-in { grid-template-columns: 1fr; }
  .rail-track { grid-auto-columns: minmax(220px, 240px); }
}

/* ==========================================================================
   Round 2 polish
   ========================================================================== */
/* Motion & focus */
#app > * { animation: pageIn 0.35s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, .stepper-btn:focus-visible, .rail-btn:focus-visible { outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Placeholder variety */
.ph-audio { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(255deg + var(--ph-shift, 0deg)) 25% 12%) 0%, hsl(calc(258deg + var(--ph-shift, 0deg)) 33% 30%) 100%); }
.ph-lighting { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(22deg + var(--ph-shift, 0deg)) 70% 13%) 0%, hsl(calc(28deg + var(--ph-shift, 0deg)) 92% 38%) 100%); }
.ph-staging { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(180deg + var(--ph-shift, 0deg)) 25% 13%) 0%, hsl(calc(170deg + var(--ph-shift, 0deg)) 42% 31%) 100%); }
.ph-video { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(218deg + var(--ph-shift, 0deg)) 55% 15%) 0%, hsl(calc(220deg + var(--ph-shift, 0deg)) 70% 43%) 100%); }
.ph-power { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(60deg + var(--ph-shift, 0deg)) 55% 12%) 0%, hsl(calc(60deg + var(--ph-shift, 0deg)) 75% 30%) 100%); }
.ph-rigging { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(240deg + var(--ph-shift, 0deg)) 6% 18%) 0%, hsl(calc(240deg + var(--ph-shift, 0deg)) 6% 38%) 100%); }
.ph-backline { background: linear-gradient(var(--ph-angle, 135deg), hsl(calc(340deg + var(--ph-shift, 0deg)) 55% 15%) 0%, hsl(calc(340deg + var(--ph-shift, 0deg)) 64% 39%) 100%); }
.ph::before { background: radial-gradient(90% 70% at var(--ph-x, 30%) 0%, rgba(255,255,255,0.22), transparent 55%), radial-gradient(80% 60% at 90% 100%, rgba(0,0,0,0.35), transparent 60%); }

/* Home: brands + how it works */
.eyebrow-dark { color: var(--warning); }
.brands { max-width: 1240px; margin: 4rem auto 0; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.brands-in { display: flex; align-items: center; gap: 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; overflow: hidden; }
.brands-label { flex: none; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.brands-track { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.brands-track::-webkit-scrollbar { display: none; }
.brand-pill { flex: none; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-weight: 600; font-size: 0.88rem; }
.how { max-width: 1240px; margin: 4.5rem auto 0; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.how-in { background: var(--dark); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; position: relative; overflow: hidden; }
.how-in::after { content: ''; position: absolute; width: 50%; aspect-ratio: 1; right: -15%; top: -40%; background: radial-gradient(circle, rgba(255,180,0,0.28), transparent 60%); filter: blur(40px); pointer-events: none; }
.how-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.how-steps li { border-left: 1px solid rgba(255,255,255,0.12); padding-left: 1.25rem; }
.how-num { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 0.9rem; }
.how-steps h3 { color: #fff; margin-bottom: 0.4rem; }
.how-steps p { color: rgba(255,255,255,0.65); margin: 0; font-size: 0.93rem; }
.rails-tight { padding-top: 1rem; }

/* Catalog sort */
.fb-sortwrap { margin-left: auto; }
.fb-sort { border: 1px solid var(--line-2); border-radius: 999px; padding: 0.55rem 2.2rem 0.55rem 1rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b55' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 1rem; font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--ink); appearance: none; -webkit-appearance: none; box-shadow: var(--shadow-sm); cursor: pointer; }

/* Staff polish */
.staff-main { min-width: 0; }
.table-clickable tbody tr { cursor: pointer; }
.table-clickable tbody tr:hover { background: var(--bg-2); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h2 { margin: 0; font-size: 1.1rem; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { width: 2rem; height: 2rem; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2); }
.stat-icon .icon { width: 1.1rem; height: 1.1rem; }
.stat-info .stat-icon { background: var(--info-bg); color: var(--info); }
.stat-warn .stat-icon { background: var(--warning-bg); color: var(--warning); }
.stat-blue .stat-icon { background: #e6f0ff; color: #1d4ed8; }
.stat-danger .stat-icon { background: var(--danger-bg); color: var(--danger); }
.rec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.rec-head .breadcrumb { margin: 0 0 0.35rem; }
.rec-head h1 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.25rem; font-size: 1.7rem; }
.rec-head .badge { font-size: 0.72rem; }
.rec-sub { margin: 0; color: var(--ink-2); }
.rec-total { text-align: right; display: flex; flex-direction: column; }
.rec-total strong { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.toolbar { padding: 0.75rem 0 1rem; border-top: 1px solid var(--line); }
.move { display: grid; gap: 0.3rem; min-width: 160px; }
.move-bar { position: relative; height: 6px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.move-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.move-out { background: #93c5fd; }
.move-back { background: var(--success); }
.input-wide { width: 100%; max-width: 560px; margin-bottom: 0.75rem; }
@media (max-width: 900px) {
  .how-in { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; }
}

.container .rails { padding-left: 0; padding-right: 0; }

/* ==========================================================================
   Round 3 polish
   ========================================================================== */
/* Navigation progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--amber), var(--magenta)); z-index: 200; opacity: 0; transition: width 0.6s var(--ease), opacity 0.2s; pointer-events: none; }
.progress.active { opacity: 1; }
.progress.done { transition: width 0.15s var(--ease), opacity 0.3s 0.15s; opacity: 0; }

/* Badge pop */
.hdr-badge.pop { animation: pop 0.35s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Empty states, avatars, chips */
.empty { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 2rem 1rem; }
.empty-icon { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--bg-3); color: var(--ink-3); display: grid; place-items: center; }
.empty-icon .icon { width: 1.25rem; height: 1.25rem; }
.avatar-sm { width: 1.9rem; height: 1.9rem; font-size: 0.72rem; background: hsl(var(--hue, 40) 70% 88%); color: hsl(var(--hue, 40) 60% 28%); }
.who { display: inline-flex; align-items: center; gap: 0.6rem; }
.days-chip { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); font-size: 0.72rem; font-weight: 700; }
.calendar th.wknd, .calendar td.wknd:not([class*="cal-"]) { background: var(--bg-2); }
.cond.is-set.cond-damaged { border-color: var(--warning); background: var(--warning-bg); color: var(--warning); font-weight: 700; }
.cond.is-set.cond-missing { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); font-weight: 700; }
.notfound { padding: 5rem 0 4rem; text-align: left; }
.notfound-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; background: linear-gradient(135deg, var(--amber), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.ftr-in { grid-template-columns: 2fr 1fr 1fr 1fr; }

/* Staff on phones: top bar + bottom tab bar */
@media (max-width: 900px) {
  .staff { grid-template-columns: 1fr; }
  .sb { position: sticky; top: 0; z-index: 60; height: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 1rem; }
  .sb-brand { padding: 0; }
  .sb-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; flex-direction: row; background: var(--dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 0.3rem 0.25rem calc(0.3rem + env(safe-area-inset-bottom)); }
  .sb-nav a { flex: 1; flex-direction: column; justify-content: center; gap: 0.15rem; padding: 0.45rem 0.1rem; font-size: 0.62rem; font-weight: 600; border-radius: 10px; text-align: center; }
  .sb-nav a .icon { width: 1.25rem; height: 1.25rem; }
  .sb-nav a.active { background: transparent; color: var(--amber); }
  .sb-foot { margin: 0; border: 0; padding: 0; flex-direction: row; align-items: center; gap: 0.25rem; }
  .sb-foot .sb-link { padding: 0.4rem; font-size: 0; }
  .sb-foot .sb-link .icon { width: 1.2rem; height: 1.2rem; font-size: 1rem; }
  .sb-user { padding: 0; }
  .sb-user > div:last-child { display: none; }
  .staff-main { padding: 1.25rem 1rem calc(5.5rem + env(safe-area-inset-bottom)); }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-value { font-size: 1.7rem; }
  .rec-head { align-items: flex-start; }
  .rec-total { text-align: left; }
  .charge-row { flex-wrap: wrap; }
  .charge-row .input { flex: 1 1 100%; }
  .charge-row select.input { flex: 1 1 100%; }
  .card { padding: 1.1rem; }
  .card-head { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .dialog-wide { width: calc(100% - 1rem); padding: 1.1rem; }
}
@media (max-width: 640px) {
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .hero-proof { gap: 0.75rem 1.25rem; }
}

/* Inventory management */
.inv-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 0.5rem; }
.inv-filters .input { width: auto; }
.inv-filters input[type="search"].input { flex: 1; min-width: 200px; }
.inv-dates .fb-date, .inv-dates input { border: none; background: none; font: inherit; font-size: 0.92rem; color: var(--ink); outline: none; }
.avail-cell { display: grid; gap: 0.3rem; min-width: 120px; }
.avail-line strong { font-size: 1rem; }
.import-summary { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.import-summary .chip { box-shadow: none; background: var(--bg-2); }

/* Access control */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.5rem; }
.perm { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; background: #fff; }
.perm:hover { border-color: var(--line-2); background: var(--bg-2); }
.perm input { margin-top: 0.2rem; }
.perm span { display: flex; flex-direction: column; line-height: 1.3; }
.perm small { font-size: 0.75rem; }
.presets { gap: 0.4rem; }
.perm-chips { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; }
.perm-chips .badge { margin: 0; }
.login-art .spot { --o: 0.3; filter: blur(22px); }
.login-art .s2, .login-art .s4 { display: none; }
.login-art .glow { opacity: 0.28; }
