/* PlumberHub by ServiceLinked. Light, high-contrast, big targets: read on a phone in a truck.
   60-30-10 (ServiceFast brand doc): navy trust, white/charcoal structure, orange only for the action that matters. */
:root {
  --ink: #0b2545; --ink-2: #1d2939; --muted: #5b6576; --line: #dde3ec; --line-2: #c9d2df;
  --bg: #f3f6fa; --card: #ffffff; --wash: #f7f9fc;
  --blue: #1f6fb2; --blue-wash: #e8f1fb;
  --cta: #d9480f; --cta-press: #b83d0d; --cta-wash: #fff1e8;
  --gold: #c9a23a; --gold-ink: #7a5d10; --gold-wash: #fbf5e3;
  --good: #1a7f37; --good-wash: #e6f4ea; --bad: #b42318; --bad-wash: #fdecea; --warn-wash: #fff6dc;
  --star: #f2b01e; --star-off: #cfd6e1;
  --radius: 16px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bar: 64px; --tabs: 68px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 10px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; font-weight: 800; font-size: 22px; letter-spacing: -.3px; color: #fff; line-height: 1; }
.wordmark .wm { display: block; white-space: nowrap; }
.wordmark .wm span { color: var(--hub-accent, #ff8a3d); }
.wordmark small { font-size: 9.5px; letter-spacing: 2.6px; color: #e9c46a; margin-top: 4px; font-weight: 800; }
.wordmark.dark { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px;
  border: 2px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--cta); border-color: var(--cta); color: #fff; font-size: 17px; }
.btn.primary:hover { background: var(--cta-press); border-color: var(--cta-press); }
.btn.navy { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--blue); padding: 0 10px; }
.btn.danger { color: var(--bad); border-color: #f1c7c3; }
.btn.big { min-height: 56px; font-size: 18px; padding: 0 22px; width: 100%; }
.btn.sm { min-height: 40px; font-size: 14.5px; padding: 0 12px; border-radius: 10px; }
.btn[disabled], .btn.busy { opacity: .6; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.stack > * + * { margin-top: 12px; }

/* ---------- forms ---------- */
.f { display: grid; gap: 7px; margin-bottom: 16px; min-width: 0; align-content: start; }
.f label, .f .lbl { font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: .005em; }
.f .hint { font-size: 13px; color: var(--muted); line-height: 1.45; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cdd6e3; border-radius: 12px; background-color: #fff; font-size: 16px; color: var(--ink-2);
  box-shadow: inset 0 1px 2px rgba(16,24,40,.05); transition: border-color .15s, box-shadow .15s, background-color .15s; }
input:hover, select:hover, textarea:hover { border-color: #a6b4c8; }
input::placeholder, textarea::placeholder { color: #9aa5b6; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6576' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
input[readonly], textarea[readonly] { background-color: var(--wash); border-style: dashed; box-shadow: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,111,178,.16); background-color: #fff; }
.btn:focus-visible, .chip:focus-visible, .star:focus-visible { outline: 3px solid #9cc3ea; outline-offset: 1px; }
/* a "$" or "credits" inside the box; big = the amount in the credits sheet */
.inp { position: relative; }
.inp .pre, .inp .suf { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.inp .pre { left: 15px; font-size: 16px; }
.inp .suf { right: 14px; font-size: 13.5px; }
.inp.has-pre input { padding-left: 32px; }
.inp.has-suf input { padding-right: 84px; }
.inp input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.inp input::-webkit-outer-spin-button, .inp input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inp.big input { min-height: 62px; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.inp.big .suf { font-size: 15px; }
/* on/off switch for a yes/no setting */
.f .tgl { display: flex; gap: 12px; align-items: center; min-height: 50px; padding: 10px 14px; border: 1.5px solid #cdd6e3; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 99px; background: #cfd6e1; transition: background-color .2s; }
.tgl i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.3); transition: transform .2s; }
.tgl input:checked + i { background: var(--good); }
.tgl input:checked + i::after { transform: translateX(18px); }
.tgl input:focus-visible + i { outline: 3px solid #9cc3ea; outline-offset: 2px; }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 6px; height: 38px; border: 0; background: var(--wash); border-radius: 8px; padding: 0 12px; font-weight: 700; color: var(--ink); cursor: pointer; }
.err { color: var(--bad); font-weight: 600; min-height: 1px; margin: 4px 0 10px; }
.ok-msg { color: var(--good); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; }

/* ---------- auth screens ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; }
.auth-top { background: var(--ink); padding: 22px 20px 26px; }
.auth-card { width: min(460px, calc(100% - 32px)); margin: -14px auto 40px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 26px 22px; align-self: start; border: 1px solid var(--line); }
.auth-card h1 { margin-bottom: 6px; }
.auth-card .lede { color: var(--muted); margin-bottom: 18px; }
.magic { background: var(--bg); }
.magic-card { width: min(440px, calc(100% - 32px)); margin: 60px auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 28px 22px; text-align: center; border-top: 6px solid var(--ink); }
.magic-card .wordmark { color: var(--ink); align-items: center; margin-bottom: 18px; }
.magic-card h1 { margin-bottom: 8px; }

/* ---------- shell ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; height: calc(var(--bar) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 14px 0; display: flex; align-items: center; gap: 12px; }
.bar .wordmark { font-size: 20px; }
.bar .spacer { flex: 1; }
.bar .acct { font-size: 13px; color: #c8d3e3; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 10px; border-radius: 99px; border: 0; cursor: pointer; font-weight: 800; font-size: 14px; white-space: nowrap; }
.switch i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.switch.on { background: #1f8a46; color: #fff; }
.switch.off { background: #f4b740; color: #3a2a00; }
.switch.setup { background: rgba(255,255,255,.12); color: #e9c46a; cursor: default; }
.chip-bal { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 12px; border-radius: 99px; background: rgba(255,255,255,.12); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip-bal small { font-weight: 600; opacity: .8; font-size: 12.5px; }
.chip-bal svg { width: 20px; height: 20px; }
.wordmark small { white-space: nowrap; }
.bar .wordmark { flex: none; }
@media (max-width: 430px) {
  .bar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .bar .wordmark { font-size: 19px; }
  .bar .wordmark small { font-size: 8.5px; letter-spacing: 2px; }
  .switch { padding: 0 10px 0 9px; font-size: 13.5px; gap: 6px; }
  .chip-bal { padding: 0 10px; }
  .chip-bal small { display: none; }
}
.viewing { background: var(--gold-wash); color: var(--gold-ink); border-bottom: 1px solid #ecdcae; padding: 8px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.viewing select { min-height: 38px; padding: 4px 8px; width: auto; max-width: 60vw; font-size: 14px; }
main.page { width: min(860px, 100%); margin: 0 auto; padding: 16px 14px calc(var(--tabs) + 28px + env(safe-area-inset-bottom)); }
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--tabs) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabs a { display: grid; place-items: center; align-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 12.5px; font-weight: 700; position: relative; }
.tabs a svg { width: 25px; height: 25px; }
.tabs a.on { color: var(--ink); }
.tabs a.on::before { content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--cta); }
.tabs a b { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 19px; height: 19px; border-radius: 99px; background: var(--cta); color: #fff; font-size: 11.5px; display: grid; place-items: center; padding: 0 5px; }
@media (min-width: 960px) {
  .tabs { top: calc(var(--bar) + env(safe-area-inset-top)); bottom: 0; right: auto; width: 220px; height: auto; grid-auto-flow: row; grid-auto-rows: 56px; align-content: start; padding: 14px 10px; border-top: 0; border-right: 1px solid var(--line); gap: 4px; }
  .tabs a { grid-template-columns: 28px 1fr; justify-items: start; align-content: center; padding: 0 14px; border-radius: 12px; font-size: 15.5px; gap: 12px; }
  .tabs a.on { background: var(--blue-wash); }
  .tabs a.on::before { display: none; }
  .tabs a b { position: static; margin-left: auto; grid-column: 3; }
  .tabs a { grid-template-columns: 28px 1fr auto; }
  main.page { padding: 26px 30px 60px; margin-left: 220px; width: min(980px, calc(100% - 220px)); }
  main.page.wide { width: min(1240px, calc(100% - 220px)); padding: 28px 36px 60px; }
  .viewing { margin-left: 220px; }
}

/* Inline icons: small unless a component sizes them (buttons, tabs, stars, the record button). */
main svg { width: 18px; height: 18px; flex: none; }
.lead .meta span { display: inline-flex; align-items: center; gap: 4px; }
.lead .meta svg { width: 15px; height: 15px; }
.facts > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.facts svg { width: 17px; height: 17px; color: var(--muted); }
.tl .ic svg, .remind .ic svg { width: 17px; height: 17px; }
a.chip { text-decoration: none; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card + .card, .card + .sec, .sec + .card, .sec + .sec { margin-top: 14px; }
.card h2 { margin-bottom: 10px; }
.card.tight { padding: 14px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 22px 2px 10px; }
.sec-head h2 { font-size: 19px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--wash); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.pill.good { background: var(--good-wash); color: var(--good); border-color: #bfe3cb; }
.pill.bad { background: var(--bad-wash); color: var(--bad); border-color: #f4c7c2; }
.pill.warn { background: var(--warn-wash); color: #7a5300; border-color: #f2dc9b; }
.pill.blue { background: var(--blue-wash); color: var(--blue); border-color: #c3dbf3; }
.pill.cta { background: var(--cta-wash); color: var(--cta); border-color: #f9cdb3; }
.banner { border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-weight: 600; margin-bottom: 14px; }
.banner.off { background: #fff4d6; border: 2px solid #f4b740; color: #4a3500; }
.banner.info { background: var(--blue-wash); border: 1px solid #c3dbf3; color: var(--ink); }
.banner .grow { flex: 1; min-width: 200px; }

/* ---------- home ---------- */
.hello { display: flex; justify-content: space-between; align-items: end; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.hello h1 { font-size: 24px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.stat .v { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat .l { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
@media (max-width: 560px) {
  .stats { gap: 6px; }
  .stat { padding: 10px 6px; text-align: center; border-radius: 12px; }
  .stat .v { font-size: 21px; }
  .stat .l { font-size: 11px; letter-spacing: .03em; }
}
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 42px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--line-2); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { background: var(--cta); color: #fff; border-radius: 99px; font-size: 12px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
.chip.on b { background: #fff; color: var(--ink); }
.search { margin-bottom: 10px; }

/* lead list */
.leads { display: grid; gap: 10px; }
.lead { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 12px; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.lead:active { background: var(--wash); }
.lead .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; background: transparent; }
.lead.unseen .dot { background: var(--cta); }
.lead .who { font-weight: 800; font-size: 17px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead .what { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead .meta { grid-column: 2 / -1; display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--muted); }
.lead .side { display: grid; justify-items: end; gap: 6px; }
.lead.missed { border-left: 5px solid var(--bad); padding-left: 8px; }
.stars-mini { color: var(--star); font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.stars-mini .off { color: var(--star-off); }
.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty h2 { margin-bottom: 8px; }
.more { margin-top: 12px; }

/* onboarding: the setup screen before an account is live */
.setup-hero { background: linear-gradient(150deg, var(--ink) 0%, #12407a 100%); color: #c8d3e3; border-radius: var(--radius); padding: 20px 18px 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.setup-hero h1 { color: #fff; margin: 2px 0 14px; }
.progress { height: 10px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; min-width: 10px; border-radius: 99px; background: linear-gradient(90deg, #ff8a3d, var(--cta)); transition: width .4s ease; }
.steps li.now { margin: 0 -8px; padding: 12px 8px; border-radius: 14px; background: #fffaf6; border: 1px solid #f9cdb3; }
.steps li.later { opacity: .75; }
.steps li.now > div > b { font-size: 17px; }
.paysum { margin: 12px 0 0; }
.paycode { margin-top: 10px; }
.tour-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-top: 10px; }
.tour-track::-webkit-scrollbar { display: none; }
.tour-slide { scroll-snap-align: start; margin: 0; display: grid; gap: 14px; justify-items: center; padding: 4px 2px 2px; }
.tour-phone { width: min(230px, 62vw); aspect-ratio: 390 / 680; border-radius: 28px; border: 7px solid var(--ink); overflow: hidden; background: var(--bg); box-shadow: 0 14px 30px rgba(11,37,69,.2); }
.tour-phone img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.tour-slide figcaption { display: grid; gap: 4px; text-align: center; max-width: 440px; }
.tour-slide figcaption b { font-size: 18px; color: var(--ink); }
.tour-n { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--cta); }
@media (min-width: 640px) {
  .tour-slide { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 26px; padding-left: 8px; }
  .tour-slide figcaption { text-align: left; }
}
.tour-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.tour-nav .btn { min-width: 52px; font-size: 22px; line-height: 1; }
.tour-dots { display: flex; gap: 6px; }
.tour-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .2s, background .2s; }
.tour-dots i.on { width: 22px; background: var(--cta); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--wash); border: 2px solid var(--line-2); color: var(--ink); }
.steps .done .n { background: var(--good); border-color: var(--good); color: #fff; }
.steps .now .n { background: var(--cta); border-color: var(--cta); color: #fff; }
.steps b { color: var(--ink); }
.steps .act { margin-top: 8px; }

/* ---------- lead detail ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue); min-height: 44px; margin: -6px 0 4px; }
.lead-head h1 { font-size: 26px; margin: 4px 0 2px; }
.lead-head .issue { font-size: 18px; color: var(--ink-2); margin-bottom: 8px; }
.facts { display: grid; gap: 4px; color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.facts a { color: var(--ink); font-weight: 600; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .btn { min-height: 54px; }
.callback { background: var(--bad-wash); border: 2px solid #f4c7c2; color: var(--bad); border-radius: 14px; padding: 12px 14px; font-weight: 700; margin-bottom: 12px; }
audio { width: 100%; margin: 4px 0 6px; }
.speeds { display: flex; gap: 6px; }
.speeds button { min-height: 36px; min-width: 52px; border-radius: 9px; border: 2px solid var(--line-2); background: #fff; font-weight: 800; cursor: pointer; }
.speeds button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.summary { background: var(--blue-wash); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.summary .k { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--blue); text-transform: uppercase; }
details.tx summary { cursor: pointer; font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.tx-lines { display: grid; gap: 8px; margin-top: 6px; max-height: 420px; overflow: auto; padding-right: 4px; }
.tx-line { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 15px; }
.tx-line .who { font-weight: 800; color: var(--ink); font-size: 13px; padding-top: 2px; }
.tx-line.b .who { color: var(--blue); }

/* stars */
.rate { display: flex; gap: 8px; }
.star { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.star svg { width: 40px; height: 40px; color: var(--star-off); }
.star.lit svg { color: var(--star); }
.star.pick { border-color: var(--star); background: #fffaeb; color: var(--ink); }
.reasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* status */
.statuses { display: flex; flex-wrap: wrap; gap: 8px; }
.statuses .chip { min-height: 44px; }
.statuses .chip.on.won, .statuses .chip.on.booked { background: var(--good); border-color: var(--good); }
.statuses .chip.on.lost { background: #5b6576; border-color: #5b6576; }

/* recorder */
.rec { display: grid; gap: 10px; }
.rec-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 72px; border-radius: 18px; border: 0; background: var(--cta); color: #fff; font-size: 19px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(217,72,15,.28); }
.rec-btn svg { width: 30px; height: 30px; }
.rec-btn.live { background: var(--bad); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(180,35,24,.15); } }
.level { height: 8px; border-radius: 99px; background: #f1d3cc; overflow: hidden; }
.level i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .08s linear; }
.thinking { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--wash); border: 1px dashed var(--line-2); font-weight: 600; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--cta); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.result { border-radius: 14px; border: 2px solid var(--good); background: #fbfefc; padding: 14px; }
.result .said { font-style: italic; color: var(--ink-2); margin: 6px 0 10px; }
.remind { display: flex; gap: 10px; align-items: flex-start; background: var(--cta-wash); border: 1px solid #f9cdb3; border-radius: 12px; padding: 12px; margin-top: 8px; }
.remind .ic { font-size: 22px; line-height: 1; }
.remind b { color: var(--ink); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.typed { margin-top: 2px; }

/* timeline */
.timeline { display: grid; gap: 10px; }
.tl { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.tl .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--wash); border: 1px solid var(--line); font-size: 15px; }
.tl .when { font-size: 13px; color: var(--muted); }
.tl .body { font-size: 15px; }
.tl .q { font-style: italic; color: var(--ink-2); }

/* follow-ups */
.fu { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.fu .t { font-weight: 800; color: var(--ink); }
.fu .s { font-size: 14px; color: var(--muted); }
.group-h { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 2px 8px; }

/* money */
.balance .v { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.balance .v.low { color: var(--bad); }
.bar-meter { height: 14px; border-radius: 99px; background: #e8edf4; overflow: hidden; margin: 10px 0 6px; }
.bar-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #3d8bd0); border-radius: 99px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15.5px; }
.kv b { text-align: right; color: var(--ink); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.amounts .chip { justify-content: center; min-height: 52px; font-size: 17px; }
.ledger { display: grid; }
.lg { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 2px; border-top: 1px solid var(--line); }
.lg:first-child { border-top: 0; }
.lg .d { font-weight: 600; color: var(--ink); }
.lg .w { font-size: 13px; color: var(--muted); }
.lg .a { font-weight: 800; text-align: right; }
.lg .a.plus { color: var(--good); }
.lg .bal { font-size: 13px; color: var(--muted); text-align: right; }
.paybox { border: 2px solid var(--cta); background: #fffaf6; }
.paybox .total { font-size: 34px; font-weight: 800; color: var(--ink); }

/* sheet (bottom drawer) */
.sheet-bg { position: fixed; inset: 0; background: rgba(11,37,69,.45); z-index: 60; display: grid; align-items: end; }
.sheet { background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); width: min(560px, 100%); margin: 0 auto; max-height: 92vh; overflow: auto; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
.sheet h2 { margin-bottom: 6px; }
.sheet .opts { display: grid; gap: 10px; margin: 14px 0; }
.sheet .opts .btn { justify-content: flex-start; text-align: left; min-height: 60px; }
.sheet .opts .btn small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs) + 18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.toast.bad { background: var(--bad); }

/* ---------- admin ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 8px; border-bottom: 2px solid var(--line); }
.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 640px) { .tbl .wide { display: none; } }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.copy { display: flex; gap: 8px; }
.copy input { font-size: 13px; min-height: 42px; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
code.k { font-size: 13px; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* ---------- packages (Flow Start / Pressure Pro / Pipeline Elite) ---------- */
.pk-page { min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.pk-top { background: linear-gradient(160deg, var(--ink) 0%, #12407a 100%); color: #fff; padding: 24px 16px 70px; text-align: center; }
.pk-top .wordmark { align-items: center; margin-bottom: 18px; }
.pk-top h1 { color: #fff; font-size: clamp(28px, 6vw, 44px); }
.pk-top p { color: #c8d3e3; margin: 8px auto 0; max-width: 560px; }
.pk-main { width: min(1120px, calc(100% - 32px)); margin: -48px auto 40px; }
.pk-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.pk { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.pk header { padding: 22px 20px 18px; color: #fff; background: linear-gradient(150deg, #1f6fb2, var(--ink)); }
.pk.pressurepro header { background: linear-gradient(150deg, #e2601f, #b83d0d); }
.pk.pipelineelite header { background: linear-gradient(150deg, #1d2939, #0b1730); }
.pk header h2 { color: #fff; font-size: 26px; }
.pk.pipelineelite header h2 { color: #e9c46a; }
.pk-cr { margin-top: 4px; font-size: 15px; opacity: .92; }
.pk-cr b { font-size: 22px; }
.pk-price { margin-top: 10px; display: inline-block; background: rgba(255,255,255,.14); border-radius: 99px; padding: 4px 12px; font-size: 14.5px; }
.pk.pop { border: 2px solid var(--cta); box-shadow: 0 10px 30px rgba(217,72,15,.18); }
.pk-badge { position: absolute; top: 14px; right: 14px; background: #fff; color: var(--cta); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.pk dl { margin: 0; padding: 6px 18px 14px; }
.pk dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pk dl > div:last-child { border-bottom: 0; }
.pk dt { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-weight: 600; }
.pk dt svg { width: 18px; height: 18px; flex: none; color: var(--blue); margin-top: 1px; }
.pk dd { margin: 0; color: var(--ink); font-weight: 700; }
.pk .btn { margin: 0 18px 18px; width: calc(100% - 36px); }
.pk-fine { color: var(--muted); font-size: 13.5px; text-align: center; max-width: 760px; margin: 18px auto 0; }
.pk-cta { text-align: center; margin-top: 18px; font-weight: 600; color: var(--ink); }
.pk-pick { display: grid; gap: 8px; margin-bottom: 8px; }
.pk-opt { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; }
.pk-opt b { color: var(--ink); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pk-opt span.num { color: var(--muted); font-size: 14.5px; }
.pk-opt.on { border-color: var(--cta); background: var(--cta-wash); }

/* ServiceFast (Customers tab + lead card) */
.sf-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sf-stars { display: inline-flex; gap: 2px; color: #d6d9de; }
.sf-stars span.on { color: #e0a40f; }
.sf-stars svg { width: 18px; height: 18px; }
.sf-invite { background: var(--wash); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; overflow-x: auto; }
.sf-invite code { font-size: 14px; white-space: nowrap; }
.sf-pending { border-left: 4px solid var(--cta); }

/* ---------- command center ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.kpi .v { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.kpi .l { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.kpi.hot { border-color: #f4c7c2; background: var(--bad-wash); }
.kpi.hot .v { color: var(--bad); }
@media (max-width: 720px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .kpi .v { font-size: 22px; } }
.todo { display: grid; }
.todo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.todo-row:first-child { border-top: 0; }
.todo-row:hover { background: var(--wash); }
.todo-row b { color: var(--ink); }
.todo-row svg { color: var(--muted); }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .pipe { grid-template-columns: minmax(0, 1fr); } }
.pipe-col { background: var(--wash); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 90px; }
.pipe-h { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; padding: 2px 4px; }
.pipe-h span { color: var(--ink); }
.pipe-card { display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.pipe-card b { color: var(--ink); font-size: 14.5px; }
.pipe-card.us { border-left: 4px solid var(--cta); }
.pipe-empty { color: var(--muted); font-size: 13px; padding: 4px; }
.tbl .r { text-align: right; }
.nowrap { white-space: nowrap; flex-wrap: nowrap; }
.next { border: 2px solid var(--ink); }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.st { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); position: relative; }
.st::before { content: ''; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; border-radius: 3px; background: var(--line); }
.st:first-child::before { display: none; }
.st.done::before, .st.now::before { background: var(--good); }
.st i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: #fff; border: 2px solid var(--line-2); color: var(--ink); position: relative; }
.st i svg { width: 16px; height: 16px; }
.st.done i { background: var(--good); border-color: var(--good); color: #fff; }
.st.now i { background: var(--cta); border-color: var(--cta); color: #fff; box-shadow: 0 0 0 4px var(--cta-wash); }
.st.now { color: var(--ink); }
.next-body { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--wash); border-radius: 12px; padding: 14px; }
.next-body > div:first-child { flex: 1; min-width: 240px; }
.next-body .k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cta); }
.next-body h2 { margin: 2px 0 4px; }
.next-body p { margin: 0; }
.jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px 0; position: sticky; top: calc(var(--bar) + env(safe-area-inset-top)); z-index: 5; background: var(--bg); padding: 8px 0; }
.jump .chip { min-height: 38px; font-size: 14px; }
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { margin: 0; }
details.fold > summary::after { content: 'Edit'; margin-left: auto; font-weight: 700; color: var(--blue); font-size: 14.5px; }
details.fold[open] > summary { margin-bottom: 14px; }
details.fold[open] > summary::after { content: 'Close'; }
section[id] { scroll-margin-top: 130px; }
details.addp { margin-top: 12px; }
details.addp > summary { list-style: none; width: max-content; }
details.addp > summary::-webkit-details-marker { display: none; }
details.addp[open] > summary { display: none; }
.vid { border-radius: 12px; overflow: hidden; background: #0b1730; aspect-ratio: 16 / 9; margin-top: 4px; }
.vid video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0b1730; }
/* new-client info form (/intake) */
.intake .auth-card { width: min(640px, calc(100% - 24px)); }
.in-sec { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.in-sec:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.in-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 6px; }
.in-n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; flex: none; }
.req { color: var(--cta); }
fieldset.f { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.f legend { font-weight: 700; font-size: 14.5px; color: var(--ink); padding: 0; margin-bottom: 8px; }
.opts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 14px; }
.chip.pick { position: relative; }
.chip.pick input { position: absolute; opacity: 0; pointer-events: none; }
.chip.pick:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.pick:has(input:focus-visible) { outline: 3px solid #9cc3ea; outline-offset: 1px; }
.in-note { background: var(--blue-wash); border: 1px solid #c3dbf3; border-radius: 10px; padding: 10px 12px; color: var(--ink); }
.intake-card .in-sec:first-child { margin-top: 0; }
.f.gap input, .f.gap textarea { border-color: var(--cta); background: #fffaf6; }
fieldset.f.gap { background: #fffaf6; border-radius: 10px; padding: 8px; }
.skip { margin-top: 4px; padding: 0 4px; min-height: 34px; font-size: 13.5px; justify-self: start; }
fieldset.f .skip { display: inline-flex; }

/* ---------- Solo Edition (public /solo, /solo/welcome, /solo/terms; signed-in /agent) ---------- */
.solo { min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.solo-hero { background: linear-gradient(160deg, var(--ink) 0%, #12407a 100%); color: #fff; padding: 24px 16px 84px; text-align: center; }
.solo-hero.slim { padding-bottom: 60px; }
.solo-hero .wordmark { align-items: center; margin-bottom: 26px; }
.solo-hero h1 { color: #fff; font-size: clamp(30px, 7vw, 52px); letter-spacing: -.8px; max-width: 760px; margin: 0 auto; }
.solo-hero h1 span { color: #ffb37a; }
.solo-kick { font-size: 12.5px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: #e9c46a; margin: 0 0 10px; }
.solo-kick.dark { color: var(--cta); }
.solo-sub { color: #c8d3e3; max-width: 580px; margin: 14px auto 0; font-size: 17px; }
.solo-cta-row { margin: 22px auto 0; max-width: 340px; }
.solo-fine { color: #9fb0c8; font-size: 14px; margin-top: 12px; }
.solo-main { width: min(980px, calc(100% - 32px)); margin: -56px auto 0; display: grid; gap: 16px; padding-bottom: 28px; }
.solo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.solo-main > *, .solo .card { margin: 0; }
.solo-step { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.solo-step p { margin: 4px 0 0; }
.solo-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cta-wash); color: var(--cta); display: grid; place-items: center; }
.solo-ico svg { width: 22px; height: 22px; }
.solo-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.solo-amt b { font-size: 52px; font-weight: 800; color: var(--ink); letter-spacing: -1.5px; }
.solo-amt span { color: var(--muted); font-weight: 700; margin-left: 4px; }
.solo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.solo-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.solo-list svg { flex: none; width: 20px; height: 20px; color: var(--good); margin-top: 2px; }
.solo-price > .small { grid-column: 1 / -1; margin: 0; }
.solo-form { width: min(640px, 100%); justify-self: center; scroll-margin-top: 16px; }
.solo-form h3 { margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.solo-form h3:first-of-type { border-top: 0; padding-top: 0; }
.solo-preview { background: var(--wash); border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: 14.5px; }
.solo-preview q { font-style: italic; color: var(--ink); }
.solo-terms { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; font-size: 14.5px; }
.solo-terms input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.solo-faq { width: min(760px, 100%); justify-self: center; display: grid; gap: 10px; }
.solo-faq h2 { margin: 8px 0 2px; }
.solo-faq details { margin: 0; padding: 0; }
.solo-faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 18px; list-style-position: inside; }
.solo-faq details p { padding: 0 18px 16px; margin: 0; }
.solo-up { border-left: 4px solid var(--cta); }
.solo-up h2 { margin-bottom: 6px; }
.solo-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 16px 34px; line-height: 1.7; }
.solo-doc { width: min(760px, 100%); justify-self: center; }
.solo-doc h2 { font-size: 17px; margin: 18px 0 4px; }
.solo-line .solo-num { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: .3px; margin: 2px 0 10px; }
.solo-sheet .copy textarea { flex: 1; min-height: 140px; font-size: 14px; }
.plan-opt { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 6px; }
.plan-opt summary { list-style: none; padding-left: 0; }
.plan-opt summary::-webkit-details-marker { display: none; }
.warn-text { background: var(--warn-wash); border-radius: 10px; padding: 8px 12px; color: #6b4a00; }
.solo-how { margin: 10px 0 14px; padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 640px) {
  .solo-price { grid-template-columns: 1fr; }
  .solo-hero { padding-bottom: 72px; }
}

/* ---------- command center, 2026-11-03: field groups, folding sections, the hub switch, plans, sites, training ---------- */
.fset { border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 2px; background: linear-gradient(180deg, #f8fafd 0, #fff 64px); }
.fset + .fset, .fset + .fset-more { margin-top: 14px; }
.fset-h { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; }
.fset-h > svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--blue-wash); color: var(--blue); flex: none; }
.fset-h b { display: block; color: var(--ink); font-size: 16.5px; line-height: 1.25; }
.fset-h span { display: block; font-size: 13.5px; color: var(--muted); }
details.fset-more { margin-top: 14px; }
details.fset-more > summary { list-style: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; padding: 14px 16px; border: 1.5px dashed var(--line-2); border-radius: 14px; color: var(--ink); background: var(--wash); }
details.fset-more > summary::-webkit-details-marker { display: none; }
details.fset-more > summary svg { width: 20px; height: 20px; transform: rotate(-90deg); transition: transform .2s; }
details.fset-more[open] > summary { margin-bottom: 14px; }
details.fset-more[open] > summary svg { transform: none; }
.pkpick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (max-width: 760px) { .pkpick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkc { position: relative; display: grid; gap: 2px; align-content: start; padding: 14px 14px 12px; border: 1.5px solid #cdd6e3; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pkc:hover { border-color: #a6b4c8; transform: translateY(-1px); }
.pkc input { position: absolute; opacity: 0; pointer-events: none; }
.pkc b { color: var(--ink); font-size: 15.5px; padding-right: 24px; }
.pkc span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pkc em { font-style: normal; font-weight: 800; color: var(--ink); font-size: 14.5px; margin-top: 6px; }
.pkc.on { border-color: var(--cta); box-shadow: 0 0 0 4px var(--cta-wash); }
.pkc.on::after { content: ''; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pkc:has(input:focus-visible) { outline: 3px solid #9cc3ea; outline-offset: 2px; }
.actbar { position: sticky; bottom: calc(var(--tabs) + 12px + env(safe-area-inset-bottom)); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 12px 12px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(16,24,40,.12); }
@media (min-width: 960px) { .actbar { bottom: 16px; } }

/* sections that fold (the overview, sites, settings) */
.fsec { margin-top: 20px; }
.kpis + .fsec, .site-sum + .fsec, .page-head + .fsec { margin-top: 6px; }
.fsec-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.fsec-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; color: inherit; }
.fsec-t:hover { background: rgba(11,37,69,.045); }
.fsec-t:focus-visible { outline: 3px solid #9cc3ea; }
.fsec-t > svg { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); transform: rotate(-90deg); transition: transform .2s; }
.fsec.open > .fsec-bar .fsec-t > svg { transform: none; }
.fsec-t h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.fsec-meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.fsec-tools { display: flex; gap: 8px; align-items: center; }
.fsec-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.fsec.open > .fsec-body { grid-template-rows: 1fr; }
.fsec-in { min-height: 0; overflow: hidden; padding: 2px 10px 20px; margin: -2px -10px -20px; }
.fsec:not(.open) > .fsec-body > .fsec-in { visibility: hidden; transition: visibility 0s .28s; }
.fsec-in > .card + .card { margin-top: 12px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: #e8edf4; border: 1px solid var(--line); }
.seg button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.14); }
.seg button:focus-visible { outline: 3px solid #9cc3ea; }

/* the hub switch: PlumberHub now, RestoHub and ServiceHub soon */
.hubs { display: flex; gap: 8px; margin: -4px 0 16px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.hubs::-webkit-scrollbar { display: none; }
.hub-b { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 15px; border: 1.5px solid var(--line-2); border-radius: 13px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.hub-b:hover { border-color: #a6b4c8; }
.hub-b:focus-visible { outline: 3px solid #9cc3ea; outline-offset: 1px; }
.hub-wm { font-weight: 800; font-size: 16px; letter-spacing: -.2px; color: var(--ink); }
.hub-wm i { font-style: normal; color: var(--cta); }
.hub-b b { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 8px; display: grid; place-items: center; background: var(--wash); border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; }
.hub-b em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 8px; border-radius: 7px; border: 1px dashed var(--line-2); background: var(--wash); }
.hub-b.on { background: var(--ink); border-color: var(--ink); box-shadow: 0 6px 18px -6px rgba(11,37,69,.55); }
.hub-b.on .hub-wm { color: #fff; }
.hub-b.on .hub-wm i { color: #ff8a3d; }
.hub-b.on b { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.hub-b.on em { color: #e9c46a; background: rgba(255,255,255,.08); border-color: rgba(233,196,106,.45); }
.soon-hub { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px; }
.soon-art { width: 150px; height: 150px; border-radius: 34px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 55%, #0b2545)); color: #fff; font-weight: 800; font-size: 56px; letter-spacing: -2px; box-shadow: 0 22px 44px -18px var(--c); }
.soon-art span { color: #ffb37a; }
.soon-hub .k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.soon-hub h2 { font-size: 26px; margin: 2px 0 8px; }
@media (max-width: 640px) { .soon-hub { grid-template-columns: 1fr; } .soon-art { width: 110px; height: 110px; font-size: 42px; border-radius: 26px; } }

/* plans: the dark "live network" panel */
.w3 { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 18px 20px 16px; color: #dfe6ff; border: 1px solid rgba(148,163,255,.18);
  background: radial-gradient(900px 260px at 0% 0%, rgba(124,58,237,.34), transparent 60%), radial-gradient(700px 260px at 100% 100%, rgba(14,165,233,.26), transparent 60%), linear-gradient(160deg, #0a1028 0%, #0c1534 55%, #140c33 100%);
  box-shadow: 0 14px 40px -12px rgba(10,16,40,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.w3::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(148,163,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,255,.075) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 25% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 25% 0%, #000 25%, transparent 75%); }
.w3::after { content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 1px; background: linear-gradient(90deg, transparent, rgba(167,139,250,.9), rgba(56,189,248,.9), transparent); animation: w3-scan 6s linear infinite; }
@keyframes w3-scan { to { left: 100%; } }
.w3-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.w3-k { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 800; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: #a5b4fc; }
.w3-k i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: w3-pulse 2s ease-out infinite; }
@keyframes w3-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
.w3-tot { font-size: 14px; color: #b9c3e6; }
.w3-tot b { color: #fff; font-weight: 800; }
.w3-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; align-items: center; }
.w3-ring { position: relative; width: 190px; height: 190px; }
.w3-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.w3-ring circle { fill: none; stroke-width: 12; stroke-linecap: round; stroke: var(--c); filter: drop-shadow(0 0 6px var(--c)); }
.w3-ring circle.trk { stroke: rgba(255,255,255,.07); filter: none; }
.w3-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.w3-c b { font: 800 46px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; text-shadow: 0 0 24px rgba(167,139,250,.65); }
.w3-c span { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8f9cc8; margin-top: 4px; }
.w3-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.w3-card { position: relative; padding: 13px 14px 11px; border-radius: 15px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); transition: transform .2s, border-color .2s; }
.w3-card::before { content: ''; position: absolute; left: 14px; right: 14px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); box-shadow: 0 0 12px var(--c); }
.w3-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.w3-card.none { opacity: .55; }
.w3-name { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c7d0f0; }
.w3-name i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); transform: rotate(45deg); flex: none; }
.w3-n { font: 800 38px/1.05 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; margin-top: 8px; text-shadow: 0 0 20px color-mix(in srgb, var(--c) 75%, transparent); }
.w3-sub { font-size: 12.5px; color: #97a3cc; margin-top: 2px; min-height: 18px; }
.w3-bar { height: 5px; border-radius: 9px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.w3-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), var(--c)); box-shadow: 0 0 10px var(--c); }
.w3-val { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 12px; color: #97a3cc; }
.w3-val b { color: #e6ecff; font-weight: 700; }
.w3-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #97a3cc; }
.w3-foot b { font: 800 20px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; text-shadow: 0 0 18px rgba(56,189,248,.55); }
@media (max-width: 720px) { .w3-grid { grid-template-columns: 1fr; } .w3-ring { margin: 0 auto; width: 170px; height: 170px; } }

/* the pipeline as a list */
.plist { padding: 6px 14px; }
.plist-h { display: flex; gap: 8px; align-items: center; padding: 12px 2px 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plist-h span { background: var(--wash); border: 1px solid var(--line); border-radius: 7px; padding: 1px 7px; color: var(--ink); letter-spacing: 0; }
.plist-r { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.4fr) 20px; gap: 12px; align-items: center; padding: 11px 8px; margin: 0 -8px; border-top: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; }
.plist-h + .plist-r { border-top: 0; }
.plist-r:hover { background: var(--wash); }
.plist-r.us { box-shadow: inset 3px 0 0 var(--cta); }
.plist-n { display: grid; min-width: 0; }
.plist-n b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist-r > svg { color: var(--muted); }
@media (max-width: 640px) { .plist-r { grid-template-columns: minmax(0, 1fr) auto; } .plist-x, .plist-r > svg { display: none; } }

/* clients: search + filters */
.ctools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ctools .search { flex: 1 1 280px; margin: 0; }
.ctools .filters { padding: 2px; margin: 0; }
.chip .cnt { font-size: 12.5px; font-weight: 800; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--wash); color: var(--ink); border: 1px solid var(--line); }
.chip.on .cnt { background: rgba(255,255,255,.16); color: #fff; border-color: transparent; }
.chip.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }

/* add / use / move credits */
.cs-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.cs-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.cs-ico.add { background: var(--good-wash); color: var(--good); }
.cs-ico.use { background: var(--cta-wash); color: var(--cta); }
.cs-ico.move { background: var(--blue-wash); color: var(--blue); }
.qamt { display: flex; gap: 6px; flex-wrap: wrap; }
.qamt .chip { min-height: 34px; font-size: 13.5px; padding: 0 12px; }
.cs-after { margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--wash); font-size: 14px; line-height: 1.6; }
.cs-after:empty { display: none; }
.cs-after .neg { color: var(--bad); }

/* sites */
.site-sum { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: -4px 0 6px; }
.ss { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ss b { color: var(--ink); }
.ss i, .site-st i { width: 9px; height: 9px; border-radius: 50%; background: #98a2b3; flex: none; }
.st-up i { background: #22a35a; box-shadow: 0 0 0 3px rgba(34,163,90,.18); }
.st-missing i { background: #e8a10f; box-shadow: 0 0 0 3px rgba(232,161,15,.2); }
.st-down i { background: var(--bad); box-shadow: 0 0 0 3px rgba(180,35,24,.16); }
.st-soon i { background: #b6c0cf; }
.st-unknown i { animation: w3-pulse 1.4s ease-out infinite; }
.g-mono { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--c); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; flex: none; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.site { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 152px; padding: 16px 16px 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.site::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.site:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 14px 30px -10px rgba(16,24,40,.22); }
.site:focus-visible { outline: 3px solid #9cc3ea; outline-offset: 2px; }
.site-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.site-mono { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 12.5px; font-weight: 800; flex: none; }
.site-st { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--wash); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.site.st-up .site-st { background: var(--good-wash); border-color: #bfe3cb; color: var(--good); }
.site.st-missing .site-st { background: var(--warn-wash); border-color: #f2dc9b; color: #7a5300; }
.site.st-down .site-st { background: var(--bad-wash); border-color: #f4c7c2; color: var(--bad); }
.site-name { color: var(--ink); font-size: 16px; }
.site-url { font-size: 13px; color: var(--blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-note { font-size: 13px; color: var(--muted); line-height: 1.4; }
.site-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.site-go svg { width: 14px; height: 14px; }
.site:hover .site-go { color: var(--c); }
.site.st-soon { background: var(--wash); border-style: dashed; box-shadow: none; }
.site.st-soon::before, .site.st-down::before, .site.st-missing::before { opacity: .35; }

/* training videos */
.trn { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.trn-main .vid { margin-top: 0; }
.trn-now { padding: 12px 2px 0; }
.trn-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cta); }
.trn-now h3 { margin: 2px 0 4px; font-size: 18px; }
.trn-list { display: grid; gap: 8px; max-height: 520px; overflow: auto; }
.trn-i { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1.5px solid transparent; border-radius: 14px; background: var(--wash); cursor: pointer; text-align: left; color: inherit; }
.trn-i:hover { border-color: var(--line-2); }
.trn-i.on { background: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.trn-i:focus-visible { outline: 3px solid #9cc3ea; }
.trn-th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #0b1730; }
.trn-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trn-th i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(transparent, rgba(11,23,48,.35)); }
.trn-th i svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(217,72,15,.92); }
.trn-th em { position: absolute; right: 5px; bottom: 5px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: rgba(0,0,0,.65); border-radius: 5px; padding: 1px 5px; }
.trn-tx { display: grid; gap: 2px; min-width: 0; }
.trn-tx b { color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.trn-tx span { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trn-foot { grid-column: 1 / -1; margin: 0; }
@media (max-width: 900px) { .trn { grid-template-columns: 1fr; } .trn-list { max-height: none; } }
@media (prefers-reduced-motion: reduce) {
  .w3::after, .w3-k i, .st-unknown i { animation: none; }
  .fsec-body, .fsec-t > svg, .pkc, .site, .w3-card, .tgl i, .tgl i::after { transition: none; }
}

/* Delete a client */
.danger-zone{border-color:color-mix(in srgb,var(--bad,#c0392b) 35%,transparent)}
.danger-zone h2{color:var(--bad,#c0392b)}

/* The agreement, read and signed in the app */
.agr { font: 15px/1.6 Georgia, 'Times New Roman', serif; color: var(--ink, #0b2545); }
.agr h1 { font-size: 22px; margin: 0 0 12px; } .agr h2 { font-size: 17px; margin: 22px 0 6px; }
.agr p { margin: 0 0 10px; } .agr ul, .agr ol { padding-left: 22px; margin: 0 0 10px; } .agr li { margin: 4px 0; }
.agr table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 14px; display: block; overflow-x: auto; }
.agr th, .agr td { border: 1px solid var(--line, #dde3ec); padding: 6px 8px; text-align: left; vertical-align: top; }
.agr .sigs { display: grid; gap: 10px; } .agr .sig { border: 1px dashed var(--line, #dde3ec); border-radius: 10px; padding: 8px 12px; }
.agr .sig-who { font-weight: bold; } .agr .sig-name { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-size: 22px; margin: 4px 0; }
.agr-box { max-height: 62vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.agr-box:focus-visible { outline: 3px solid var(--cta, #d9480f); outline-offset: 2px; }
.agr-end { text-align: center; font-size: 13px; color: var(--muted, #5b6576); padding: 14px 0 4px; border-top: 1px solid var(--line, #dde3ec); margin-top: 16px; }
.agr-bar { position: sticky; top: 0; z-index: 2; height: 6px; border-radius: 99px; background: var(--line, #dde3ec); margin: 8px 0 10px; overflow: hidden; }
.agr-bar i { display: block; height: 100%; width: 0; background: var(--good, #1a7f37); transition: width .15s; }
.agr-sign { opacity: .6; transition: opacity .2s; } .agr-sign.ready { opacity: 1; }
.agr-sign .check { margin: 12px 0; align-items: flex-start; }
.agr-done .row { margin-top: 10px; }

/* Done & Paid and the review request (reviews.js) */
.rv-card.dp { border: 2px solid var(--good); background: var(--good-wash); }
.dp-btn { background: var(--good); border-color: var(--good); color: #fff; margin-top: 8px; font-size: 20px; }
.dp-btn:hover { filter: brightness(.95); }
.rv-site { margin: 8px 0 4px; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rv-actions .btn { flex: 1 1 auto; }
.rv-ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rv-confirmed { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--good-wash); border: 1px solid #bfe3cb; }
.rv-confirmed .small { flex-basis: 100%; }
.rv-stars { color: #f5b301; letter-spacing: 2px; font-size: 18px; }
.rv-maybe { margin-top: 10px; padding: 12px; border-radius: 12px; background: #fff7db; border: 1px solid #f2dc9b; }
.rv-g-head { display: flex; gap: 16px; align-items: center; margin-top: 10px; }
.rv-g-rating { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1; }
.rv-spark { display: block; width: 100%; height: 48px; color: var(--good); margin-top: 6px; }

/* Continue with Google (auth.js): Google's light button */
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background: #fff; color: #1f1f1f; border: 1px solid #747775; font-weight: 600; text-decoration: none; }
.gbtn:hover { background: #f8f9fa; }
.gbtn svg { flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---------- MoverHub (2026-11-27): live board, the move card, two columns on a desktop ---------- */
.live-board { background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; margin: 0 0 16px; box-shadow: var(--shadow); }
.live-board .lb-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9fb3cf; }
.live-board .lb-dot { width: 9px; height: 9px; border-radius: 50%; background: #2EE59D; box-shadow: 0 0 0 4px rgba(46,229,157,.2); }
.live-board .lb-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 0 2px; color: #fff; text-decoration: none; border-top: 1px solid rgba(255,255,255,.1); margin-top: 10px; }
.live-board .lb-who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 18px; }
.live-board .lb-route { grid-column: 1; display: flex; gap: 8px; align-items: center; color: #d6e2f3; font-weight: 600; flex-wrap: wrap; }
.live-board .lb-route svg { color: #2EE59D; flex: none; }
.live-board .lb-date { background: rgba(255,255,255,.1); border-radius: 99px; padding: 2px 10px; font-size: 13px; }
.live-board .btn { grid-column: 2; grid-row: 1 / span 2; }
.move-card .route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 1.2fr) minmax(0, 1fr); align-items: center; gap: 10px; margin: 14px 0 6px; }
.move-card .pt { display: grid; gap: 2px; min-width: 0; }
.move-card .pt.to { text-align: right; }
.move-card .pt .k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.move-card .pt b { font-size: 21px; color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.move-card .rline { display: flex; align-items: center; gap: 6px; color: #14B87F; }
.move-card .rline i { flex: 1; height: 0; border-top: 3px dashed #9be8c7; }
.move-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 12px 0 0; }
.move-grid div { background: var(--wash); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.move-grid dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.move-grid dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.mover-grid { display: grid; gap: 0 18px; }
.mover-grid .col { min-width: 0; }
@media (min-width: 1100px) { .mover-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
@media (max-width: 520px) { .move-grid { grid-template-columns: minmax(0, 1fr); } .move-card .pt b { font-size: 18px; } }
