/* v11.3 studio referrals desk (loads after ranch-store.css + print-studio.css). */
.ref-totals { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:6px 0 14px; }
@media (min-width:760px) { .ref-totals { grid-template-columns:repeat(5,minmax(0,1fr)); } }
.ref-total { padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--card); text-align:center; min-width:0; }
.ref-total b { display:block; font:600 30px 'Cormorant Garamond',Georgia,serif; font-variant-numeric:lining-nums; color:var(--cream); line-height:1.1; }
.ref-total span { font-size:13px; color:var(--muted); }
.ref-toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
.ref-filters { margin:0 0 12px; }
.ref-filters button { min-height:40px; font-size:14px; }
.lead-card .desk-head h2 { font-size:1.45rem; overflow-wrap:anywhere; }
.lead-contact { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0; }
.lead-contact a { color:var(--gold2); overflow-wrap:anywhere; }
.flag { display:inline-block; padding:2px 8px; border-radius:999px; border:1px solid var(--warn); color:var(--warn); font:700 12px 'Barlow Condensed',sans-serif; letter-spacing:.08em; }
.flag.ok { border-color:var(--ok); color:var(--ok); }
.lead-status { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.lead-status button { min-height:44px; padding:6px 12px; border-radius:999px; border:1px solid var(--gold); background:transparent; color:var(--gold2);
  font:700 14px 'Barlow Condensed',sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.lead-status button[aria-pressed=true] { background:linear-gradient(#e7c887,#c99d55); color:#2a1b10; }
.lead-note { width:100%; min-height:44px; margin-top:8px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:#120b06; color:var(--cream); }
html[data-theme=day] .lead-note { background:#fffaf0; }
.status-chip.s-qualified, .status-chip.s-booked, .status-chip.s-issued, .status-chip.s-ready { border-color:var(--ok); color:var(--ok); }
.status-chip.s-rejected, .status-chip.s-void, .status-chip.s-cancelled { border-color:var(--err); color:var(--err); }
.acct-form { display:grid; gap:6px; margin-top:8px; }
@media (min-width:640px) { .acct-form { grid-template-columns:1fr 1fr auto; align-items:end; } }
.acct-form input { min-height:44px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:#120b06; color:var(--cream); width:100%; }
.acct-form label { display:flex; flex-direction:column; gap:3px; font-size:13px; color:var(--muted); min-width:0; }
code.coupon { font:700 15px 'Barlow Condensed',monospace; letter-spacing:.1em; color:var(--gold2); }
.lead-card .desk-actions { justify-content:flex-end; } .lead-card .desk-actions .btn-line.danger { flex:0 0 auto; min-height:44px; font-size:14px; padding:8px 14px; }

/* v11.4 friend gifts */
.offer-line { display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; }
.s-reserved, .s-used_event { border-color:var(--gold); }
.s-expired, .s-void { opacity:.75; }
