/* ══════════════════════════════════════════════════════════════════════
   ITALY LIONS — LION RESTAURANTS   (restaurant.css)
   Shared by restaurants.html, restaurant-admin.html and the booking sheet
   on b.html. Everything is prefixed .rx- so nothing leaks into the pages
   that host it.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --rx-gold: #D9B948;
  --rx-gold-2: #C9A227;
  --rx-red: #dc2626;
  --rx-red-2: #ef4444;
  --rx-card: #14120D;
  --rx-card-2: #1C1913;
  --rx-line: rgba(201,162,39,.18);
  --rx-ink: rgba(255,255,255,.9);
  --rx-mid: rgba(255,255,255,.62);
  --rx-low: rgba(255,255,255,.42);
  --rx-ok: #4ade80;
}

.rx, .rx * { box-sizing: border-box; }
.rx { color: var(--rx-ink); font-family: Inter, system-ui, sans-serif; }
.rx button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.rx a { -webkit-tap-highlight-color: transparent; }

/* ── buttons ── */
.rx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 800; font-size: .92rem;
  cursor: pointer; text-decoration: none; color: #1a1406;
  background: linear-gradient(135deg, #F2E3A8, var(--rx-gold) 45%, var(--rx-gold-2));
  box-shadow: 0 6px 20px rgba(201,162,39,.25); transition: transform .12s ease, filter .12s ease; }
.rx-btn:active { transform: scale(.97); filter: brightness(.95); }
.rx-btn[disabled] { opacity: .45; pointer-events: none; }
.rx-btn.ghost { background: transparent; color: var(--rx-gold); border: 1px solid var(--rx-line); box-shadow: none; }
.rx-btn.sm { padding: 7px 12px; font-size: .8rem; border-radius: 10px; }
.rx-btn.red { background: linear-gradient(135deg, var(--rx-red-2), #b91c1c); color: #fff; box-shadow: 0 6px 18px rgba(220,38,38,.3); }
.rx-btn.ok { background: linear-gradient(135deg, #86efac, #22c55e); color: #052e16; box-shadow: none; }
.rx-btn.block { width: 100%; }

/* ── the red offer badge — the same language as Lion Grocery ── */
.rx-off { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: .78rem;
  color: #fff; background: linear-gradient(135deg, var(--rx-red-2), #b91c1c); border-radius: 8px;
  padding: 4px 9px; box-shadow: 0 3px 10px rgba(220,38,38,.35); letter-spacing: .01em; white-space: nowrap; }
.rx-off.big { font-size: 1.05rem; padding: 7px 12px; border-radius: 10px; }
.rx-offcard { border: 1px solid rgba(239,68,68,.4); background: linear-gradient(135deg, rgba(220,38,38,.14), rgba(220,38,38,.03));
  border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.rx-offcard b { display: block; font-size: .92rem; }
.rx-offcard small { color: var(--rx-mid); font-size: .76rem; }
.rx-corner { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* ── cards & panels ── */
.rx-panel { background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: 18px; padding: 18px; margin: 14px 0; }
.rx-panel h3 { margin: 0 0 12px; font-family: Cinzel, serif; color: var(--rx-gold); font-size: 1.05rem; letter-spacing: .02em; }
.rx-dim { color: var(--rx-mid); font-size: .84rem; line-height: 1.55; }
.rx-low { color: var(--rx-low); font-size: .76rem; }
.rx-empty { text-align: center; color: var(--rx-mid); padding: 26px 10px; font-size: .9rem; }
.rx-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rx-grow { flex: 1 1 auto; min-width: 0; }
.rx-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--rx-ink); white-space: nowrap; }
.rx-chip.gold { background: rgba(217,185,72,.14); color: var(--rx-gold); }
.rx-chip.ok { background: rgba(74,222,128,.12); color: var(--rx-ok); }
.rx-chip.bad { background: rgba(248,113,113,.12); color: #f87171; }
.rx-stars { color: var(--rx-gold); letter-spacing: 1px; }
.rx-verified { color: var(--rx-ok); font-weight: 800; font-size: .74rem; }

/* ── restaurant card (hub list) ── */
.rx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rx-card { position: relative; display: block; text-decoration: none; color: inherit; background: var(--rx-card);
  border: 1px solid var(--rx-line); border-radius: 18px; padding: 16px; transition: border-color .15s, transform .15s; }
.rx-card:hover { border-color: rgba(217,185,72,.45); transform: translateY(-2px); }
.rx-card:active { transform: scale(.99); }
.rx-mono { width: 52px; height: 52px; border-radius: 14px; flex: 0 0 52px; display: grid; place-items: center;
  font-family: Cinzel, serif; font-weight: 800; font-size: 1.3rem; color: #1a1406;
  background: linear-gradient(135deg, #F2E3A8, var(--rx-gold) 50%, var(--rx-gold-2)); }
.rx-card h4 { margin: 0; font-size: 1rem; font-weight: 800; }
.rx-card:has(.rx-corner) h4 { padding-right: 58px; }
.rx-card .rx-place { color: var(--rx-mid); font-size: .78rem; margin-top: 2px; }
.rx-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }

/* ── the Top 3 podium ── */
.rx-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.rx-pod { position: relative; text-decoration: none; color: inherit; border-radius: 18px; padding: 16px 12px 14px;
  text-align: center; background: linear-gradient(180deg, rgba(217,185,72,.12), rgba(217,185,72,.02));
  border: 1px solid var(--rx-line); }
.rx-pod.r1 { order: 2; padding-top: 26px; border-color: rgba(217,185,72,.55);
  background: linear-gradient(180deg, rgba(217,185,72,.26), rgba(217,185,72,.04)); box-shadow: 0 10px 34px rgba(201,162,39,.18); }
.rx-pod.r2 { order: 1; } .rx-pod.r3 { order: 3; }
.rx-medal { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.05rem; color: #1a1406; background: linear-gradient(135deg, #F2E3A8, var(--rx-gold)); }
.rx-pod.r1 .rx-medal { width: 50px; height: 50px; font-size: 1.3rem; }
.rx-pod.r2 .rx-medal { background: linear-gradient(135deg, #f1f5f9, #94a3b8); }
.rx-pod.r3 .rx-medal { background: linear-gradient(135deg, #fcd9b6, #b7743d); }
.rx-pod b { display: block; font-size: .9rem; line-height: 1.25; overflow-wrap: anywhere; }
.rx-pod .rx-score { font-size: 1.35rem; font-weight: 900; color: var(--rx-gold); margin-top: 6px; }
.rx-pod small { color: var(--rx-mid); font-size: .7rem; }
@media (max-width: 520px) {
  .rx-podium { gap: 8px; }
  .rx-pod { padding: 12px 6px 10px; }
  .rx-pod.r1 { padding-top: 18px; }
  .rx-pod b { font-size: .78rem; }
  .rx-pod .rx-score { font-size: 1.1rem; }
}

/* ── segmented control / tabs ── */
.rx-seg { display: inline-flex; background: rgba(255,255,255,.05); border: 1px solid var(--rx-line); border-radius: 12px; padding: 3px; gap: 3px; }
.rx-seg button { border: 0; background: transparent; color: var(--rx-mid); font-weight: 700; font-size: .82rem;
  padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.rx-seg button.on { background: var(--rx-gold); color: #1a1406; }
.rx-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.rx-tabs::-webkit-scrollbar { display: none; }
.rx-tabs button { flex: 0 0 auto; border: 1px solid var(--rx-line); background: var(--rx-card); color: var(--rx-mid);
  border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: .84rem; cursor: pointer; }
.rx-tabs button.on { color: #1a1406; background: var(--rx-gold); border-color: var(--rx-gold); }

/* ── forms ── */
.rx-f { margin-bottom: 12px; }
.rx-f label { display: block; font-size: .74rem; font-weight: 700; color: var(--rx-mid); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
.rx-f input, .rx-f select, .rx-f textarea { width: 100%; background: var(--rx-card-2); border: 1px solid var(--rx-line);
  color: #fff; border-radius: 11px; padding: 11px 12px; font-size: 16px; font-family: inherit; }
.rx-f textarea { min-height: 76px; resize: vertical; }
.rx-f input:focus, .rx-f select:focus, .rx-f textarea:focus { outline: none; border-color: var(--rx-gold); }
.rx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* party size stepper, date strip, time slots */
.rx-party { display: flex; gap: 6px; flex-wrap: wrap; }
.rx-party button, .rx-slot, .rx-day { border: 1px solid var(--rx-line); background: var(--rx-card-2); color: var(--rx-ink);
  border-radius: 11px; font-weight: 800; cursor: pointer; }
.rx-party button { width: 42px; height: 42px; font-size: .95rem; }
.rx-party button.on, .rx-slot.on, .rx-day.on { background: var(--rx-gold); color: #1a1406; border-color: var(--rx-gold); }
.rx-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.rx-days::-webkit-scrollbar { display: none; }
.rx-day { flex: 0 0 58px; padding: 8px 4px; text-align: center; line-height: 1.15; position: relative; }
.rx-day small { display: block; font-size: .64rem; font-weight: 700; opacity: .7; text-transform: uppercase; }
.rx-day b { font-size: 1.05rem; }
.rx-day.off { opacity: .3; pointer-events: none; }
.rx-day .rx-dot { position: absolute; top: 4px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--rx-red-2); }
.rx-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 7px; }
.rx-slot { padding: 10px 4px; font-size: .88rem; position: relative; }
.rx-slot i { position: absolute; top: -7px; right: -4px; font-style: normal; font-size: .62rem; font-weight: 900;
  background: var(--rx-red); color: #fff; border-radius: 6px; padding: 1px 5px; }
.rx-svc { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 7px; }
.rx-svc b { font-size: .9rem; } .rx-svc small { color: var(--rx-mid); font-size: .74rem; }
.rx-svc small.full { color: #f87171; }

/* ── the sheet (modal) ── */
.rx-sheet { position: fixed; inset: 0; z-index: 100050; display: none; }
.rx-sheet.on { display: block; }
.rx-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(3px); }
.rx-box { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); max-height: 92vh; overflow: auto;
  background: #0f0e0a; border: 1px solid var(--rx-line); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px)); animation: rx-up .22s ease-out; }
@media (min-width: 700px) { .rx-box { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 22px; border-bottom: 1px solid var(--rx-line); } }
@keyframes rx-up { from { transform: translate(-50%, 30px); opacity: 0; } }
@media (min-width: 700px) { @keyframes rx-up { from { transform: translate(-50%, -46%); opacity: 0; } } }
.rx-box h3 { margin: 0 34px 4px 0; font-family: Cinzel, serif; color: var(--rx-gold); font-size: 1.15rem; }
.rx-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.2rem; cursor: pointer; }
.rx-grab { width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin: -6px auto 12px; }
@media (min-width: 700px) { .rx-grab { display: none; } }

/* confirmation ticket */
.rx-ticket { border-radius: 18px; padding: 18px; text-align: center; margin: 8px 0 14px;
  background: linear-gradient(160deg, rgba(217,185,72,.2), rgba(217,185,72,.03)); border: 1px solid rgba(217,185,72,.45); }
.rx-ticket .rx-big { font-family: Cinzel, serif; font-size: 1.5rem; font-weight: 800; color: var(--rx-gold); }
.rx-check { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(74,222,128,.15); color: var(--rx-ok); }

/* rating input */
.rx-rate { display: flex; gap: 4px; }
.rx-rate button { border: 0; background: none; font-size: 1.7rem; line-height: 1; color: rgba(255,255,255,.22); cursor: pointer; padding: 2px; }
.rx-rate button.on { color: var(--rx-gold); }
.rx-rate.sm button { font-size: 1.25rem; }
.rx-aspects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.rx-aspects > div { display: flex; flex-direction: column; gap: 2px; }
.rx-aspects span { font-size: .74rem; color: var(--rx-mid); font-weight: 700; }

/* reviews */
.rx-review { border-top: 1px solid rgba(255,255,255,.07); padding: 12px 0; }
.rx-review:first-child { border-top: 0; }
.rx-review p { margin: 6px 0 0; font-size: .88rem; line-height: 1.55; color: var(--rx-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.rx-reply { margin-top: 8px; padding: 9px 11px; border-left: 3px solid var(--rx-gold); background: rgba(217,185,72,.06); border-radius: 0 10px 10px 0; font-size: .84rem; }
.rx-bars { display: grid; gap: 6px; }
.rx-bar { display: grid; grid-template-columns: 80px 1fr 30px; gap: 8px; align-items: center; font-size: .78rem; color: var(--rx-mid); }
.rx-bar i { display: block; height: 7px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.rx-bar i b { display: block; height: 100%; background: linear-gradient(90deg, var(--rx-gold-2), var(--rx-gold)); border-radius: 6px; }

/* ── b.html restaurant strip ── */
.rx-strip { margin: 12px 0 4px; display: grid; gap: 10px; }
.rx-strip-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between;
  background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: 16px; padding: 12px 14px; }
.rx-strip-top .rx-rating { font-size: 1.25rem; font-weight: 900; color: var(--rx-gold); }

/* ── owner board ── */
.rx-book { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.07); }
.rx-book:first-child { border-top: 0; }
.rx-time { font-weight: 900; font-size: 1.05rem; color: var(--rx-gold); text-align: center; }
.rx-time small { display: block; font-size: .68rem; color: var(--rx-mid); font-weight: 700; }
.rx-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) {
  .rx-book { grid-template-columns: 50px 1fr; }
  .rx-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.rx-meter { height: 9px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; }
.rx-meter b { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, var(--rx-gold)); }
.rx-meter.full b { background: linear-gradient(90deg, var(--rx-red-2), #b91c1c); }
.rx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.rx-stat { background: var(--rx-card-2); border: 1px solid var(--rx-line); border-radius: 14px; padding: 12px; }
.rx-stat b { display: block; font-size: 1.4rem; font-weight: 900; color: var(--rx-gold); }
.rx-stat small { color: var(--rx-mid); font-size: .74rem; font-weight: 700; }

/* QR display */
.rx-qr { background: #fff; border-radius: 18px; padding: 16px; display: inline-block; }
.rx-qr img, .rx-qr canvas { display: block; width: min(260px, 70vw) !important; height: auto !important; }
.rx-qrwrap { text-align: center; }
.rx-qrfull { position: fixed; inset: 0; z-index: 100060; background: #0b0a07; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.rx-qrfull.on { display: flex; }
.rx-qrfull .rx-qr img, .rx-qrfull .rx-qr canvas { width: min(420px, 82vw) !important; }

.rx-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: #1c1913; color: #fff; border: 1px solid var(--rx-line); border-radius: 12px; padding: 11px 16px;
  font-size: .88rem; font-weight: 600; z-index: 100070; display: none; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.rx-toast.on { display: block; }

/* week-day picker (owner) */
.rx-week { display: flex; gap: 5px; flex-wrap: wrap; }
.rx-week label { cursor: pointer; }
.rx-week input { display: none; }
.rx-week span { display: inline-block; padding: 6px 9px; border-radius: 8px; border: 1px solid var(--rx-line); font-size: .74rem; font-weight: 800; color: var(--rx-mid); }
.rx-week input:checked + span { background: var(--rx-gold); color: #1a1406; border-color: var(--rx-gold); }
.rx-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: .9rem; }
.rx-switch input { width: 20px; height: 20px; accent-color: var(--rx-gold); }

@media (prefers-reduced-motion: reduce) { .rx-box { animation: none; } .rx-card, .rx-btn { transition: none; } }

/* ── real tables ── */
.rx-slot { display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.15; }
.rx-slot em { font-style: normal; font-size: .64rem; font-weight: 700; opacity: .7; }
.rx-slot.on em { opacity: .85; }
.rx-slot.none { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.rx-tablepick { display: flex; gap: 12px; align-items: center; margin: 4px 0 12px; padding: 10px 12px; border-radius: 14px;
  background: rgba(217,185,72,.08); border: 1px solid rgba(217,185,72,.35); }
.rx-tablepick b { display: block; font-size: .9rem; } .rx-tablepick small { color: var(--rx-mid); font-size: .74rem; }
.rx-tableno { flex: 0 0 auto; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 900; font-size: 1rem; color: #1a1406; background: linear-gradient(135deg, #F2E3A8, var(--rx-gold)); }
.rx-tableno.big { min-width: 76px; height: 76px; font-size: 1.6rem; border-radius: 18px; margin: 10px auto 4px; width: max-content; }

/* the owner's table timeline */
.rx-tl { overflow-x: auto; margin-top: 10px; border-radius: 12px; border: 1px solid var(--rx-line); }
.rx-tl table { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: .72rem; }
.rx-tl th, .rx-tl td { padding: 0; height: 34px; min-width: 46px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.05); }
.rx-tl thead th { color: var(--rx-mid); font-weight: 700; background: var(--rx-card-2); position: sticky; top: 0; }
.rx-tl th.rx-tlt { position: sticky; left: 0; z-index: 1; background: var(--rx-card-2); min-width: 64px; text-align: left; padding: 0 8px;
  color: #fff; font-weight: 800; white-space: nowrap; }
.rx-tl th.rx-tlt small { color: var(--rx-mid); font-weight: 600; margin-left: 4px; }
.rx-tl td button { width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; color: inherit; font: inherit; padding: 0 2px; }
.rx-tl td.free button:hover { background: rgba(74,222,128,.12); }
.rx-tl td.confirmed { background: rgba(217,185,72,.28); } .rx-tl td.arrived { background: rgba(74,222,128,.28); }
.rx-tl td.noshow { background: rgba(248,113,113,.28); } .rx-tl td.hold { background: rgba(96,165,250,.28); }
.rx-tl td.taken { background: rgba(255,255,255,.12); }
.rx-tl td b { font-size: .68rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100px; }
.rx-legend { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: .72rem; color: var(--rx-mid); }
.rx-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.rx-tables-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rx-tables-ed .ra-trow { display: flex; gap: 6px; align-items: center; background: var(--rx-card-2); border: 1px solid var(--rx-line); border-radius: 12px; padding: 6px; }
.rx-tables-ed input { width: 100%; min-width: 0; background: transparent; border: 1px solid rgba(255,255,255,.1); color: #fff; border-radius: 8px; padding: 7px; font-size: 15px; }
.rx-tables-ed input[data-seats] { max-width: 58px; }
.rx-tables-ed button { border: 0; background: none; color: #f87171; font-size: 1.1rem; cursor: pointer; }
/* Equal half-hour columns: a guest's name spills over its own sitting instead of widening a column. */
.rx-tl table { table-layout: fixed; width: max-content; min-width: 0; }
.rx-tl th, .rx-tl td { width: 50px; max-width: 50px; }
.rx-tl th.rx-tlt { width: 72px; max-width: 72px; }
.rx-tl td { position: relative; overflow: visible; }
.rx-tl td b { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); max-width: none; z-index: 1; text-align: left; pointer-events: none; }
.rx-tl td.hold button b { left: 4px; }

/* ── the full set: filters, menu, map, points, stats, set menus ── */
.rx-filters { display: grid; gap: 10px; margin: 0 0 14px; }
.rx-filters input[type=search], .rx-filters select { background: var(--rx-card-2); color: #fff; border: 1px solid var(--rx-line); border-radius: 12px;
  padding: 10px 12px; font-size: 15px; font-family: inherit; min-width: 0; }
.rx-filters input[type=search] { width: 100%; }
.rx-filters select { flex: 1 1 140px; max-width: 220px; }
.rx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rx-fchip { border: 1px solid var(--rx-line); background: var(--rx-card); color: var(--rx-mid); border-radius: 999px; padding: 7px 12px;
  font-size: .8rem; font-weight: 700; cursor: pointer; user-select: none; }
.rx-fchip.on { background: rgba(217,185,72,.18); color: var(--rx-gold); border-color: rgba(217,185,72,.6); }
.rx-fchip.on.bad { background: rgba(248,113,113,.15); color: #fca5a5; border-color: rgba(248,113,113,.5); }
.rx-linkbtn { border: 0; background: none; color: var(--rx-gold); font-weight: 700; cursor: pointer; padding: 0; font-size: inherit; text-decoration: underline; }
.rx-heart.on { color: #f87171; border-color: rgba(248,113,113,.5); }
.rx-heart-mini { color: #f87171; font-size: .85em; }

.rx-map { height: min(62vh, 520px); border-radius: 16px; overflow: hidden; border: 1px solid var(--rx-line); background: #111; }
.rx-pin span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: linear-gradient(135deg, #F2E3A8, #D9B948); color: #1a1406; font-weight: 900; font-size: .72rem; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.rx-pin span.off { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; }
.rx-pin span > * , .rx-pin span { line-height: 1; }
.leaflet-popup-content { font-family: Inter, sans-serif; }

.rx-msec h4 { margin: 16px 0 6px; font-family: Cinzel, serif; color: var(--rx-gold); font-size: .95rem; }
.rx-dish { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.06); }
.rx-dish img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: 0 0 72px; }
.rx-dish.out { opacity: .5; }
.rx-price { font-weight: 900; color: var(--rx-gold); white-space: nowrap; }
.rx-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.rx-tags .rx-chip { font-size: .66rem; padding: 2px 7px; }
.rx-allergy { margin: 8px 0 4px; } .rx-allergy summary { cursor: pointer; color: var(--rx-mid); font-weight: 700; font-size: .84rem; }

.rx-special { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--rx-line); border-radius: 12px; margin-bottom: 6px; cursor: pointer; }
.rx-special.on { border-color: rgba(96,165,250,.7); background: rgba(96,165,250,.08); }
.rx-special small { display: block; color: var(--rx-mid); font-size: .74rem; }
.rx-special input { margin-top: 3px; accent-color: #60a5fa; }
.rx-offcard.sp { border-color: rgba(96,165,250,.45); background: linear-gradient(135deg, rgba(96,165,250,.14), rgba(96,165,250,.03)); }
.rx-off.sp { background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 3px 10px rgba(37,99,235,.35); }
.rx-day .rx-dot.sp { right: auto; left: 5px; background: #60a5fa; }

.rx-points { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; margin: 14px 0; padding: 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(217,185,72,.2), rgba(217,185,72,.04)); border: 1px solid rgba(217,185,72,.45); }
.rx-points-l { display: flex; gap: 12px; align-items: center; } .rx-points-l small { display: block; color: var(--rx-mid); font-size: .76rem; }
.rx-points-ic { font-size: 1.9rem; } .rx-points-l b { font-family: Cinzel, serif; font-size: 1.1rem; color: var(--rx-gold); }
.rx-points-r { text-align: right; } .rx-points-n { font-size: 1.6rem; font-weight: 900; color: #fff; } .rx-points-r small { color: var(--rx-mid); font-size: .72rem; }

.rx-bars2 { display: flex; gap: 6px; align-items: flex-end; height: 170px; padding-top: 18px; }
.rx-bar2 { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; min-width: 0; }
.rx-bar2 i { width: 100%; max-width: 38px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--rx-gold), var(--rx-gold-2)); min-height: 2px; }
.rx-bar2 small { font-size: .62rem; color: var(--rx-low); margin-top: 4px; white-space: nowrap; }
.rx-bar2 b { position: absolute; top: 0; font-size: .7rem; color: var(--rx-mid); }
.rx-heat { overflow-x: auto; } .rx-heat table { border-collapse: separate; border-spacing: 3px; font-size: .7rem; }
.rx-heat th { color: var(--rx-mid); font-weight: 700; padding: 0 4px; } .rx-heat td { width: 38px; height: 26px; border-radius: 6px; text-align: center; color: #1a1406; font-weight: 800; }

.rx-pin span b { transform: rotate(45deg); font-weight: 900; }
.rx-offcard.loyal { border-color: rgba(217,185,72,.45); background: linear-gradient(135deg, rgba(217,185,72,.14), rgba(217,185,72,.03)); }
.rx-off.loyal { background: linear-gradient(135deg, #F2E3A8, #C9A227); color: #1a1406; box-shadow: none; }
/* Option rows and chips that sit inside a form field keep normal case. */
.rx-f label.rx-special, .rx-f label.rx-fchip { text-transform: none; letter-spacing: 0; margin: 0; }
.rx-f label.rx-special { display: flex; font-size: .86rem; font-weight: 400; color: var(--rx-ink); margin-bottom: 6px; }
.rx-f label.rx-fchip { display: inline-block; font-size: .8rem; }

/* ── promotions ── */
.rx-promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rx-promo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; margin: 0 0 8px;
  background: linear-gradient(135deg, rgba(217,185,72,.2), rgba(217,185,72,.04)); border: 1px solid rgba(217,185,72,.5); }
.rx-promo.monthly { background: linear-gradient(135deg, rgba(96,165,250,.2), rgba(96,165,250,.04)); border-color: rgba(96,165,250,.55); }
.rx-promo.daily { background: linear-gradient(135deg, rgba(239,68,68,.16), rgba(239,68,68,.03)); border-color: rgba(239,68,68,.45); }
.rx-promo img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: 0 0 72px; }
.rx-promo b { font-size: .98rem; } .rx-promo small { display: block; color: var(--rx-mid); font-size: .78rem; margin-top: 3px; }
.rx-promo-k { font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px;
  background: var(--rx-gold); color: #1a1406; }
.rx-promo.monthly .rx-promo-k { background: #60a5fa; color: #fff; } .rx-promo.daily .rx-promo-k { background: #ef4444; color: #fff; }

/* WhatsApp quick talk: WhatsApp's own green, the real mark in white. */
.rx-btn.rx-wa { background: #128C7E; color: #fff; border: 1px solid #25D366; box-shadow: 0 4px 14px rgba(37,211,102,.25); gap: 6px; }
.rx-btn.rx-wa svg path { fill: #fff; }
.rx-btn.rx-wa:hover { background: #075E54; }
.rx-btn.rx-wa.icon { padding: 7px 9px; }

/* ── the Italy Lions restaurant card ───────────────────────────────────
   A solid-gold card, on purpose unlike the black Lion Store card: brushed
   gold face with engraved lettering and an embossed lion, a black-and-gold
   back carrying the QR. 85.6×54 mm (1.586:1); type scales with the card.
   Tap flips it; a finger or the mouse tilts it (--rx-tx / --rx-ty). */
.rx-flip { all: unset; display: block; width: 100%; max-width: 420px; margin: 4px auto 0; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 5cqw; }
.rx-flip:focus-visible { outline: 2px solid var(--rx-gold); outline-offset: 4px; }
.rx-cc { container-type: inline-size; width: 100%; aspect-ratio: 1.586; perspective: 1200px; }
.rx-cc-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx-tx, 0deg)) rotateY(var(--rx-ty, 0deg)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rx-cc.tilting .rx-cc-inner { transition: transform .08s linear; }
.rx-flip.is-back .rx-cc-inner { transform: rotateX(var(--rx-tx, 0deg)) rotateY(calc(180deg + var(--rx-ty, 0deg))); }
.rx-cc-face { position: absolute; inset: 0; box-sizing: border-box; border-radius: 4.6cqw; overflow: hidden; padding: 5cqw 6cqw;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; font-family: Inter, sans-serif; }
/* FRONT — brushed gold */
.rx-cc-front { color: #3b2a05;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.035) 1px 3px),
    radial-gradient(140% 90% at 15% 0%, #fff4c2 0%, rgba(255,244,194,0) 45%),
    linear-gradient(135deg, #f7e08a 0%, #e2bd4c 22%, #b8891f 48%, #e9c95c 70%, #fbe7a0 86%, #c89a2a 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(120,84,10,.55), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 6px rgba(90,60,5,.35); }
/* the moving shine */
.rx-cc-front::after { content: ""; position: absolute; inset: -60%; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.75) 48%, transparent 58%);
  animation: rx-shine 6s ease-in-out infinite; }
@keyframes rx-shine { 0%, 70% { translate: -45% 0; } 100% { translate: 45% 0; } }
.rx-cc-mark { position: absolute; right: -6cqw; top: 50%; transform: translateY(-50%); width: 58cqw; height: 58cqw; object-fit: contain;
  opacity: .16; filter: grayscale(1) sepia(1) brightness(.55) contrast(1.4); mix-blend-mode: multiply; pointer-events: none; }
.rx-cc-front > :not(.rx-cc-mark) { position: relative; }
.rx-cc-top { display: flex; justify-content: space-between; align-items: center; }
.rx-cc-brand { display: inline-flex; align-items: center; gap: 2.2cqw; }
.rx-cc-brand img { width: 10.5cqw; height: 10.5cqw; object-fit: contain; border-radius: 50%; background: #120e05; padding: .6cqw; box-shadow: 0 0 0 .5cqw rgba(90,60,5,.5); }
.rx-cc-brand > span { display: flex; flex-direction: column; line-height: 1.05; }
.rx-cc-brand b { font-family: Cinzel, serif; font-weight: 800; font-size: 4.3cqw; letter-spacing: .16em; color: #2d1f02; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.rx-cc-brand small { font-size: 2.3cqw; font-weight: 800; letter-spacing: .3em; color: rgba(45,31,2,.7); margin-top: .6cqw; }
.rx-cc-status { font-size: 2.4cqw; font-weight: 800; letter-spacing: .1em; color: #2d1f02; border: 1px solid rgba(45,31,2,.45); border-radius: 99px; padding: .6cqw 2.2cqw; background: rgba(255,255,255,.18); }
.rx-cc-shop { font-family: Cinzel, serif; font-weight: 800; font-size: 5.6cqw; line-height: 1.15; margin-top: 5cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #2d1f02; text-shadow: 0 1px 0 rgba(255,255,255,.6), 0 -1px 0 rgba(90,60,5,.35); }
.rx-cc-place { font-size: 2.8cqw; font-weight: 700; color: rgba(45,31,2,.72); margin-top: .8cqw; }
.rx-cc-front .rx-cc-name { position: absolute; left: 6cqw; right: 6cqw; bottom: 16.5cqw; font-size: 4cqw; font-weight: 800; letter-spacing: .12em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2d1f02; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.rx-cc-front .rx-cc-ids { position: absolute; left: 6cqw; right: 6cqw; bottom: 5cqw; display: flex; justify-content: space-between; gap: 4cqw; }
.rx-cc-ids div { display: flex; flex-direction: column; }
.rx-cc-ids div:last-child { text-align: right; }
.rx-cc-ids span, .rx-cc-kv span { font-size: 2.2cqw; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.rx-cc-ids span { color: rgba(45,31,2,.6); }
.rx-cc-ids b { font-family: 'Courier New', monospace; font-size: 4.4cqw; letter-spacing: .06em; color: #1f1501; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
/* BACK — black with gold */
.rx-cc-back { transform: rotateY(180deg); display: flex; gap: 5cqw; align-items: center; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(217,185,72,.3), transparent 55%), linear-gradient(135deg, #1a150a 0%, #0b0906 60%, #231b08 100%);
  border: 1.2cqw solid transparent; background-clip: padding-box; box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px #c89a2a, inset 0 0 0 .6cqw rgba(217,185,72,.35); }
.rx-cc-qrcol { flex: 0 0 auto; width: 40cqw; text-align: center; }
.rx-cc-qr { width: 40cqw; height: 40cqw; background: #fff; border-radius: 2.6cqw; padding: 2.2cqw; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 3cqw; box-shadow: 0 0 0 1cqw #d9b948, 0 0 0 1.4cqw #7a5a12; }
.rx-cc-qr img, .rx-cc-qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.rx-cc-hint { font-size: 2.4cqw; color: rgba(255,255,255,.6); margin-top: 3cqw; }
.rx-cc-info { flex: 1; min-width: 0; }
.rx-cc-brand.small { gap: 1.6cqw; font-family: Cinzel, serif; font-weight: 800; font-size: 3.2cqw; letter-spacing: .16em; color: var(--rx-gold); }
.rx-cc-brand.small img { width: 5.4cqw; height: 5.4cqw; padding: 0; box-shadow: none; background: none; }
.rx-cc-back .rx-cc-shop { font-size: 4.2cqw; margin-top: 1.4cqw; color: #f3dc86; text-shadow: none; }
.rx-cc-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; margin-top: 1.6cqw; }
.rx-cc-kv span { color: rgba(255,255,255,.5); }
.rx-cc-kv b { font-family: 'Courier New', monospace; font-size: 3.3cqw; white-space: nowrap; color: #fff; }
.rx-cc-tap { text-align: center; font-size: .74rem; color: var(--rx-low); margin-top: 10px; }
.rx-cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; text-align: center; }
.rx-cc-stats div { border-radius: 12px; padding: 9px 4px; background: linear-gradient(180deg, rgba(217,185,72,.16), rgba(217,185,72,.04)); border: 1px solid rgba(217,185,72,.35); }
.rx-cc-stats b { display: block; font-family: Cinzel, serif; color: var(--rx-gold); font-size: 1.15rem; }
.rx-cc-stats span { font-size: .7rem; color: var(--rx-mid); }
@media (prefers-reduced-motion: reduce) { .rx-cc-inner { transition: none; } .rx-cc-front::after { animation: none; } }
.rx-visits { list-style: none; margin: 0; padding: 0; }
.rx-visits li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rx-line); font-size: .86rem; }
.rx-visits li b { min-width: 92px; color: var(--rx-gold); font-weight: 700; }
.rx-visits li span { color: var(--rx-ink); }
.rx-visits li.dup { opacity: .55; }
.rx-cardbar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 6px; }
.rx-cardbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--rx-gold-2), var(--rx-gold)); border-radius: 99px; }
.rx-perk { padding: 4px 0; color: var(--rx-ink); font-size: .9rem; }
.rx-ladder { list-style: none; margin: 0; padding: 0; }
.rx-ladder li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rx-line); font-size: .9rem; }
.rx-ladder li:last-child { border-bottom: 0; }
.rx-lcv { min-width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem;
  border: 1px solid var(--rx-line); color: var(--rx-gold); }
.rx-ladder li.ready .rx-lcv { background: var(--rx-gold); color: #1a1406; }
.rx-ladder li.used { opacity: .5; }
.rx-ladder li.used .rx-grow { text-decoration: line-through; }
.rx-offcard.rx-cardoffer { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  border-color: rgba(217,185,72,.45); background: linear-gradient(135deg, rgba(217,185,72,.16), rgba(217,185,72,.03)); }
.rx-offcard.rx-cardoffer .rx-off { background: #0b0a07; color: var(--rx-gold); border: 1px solid rgba(217,185,72,.45); }
.rx-cardadmin { margin-top: 12px; border: 1px solid rgba(217,185,72,.4); border-radius: 14px; padding: 14px; background: var(--rx-card-2); }
.rx-cardvisits { text-align: center; }
.rx-cardvisits b { display: block; font-size: 1.6rem; color: var(--rx-gold); line-height: 1; }
.rx-cardvisits small { color: var(--rx-mid); font-size: .72rem; }
.rx-cardready { padding: 8px 10px; border-radius: 10px; background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.3); margin-bottom: 6px; }
.rx-memberrow { width: 100%; text-align: left; cursor: pointer; background: none; color: inherit; font: inherit; border-left: 0; border-right: 0; border-top: 0; }
.rx-ladderrow { display: grid; grid-template-columns: 76px auto 76px auto 1fr 40px; grid-template-areas: "v vl p pl t x";
  gap: 6px; align-items: center; margin-bottom: 8px; }
.rx-ladderrow > :nth-child(1) { grid-area: v; } .rx-ladderrow > :nth-child(2) { grid-area: vl; }
.rx-ladderrow > :nth-child(3) { grid-area: p; } .rx-ladderrow > :nth-child(4) { grid-area: pl; }
.rx-ladderrow > :nth-child(5) { grid-area: t; min-width: 0; } .rx-ladderrow > :nth-child(6) { grid-area: x; }
.rx-ladderrow input { width: 100%; }
.rx-ladderrow input[type=number] { padding-left: 10px !important; padding-right: 2px !important; }
@media (max-width: 560px) {
  .rx-ladderrow { grid-template-columns: 76px auto 76px 1fr 40px; grid-template-areas: "v vl p pl x" "t t t t t";
    padding-bottom: 8px; border-bottom: 1px solid var(--rx-line); }
}
.rx-plainlabel, .rx-plainlabel * { text-transform: none !important; letter-spacing: normal !important; }
.rx-plainlabel b { color: #fff; }

/* ── the team back office (restaurant-backoffice.js) ───────────────────── */
.rx-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.rx-role { border: 1px solid var(--rx-line); border-radius: 12px; padding: 10px 12px; background: var(--rx-card-2); }
.rx-role b { display: block; margin-bottom: 4px; }
.rx-role small { color: var(--rx-mid); font-size: .78rem; line-height: 1.45; }
.rx-stock.bad { background: linear-gradient(90deg, rgba(248,113,113,.12), transparent 60%); }
.rx-stock.soon { background: linear-gradient(90deg, rgba(251,191,36,.12), transparent 60%); }
.rx-stock.low { background: linear-gradient(90deg, rgba(96,165,250,.1), transparent 60%); }
.rx-stock .rx-time b { font-size: 1.05rem; color: #fff; }
.rx-orow { display: grid; grid-template-columns: 1fr 90px 80px; gap: 6px; margin-bottom: 6px; }
.rx-orow input { width: 100%; min-width: 0; }
.rx-warn { border-color: rgba(251,191,36,.55) !important; background: linear-gradient(135deg, rgba(251,191,36,.14), rgba(251,191,36,.03)) !important; }
.rx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; margin-top: 10px; }
.rx-kpis > div { border: 1px solid var(--rx-line); border-radius: 12px; padding: 10px 12px; background: var(--rx-card-2); min-width: 0; }
.rx-kpis small { display: block; color: var(--rx-mid); font-size: .72rem; }
.rx-kpis b { display: block; font-size: 1.15rem; color: #fff; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-kpis b + small { color: var(--rx-low); }
.rx-total { font-family: Cinzel, serif; font-size: 1.6rem; font-weight: 800; color: var(--rx-gold); text-align: center; margin: 8px 0 10px; }
.rx-total small { font-family: Inter, sans-serif; font-size: .8rem; color: var(--rx-mid); font-weight: 500; }
.rx-payrow { gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--rx-line); flex-wrap: wrap; }
.rx-props { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.rx-prop { border: 1px solid rgba(217,185,72,.4); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(160deg, rgba(217,185,72,.12), rgba(217,185,72,.02)); }
.rx-prop small { color: var(--rx-mid); font-size: .76rem; }
.rx-prop.empty { border-style: dashed; background: none; align-items: center; justify-content: center; min-height: 90px; }
.rx-prop.off { opacity: .55; }
.rx-prop .rx-btn { align-self: flex-start; margin-top: 4px; }
.rx-budget { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.rx-budget > div { border: 1px solid var(--rx-line); border-radius: 12px; padding: 10px 12px; background: var(--rx-card-2); }
.rx-budget small { display: block; color: var(--rx-mid); font-size: .72rem; }
.rx-budget b { display: block; font-size: 1.1rem; color: #fff; }
.rx-budget .big { grid-column: 1 / -1; border-color: rgba(217,185,72,.5); }
.rx-budget .big b { font-size: 1.5rem; }
.rx-evcard { border: 1px solid rgba(217,185,72,.4); border-radius: 14px; padding: 12px; margin-bottom: 10px;
  background: linear-gradient(160deg, rgba(217,185,72,.12), rgba(217,185,72,.02)); }
.rx-summary h4 { margin: 18px 0 8px; font-family: Cinzel, serif; color: var(--rx-gold); }
.rx-notes { margin: 0; padding-left: 18px; line-height: 1.7; color: var(--rx-ink); }
.rx-bw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.rx-bw > div { border-radius: 12px; padding: 10px 12px; border: 1px solid; }
.rx-bw .good { border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.07); }
.rx-bw .weak { border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.07); }
.rx-bw small { display: block; color: var(--rx-mid); font-size: .74rem; }
.rx-bw b { display: block; margin: 2px 0; }
.rx-bw span { color: var(--rx-mid); font-size: .84rem; }
.rx-weeks { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 6px 0; border-bottom: 1px solid var(--rx-line); }
.rx-weeks > div { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.rx-weeks i { display: block; width: 100%; min-height: 2px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--rx-gold), var(--rx-gold-2)); opacity: .75; }
.rx-weeks .good i { background: #4ade80; opacity: 1; }
.rx-weeks .weak i { background: #f87171; opacity: 1; }
.rx-tablewrap { overflow-x: auto; }
.rx-mtable { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 560px; }
.rx-mtable th, .rx-mtable td { padding: 7px 8px; border-bottom: 1px solid var(--rx-line); text-align: right; white-space: nowrap; }
.rx-mtable th:first-child, .rx-mtable td:first-child { text-align: left; }
.rx-mtable th { color: var(--rx-mid); font-weight: 700; font-size: .74rem; }
.rx-cats > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; gap: 8px; align-items: center; padding: 5px 0; font-size: .84rem; }
.rx-cats i { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.rx-cats em { display: block; height: 100%; background: linear-gradient(90deg, var(--rx-gold-2), var(--rx-gold)); }
@media (max-width: 560px) { .rx-bw { grid-template-columns: 1fr; } .rx-orow { grid-template-columns: 1fr 70px 64px; } }
@media print {
  .rx-tabs, .ra-head .rx-btn, #suCsv, #suPrint, nav, header, footer, .il-bnav, .rx-toast { display: none !important; }
  body, .rx-panel { background: #fff !important; color: #000 !important; }
  .rx-summary * { color: #000 !important; }
}
