/* Frank pro app — rebuilt from Figma "Providers" (7tepNQJ5DX9QrOzm87ilsi) pages 03–08.
   Mobile (393) below 960px, desktop (1280) from 960px. Tokens come from ../../css/base.css. */

:root {
  --ring: var(--foreground);
  --destructive: var(--attention);
  --scrim: rgba(0, 0, 0, .4);
  --tab-h: 69px;          /* Provider nav height (moves the demo dock and toasts above it) */
  --foot-h: 0px;          /* sticky footer height, set from JS */
}
html.app, html.app body { background: var(--background); }
body.pro { color: var(--foreground); }

/* ---------- Type (Figma text styles) ---------- */
.t-title-l { font-size: 28px; line-height: 32px; letter-spacing: -.5px; font-weight: 400; }
.t-title-m { font-size: 22px; line-height: 28px; letter-spacing: -.3px; font-weight: 400; }
.t-title-s { font-size: 18px; line-height: 24px; letter-spacing: -.18px; font-weight: 400; }
.t-price { font-size: 32px; line-height: 36px; letter-spacing: -.8px; font-weight: 300; font-variant-numeric: tabular-nums; }
.t-m { font-size: 14px; line-height: 20px; }
.t-ms { font-size: 14px; line-height: 20px; font-weight: 500; }
.t-s { font-size: 12px; line-height: 16px; }
.t-ls { font-size: 12px; line-height: 16px; font-weight: 500; }
.muted { color: var(--muted-foreground); }
.ok { color: var(--success); }
.ember { color: var(--destructive); }
.num { font-variant-numeric: tabular-nums; }
.link { font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.link--s { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--muted-foreground); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icons: the Figma SVGs as masks so they take currentColor ---------- */
.ic { display: inline-block; flex: none; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic--18 { width: 18px; height: 18px; } .ic--20 { width: 20px; height: 20px; } .ic--16 { width: 16px; height: 16px; } .ic--14 { width: 14px; height: 14px; }
.ic-calendar { --m: url(../assets/03-icon-calendar.svg); }
.ic-flag { --m: url(../assets/03-icon-flag.svg); }
.ic-chat { --m: url(../assets/03-icon-chat.svg); }
.ic-receipt { --m: url(../assets/03-icon-receipt.svg); }
.ic-clock { --m: url(../assets/03-icon-clock.svg); }
.ic-check { --m: url(../assets/03-icon-check.svg); }
.ic-check-w { --m: url(../assets/03-icon-check-white.svg); }
.ic-left { --m: url(../assets/03-icon-chevron-left.svg); }
.ic-right { --m: url(../assets/03-icon-chevron-right.svg); }
.ic-key { --m: url(../assets/03-icon-key.svg); }
.ic-paw { --m: url(../assets/03-icon-paw.svg); }
.ic-camera { --m: url(../assets/03-icon-camera.svg); }
.ic-pin { --m: url(../assets/03-icon-pin.svg); }
.ic-home { --m: url(../assets/03-icon-home.svg); }
.ic-phone { --m: url(../assets/03-icon-phone.svg); }
.ic-bank { --m: url(../assets/05-icon-bank-account.svg); }
.ic-tax { --m: url(../assets/05-icon-tax-documents.svg); }
.ic-banner-flag { --m: url(../assets/05-icon-banner-flag-attention.svg); }
.ic-send { --m: url(../assets/07-icon-send.svg); }
.ic-x { --m: url(../assets/07-icon-x.svg); }
.ic-grass { --m: url(../assets/08-icon-grass.svg); }
.ic-user { --m: url(../assets/09-icon-user.svg); } .ic-bin { --m: url(../assets/09-icon-bin.svg); } .ic-clean { --m: url(../assets/02-icon-cleaning.svg); } .ic-pool { --m: url(../assets/02-icon-pool.svg); }
.ic-star { --m: url(../assets/08-icon-star.svg); }
.ic-shield { --m: url(../assets/08-icon-shield.svg); }

/* ---------- Shell ---------- */
.p-app { min-height: 100dvh; display: flex; flex-direction: column; }
.p-main { flex: 1; display: flex; flex-direction: column; min-width: 0; padding-bottom: calc(var(--tab-h) + var(--foot-h) + var(--safe-b)); }
.p-main:focus { outline: none; }
.p-main.no-nav { padding-bottom: calc(var(--foot-h) + var(--safe-b)); }

.p-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px 8px; min-height: 56px; }
.p-head .wordmark { flex: 1; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; display: block; background: var(--muted); }
.avatar--36 { width: 36px; height: 36px; }
.avatar--72 { width: 72px; height: 72px; }
.avatar-btn { border-radius: 50%; display: block; transition: transform var(--dur-press) var(--ease-out); }
.avatar-btn:active { transform: scale(.94); }
.p-subhead { display: flex; align-items: center; padding: 16px 24px 8px; }
.back { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-subtle); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform var(--dur-press) var(--ease-out); }
.back--strong { border-color: var(--border); }
.back:active { transform: scale(.94); }
.back__txt { display: none; }

.p-body { display: flex; flex-direction: column; gap: 20px; padding: 16px 24px 32px; }
.p-body--tight { gap: 16px; padding: 8px 24px 24px; }
.p-body--16 { gap: 16px; padding: 12px 24px 24px; }
.p-body--32 { gap: 32px; padding-bottom: 40px; } /* 15a Pay rates */
.title-block { display: flex; flex-direction: column; gap: 4px; }
.title-block .sub { color: var(--muted-foreground); font-size: 14px; line-height: 20px; }
.title-block--loose { gap: 16px; }

/* Bottom nav (Provider nav) */
.p-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--background); border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; padding: 8px 24px calc(16px + var(--safe-b)); }
.p-nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted-foreground); font-size: 12px; line-height: 16px; min-width: 48px; position: relative; }
.p-nav a[aria-current="page"] { color: var(--foreground); font-weight: 500; }
.p-nav .dot { position: absolute; top: -2px; left: calc(50% + 8px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--destructive); color: var(--paper); font-size: 10px; line-height: 16px; font-weight: 500; text-align: center; }

/* Sticky footer */
.p-foot { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b)); z-index: 39; background: var(--background); border-top: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 24px 20px; }
.no-nav .p-foot, .p-foot.no-nav { bottom: 0; padding-bottom: calc(20px + var(--safe-b)); }
.p-foot .btn-p, .p-foot .btn-o { width: 100%; }
.p-foot .btn-t { width: 100%; max-width: 297px; }
body.has-foot .demo-fab { bottom: calc(var(--tab-h) + var(--foot-h) + var(--safe-b) + 12px); }
body.no-tabs .demo-fab, body.no-tabs .toast { bottom: calc(var(--foot-h) + var(--safe-b) + 12px); }

/* Desktop top nav */
.p-top { display: none; }

/* ---------- Buttons ---------- */
.btn-p, .btn-o, .btn-t { height: 48px; padding: 14px 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; text-align: center;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) var(--ease-out), opacity var(--dur-ui); }
.btn-p { background: var(--primary); color: var(--primary-foreground); }
.btn-p:hover { background: var(--primary-hover); }
.btn-o { border: 1px solid var(--ring); color: var(--foreground); background: transparent; }
.btn-t { color: var(--foreground); background: none; }
.btn-p:active, .btn-o:active, .btn-t:active { transform: scale(.98); }
.btn-p[disabled], .btn-o[disabled] { opacity: .45; cursor: default; transform: none; }
.btn-w { width: 100%; }
.text-btn { font-size: 14px; line-height: 20px; font-weight: 500; text-align: left; }

/* ---------- Day summary ---------- */
.summary { background: var(--muted); border-radius: var(--radius-lg); padding: 14px 0; display: flex; }
.summary > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.summary b { font-weight: 400; font-size: 18px; line-height: 24px; letter-spacing: -.18px; font-variant-numeric: tabular-nums; }
.summary span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }

/* ---------- Stop card ---------- */
.stops { display: flex; flex-direction: column; gap: 20px; }
.stop { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border-subtle); text-align: left; width: 100%;
  transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-ui); }
a.stop:active { transform: scale(.99); }
.stop.is-next { border: 2px solid var(--ring); padding: 15px; }
.stop[class*="svc--"] { box-shadow: inset 4px 0 0 var(--svc-c); }   /* service stripe (07 §5); the scope line names the service */
.stop.is-hold { opacity: .4; }
.stop .when { width: 52px; flex: none; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.stop .when b { font-size: 14px; line-height: 20px; font-weight: 500; }
.stop .when span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.stop .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.stop .addr { font-size: 14px; line-height: 20px; font-weight: 500; }
.stop .line { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.stop.is-done .when b, .stop.is-done .addr { color: var(--muted-foreground); }
.stop .tail { margin-top: 1px; }
.stop.is-alert .when span { color: var(--destructive); }

/* ---------- Banners and panels ---------- */
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-lg); background: var(--muted); }
.banner--attention { background: var(--attention-subtle); color: var(--foreground); }
.banner--success { background: var(--success-subtle); }
.banner .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.banner .copy b { font-size: 14px; line-height: 20px; font-weight: 500; }
.banner .copy p { font-size: 12px; line-height: 16px; }
.banner .copy .act { font-size: 14px; line-height: 20px; font-weight: 500; align-self: flex-start; }
.banner > .ic { margin-top: 1px; }
.banner--attention > .ic { color: var(--destructive); }

.panel { background: var(--muted); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.panel-row { display: flex; gap: 12px; align-items: center; }
.panel-row .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.panel-row .copy b { font-size: 14px; line-height: 20px; font-weight: 500; }
.panel-row .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.outline-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.outline-card--subtle { border-color: var(--border-subtle); }
.outline-card .head { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 500; }
.empty { color: var(--foreground); border: 1px dashed var(--border-subtle); border-radius: var(--radius-lg); padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dashed-row { border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 20px; width: 100%; text-align: left; }
.dashed-row.has-photo { border-style: solid; }
.note { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); }
.success-panel { background: var(--success-subtle); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.success-panel b { font-size: 14px; line-height: 20px; font-weight: 500; }
.success-panel p { font-size: 12px; line-height: 16px; }

/* ---------- Lists ---------- */
.list-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); width: 100%; text-align: left; }
.list-row .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-row .copy b { font-weight: 400; font-size: 14px; line-height: 20px; }
.list-row .copy b.strong { font-weight: 500; }
.rows-roomy { display: flex; flex-direction: column; gap: 16px; } /* Figma 13e: contact rows sit 16px apart */
.nw { white-space: nowrap; }
.link-u { text-decoration: underline; text-underline-offset: 2px; }
.list-row .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.line-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.line-item .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line-item .copy b { font-weight: 400; font-size: 14px; line-height: 20px; }
.line-item .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.line-item .amt { font-size: 14px; line-height: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-item.strong .copy b, .line-item.strong .amt { font-weight: 500; }
.p-sec { display: flex; flex-direction: column; }
.p-sec > h2 { font-size: 18px; line-height: 24px; letter-spacing: -.18px; font-weight: 400; }

/* Option card (radio) */
.options { display: flex; flex-direction: column; gap: 20px; }
.options--12 { gap: 12px; }
.options--16 { gap: 16px; }
.opt { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); width: 100%; text-align: left; cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.opt:active { transform: scale(.99); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.opt .copy b { font-size: 14px; line-height: 20px; font-weight: 500; }
.opt .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.opt:has(input:checked) { background: var(--muted); border: 2px solid var(--ring); padding: 20px; }
.opt:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Toggle row + switch */
.toggle-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
.toggle-row .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.toggle-row .copy b { font-weight: 400; font-size: 14px; line-height: 20px; }
.toggle-row .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 13px; background: var(--border); transition: background-color var(--dur-ui) var(--ease-out); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); transition: transform var(--dur-ui) var(--ease-out); }
.switch input:checked + span { background: var(--foreground); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Checklist */
.check-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); font-size: 14px; line-height: 20px; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-row .box { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex: none; color: var(--paper); transition: background-color var(--dur-ui) var(--ease-out); }
.check-row .box .ic { opacity: 0; }
.check-row input:checked + .box { background: var(--foreground); border-color: var(--foreground); }
.check-row input:checked + .box .ic { opacity: 1; }
.check-row input:checked ~ .lbl { color: var(--muted-foreground); }
.check-row input:focus-visible + .box { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Inputs */
.field { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; }
.field:focus-within { border: 2px solid var(--ring); padding: 9px 15px; box-shadow: none; }
.field label { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.field input, .field textarea, .field select { border: 0; padding: 0; margin: 0; font: inherit; font-size: 14px; line-height: 20px; color: var(--foreground); background: transparent; outline: none; width: 100%; resize: none; }
.field-hint { font-size: 12px; line-height: 16px; color: var(--muted-foreground); margin-top: 8px; }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photos .ph { height: 106px; border-radius: var(--radius-sm); object-fit: cover; width: 100%; display: block; }
.photos .add { height: 106px; border-radius: var(--radius-sm); border: 1px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; line-height: 16px; }

/* ---------- Offers ---------- */
.offer-list { display: flex; flex-direction: column; gap: 20px; }
.offer { background: var(--card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.offer.is-expiring { border: 2px solid var(--destructive); padding: 19px; }
.offer.is-expired > :not(.acts) { opacity: .55; }
.offer.is-expired .acts .btn-o[disabled] { opacity: 1; } /* Figma 14: "Taken" stays a normal outline button */
.offer .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer .job { font-size: 14px; line-height: 20px; font-weight: 500; min-width: 0; }
.countdown { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }
.countdown.is-ember { background: var(--attention-subtle); color: var(--destructive); }
.timebar { height: 4px; border-radius: 2px; background: var(--muted); overflow: hidden; }
.timebar i { display: block; height: 4px; background: var(--foreground); }
.timebar.is-ember i { background: var(--destructive); }
.offer .where { display: flex; flex-direction: column; gap: 2px; }
.offer .pay { background: var(--muted); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; }
.offer .acts { display: flex; align-items: center; gap: 12px; padding: 36px 0; margin: -10px 0; }
.offer .acts .grow { flex: 1; }
.offer .acts .btn-p, .offer .acts .btn-o { width: 150px; }
.offer .decline { font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Earnings ---------- */
.payout-card { background: var(--muted); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.payout-card .amt { display: flex; align-items: baseline; gap: 8px; }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); padding: 8px 0; text-align: right; width: 68px; }
.rate-table th:first-child { text-align: left; width: auto; }
.rate-table td { font-size: 14px; line-height: 20px; padding: 14px 0; text-align: right; border-top: 1px solid var(--border-subtle); vertical-align: middle; font-variant-numeric: tabular-nums; }
.rate-table td:first-child { text-align: left; font-weight: 500; padding-right: 8px; }
.rate-table td.med { font-weight: 500; }
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets p { font-size: 14px; line-height: 20px; }
.bullets p > span[aria-hidden] { margin-right: 8px; } /* Figma 15a: wrapped lines run back to the left edge */

/* ---------- Calendar ---------- */
.weeks { display: flex; flex-direction: column; gap: 20px; }
.week { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.week .head { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; }
.week .head b { font-weight: 500; }
.week .head .over { color: var(--destructive); }
.bars, .bar-labels { display: flex; gap: 8px; }
.bars { align-items: flex-end; }
.bar { flex: 1; height: 48px; background: var(--muted); border-radius: 4px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bar i { display: block; width: 100%; border-radius: 4px; background: var(--foreground); }
.bar.is-full i { background: var(--destructive); }
.bar-labels span { flex: 1; text-align: center; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.hours-row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.hours-row .sel { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.hours-row select { font: inherit; font-size: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--card); color: var(--foreground); min-width: 0; flex: 1; }
.hours-row .off { color: var(--muted-foreground); font-size: 14px; flex: 1; }

/* ---------- Messages ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 4px 8px; border-radius: 999px; background: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--foreground); color: var(--primary-foreground); }
.thread { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); width: 100%; text-align: left; }
.thread.is-current { background: var(--muted); margin: 0 -12px; padding: 14px 12px; width: calc(100% + 24px); border-radius: 8px; }
.thread .av { width: 40px; height: 40px; border-radius: 50%; background: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 16px; font-weight: 500; flex: none; }
.thread.is-current .av { background: var(--card); }
.thread .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.thread .head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.thread .name { font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.thread .time { font-size: 12px; line-height: 16px; color: var(--muted-foreground); white-space: nowrap; }
.thread .preview { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.thread .unread { font-weight: 500; color: var(--foreground); }
.pill { padding: 3px 8px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; align-self: flex-start; }
.pill--needs { background: var(--attention-subtle); color: var(--destructive); }
.pill--handled { background: var(--success-subtle); color: var(--success); }
.pill--escalated, .pill--you { background: var(--muted); color: var(--foreground); }
.convo-head .pill { align-self: center; }
.convo { display: flex; flex-direction: column; min-height: 100dvh; }
.convo-head { display: flex; gap: 8px; align-items: center; padding: 16px 24px 12px; border-bottom: 1px solid var(--border-subtle); background: var(--background); position: sticky; top: 0; z-index: 5; }
.convo-head .ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.convo-head .ttl b { font-size: 14px; line-height: 20px; font-weight: 500; }
.convo-head .ttl span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 16px 24px; }
.osum { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.sys { text-align: center; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.msg { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.msg--out { align-items: flex-end; }
.msg .who { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-bubble { padding: 10px 14px; border-radius: var(--radius-lg); max-width: min(278px, 86%); font-size: 14px; line-height: 20px; background: var(--muted); display: flex; flex-direction: column; overflow-wrap: anywhere; }
.p-bubble--olanna, .p-bubble--me { background: var(--foreground); color: var(--background); } /* Figma 17a/17b: Frank’s AI and the pro speak in black bubbles */
.p-bubble--olanna .tr, .p-bubble--me .tr { color: rgba(255, 255, 255, .6); }
.p-bubble .tr { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-bubble .tr button { font: inherit; color: inherit; }
.applied { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius-lg); background: var(--success-subtle); font-size: 12px; line-height: 16px; }
.applied .ic { color: var(--success); }
.convo-acts { display: flex; flex-direction: column; gap: 8px; }
.composer { display: flex; gap: 10px; align-items: center; padding: 10px 16px calc(10px + var(--safe-b)); border-top: 1px solid var(--border-subtle); background: var(--background); position: sticky; bottom: 0; }
.composer input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 999px; padding: 10px 8px 10px 16px; font: inherit; font-size: 14px; line-height: 20px; color: var(--foreground); background: var(--card); }
.composer input:focus { outline: 2px solid var(--ring); outline-offset: -1px; }
.composer input::placeholder { color: var(--muted-foreground); }
.composer button { width: 40px; height: 40px; border-radius: 50%; background: var(--foreground); color: var(--paper); display: flex; align-items: center; justify-content: center; flex: none; transition: transform var(--dur-press) var(--ease-out); }
.composer button:active { transform: scale(.94); }
.p-caption { background: var(--muted); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Profile ---------- */
.profile-head { display: flex; gap: 16px; align-items: center; }
.profile-head .copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.level-card { background: var(--success-subtle); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.level-card .p-row { display: flex; gap: 10px; align-items: center; }
.score-table { display: grid; grid-template-columns: 1fr 64px 64px; column-gap: 0; }
.score-table > * { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: 14px; line-height: 20px; }
.score-table .h { padding: 6px 0; font-size: 12px; line-height: 16px; color: var(--muted-foreground); text-align: right; }
.score-table .h:first-child { text-align: left; }
.score-table .v { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.score-table .t { text-align: right; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.score-table .t .typ { display: block; font-size: 12px; line-height: 16px; } /* X-27: typical for Top pros, not a requirement */
.levels { display: flex; flex-direction: column; gap: 16px; }
.levels div { display: flex; flex-direction: column; gap: 2px; }
.dist { display: flex; flex-direction: column; gap: 16px; } /* Figma 18a: rows 32px apart */
/* Self-serve fixes, 17 Nov 2026 (docs/11 B7, B9, B11; VIS-10) */
.level-card--coaching { background: var(--attention-subtle); }                    /* PRO-11: Coaching isn't a success state */
.score-table--coach { grid-template-columns: 1fr 72px 72px; }
.score-table .v.is-short { color: var(--destructive); }                            /* under the Pro level */
.p-coach { gap: 12px; }
.p-coach .panel-row { align-items: flex-start; }
.p-coach .panel-row .link { align-self: flex-start; margin-top: 4px; }
.p-banners { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.p-why { gap: 4px; margin-top: 20px; }
.p-why h2 { margin-bottom: 4px; }
.p-mnote { align-items: flex-start; }
.p-mnote .p-mnote__text { color: var(--foreground); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.stop .line.p-mnote-line { color: var(--foreground); overflow-wrap: anywhere; }       /* VIS-10: the member's note reads as content, not metadata */
.dist-row { display: flex; gap: 12px; align-items: center; font-size: 12px; line-height: 16px; }
.dist-row .lbl { width: 32px; flex: none; }
.dist-row .track { flex: 1; height: 6px; border-radius: 3px; background: var(--border-subtle); overflow: hidden; }
.dist-row .track i { display: block; height: 6px; border-radius: 3px; background: var(--foreground); min-width: 2px; }
.dist-row .n { color: var(--muted-foreground); width: 28px; text-align: right; font-variant-numeric: tabular-nums; }
.comment { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.map { position: relative; height: 220px; border-radius: 12px; background: var(--muted); overflow: hidden; }
.map img.circle { position: absolute; left: 50%; top: 110px; transform: translate(-50%, -50%) scale(var(--r, 1)); transform-origin: center; transition: transform var(--dur-state) var(--ease-out); }
.map .pin { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 12px; line-height: 16px; font-weight: 500; }
.map .place { position: absolute; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.slider { display: flex; flex-direction: column; gap: 10px; }
.slider .p-row { display: flex; font-size: 14px; line-height: 20px; font-weight: 500; }
.slider .p-row span:first-child { flex: 1; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--foreground) var(--fill, 75%), var(--border) var(--fill, 75%)); }
.slider input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--foreground) var(--fill, 75%), var(--border) var(--fill, 75%)); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--foreground); margin-top: -10px; }
.slider input[type=range]::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--foreground); }
.slider .ticks { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.demo-switch { border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.demo-switch .p-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Sheets ---------- */
.p-sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: var(--scrim); opacity: 0; transition: opacity var(--dur-state) var(--ease-out); }
.p-sheet-wrap.is-open { opacity: 1; }
.p-sheet { width: 100%; max-height: 88dvh; overflow: auto; background: var(--card); border-radius: 20px 20px 0 0; padding: 12px 24px calc(28px + var(--safe-b)); display: flex; flex-direction: column; gap: 12px;
  transform: translateY(24px); transition: transform 320ms var(--ease-out); }
.p-sheet-wrap.is-open .p-sheet { transform: none; }
.p-sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--border); align-self: center; flex: none; }
.p-sheet--bar { padding: 0 0 calc(24px + var(--safe-b)); gap: 0; border-radius: 16px 16px 0 0; }
.sheet-bar { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 24px 16px; border-bottom: 1px solid var(--border-subtle); }
.sheet-bar .bar { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; width: 100%; height: auto; background: none; overflow: visible; }
.sheet-bar .bar b { flex: 1; text-align: center; font-size: 14px; line-height: 20px; font-weight: 500; }
.sheet-bar .bar button, .sheet-bar .bar .bal { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.sheet-pad { padding: 16px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.sheet-foot { padding: 16px 24px 0; display: flex; flex-direction: column; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .p-sheet, .p-sheet-wrap { transition: none; } }

/* Main + rail: stacked on mobile (13·E storms puts its summary in the rail) */
.cols { display: flex; flex-direction: column; gap: 20px; }
.cols .rail { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Desktop (Figma 1280 frames) ---------- */
@media (min-width: 960px) {
  :root { --tab-h: 0px; }
  .p-nav, .p-head { display: none; }
  .p-top { display: flex; align-items: center; justify-content: space-between; height: 77px; padding: 20px 80px; border-bottom: 1px solid var(--border-subtle); background: var(--background); position: sticky; top: 0; z-index: 40; }
  .p-top .wordmark { font-size: 22px; line-height: 28px; letter-spacing: -.3px; } /* natural widths + space-between: the tabs centre between wordmark and avatar, as in every Figma desktop frame */
  .p-top nav { display: flex; gap: 32px; }
  .p-top nav a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--muted-foreground); position: relative; }
  .p-top nav a::after { content: ""; width: 24px; height: 2px; border-radius: 1px; background: transparent; }
  .p-top nav a[aria-current="page"] { color: var(--foreground); font-weight: 500; }
  .p-top nav a[aria-current="page"]::after { background: var(--foreground); }
  .p-top nav a .dot { position: absolute; top: -6px; right: -12px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--destructive); color: var(--paper); font-size: 10px; line-height: 16px; text-align: center; }
  .p-top .right { display: flex; justify-content: flex-end; }
  .p-main, .p-main.no-nav { padding-bottom: 80px; }
  .p-body { width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 40px 0; gap: 32px; } /* 1120 content at 1280; 40px gutters down to 960 */
  .p-body--narrow, .p-subhead { max-width: 560px; margin: 0 auto; width: 100%; padding-left: 0; padding-right: 0; }
  /* Sub-screens (Figma 14a, 15a, 18–18d Desktop): 560px column 40px under the bar, "← Back" text link, then 20px */
  .p-subhead { padding-top: 40px; padding-bottom: 0; }
  .p-subhead .back { width: auto; height: auto; border: 0; border-radius: 0; font-size: 14px; line-height: 18px; text-decoration: underline; text-underline-offset: 2px; color: var(--foreground); }
  .p-subhead .back .ic { display: none; }
  .p-subhead .back:active { transform: none; }
  .back__txt { display: inline; }
  .p-subhead--m { display: none; } /* 18 Profile: the avatar opens it, no back on desktop */
  .p-subhead--m + .p-body { padding-top: 40px; }
  .p-body--narrow { padding-top: 40px; gap: 20px; }
  .p-subhead + .p-body { padding-top: 20px; }
  .p-body--narrow.p-body--16, .p-body--narrow.p-body--tight { gap: 16px; }
  .p-subhead + .p-body--16, .p-subhead + .p-body--tight { padding-top: 16px; }
  .p-body--narrow.p-body--32 { gap: 32px; padding-bottom: 40px; }
  .p-subhead + .p-body--32 { padding-top: 32px; } /* the column's own gap sits under "← Back" */
  /* Buttons sit in the column, side by side, 240px each */
  .p-main:has(+ .p-foot:not(.m-only)) { flex: none; padding-bottom: 0; }
  .p-foot, .p-foot.no-nav, .no-nav .p-foot { position: static; border: 0; padding: 20px 0 80px; max-width: 560px; margin: 0 auto; width: 100%; flex-direction: row; align-items: center; gap: 12px; background: none; }
  .p-foot .btn-p, .p-foot .btn-o, .p-foot .btn-t { width: 240px; max-width: none; flex: none; }
  .p-main:has(.p-body--16, .p-body--tight) + .p-foot { padding-top: 16px; }
  body.has-foot .demo-fab, body.no-tabs .demo-fab { bottom: 20px; }
  body.no-tabs .toast { bottom: 24px; }
  .cols { flex-direction: row; gap: 64px; align-items: flex-start; }
  .cols .main { flex: 1; min-width: 0; }
  .cols .rail { width: 420px; flex: none; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 117px; }
  .cols--earn .rail { width: 400px; }
  .stops { gap: 16px; }
  .rail-next { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
  .offer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
  .weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .weeks--stack { grid-template-columns: 1fr; gap: 16px; }
  .btn-desk-240 { width: 240px; align-self: flex-start; }
  .m-only { display: none !important; }
  .inbox { display: flex; border-top: 0; min-height: calc(100dvh - 77px); }
  .inbox .list { width: 400px; flex: none; border-right: 1px solid var(--border-subtle); padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
  .inbox .pane { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .inbox .pane .convo { min-height: calc(100dvh - 77px); }
  .inbox .pane .convo-head { padding: 16px 32px 12px; position: static; }
  .inbox .pane .convo-head .back { display: none; }
  .inbox .pane .convo-body { padding: 16px 32px; }
  .inbox .pane .convo-acts { width: 360px; }
  .inbox .pane .composer { padding: 10px 32px; }
  .p-sheet-wrap { align-items: center; padding: 24px; }
  .p-sheet { max-width: 480px; border-radius: 20px; padding-top: 20px; }
  .p-sheet .grab { display: none; }
  .p-sheet--bar { padding-top: 0; }
}
@media (max-width: 959px) { .d-only { display: none !important; } }

/* Frank's AI avatar: human photo with an AI tag, so nobody mistakes it for a person */
.msg .who:has(.ai-av) { display: inline-flex; align-items: center; gap: 8px; }
.ai-av { position: relative; display: inline-flex; flex: none; width: 24px; height: 24px; }
.ai-av img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: block; }
.ai-tag { position: absolute; right: -6px; bottom: -3px; padding: 0 3px; border-radius: 999px; background: var(--foreground); color: var(--background); border: 1.5px solid var(--background); font-size: 8px; line-height: 10px; font-weight: 500; }

/* ---------- Standards (PRO-22, VIS-12, PRO-10; docs/13), 17 Nov 2026 ---------- */
.p-std-met { background: var(--muted); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.p-std-target { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 20px; }
.p-std-target .is-met { display: inline-flex; gap: 4px; align-items: center; color: var(--success); font-weight: 500; }
.p-std-target .is-short { color: var(--destructive); font-weight: 500; }
.p-std-sec { gap: 4px; }
.p-std-list { list-style: none; margin: 0; padding: 0; }
.p-std, .p-flag { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); min-width: 0; }
.p-std__t { font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.p-std__ok { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; line-height: 16px; color: var(--success); }
.p-std__flag { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--destructive); }
.p-flag .link { align-self: flex-start; margin-top: 4px; }
.p-flag.is-fixed b { color: var(--muted-foreground); }
.p-std-review { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.p-ladder { display: flex; flex-direction: column; gap: 8px; }
.p-ladder__step { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.p-ladder__step.is-current { border-color: var(--foreground); box-shadow: inset 0 0 0 1px var(--foreground); }
.p-ladder__step .p-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.p-notes { display: flex; flex-direction: column; gap: 12px; }
.p-notes p { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.p-redo { gap: 8px; }
.p-redo .panel-row { align-items: flex-start; }
.stop .line.p-redo-line { color: var(--foreground); overflow-wrap: anywhere; }        /* VIS-5: what to put right reads as content */
.comment--flagged p { display: flex; gap: 8px; align-items: flex-start; }
.comment--flagged p .ic { margin-top: 4px; color: var(--destructive); }
.p-bubble .p-bubble__act { align-self: flex-start; margin-top: 6px; color: var(--foreground); }       /* P-17, P-18, P-19: the message button opens its screen */

/* ---------- The open network and companies (04 §10a NET-1 to NET-10, §10b CO-1 to CO-5; Providers page 09), 19 Nov 2026 ---------- */
.p-own-tag { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--muted); color: var(--foreground); font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.stop .copy .p-own-tag { margin-bottom: 2px; }
.stop.is-own .when span { white-space: normal; }
.p-own-link { margin-top: 8px; }
.p-own-row { align-items: flex-start; }
.p-own-row > .ic:first-child { margin-top: 2px; }
.p-own-row__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.p-own-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.p-own-status .pill { align-self: center; }
.p-own-pay { gap: 8px; }
.p-own-pay .line-item { border-bottom: 0; padding-bottom: 0; }
.p-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-chooser { display: flex; flex-direction: column; gap: 8px; }
.p-chooser .chip { padding: 8px 12px; font-size: 14px; line-height: 20px; }
.field.is-error { border: 2px solid var(--attention); padding: 9px 15px; }
.p-combo { position: relative; }
.p-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); overflow: hidden; }
.p-suggest__row { display: flex; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; }
.p-suggest__row.is-on { background: var(--muted); }
.p-suggest__row .copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-suggest__row .copy b { font-size: 14px; line-height: 20px; font-weight: 500; }
.p-suggest__row .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-suggest__by { padding: 8px 16px; font-size: 12px; line-height: 16px; color: var(--muted-foreground); border-top: 1px solid var(--border-subtle); }
.p-invite { margin: 0; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--primary); color: var(--primary-foreground); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; } /* the words as they'll leave the phone: a sent bubble (09c·2, 09j·2) */
/* 21 Nov 2026 (NET-2, X-262): add by mobile (09c 447:2408, 09j·2 447:2585), set up the visits (09c·5 447:2459), the pro's accept page (09a 447:2520, join.html) */
.p-h2 { font-size: 18px; line-height: 24px; letter-spacing: -.18px; font-weight: 400; margin: 4px 0 -4px; }
.p-field-err { margin: -8px 0 0; font-size: 12px; line-height: 16px; color: var(--destructive); }
.p-contacts { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.p-contacts .ic { width: 18px; height: 18px; }
.opt .ic { color: var(--foreground); }
.p-form-row--2 { grid-template-columns: 1fr 1fr; }
.p-form-row .field select { appearance: none; -webkit-appearance: none; }
.p-sheet .p-pick { display: flex; flex-direction: column; }
.p-pick label { display: flex; gap: 16px; align-items: center; padding: 12px 0; cursor: pointer; }
.p-pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--foreground); flex: none; }
.p-pick .copy { display: flex; flex-direction: column; gap: 2px; }
.p-pick .copy b { font-size: 14px; line-height: 20px; font-weight: 500; }
.p-pick .copy span { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-lang-l { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-av-56 { width: 56px; height: 56px; border-radius: 50%; background: var(--success-subtle); color: var(--foreground); display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 20px; font-weight: 500; flex: none; }
.p-join-head { justify-content: space-between; }
@media (min-width: 960px) { .p-head.p-join-head { display: flex; max-width: 560px; margin: 0 auto; width: 100%; padding: 24px 0 0; } } /* join.html has no top nav: its header stays */
.p-join-head .wordmark { flex: none; }
.p-join-head .chips .chip { padding: 4px 8px; }
.empty .p-empty-ic { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--muted); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.p-join-gone { margin: 8px 24px 0; }
.p-join-gone .btn-p { margin-top: 12px; }
.p-sheet a.btn-p, .p-sheet a.btn-o { text-decoration: none; }
.p-held { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--success); }
.p-job.is-held { border-color: var(--success); }
.p-jobs-count .head { align-items: flex-start; }
@media (min-width: 960px) {
  .p-own-link { max-width: none; }
  .p-body > .cols--earn .main .btn-desk-240 { align-self: flex-start; }
}

/* 14r Repairs from a photo (04 §10c; Providers Figma 04 Offers, 337:514) */
.p-rep-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 12px; display: flex; flex-direction: column; gap: 12px; background: var(--card); }
.p-rep-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); display: block; background: var(--muted); }
.p-rep-thumbs { display: flex; gap: 8px; }
.p-rep-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.p-rep-copy { display: flex; flex-direction: column; gap: 6px; }
.p-rep-price { gap: 12px; }
.p-rep-money { display: flex; gap: 2px; align-items: baseline; font-size: 14px; line-height: 20px; }
.p-rep-money input { flex: 1; min-width: 0; }
.p-rep-when { display: flex; gap: 12px; }
.p-rep-when select { flex: 1; min-width: 0; }
.p-rep-rows { display: flex; flex-direction: column; gap: 8px; }
.p-rep-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-rep-row .num { color: var(--foreground); font-variant-numeric: tabular-nums; }
.p-rep-row.is-strong { color: var(--foreground); font-weight: 500; font-size: 14px; line-height: 20px; }
.p-rep-err { color: var(--destructive); }
.p-rep-acts { display: flex; flex-direction: column; gap: 12px; }
.p-rep-how { gap: 12px; }
.p-rep-list { gap: 12px; }
.p-rep-item { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--card); }
.p-rep-item > img, .p-rep-noph { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: var(--radius-sm); background: var(--muted); display: flex; align-items: center; justify-content: center; }
.p-rep-item .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p-rep-item .copy b { font-size: 14px; line-height: 20px; font-weight: 500; }
.p-rep-item .copy > span:last-child { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.p-rep-item.is-closed { opacity: .6; }
.p-rep-stop { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .p-rep-item:hover { border-color: var(--border); } }
@media (min-width: 960px) {
  .p-rep .cols .main { max-width: 640px; }
  .p-rep .cols .rail { width: 360px; }
  .p-rep-photo { aspect-ratio: 4 / 3; }
  .p-rep-list { max-width: 560px; }
}
/* CARE-10: Mr Frank writing (dots) and its reply typing out in the pro's own Mr Frank chat, as in the member chat (10a·E) */
.p-dots { flex-direction: row; gap: 4px; padding: 14px; width: max-content; }
.p-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--muted-foreground); opacity: .35; animation: p-dot 1.2s ease-in-out infinite; }
.p-dots span:nth-child(2) { animation-delay: .16s; } .p-dots span:nth-child(3) { animation-delay: .32s; }
@keyframes p-dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.is-typing .ai-cards { display: none; }
.is-typed .ai-cards { animation: p-typed-in .24s var(--ease-out, ease-out) both; }
@keyframes p-typed-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .p-dots span { animation: none; opacity: .6; } .is-typed .ai-cards { animation: none; } }

/* PRO-28 Intro video (Providers 10c–10c·7) */
.iv-actions { display: flex; flex-direction: column; gap: 8px; }
.iv-player { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--muted); aspect-ratio: 16 / 9; }
.iv-player video, .iv-player img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0 auto; width: fit-content; max-width: calc(100% - 24px); padding: 4px 8px; border-radius: 6px; background: var(--foreground); color: var(--background); font-size: 13px; line-height: 18px; text-align: center; }
.iv-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.iv-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 12px; line-height: 16px; }
.iv-badge svg { width: 14px; height: 14px; }
.iv-tabs { display: flex; gap: 8px; }
.btn-s { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-d { height: 48px; padding: 14px 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--attention); color: var(--attention); background: transparent; }
.iv-player + .progress, .progress { position: relative; }
.progress > i { display: block; height: 100%; background: var(--foreground); }

/* Providers 10e · a new pro's first day */
.fw-setup { display: flex; flex-direction: column; gap: 12px; }
.fw-setup .badge { align-self: flex-start; }
.fw-row { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.fw-rail { display: flex; flex-direction: column; gap: 12px; }
/* 10c Desktop: drop a video (computers only) */
.iv-drop { display: none; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .iv-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 32px 16px; border: 1px dashed var(--border); border-radius: var(--radius-lg); text-align: center; }
  .iv-drop span { font-size: 12px; color: var(--muted-foreground); }
  .iv-drop.is-over { background: var(--muted); }
}
