/* SplitTab | visual layer only. No external fonts, scripts, images or dependencies. */
:root { color-scheme:light; --st-bg:#f5f7fa; --st-ink:#18283d; --st-muted:#627287; --st-nav:#172a43; --st-blue:#285fd1; --st-blue-dark:#1f4fac; --st-border:#dee5ee; --st-soft:#f1f5fa; --st-white:#fff; --st-radius:18px; }
html { background:var(--st-bg); -webkit-text-size-adjust:100%; }
body { background:var(--st-bg) !important; color:var(--st-ink) !important; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif !important; line-height:1.45; font-size:16px; }
.st-header, body.host-wizard .st-header { background:var(--st-nav) !important; color:#fff; border-bottom:1px solid rgba(255,255,255,.12); padding:17px 18px !important; }
.st-header-inner { max-width:640px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:31px; }
.st-header .st-brand, .st-header a.st-brand { font-size:1.56rem; line-height:1.2; font-weight:820; letter-spacing:-.075rem; color:#fff; white-space:nowrap; text-decoration:none; }
.st-brand span { color:#9ac0ff; }
.st-header .st-page-label { font-size:.81rem; font-weight:650; color:#d3deed; text-align:right; letter-spacing:.01em; }
header .wrap.st-header-inner { max-width:540px; }
main { width:100%; }
main > nav a, .back, main > p > a { color:var(--st-blue-dark) !important; font-weight:650; text-decoration:none; }
section, .card, .allocation-card { border-color:var(--st-border) !important; }
section, .card { background:var(--st-white) !important; border-radius:var(--st-radius) !important; box-shadow:0 2px 10px rgba(18,35,58,.035); }
h1,h2,h3 { color:var(--st-ink); letter-spacing:-.025em; }
.st-header h1 { color:#fff; }
.muted,.hint,.sub,.email,.note,.guest-hint { color:var(--st-muted); }
button, .btn, .action, .send-action, .button, .host-choice { font-family:inherit; border-radius:14px !important; font-weight:740; touch-action:manipulation; }
button:not(:disabled), .btn, .action, .send-action, .button, .host-choice { -webkit-tap-highlight-color:rgba(40,95,209,.12); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .guest-choice:focus-visible { outline:3px solid #ffbb65 !important; outline-offset:3px; }
button:disabled { cursor:not-allowed; }
input, select, textarea { border-radius:12px; border-color:#cdd8e5; color:var(--st-ink); font-size:16px; }
/* Host entry: calm focus on taking a photo. */
body .card { padding:21px; }
body .event { color:var(--st-ink); font-size:1.38rem; font-weight:790; }
body .steps { color:#718096; background:#edf2f8; border-radius:11px; padding:11px 12px; margin:15px 0 19px; font-size:.78rem; }
body .btn:not(.alt), body .action, button:not(.secondary):not(.danger):not(:disabled) { background:var(--st-blue); color:#fff; }
body .btn:not(.alt):active, body .action:active, button:not(.secondary):not(.danger):not(:disabled):active { background:var(--st-blue-dark); }
body .btn.alt { background:#eaf1fb; color:#1b4b99; }
body .privacy { color:#687991; }
/* Receipt photo selection and review. */
.host-choice, .host-choice:not(.alt) { background:var(--st-blue) !important; color:#fff !important; border-radius:15px !important; min-height:60px; display:flex !important; align-items:center; justify-content:center; }
.host-choice.alt { background:#e9f0fb !important; color:#1c4b97 !important; }
#uploadButton { width:100%; min-height:61px; font-size:1.06rem; }
#uploadButton:disabled { background:#bac6d5 !important; color:#34445b !important; }
.host-review .item-row { padding:13px 0; }
.host-review .item-price { color:var(--st-ink); }
.host-review .edit-box { background:var(--st-soft); }
.host-review .receipt-total { border-color:var(--st-border); }
.host-review a.button, .host-review button { min-height:54px; }
/* Wizard: preserve one-item focus and the colour-coded guest selection. */
body.host-wizard #hostItemsSection, body.host-wizard #guestBillSection, body.host-wizard #hostTotalsSection, body.host-wizard #hostSaveSection { border-color:var(--st-border) !important; }
body.host-wizard #hostItemsSection { padding:19px !important; }
body.host-wizard .allocation-card>summary { background:#f0f4fa !important; border:1px solid #e4ebf4 !important; border-radius:18px !important; padding:20px 12px !important; }
body.host-wizard .allocation-card>summary .dish { font-size:1.48rem !important; letter-spacing:-.025em; color:#182c46 !important; }
body.host-wizard .allocation-card>summary .money { color:#1d3c68 !important; font-size:1.65rem !important; }
body.host-wizard .guest-choices { gap:12px !important; }
body.host-wizard .guest-choice { min-height:83px !important; border-radius:17px !important; font-size:1.16rem !important; font-weight:760 !important; line-height:1.2; border:2px solid #cbd6e4 !important; background:#f5f8fc !important; color:#18314b !important; padding:17px 10px !important; }
body.host-wizard .guest-choice[aria-pressed=true] { border-width:3px !important; }
body.host-wizard .guest-choice[data-host-color-index="0"][aria-pressed=true] { background:#dceafe !important; color:#133e85 !important; border-color:#245fc4 !important; }
body.host-wizard .guest-choice[data-host-color-index="1"][aria-pressed=true] { background:#daf3e5 !important; color:#14532d !important; border-color:#187344 !important; }
body.host-wizard .guest-choice[data-host-color-index="2"][aria-pressed=true] { background:#f0ddff !important; color:#682699 !important; border-color:#8a36bd !important; }
body.host-wizard .guest-choice[data-host-color-index="3"][aria-pressed=true] { background:#fff0cd !important; color:#7b4309 !important; border-color:#bd6d13 !important; }
body.host-wizard .guest-choice[data-host-color-index="4"][aria-pressed=true] { background:#d6f5f4 !important; color:#165b5d !important; border-color:#208385 !important; }
body.host-wizard .guest-choice[data-host-color-index="5"][aria-pressed=true] { background:#ffe1e1 !important; color:#922a34 !important; border-color:#c03d4d !important; }
body.host-wizard #hostWizardControls { border:1px solid #e8edf4; box-shadow:0 2px 14px rgba(25,43,69,.08); background:#fff; padding:9px !important; bottom:max(6px,env(safe-area-inset-bottom)); }
body.host-wizard #hostWizardControls button { min-height:64px; font-size:1.12rem; }
body.host-wizard #hostWizardNext { background:var(--st-blue) !important; }
body.host-wizard #hostWizardNext:disabled { background:#b1bfd0 !important; color:#34445e !important; }
body.host-wizard #hostWizardBack { background:#eaf0f7 !important; color:#224468 !important; }
body.host-wizard #hostTotalOverview { color:var(--st-ink); }
body.host-wizard #hostTotalOverview.is-ok { color:#17633d; }
body.host-wizard #hostSaveSection #saveButton { min-height:66px; }
body.host-wizard #hostDiscountChoice { border-radius:16px; background:#f2f7ff; border-color:#a8c3ee; }
/* Individual PDFs / recipient cards. */
.summary { background:#e9f7ed !important; color:#17603a !important; border-color:#cce8d4 !important; }
.guest-head .amount { color:#1d3658; }
.action, .send-action { min-height:64px; }
.send-action { background:#fff !important; color:#1e4fa5 !important; border:2px solid #2a5bc2 !important; }
.confirm input { accent-color:var(--st-blue); }
/* Accessibility: stable layout, no transitions/animations added by this theme. */
@media (max-width:385px) {
  .st-header .st-brand { font-size:1.43rem; }
  .st-header .st-page-label { font-size:.74rem; }
  body.host-wizard .guest-choice { font-size:1.06rem !important; padding:13px 7px !important; }
  body.host-wizard #hostItemsSection { padding:14px !important; }
}
.host-feedback-link{text-align:center;margin:18px 0 4px;font-size:.86rem}
.host-feedback-link a{color:#5a6d82;font-weight:650;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
@media print { .st-header { display:none !important; } }
/* Additive names for Quick Mode. Existing Host, admin and ticket rules are unchanged. */
:root {
  --qm-navy: var(--st-nav);
  --qm-action: var(--st-blue);
  --qm-action-dark: var(--st-blue-dark);
  --qm-success: #e3f3eb;
  --qm-success-ink: #14532d;
  --qm-canvas: var(--st-bg);
  --qm-ink: var(--st-ink);
  --qm-muted: var(--st-muted);
  --qm-line: var(--st-border);
  --qm-focus: #ffbb65;
}
.equal-food-setup{max-width:560px}
.equal-food-setup h2{margin:0 0 14px}
.equal-food-methods{display:flex;flex-direction:column;gap:0}
.equal-food-choice,.equal-food-guest{display:flex;align-items:flex-start;gap:12px;margin:0 0 10px;padding:14px 14px;border:1.5px solid var(--st-border);border-radius:14px;font-weight:700;min-height:52px}
.equal-food-choice:has(input:checked),.equal-food-guest:has(input:checked){border-color:#175ca8;background:#eef4fb;box-shadow:inset 0 0 0 1px #175ca8}
.equal-food-choice input,.equal-food-guest input{width:auto;height:auto;margin:3px 0 0;padding:0;border:0;border-radius:0;flex:0 0 auto;accent-color:#175ca8}
.equal-food-setup .primary,.equal-food-setup [data-equal-food-continue]{width:100%;min-height:52px;margin-top:12px}
.equal-food-setup [data-equal-food-cancel]{width:100%;min-height:48px}
@media(max-width:420px){.equal-food-choice,.equal-food-guest{font-size:1.02rem;padding:12px}}
