/* Reach-outs and the Prospects tab - its own file, outside index.html. v1356 */
.ro-err{ background:#fdecea; border:1px solid #f3c2bd; color:#a03028; border-radius:10px; padding:9px 12px; font-weight:700; margin:8px 0; }
.ro-bar{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin:4px 0 10px; }
.ro-count{ font-weight:700; color:var(--muted); font-size:13.5px; }
.ro-count b{ color:var(--navy); font-weight:900; }
.ro-count .ro-duen{ color:#b5342f; }
.ro-sorts{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:12px; font-weight:800; color:var(--muted); }
.ro-sort{ height:36px; border:1.5px solid var(--line); border-radius:9px; background:#fff; color:var(--navy); font:inherit; font-weight:800; font-size:12.5px; padding:0 11px; cursor:pointer; }
.ro-sort.on{ background:var(--royal); border-color:var(--royal); color:#fff; }
.ro-sub{ font-size:12px; font-weight:900; color:var(--muted); margin:16px 0 8px; text-transform:uppercase; letter-spacing:.03em; }

.ro-row{ background:#fff; border:1px solid var(--line); border-left:4px solid var(--line); border-radius:12px; padding:10px 12px; margin-bottom:10px; }
.ro-row.is-due{ border-left-color:#e8862e; }
.ro-top{ display:grid; grid-template-columns:36px minmax(160px,1.1fr) minmax(0,1.2fr) auto; gap:10px; align-items:center; }
.ro-car{ width:36px; height:36px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--royal); font-size:15px; cursor:pointer; }
.ro-who{ min-width:0; display:flex; flex-direction:column; }
.ro-who i{ font-style:normal; font-size:12px; font-weight:600; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ro-name{ font-weight:900; color:var(--navy); cursor:pointer; font-size:14.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ro-name:hover{ color:var(--royal); text-decoration:underline; }
.ro-svcs{ display:flex; gap:5px; flex-wrap:wrap; min-width:0; }
.ro-svc{ display:inline-flex; align-items:center; min-height:24px; padding:2px 9px; border-radius:999px; font-size:11.5px; font-weight:800; background:#eef1f6; color:var(--navy); }
.ro-svc.ro-w2{ background:#e6ecfe; color:#2547d6; }
.ro-svc.ro-hc{ background:#e7f6df; color:#3c8a1f; }
.ro-svc.ro-block{ background:#fdeede; color:#b3611a; }
.ro-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; font-size:12px; font-weight:700; color:var(--muted); text-align:right; }
.ro-due{ font-weight:900; color:var(--navy); }
.ro-due.late{ color:#b5342f; }
.ro-ups{ color:var(--royal); font-weight:800; cursor:pointer; }
.ro-acts{ display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; padding-left:46px; }
.ro-acts .cl-btn.on{ border-color:var(--royal); color:var(--royal); background:#f4f7ff; }
.ro-strip{ margin:10px 0 0 46px; background:#f7f9fe; border:1px solid #dfe6fb; border-radius:10px; padding:10px 12px; font-size:13px; font-weight:700; color:var(--navy); }
.ro-strip .cl-foot{ flex-wrap:wrap; }
.ro-bad{ color:#b5342f; }
.ro-again{ display:flex; flex-direction:column; gap:3px; font-size:11.5px; font-weight:800; color:var(--muted); }
.ro-againrow{ display:flex; gap:6px; align-items:center; }
.ro-n{ width:88px; }
.ro-u{ width:110px; }
.ro-on{ font-size:12.5px; font-weight:800; color:var(--navy); white-space:nowrap; }
.ro-ta{ height:auto; min-height:72px; padding:8px 10px; resize:vertical; }
.ro-nb{ background:#fff; border:1px solid var(--line); border-radius:9px; padding:8px 10px; white-space:pre-wrap; }
.ro-nsec{ margin-top:10px; background:#fff; border:1px solid var(--line); border-radius:9px; padding:8px 10px; }
.ro-nsec b{ display:block; font-size:12px; font-weight:900; color:var(--muted); margin-bottom:3px; }
.ro-nsec div{ white-space:pre-wrap; font-weight:600; }
.ro-hist{ margin:10px 0 0 46px; }
.ro-facts{ background:#f7f9fe; border:1px solid #dfe6fb; border-radius:10px; padding:8px 11px; font-size:12.5px; font-weight:700; color:var(--navy); line-height:1.5; }
.ro-h{ display:grid; grid-template-columns:24px 64px minmax(0,1fr); gap:4px 8px; padding:6px 0; border-bottom:1px solid var(--line); font-size:12.5px; font-weight:700; color:var(--navy); }
.ro-h:last-child{ border-bottom:0; }
.ro-hn{ color:var(--muted); }
.ro-hd{ color:var(--muted); }
.ro-hnote{ grid-column:3; color:#5a6478; font-weight:600; font-style:italic; }
.ro-wait{ display:grid; grid-template-columns:minmax(160px,1fr) minmax(0,1.2fr) auto; gap:10px; align-items:center; background:#fff; border:1px solid var(--line); border-left:4px solid var(--royal); border-radius:12px; padding:10px 12px; margin-bottom:8px; }
.ro-rowbtn{ margin:0 10px 0 auto; align-self:center; flex:none; }

/* the customer's Reach-outs tab */
.ro-cardtop{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.ro-crow{ display:grid; grid-template-columns:110px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px 10px; border:1px solid var(--line); border-radius:10px; margin-bottom:7px; cursor:pointer; background:#fff; }
.ro-crow:hover{ border-color:var(--royal); }
.ro-cwho{ display:flex; flex-direction:column; min-width:0; }
.ro-cwho b{ font-size:13.5px; color:var(--navy); }
.ro-cwho i{ font-style:normal; font-size:12px; font-weight:600; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ro-cn{ font-size:12px; font-weight:800; color:var(--muted); }
.ro-st{ display:inline-flex; align-items:center; justify-content:center; min-height:26px; border-radius:999px; font-size:11.5px; font-weight:900; background:#eef1f6; color:var(--navy); padding:0 10px; }
.ro-st-booked{ background:#e7f6df; color:#3c8a1f; }
.ro-st-stopped{ background:#fdecea; color:#b5342f; }
.ro-st-archived{ background:#eef1f6; color:#6b7488; }
.ro-st-p{ background:#ede7fd; color:#7c3aed; }

/* the reach-out itself */
body.ro-lock{ overflow:hidden; }
.ro-ov{ position:fixed; inset:0; background:rgba(22,36,107,.35); z-index:9000; display:flex; align-items:center; justify-content:center; padding:16px; }
.ro-pan{ background:#fff; border-radius:16px; width:min(720px,100%); max-height:calc(100vh - 32px); display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(22,36,107,.3); font-family:Nunito,system-ui,sans-serif; }
.ro-ph{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 16px; border-bottom:1px solid var(--line); }
.ro-ph b{ display:block; font-size:17px; font-weight:900; color:var(--navy); }
.ro-ph i{ font-style:normal; font-size:12.5px; font-weight:700; color:var(--muted); }
.ro-close{ width:36px; height:36px; border:1px solid var(--line); border-radius:9px; background:#fff; font-size:20px; color:var(--navy); cursor:pointer; }
.ro-pb{ padding:4px 16px 14px; overflow-y:auto; }
.ro-pb .cl-row2 label{ display:flex; flex-direction:column; gap:3px; font-size:11.5px; font-weight:800; color:var(--muted); }
.ro-fixed{ height:36px; display:flex; align-items:center; font-weight:800; font-size:13px; color:var(--navy); background:#f4f7ff; border:1px solid #dfe6fb; border-radius:9px; padding:0 12px; }
.ro-qrow{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:7px 0; border-bottom:1px solid var(--line); }
.ro-qrow .ro-svc{ min-height:30px; font-size:12.5px; }
.ro-q{ display:flex; align-items:center; gap:6px; margin-left:auto; font-size:11.5px; font-weight:800; color:var(--muted); }
.ro-dollar{ display:flex; align-items:center; gap:3px; }
.ro-dollar i{ font-style:normal; font-weight:900; color:var(--navy); }
.ro-x{ width:36px; height:36px; border:1px solid var(--line); border-radius:9px; background:#fff; color:#b5342f; font-size:18px; cursor:pointer; }
.ro-pf{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:12px 16px; border-top:1px solid var(--line); }
.ro-pf .ro-alt{ background:#7c3aed; }
.ro-pf .ro-red, .ro-strip .ro-red{ background:#b5342f; }
.ro-nbrow{ display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap; width:100%; font-size:13px; font-weight:700; color:var(--navy); }
.ro-nbrow label{ display:flex; flex-direction:column; gap:3px; font-size:11.5px; font-weight:800; color:var(--muted); min-width:180px; }
.ro-status{ font-weight:900; color:var(--navy); margin-right:auto; }

@media (max-width:760px){
  .ro-top{ grid-template-columns:36px minmax(0,1fr); }
  .ro-top .ro-svcs, .ro-top .ro-meta{ grid-column:2; }
  .ro-meta{ align-items:flex-start; text-align:left; }
  .ro-acts, .ro-strip, .ro-hist{ padding-left:0; margin-left:0; }
  .ro-acts .cl-go, .ro-acts .cl-btn{ flex:1 1 30%; }
  .ro-wait{ grid-template-columns:1fr; }
  .ro-crow{ grid-template-columns:1fr auto; }
  .ro-crow .ro-cwho{ grid-column:1/-1; grid-row:2; }
  .ro-ov{ padding:0; align-items:stretch; }
  .ro-pan{ border-radius:0; max-height:none; height:100%; }
  .ro-q{ margin-left:0; }
}

/* possible duplicate on a request. v1361 */
.ro-who .ro-dup{ color:#b5342f; font-weight:800; white-space:normal; }

/* duplicate detected. v1362 */
.ro-wbtns{ display:flex; gap:6px; align-items:center; justify-content:flex-end; flex-wrap:wrap; }
.ro-dupbtn{ border-color:#f3c2bd; color:#b5342f; }
.ro-dupbox{ margin:-4px 0 10px !important; }
.ro-duprow{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 0; border-top:1px solid var(--line); }
.ro-duprow span{ display:flex; flex-direction:column; min-width:0; }
.ro-duprow i{ font-style:normal; font-size:12px; font-weight:600; color:var(--muted); }
.ro-dupon{ font-size:12px; font-weight:800; color:var(--muted); flex:none; }

/* one line that wraps instead of cutting off; nicer duplicate buttons. v1363 */
.ro-who i.ro-wrap{ white-space:normal; overflow:visible; }
.ro-duprow .cl-go{ height:36px; padding:0 16px; border-radius:999px; font-size:12.5px; white-space:nowrap; flex:none; min-width:0; background:#fff; color:var(--royal); border:1.5px solid var(--royal); box-shadow:none; }
.ro-duprow .cl-go:hover{ background:var(--royal); color:#fff; }
.ro-dupon{ display:inline-flex; align-items:center; height:28px; padding:0 12px; border-radius:999px; background:#e7f6df; color:#3c8a1f !important; font-size:12px; font-weight:900; }
.ro-dupbtn{ border-radius:999px; background:#fdecea; border:1.5px solid #f3c2bd; color:#b5342f; font-weight:900; }
.ro-wbtns .cl-go{ border-radius:999px; padding:0 18px; }
.ro-duprow span b{ color:var(--navy); }
/* the pill is a span too - keep its words in the middle, same height as the buttons. v1774 */
.ro-duprow span.ro-dupon{ display:inline-flex; flex-direction:row; align-items:center; justify-content:center; height:36px; padding:0 16px; line-height:1; white-space:nowrap; flex:none; }

.ro-who i.ro-newaddr{ color:#2547d6; font-weight:800; }

.ro-setup{ align-self:flex-start; margin-top:6px; height:32px; padding:0 14px; border-radius:999px; border:1.5px solid var(--royal); background:#fff; color:var(--royal); font:inherit; font-size:12.5px; font-weight:900; cursor:pointer; }
.ro-setup:hover{ background:var(--royal); color:#fff; }

/* A request on a phone: name, what it is, services, then the buttons full
   width - one thing under another, nothing squeezed. v1370 */
@media (max-width:760px){
  .ro-wait{ display:flex; flex-direction:column; align-items:stretch; gap:8px; }
  .ro-wait .ro-name{ white-space:normal; }
  .ro-wait .ro-who i{ white-space:normal; }
  .ro-wait .ro-wbtns{ justify-content:stretch; }
  /* Follow up, Did not book and Open share one row on a phone. v1386 */
  .ro-wait .ro-wbtns{ flex-wrap:wrap; }
  /* eight buttons squeezed into one line cut their words off - they wrap now,
     each as wide as its word, and Open gets its own full row. Adam, 1 Oct 2026. v1414 */
  .ro-wait .ro-wbtns > button{ flex:1 1 auto; min-width:0; padding:0 12px; white-space:nowrap; font-size:13px; }
  .ro-wait .ro-wbtns > .cl-go{ flex:1 1 100%; }
  .ro-wait .ro-wbtns > .ro-dupbtn{ flex:1 1 100%; }
  .ro-duprow{ flex-wrap:wrap; }
  .ro-duprow .cl-go{ flex:1 1 100%; }
  .ro-bar{ flex-direction:column; align-items:flex-start; }
  .ro-sorts{ width:100%; }
  .ro-sort{ flex:1 1 auto; }
  .ro-cardtop .cl-go{ width:100%; }
}

/* How requests are going - the numbers on the Prospects tab. v1383 */
.ro-nx{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin:0 0 14px; }
.ro-nx-toggle{ margin:0 0 10px; }
.ro-nx-head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.ro-nx-head b{ font-size:14px; font-weight:900; color:var(--navy); text-transform:uppercase; letter-spacing:.03em; }
.ro-nx-head .muted{ font-size:12px; flex:1 1 200px; }
.ro-nx-figs{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:8px; margin-bottom:12px; }
.ro-nx-fig{ border:1px solid #eef1f8; border-radius:10px; padding:8px 10px; display:flex; flex-direction:column; }
.ro-nx-fig span{ font-size:11.5px; font-weight:800; color:var(--muted); }
.ro-nx-fig b{ font-size:22px; font-weight:900; color:var(--navy); line-height:1.2; font-variant-numeric:tabular-nums; }
.ro-nx-fig i{ font-style:normal; font-size:11.5px; font-weight:700; color:var(--muted); }
.ro-nx-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:10px; }
.ro-nx-card{ border:1px solid #eef1f8; border-radius:12px; padding:10px 12px; min-width:0; }
.ro-nx-h{ font-size:12px; font-weight:900; color:#2547d6; text-transform:uppercase; letter-spacing:.03em; margin-bottom:6px; }
.ro-nx-note{ font-size:11.5px; font-weight:700; color:var(--muted); margin:0 0 8px; }
.ro-nx-donut{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.ro-nx-donut svg circle{ cursor:default; }
.ro-nx-dn{ font-size:24px; font-weight:900; fill:#16246b; }
.ro-nx-dl{ font-size:11px; font-weight:800; fill:#6b7488; }
.ro-nx-leg{ display:flex; flex-direction:column; gap:6px; flex:1 1 150px; }
.ro-nx-leg div{ display:grid; grid-template-columns:12px 1fr auto 38px; gap:8px; align-items:center; font-size:12.5px; font-weight:700; color:var(--navy); }
.ro-nx-leg i{ width:12px; height:12px; border-radius:3px; }
.ro-nx-leg b{ font-weight:900; font-variant-numeric:tabular-nums; }
.ro-nx-leg em{ font-style:normal; color:var(--muted); text-align:right; font-variant-numeric:tabular-nums; }
.ro-nx-bars{ display:flex; flex-direction:column; gap:7px; }
.ro-nx-bar{ display:grid; grid-template-columns:minmax(90px, 38%) 1fr 104px; gap:8px; align-items:center; font-size:12.5px; }
.ro-nx-k{ font-weight:800; color:var(--navy); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ro-nx-track{ height:12px; background:#eef1f8; border-radius:4px; overflow:hidden; }
.ro-nx-fill{ display:block; height:100%; background:#2547d6; border-radius:0 4px 4px 0; }
.ro-nx-bar b{ font-weight:800; color:var(--muted); font-size:12px; white-space:nowrap; text-align:right; font-variant-numeric:tabular-nums; }
.ro-nx-bar:hover .ro-nx-fill{ background:#16246b; }
@media (max-width:760px){ .ro-nx-bar{ grid-template-columns:1fr auto; } .ro-nx-track{ grid-column:1 / -1; grid-row:2; } }

/* Did not book detail under the chart. v1385 */
.ro-nx-why{margin-top:10px;border-top:1px solid #eef1f7;padding-top:8px;font-size:12.5px;color:#4a5368;line-height:1.5}
.ro-nx-why b{color:#16246b}
.ro-nm{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ro-cust{display:inline-block;background:#eefbe9;color:#2f7d18;border:1px solid #bfe6ae;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:800;line-height:16px}
/* Price per service: exact or a typical range. v1386 */
.ro-qr2{ gap:8px; }
.ro-qr2 .ro-dollar input, .ro-rng .ro-dollar input{ width:88px; }
.ro-rng{ display:inline-flex; align-items:center; gap:6px; }
.ro-rng b{ font-size:12px; color:var(--muted); font-weight:800; }
.ro-rgbtn{ height:36px; border:1px solid var(--line); background:#fff; color:var(--muted); border-radius:999px; padding:0 12px; font:inherit; font-size:12px; font-weight:800; cursor:pointer; white-space:nowrap; }
.ro-rgbtn.on{ background:#eef2ff; border-color:var(--royal); color:var(--royal); }
.ro-qr2 .ro-rgbtn{ margin-left:auto; }
.ro-qbox{ flex:1 1 100%; }
.ro-qsum{ font-size:12.5px; color:var(--muted); font-weight:700; padding:6px 0; }
.ro-qsum b{ color:var(--navy); }
@media (max-width:760px){ .ro-qr2 .ro-rgbtn{ margin-left:0; } }
/* Fill our day - the offer chip on a request or prospect, and its box. v1399 */
.ro-fd{display:inline-block;background:#f3edfe;color:#5b21b6;border:1px solid #d9c8fb;border-radius:999px;padding:1px 9px;font-size:11px;font-weight:800;line-height:18px;white-space:nowrap}
.ro-fdamt{display:flex;align-items:center;gap:4px;font-weight:800;color:var(--navy)}
.ro-fdamt .ro-n{width:88px;height:36px}
.ro-fdbtn.on{background:#f3edfe;border-color:#7c3aed;color:#5b21b6}
/* Offered discount: $ or % and the date pickers beside reach out again. v1402 */
.ro-unit{display:inline-flex;gap:4px;margin-right:4px}
.ro-unit .cl-pill{min-width:36px;height:36px;padding:0 10px}
.ro-date{height:36px;width:auto;min-width:150px}
.ro-or{font-size:12px;font-weight:800;color:#5b6788;white-space:nowrap}
.ro-againrow{flex-wrap:wrap}

/* ONE ROW LOOK on every Customers & Leads tab - Requests, Prospects, Customers,
   Did not book and Archived - slim, so more fit on a screen. Adam, 1 Oct 2026. v1417 */
.ro-row{ padding:8px 12px; margin-bottom:8px; }
.ro-acts{ margin-top:8px; }
.ro-row.ro-req{ border-left-color:var(--royal); }
.ro-top.ro-top-req{ grid-template-columns:minmax(180px,1.1fr) minmax(0,1.6fr); }
.ro-acts.ro-acts-req{ padding-left:0; }
.ro-acts.ro-acts2{ margin-top:6px; padding-top:6px; border-top:1px dashed var(--line); }
.ro-more.on{ border-color:var(--royal); color:var(--royal); background:#f4f7ff; }
.ro-row.ro-prow{ display:flex; align-items:center; gap:10px; border-left-color:var(--royal); }
.ro-prow .ro-top.ro-top-p{ flex:1 1 auto; min-width:0; grid-template-columns:minmax(0,1fr) auto; cursor:pointer; }
.ro-prow .rowcb-wrap{ flex:none; }
.ro-prow .ro-name{ pointer-events:none; }
@media (max-width:760px){
  .ro-top.ro-top-req{ grid-template-columns:minmax(0,1fr); }
  .ro-top.ro-top-req .ro-svcs{ grid-column:1; }
  .ro-prow .ro-top.ro-top-p{ grid-template-columns:minmax(0,1fr); }
  .ro-prow .ro-top.ro-top-p .ro-meta, .ro-prow .ro-top.ro-top-p .ro-who{ grid-column:1; }
  .ro-prow .ro-meta{ align-items:flex-start; text-align:left; }
  /* "Followed up" broke onto two lines - every button keeps its words on one. v1418 */
  .ro-acts .cl-go, .ro-acts .cl-btn{ flex:1 1 auto; white-space:nowrap; padding:0 12px; }
}

/* Prospects on a phone, tidied: name and follow-up date on one line, phone and
   follow-up count under it, the service chips, one short "added" line, then the
   five buttons in a single even row. Adam, 2 Oct 2026. v1426 */
@media (max-width:760px){
  .ro-row:not(.ro-req):not(.ro-prow){ padding:10px 12px; }
  .ro-top:not(.ro-top-req):not(.ro-top-p){ grid-template-columns:28px minmax(0,1fr) auto; gap:3px 10px; align-items:start; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) > .ro-car{ grid-column:1; grid-row:1 / span 2; width:28px; height:36px; font-size:12px; border-radius:8px; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) > .ro-who{ grid-column:2; grid-row:1 / span 2; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) .ro-name{ font-size:16px; line-height:1.3; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) .ro-who i{ font-size:13px; margin-top:1px; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) > .ro-meta{ display:contents; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) .ro-due{ grid-column:3; grid-row:1; text-align:right; font-size:13px; white-space:nowrap; line-height:1.6; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) .ro-ups{ grid-column:3; grid-row:2; text-align:right; font-size:12.5px; white-space:nowrap; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) > .ro-svcs{ grid-column:2 / 4; grid-row:3; margin-top:6px; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) > .ro-meta > span:first-child{ grid-column:2 / 4; grid-row:4; font-size:12px; font-weight:600; color:var(--muted); text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; margin-top:4px; }
  .ro-row:not(.ro-req):not(.ro-prow) > .ro-acts:not(.ro-acts2){ display:flex; flex-wrap:nowrap; gap:5px; padding-left:0; margin-top:10px; }
  .ro-row:not(.ro-req):not(.ro-prow) > .ro-acts:not(.ro-acts2) > button{ flex:1 1 auto; min-width:0; padding:0 7px; font-size:13px; white-space:nowrap; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) .ro-name{ white-space:normal; overflow:visible; }
  .ro-top:not(.ro-top-req):not(.ro-top-p) .ro-svcs{ gap:5px; }
  .ro-row:not(.ro-req):not(.ro-prow) > .ro-acts.ro-acts2{ padding-left:0; }
}

/* Requests on a phone, the same slim look Prospects got: name on top, one
   short info line, the service chips, then the eight buttons in an even
   four-across grid instead of a tall stack. Adam, 2 Oct 2026. v1428 */
@media (max-width:760px){
  .ro-row.ro-req{ padding:10px 12px; }
  .ro-top.ro-top-req{ gap:4px; }
  .ro-top.ro-top-req .ro-name{ font-size:16px; line-height:1.3; }
  .ro-top.ro-top-req .ro-who i.ro-wrap{ font-size:12.5px; line-height:1.4; margin-top:1px; }
  .ro-top.ro-top-req .ro-svcs{ margin-top:4px; }
  .ro-row.ro-req > .ro-acts.ro-acts-req{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:5px; margin-top:8px; padding-left:0; }
  .ro-row.ro-req > .ro-acts.ro-acts-req > button{ min-width:0; height:36px; padding:0 4px; font-size:12.5px; line-height:1.1; white-space:normal; text-align:center; }
  .ro-row.ro-req > .ro-acts.ro-acts-req > .ro-dupbtn{ grid-column:1 / -1; }
}

/* a duplicate whose owner deleted their app account says so. v1781 */
.ro-duprow span .ro-delacct{ display:inline-block; align-self:flex-start; margin-top:4px; font-size:11.5px; font-weight:800; color:#b65d0c; background:#fff1e3; border-radius:99px; padding:2px 9px; height:auto; }

/* Prospect rows, cleaned up. Adam, 1 Nov 2026. v1884 */
.ro-row2{ padding:12px 14px; }
.ro2-top{ display:flex; align-items:center; gap:10px; }
.ro2-who{ flex:1; min-width:0; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.ro2-who .ro-name{ font-weight:900; font-size:16px; color:#16246b; cursor:pointer; }
.ro2-sub{ color:#5b6478; font-size:13px; font-weight:700; }
.ro2-due{ flex:none; }
.ro2-mid{ margin:6px 0 0 46px; display:flex; flex-direction:column; gap:4px; }
.ro2-meta{ color:#5b6478; font-size:12.5px; font-weight:700; }
.ro-row2 .ro-acts{ margin:10px 0 0 46px; display:flex; flex-wrap:wrap; gap:8px; }
@media (max-width:640px){ .ro2-top{ flex-wrap:wrap; } .ro2-due{ width:100%; padding-left:46px; } .ro2-mid, .ro-row2 .ro-acts{ margin-left:0; } }
.ro2-trk{ padding:2px 0 0 34px; }

/* Prospects and Requests as slim rows, the way Jobber and Housecall Pro list
   leads: name, one gray line, when on the right. Tap for the buttons.
   Adam, 5 Nov 2026. v1931 */
.ro-mr .mr-x .ro-strip, .ro-mr .mr-x .ro-hist { margin-left:0; }
.ro-mr .mr-x .ro2-trk{ padding-left:0; }
.ro-mr .mr-x .ro-acts2{ margin-top:0; padding-top:8px; border-top:1px dashed var(--line); }
.ro-mr .mr-x .ro-ups{ cursor:pointer; text-decoration:underline; }
.ro-mr .mr-x .ro-dup{ color:#b5342f; }
.ro-mr .mr-x .ro-setup{ align-self:flex-start; }
.ro-mr .mr-r > span:last-child{ font-size:12px; font-weight:700; }
@media (max-width:760px){
  .ro-bar{ flex-wrap:nowrap; gap:8px; }
  .ro-count{ flex:none; }
  .ro-sorts{ flex-wrap:nowrap; overflow-x:auto; min-width:0; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .ro-sorts::-webkit-scrollbar{ display:none; }
  .ro-sorts > button{ flex:none; }
}
/* Customers, Did not book and Archived on a phone: one line for the name and
   its tags, one for the email and phone, the date on the right. v1931 */
.ro-prow .ro-top.ro-top-p{ grid-template-columns:minmax(0,1fr) auto 14px; }
.ro-prow .ro-top.ro-top-p::after{ content:'\203A'; color:#8a94a6; font-size:22px; font-weight:700; line-height:1; text-align:center; }
@media (max-width:760px){
  .ro-row.ro-prow{ padding:8px 10px; margin-bottom:6px; gap:8px; }
  .ro-prow .ro-top.ro-top-p{ grid-template-columns:minmax(0,1fr) auto 14px; gap:8px; align-items:center; }
  .ro-prow .ro-top.ro-top-p .ro-who, .ro-prow .ro-top.ro-top-p .ro-meta{ grid-column:auto; }
  .ro-prow .ro-meta{ align-items:flex-end; text-align:right; font-size:11.5px; white-space:nowrap; }
  .ro-prow .ro-nm{ flex-wrap:nowrap; overflow:hidden; white-space:nowrap; min-width:0; }
  .ro-prow .ro-nm .ro-name{ flex:0 0 auto; max-width:72%; overflow:hidden; text-overflow:ellipsis; font-size:15px; }
  .ro-prow .ro-nm > span{ flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }
}
@media (max-width:760px){
  .ro-prow .ro-meta{ max-width:96px; white-space:normal; font-size:11px; line-height:1.25; }
}
/* the sign-in and card tags show on the customer's card one tap in; on a phone row
   they crowded the name down to two letters. v1931 */
@media (max-width:760px){
  .ro-prow .ro-nm .haslogin-chip, .ro-prow .ro-nm .nologin-chip{ display:none; }
  .ro-prow .ro-nm .ro-name{ max-width:100%; flex:0 1 auto; }
}
@media (max-width:760px){ .ro-prow .ro-meta{ max-width:none; white-space:nowrap; font-size:11.5px; } }
/* A prospect with a funnel: the step boxes and "Step 3 of 8 · ..." on one line
   under the name and service, the whole width of the row, never wrapping -
   the same strip as the gutter rows. Adam, 5 Nov 2026. v1938 */
.ro-mr.ro-hasf > .mr-h{ display:grid; grid-template-columns:minmax(0,1fr) auto 16px; column-gap:10px; row-gap:0; align-items:center; }
.ro-mr.ro-hasf > .mr-h > .mr-m{ display:contents; }
.ro-mr.ro-hasf > .mr-h .mr-t{ grid-column:1; grid-row:1; }
.ro-mr.ro-hasf > .mr-h .mr-s{ grid-column:1; grid-row:2; }
.ro-mr.ro-hasf > .mr-h > .mr-r{ grid-column:2; grid-row:1 / span 2; max-width:none; }
.ro-mr.ro-hasf > .mr-h > .mr-c{ grid-column:3; grid-row:1 / span 2; }
.ro-mr.ro-hasf > .mr-h .ro-fstrip{ grid-column:1 / -1; grid-row:3; min-width:0; overflow:hidden; margin-top:4px; }
.ro-fstrip .cbf-track{ display:flex; margin:0; max-width:100%; }

/* Reach-out history (was Requests). Adam, 10 Nov 2026 */
.rh-hint{ font-size:13px; color:var(--muted); margin:2px 0 10px; }
.rh-bar{ display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end; margin:0 0 8px; }
.rh-f{ display:flex; flex-direction:column; gap:3px; font-size:11.5px; font-weight:800; color:var(--muted); }
.rh-in{ height:36px; border:1.5px solid var(--line); border-radius:9px; background:#fff; color:var(--navy); font:inherit; font-size:13px; font-weight:700; padding:0 9px; min-width:0; }
.rh-row .mr-t{ flex-wrap:wrap; gap:4px; }
.rh-row .rh-out{ margin-top:4px; }
.rh-row .mr-s{ white-space:normal; overflow:visible; text-overflow:clip; }
@media (max-width:640px){
  .rh-bar{ display:grid; grid-template-columns:1fr 1fr; }
  .rh-bar .rh-in{ width:100%; }
}

/* Call, Text, Email, Notes, Archive, Delete on every person row. v1970 */
.ro-pacts{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 9px 40px}
.ro-pacts .cl-btn,.ro-pacts .cl-go,.ro-pacts .ro-sort{height:36px;display:inline-flex;align-items:center;text-decoration:none}
.rq-pick{margin-bottom:6px}
@media (max-width:560px){ .ro-pacts{padding-left:12px} }
.ro-pie{ margin:10px 0 4px; padding:10px 12px; border:1px solid #e3e8f2; border-radius:12px; background:#fff; }
.ro-pie-h{ font-weight:900; color:#16246b; font-size:14px; margin-bottom:6px; }
.ro-pie-b{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.ro-pie svg{ flex:none; width:240px; height:240px; max-width:100%; }   /* twice as big. Adam, 12 Nov 2026. v1976 */
.ro-pie-b{ font-size:15px; }

/* Requests: Show, count and Sort on one row. Adam, 12 Nov 2026. v1980 */
.rq-one{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.rq-one .ro-sorts{margin-left:auto}.rq-sel{height:36px;width:auto;min-width:0}
.ctabs .ctab-link{margin-left:auto;align-self:center;height:36px;padding:0 12px;border:1px solid #c9d4f2;border-radius:10px;background:#fff;color:#2547d6;font:inherit;font-weight:800;font-size:13px;cursor:pointer;white-space:nowrap}
/* Person rows on a phone: who on top, the buttons on their own line under it in
   even rows of three - never squeezed beside the name. Adam, 15 Nov 2026. v2065 */
@media (max-width:760px){
  .ro-row.ro-prow{ flex-wrap:wrap; }
  .ro-prow > .ro-top.ro-top-p{ flex:1 1 calc(100% - 40px); }
  .ro-prow > .ro-pacts{ flex:1 1 100%; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; padding:2px 0 2px 0; }
  .ro-prow > .ro-pacts .cl-btn, .ro-prow > .ro-pacts .cl-go{ justify-content:center; width:100%; box-sizing:border-box; padding:0 6px; }
}
@media (max-width:560px){
  .ro-prow > .ro-pacts{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ro-prow .ro-top.ro-top-p{ grid-template-columns:minmax(0,1fr) 14px; row-gap:2px; }
  .ro-prow .ro-top.ro-top-p > .ro-who{ grid-column:1; grid-row:1; }
  .ro-prow .ro-top.ro-top-p > .ro-meta{ grid-column:1; grid-row:2; max-width:none; text-align:left; align-items:flex-start; }
  .ro-prow .ro-top.ro-top-p::after{ grid-column:2; grid-row:1 / span 2; align-self:center; }
}
/* request rows: the buttons sit on the row itself, under the name - no tap to open them. Adam, 15 Nov 2026. v2072 */
.ro-req > .ro-rqacts{ padding:0 12px 10px; }
.ro-req.open > .mr-h{ border-bottom:0; }
.ro-req > .ro-rqacts + .mr-x{ border-top:1px solid var(--line,#e3e8f2); }
