/* Tap-In Bros portal — blue, black and white. Red is kept only for clock-out, errors and required tasks. */
:root {
  --enamel: #1D4ED8;        /* brand blue: buttons, links, highlights */
  --enamel-deep: #0F172A;   /* near-black navy: hovers, dark panels */
  --enamel-soft: #E8EEFC;   /* pale blue fills */
  --brass: #3B82F6;         /* bright blue accent: focus, current page, rings */
  --brass-soft: #DCE7FE;
  --night: #0A0F1A;         /* black: menu, sign-in panel, kiosk */
  --chalk: #F5F7FB;
  --paper: #FFFFFF;
  --graphite: #0B1220;
  --muted: #5B6475;
  --line: #DDE3EC;
  --signal: #C8232C;
  --signal-soft: #FDE4E5;
  --ok: #1D4ED8;
  --warn-soft: #FEF3C7;
  --warn-ink: #8A4B08;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --step--1: 0.8125rem;
  --step-0: 0.9375rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: 2.75rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--graphite);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-stretch: 112%; line-height: 1.15; margin: 0; font-weight: 750; letter-spacing: -0.01em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-1); }
h3 { font-size: var(--step-0); }
p { margin: 0; }
a { color: var(--enamel); }
.num, td.num, .tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.hidden { display: none !important; }
.mt { margin-top: 20px; }
.my { margin: 20px 0; }
#ed { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { #ed { grid-template-columns: 1fr; } }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side {
  background: var(--night);
  color: var(--chalk);
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; color: inherit; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: -0.02em; }
.brand-sub { display: block; font-size: 0.72rem; font-weight: 500; font-stretch: 100%; opacity: 0.7; margin-top: 3px; letter-spacing: 0; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-group { font-size: var(--step--1); opacity: 0.6; padding: 14px 10px 6px; }
.nav a {
  color: var(--chalk); text-decoration: none; padding: 9px 10px; border-radius: var(--r-sm);
  font-weight: 550; display: flex; align-items: center; gap: 10px;
}
.nav a:hover { background: rgba(255,255,255,0.07); }
.nav a[aria-current="page"] { background: #16213A; box-shadow: inset 3px 0 0 var(--brass); }
.nav svg { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.side-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: var(--step--1); }
.side-foot strong { display: block; font-size: var(--step-0); }
.side-foot button { margin-top: 10px; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--chalk); }
.side-foot button:hover { background: rgba(255,255,255,0.08); }

.main { min-width: 0; padding: 36px clamp(16px, 4vw, 48px) 64px; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head p { margin-top: 6px; color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.mobile-bar { display: none; }

/* ---------- surfaces ---------- */
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-body { padding: 20px; }
.stack { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.figure { padding: 16px 20px; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure .val { font-size: var(--step-2); font-weight: 700; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.figure .lbl { color: var(--muted); font-size: var(--step--1); }

/* ---------- the time clock ---------- */
.clock-wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.dial {
  --size: 260px;
  width: var(--size); height: var(--size); border-radius: 50%;
  border: 0; cursor: pointer; position: relative; font-family: inherit;
  background: radial-gradient(circle at 50% 50%, var(--enamel) 0 64%, var(--night) 64% 67%, #60A5FA 67% 72%, var(--night) 72% 100%);
  color: var(--chalk);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 2px 0 var(--enamel-deep), 0 14px 30px -14px rgba(11,18,32,0.6);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.dial:hover { transform: translateY(-1px); }
.dial:active { transform: translateY(2px) scale(0.99); box-shadow: 0 0 0 var(--enamel-deep), 0 6px 14px -8px rgba(11,18,32,0.6); }
.dial[disabled] { cursor: progress; opacity: 0.85; }
.dial.is-out { background: radial-gradient(circle at 50% 50%, var(--signal) 0 64%, var(--night) 64% 67%, #F87171 67% 72%, var(--night) 72% 100%); box-shadow: 0 2px 0 #8F2E1E, 0 14px 30px -14px rgba(143,46,30,0.6); }
.dial-time { font-size: 2.6rem; font-weight: 700; font-stretch: 120%; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.dial-sec { font-size: 1rem; opacity: 0.7; font-weight: 500; }
.dial-action { margin-top: 10px; font-size: 1.15rem; font-weight: 750; font-stretch: 115%; }
.dial-hint { font-size: 0.75rem; opacity: 0.75; margin-top: 2px; }
.dial-inner, .dial-clock, .dial-action, .dial-hint { display: block; }
.dial-ticks { position: absolute; inset: 0; pointer-events: none; }

.clock-info h1 { font-size: var(--step-4); font-stretch: 118%; letter-spacing: -0.025em; }
.clock-info .status { margin-top: 10px; font-size: var(--step-1); color: var(--muted); }
.clock-info .status strong { color: var(--graphite); }
.clock-info .meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--enamel-soft); color: var(--enamel); font-size: var(--step--1); font-weight: 600; }
.chip.warn { background: var(--warn-soft); color: var(--warn-ink); }
.chip.danger { background: var(--signal-soft); color: var(--signal); }
.chip.plain { background: #EEF2F7; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 3px rgba(46,122,76,0.18); }
.note-field { margin-top: 18px; max-width: 420px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: var(--step--1); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #F8FAFD; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-wrap > table { min-width: 680px; }
.table-wrap > table.wide { min-width: 1040px; }
.chip { white-space: nowrap; }
.stub .table-wrap > table, .stub table { min-width: 0; }
tbody tr:hover { background: #F8FAFD; }
.cell-sub { display: block; color: var(--muted); font-size: var(--step--1); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--graphite); font-size: var(--step-1); margin-bottom: 4px; }

/* ---------- forms & buttons ---------- */
button, .btn {
  font-family: inherit; font-size: var(--step-0); font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--paper); color: var(--graphite); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; line-height: 1.2;
}
button:hover, .btn:hover { border-color: #B6C0CF; }
.btn-primary { background: var(--enamel); border-color: var(--enamel); color: var(--chalk); }
.btn-primary:hover { background: #1E40AF; border-color: #1E40AF; }
.btn-brass { background: var(--enamel); border-color: var(--enamel); color: #fff; }
.btn-danger { color: var(--signal); }
.btn-danger:hover { border-color: var(--signal); }
.btn-sm { padding: 5px 10px; font-size: var(--step--1); }
.btn-link { border: 0; background: none; padding: 0; color: var(--enamel); text-decoration: underline; font-weight: 600; }
button[disabled] { opacity: 0.55; cursor: not-allowed; }

label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 5px; }
.hint { font-weight: 400; color: var(--muted); font-size: var(--step--1); margin-top: 4px; }
input, select, textarea {
  font-family: inherit; font-size: var(--step-0); width: 100%;
  padding: 9px 11px; border: 1px solid #C7CFDB; border-radius: var(--r-sm); background: var(--paper); color: var(--graphite);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--enamel); outline-offset: -1px; border-color: var(--enamel); }
textarea { min-height: 70px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--step-0); }
.check input { width: 18px; height: 18px; accent-color: var(--enamel); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.filters > div { min-width: 150px; }
.form-error { background: var(--signal-soft); color: var(--signal); padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--step--1); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--night); color: var(--chalk); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art .big { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; font-stretch: 125%; line-height: 0.9; letter-spacing: -0.04em; }
.login-art .big span { display: block; color: #60A5FA; }
.login-art p { max-width: 36ch; opacity: 0.8; margin-top: 20px; font-size: var(--step-1); }
.login-art svg.ring { position: absolute; right: -140px; bottom: -140px; width: 460px; opacity: 0.16; }
.login-form { display: grid; place-items: center; padding: 32px; }
.login-form form { width: 100%; max-width: 360px; display: grid; gap: 16px; }
.login-form h1 { font-size: var(--step-3); }

/* ---------- paystub ---------- */
.stub { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 36px; max-width: 860px; }
.stub-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 3px solid var(--enamel); flex-wrap: wrap; }
.stub-co { font-size: var(--step-2); font-weight: 800; font-stretch: 120%; color: var(--enamel); }
.stub-net { text-align: right; }
.stub-net .val { font-size: var(--step-4); font-weight: 750; font-stretch: 112%; font-variant-numeric: tabular-nums; line-height: 1; }
.stub-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stub-meta div span { display: block; color: var(--muted); font-size: var(--step--1); }
.stub-meta div strong { font-weight: 600; }
.stub-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-top: 20px; }
.stub table td, .stub table th { padding: 8px 0; background: none; }
.stub table th.num, .stub table td.num { padding-left: 14px; }
.stub tbody tr:hover { background: none; }
.stub tfoot td { font-weight: 700; border-top: 2px solid var(--graphite); border-bottom: 0; }
.stub-note { margin-top: 24px; padding: 12px 14px; background: var(--chalk); border-radius: var(--r-sm); }

/* ---------- paystub editor ---------- */
.lines { display: grid; gap: 8px; }
.line-row { display: grid; grid-template-columns: 1fr 140px auto; gap: 8px; }
.totals { display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 2px solid var(--graphite); padding-top: 8px; font-weight: 750; font-size: var(--step-1); }
.sticky { position: sticky; top: 20px; }
.weeks { font-size: var(--step--1); color: var(--muted); }

/* ---------- misc ---------- */
.banner { background: var(--brass-soft); border: 1px solid #B9CDF8; padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--chalk); border: 1px dashed var(--brass); padding: 12px; border-radius: var(--r-sm); word-break: break-all; font-size: 0.95rem; }
.audit-detail { font-size: var(--step--1); color: var(--muted); max-width: 46ch; word-break: break-word; }

#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--graphite); color: var(--chalk); padding: 12px 18px; border-radius: var(--r-md); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 160ms, transform 160ms; z-index: 50; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: var(--signal); }

dialog { border: 0; border-radius: var(--r-md); padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35); color: var(--graphite); }
dialog::backdrop { background: rgba(10,15,26,0.55); }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 22px; display: grid; gap: 16px; max-height: 70vh; overflow: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; background: #F8FAFD; }

.loading { padding: 60px; text-align: center; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 40; transform: translateX(-100%); transition: transform 180ms ease; }
  .shell.nav-open .side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,0.35); }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--night); color: var(--chalk); position: sticky; top: 0; z-index: 30; }
  .mobile-bar button { background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--chalk); }
  .main { padding-top: 24px; }
  .clock-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 20px; gap: 24px; }
  .clock-info .meta { justify-content: center; }
  .note-field { margin-left: auto; margin-right: auto; }
  .clock-info h1 { font-size: var(--step-3); }
  .grid-2, .grid-3, .stub-cols { grid-template-columns: 1fr; }
  .stub-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 32px; min-height: 260px; }
  .figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .figure:last-child { border-bottom: 0; }
  .sticky { position: static; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .dial { --size: 230px; }
  .stub { padding: 20px; }
  .stub-net { text-align: left; }
  .line-row { grid-template-columns: 1fr 110px auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- print (paystubs) ---------- */
@media print {
  body { background: #fff; }
  .side, .mobile-bar, .page-head .actions, .no-print, #toast { display: none !important; }
  .shell { display: block; }
  .main { padding: 0; max-width: none; }
  .stub { border: 0; padding: 0; max-width: none; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- kiosk (wall tablet time clock) ---------- */
.kiosk { min-height: 100vh; background: var(--night); color: var(--chalk); display: grid; grid-template-columns: 1fr 1fr; }
.kiosk-left { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.kiosk-time { font-size: clamp(4rem, 11vw, 9rem); font-weight: 800; font-stretch: 125%; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kiosk-date { font-size: var(--step-2); color: #60A5FA; font-weight: 600; margin-top: 12px; }
.kiosk-right { background: #111A2E; padding: 40px; display: grid; place-items: center; }
.kiosk-pad { width: 100%; max-width: 380px; display: grid; gap: 16px; }
.kiosk-prompt { font-size: var(--step-2); font-weight: 700; font-stretch: 112%; }
.kiosk-entry { height: 64px; border-radius: var(--r-md); background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 2rem; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keys button { height: 72px; font-size: 1.75rem; font-weight: 700; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: var(--chalk); justify-content: center; border-radius: var(--r-md); }
.keys button:active { background: rgba(255,255,255,0.18); }
.keys .go { background: var(--enamel); color: #fff; border-color: var(--enamel); font-size: 1.15rem; }
.keys .muted-key { font-size: 1rem; }
.kiosk-result { border-radius: var(--r-md); padding: 24px; text-align: center; font-size: var(--step-1); }
.kiosk-result strong { display: block; font-size: var(--step-3); font-stretch: 115%; line-height: 1.1; margin-bottom: 6px; }
.kiosk-result.in { background: var(--ok); }
.kiosk-result.out { background: var(--signal); }
.kiosk-result.err { background: rgba(0,0,0,0.3); border: 2px solid var(--signal); }
.kiosk-setup { max-width: 440px; display: grid; gap: 14px; }
.kiosk-setup input { background: rgba(255,255,255,0.95); }
.kiosk-setup label { color: var(--chalk); }
@media (max-width: 800px) { .kiosk { grid-template-columns: 1fr; } .kiosk-left { padding: 24px; } .kiosk-time { font-size: 4.5rem; } .kiosk-right { padding: 24px; } }

/* ================= v2: roles, jobs, revenue, chat, documents, inventory ================= */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb { margin-bottom: 20px; }
.spacer { flex: 1; }
.prewrap { white-space: pre-wrap; }
.grow { flex: 1; min-width: 220px; }
.tiny { font-size: 0.68rem; padding: 1px 7px; }
.chip.role-manager { background: #E5E9F0; color: #1E293B; }
.chip.role-dispatch { background: #FDE4E5; color: #9F1239; }
.chip.role-administration { background: var(--brass-soft); color: #1E3A8A; }
.chip.role-owner { background: var(--night); color: #fff; }

/* menu */
.side { overflow-y: auto; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nav a span:first-of-type { flex: 1; }
.nav-count { background: var(--brass); color: #fff; border-radius: 999px; font-size: 0.7rem; font-weight: 700; padding: 1px 7px; flex: none !important; }
.bell { position: relative; background: none; border: 1px solid rgba(255,255,255,0.25); color: var(--chalk); padding: 6px; line-height: 0; border-radius: var(--r-sm); }
.bell svg { width: 18px; height: 18px; }
.bell:hover { background: rgba(255,255,255,0.08); }
.bell-count { position: absolute; top: -6px; right: -6px; background: var(--signal); color: #fff; font-size: 0.66rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; line-height: 1; padding: 0 4px; }
.bell-count[hidden], .nav-count[hidden] { display: none; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.notif-list li.unread a { font-weight: 700; }
.notif-list li.unread::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: 8px; }
.notif-list a { color: var(--graphite); text-decoration: none; }
.notif-list a:hover { text-decoration: underline; }

/* tabs */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: var(--step--1); border: 1px solid var(--line); background: var(--paper); }
.tabs a[aria-current="page"] { background: var(--enamel); border-color: var(--enamel); color: var(--chalk); }

/* jobs */
.st-open { background: #E5E9F0; color: #1E293B; }
.st-in_progress { background: var(--warn-soft); color: var(--warn-ink); }
.st-completed { background: var(--enamel-soft); color: var(--enamel); }
.st-invoiced { background: var(--night); color: #fff; }
.st-cancelled { background: #EEF2F7; color: var(--muted); text-decoration: line-through; }
.job-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; padding: 16px 20px 20px; }
.panel-body.job-list { padding: 20px; }
.job-card { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: inherit; text-decoration: none; }
a.job-card:hover { border-color: var(--enamel); box-shadow: 0 2px 10px -6px rgba(11,18,32,0.4); }
.job-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.job-top a { color: inherit; text-decoration: none; }
.job-veh { margin-top: 4px; color: var(--graphite); }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: var(--step--1); color: var(--muted); }
.job-meta .num { color: var(--graphite); font-weight: 650; }
.job-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.facts dt { font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 550; }
.cust-results { display: grid; gap: 6px; }
.cust-hit { text-align: left; display: block; width: 100%; background: var(--paper); }
.cust-hit:hover { border-color: var(--enamel); }
.picked { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--enamel-soft); border-radius: var(--r-md); }
.veh-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.veh-pick legend { font-weight: 600; margin-bottom: 8px; }
.form-grid.veh { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.photo-add select { width: auto; }
.photo-add label.btn { margin: 0; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 8px 0 16px; }
.thumb { margin: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--chalk); }
.thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb figcaption { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 8px; font-size: var(--step--1); color: var(--muted); text-transform: capitalize; }
.sticky-actions { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(to top, var(--chalk) 70%, transparent); }
.sticky-actions .btn-primary { min-width: 200px; padding: 13px 22px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: block; }
.plain-list li:last-child { border-bottom: 0; }
.plain-list li .btn-sm { float: right; margin-top: -2px; }
table.mini { min-width: 0; }
table.mini td { padding: 8px 4px; }
table.mini tfoot td { font-weight: 600; border-bottom: 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--enamel); }
.hist-body { margin-top: 10px; }
.hist-body table { min-width: 0; margin-bottom: 10px; }

/* schedule */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; min-height: 160px; display: flex; flex-direction: column; gap: 6px; }
.day.today { border-color: var(--brass); box-shadow: inset 0 3px 0 var(--brass); }
.day h3 { font-size: var(--step--1); color: var(--muted); }
.day h3 span { color: var(--graphite); }
.slot { display: block; padding: 8px; border-radius: var(--r-sm); text-decoration: none; color: inherit; font-size: var(--step--1); line-height: 1.35; }
.slot:hover { outline: 2px solid var(--enamel); }

/* tiers */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tier h2 { font-size: var(--step-1); }
.tier-price { font-size: var(--step-3); font-weight: 750; font-stretch: 115%; color: var(--enamel); font-variant-numeric: tabular-nums; }
.tier.retired { opacity: 0.6; }

/* bars */
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: var(--step--1); }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 12px; background: #EEF2F7; border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--enamel); border-radius: 3px; }
.bar-val { font-variant-numeric: tabular-nums; font-weight: 650; min-width: 76px; text-align: right; }

/* chat */
.chat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; height: calc(100vh - 210px); min-height: 420px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.msg { padding: 8px 10px; border-radius: var(--r-sm); }
.msg:hover { background: #F8FAFD; }
.msg-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.msg-head .cell-sub { display: inline; }
.msg-tools { margin-left: auto; display: none; gap: 4px; }
.msg:hover .msg-tools, .msg:focus-within .msg-tools { display: inline-flex; }
@media (hover: none) { .msg-tools { display: inline-flex; } }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.msg-body mark { background: var(--brass-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.msg.mine .msg-head strong { color: var(--enamel); }
.pins { border-bottom: 1px solid var(--line); background: var(--brass-soft); padding: 10px 20px; display: grid; gap: 4px; font-size: var(--step--1); border-radius: var(--r-md) var(--r-md) 0 0; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; min-height: 44px; }
#mutes { padding: 0 20px 10px; }

/* permissions */
.perm-table td.c, .perm-table th.c { text-align: center; }
.perm-table input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--enamel); }
.perm-table .perm-group th { background: var(--enamel-soft); color: var(--enamel); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; }
.perm-table select { width: auto; min-width: 190px; }

@media (max-width: 1100px) { .week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .job-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .chat { height: calc(100vh - 180px); }
}
@media (max-width: 560px) {
  .form-grid.veh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
  .job-list { grid-template-columns: 1fr; padding: 12px; }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
}

.who-did { list-style: none; margin: 0; padding: 12px 14px; background: var(--enamel-soft); border-radius: var(--r-md); display: grid; gap: 4px; font-size: var(--step--1); }
.who-did span { display: inline-block; min-width: 86px; color: var(--muted); font-weight: 600; }

.dial.dial-static { cursor: default; }
.dial.dial-static:hover, .dial.dial-static:active { transform: none; }
.kiosk-note { margin-top: 18px; padding: 12px 14px; background: var(--enamel-soft); border-radius: var(--r-md); max-width: 460px; }
.rec-figs .val { font-size: var(--step-1); }

.welcome { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #F8FAFD; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.welcome textarea { width: 100%; margin-top: 8px; font-size: var(--step--1); }
.login-info { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 8px; }
.login-info h3 { font-size: var(--step-0); }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.02em; }
.sent-ok { background: var(--enamel-soft); color: var(--enamel); padding: 12px 14px; border-radius: var(--r-md); font-weight: 550; }

.crew-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; line-height: 0; }
.crew-scene { display: block; width: 100%; height: auto; max-height: 230px; }

/* ---------- onboarding: required tasks glow red until done ---------- */
@keyframes req-glow { 0%, 100% { box-shadow: 0 0 0 1px var(--signal), 0 0 10px 0 rgba(200,35,44,0.35); } 50% { box-shadow: 0 0 0 2px var(--signal), 0 0 22px 4px rgba(200,35,44,0.45); } }
@keyframes req-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.req-banner { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 20px; border-radius: var(--r-md); background: var(--signal-soft); color: #7F1218; text-decoration: none; animation: req-glow 2.4s ease-in-out infinite; }
.req-banner svg { width: 26px; height: 26px; flex: none; color: var(--signal); }
.req-banner span:nth-child(2) { flex: 1; } .req-banner strong { display: block; color: var(--signal); }
.req-banner .btn { flex: none; }
.btn-danger.btn, a.btn-danger, .task-req .btn-danger, .req-banner .btn-danger, .row-actions .btn-danger { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-danger.btn:hover, a.btn-danger:hover, .task-req .btn-danger:hover { background: #A11B23; border-color: #A11B23; color: #fff; }
.nav a.nav-required { color: #fff; background: rgba(200,35,44,0.22); box-shadow: inset 0 0 0 1px rgba(248,113,113,0.7), 0 0 14px -2px rgba(248,113,113,0.6); animation: req-dot 2.4s ease-in-out infinite; margin-bottom: 6px; }
.nav a.nav-required svg { color: #FCA5A5; }
.nav-count.req { background: var(--signal); color: #fff; }
.due-pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--brass-soft); color: #1E3A8A; font-weight: 650; font-size: var(--step--1); }
.due-pill.urgent { background: var(--signal); color: #fff; animation: req-dot 1.6s ease-in-out infinite; }
.tasks { display: grid; gap: 14px; }
.task { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.task-req { border-color: var(--signal); background: #FFF7F7; animation: req-glow 2.4s ease-in-out infinite; }
.task-ok { border-color: #C9D7F7; }
.task-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--signal); color: #fff; }
.task-ok .task-n { background: var(--enamel); } .task-n svg { width: 20px; height: 20px; }
.task:not(.task-req):not(.task-ok) .task-n { background: var(--night); }
.task-text h2 { font-size: var(--step-1); } .task-text p { color: var(--muted); margin-top: 4px; font-size: var(--step--1); }
.task-done-line { display: inline-flex; align-items: center; gap: 6px; color: var(--enamel); font-weight: 650; font-size: var(--step--1); margin-top: 6px; }
.task-done-line svg { width: 16px; height: 16px; }
.task-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .task { grid-template-columns: auto 1fr; } .task-act { grid-column: 1 / -1; justify-content: flex-start; } .req-banner { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .req-banner, .task-req, .nav a.nav-required, .due-pill.urgent { animation: none; } }
.all-done { display: flex; gap: 14px; align-items: center; } .all-done svg { width: 34px; height: 34px; color: var(--enamel); flex: none; }
.sign-box { border: 1px solid var(--line); background: #F8FAFD; border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 12px; }
.sign-box p:first-child { font-size: var(--step--1); }
.sign-box input[name="signature"] { font-family: "Brush Script MT", "Segoe Script", cursive, var(--font); font-size: 1.35rem; }
.sign-step { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.sign-step.is-off { opacity: 0.45; pointer-events: none; }
.step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--enamel); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: var(--step--1); }
.mt-s { margin-top: 8px; } .mb { margin-bottom: 20px; }
.callout { background: var(--enamel-soft); border-left: 4px solid var(--enamel); padding: 12px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: var(--step--1); }
.calc { font-size: var(--step-2); font-weight: 750; color: var(--enamel); font-variant-numeric: tabular-nums; padding-top: 4px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 650; padding: 0 6px; }
.sub-fields { margin-left: 28px; padding: 12px 14px; border-left: 3px solid var(--brass); background: #F8FAFD; }
.cell-line { display: block; margin-bottom: 4px; } .ok-mark { color: var(--enamel); font-weight: 800; } .no-mark { color: var(--signal); font-weight: 800; }
tr.row-locked td { background: #FFF5F5; }
.chip.tiny { font-size: 0.7rem; padding: 2px 8px; margin: 4px 4px 0 0; }
.locked { min-height: 100vh; display: grid; place-items: center; background: var(--night); padding: 24px; }
.locked-card { background: var(--paper); border-radius: 16px; padding: 36px; max-width: 520px; width: 100%; display: grid; gap: 14px; box-shadow: 0 0 0 2px var(--signal), 0 30px 80px -20px rgba(200,35,44,0.5); }
.locked-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; } .locked-icon svg { width: 30px; height: 30px; }
.locked-list { margin: 0; padding-left: 20px; color: var(--signal); font-weight: 600; }
.locked .actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* inventory purchase link */
.buy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--enamel); color: #fff; font-size: var(--step--1); font-weight: 650; text-decoration: none; }
.buy-link:hover { background: #1E40AF; } .buy-link svg { width: 15px; height: 15px; }
.buy-link .cell-sub { display: inline; color: #C7D7FB; margin: 0 0 0 4px; font-weight: 500; }
.buy-link { display: flex; width: max-content; max-width: 100%; }
.buy-add { display: block; margin-top: 4px; }
.ob-table .row-actions { flex-direction: column; align-items: stretch; min-width: 150px; }
.ob-table .row-actions .btn-sm { white-space: nowrap; }
.ob-table td:nth-child(5) .btn { white-space: normal; text-align: center; }

.chip.role-main { background: linear-gradient(90deg, #0A0F1A, #1D4ED8); color: #fff; }
.mo-panel { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mo-panel > div:first-child { flex: 1 1 380px; } .mo-pick { display: flex; gap: 8px; }
.mo-pick { align-items: center; } .mo-pick select { width: auto; min-width: 200px; } .mo-pick button { white-space: nowrap; }

/* Owner badges with custom two-color shading */
.chip.badge-owner { font-weight: 700; letter-spacing: .01em; }
.side-foot .chip.badge-owner { margin-top: 4px; }
.badge-pick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.badge-pick label { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0; }
.badge-pick input[type=color] { width: 44px; height: 34px; padding: 2px; border-radius: 8px; cursor: pointer; }
.badge-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-swatch { width: 44px; height: 24px; padding: 0; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line, #D9DFE8); cursor: pointer; }
.badge-swatch:hover { box-shadow: 0 0 0 2px #1D4ED8; }

/* Take payment on a job */
.pay-due { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 10px; background: var(--soft, #E8EEFC); }
.pay-amt { font-size: 2rem; line-height: 1.1; }
.pay-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.pay-ways legend { font-weight: 600; margin-bottom: 6px; }
.pay-way { position: relative; margin: 0; }
.pay-way input { position: absolute; opacity: 0; }
.pay-way span { display: block; text-align: center; padding: 14px 6px; border: 2px solid var(--line, #D9DFE8); border-radius: 10px; font-weight: 700; cursor: pointer; }
.pay-way input:checked + span { border-color: #1D4ED8; background: #1D4ED8; color: #fff; }
.pay-way input:focus-visible + span { outline: 3px solid #93C5FD; outline-offset: 2px; }
@media (max-width: 480px) { .pay-ways { grid-template-columns: repeat(2, 1fr); } }

/* Add-ons */
.addon-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.addon-pick legend { font-weight: 600; margin-bottom: 6px; width: 100%; }
.addon-chip { position: relative; margin: 0; }
.addon-chip input { position: absolute; opacity: 0; }
.addon-chip span { display: inline-block; padding: 9px 14px; border: 2px solid var(--line, #D9DFE8); border-radius: 999px; cursor: pointer; font-weight: 600; }
.addon-chip b { color: #1D4ED8; }
.addon-chip input:checked + span { background: #1D4ED8; border-color: #1D4ED8; color: #fff; }
.addon-chip input:checked + span b { color: #fff; }
.addon-chip input:focus-visible + span { outline: 3px solid #93C5FD; outline-offset: 2px; }
.addon-row { display: flex; align-items: center; gap: 12px; } .addon-row > span:first-child { flex: 1; }
.addon-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; color: inherit; border: 2px solid var(--line, #D9DFE8); padding: 12px 14px; }
.addon-opt:hover { border-color: #1D4ED8; background: #F1F5FC; }
.addon-opt b { color: #1D4ED8; white-space: nowrap; }

/* Document access */
.doc-access { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.doc-access legend { font-weight: 600; margin-bottom: 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.doc-locked td { color: #64748B; }
.doc-locked strong { color: #475569; }

/* Subscriptions & discounts */
.panel-warn { border-color: #F59E0B; box-shadow: 0 0 0 1px #F59E0B inset; }
.sub-card { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.tier-sub { margin: 0; font-size: .92rem; }

/* Square */
.sq-line { display: grid; gap: 2px; margin-top: 4px; } .sq-ok { color: var(--enamel); font-weight: 600; } .sq-err { color: var(--signal); font-weight: 600; }
.tp-square { margin: 0; }

/* Menu tiers */
.menu-tier .tier-top { display: flex; align-items: center; gap: 10px; } .menu-tier .tier-top h2 { flex: 1; font-size: var(--step-2); }
.tier-prices { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.tp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; padding: 8px 12px; align-items: center; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tp-row:first-child { border-top: 0; } .tp-row strong { font-size: var(--step-1); color: var(--enamel); } .tp-head { background: #F8FAFD; font-size: var(--step--1); color: var(--muted); font-weight: 650; }
.feat h4 { margin: 12px 0 4px; font-size: var(--step--1); letter-spacing: .04em; color: var(--night); } .feat h4:first-child { margin-top: 0; }
.feat p { position: relative; padding-left: 16px; font-size: var(--step--1); margin: 2px 0; } .feat p::before { content: ''; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
tr.needs-price td { background: #FFF7F7; }

.cat-table { width: 100%; } .cat-table td { padding: 4px 6px; border: 0; } .cat-table input { width: 100%; } .nowrap { white-space: nowrap; }
.cat-add { display: flex; gap: 8px; } .cat-add input { flex: 1; }

.req-li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---- team chat: unread drop, edit, select ---- */
.chat-drop { position: relative; flex: none !important; width: 26px; height: 26px; display: inline-grid; place-items: center; margin-left: auto; }
.chat-drop[hidden] { display: none; }
.chat-drop svg { position: absolute; inset: 0; width: 26px; height: 26px; fill: #3B82F6; filter: drop-shadow(0 0 6px rgba(59,130,246,.75)); animation: drop-bob 2.4s ease-in-out infinite; }
.chat-drop b { position: relative; top: 3px; color: #fff; font-size: 0.66rem; font-weight: 800; }
.chat-drop.hot svg { fill: #E11D2E; filter: drop-shadow(0 0 7px rgba(225,29,46,.85)); }
@keyframes drop-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .chat-drop svg { animation: none; } }
.chat-selbar { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-bottom: 6px; font-size: var(--step--1); }
.chat-selbar:empty { display: none; }
.msg-pick { margin-left: auto; }
.msg-edit textarea { width: 100%; }
.msg-edit .row-btns { display: flex; gap: 6px; justify-content: flex-end; margin-top: 4px; }

/* ---- announcements ---- */
.ann-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: rgba(10,15,26,.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: ann-in .25s ease-out; }
.ann-card { background: var(--paper); border-radius: 16px; max-width: 480px; width: 100%; padding: 28px 24px 22px; text-align: center; border-top: 6px solid var(--enamel); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.ann-overlay.urgent .ann-card { border-top-color: var(--signal); }
.ann-icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--enamel-soft); color: var(--enamel); }
.ann-icon svg { width: 30px; height: 30px; }
.ann-overlay.urgent .ann-icon { background: var(--signal-soft); color: var(--signal); animation: ann-pulse 1.2s ease-in-out infinite; }
.ann-kicker { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.ann-card h2 { margin: 6px 0 8px; font-size: var(--step-2); }
.ann-body { white-space: pre-wrap; text-align: left; margin: 0 0 10px; }
.ann-when { font-size: var(--step--1); color: var(--muted); margin-bottom: 16px; }
.ann-card .btn-primary { min-width: 160px; }
@keyframes ann-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ann-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,35,44,.5); } 50% { box-shadow: 0 0 0 12px rgba(200,35,44,0); } }
.ann-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ann-list li { border: 1px solid var(--line); border-left: 4px solid var(--enamel); border-radius: var(--r-md); padding: 10px 12px; }
.ann-list li.urgent { border-left-color: var(--signal); }
.ann-list li.retracted { opacity: .55; }
.ann-list p { margin: 6px 0 0; white-space: pre-wrap; }
.ann-li-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ann-li-head .cell-sub { margin-left: auto; }

/* ---- crew schedule board ---- */
.sched-wrap { display: grid; gap: 14px; }
.sched-wrap.with-tray { grid-template-columns: 230px minmax(0, 1fr); align-items: start; }
.sched-tray { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
.sched-tray h3 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 6px; }
.sched-tray input { width: 100%; margin-bottom: 6px; }
.tray-tip { font-size: var(--step--1); color: var(--muted); margin: 0; }
.tray-list { display: grid; gap: 6px; }
.tray-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--chalk); cursor: grab; font-size: var(--step--1); font-weight: 600; user-select: none; }
.tray-item:hover { border-color: var(--brass); background: var(--enamel-soft); }
.tray-item.cust { border-left: 4px solid var(--enamel); }
.tray-item.job { border-left: 4px solid #F59E0B; }
.tray-sub { flex-basis: 100%; font-weight: 400; color: var(--muted); font-size: 0.72rem; }
.dragging { opacity: .45; }
.sched-board { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.sb-row { display: grid; grid-template-columns: 96px repeat(7, minmax(118px, 1fr)); border-bottom: 1px solid var(--line); min-width: 920px; }
.sb-row:last-child { border-bottom: 0; }
.sb-head { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 2; }
.sb-van { padding: 10px 8px; font-size: var(--step--1); border-right: 1px solid var(--line); background: var(--chalk); display: flex; flex-direction: column; justify-content: center; }
.sb-head .sb-van { background: var(--night); border-color: #1f2937; }
.sb-dayhead { padding: 8px; font-size: var(--step--1); border-right: 1px solid #1f2937; display: flex; flex-direction: column; gap: 4px; }
.sb-dayhead.today { background: linear-gradient(180deg, #1D4ED8, #0F172A); }
.sb-lead { font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.5); background: transparent; color: #cbd5e1; align-self: flex-start; cursor: pointer; }
.sb-lead.set { border: 0; background: #F59E0B; color: #111; font-weight: 700; }
span.sb-lead { cursor: default; }
.sb-cell { position: relative; padding: 6px 6px 28px; border-right: 1px solid var(--line); min-height: 92px; display: flex; flex-direction: column; gap: 4px; transition: background .12s; }
.sb-cell:last-child { border-right: 0; }
.sb-cell.today { background: #F7FAFF; }
.drag-on .sb-cell { background-image: repeating-linear-gradient(45deg, transparent 0 8px, rgba(59,130,246,.05) 8px 16px); }
.sb-cell.over { background: var(--enamel-soft); outline: 2px dashed var(--brass); outline-offset: -3px; }
.sb-vanlead { font-size: 0.7rem; font-weight: 700; color: #92400E; background: #FEF3C7; border-radius: 999px; padding: 1px 7px; align-self: flex-start; cursor: pointer; }
.sb-shift { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 0.74rem; padding: 4px 6px; border-radius: 6px; background: #EEF2F7; color: var(--graphite); cursor: default; }
.sb-shift[draggable] { cursor: grab; }
.sb-shift.me { box-shadow: inset 0 0 0 2px var(--brass); }
.sb-shift.oncall { background: var(--signal-soft); color: #7F1D1D; }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--enamel); flex: none; }
.sb-shift.oncall .sb-dot { background: var(--signal); }
.sb-tag { font-size: 0.64rem; text-transform: uppercase; font-weight: 800; letter-spacing: .04em; }
.sb-job { display: block; font-size: 0.74rem; padding: 5px 7px; border-radius: 6px; background: var(--enamel); color: #fff; text-decoration: none; line-height: 1.25; border-left: 4px solid #93C5FD; }
.sb-job span { display: block; opacity: .85; font-size: 0.68rem; }
.sb-job.st-in_progress { background: #0F766E; border-left-color: #5EEAD4; }
.sb-job.st-completed, .sb-job.st-invoiced { background: #475569; border-left-color: #CBD5E1; }
.sb-job[draggable] { cursor: grab; }
.sb-add { position: absolute; right: 6px; bottom: 5px; width: 22px; height: 22px; padding: 0; border-radius: 50%; font-weight: 800; line-height: 1; opacity: .35; }
.sb-cell:hover .sb-add, .sb-add:focus { opacity: 1; }
@media (hover: none) { .sb-add { opacity: .9; } }
.add-menu button { width: 100%; text-align: left; }
.my-shifts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-shifts li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid var(--enamel); border-radius: var(--r-md); }
.my-shifts li.oncall { border-left-color: var(--signal); }
.ms-day { font-weight: 700; }
.qj-price { font-weight: 700; color: var(--enamel); }
@media (max-width: 900px) { .sched-wrap.with-tray { grid-template-columns: 1fr; } .sched-tray { position: static; max-height: none; } .sched-tray .tray-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* ---- dispatch ---- */
.notice { background: var(--warn-soft); color: var(--warn-ink); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 14px; font-size: var(--step--1); }
.btn-big { width: 100%; padding: 12px 16px; font-size: var(--step-0); }
.pick-list { display: grid; gap: 4px; margin-top: 4px; }
.pick-list button { text-align: left; }
.d-crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.d-crew { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.d-crew.on { border-color: #86EFAC; background: #F0FDF4; }
.d-crew.busy { border-color: #FCD34D; background: #FFFBEB; }
.d-crew .btn-sm { margin-top: 6px; align-self: flex-start; }
.d-crew-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.d-light { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; display: inline-block; flex: none; }
.d-crew.on .d-light, .oncall-panel.on .d-light { background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: d-ping 1.8s infinite; }
.d-crew.busy .d-light { background: #F59E0B; animation: none; }
@keyframes d-ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .d-light { animation: none !important; } }
.d-live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.d-live { border: 1px solid var(--line); border-left: 5px solid var(--signal); border-radius: var(--r-md); padding: 10px 12px; display: grid; gap: 4px; }
.d-live.st-accepted, .d-live.st-on_the_way { border-left-color: var(--enamel); }
.d-live.st-arrived, .d-live.st-done { border-left-color: #22C55E; }
.d-live.st-declined, .d-live.st-cancelled { border-left-color: #94A3B8; opacity: .8; }
.d-live-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.d-live-head .cell-sub { margin-left: auto; }
.d-steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 6px 0 2px; font-size: 0.7rem; }
.d-steps li { flex: 1; text-align: center; padding: 4px 2px; background: #EEF2F7; color: var(--muted); position: relative; }
.d-steps li:first-child { border-radius: 999px 0 0 999px; } .d-steps li:last-child { border-radius: 0 999px 999px 0; }
.d-steps li.past { background: var(--enamel-soft); color: var(--enamel); }
.d-steps li.now { background: var(--enamel); color: #fff; font-weight: 700; }
.d-answer { display: grid; gap: 8px; justify-items: center; margin: 6px 0; }
.d-actions { display: grid; gap: 6px; margin-top: 6px; }
.oncall-panel.on { border-color: #86EFAC; background: #F0FDF4; }
.oncall-state { display: flex; align-items: center; gap: 8px; font-size: var(--step-1); margin: 0 0 10px; }
.ann-overlay.disp .ann-card { border-top-color: var(--signal); }
.disp-icon { background: var(--signal-soft) !important; color: var(--signal) !important; animation: ann-pulse 1.2s ease-in-out infinite; }
#disp-open { display: inline-block; margin-top: 8px; }
.banner.danger { background: var(--signal-soft); border-color: #F5B5B9; color: #7F1D1D; }
/* price table: keep both prices visible on narrow tier cards */
.tp-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding: 8px 10px; }
.tp-row > span:not(:first-child), .tp-row strong { text-align: right; white-space: nowrap; }
.tp-row strong { font-size: var(--step-0); }
.tp-row > span:first-child { font-size: var(--step--1); line-height: 1.25; }
.addon-chip.off { opacity: .55; cursor: not-allowed; }
.addon-chip.off em { font-style: normal; font-size: 0.7rem; color: var(--signal); font-weight: 700; }
.addon-grp-row { display: grid; gap: 4px; margin-bottom: 8px; }
.addon-grp { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 8px 0 2px; }
.addon-opt[disabled] { opacity: .55; cursor: not-allowed; }

/* ---- website editor ---- */
.save-bar { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--chalk) 30%); padding: 18px 0 8px; z-index: 3; }
.file-btn { cursor: pointer; }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.wp-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper); display: grid; gap: 6px; padding-bottom: 8px; }
.wp-card.off { opacity: .5; }
.wp-card input { margin: 0 8px; width: calc(100% - 16px); }
.wp-card .row-actions { padding: 0 8px; flex-wrap: wrap; }
.wp-img { position: relative; aspect-ratio: 4 / 3; background: var(--chalk); display: grid; grid-template-columns: 1fr; }
.wp-img img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.wp-img .wp-after { clip-path: inset(0 0 0 50%); }
.wp-ba { position: absolute; left: 8px; bottom: 8px; background: var(--enamel); color: #fff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.wl { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.wl li { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; }
.wl-main { display: grid; gap: 2px; min-width: 0; }
tr.lead-new td:first-child { box-shadow: inset 4px 0 0 var(--enamel); }
tr.lead-new { background: #F7FAFF; }
tr.lead-focus { outline: 2px solid var(--brass); }
.lead-msg { font-style: italic; }
/* older Safari without <dialog> */
dialog.dialog-fallback { display: none; position: fixed; top: 5vh; left: 50%; transform: translateX(-50%); z-index: 1000; box-shadow: 0 0 0 100vmax rgba(10,15,26,.55); }
dialog.dialog-fallback[open] { display: block; }


/* ---- car photos on customer files ---- */
.veh-list { display: grid; gap: 10px; }
.veh-row { display: flex; align-items: center; gap: 12px; }
.veh-info { flex: 1; min-width: 0; display: grid; }
.veh-thumb { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--chalk); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.veh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.veh-thumb.empty svg { width: 26px; height: 26px; opacity: .5; }
.veh-thumb.sm { width: 56px; height: 42px; display: inline-grid; vertical-align: middle; margin-right: 8px; }
.cust-photos figcaption { display: grid; gap: 2px; }
.plain-list.veh-list > li.veh-row { display: flex; flex-direction: row; align-items: center; gap: 12px; }

/* ---- customer sign-off ---- */
.so-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.so-card { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 12px; display: grid; gap: 6px; align-content: start; }
.so-card.done { border-style: solid; border-color: #BFD3FB; background: #F7FAFF; }
.so-card .btn-primary, .so-card .btn-sm { justify-self: start; margin-top: 4px; }
.so-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.so-sig { max-width: 100%; height: 70px; object-fit: contain; object-position: left; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.so-warn { color: var(--warn-ink); }
.so-photos { display: flex; gap: 6px; overflow-x: auto; }
.so-photos img { width: 92px; height: 70px; object-fit: cover; border-radius: 6px; flex: none; }
.so-stmt { background: var(--chalk); border-left: 4px solid var(--enamel); padding: 10px 12px; border-radius: 6px; font-size: var(--step-0); line-height: 1.5; }
.sig-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-weight: 600; }
.sig-pad { width: 100%; height: 190px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-md); touch-action: none; display: block; cursor: crosshair;
  background-image: linear-gradient(transparent calc(100% - 46px), var(--line) calc(100% - 46px), var(--line) calc(100% - 44px), transparent calc(100% - 44px)); }
.sign-form .check { font-size: var(--step-0); }
/* printable record */
.print-doc { background: #fff; padding: 28px; max-width: 860px; margin: 0 auto; }
.print-doc h1 { font-size: 1.5rem; margin-bottom: 8px; }
.print-btn { margin-bottom: 16px; }
.sig-print { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-top: 16px; page-break-inside: avoid; }
.sig-print.void { opacity: .6; }
.sig-print .stmt { background: var(--chalk); padding: 8px 10px; border-radius: 6px; margin: 8px 0; }
.sig-print .sig-img { height: 90px; border-bottom: 1px solid #000; margin: 8px 0; }
.sig-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sig-photos img { width: 150px; height: 110px; object-fit: cover; border-radius: 4px; }
@media print { .no-print { display: none !important; } .print-doc { padding: 0; } }
/* ---- Tap-In Bros logo ---- */
img.brand-mark { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 1px rgba(147,197,253,.3), 0 0 12px rgba(59,130,246,.35); }
.login-art .login-badge { position: absolute; right: -60px; bottom: -40px; width: min(560px, 80%); opacity: .5; pointer-events: none; filter: drop-shadow(0 20px 50px rgba(29,78,216,.4)); }
.login-art > div { position: relative; z-index: 1; }
@media (max-width: 760px) { .login-art .login-badge { position: static; width: 70%; opacity: 1; margin: 10px auto 0; display: block; } }
/* ---- supply requests ---- */
.sr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sr-item { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; border: 1px solid var(--line); border-left: 4px solid var(--enamel); border-radius: var(--r-md); padding: 10px 12px; }
.sr-item.urgent { border-left-color: var(--signal); background: #FFF8F8; }
.sr-item.st-ordered { border-left-color: #F59E0B; }
.sr-item.st-fulfilled { border-left-color: #22C55E; }
.sr-item.st-declined, .sr-item.st-cancelled { border-left-color: #94A3B8; opacity: .75; }
.sr-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 240px; }
.sr-main .chip { justify-self: start; }

/* ---- dispatch animations ---- */
.dv-anim { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 10000; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(10,15,26,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: dv-in .25s ease-out; cursor: pointer; overflow: hidden; }
.dv-anim.dv-out { animation: dv-fade .45s ease-in forwards; }
@keyframes dv-in { from { opacity: 0; } } @keyframes dv-fade { to { opacity: 0; } }
.dv-stage { position: relative; width: 100vw; height: 190px; display: grid; place-items: center; }
.dv-cap { text-align: center; color: #fff; display: grid; gap: 4px; padding: 0 20px; animation: dv-pop .5s .35s both cubic-bezier(.2,1.4,.4,1); }
.dv-cap strong { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 900; font-stretch: 115%; letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(59,130,246,.6); }
.dv-cap span { color: #BFDBFE; font-weight: 600; }
@keyframes dv-pop { from { opacity: 0; transform: translateY(14px) scale(.9); } }
/* road + van */
.dv-road { position: absolute; left: 0; right: 0; bottom: 18px; height: 10px; background: #1E293B; border-top: 2px solid #334155; }
.dv-road i { position: absolute; top: 3px; left: 0; width: 200%; height: 3px; background: repeating-linear-gradient(90deg, #FDE68A 0 34px, transparent 34px 70px); animation: dv-lane .5s linear infinite; }
@keyframes dv-lane { to { transform: translateX(-70px); } }
.dv-drive { position: absolute; bottom: 22px; left: 0; width: 260px; animation: dv-across 3s cubic-bezier(.45,.05,.4,1) forwards; }
.dv-on_the_way .dv-drive { animation: dv-bounce-in 3s ease-out forwards; }
.dv-van { width: 260px; display: block; animation: dv-bob .28s ease-in-out infinite alternate; }
@keyframes dv-across { 0% { transform: translateX(-300px); } 40%, 58% { transform: translateX(calc(50vw - 130px)); } 100% { transform: translateX(calc(100vw + 40px)); } }
@keyframes dv-bounce-in { 0% { transform: translateX(-300px); } 55% { transform: translateX(calc(50vw - 130px)); } 100% { transform: translateX(calc(50vw - 110px)); } }
@keyframes dv-bob { to { transform: translateY(-2px); } }
.dv-wheel { transform-box: fill-box; transform-origin: center; animation: dv-spin .35s linear infinite; }
@keyframes dv-spin { to { transform: rotate(360deg); } }
.dv-lines { position: absolute; left: -70px; top: 30px; display: grid; gap: 12px; }
.dv-lines i { display: block; height: 4px; border-radius: 3px; background: linear-gradient(90deg, transparent, #60A5FA); animation: dv-streak .4s linear infinite; }
.dv-lines i:nth-child(1) { width: 60px; } .dv-lines i:nth-child(2) { width: 90px; animation-delay: .1s; } .dv-lines i:nth-child(3) { width: 50px; animation-delay: .2s; }
@keyframes dv-streak { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-40px); } }
.dv-puff { position: absolute; left: -16px; bottom: 14px; }
.dv-puff i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: rgba(203,213,225,.7); animation: dv-puff .7s ease-out infinite; }
.dv-puff i:nth-child(2) { animation-delay: .23s; } .dv-puff i:nth-child(3) { animation-delay: .46s; }
@keyframes dv-puff { from { transform: scale(.4); opacity: .9; } to { transform: translate(-40px, -18px) scale(1.6); opacity: 0; } }
/* arrived pin */
.dv-pin { position: relative; width: 80px; height: 110px; display: grid; justify-items: center; }
.dv-pin svg { width: 64px; height: 86px; animation: dv-drop .7s cubic-bezier(.3,1.6,.5,1) both; filter: drop-shadow(0 10px 20px rgba(29,78,216,.6)); position: relative; z-index: 1; }
@keyframes dv-drop { from { transform: translateY(-160px); opacity: 0; } }
.dv-ripple { position: absolute; bottom: 4px; width: 30px; height: 10px; border-radius: 50%; border: 3px solid #60A5FA; animation: dv-ripple 1.2s .55s ease-out infinite; opacity: 0; }
.dv-ripple.r2 { animation-delay: 1s; }
@keyframes dv-ripple { from { opacity: 1; transform: scale(.5); } to { opacity: 0; transform: scale(4); } }
/* done: check, sparkles, bubbles */
.dv-shine { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.dv-shine svg { width: 120px; height: 120px; animation: dv-pop .6s cubic-bezier(.2,1.6,.4,1) both; filter: drop-shadow(0 0 30px rgba(96,165,250,.8)); }
.dv-spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 22px; margin: -11px 0 0 -3px; border-radius: 3px; background: linear-gradient(#fff, #60A5FA); transform: rotate(var(--a)) translateY(-40px); opacity: 0; animation: dv-spark .8s var(--d) ease-out forwards; }
@keyframes dv-spark { 20% { opacity: 1; } to { opacity: 0; transform: rotate(var(--a)) translateY(-110px); } }
.dv-bub { position: fixed; bottom: -30px; border-radius: 50%; border: 2px solid rgba(191,219,254,.9); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(147,197,253,.25) 40%, transparent 70%); animation: dv-rise 2.2s ease-in forwards; }
@keyframes dv-rise { to { transform: translateY(-110vh) translateX(20px); } }
.dv-x { width: 90px; height: 90px; border-radius: 50%; background: #475569; color: #fff; font-size: 3rem; display: grid; place-items: center; animation: dv-shake .5s ease both; }
@keyframes dv-shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.dv-still *, .dv-still { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
.dv-still .dv-drive { transform: translateX(calc(50vw - 130px)); }
@media (prefers-reduced-motion: reduce) { .dv-anim * { animation: none !important; } .dv-anim .dv-drive { transform: translateX(calc(50vw - 130px)); } }
.login-art .login-badge { right: auto; bottom: auto; left: 50%; top: 12%; transform: translateX(-50%); width: min(520px, 78%); opacity: .95; }
@media (max-height: 760px) { .login-art .login-badge { top: 9%; width: min(420px, 62%); } }
@media (max-width: 760px) { .login-art .login-badge { position: static; transform: none; left: auto; top: auto; width: 72%; margin: 6px auto 0; } }
.sms-optin { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; background: var(--paper); display: grid; gap: 6px; }
.sms-optin p { margin: 0; line-height: 1.45; }

/* two-step sign-in and devices */
.backup-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; border: 1px dashed var(--line, #d5dbe5); border-radius: 12px; font-size: 1.05rem; }
.backup-codes span { text-align: center; padding: 6px; background: rgba(29,78,216,.06); border-radius: 8px; }
.tfa-steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.tfa-key { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #0a0f1a; color: #fff; font-size: 1.05rem; letter-spacing: .06em; word-break: break-all; user-select: all; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input { max-width: 180px; }
.tfa-off { margin-top: 10px; }
.dev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dev-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line, #e2e8f0); border-radius: 10px; }
@media print { body * { visibility: hidden; } .backup-codes, .backup-codes * { visibility: visible; } .backup-codes { position: absolute; left: 0; top: 0; } }
.dev-list .chip { align-self: flex-start; }
.tfa-h { margin: 6px 0 0; font-size: 1rem; }
.dev-list li .btn { align-self: flex-start; margin-top: 4px; }
.sec-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.sec-stat { background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.sec-stat span { font-size: .8rem; font-weight: 700; color: var(--muted, #5b6475); text-transform: uppercase; letter-spacing: .06em; }
.sec-stat strong { font-size: 1.7rem; font-weight: 850; }
.sec-stat.good strong { color: #047857; } .sec-stat.warn strong { color: #b45309; }
.lw-panel .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lw-top { display: flex; align-items: center; gap: 16px; }
.lw-top p { margin: 0; }
.lw-score { width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 6px solid #cbd5e1; flex: none; }
.lw-score strong { font-size: 1.8rem; font-weight: 900; line-height: 1; } .lw-score span { font-size: .75rem; color: var(--muted, #5b6475); }
.lw-score.good { border-color: #10b981; } .lw-score.ok { border-color: #f59e0b; } .lw-score.bad { border-color: #ef4444; }
.lw-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lw-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line, #e2e8f0); border-radius: 10px; }
.lw-checks li div { display: flex; flex-direction: column; gap: 2px; }
.lw-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .8rem; flex: none; color: #fff; background: #10b981; }
.lw-checks li.no .lw-dot { background: #f59e0b; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rv-list li { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line, #e2e8f0); border-radius: 12px; border-left: 4px solid #f59e0b; }
.rv-list li > div:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 240px; flex: 1; }
.rv-list .row-actions { align-items: center; align-self: center; flex-wrap: wrap; }
.rv-list .row-actions .btn { height: auto; }
/* website quote requests (RV, boat, aircraft, concrete) */
.lead-filter { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 0; }
.lead-filter a.chip { text-decoration: none; }
.lead-filter a.chip.on { background: var(--ink, #0a0f1a); color: #fff; }
.quote-lead { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; min-width: 220px; }
.quote-chip { background: #ede9fe; color: #5b21b6; font-weight: 800; }
.q-items { display: flex; flex-wrap: wrap; gap: 4px; }
.q-items span { font-size: .78rem; padding: 2px 8px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.q-price { font-size: .82rem; font-weight: 800; color: #b45309; }
.q-price.set { color: #047857; }
select[data-lstatus] { min-width: 120px; }
.pk-signin { width: 100%; }
.sec-hero { background: linear-gradient(135deg, #0a0f1a, #0f1e45); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; color: #fff; }
.sec-hero-in { display: flex; align-items: center; gap: 20px; }
.sec-hero .small { color: #cbd5e1; margin: 4px 0 0; }
.sec-hero-title { margin: 0; font-size: 1.25rem; font-weight: 850; display: flex; align-items: center; gap: 10px; }
.lw-score.big { width: 104px; height: 104px; background: rgba(255,255,255,.04); }
.sec-hero .lw-score span { color: #93c5fd; }
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---- booking request alert ---- */
.ann-overlay.lead .ann-card { border-top-color: #1D4ED8; }
.ann-overlay.urgent.lead .ann-icon { background: #DBEAFE; color: #1D4ED8; }
.lead-acts { display: grid; gap: 10px; justify-items: center; margin-top: 8px; }
.lead-acts .btn-big { min-width: 240px; }

/* ---- phone calls on Dispatch ---- */
.v-ctrl { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.v-ctrl select { min-width: 280px; width: auto; }
.switch-row { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; margin: 0; }
.switch-row input { width: auto; }
.vcall-live { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #EFF6FF; border: 2px solid #3B82F6; }
.vcall-live.answered { background: #ECFDF5; border-color: #10B981; }
.vcall-live .grow { flex: 1; min-width: 180px; }
.vcall-ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #3B82F6; color: #fff; flex: none; }
.vcall-live.ringing .vcall-ring { animation: v-ring 1s ease-in-out infinite; }
.vcall-live.answered .vcall-ring { background: #10B981; }
.vcall-ring svg { width: 22px; height: 22px; }
@keyframes v-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .vcall-live.ringing .vcall-ring { animation: none; } }
.vcall-send { display: flex; gap: 6px; align-items: center; }
.vcall-send select { width: auto; max-width: 220px; }
.vst-ok { background: #D1FAE5; color: #065F46; } .vst-warn { background: #FEF3C7; color: #92400E; } .vst-bad { background: #FEE2E2; color: #991B1B; } .vst-plain { background: #F1F5F9; color: #334155; }
tr.v-unhandled td { background: #FFF7ED; }
.v-audio { display: block; margin-top: 6px; height: 32px; max-width: 240px; }
tr.co-flag td { background: #FFF7ED; }
.vst-why { background: #DBEAFE; color: #1E3A8A; }
.v-why { margin: 2px 0; }

/* ---- installable app ---- */
.get-app { display: flex; gap: 10px; align-items: center; width: calc(100% - 24px); margin: 8px 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(147,197,253,.35); background: rgba(59,130,246,.14); color: var(--chalk, #fff); text-align: left; cursor: pointer; }
.get-app:hover { background: rgba(59,130,246,.24); }
.get-app svg { width: 22px; height: 22px; flex: none; color: #93C5FD; }
.get-app .cell-sub { color: #93C5FD; }
.app-hero { display: flex; gap: 14px; align-items: center; }
.app-hero img { border-radius: 14px; }
.install-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; line-height: 1.45; }
/* Installed app: keep content clear of the iPhone home bar and notch. */
@media (display-mode: standalone) {
  .main { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .side { padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar { padding-top: max(12px, env(safe-area-inset-top)); }
}
.app-nudge { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #0A0F1A; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.app-nudge img { border-radius: 10px; flex: none; }
.app-nudge > div { flex: 1; min-width: 0; display: grid; }
.app-nudge .cell-sub { color: #93C5FD; }
.app-nudge #nudge-x { background: transparent; color: #CBD5E1; border-color: transparent; }

/* ===== native-app feel ===== */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
a, button, .btn, [role="button"], .nav a, .tabbar a { touch-action: manipulation; }
button, .btn, .nav a, .tabbar, .mobile-bar, .side-top, .chip { -webkit-user-select: none; user-select: none; }
button:active:not(:disabled), .btn:active, .tabbar a:active, .nav a:active { transform: scale(.97); transition: transform 60ms ease; }
@media (display-mode: standalone) { html, body { overscroll-behavior-y: none; } body { -webkit-touch-callout: none; } }
/* Page change: quick fade-up, like switching screens in an app */
.main.page-in { animation: page-in .22s cubic-bezier(.2,.7,.2,1); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Loading placeholders instead of "Loading…" */
.skel { display: grid; gap: 14px; padding: 6px 0; }
.skel > div { border-radius: 12px; background: linear-gradient(90deg, #E8ECF2 0%, #F4F6FA 40%, #E8ECF2 80%); background-size: 200% 100%; animation: skel 1.1s linear infinite; }
.skel-h { height: 34px; width: 48%; } .skel-l { height: 14px; width: 70%; } .skel-card { height: 150px; } .skel-card.short { height: 90px; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .main.page-in, .skel > div { animation: none; } }
/* Pull to refresh */
.ptr { position: fixed; top: calc(8px + env(safe-area-inset-top)); left: 50%; z-index: 80; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); display: grid; place-items: center; transform: translate(-50%, 0); transition: opacity .2s; }
.ptr span { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #CBD5E1; border-top-color: #1D4ED8; }
.ptr.ready span { border-color: #1D4ED8; border-top-color: #93C5FD; }
.ptr.spin span { animation: ptr-spin .7s linear infinite; }
.ptr.out { opacity: 0; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }
/* Bottom tab bar on phones */
.tabbar { display: none; }
@media (max-width: 900px) {
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(10,15,26,.94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-top: 1px solid rgba(255,255,255,.08); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; color: #94A3B8; font-size: 11px; font-weight: 600; text-decoration: none; background: none; border: 0; border-radius: 10px; min-height: 48px; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: #fff; }
  .tabbar a[aria-current="page"] svg { color: #60A5FA; }
  .main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .app-nudge { bottom: calc(76px + env(safe-area-inset-bottom)); }
  input, select, textarea { font-size: 16px; }
  .mobile-bar #nav-toggle { display: none; }
  .shell { grid-template-rows: auto 1fr; align-content: start; }
}
/* Phone menu: always scrolls far enough to reach Sign out, above the tab bar and the iPhone home bar */
@media (max-width: 900px) {
  .side { height: 100%; height: 100dvh; padding-bottom: calc(110px + env(safe-area-inset-bottom)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .side .nav, .side-top, .side-foot, .get-app { flex-shrink: 0; }
  .shell.nav-open .tabbar { z-index: 41; }
}

/* ===== holiday season (public/season.js turns these on by date, 2026 only) ===== */
.season-fx { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 25; }
/* Thanksgiving */
.season-fall .mobile-bar { border-bottom: 3px solid #EA580C; border-image: linear-gradient(90deg, #9A3412, #EA580C, #D97706, #CA8A04, #B45309) 1; }
.season-fall .side { border-right: 3px solid #EA580C; border-image: linear-gradient(180deg, #9A3412, #EA580C, #D97706, #CA8A04, #B45309) 1; }
.season-fall .mobile-bar .brand-name::after { content: " \1F983"; font-stretch: 100%; }
.season-fall .side-top .brand-sub::after { content: "Happy Thanksgiving \1F983"; display: block; margin-top: 3px; color: #FDBA74; opacity: 1; }
.season-fall .tabbar { border-top: 2px solid #EA580C; }
/* Christmas */
.season-xmas .mobile-bar .brand-name::after { content: " \1F384\26C4"; font-stretch: 100%; }
.season-xmas .side-top .brand-sub::after { content: "Merry Christmas \1F384"; display: block; margin-top: 3px; color: #BFDBFE; opacity: 1; }
.season-xmas .mobile-bar::after, .season-xmas .side-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 14px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14'%3E%3Cpath d='M0 0H60V3H56L54 12 52 3H46L44 8 42 3H36L34 13 32 3H25L23 9 21 3H14L12 11 10 3H4L2 7 0 3Z' fill='%23EAF4FF' stroke='%23B9D4F5' stroke-width='.8'/%3E%3C/svg%3E") repeat-x;
}
.season-xmas .side-top { position: relative; }
.season-xmas .side-top::after { left: -16px; right: -16px; bottom: -14px; }
.season-xmas .mobile-bar { border-bottom: 2px solid #EAF4FF; }
.season-xmas .tabbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 10px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='10'%3E%3Cpath d='M0 10V6Q10 0 20 5T40 4T60 5T80 6V10Z' fill='%23F8FBFF'/%3E%3C/svg%3E") repeat-x;
}
/* Frosty, icy edges around the whole screen */
.season-xmas body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 26; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), inset 0 0 34px 6px rgba(170,205,250,.55), inset 0 0 90px 10px rgba(220,236,255,.35); }
@media (max-width: 900px) { .season-xmas body::before { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 0 22px 4px rgba(170,205,250,.5); } }
.season-xmas .ann-overlay, .season-xmas dialog { z-index: 9999; }
@media print { .season-fx { display: none; } .season-xmas body::before, .season-xmas .mobile-bar::after, .season-xmas .side-top::after, .season-xmas .tabbar::before { display: none; } .season-fall .brand-name::after, .season-xmas .brand-name::after { content: none; } }

/* Christmas: frosted, icy edges on the content sections, with a little snow on the first couple of sections */
.season-xmas .panel, .season-xmas .clock-wrap, .season-xmas .figure { position: relative; border-color: #C9DDF5; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 0 16px rgba(176,208,248,.42); }
.season-xmas .main > .panel:nth-of-type(-n+2)::before, .season-xmas .main > .clock-wrap::before, .season-xmas .main > .grid-2 > .panel:first-child::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: -6px; height: 11px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='11'%3E%3Cpath d='M0 11V7Q8 1 18 5T38 4T58 5T80 7V11Z' fill='%23FFFFFF' stroke='%23CFE1F7' stroke-width='.8'/%3E%3C/svg%3E") repeat-x;
  filter: drop-shadow(0 1px 1px rgba(120,160,215,.35)); border-radius: 6px;
}
@media print { .season-xmas .panel::before, .season-xmas .clock-wrap::before { display: none; } .season-xmas .panel, .season-xmas .clock-wrap, .season-xmas .figure { box-shadow: none; } }

/* Christmas: little snowmen and frosty tabs */
:root { --snowman: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='34' viewBox='0 0 26 34'%3E%3Cellipse cx='13' cy='32.6' rx='10' ry='1.4' fill='%238FB3E0' fill-opacity='.45'/%3E%3Cpath d='M5.6 21 1.6 17.6M3.4 19.2 2.2 17.2M20.4 21 24.4 17.6M22.6 19.2 23.8 17.2' stroke='%237C4A1E' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='24.4' r='8' fill='%23FFFFFF' stroke='%23BCD3F0' stroke-width='.9'/%3E%3Ccircle cx='13' cy='13.2' r='5.6' fill='%23FFFFFF' stroke='%23BCD3F0' stroke-width='.9'/%3E%3Crect x='9.6' y='1' width='6.8' height='5.4' rx='1' fill='%231F2937'/%3E%3Crect x='9.6' y='4.4' width='6.8' height='1.3' fill='%23DC2626'/%3E%3Crect x='7.8' y='6' width='10.4' height='1.6' rx='.7' fill='%231F2937'/%3E%3Ccircle cx='11' cy='12.2' r='.85' fill='%231F2937'/%3E%3Ccircle cx='15' cy='12.2' r='.85' fill='%231F2937'/%3E%3Cpath d='M13 13.7 17.6 14.7 13 15.2Z' fill='%23F97316'/%3E%3Cpath d='M8.2 17.8Q13 20.2 17.8 17.8' stroke='%23DC2626' stroke-width='2.3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15.8 18.8 16.9 22.8' stroke='%23DC2626' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='22.6' r='.85' fill='%231F2937'/%3E%3Ccircle cx='13' cy='26' r='.85' fill='%231F2937'/%3E%3C/svg%3E"); }
.season-xmas .side-top::before { content: ""; position: absolute; right: 2px; bottom: -6px; width: 22px; height: 29px; background: var(--snowman) no-repeat center / contain; pointer-events: none; z-index: 2; }
.season-xmas .main > .panel:first-of-type::after, .season-xmas .main > .clock-wrap::after {
  content: ""; position: absolute; right: 22px; top: -31px; width: 26px; height: 34px; background: var(--snowman) no-repeat center / contain; pointer-events: none; z-index: 2;
}
.season-xmas .tabbar::after { content: ""; position: absolute; right: 14px; top: -27px; width: 20px; height: 26px; background: var(--snowman) no-repeat center / contain; pointer-events: none; }
@media print { .season-xmas .side-top::before, .season-xmas .panel::after, .season-xmas .clock-wrap::after, .season-xmas .tabbar::after { display: none; } }

/* Christmas: frosted, icy tabs with real-looking snow on top (each tab gets its own snow shape) */
.season-xmas .side .nav a:not(.nav-required) { position: relative; border-radius: 9px;
  background: linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 0 1px rgba(205,227,253,.30), inset 0 -7px 12px -7px rgba(214,234,255,.45), 0 0 12px -5px rgba(147,197,253,.55);
  text-shadow: 0 0 8px rgba(191,219,254,.35); transition: background .2s, box-shadow .2s; }
.season-xmas .side .nav a:not(.nav-required)::before { content: ""; position: absolute; top: -10px; height: 16px; pointer-events: none; z-index: 1; background-repeat: no-repeat; background-size: 100% 100%; filter: drop-shadow(0 1px 1px rgba(80,125,190,.38)); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+1)::before { left: 7%; width: min(58%, 112px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M72.8 14.0 Q74.2 16.7 74.2 20.2 Q74.2 16.7 75.6 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M14.0 14.0 Q15.4 16.5 15.4 19.8 Q15.4 16.5 16.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -10.6 14.2 0.6 12.4 C11.8 10.6 55.6 6.1 67.0 4.3 C78.4 2.6 67.7 2.1 69.0 2.0 C70.3 1.8 73.0 3.3 75.0 3.5 C77.0 3.7 79.3 3.1 81.0 3.4 C82.7 3.7 80.3 4.5 85.0 5.2 C89.7 5.9 103.3 6.3 109.0 7.5 C114.7 8.7 117.6 11.1 119.4 12.4 C121.2 13.7 119.9 14.7 120.0 15.2 C119.3 15.1 121.1 14.6 116.0 14.4 C110.9 14.2 94.5 13.6 89.5 13.8 C84.6 14.0 87.1 15.3 86.2 15.7 C85.3 16.1 84.7 16.2 84.0 16.2 C83.3 16.2 82.7 16.1 81.8 15.7 C80.9 15.3 87.0 14.1 78.5 13.8 C69.9 13.5 38.9 13.4 30.6 13.8 C22.3 14.2 29.0 15.7 28.4 16.2 C27.8 16.7 27.5 16.8 27.0 16.8 C26.5 16.8 26.2 16.7 25.6 16.2 C25.0 15.7 27.0 14.1 23.4 13.8 C19.8 13.5 7.9 14.2 4.0 14.4 C0.1 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M67.0 5.7 C67.3 5.3 67.7 3.5 69.0 3.4 C70.3 3.2 73.0 4.7 75.0 4.9 C77.0 5.1 79.3 4.5 81.0 4.8 C82.7 5.1 80.3 5.9 85.0 6.6 C89.7 7.3 105.0 8.5 109.0 8.9' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+1) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M14.7 14.8L19.8 16.1M16.4 13.0L18.1 18.0M19.0 13.4L15.6 17.5M45.9 28.8L49.5 28.9M46.9 27.2L48.5 30.5M48.8 27.3L46.6 30.3M47.6 16.1L50.7 16.3M48.7 14.7L49.6 17.7M50.1 14.9L48.2 17.4M11.4 31.3L15.5 32.2M12.5 29.9L14.5 33.6M14.8 30.2L12.1 33.4M24.0 8.2L30.3 8.2M26.2 5.2L28.0 11.2M29.4 6.1L24.8 10.4' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat left 2px bottom -6px / 48px 32px, radial-gradient(60% 140% at 0% 100%, rgba(234,244,255,.30), transparent 62%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+2)::before { left: 31%; width: min(62%, 112px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M45.2 14.0 Q47.0 15.5 47.0 18.2 Q47.0 15.5 48.9 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M66.5 14.0 Q68.2 16.8 68.2 20.3 Q68.2 16.8 69.9 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -1.4 13.7 0.6 12.4 C2.6 11.1 8.8 8.1 12.0 7.2 C15.2 6.2 13.8 7.2 20.0 6.8 C26.2 6.3 42.7 5.0 49.0 4.4 C55.3 3.8 55.5 3.3 58.0 3.2 C60.5 3.2 59.5 4.0 64.0 4.1 C68.5 4.3 75.8 2.9 85.0 4.3 C94.2 5.7 113.6 10.6 119.4 12.4 C125.2 14.2 119.9 14.7 120.0 15.2 C119.3 15.1 130.2 14.6 116.0 14.4 C101.8 14.2 49.1 13.6 35.0 13.8 C20.9 14.0 32.4 15.0 31.4 15.4 C30.4 15.7 29.8 15.8 29.0 15.8 C28.2 15.8 27.6 15.7 26.6 15.4 C25.6 15.0 22.6 14.1 23.0 13.8 C23.5 13.5 28.8 13.5 29.5 13.8 C30.3 14.1 28.0 15.2 27.4 15.6 C26.8 16.0 26.5 16.1 26.0 16.1 C25.5 16.1 25.2 16.0 24.6 15.6 C24.0 15.2 25.9 14.0 22.5 13.8 C19.0 13.6 7.7 14.2 4.0 14.4 C0.3 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M12.0 8.6 C13.3 8.5 13.8 8.6 20.0 8.2 C26.2 7.7 42.7 6.4 49.0 5.8 C55.3 5.2 55.5 4.7 58.0 4.6 C60.5 4.6 59.5 5.4 64.0 5.5 C68.5 5.7 81.5 5.7 85.0 5.7' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+2) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M34.2 12.2L37.6 12.9M35.2 11.0L36.6 14.1M37.0 11.2L34.8 13.9M32.4 14.0L38.5 15.3M34.5 11.7L36.4 17.6M37.1 12.1L33.8 17.3M51.0 34.3L55.4 34.5M52.2 32.6L54.3 36.3M54.4 32.6L52.0 36.3M47.8 35.4L50.8 36.0M48.9 34.3L49.8 37.2M50.4 34.6L48.3 36.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right 0 bottom -8px / 46px 31px, radial-gradient(60% 140% at 100% 100%, rgba(234,244,255,.30), transparent 62%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+3)::before { left: 12%; width: min(78%, 112px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M71.9 14.0 Q73.6 16.3 73.6 19.5 Q73.6 16.3 75.3 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M45.7 14.0 Q47.7 16.9 47.7 20.5 Q47.7 16.9 49.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -2.9 13.8 0.6 12.4 C4.1 11.0 8.6 8.7 21.0 6.9 C33.4 5.1 64.0 2.0 75.0 1.6 C86.0 1.2 84.7 4.2 87.0 4.5 C89.3 4.8 88.3 3.8 89.0 3.6 C89.7 3.4 90.0 2.9 91.0 3.2 C92.0 3.5 92.7 4.9 95.0 5.3 C97.3 5.8 100.9 4.9 105.0 6.1 C109.1 7.2 116.9 10.9 119.4 12.4 C121.9 13.9 119.9 14.7 120.0 15.2 C119.3 15.1 123.0 14.6 116.0 14.4 C109.0 14.2 84.8 13.5 77.9 13.8 C71.0 14.1 75.3 15.7 74.4 16.2 C73.4 16.7 72.8 16.7 72.0 16.7 C71.2 16.7 70.6 16.7 69.6 16.2 C68.7 15.7 65.1 14.2 66.1 13.8 C67.1 13.4 74.6 13.7 75.6 13.8 C76.6 13.9 73.2 14.5 72.2 14.7 C71.3 14.9 70.7 15.0 70.0 15.0 C69.3 15.0 68.7 14.9 67.8 14.7 C66.8 14.5 69.4 13.9 64.4 13.8 C59.4 13.7 42.5 13.6 37.7 13.8 C32.9 14.0 36.1 14.8 35.5 15.0 C34.9 15.3 34.5 15.4 34.0 15.4 C33.5 15.4 33.1 15.3 32.5 15.0 C31.9 14.8 35.1 13.9 30.3 13.8 C25.6 13.7 9.1 14.2 4.0 14.4 C-1.1 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M21.0 8.3 C30.0 7.4 64.0 3.4 75.0 3.0 C86.0 2.6 84.7 5.6 87.0 5.9 C89.3 6.2 88.3 5.2 89.0 5.0 C89.7 4.8 90.0 4.3 91.0 4.6 C92.0 4.9 92.7 6.3 95.0 6.7 C97.3 7.2 103.3 7.3 105.0 7.5' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+3) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M16.4 32.4L21.9 33.9M18.2 30.4L20.0 35.8M21.0 31.0L17.2 35.2M47.5 24.5L50.9 24.5M48.7 22.8L49.7 26.2M50.4 23.2L48.0 25.8M3.0 7.3L8.1 8.8M5.0 5.5L6.1 10.6M7.4 6.2L3.7 9.9M5.4 29.2L11.4 29.6M7.3 26.6L9.6 32.2M10.2 27.0L6.6 31.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat left 38% bottom -10px / 44px 29px, radial-gradient(70% 120% at 50% 120%, rgba(234,244,255,.26), transparent 60%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+4)::before { left: 46%; width: min(48%, 112px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M24.2 14.0 Q26.2 16.8 26.2 20.4 Q26.2 16.8 28.2 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -3.7 13.9 0.6 12.4 C4.9 10.9 18.1 7.7 26.0 6.0 C33.9 4.3 44.0 2.5 48.0 2.2 C52.0 2.0 45.7 4.6 50.0 4.5 C54.3 4.4 69.3 2.0 74.0 1.6 C78.7 1.2 76.8 1.6 78.0 2.2 C79.2 2.8 77.2 4.6 81.0 5.2 C84.8 5.8 94.6 4.5 101.0 5.7 C107.4 6.9 116.2 10.8 119.4 12.4 C122.6 14.0 119.9 14.7 120.0 15.2 C119.3 15.1 120.6 14.6 116.0 14.4 C111.4 14.2 97.1 13.7 92.6 13.8 C88.2 13.9 90.2 14.6 89.3 14.8 C88.3 15.0 87.8 15.1 87.0 15.1 C86.2 15.1 85.7 15.0 84.7 14.8 C83.8 14.6 81.3 14.0 81.4 13.8 C81.4 13.6 84.8 13.7 85.0 13.8 C85.2 13.9 83.3 14.5 82.6 14.7 C81.9 14.8 81.5 14.9 81.0 14.9 C80.5 14.9 80.1 14.8 79.4 14.7 C78.7 14.5 89.5 13.8 77.0 13.8 C64.4 13.8 16.8 14.2 4.0 14.4 C-8.8 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M26.0 7.4 C29.7 6.7 44.0 3.9 48.0 3.6 C52.0 3.4 45.7 6.0 50.0 5.9 C54.3 5.8 69.3 3.4 74.0 3.0 C78.7 2.6 76.8 3.0 78.0 3.6 C79.2 4.2 77.2 6.0 81.0 6.6 C84.8 7.2 97.7 7.0 101.0 7.1' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+4) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M14.7 14.8L19.8 16.1M16.4 13.0L18.1 18.0M19.0 13.4L15.6 17.5M45.9 28.8L49.5 28.9M46.9 27.2L48.5 30.5M48.8 27.3L46.6 30.3M47.6 16.1L50.7 16.3M48.7 14.7L49.6 17.7M50.1 14.9L48.2 17.4M11.4 31.3L15.5 32.2M12.5 29.9L14.5 33.6M14.8 30.2L12.1 33.4M24.0 8.2L30.3 8.2M26.2 5.2L28.0 11.2M29.4 6.1L24.8 10.4' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right 4px top 2px / 40px 27px, radial-gradient(55% 140% at 100% 0%, rgba(234,244,255,.26), transparent 60%), radial-gradient(45% 120% at 0% 100%, rgba(234,244,255,.22), transparent 60%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+5)::before { left: 4%; width: min(44%, 112px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M21.4 14.0 Q23.3 16.7 23.3 20.2 Q23.3 16.7 25.2 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -1.4 13.8 0.6 12.4 C2.6 11.0 8.8 7.8 12.0 6.6 C15.2 5.4 17.5 5.7 20.0 5.4 C22.5 5.0 19.0 4.5 27.0 4.4 C35.0 4.4 57.0 5.1 68.0 5.0 C79.0 5.0 84.4 2.8 93.0 4.0 C101.6 5.2 114.9 10.5 119.4 12.4 C123.9 14.3 119.9 14.7 120.0 15.2 C119.3 15.1 121.1 14.6 116.0 14.4 C110.9 14.2 94.4 13.6 89.4 13.8 C84.4 14.0 87.1 15.4 86.2 15.8 C85.3 16.2 84.7 16.3 84.0 16.3 C83.3 16.3 82.7 16.2 81.8 15.8 C80.9 15.4 78.5 14.1 78.6 13.8 C78.7 13.5 82.2 13.5 82.3 13.8 C82.5 14.1 80.5 15.3 79.7 15.7 C79.0 16.1 78.6 16.1 78.0 16.1 C77.4 16.1 77.0 16.1 76.3 15.7 C75.5 15.3 76.4 14.1 73.7 13.8 C70.9 13.5 62.8 13.4 59.9 13.8 C57.0 14.2 57.4 15.6 56.4 16.0 C55.4 16.5 54.8 16.6 54.0 16.6 C53.2 16.6 52.6 16.5 51.6 16.0 C50.6 15.6 56.0 14.1 48.1 13.8 C40.1 13.5 12.0 14.2 4.0 14.4 C-4.0 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M12.0 8.0 C13.3 7.8 17.5 7.1 20.0 6.8 C22.5 6.4 19.0 5.9 27.0 5.8 C35.0 5.8 57.0 6.5 68.0 6.4 C79.0 6.4 88.8 5.6 93.0 5.4' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+5) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M34.2 12.2L37.6 12.9M35.2 11.0L36.6 14.1M37.0 11.2L34.8 13.9M32.4 14.0L38.5 15.3M34.5 11.7L36.4 17.6M37.1 12.1L33.8 17.3M51.0 34.3L55.4 34.5M52.2 32.6L54.3 36.3M54.4 32.6L52.0 36.3M47.8 35.4L50.8 36.0M48.9 34.3L49.8 37.2M50.4 34.6L48.3 36.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat left 0 top 0 / 44px 29px, radial-gradient(55% 140% at 0% 0%, rgba(234,244,255,.26), transparent 60%), radial-gradient(45% 120% at 100% 100%, rgba(234,244,255,.22), transparent 60%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+6)::before { left: 24%; width: min(68%, 112px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M93.8 14.0 Q95.7 16.3 95.7 19.5 Q95.7 16.3 97.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M102.7 14.0 Q104.2 16.8 104.2 20.3 Q104.2 16.8 105.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -1.2 13.8 0.6 12.4 C2.4 11.0 6.3 7.7 11.0 6.6 C15.7 5.4 23.7 5.8 29.0 5.5 C34.3 5.1 35.3 4.7 43.0 4.6 C50.7 4.6 67.3 4.9 75.0 5.1 C82.7 5.2 83.8 5.0 89.0 5.5 C94.2 5.9 100.9 6.6 106.0 7.8 C111.1 8.9 117.1 11.2 119.4 12.4 C121.7 13.6 119.9 14.7 120.0 15.2 C119.3 15.1 122.8 14.6 116.0 14.4 C109.2 14.2 85.8 13.8 79.1 13.8 C72.5 13.8 76.9 14.4 76.0 14.6 C75.2 14.8 74.7 14.9 74.0 14.9 C73.3 14.9 72.8 14.8 72.0 14.6 C71.1 14.4 70.0 13.9 68.9 13.8 C67.7 13.7 66.2 13.6 65.0 13.8 C63.9 14.0 62.8 14.9 62.0 15.2 C61.2 15.5 60.7 15.6 60.0 15.6 C59.3 15.6 58.8 15.5 58.0 15.2 C57.2 14.9 58.5 14.0 55.0 13.8 C51.5 13.6 40.5 13.4 37.0 13.8 C33.5 14.2 34.8 15.7 34.0 16.2 C33.2 16.7 32.7 16.7 32.0 16.7 C31.3 16.7 30.8 16.7 30.0 16.2 C29.2 15.7 31.4 14.1 27.0 13.8 C22.7 13.5 8.5 14.2 4.0 14.4 C-0.5 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M11.0 8.0 C14.0 7.8 23.7 7.2 29.0 6.9 C34.3 6.5 35.3 6.1 43.0 6.0 C50.7 6.0 67.3 6.3 75.0 6.5 C82.7 6.6 83.8 6.4 89.0 6.9 C94.2 7.3 103.2 8.8 106.0 9.2' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .side .nav a:not(.nav-required):nth-of-type(6n+6) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M16.4 32.4L21.9 33.9M18.2 30.4L20.0 35.8M21.0 31.0L17.2 35.2M47.5 24.5L50.9 24.5M48.7 22.8L49.7 26.2M50.4 23.2L48.0 25.8M3.0 7.3L8.1 8.8M5.0 5.5L6.1 10.6M7.4 6.2L3.7 9.9M5.4 29.2L11.4 29.6M7.3 26.6L9.6 32.2M10.2 27.0L6.6 31.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right 22% bottom -9px / 46px 31px, radial-gradient(65% 140% at 80% 110%, rgba(234,244,255,.28), transparent 62%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .side .nav a:not(.nav-required):hover { background-color: rgba(200,225,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(220,237,255,.55), inset 0 0 16px rgba(200,226,255,.32), 0 0 16px -4px rgba(147,197,253,.7); color: #fff; }
.season-xmas .side .nav a:not(.nav-required):active { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(230,242,255,.75), inset 0 0 22px rgba(210,232,255,.5); }
.season-xmas .side .nav a[aria-current="page"]:not(.nav-required) { background-color: rgba(205,228,255,.16); box-shadow: inset 3px 0 0 #DBEAFE, inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(226,240,255,.6), inset 0 0 18px rgba(205,229,255,.38), 0 0 16px -4px rgba(147,197,253,.75); color: #fff; }
.season-xmas .tabbar a { position: relative; border-radius: 9px;
  background: linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 0 1px rgba(205,227,253,.30), inset 0 -7px 12px -7px rgba(214,234,255,.45), 0 0 12px -5px rgba(147,197,253,.55);
  text-shadow: 0 0 8px rgba(191,219,254,.35); transition: background .2s, box-shadow .2s; }
.season-xmas .tabbar a::before { content: ""; position: absolute; top: -10px; height: 16px; pointer-events: none; z-index: 1; background-repeat: no-repeat; background-size: 100% 100%; filter: drop-shadow(0 1px 1px rgba(80,125,190,.38)); }
.season-xmas .tabbar a:nth-of-type(6n+1)::before { left: 7%; width: min(58%, 64px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M72.8 14.0 Q74.2 16.7 74.2 20.2 Q74.2 16.7 75.6 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M14.0 14.0 Q15.4 16.5 15.4 19.8 Q15.4 16.5 16.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -10.6 14.2 0.6 12.4 C11.8 10.6 55.6 6.1 67.0 4.3 C78.4 2.6 67.7 2.1 69.0 2.0 C70.3 1.8 73.0 3.3 75.0 3.5 C77.0 3.7 79.3 3.1 81.0 3.4 C82.7 3.7 80.3 4.5 85.0 5.2 C89.7 5.9 103.3 6.3 109.0 7.5 C114.7 8.7 117.6 11.1 119.4 12.4 C121.2 13.7 119.9 14.7 120.0 15.2 C119.3 15.1 121.1 14.6 116.0 14.4 C110.9 14.2 94.5 13.6 89.5 13.8 C84.6 14.0 87.1 15.3 86.2 15.7 C85.3 16.1 84.7 16.2 84.0 16.2 C83.3 16.2 82.7 16.1 81.8 15.7 C80.9 15.3 87.0 14.1 78.5 13.8 C69.9 13.5 38.9 13.4 30.6 13.8 C22.3 14.2 29.0 15.7 28.4 16.2 C27.8 16.7 27.5 16.8 27.0 16.8 C26.5 16.8 26.2 16.7 25.6 16.2 C25.0 15.7 27.0 14.1 23.4 13.8 C19.8 13.5 7.9 14.2 4.0 14.4 C0.1 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M67.0 5.7 C67.3 5.3 67.7 3.5 69.0 3.4 C70.3 3.2 73.0 4.7 75.0 4.9 C77.0 5.1 79.3 4.5 81.0 4.8 C82.7 5.1 80.3 5.9 85.0 6.6 C89.7 7.3 105.0 8.5 109.0 8.9' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .tabbar a:nth-of-type(6n+1) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M14.7 14.8L19.8 16.1M16.4 13.0L18.1 18.0M19.0 13.4L15.6 17.5M45.9 28.8L49.5 28.9M46.9 27.2L48.5 30.5M48.8 27.3L46.6 30.3M47.6 16.1L50.7 16.3M48.7 14.7L49.6 17.7M50.1 14.9L48.2 17.4M11.4 31.3L15.5 32.2M12.5 29.9L14.5 33.6M14.8 30.2L12.1 33.4M24.0 8.2L30.3 8.2M26.2 5.2L28.0 11.2M29.4 6.1L24.8 10.4' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat left 2px bottom -6px / 48px 32px, radial-gradient(60% 140% at 0% 100%, rgba(234,244,255,.30), transparent 62%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .tabbar a:nth-of-type(6n+2)::before { left: 31%; width: min(62%, 64px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M45.2 14.0 Q47.0 15.5 47.0 18.2 Q47.0 15.5 48.9 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M66.5 14.0 Q68.2 16.8 68.2 20.3 Q68.2 16.8 69.9 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -1.4 13.7 0.6 12.4 C2.6 11.1 8.8 8.1 12.0 7.2 C15.2 6.2 13.8 7.2 20.0 6.8 C26.2 6.3 42.7 5.0 49.0 4.4 C55.3 3.8 55.5 3.3 58.0 3.2 C60.5 3.2 59.5 4.0 64.0 4.1 C68.5 4.3 75.8 2.9 85.0 4.3 C94.2 5.7 113.6 10.6 119.4 12.4 C125.2 14.2 119.9 14.7 120.0 15.2 C119.3 15.1 130.2 14.6 116.0 14.4 C101.8 14.2 49.1 13.6 35.0 13.8 C20.9 14.0 32.4 15.0 31.4 15.4 C30.4 15.7 29.8 15.8 29.0 15.8 C28.2 15.8 27.6 15.7 26.6 15.4 C25.6 15.0 22.6 14.1 23.0 13.8 C23.5 13.5 28.8 13.5 29.5 13.8 C30.3 14.1 28.0 15.2 27.4 15.6 C26.8 16.0 26.5 16.1 26.0 16.1 C25.5 16.1 25.2 16.0 24.6 15.6 C24.0 15.2 25.9 14.0 22.5 13.8 C19.0 13.6 7.7 14.2 4.0 14.4 C0.3 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M12.0 8.6 C13.3 8.5 13.8 8.6 20.0 8.2 C26.2 7.7 42.7 6.4 49.0 5.8 C55.3 5.2 55.5 4.7 58.0 4.6 C60.5 4.6 59.5 5.4 64.0 5.5 C68.5 5.7 81.5 5.7 85.0 5.7' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .tabbar a:nth-of-type(6n+2) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M34.2 12.2L37.6 12.9M35.2 11.0L36.6 14.1M37.0 11.2L34.8 13.9M32.4 14.0L38.5 15.3M34.5 11.7L36.4 17.6M37.1 12.1L33.8 17.3M51.0 34.3L55.4 34.5M52.2 32.6L54.3 36.3M54.4 32.6L52.0 36.3M47.8 35.4L50.8 36.0M48.9 34.3L49.8 37.2M50.4 34.6L48.3 36.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right 0 bottom -8px / 46px 31px, radial-gradient(60% 140% at 100% 100%, rgba(234,244,255,.30), transparent 62%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .tabbar a:nth-of-type(6n+3)::before { left: 12%; width: min(78%, 64px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M71.9 14.0 Q73.6 16.3 73.6 19.5 Q73.6 16.3 75.3 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M45.7 14.0 Q47.7 16.9 47.7 20.5 Q47.7 16.9 49.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -2.9 13.8 0.6 12.4 C4.1 11.0 8.6 8.7 21.0 6.9 C33.4 5.1 64.0 2.0 75.0 1.6 C86.0 1.2 84.7 4.2 87.0 4.5 C89.3 4.8 88.3 3.8 89.0 3.6 C89.7 3.4 90.0 2.9 91.0 3.2 C92.0 3.5 92.7 4.9 95.0 5.3 C97.3 5.8 100.9 4.9 105.0 6.1 C109.1 7.2 116.9 10.9 119.4 12.4 C121.9 13.9 119.9 14.7 120.0 15.2 C119.3 15.1 123.0 14.6 116.0 14.4 C109.0 14.2 84.8 13.5 77.9 13.8 C71.0 14.1 75.3 15.7 74.4 16.2 C73.4 16.7 72.8 16.7 72.0 16.7 C71.2 16.7 70.6 16.7 69.6 16.2 C68.7 15.7 65.1 14.2 66.1 13.8 C67.1 13.4 74.6 13.7 75.6 13.8 C76.6 13.9 73.2 14.5 72.2 14.7 C71.3 14.9 70.7 15.0 70.0 15.0 C69.3 15.0 68.7 14.9 67.8 14.7 C66.8 14.5 69.4 13.9 64.4 13.8 C59.4 13.7 42.5 13.6 37.7 13.8 C32.9 14.0 36.1 14.8 35.5 15.0 C34.9 15.3 34.5 15.4 34.0 15.4 C33.5 15.4 33.1 15.3 32.5 15.0 C31.9 14.8 35.1 13.9 30.3 13.8 C25.6 13.7 9.1 14.2 4.0 14.4 C-1.1 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M21.0 8.3 C30.0 7.4 64.0 3.4 75.0 3.0 C86.0 2.6 84.7 5.6 87.0 5.9 C89.3 6.2 88.3 5.2 89.0 5.0 C89.7 4.8 90.0 4.3 91.0 4.6 C92.0 4.9 92.7 6.3 95.0 6.7 C97.3 7.2 103.3 7.3 105.0 7.5' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .tabbar a:nth-of-type(6n+3) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M16.4 32.4L21.9 33.9M18.2 30.4L20.0 35.8M21.0 31.0L17.2 35.2M47.5 24.5L50.9 24.5M48.7 22.8L49.7 26.2M50.4 23.2L48.0 25.8M3.0 7.3L8.1 8.8M5.0 5.5L6.1 10.6M7.4 6.2L3.7 9.9M5.4 29.2L11.4 29.6M7.3 26.6L9.6 32.2M10.2 27.0L6.6 31.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat left 38% bottom -10px / 44px 29px, radial-gradient(70% 120% at 50% 120%, rgba(234,244,255,.26), transparent 60%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .tabbar a:nth-of-type(6n+4)::before { left: 46%; width: min(48%, 64px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M24.2 14.0 Q26.2 16.8 26.2 20.4 Q26.2 16.8 28.2 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -3.7 13.9 0.6 12.4 C4.9 10.9 18.1 7.7 26.0 6.0 C33.9 4.3 44.0 2.5 48.0 2.2 C52.0 2.0 45.7 4.6 50.0 4.5 C54.3 4.4 69.3 2.0 74.0 1.6 C78.7 1.2 76.8 1.6 78.0 2.2 C79.2 2.8 77.2 4.6 81.0 5.2 C84.8 5.8 94.6 4.5 101.0 5.7 C107.4 6.9 116.2 10.8 119.4 12.4 C122.6 14.0 119.9 14.7 120.0 15.2 C119.3 15.1 120.6 14.6 116.0 14.4 C111.4 14.2 97.1 13.7 92.6 13.8 C88.2 13.9 90.2 14.6 89.3 14.8 C88.3 15.0 87.8 15.1 87.0 15.1 C86.2 15.1 85.7 15.0 84.7 14.8 C83.8 14.6 81.3 14.0 81.4 13.8 C81.4 13.6 84.8 13.7 85.0 13.8 C85.2 13.9 83.3 14.5 82.6 14.7 C81.9 14.8 81.5 14.9 81.0 14.9 C80.5 14.9 80.1 14.8 79.4 14.7 C78.7 14.5 89.5 13.8 77.0 13.8 C64.4 13.8 16.8 14.2 4.0 14.4 C-8.8 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M26.0 7.4 C29.7 6.7 44.0 3.9 48.0 3.6 C52.0 3.4 45.7 6.0 50.0 5.9 C54.3 5.8 69.3 3.4 74.0 3.0 C78.7 2.6 76.8 3.0 78.0 3.6 C79.2 4.2 77.2 6.0 81.0 6.6 C84.8 7.2 97.7 7.0 101.0 7.1' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .tabbar a:nth-of-type(6n+4) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M14.7 14.8L19.8 16.1M16.4 13.0L18.1 18.0M19.0 13.4L15.6 17.5M45.9 28.8L49.5 28.9M46.9 27.2L48.5 30.5M48.8 27.3L46.6 30.3M47.6 16.1L50.7 16.3M48.7 14.7L49.6 17.7M50.1 14.9L48.2 17.4M11.4 31.3L15.5 32.2M12.5 29.9L14.5 33.6M14.8 30.2L12.1 33.4M24.0 8.2L30.3 8.2M26.2 5.2L28.0 11.2M29.4 6.1L24.8 10.4' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right 4px top 2px / 40px 27px, radial-gradient(55% 140% at 100% 0%, rgba(234,244,255,.26), transparent 60%), radial-gradient(45% 120% at 0% 100%, rgba(234,244,255,.22), transparent 60%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .tabbar a:nth-of-type(6n+5)::before { left: 4%; width: min(44%, 64px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M21.4 14.0 Q23.3 16.7 23.3 20.2 Q23.3 16.7 25.2 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -1.4 13.8 0.6 12.4 C2.6 11.0 8.8 7.8 12.0 6.6 C15.2 5.4 17.5 5.7 20.0 5.4 C22.5 5.0 19.0 4.5 27.0 4.4 C35.0 4.4 57.0 5.1 68.0 5.0 C79.0 5.0 84.4 2.8 93.0 4.0 C101.6 5.2 114.9 10.5 119.4 12.4 C123.9 14.3 119.9 14.7 120.0 15.2 C119.3 15.1 121.1 14.6 116.0 14.4 C110.9 14.2 94.4 13.6 89.4 13.8 C84.4 14.0 87.1 15.4 86.2 15.8 C85.3 16.2 84.7 16.3 84.0 16.3 C83.3 16.3 82.7 16.2 81.8 15.8 C80.9 15.4 78.5 14.1 78.6 13.8 C78.7 13.5 82.2 13.5 82.3 13.8 C82.5 14.1 80.5 15.3 79.7 15.7 C79.0 16.1 78.6 16.1 78.0 16.1 C77.4 16.1 77.0 16.1 76.3 15.7 C75.5 15.3 76.4 14.1 73.7 13.8 C70.9 13.5 62.8 13.4 59.9 13.8 C57.0 14.2 57.4 15.6 56.4 16.0 C55.4 16.5 54.8 16.6 54.0 16.6 C53.2 16.6 52.6 16.5 51.6 16.0 C50.6 15.6 56.0 14.1 48.1 13.8 C40.1 13.5 12.0 14.2 4.0 14.4 C-4.0 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M12.0 8.0 C13.3 7.8 17.5 7.1 20.0 6.8 C22.5 6.4 19.0 5.9 27.0 5.8 C35.0 5.8 57.0 6.5 68.0 6.4 C79.0 6.4 88.8 5.6 93.0 5.4' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .tabbar a:nth-of-type(6n+5) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M34.2 12.2L37.6 12.9M35.2 11.0L36.6 14.1M37.0 11.2L34.8 13.9M32.4 14.0L38.5 15.3M34.5 11.7L36.4 17.6M37.1 12.1L33.8 17.3M51.0 34.3L55.4 34.5M52.2 32.6L54.3 36.3M54.4 32.6L52.0 36.3M47.8 35.4L50.8 36.0M48.9 34.3L49.8 37.2M50.4 34.6L48.3 36.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat left 0 top 0 / 44px 29px, radial-gradient(55% 140% at 0% 0%, rgba(234,244,255,.26), transparent 60%), radial-gradient(45% 120% at 100% 100%, rgba(234,244,255,.22), transparent 60%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .tabbar a:nth-of-type(6n+6)::before { left: 24%; width: min(68%, 64px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M93.8 14.0 Q95.7 16.3 95.7 19.5 Q95.7 16.3 97.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M102.7 14.0 Q104.2 16.8 104.2 20.3 Q104.2 16.8 105.7 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -1.2 13.8 0.6 12.4 C2.4 11.0 6.3 7.7 11.0 6.6 C15.7 5.4 23.7 5.8 29.0 5.5 C34.3 5.1 35.3 4.7 43.0 4.6 C50.7 4.6 67.3 4.9 75.0 5.1 C82.7 5.2 83.8 5.0 89.0 5.5 C94.2 5.9 100.9 6.6 106.0 7.8 C111.1 8.9 117.1 11.2 119.4 12.4 C121.7 13.6 119.9 14.7 120.0 15.2 C119.3 15.1 122.8 14.6 116.0 14.4 C109.2 14.2 85.8 13.8 79.1 13.8 C72.5 13.8 76.9 14.4 76.0 14.6 C75.2 14.8 74.7 14.9 74.0 14.9 C73.3 14.9 72.8 14.8 72.0 14.6 C71.1 14.4 70.0 13.9 68.9 13.8 C67.7 13.7 66.2 13.6 65.0 13.8 C63.9 14.0 62.8 14.9 62.0 15.2 C61.2 15.5 60.7 15.6 60.0 15.6 C59.3 15.6 58.8 15.5 58.0 15.2 C57.2 14.9 58.5 14.0 55.0 13.8 C51.5 13.6 40.5 13.4 37.0 13.8 C33.5 14.2 34.8 15.7 34.0 16.2 C33.2 16.7 32.7 16.7 32.0 16.7 C31.3 16.7 30.8 16.7 30.0 16.2 C29.2 15.7 31.4 14.1 27.0 13.8 C22.7 13.5 8.5 14.2 4.0 14.4 C-0.5 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M11.0 8.0 C14.0 7.8 23.7 7.2 29.0 6.9 C34.3 6.5 35.3 6.1 43.0 6.0 C50.7 6.0 67.3 6.3 75.0 6.5 C82.7 6.6 83.8 6.4 89.0 6.9 C94.2 7.3 103.2 8.8 106.0 9.2' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.season-xmas .tabbar a:nth-of-type(6n+6) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M16.4 32.4L21.9 33.9M18.2 30.4L20.0 35.8M21.0 31.0L17.2 35.2M47.5 24.5L50.9 24.5M48.7 22.8L49.7 26.2M50.4 23.2L48.0 25.8M3.0 7.3L8.1 8.8M5.0 5.5L6.1 10.6M7.4 6.2L3.7 9.9M5.4 29.2L11.4 29.6M7.3 26.6L9.6 32.2M10.2 27.0L6.6 31.8' stroke='%23F2F8FF' stroke-width='.5' stroke-linecap='round' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right 22% bottom -9px / 46px 31px, radial-gradient(65% 140% at 80% 110%, rgba(234,244,255,.28), transparent 62%), linear-gradient(180deg, rgba(225,240,255,.22) 0%, rgba(150,196,248,.10) 46%, rgba(172,212,252,.20) 100%); }
.season-xmas .tabbar a:hover { background-color: rgba(200,225,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(220,237,255,.55), inset 0 0 16px rgba(200,226,255,.32), 0 0 16px -4px rgba(147,197,253,.7); color: #fff; }
.season-xmas .tabbar a:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(230,242,255,.75), inset 0 0 22px rgba(210,232,255,.5); }
.season-xmas .tabbar a[aria-current="page"] { background-color: rgba(205,228,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(226,240,255,.62), inset 0 0 16px rgba(205,229,255,.4), 0 0 14px -4px rgba(147,197,253,.75); }
.season-xmas .tabbar button { position: relative; border-radius: 9px; background: linear-gradient(180deg, rgba(228,240,255,.20), rgba(190,216,250,.07) 48%, rgba(165,203,246,.14)); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 0 1px rgba(205,227,253,.30), inset 0 -7px 12px -7px rgba(214,234,255,.45); }
.season-xmas .tabbar button::before { content: ""; position: absolute; top: -10px; right: 8%; width: min(56%, 48px); height: 16px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='.55' stop-color='%23F3F8FF'/%3E%3Cstop offset='1' stop-color='%23C6DAF3'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E8F3FF' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23A9CBF2' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M24.2 14.0 Q26.2 16.8 26.2 20.4 Q26.2 16.8 28.2 14.0Z' fill='url(%23i)'/%3E%3Cpath d='M0 15.2 C0.1 14.7 -3.7 13.9 0.6 12.4 C4.9 10.9 18.1 7.7 26.0 6.0 C33.9 4.3 44.0 2.5 48.0 2.2 C52.0 2.0 45.7 4.6 50.0 4.5 C54.3 4.4 69.3 2.0 74.0 1.6 C78.7 1.2 76.8 1.6 78.0 2.2 C79.2 2.8 77.2 4.6 81.0 5.2 C84.8 5.8 94.6 4.5 101.0 5.7 C107.4 6.9 116.2 10.8 119.4 12.4 C122.6 14.0 119.9 14.7 120.0 15.2 C119.3 15.1 120.6 14.6 116.0 14.4 C111.4 14.2 97.1 13.7 92.6 13.8 C88.2 13.9 90.2 14.6 89.3 14.8 C88.3 15.0 87.8 15.1 87.0 15.1 C86.2 15.1 85.7 15.0 84.7 14.8 C83.8 14.6 81.3 14.0 81.4 13.8 C81.4 13.6 84.8 13.7 85.0 13.8 C85.2 13.9 83.3 14.5 82.6 14.7 C81.9 14.8 81.5 14.9 81.0 14.9 C80.5 14.9 80.1 14.8 79.4 14.7 C78.7 14.5 89.5 13.8 77.0 13.8 C64.4 13.8 16.8 14.2 4.0 14.4 C-8.8 14.6 0.7 15.1 0.0 15.2Z' fill='url(%23g)' stroke='%23AFC9EA' stroke-width='.45'/%3E%3Cpath d='M26.0 7.4 C29.7 6.7 44.0 3.9 48.0 3.6 C52.0 3.4 45.7 6.0 50.0 5.9 C54.3 5.8 69.3 3.4 74.0 3.0 C78.7 2.6 76.8 3.0 78.0 3.6 C79.2 4.2 77.2 6.0 81.0 6.6 C84.8 7.2 97.7 7.0 101.0 7.1' fill='none' stroke='%23FFFFFF' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; filter: drop-shadow(0 1px 1px rgba(80,125,190,.38)); }
.season-xmas .tabbar { gap: 5px; padding-top: 13px; }
.season-xmas .tabbar::before { display: none; }
.season-xmas .side .nav { gap: 11px; }
.season-xmas .side .nav a:not(.nav-required)::before { top: -12px; height: 18px; }
.season-xmas .side .nav > a:first-of-type, .season-xmas .side .nav > .nav-group + a { margin-top: 6px; }
.season-xmas .side .nav .nav-group { padding-top: 16px; }
@media print { .season-xmas .nav a::before, .season-xmas .tabbar a::before, .season-xmas .tabbar button::before { display: none; } }

/* ---------- promote / demote ---------- */
.rc-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.rc-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-h { width: 100%; font-weight: 700; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; }
.rc-h.up { color: var(--enamel); } .rc-h.down { color: var(--muted); }
.rc-opt { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.rc-opt:has(input:checked).up { border-color: var(--enamel); background: var(--enamel-soft); }
.rc-opt:has(input:checked).down { border-color: var(--graphite); background: var(--chalk); }

/* full-screen promotion / demotion message */
.moment { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; overflow: hidden; animation: mo-in .35s ease-out; }
.moment.up { background: radial-gradient(circle at 50% 30%, #1E3A8A 0%, #0A0F1A 75%); }
.moment.down { background: linear-gradient(180deg, #1F2937 0%, #0B1220 100%); }
.moment-card { position: relative; z-index: 2; max-width: 520px; width: 100%; text-align: center; color: #fff; display: grid; gap: 14px; justify-items: center; }
.moment-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; }
.moment-icon svg { width: 46px; height: 46px; }
.moment.up .moment-icon { background: #F59E0B; color: #0A0F1A; box-shadow: 0 0 0 10px rgba(245,158,11,.18), 0 0 60px rgba(245,158,11,.45); animation: mo-pop .6s cubic-bezier(.2,1.6,.4,1) .15s both; }
.moment.down .moment-icon { background: rgba(255,255,255,.08); color: #FCD34D; border: 1px solid rgba(255,255,255,.18); }
.moment-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); font-weight: 700; opacity: .75; }
.moment h2 { margin: 0; font-size: var(--step-3); line-height: 1.1; }
.moment-lead { margin: 0; font-size: var(--step-1); opacity: .92; }
.moment-quote { margin: 6px 0; padding: 16px 18px; border-left: 3px solid #F59E0B; background: rgba(255,255,255,.06); border-radius: var(--r-md); font-size: var(--step-1); font-style: italic; line-height: 1.45; text-align: left; }
.moment.down .moment-quote { border-left-color: #93C5FD; }
.moment-note { margin: 0; font-size: var(--step-0); opacity: .9; }
.moment .btn-big { max-width: 280px; margin-top: 6px; }
.moment-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.moment-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: mo-fall 3.2s linear infinite; opacity: .9; }
@keyframes mo-fall { to { top: 105%; rotate: 540deg; } }
@keyframes mo-in { from { opacity: 0; } }
@keyframes mo-pop { from { transform: scale(.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .moment, .moment-icon, .moment-confetti i { animation: none !important; } .moment-confetti { display: none; } }

/* ---------- typed date/time boxes ---------- */
.dt-in { font-variant-numeric: tabular-nums; }
.dt-in.dt-bad { border-color: var(--signal); background: var(--signal-soft); }
.time-cell { background: none; border: 0; padding: 2px 6px; margin: -2px -6px; font: inherit; color: var(--enamel); text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; border-radius: var(--r-sm); }
.time-cell:hover, .time-cell:focus-visible { background: var(--enamel-soft); }
.row-actions [data-role] { white-space: nowrap; }

/* ---------- call monitoring agreement ---------- */
.agr-ov { position: fixed; inset: 0; z-index: 410; background: rgba(10,15,26,.82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow-y: auto; animation: mo-in .25s ease-out; }
body.agr-open { overflow: hidden; }
.agr-card { background: var(--paper); color: var(--graphite); width: 100%; max-width: 620px; border-radius: 14px; padding: 24px 22px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 30px 80px rgba(0,0,0,.45); max-height: calc(100dvh - 32px); overflow-y: auto; }
.agr-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: var(--step--1); font-weight: 700; color: var(--enamel); }
.agr-ov.locked .agr-kicker { color: var(--signal); }
.agr-card h2 { margin: 4px 0 10px; font-size: var(--step-2); line-height: 1.15; }
.agr-due { background: var(--warn-soft); color: var(--warn-ink); padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--step--1); }
.agr-warn { background: var(--signal-soft); color: var(--signal); padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--step--1); }
.agr-points { padding-left: 20px; display: grid; gap: 8px; font-size: var(--step--1); line-height: 1.5; margin: 12px 0 18px; }
.agr-card .form-err:empty { display: none; }
.agr-card .form-err { color: var(--signal); font-weight: 600; margin: 0; }
.linkish { background: none; border: 0; padding: 6px; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: var(--step--1); justify-self: center; }
.agr-panel > :not(.panel-head) { margin-left: 20px; margin-right: 20px; }
.agr-panel { padding-bottom: 14px; }
.agr-list { list-style: none; padding: 0; margin: 10px 20px 0; display: grid; gap: 8px; }
.agr-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.agr-w { display: inline-block; margin-right: 12px; }
.agr-pre { white-space: pre-wrap; font-family: var(--font); font-size: var(--step--1); line-height: 1.5; background: var(--chalk); padding: 14px; border-radius: var(--r-sm); max-height: 60vh; overflow: auto; }
#agr-text { white-space: nowrap; }
.off-call { color: var(--signal); font-weight: 600; }
.push-bell { width: 40px; height: 40px; border-radius: 10px; background: var(--enamel); color: #fff; display: grid; place-items: center; flex: none; }
#push-nudge { z-index: 60; }

/* in-app document viewer */
.doc-viewer { position: fixed; inset: 0; z-index: 420; background: var(--paper); display: grid; grid-template-rows: auto 1fr; }
body.dv-open { overflow: hidden; }
.dv-bar { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dv-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; min-height: 44px; }
.dv-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-body { position: relative; overflow: auto; -webkit-overflow-scrolling: touch; background: #525659; }
.dv-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }

/* ---------- referral code + punch card ---------- */
.loy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.loy-grid h3 { margin: 0 0 10px; font-size: var(--step-0); }
.loy-code-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.loy-qr { width: 132px; height: 132px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; image-rendering: pixelated; }
.loy-code { font-size: 1.6rem; font-weight: 900; letter-spacing: .12em; color: var(--enamel); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.ok-text { color: var(--ok, #059669); }
.pc-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 440px; margin: 4px 0 10px; }
.pc-dot { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-weight: 800; color: var(--muted); font-size: .8rem; }
.pc-dot.on { border: 0; background: var(--enamel); color: #fff; }
@media (max-width: 520px) { .pc-dots { grid-template-columns: repeat(5, 1fr); max-width: 260px; } }
.punch-start { display: grid; gap: 14px; justify-items: start; }
.punch-start .btn-big { display: inline-flex; gap: 10px; align-items: center; }
.punch-start .btn-big svg { width: 24px; height: 24px; }
.pc-find { display: flex; gap: 8px; width: 100%; max-width: 560px; } .pc-find input { flex: 1; }
.pc-status { margin: 0 0 14px; }
.pc-add-row { display: flex; gap: 8px; flex-wrap: wrap; } .pc-add-row select { flex: 1; min-width: 160px; }
.pc-reward { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; background: var(--enamel-soft); border: 1px solid var(--enamel); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 14px; }
.scan-ov { position: fixed; inset: 0; z-index: 430; background: #000; display: grid; place-items: center; }
.scan-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: relative; width: min(70vw, 300px); aspect-ratio: 1; border: 3px solid #fff; border-radius: 22px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
.scan-tip { position: absolute; top: calc(24px + env(safe-area-inset-top)); left: 16px; right: 16px; text-align: center; color: #fff; font-weight: 700; text-shadow: 0 1px 4px #000; margin: 0; }
.scan-close { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); min-width: 160px; }
.ref-chip { display: inline-block; margin: 2px 0 2px 6px; }
.pc-give { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; }
.pc-give summary { cursor: pointer; }
.pc-give-in { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-top: 10px; }
.pc-give-qr { width: 170px; height: 170px; }
.pc-give-in > div { flex: 1; min-width: 220px; display: grid; gap: 8px; }

/* punch card wall: each card as a little card with its punches */
.pc-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.mini-card { display: grid; gap: 10px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #0A0F1A 0%, #1E3A8A 100%); box-shadow: 0 6px 16px rgba(10,15,26,.18); font: inherit; aspect-ratio: 1.6; align-content: space-between; }
.mini-card:hover, .mini-card:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(10,15,26,.28); }
.mini-card.ready { background: linear-gradient(135deg, #78350F 0%, #F59E0B 100%); }
.mc-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mc-top img { border-radius: 5px; flex: none; }
.mc-name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.mc-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.18); padding: 2px 6px; border-radius: 999px; flex: none; }
.mc-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mc-dots i { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); }
.mc-dots i.on { border: 0; background: #fff; box-shadow: inset 0 0 0 4px #60A5FA; }
.mini-card.ready .mc-dots i.on { box-shadow: inset 0 0 0 4px #FCD34D; }
.mc-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .82rem; }
.mc-foot b { font-size: 1rem; } .mc-code { margin-left: auto; opacity: .7; letter-spacing: .08em; }
.mc-free { font-weight: 800; } .mc-pend { background: #FCD34D; color: #78350F; padding: 1px 6px; border-radius: 999px; font-weight: 700; }
.pc-pend { color: var(--warn-ink); }
.dv-loading, .dv-msg { color: #fff; text-align: center; padding: 40px 16px; margin: 0; }
.dv-pages { display: grid; justify-items: center; gap: 12px; padding: 12px 8px calc(24px + env(safe-area-inset-bottom)); }
.dv-page { position: relative; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); max-width: 100%; }
.dv-pnum { position: absolute; right: 6px; bottom: 6px; background: rgba(10,15,26,.7); color: #fff; font-size: .72rem; padding: 2px 7px; border-radius: 999px; }
.vwait { color: var(--signal); }

/* referrals */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 2px; }
.stat-n { font-size: var(--step-3); font-weight: 900; color: var(--enamel); font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.ref-stats { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 12px; }
.ref-stats > div:not(.ref-next) { display: grid; } .ref-stats b { font-size: 1.4rem; color: var(--enamel); } .ref-stats span { font-size: var(--step--1); color: var(--muted); }
.ref-next { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; font-size: var(--step--1); }
.ref-bar { display: inline-block; width: 110px; height: 10px; border-radius: 999px; background: var(--chalk); border: 1px solid var(--line); overflow: hidden; vertical-align: middle; flex: none; }
.ref-bar.sm { width: 60px; height: 8px; }
.ref-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #F59E0B, #FCD34D); border-radius: inherit; }
.input-suffix { align-self: center; font-weight: 700; }
.ref-stats b small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.loy-code.dead { color: var(--muted); text-decoration: line-through; }

/* Phones: nothing in a panel may be wider than the screen (Dispatch call controls were pushing past the edge) */
.stack { grid-template-columns: minmax(0, 1fr); }
.panel, .panel-body, .grid-2 > *, .main > * { min-width: 0; }
select, input, textarea { max-width: 100%; }
.v-ctrl > * { min-width: 0; max-width: 100%; }
.v-ctrl select { min-width: 0; width: 100%; max-width: 520px; }
.vcall-live > * { min-width: 0; }
.vcall-live .grow { min-width: 0; flex: 1 1 200px; }
.vcall-live, .vcall-live .small, .notice { overflow-wrap: anywhere; }
.vcall-send { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.vcall-send select { min-width: 0; flex: 1 1 160px; max-width: 100%; }
@media (max-width: 600px) {
  .vcall-live { padding: 12px; gap: 10px; }
  .vcall-send { width: 100%; }
  .vcall-send .btn-sm { flex: 0 0 auto; }
}
/* Phones: the calls list becomes stacked cards instead of a wide table you have to swipe sideways */
@media (max-width: 600px) {
  .table-wrap > table.vcalls { min-width: 0; }
  table.vcalls thead { display: none; }
  table.vcalls, table.vcalls tbody, table.vcalls tr, table.vcalls td { display: block; width: 100%; }
  table.vcalls tr { padding: 10px 2px; border-bottom: 1px solid var(--line, #E2E8F0); }
  table.vcalls td { border: 0; padding: 3px 0; }
  table.vcalls .row-actions { flex-wrap: wrap; }
}

/* ===== Finance: P&L and Balance Sheet ===== */
.print-only { display: none; }
.fin-controls { margin-bottom: 16px; }
.fin-ctrl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 16px; align-items: end; }
.fin-ctrl-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; grid-column: 1 / -1; }
.fin-kpis .fin-sub { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.fin-kpis .figure .val { overflow-wrap: anywhere; }
.up-good { color: var(--ok, #059669) !important; font-weight: 600; }
.up-bad { color: var(--signal) !important; font-weight: 600; }
.fin-table { width: 100%; }
.table-wrap > table.fin-table { min-width: 560px; }
.fin-table td, .fin-table th { padding: 8px 12px; }
.fin-table .fin-sect td { background: #F1F5FC; font-weight: 700; color: var(--enamel-deep, #1E3A8A); text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; padding-top: 12px; }
.fin-table .fin-line td:first-child { padding-left: 22px; }
.fin-table .fin-kid td { font-size: .86rem; background: #FBFCFE; }
.fin-table .fin-kid td:first-child { padding-left: 44px; }
.fin-table .fin-total td { font-weight: 700; border-top: 1px solid var(--line); }
.fin-table .fin-key td { background: #F8FAFC; font-size: 1.02rem; }
.fin-table .fin-net td { border-top: 2px solid var(--graphite, #0B1220); border-bottom: 3px double var(--graphite, #0B1220); font-size: 1.1rem; }
.fin-table .fin-net.neg td:nth-child(2) { color: var(--signal); }
.fin-table .linkish { padding: 0; color: inherit; text-decoration: none; font-size: inherit; text-align: left; justify-self: start; border-bottom: 1px dashed #94A3B8; border-radius: 0; }
.fin-table .linkish:hover { color: var(--enamel); border-bottom-color: var(--enamel); }
.fin-tog { border-bottom: 0 !important; }
.fin-tog .caret { display: inline-block; transition: transform .15s; color: var(--muted); }
.fin-tog[aria-expanded="true"] .caret { transform: rotate(90deg); }
.cell-sub.stale { color: var(--warn-ink); }
.fin-notes p { margin: 0; line-height: 1.55; }
.fin-tips { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.fin-legend { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.fin-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -4px; }
.fin-legend .lg-rev { background: #1D4ED8; } .fin-legend .lg-exp { background: #CBD5E1; } .fin-legend .lg-net { background: #10B981; border-radius: 50%; }
.fin-chart { width: 100%; height: auto; display: block; }
.fin-chart .gl { stroke: #E2E8F0; stroke-width: 1; } .fin-chart .zero { stroke: #94A3B8; stroke-width: 1; }
.fin-chart .ax { font-size: 12.5px; fill: #64748B; font-family: inherit; }
.fin-chart .b-rev { fill: #1D4ED8; } .fin-chart .b-exp { fill: #CBD5E1; }
.fin-chart .net { fill: none; stroke: #10B981; stroke-width: 2.5; stroke-linejoin: round; }
.fin-chart .net-pos { fill: #10B981; stroke: #fff; stroke-width: 1.5; } .fin-chart .net-neg { fill: #DC2626; stroke: #fff; stroke-width: 1.5; }
.fin-bud, .fin-ub { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 10px; align-items: center; }
.fin-bud label, .fin-ub label { margin: 0; }
.fin-drill td { font-size: .88rem; }
@media (max-width: 600px) {
  .fin-bud, .fin-ub { grid-template-columns: minmax(0, 1fr) 110px; }
  .fin-ctrl-btns { justify-content: stretch; } .fin-ctrl-btns > * { flex: 1 1 auto; text-align: center; }
  .table-wrap > table.fin-table { min-width: 0; }
  .fin-table td, .fin-table th { padding: 7px 6px; font-size: .84rem; }
  .fin-table .fin-line td:first-child { padding-left: 10px; } .fin-table .fin-kid td:first-child { padding-left: 20px; }
}
@media print {
  .print-only { display: block; margin-bottom: 10px; }
  .tabs, .fin-controls, .fin-top, .tabbar, .page-head p { display: none !important; }
  .fin-table .linkish { border: 0; }
  .fin-kid.hidden { display: table-row !important; }
  .panel { break-inside: auto; box-shadow: none; }
}
@media (max-width: 600px) { .fin-table .c-pct, .fin-table .c-cmp { display: none; } .fin-table .fin-sect td { font-size: .7rem; } }

/* Builder credit ribbon */
.credit { display: flex; justify-content: center; }
.credit-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap;
  color: var(--muted, #6B7280); border: 1px solid color-mix(in srgb, currentColor 28%, transparent); background: color-mix(in srgb, #3B82F6 6%, transparent); }
.credit-badge strong { font-weight: 650; color: var(--ink, inherit); }
.credit-ic { flex-shrink: 0; color: #3B82F6; }
.side > .credit { padding: 14px 6px 4px; flex-shrink: 0; }
.side > .credit .credit-badge { color: rgba(255,255,255,0.62); font-size: 0.68rem; padding: 4px 10px 4px 8px; border-color: rgba(255,255,255,0.16); background: rgba(96,165,250,0.08); }
.side > .credit .credit-badge strong { color: rgba(255,255,255,0.9); }
.side > .credit .credit-ic { color: #60A5FA; }
.login-form { align-content: center; gap: 28px; }
@media print { .credit { display: none; } }
