/* Business Liftoff: mobile-only Lead Inbox v2. All desktop reporting stays unchanged. */
@media(max-width:800px){
 .blm-leads{max-width:640px;width:100%;min-width:0;margin:0 auto 0;padding:0 0 18px;color:#163955;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
 .blm-leads-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin:5px 0 19px}
 .blm-leads-head>div{min-width:0}
 .blm-leads-kicker{display:block;font:800 10px/1.35 system-ui,sans-serif;letter-spacing:.15em;color:#2789c1;margin:0 0 9px}
 .blm-leads-head h1{font:760 29px/1.12 system-ui,sans-serif!important;letter-spacing:-.045em;color:#0e345e!important;margin:0 0 5px!important}
 .blm-leads-head p{font:460 13px/1.45 system-ui,sans-serif;color:#617f99;margin:0}
 .blm-leads-app-link{font:650 12px/1.4 system-ui,sans-serif;color:#196dad;white-space:nowrap;padding:10px 0 5px;flex:none}
 .blm-lead-filters{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:0 1px 4px;margin:0 0 13px;-webkit-overflow-scrolling:touch}
 .blm-lead-filters::-webkit-scrollbar{display:none}
 .blm-lead-filters>button{flex:none;display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:99px;border:1px solid #d5e4f0;background:#fff;color:#38607e;min-height:37px;font:660 12px/1 system-ui,sans-serif;box-shadow:none}
 .blm-lead-filters>button[aria-pressed="true"]{color:#fff;background:#10589d;border-color:#10589d}
 .blm-lead-filters>button span{font:750 11px/1 system-ui,sans-serif;display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:999px;background:#e8f3fa;color:#275f81}
 .blm-lead-filters>button[aria-pressed="true"] span{background:#ffffff28;color:#fff}
 .blm-lead-list{display:grid;gap:10px;min-width:0}
 .blm-lead-card{width:100%;min-width:0;background:#fff;border:1px solid #d7e6f1;border-radius:15px;box-shadow:0 3px 12px #1a4e7910;overflow:hidden}
 .blm-lead-card[hidden]{display:none!important}
 .blm-lead-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:15px 15px;cursor:pointer;user-select:none;min-height:98px;touch-action:manipulation}
 .blm-lead-summary::-webkit-details-marker{display:none}
 .blm-lead-summary::marker{content:""}
 .blm-lead-main{display:flex;flex-direction:column;min-width:0;flex:1;gap:5px}
 .blm-lead-kind{font:730 10px/1.35 system-ui,sans-serif;letter-spacing:.065em;color:#287caa}
 .blm-lead-name{font:730 16px/1.25 system-ui,sans-serif;letter-spacing:-.017em;color:#133655;overflow-wrap:anywhere}
 .blm-lead-sub{font:440 12px/1.4 system-ui,sans-serif;color:#65829a}
 .blm-lead-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;flex:none;gap:8px}
 .blm-lead-state{border-radius:99px;padding:6px 9px;background:#e6f1f6;color:#496c7d;font:710 10px/1 system-ui,sans-serif;white-space:nowrap}
 .blm-state-new{background:#fff0e2;color:#ae611f}
 .blm-lead-arrow{font:750 19px/1 system-ui,sans-serif;color:#88a5ba;transform-origin:center;transition:transform .15s}
 .blm-lead-card[open] .blm-lead-arrow{transform:rotate(180deg)}
 .blm-lead-card[open] .blm-lead-summary{border-bottom:1px solid #e4edf4;background:#fafdff}
 .blm-lead-expanded{padding:14px 15px 16px;display:grid;gap:14px;min-width:0}
 .blm-lead-contact{display:grid;gap:6px;font:480 13px/1.4 system-ui,sans-serif;min-width:0}
 .blm-lead-contact strong{font-weight:730;color:#183a59}
 .blm-lead-contact a{color:#1177b4;overflow-wrap:anywhere;word-break:break-word;text-decoration:none}
 .blm-test-email{display:block;color:#92601e;font:590 11px/1.45 system-ui,sans-serif}
 .blm-lead-notes{font:455 13px/1.5 system-ui,sans-serif;color:#405e76;white-space:pre-wrap;overflow-wrap:anywhere}
 .blm-lead-alert{font:470 11px/1.5 system-ui,sans-serif;color:#72889a;border-top:1px solid #e5edf3;padding-top:11px}
 .blm-lead-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
 .blm-lead-buttons .btn{font:700 12px/1.3 system-ui,sans-serif;padding:11px 13px;border-radius:10px;white-space:normal;min-height:42px;text-align:center}
 .blm-leads-empty,.blm-leads-filter-empty{font:500 13px/1.55 system-ui,sans-serif;color:#678299;background:#fff;border:1px solid #d7e6f1;padding:19px;border-radius:14px;text-align:center}
 .blm-leads-filter-empty[hidden]{display:none!important}
 .blm-leads-footnote{font:420 11px/1.5 system-ui,sans-serif;text-align:center;color:#7a8ea0;margin:16px 0}
 .blm-lead-card summary:focus-visible,.blm-lead-filters button:focus-visible{outline:2px solid #0c8bcb;outline-offset:2px}
}
@media(max-width:365px){
 .blm-lead-summary{padding:13px 12px}
 .blm-lead-name{font-size:15px}
 .blm-lead-filters>button{padding:8px 9px;font-size:11px}
 .blm-leads-head h1{font-size:26px!important}
}

/* Lead filter refinements: all tabs visible without horizontal scrolling. */
@media(max-width:800px){
 .blm-leads .blm-lead-filters{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;
  width:100%;min-width:0;padding:0;margin:0 0 14px;overflow:visible;
 }
 .blm-leads .blm-lead-filters>button{
  flex:none;min-width:0;width:100%;min-height:42px;
  display:flex;align-items:center;justify-content:center;
  gap:4px;padding:8px 5px;border-radius:13px;
  white-space:nowrap;font:670 11.5px/1.2 system-ui,sans-serif;
 }
 .blm-leads .blm-lead-filters>button span{
  min-width:18px;width:18px;height:18px;font-size:10px;flex:none;
 }
}
@media(max-width:375px){
 .blm-leads .blm-lead-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blm-leads .blm-lead-filters>button{font-size:12px}
}

@media(max-width:800px){
 .blm-lead-card .blm-lead-buttons{gap:8px;display:flex;align-items:stretch;flex-wrap:wrap}
 .blm-lead-buttons .btn{min-height:40px;max-width:100%;white-space:normal}
 .blm-lead-buttons .blm-lead-delete{background:#fff;color:#a64a3c;border:1px solid #eed8d3;box-shadow:none}
 .blm-lead-team-note{border:1px solid #cfe2ed;background:#f1f8fc;border-radius:12px;padding:11px 13px;color:#254e69}
 .blm-lead-team-note strong{font:750 12px/1.5 system-ui,sans-serif;display:block;margin-bottom:5px}
 .blm-lead-team-note p{font:450 12px/1.5 system-ui,sans-serif;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
 .blm-payment-lock{background:#fff8ea;border:1px solid #f0d7a6;border-radius:12px;padding:12px 13px;display:grid;gap:5px;color:#78541e}
 .blm-payment-lock strong{font:750 12px/1.4 system-ui,sans-serif}
 .blm-payment-lock span{font:470 12px/1.5 system-ui,sans-serif}
 .blm-lead-state.blm-state-checkout{background:#e8f0fa;color:#1a5b96}
 .blm-archive-switch{display:block;width:100%;min-height:42px;margin:17px 0 5px;padding:10px 12px;border:1px solid #dce8f2;border-radius:12px;background:#fff;color:#386e94;font:700 12px/1.4 system-ui,sans-serif}
 .blm-archive-switch[aria-pressed="true"]{background:#e8f1f7;color:#1d5c8e}
}
