/* The Pro marketplace (marketplace.html) and profiles (pro.html). Builds on site.css, assistant.css and pros.css. */

/* ---------- marketplace: search ---------- */
.mh { padding: 70px 16px 10px; text-align: center; }
.mh h1 { max-width: 14ch; margin: 0 auto; text-wrap: balance; font-weight: 500; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.05em; }
.mh .lede { max-width: 52ch; margin: 20px auto 0; font-size: 19px; line-height: 1.5; color: var(--muted); }
.msearch { display: flex; align-items: center; gap: 10px; max-width: 680px; margin: 34px auto 0; padding: 8px 8px 8px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e6e6e6, 0 30px 60px -40px rgba(0,0,0,.4); }
.msearch:focus-within { box-shadow: 0 0 0 2px var(--glaze), 0 30px 60px -40px rgba(0,0,0,.4); }
.msearch svg { flex: none; width: 20px; height: 20px; color: #999; }
.msearch input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: 400 17px var(--font); outline: none; }
.msearch button { flex: none; height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: #111; color: #fff; font: 500 15.5px var(--font); cursor: pointer; transition: background .3s; }
.msearch button:hover { background: var(--glaze); }
.mpop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.mpop button { height: 32px; padding: 0 12px; border: 1px solid #e4e4e4; border-radius: 99px; background: #fff; font: 500 13.5px var(--font); cursor: pointer; }
.mpop button:hover { border-color: #111; }

/* ---------- marketplace: list ---------- */
.mlist { max-width: 1320px; margin: 0 auto; padding: 50px 16px 0; scroll-margin-top: 20px; }
.mcats { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.mcats::-webkit-scrollbar { display: none; }
.mcats button { flex: none; height: 40px; padding: 0 16px; border: 1px solid #e4e4e4; border-radius: 99px; background: #fff; font: 500 14.5px var(--font); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mcats button[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; }
.mbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 2px 20px; font-size: 15px; color: var(--muted); }
.mbar label { display: flex; align-items: center; gap: 8px; }
.mbar select { height: 38px; padding: 0 12px; border: 1px solid #e4e4e4; border-radius: 10px; background: #fff; font: 500 14px var(--font); color: #111; }
.mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.mnone { padding: 40px 0; text-align: center; color: var(--muted); } .mnone a { color: #111; text-decoration: underline; }

/* a Pro card */
.pcard { display: flex; flex-direction: column; color: inherit; }
.pc-img { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #f3eee8; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .25s, transform .5s; }
.pc-img img.on { opacity: 1; }
.pcard:hover .pc-img img.on { transform: scale(1.03); }
/* their face on the work's corner */
.pc-img img.pc-av { inset: auto auto 12px 12px; width: 44px; height: 44px; border-radius: 50%; object-position: 50% 25%; opacity: 1; z-index: 2; box-shadow: 0 0 0 3px #fff, 0 4px 12px -4px rgba(0,0,0,.3); transform: none !important; }
/* no pictures yet: the person, big, on a glaze */
.pc-img.none { display: grid; place-items: center; background: radial-gradient(70% 90% at 12% 8%, rgba(196,114,79,.22), transparent 62%), radial-gradient(60% 80% at 92% 96%, rgba(154,132,182,.24), transparent 62%), radial-gradient(50% 70% at 80% 6%, rgba(138,157,132,.2), transparent 62%), #f6f2ec; }
.pc-face img { position: static; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; opacity: 1; box-shadow: 0 0 0 5px #fff, 0 14px 30px -14px rgba(0,0,0,.35); transition: transform .4s; }
.pcard:hover .pc-face img { transform: scale(1.04); }
.pc-nav { position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #111; box-shadow: 0 2px 10px -2px rgba(0,0,0,.25); cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.pc-nav svg { width: 16px; height: 16px; } .pc-nav.prev { left: 10px; } .pc-nav.prev svg { transform: rotate(180deg); } .pc-nav.next { right: 10px; }
.pcard:hover .pc-nav, .pc-nav:focus-visible { opacity: 1; } .pc-nav:hover { transform: scale(1.08); }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 5px; }
.pc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: width .2s; } .pc-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.pc-b { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 600; }
.pc-who { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; font-size: 15px; min-width: 0; }
.pc-who b { font-weight: 600; } .pc-who span { color: #888; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-t { margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.4; }
.pcard:hover .pc-t { text-decoration: underline; text-underline-offset: 3px; }
.pc-r { display: flex; align-items: center; gap: 4px; margin: 8px 0 0; font-size: 14.5px; } .pc-r svg { width: 15px; height: 15px; color: #111; } .pc-r span { color: #888; }
.pc-f { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid #ececec; font-size: 13.5px; color: #888; }
.pc-f b { font-size: 17px; font-weight: 600; color: #111; } .pc-f small { font-size: 12px; font-weight: 500; color: #888; margin-right: 2px; }

/* not sure? get matched */
.mmatch { display: flex; align-items: center; gap: 22px; margin: 70px 0 120px; padding: 26px 30px; border-radius: 26px; background: linear-gradient(120deg, #efe8f6, #e8eef6 60%, #f3ede3); }
.mmatch > div:nth-child(2) { flex: 1; display: grid; gap: 4px; } .mmatch b { font-weight: 500; font-size: 22px; letter-spacing: -.02em; } .mmatch span { color: var(--muted); }
.mface { display: flex; } .mface img { width: 52px; height: 52px; margin-left: -12px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; box-shadow: 0 0 0 3px #f2edf5; } .mface img:first-child { margin-left: 0; }

/* ---------- profile: their work as a cover, then a card ---------- */
.pf-top { max-width: 1120px; margin: 0 auto; padding: 28px 16px 10px; }
.pf-cover { height: 240px; border-radius: 28px; overflow: hidden; background: #eee6dc; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: saturate(.9); }
.pf-cover.none { background: radial-gradient(60% 120% at 10% 0%, rgba(196,114,79,.22), transparent 60%), radial-gradient(50% 110% at 95% 100%, rgba(154,132,182,.24), transparent 60%), radial-gradient(40% 90% at 70% 0%, rgba(138,157,132,.2), transparent 60%), #f6f2ec; }
.pf-card { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 330px; gap: 30px; align-items: start; margin: -70px 24px 0; padding: 26px 28px 28px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pf-av { position: relative; width: fit-content; margin-top: -64px; }
.pf-av::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border-radius: 34px; background: var(--glaze); opacity: .35; transition: background 1s; }
.pf-av img { position: relative; display: block; width: 150px; height: 150px; border-radius: 34px; object-fit: cover; object-position: 50% 25%; border: 5px solid #fff; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.pf-kp { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border-radius: 99px; background: #111; color: #fff; font-size: 13px; font-weight: 600; }
.pf-kp canvas { width: 20px; height: 20px; display: block; }
.pf-b { display: inline-block; margin-left: 6px; padding: 5px 11px; border-radius: 99px; background: color-mix(in srgb, var(--glaze) 16%, #fff); font-size: 13px; font-weight: 600; transition: background 1s; }
.pf-info h1 { margin: 12px 0 0; font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -.04em; }
.pf-where { margin: 6px 0 0; font-size: 15px; color: #888; }
.pf-bio { max-width: 56ch; margin: 14px 0 0; font-size: 16px; line-height: 1.55; }
.pf-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pf-cats a { padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px #e4e4e4; color: #111; font-size: 13.5px; font-weight: 500; }
.pf-cats a:hover { box-shadow: inset 0 0 0 1px #111; }
.pf-side { display: grid; gap: 14px; }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-stats div { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: #f6f4f1; }
.pf-stats b { display: flex; align-items: center; gap: 3px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; } .pf-stats svg { width: 15px; height: 15px; color: #e3a52b; }
.pf-stats span { font-size: 12.5px; color: #888; }
.pf-acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pf-msg, .pf-go { height: 48px; padding: 0 20px; border: 0; border-radius: 13px; font: 500 15.5px var(--font); cursor: pointer; transition: background .3s, box-shadow .2s; }
.pf-msg { background: #111; color: #fff; } .pf-msg:hover { background: var(--glaze); }
.pf-go { grid-column: 1; background: #fff; color: #111; box-shadow: inset 0 0 0 1.5px #e0e0e0; } .pf-go:hover { box-shadow: inset 0 0 0 1.5px #111; }
.pf-acts .pf-msg { grid-column: 1 / -1; }
.pf-ic { display: grid; place-items: center; width: 48px; height: 48px; padding: 13px; border: 0; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1.5px #e0e0e0; cursor: pointer; }
.pf-ic:hover { box-shadow: inset 0 0 0 1.5px #111; } .pf-ic.done { background: #e3ecdf; color: #2f6a3a; box-shadow: none; }
/* services */
.pf-svc { display: flex; align-items: center; gap: 10px; overflow-x: auto; margin: 18px 24px 0; padding-bottom: 4px; scrollbar-width: none; }
.pf-svh { flex: none; margin-right: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #999; }
.pf-svc div { flex: none; display: flex; align-items: baseline; gap: 10px; padding: 11px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pf-svc b { font-weight: 600; font-size: 14.5px; } .pf-svc span { font-size: 14px; color: var(--glaze); font-weight: 600; transition: color 1s; }

/* ---------- profile: pill tabs ---------- */
.pf-tabs { position: sticky; top: 10px; z-index: 5; width: fit-content; max-width: calc(100% - 32px); margin: 40px auto 0; display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(236,236,236,.9); backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
.pf-tabs button { flex: none; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 99px; background: none; color: #555; font: 500 15px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.pf-tabs button i { min-width: 22px; padding: 2px 7px; border-radius: 99px; background: rgba(0,0,0,.07); font-style: normal; font-size: 12px; font-weight: 600; text-align: center; }
.pf-tabs button[aria-selected="true"] { background: #111; color: #fff; } .pf-tabs button[aria-selected="true"] i { background: rgba(255,255,255,.18); }
.pf-body { max-width: 1120px; margin: 0 auto; padding: 26px 16px 0; min-height: 300px; }
.pf-body > * { animation: rise .35s ease both; }
.pf-lead { margin: 0 2px 18px; color: var(--muted); font-size: 15.5px; }
/* work: rounded cards with captions */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
.pf-tile { display: grid; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.pf-shot { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #eee6dc; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.pf-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s, object-position 3s ease; }
.pf-tile:hover .pf-shot img { transform: scale(1.03); }
.pf-cap { display: grid; padding: 0 4px; } .pf-cap b { font-weight: 600; font-size: 16px; } .pf-cap small { font-size: 14px; color: #888; }
/* templates */
.pf-tpl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-tb { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.pf-tb .ptp { padding: 0; border: 0; } .pf-tb > div { display: flex; gap: 6px; }
.ptx .ptp-note { margin: 8px 0 0; font-size: 12.5px; color: var(--muted, #6b6b6b); }
.pf-pv, .pf-st { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pf-pv { box-shadow: inset 0 0 0 1px #e0e0e0; } .pf-pv:hover { box-shadow: inset 0 0 0 1px #111; }
.pf-st { background: #111; color: #fff; transition: background .3s; } .pf-st:hover { background: var(--glaze); }
/* clients */
.pf-cl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; }
.pf-cl article { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.pf-cl img { width: 72px; height: 72px; flex: none; border-radius: 14px; object-fit: cover; object-position: 50% 30%; }
.pf-cl article > div { flex: 1; display: grid; gap: 2px; min-width: 0; } .pf-cl b { font-weight: 600; font-size: 16px; } .pf-cl span { font-size: 14px; color: #888; }
.pf-cl a { flex: none; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px #e4e4e4; } .pf-cl a:hover { box-shadow: inset 0 0 0 1px #111; }
/* reviews */
.pf-rv { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding-top: 18px; align-items: start; }
.rv-sum { position: sticky; top: 74px; display: grid; justify-items: start; gap: 6px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.rv-sum > b { font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: -.04em; } .rv-sum small { color: #888; font-size: 14px; }
.rv-st { display: inline-flex; gap: 2px; } .rv-st i { width: 16px; height: 16px; color: #ddd; } .rv-st i.on { color: #e3a52b; } .rv-st svg { width: 100%; height: 100%; display: block; }
.rv-list { display: grid; gap: 12px; }
.rv-list article { padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.rv-list header { display: flex; align-items: center; gap: 12px; }
.rv-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 600; } .rv-list header > div { flex: 1; display: grid; } .rv-list header b { font-weight: 600; } .rv-list small { color: #888; font-size: 13.5px; }
.rv-list p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; }
/* more Pros */
.pf-more { max-width: 1320px; margin: 0 auto; padding: 100px 16px 120px; }
.pf-more h2 { margin: 0 0 24px; font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }

/* ---------- message drawer and demo viewer ---------- */
.msg { position: fixed; inset: 0; z-index: 200; }
.msg[hidden] { display: none; }
.msg-bg, .dv-bg { position: absolute; inset: 0; background: rgba(10,10,10,.42); backdrop-filter: blur(3px); animation: fadein2 .25s ease; }
.msg-p { position: absolute; right: 16px; top: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); display: flex; flex-direction: column; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: slidein .35s cubic-bezier(.3,1,.4,1); overflow: hidden; }
.msg-p header { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid #f0f0f0; }
.msg-p header img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.msg-p header div { flex: 1; display: grid; } .msg-p header b { font-weight: 600; } .msg-p header small { color: #888; font-size: 13px; }
.msg-x, .dv-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2f2f2; font-size: 22px; line-height: 1; cursor: pointer; }
.msg-log { flex: 1; padding: 18px; overflow-y: auto; }
.msg-hi { max-width: 85%; margin: 0; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: #f3f1ee; font-size: 15px; line-height: 1.45; }
.msg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.msg-chips button { padding: 7px 12px; border: 1px solid #e4e4e4; border-radius: 99px; background: #fff; font: 500 13.5px var(--font); cursor: pointer; } .msg-chips button:hover { border-color: #111; }
.msg-f { display: flex; align-items: flex-end; gap: 8px; margin: 0 14px; padding: 8px 8px 8px 14px; border-radius: 18px; box-shadow: 0 0 0 1px #e4e4e4; }
.msg-f:focus-within { box-shadow: 0 0 0 2px var(--glaze); }
.msg-f textarea { flex: 1; border: 0; background: none; font: 15px/1.45 var(--font); resize: none; outline: none; }
.msg-f button { height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: #111; color: #fff; font: 500 14.5px var(--font); cursor: pointer; }
.msg-n { margin: 10px 18px 16px; font-size: 12.5px; color: #999; }
.dv { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.dv figure { position: relative; margin: 0; width: min(1100px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); animation: rise .3s ease; }
.dv-img { flex: 1; min-height: 0; overflow-y: auto; background: #f2eee8; } .dv-img img { width: 100%; display: block; }
/* the site itself, framed: a browser-sized window onto their work */
.dv.dv-live figure { height: calc(100vh - 48px); }
.dv-site { flex: 1; min-height: 0; background: #f2eee8; } .dv-site iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.dv-tab { font-size: 14px; font-weight: 500; color: #111; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
html.dv-open, html.dv-open body { overflow: hidden; }
.pti[data-tpl-view] { cursor: pointer; }
.pf-pv { height: 38px; padding: 0 14px; margin-right: 8px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e4e4e4; font: 500 14px var(--font); color: #111; cursor: pointer; }
.pf-pv:hover { background: #f6f6f6; }
@media (max-width: 620px) { .dv { padding: 0; } .dv figure, .dv.dv-live figure { height: 100dvh; max-height: none; border-radius: 0; } .dv figcaption { flex-wrap: wrap; } .dv-tab { order: 3; } }
.dv figcaption { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; } .dv figcaption > div { flex: 1; display: grid; } .dv figcaption b { font-weight: 600; } .dv figcaption span { font-size: 14px; color: #888; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
@keyframes fadein2 { from { opacity: 0; } }

@media (max-width: 1100px) { .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-card { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; margin: -60px 12px 0; }
  .pf-side { grid-column: 1 / -1; } .pf-av img { width: 120px; height: 120px; border-radius: 28px; } .pf-av { margin-top: -54px; }
  .pf-cover { height: 180px; } .pf-svc { margin: 16px 12px 0; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-tpl, .pf-cl { grid-template-columns: 1fr; }
  .pf-rv { grid-template-columns: 1fr; } .rv-sum { position: static; }
  .mmatch { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .mgrid { grid-template-columns: 1fr; }
  .pf-card { grid-template-columns: minmax(0, 1fr); padding: 20px; margin: -50px 8px 0; } .pf-av { margin-top: -66px; }
  .pf-av img { width: 104px; height: 104px; border-radius: 26px; } .pf-cover { height: 150px; border-radius: 22px; }
  .pf-grid { grid-template-columns: 1fr; } .pf-tabs button { padding: 0 14px; font-size: 14.5px; }
  .pf-tb { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .pf-body > *, .msg-p, .dv figure { animation: none; } }
.pf-card > * { min-width: 0; }

/* services: their own tab */
.pf-from { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--glaze) 12%, #fff); font: 500 14.5px var(--font); color: #111; cursor: pointer; transition: background 1s; }
.pf-from b { font-weight: 600; } .pf-from em { font-style: normal; font-size: 13.5px; color: #666; }
.pf-sv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-sv article { display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #ececec; }
.sv-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sv-top h3 { margin: 0; font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.sv-top b { flex: none; font-weight: 600; font-size: 20px; } .sv-top small { font-size: 13px; font-weight: 500; color: #888; }
.pf-sv p { flex: 1; margin: 10px 0 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sv-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid #f0f0f0; font-size: 13.5px; color: #888; }
.sv-f .pf-st { border: 0; font-family: var(--font); cursor: pointer; }
@media (max-width: 820px) { .pf-sv { grid-template-columns: 1fr; } }

/* the message to a Pro: who's asking */
.msg-who { display: flex; gap: 8px; margin: 0 14px 8px; }
.msg-who input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; box-shadow: 0 0 0 1px #e4e4e4; font: 15px var(--font); outline: none; }
.msg-who input:focus { box-shadow: 0 0 0 2px var(--glaze); }
.msg-hi.bad { color: #a23b2a; }
.pf-cl article a { margin-left: auto; font-size: 14px; color: #111; text-decoration: underline; }
.dv a.pf-msg { display: inline-flex; align-items: center; text-decoration: none; }
