/* Become a Pro — extends the site design tokens (site.css). Mobile first. */
.badge-success{background:var(--ok-bg);color:var(--ok)}.badge-warning{background:var(--warn-bg);color:var(--warn)}.badge-danger{background:var(--danger-bg);color:var(--danger)}
.badge.ok{background:var(--ok-bg);color:var(--ok)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.danger{background:var(--danger-bg);color:var(--danger)}
.muted{color:var(--muted)}.warn-text{color:var(--warn);font-weight:600}.spin{animation:pro-spin 1s linear infinite}@keyframes pro-spin{to{transform:rotate(360deg)}}
.btn-light{background:#fff;color:var(--red-deep)}.btn-lg{min-height:54px;padding:0 26px;font-size:1rem}
.pro-hero{background:var(--grad-hero);color:#fff;padding:44px 0 52px}.pro-hero h1,.pro-hero h2{color:#fff}.pro-hero h1{font-size:clamp(1.7rem,6vw,2.8rem);line-height:1.15;margin:12px 0;max-width:20ch}.pro-hero p{max-width:52ch;opacity:.95;margin:0 0 22px}
.pro-kicker{display:inline-flex;gap:8px;align-items:center;padding:6px 12px;border-radius:999px;background:#ffffff29;font-weight:700;font-size:.8rem}
.pro-hero-status{margin-top:16px}.pro-wrap{padding-top:26px;padding-bottom:40px}
.pro-steps-intro{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:720px){.pro-steps-intro{grid-template-columns:repeat(4,1fr)}}
.pro-card{padding:18px;border:1px solid var(--border);border-radius:var(--r);background:var(--surface);box-shadow:var(--shadow-sm)}.pro-card h3{margin:10px 0 4px;font-size:1rem}.pro-card p{margin:0;color:var(--muted);font-size:.9rem}
.pro-ico{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--tint);color:var(--tint-ink);flex:none}
.pro-how{margin-top:28px}.pro-sub{color:var(--muted);margin:4px 0 14px}
.how-steps{list-style:none;margin:14px 0;padding:0;display:grid;gap:12px}.how-steps li{display:flex;gap:14px;align-items:flex-start}.how-steps p{margin:2px 0 0;color:var(--muted);font-size:.9rem}
/* dashboard */
.pro-dash-head{padding:22px 0 8px}.pro-dash-head h1{margin:0 0 6px;font-size:1.5rem}
.pro-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--border);margin:6px 0 18px}.pro-tabs a{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;padding:12px 14px;font-weight:700;font-size:.88rem;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent}.pro-tabs a[aria-current=page]{color:var(--red-deep);border-color:var(--red-primary)}
.status-card{display:flex;gap:16px;padding:20px;border-radius:var(--r-lg);border:1px solid var(--border);background:var(--surface);margin-bottom:16px}.status-card h2{margin:0 0 4px;font-size:1.15rem}.status-card p{margin:0 0 8px;color:var(--text-2)}
.status-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--surface-2);flex:none}
.status-card.tone-ok{background:var(--ok-bg);border-color:transparent}.status-card.tone-warn{background:var(--warn-bg);border-color:transparent}.status-card.tone-danger{background:var(--danger-bg);border-color:transparent}
.status-note{font-size:.9rem}.status-actions{margin-top:10px}
.panel h2{margin:0 0 6px;font-size:1.05rem}.panel .sub{color:var(--muted);font-size:.9rem;margin:4px 0 12px}
.check-list,.svc-list,.note-list,.price-list{list-style:none;margin:10px 0;padding:0;display:grid;gap:10px}
.check-list li{display:flex;gap:10px;align-items:center;color:var(--muted)}.check-list li.done{color:var(--ok);font-weight:600}
.svc-list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-sm)}.svc-list small{display:block;color:var(--muted)}
.note-list li{display:grid;gap:2px;padding:10px 12px;border-radius:var(--r-sm);background:var(--surface-2)}.note-list li.unread{border-left:3px solid var(--red-primary)}.note-list span{color:var(--text-2);font-size:.88rem}.note-list time{color:var(--muted);font-size:.75rem}
.grp-title{margin:16px 0 6px;font-size:.9rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.hint{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:.8rem;margin:4px 0}
/* documents */
.doc-list{display:grid;gap:14px}.doc-card{padding:16px;border:1px solid var(--border);border-radius:var(--r);background:var(--surface)}.doc-card header{display:flex;justify-content:space-between;gap:12px}.doc-card h3{margin:0;font-size:1rem}
.req,.opt{font-size:.68rem;font-weight:800;text-transform:uppercase;padding:2px 8px;border-radius:99px;margin-left:6px;vertical-align:middle}.req{background:var(--tint);color:var(--tint-ink)}.opt{background:var(--surface-2);color:var(--muted)}
.doc-file{display:flex;align-items:center;gap:12px;margin:12px 0}.doc-file:empty{display:none}.file-meta{display:grid;min-width:0;flex:1}.file-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta small{color:var(--muted)}
.file-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--surface-2);flex:none}
.file-input{padding:10px 12px!important;min-height:48px}.doc-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.progress{height:8px;border-radius:99px;background:var(--surface-3);overflow:hidden;margin:8px 0}.progress-fill{height:100%;width:0;background:var(--grad);transition:width .15s}
.check{display:flex;gap:8px;align-items:center}
/* prices */
.price-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:14px;border:1px solid var(--border);border-radius:var(--r)}.price-main{display:grid;gap:2px;min-width:0;flex:1}.price-main small{color:var(--muted)}.price-vals{font-weight:700}
.price-form{flex-basis:100%;border-top:1px solid var(--border);padding-top:14px}.price-form .row{display:grid;gap:10px}
/* portfolio */
.pf-grid{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.pf-item{border:1px solid var(--border);border-radius:var(--r);overflow:hidden;background:var(--surface);display:flex;flex-direction:column}.pf-thumb{aspect-ratio:16/10;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.pf-thumb img{width:100%;height:100%;object-fit:cover}
.pf-meta{padding:12px;display:grid;gap:4px}.pf-meta small{color:var(--muted)}.pf-actions{display:flex;gap:2px;padding:0 8px 8px;justify-content:flex-end}
/* wizard */
.pro-apply{padding-top:18px;padding-bottom:calc(var(--nav-h) + 90px);max-width:760px}
.apply-head h1{margin:0;font-size:1.5rem}.apply-saved{margin:4px 0 0;color:var(--muted);font-size:.8rem;min-height:1.2em}
.apply-panel{padding:20px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);min-height:220px}
.apply-panel h2{margin:0 0 4px;font-size:1.2rem}.apply-panel .lead{color:var(--muted);margin:0 0 18px;font-size:.92rem}
.apply-actions{position:fixed;left:0;right:0;bottom:calc(var(--nav-h) + var(--safe-b));display:flex;gap:10px;justify-content:space-between;padding:12px 16px;background:var(--header-bg);backdrop-filter:blur(14px);border-top:1px solid var(--border);z-index:30}
.apply-actions .btn{min-width:120px}
@media(min-width:900px){.apply-actions{position:static;background:none;border:0;backdrop-filter:none;padding:18px 0 0}.pro-apply{padding-bottom:60px}}
.opt-group{display:grid;gap:8px}.opt-item{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1.5px solid var(--border);border-radius:var(--r-sm);cursor:pointer;background:var(--surface)}.opt-item:has(input:checked){border-color:var(--red-primary);background:var(--tint)}.opt-item input{accent-color:var(--red-primary);width:18px;height:18px}
.yesno{display:flex;gap:10px}.yesno .opt-item{flex:1;justify-content:center}
textarea.input{padding:12px 14px;min-height:96px;resize:vertical}select.input{padding:0 14px}
.input.invalid{border-color:var(--danger)}
.cat-grid{display:grid;gap:14px;grid-template-columns:1fr}@media(min-width:560px){.cat-grid{grid-template-columns:repeat(2,1fr)}}
.cat-card{position:relative;display:block;border:2px solid var(--border);border-radius:var(--r);overflow:hidden;background:var(--surface);cursor:pointer;padding:0;text-align:left;width:100%;font:inherit;color:inherit}
.cat-card .cat-img{aspect-ratio:16/9;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.cat-card img{width:100%;height:100%;object-fit:cover;display:block}
.cat-card .cat-body{padding:12px 14px}.cat-card strong{display:block}.cat-card small{color:var(--muted)}
.cat-card[aria-pressed=true]{border-color:var(--red-primary);box-shadow:0 0 0 3px var(--ring)}.cat-card .cat-check{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;background:var(--red-primary);color:#fff;display:none;place-items:center}.cat-card[aria-pressed=true] .cat-check{display:grid}
.sub-block{margin-top:22px}.sub-block h3{margin:0 0 10px;font-size:1rem}
.q-block{margin-bottom:26px;padding-bottom:6px;border-bottom:1px dashed var(--border)}.q-block:last-child{border:0}.q-block h3{margin:0;font-size:1rem}.q-block .scope{display:inline-block;margin:4px 0 12px;font-size:.72rem;font-weight:800;text-transform:uppercase;color:var(--muted)}
.rev-sec{margin-bottom:20px}.rev-sec h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;font-size:1rem}.rev-sec dl{margin:0;display:grid;gap:8px}.rev-sec dl div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--border)}.rev-sec dt{color:var(--muted);font-size:.88rem}.rev-sec dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
.rev-problems{margin:0 0 16px;padding:14px 16px;border-radius:var(--r-sm);background:var(--danger-bg);color:var(--danger)}.rev-problems ul{margin:6px 0 0;padding-left:18px}.rev-problems a{color:inherit;font-weight:700}
.link-btn{background:none;border:0;color:var(--link);font-weight:700;cursor:pointer;padding:0;font:inherit}
@media(prefers-reduced-motion:reduce){.spin,.progress-fill,.apply-bar-fill{animation:none;transition:none}}

/* ---------- Become a Pro · premium visual layer ---------- */
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ico{display:inline-grid;place-items:center;flex:none;line-height:0}
.pro-apply{overflow-x:clip}:is(.pro-apply,.dash-docs) img{max-width:100%}
:is(.pro-apply,.dash-docs) [class*="-grid"]>*,:is(.pro-apply,.dash-docs) .frow>*,.pro-apply .rev-card>*{min-width:0}
/* shimmer skeletons: same footprint as the content they stand in for */
.sk{background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface-3) 37%,var(--surface-2) 63%);background-size:400% 100%;animation:sk-shimmer 1.4s ease infinite;border-radius:8px}
@keyframes sk-shimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}
.sk-line{height:14px;width:100%;margin:8px 0}.sk-line.short{width:42%}.sk-input{height:48px;border-radius:var(--r-sm)}.sk-bar{height:6px;border-radius:99px;margin-top:10px}
.sk-field{margin-bottom:20px}.sk-card{border:1px solid var(--border);border-radius:var(--r);padding:12px;margin-bottom:12px}.sk-img{aspect-ratio:16/9;width:100%;border-radius:var(--r-sm);margin-bottom:10px}
.sk-row{display:flex;gap:12px;align-items:center;padding:12px 0}.sk-thumb{width:56px;height:56px;border-radius:12px;flex:none}.sk-col{flex:1}
/* compact progress */
.apply-progress{margin:12px 0 16px}.prog-meta{display:flex;gap:10px;align-items:center;margin-bottom:10px}.prog-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--tint);color:var(--tint-ink);flex:none}
.prog-count{display:block;font-size:.72rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.prog-title{display:block;font-size:1rem;line-height:1.25}
.prog-segs{list-style:none;display:flex;gap:5px;margin:0;padding:0}.prog-segs li{flex:1;min-width:0}
.prog-segs .seg{display:block;position:relative;width:100%;height:6px;border:0;padding:0;border-radius:99px;background:var(--surface-3)}
.prog-segs .done .seg{background:var(--ok)}.prog-segs .current .seg{background:var(--grad)}
.prog-segs button.seg{cursor:pointer}.prog-segs button.seg::after{content:"";position:absolute;inset:-14px 0}
.prog-segs button.seg:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
/* required marker with tooltip */
.req-wrap{position:relative;display:inline-block;margin-left:3px;vertical-align:baseline}
.req-star{display:inline-block;color:var(--link);font-weight:800;cursor:help;padding:0 4px;border-radius:5px;line-height:1.1}.req-star.static{padding:0}
.req-star:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.req-tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:var(--text);color:var(--bg);font-size:.72rem;font-weight:700;padding:4px 9px;border-radius:7px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;z-index:5}
.req-wrap:hover .req-tip,.req-star:focus+.req-tip,.req-star.show+.req-tip{opacity:1}
.legend{margin:0 0 14px;font-size:.8rem;color:var(--muted)}.legend .req-star{margin-right:2px}
.field>label{display:block;font-weight:700;margin-bottom:6px}.field{margin-bottom:20px}.field-error{color:var(--danger);font-size:.84rem;margin:6px 0 0;font-weight:600}.field-hint{color:var(--muted);font-size:.85rem;margin:-2px 0 8px}
.sec-h{margin:0 0 12px;font-size:1rem}.lead.soft{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:var(--r-sm);background:var(--surface-2);font-size:.85rem}
/* visual answer cards (image on top, text below; plain text when there is no picture) */
.vopt-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:600px){.vopt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
:is(.pro-apply,.dash-docs) .vopt{position:relative;display:flex;flex-direction:column;border:2px solid var(--border);border-radius:var(--r);background:var(--surface);overflow:hidden;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.vopt:hover{border-color:var(--border-strong)}.vopt input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.vopt-media{display:grid;place-items:center;aspect-ratio:1/1;background:var(--surface-2);color:var(--muted);overflow:hidden}.vopt-img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:1/1}
.vopt-media.sm{width:44px;height:44px;aspect-ratio:auto;border-radius:10px;flex:none}
.vopt-cap{display:grid;gap:2px;padding:10px 12px;font-weight:700;font-size:.88rem;line-height:1.3}.vopt-cap small{font-weight:500;color:var(--muted)}
.vopt-check{position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:50%;background:var(--red-primary);color:#fff;display:none;place-items:center;box-shadow:var(--shadow-sm)}
.vopt:has(input:checked),.svc-pick:has(input:checked){border-color:var(--red-primary);background:var(--tint);box-shadow:0 0 0 3px var(--ring)}
.vopt:has(input:checked) .vopt-check,.svc-pick:has(input:checked) .vopt-check{display:grid}
.vopt:has(input:focus-visible),.svc-pick:has(input:focus-visible),.dz:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.yesno.opt-group{display:flex;gap:10px}.yesno .opt-item{flex:1;justify-content:center}
.q-pic{margin:0 0 12px}.q-pic-img{width:120px;height:120px;aspect-ratio:1/1;object-fit:cover;border-radius:var(--r-sm);display:block;border:1px solid var(--border)}
/* services */
.cat-card:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.cat-card{transition:border-color .15s,box-shadow .15s}
.svc-pick-grid{display:grid;gap:10px}@media(min-width:640px){.svc-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pro-apply .svc-pick{position:relative;display:flex;gap:12px;align-items:center;padding:10px 12px 10px 10px;border:2px solid var(--border);border-radius:var(--r);background:var(--surface);cursor:pointer;min-height:72px}
.svc-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.svc-pick.locked{opacity:.85;cursor:default}
.svc-pick-media{width:88px;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center;color:var(--muted);flex:none}.svc-pick-media img{width:100%;height:100%;object-fit:cover;display:block}
.svc-pick-body{display:grid;gap:2px;min-width:0;flex:1;padding-right:26px}.svc-pick-body small{color:var(--muted)}.ok-text{color:var(--ok)!important;font-weight:700}
/* status pills */
.pill{display:inline-flex;align-items:center;padding:2px 10px;border-radius:99px;font-size:.72rem;font-weight:800;background:var(--surface-2);color:var(--muted);vertical-align:middle;margin-left:6px}
.pill.st-verified{background:var(--ok-bg);color:var(--ok)}.pill.st-pending,.pill.st-missing{background:var(--warn-bg);color:var(--warn)}.pill.st-rejected,.pill.st-replacement,.pill.st-expired{background:var(--danger-bg);color:var(--danger)}
/* document requirement cards */
.doc-req{padding:16px;border:1px solid var(--border);border-radius:var(--r);background:var(--surface);margin-bottom:14px;box-shadow:var(--shadow-sm)}
.doc-req-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}.doc-req-title{flex:1;min-width:0}.doc-req-title h3{margin:0 0 4px;font-size:1rem;line-height:1.3}.doc-req-title .pill{margin-left:0}
.doc-tile{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--tint);color:var(--tint-ink);flex:none}
.guide-btn{border:0;padding:0;background:var(--surface-2);border-radius:12px;overflow:hidden;width:56px;height:56px;flex:none;cursor:zoom-in}.guide-img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;display:block}
.guide-btn.inline{display:inline-flex;gap:10px;align-items:center;width:auto;height:auto;padding:4px 12px 4px 4px;border-radius:99px;font:inherit;font-weight:700;color:var(--link);margin-bottom:10px}.guide-btn.inline .guide-img{width:40px;height:40px;border-radius:50%}
.opt-q{font-weight:700;margin:14px 0 8px;font-size:.92rem}.doc-opts{margin-bottom:12px}
.doc-opts .vopt-media{aspect-ratio:4/3}
.hint.warn{color:var(--warn)}.hint.ok{color:var(--ok)}
.doc-need{display:flex;gap:8px;align-items:center;padding:9px 12px;border-radius:var(--r-sm);background:var(--warn-bg);color:var(--warn);font-size:.85rem;font-weight:600;margin:8px 0}
.flist{display:grid;gap:10px;margin:10px 0}.flist:empty{display:none}
.frow{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2)}
.frow.st-rejected,.frow.st-replacement,.frow.st-expired{border-color:var(--danger)}
.fthumb{display:grid;place-items:center;width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--surface-3);color:var(--muted);flex:none}.fthumb img{width:100%;height:100%;object-fit:cover;display:block}
.fmeta{display:grid;gap:3px;min-width:0;flex:1}.fmeta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.fmeta small{color:var(--muted)}.fmeta .pill{margin-left:0;justify-self:start}.pct{color:var(--muted)}
.factions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.btn.danger{color:var(--danger);border-color:var(--danger)}.lockd{color:var(--muted);padding:0 6px}
.btn-sm{min-height:40px}
.pdf-tag{display:grid;place-items:center;color:var(--link)}.pdf-tag b{font-size:.62rem;line-height:1}
:is(.pro-apply,.dash-docs) .dz{display:grid;place-items:center;gap:6px;text-align:center;padding:22px 14px;border:2px dashed var(--border-strong);border-radius:var(--r);background:var(--surface);color:var(--text-2);cursor:pointer;min-height:104px;transition:border-color .15s,background .15s}
.dz:hover,.dz.over{border-color:var(--red-primary);background:var(--tint)}.dz .dz-t{font-weight:700}.dz small{color:var(--muted)}.dz-sm{padding:14px;min-height:76px}
.slots{display:grid;gap:12px}.slot{border:1px solid var(--border);border-radius:var(--r);padding:12px;display:grid;gap:10px}.slot.has{border-color:var(--ok)}
.slot-head{display:flex;gap:10px;align-items:center}.slot-head .vopt-cap{padding:0;flex:1}
.state-box{display:grid;place-items:center;gap:8px;text-align:center;padding:28px 16px;border:1px dashed var(--border-strong);border-radius:var(--r);color:var(--text-2)}.state-box p{margin:0;color:var(--muted);font-size:.9rem}
.state-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--surface-2);color:var(--muted)}.state-box.err .state-ico{background:var(--danger-bg);color:var(--danger)}
/* preview dialog */
.pv{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:12px}.pv-back{position:absolute;inset:0;background:var(--scrim)}
.pv-card{position:relative;width:min(920px,100%);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:var(--surface);color:var(--text);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);overflow:hidden}.pv-card.sm{width:min(520px,100%)}
.pv-card header,.pv-card footer{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border)}.pv-card footer{border:0;border-top:1px solid var(--border);justify-content:flex-end;flex-wrap:wrap;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.pv-card header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pv-body{overflow:auto;padding:12px;display:grid;place-items:center;background:var(--surface-2);flex:1}
.pv-img{max-width:100%;max-height:68dvh;border-radius:8px;display:block}.pv-pdf{width:100%;height:68dvh;border:0;background:#fff;border-radius:8px}
/* review dashboard */
.rev-ok{display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:var(--r-sm);background:var(--ok-bg);color:var(--ok);font-weight:600;margin-bottom:16px}
.rev-problems strong{display:flex;gap:6px;align-items:center}
.rev-card{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);margin-bottom:14px;overflow:hidden}
.rev-card>header{display:flex;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--surface-2)}.rev-card>header h3{margin:0;flex:1;font-size:.98rem}.rev-body{padding:12px 14px;display:grid;gap:12px}
.kv{margin:0;display:grid;gap:0}.kv>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--border)}.kv>div:last-child{border:0}.kv dt{color:var(--muted);font-size:.86rem;text-align:left}.kv dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere;display:flex;gap:8px;align-items:center;justify-content:flex-end}
.rev-svc-head{display:flex;gap:10px;align-items:center;margin-bottom:8px}.rev-thumb{width:48px;height:48px;border-radius:12px;object-fit:cover;flex:none}.rev-thumb.ph{display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.chip-svc{display:inline-flex;gap:8px;align-items:center;padding:4px 12px 4px 4px;border-radius:99px;background:var(--surface-2);font-size:.85rem;font-weight:600}.chip-svc:not(:has(img)){padding-left:12px}.chip-img{width:30px;height:30px;border-radius:50%;object-fit:cover}
.ans-pics{display:inline-flex;gap:4px}.ans-pic{width:36px;height:36px;border-radius:8px;object-fit:cover;aspect-ratio:1/1}
.rev-doc{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--border)}.rev-doc:last-child{border:0;padding-bottom:0}.rev-doc-head{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.rev-doc-head .pill{margin-left:0}
.rev-files{display:grid;gap:8px}.rev-file{display:flex;gap:10px;align-items:center;text-align:left;padding:6px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);color:inherit;font:inherit;cursor:pointer;width:100%}.rev-file img,.rev-file .pdf-tag{width:56px;height:56px;border-radius:8px;object-fit:cover;flex:none}.rev-file .pdf-tag{background:var(--surface-3)}
.rev-file-t{display:grid;min-width:0}.rev-file-t b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.rev-file-t small{color:var(--muted)}
.price-sum{list-style:none;margin:0;padding:0;display:grid}.price-sum li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.price-sum li:last-child{border:0}.price-sum small{display:block;color:var(--muted)}.price-sum-v{text-align:right}
/* sticky action bar + small screens */
.apply-actions{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px)*0)}
.apply-actions .btn{min-height:48px}
@media(max-width:520px){.apply-panel{padding:16px;border-radius:var(--r)}.frow{flex-wrap:wrap}.frow .factions{flex-basis:100%}.kv>div{flex-direction:column;align-items:flex-start;gap:2px}.kv dd{text-align:left;justify-content:flex-start}.vopt-cap{font-size:.84rem;padding:8px 10px}.svc-pick-media{width:72px}.guide-btn{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.sk{animation:none}.vopt,.cat-card,.dz,.req-tip{transition:none}}

/* ---------- Provider dashboard · premium layer ---------- */
.pro-dash-head{padding:20px 0 6px}.pro-dash-head h1{font-size:clamp(1.25rem,4.5vw,1.6rem);overflow-wrap:anywhere}
.pro-tabs{position:sticky;top:0;z-index:5;background:var(--bg);padding-top:2px;scroll-snap-type:x proximity}
.pro-tabs a{min-height:44px;scroll-snap-align:start}
.status-hero{align-items:flex-start;padding:22px;box-shadow:var(--shadow-sm,0 1px 2px rgba(0,0,0,.06))}
.status-hero .status-ico{width:56px;height:56px;border-radius:18px;background:var(--surface);color:var(--red-primary)}
.status-hero.tone-ok .status-ico{color:var(--ok)}.status-hero.tone-warn .status-ico{color:var(--warn,#B45309)}.status-hero.tone-danger .status-ico{color:var(--red-primary)}
.status-body{min-width:0;flex:1}.status-kicker{margin:0 0 2px!important;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)!important}
.status-hero h2{font-size:clamp(1.25rem,5vw,1.6rem);margin:0 0 6px}
.status-hero .status-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.status-hero .status-actions .btn{min-height:46px}
.todo-panel{margin-bottom:16px}.todo-panel h2{display:flex;gap:8px;align-items:center}
.todo-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px}
.todo{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px;border-radius:var(--r);border:1px solid var(--border);background:var(--surface)}
.todo-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--surface-2)}
.todo.tone-warn .todo-ico{background:var(--warn-bg)}.todo.tone-danger .todo-ico{background:var(--danger-bg);color:var(--red-primary)}
.todo-text{display:grid;gap:2px;min-width:0}.todo-text strong{overflow-wrap:anywhere}.todo-text small{color:var(--muted);font-size:.84rem;overflow-wrap:anywhere}
.check-list li{min-height:32px}.check-list li svg{flex:none}
.panel-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}.panel-head>div{flex:1;min-width:0}.panel-head h2{margin:0}.panel-head .sub{display:flex;gap:6px;align-items:flex-start;margin:4px 0 0}
.panel-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--tint);color:var(--red-primary);flex:none}
.dash-docs .doc-stack{display:grid;gap:14px}
.dash-docs .doc-req{padding:16px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface)}
.dash-docs .form-msg{margin-bottom:12px}
.svc-group{margin-top:18px}.svc-group-head{display:flex;gap:12px;align-items:center;margin-bottom:10px}.svc-group-head h3{margin:0;font-size:1rem}
.svc-cards{list-style:none;margin:0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.svc-card{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r);background:var(--surface)}
.svc-card strong{flex:1;min-width:0;overflow-wrap:anywhere}
.svc-thumb{width:48px;height:48px;border-radius:12px;object-fit:cover;aspect-ratio:1/1;background:var(--surface-2);flex:none}
.svc-group-head .svc-thumb{width:56px;height:56px;border-radius:14px}
.svc-thumb.ph{display:grid;place-items:center;color:var(--muted)}
.price-row{background:var(--surface)}
.price-row .btn{min-height:44px}
@media (max-width:560px){
  .status-hero{padding:18px;gap:14px}.status-hero .status-ico{width:48px;height:48px;border-radius:14px}
  .todo{grid-template-columns:auto 1fr}.todo .btn{grid-column:1/-1;justify-content:center;min-height:44px}
  .status-hero .status-actions .btn{flex:1 1 100%;justify-content:center}
}

/* ===== Provider side v2: two-tier service picker, pricing step/form, spacing + mobile pass ===== */
.apply-panel h2{margin:0 0 6px;line-height:1.25}
.apply-panel .lead{margin:0 0 16px;line-height:1.5}
.apply-panel .legend{margin:0 0 18px}
.sec-h{margin:22px 0 4px;font-size:1.02rem;line-height:1.3}
.sec-h:first-child{margin-top:0}
.sec-sub{margin:0 0 12px;color:var(--muted);font-size:.86rem;line-height:1.45}
.cat-card small,.svc-tile small,.svc-sub small,.svc-cat-t small{display:block;margin-top:4px;color:var(--muted);font-size:.82rem;line-height:1.4}
.cat-card strong{line-height:1.3}
.svc-step{min-width:0}
.svc-search-wrap{position:relative;margin:0 0 14px;display:flex;align-items:center}
.svc-search-wrap>svg,.svc-search-wrap>.ico{position:absolute;left:14px;color:var(--muted);pointer-events:none}
.svc-search{padding-left:42px;width:100%}
.svc-summary{margin:0 0 6px;padding:12px 14px;border:1px dashed var(--border-strong);border-radius:var(--r);background:var(--surface-2);min-height:48px;display:flex;flex-direction:column;gap:8px;justify-content:center}
.svc-summary.has{border:1px solid var(--border);background:var(--tint)}
.svc-summary strong{font-size:.9rem}
.svc-none{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:.88rem}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chip-svc{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 8px 6px 12px;border:1px solid var(--border);border-radius:99px;background:var(--surface);font-size:.85rem;font-weight:600;line-height:1.3}
.chip-svc>span{min-width:0;overflow-wrap:anywhere}
.chip-svc small{color:var(--ok);font-weight:700;font-size:.74rem;padding-right:4px}
.chip-svc .chip-img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.chip-x{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:var(--surface-2);color:var(--text-2);cursor:pointer}
.chip-x:hover{background:var(--surface-3)}
.svc-tiles{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}
.svc-tile{position:relative;display:flex;flex-direction:column;padding:0;text-align:left;font:inherit;color:inherit;background:var(--surface);border:2px solid var(--border);border-radius:var(--r);overflow:hidden;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.svc-tile:hover{border-color:var(--border-strong)}
.svc-tile.on{border-color:var(--red-primary);box-shadow:0 0 0 3px var(--ring);background:var(--tint)}
.svc-tile:disabled{cursor:default;opacity:1}
.svc-tile-img{aspect-ratio:16/9;background:var(--surface-2);display:grid;place-items:center;color:var(--muted);overflow:hidden}
.svc-tile-img img{width:100%;height:100%;object-fit:cover;display:block}
.svc-tile-body{padding:12px 14px 14px;display:block;min-width:0}
.svc-tile-body strong{display:block;line-height:1.3;overflow-wrap:anywhere}
.svc-tick{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:50%;background:var(--red-primary);color:#fff;display:none;place-items:center;box-shadow:var(--shadow-sm)}
.svc-tile.on .svc-tick,.svc-sub.on .svc-tick{display:grid}
.tag-ok{display:inline-block;margin-top:6px;font-style:normal;font-size:.74rem;font-weight:700;color:var(--ok);background:var(--ok-bg);padding:2px 8px;border-radius:99px}
.svc-cats{display:grid;gap:10px}
.svc-cat{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);overflow:hidden}
.svc-cat.has-sel{border-color:var(--red-primary)}
.svc-cat-head{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:10px 14px;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.svc-cat-img{flex:none;width:48px;height:48px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;color:var(--muted);overflow:hidden}
.svc-cat-img img{width:100%;height:100%;object-fit:cover}
.svc-cat-t{flex:1;min-width:0}
.svc-cat-t strong{display:block;line-height:1.3;overflow-wrap:anywhere}
.badge-n{flex:none;padding:3px 10px;border-radius:99px;background:var(--red-primary);color:#fff;font-size:.74rem;font-weight:700}
.svc-chev{flex:none;color:var(--muted);display:grid}
.svc-cat-head:focus-visible,.svc-tile:focus-visible,.chip-x:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.svc-subs{display:grid;gap:8px;padding:4px 12px 14px;border-top:1px solid var(--border);padding-top:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}
.svc-sub{position:relative;display:flex;gap:12px;align-items:center;padding:10px 40px 10px 10px;border:1.5px solid var(--border);border-radius:var(--r-sm);cursor:pointer;background:var(--surface);min-height:64px}
.svc-sub input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.svc-sub.on{border-color:var(--red-primary);background:var(--tint)}
.svc-sub.locked{cursor:default}
.svc-sub:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.svc-sub-img{flex:none;width:44px;height:44px;border-radius:10px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}
.svc-sub-img img{width:100%;height:100%;object-fit:cover}
.svc-sub-body{min-width:0;flex:1}
.svc-sub-body strong{display:block;line-height:1.3;font-size:.92rem;overflow-wrap:anywhere}
.svc-sub .svc-tick{top:50%;right:10px;transform:translateY(-50%);width:24px;height:24px}

/* pricing step + form */
.price-step{display:grid;gap:14px}
.price-card{padding:16px;border:1px solid var(--border);border-radius:var(--r);background:var(--surface);display:grid;gap:12px;min-width:0}
.price-card.st-needs_price,.price-card.st-attention{border-color:var(--warn)}
.price-card>header{display:flex;gap:12px;align-items:center;min-width:0}
.pc-t{flex:1;min-width:0}
.pc-t strong{display:block;line-height:1.3;overflow-wrap:anywhere}
.pc-t small{display:block;color:var(--muted);margin-top:2px;font-size:.82rem}
.pc-msg{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px 12px;border-radius:var(--r-sm);background:var(--warn-bg);color:var(--warn);font-size:.86rem;line-height:1.45}
.pc-msg svg{flex:none;margin-top:2px}
.pc-body{display:grid;gap:10px;min-width:0}
.pc-actions{display:flex;gap:8px;flex-wrap:wrap}
.pill.st-ok{background:var(--ok-bg);color:var(--ok)}.pill.st-warn{background:var(--warn-bg);color:var(--warn)}.pill.st-off{background:var(--surface-2);color:var(--muted)}
.pill[class*="st-"]{flex:none;display:inline-block;padding:3px 10px;border-radius:99px;font-size:.76rem;font-weight:700;white-space:nowrap}
.kv{margin:0;display:grid;gap:0}
.kv>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--border)}
.kv>div:last-child{border-bottom:0}
.kv dt{color:var(--muted);font-size:.86rem;flex:none;max-width:48%}
.kv dd{margin:0;font-weight:600;text-align:right;min-width:0;overflow-wrap:anywhere}
.kv-tight>div{padding:5px 0}
.kv.meta{padding-top:4px}
.ps-free,.ps-note{margin:0;font-weight:600}.ps-note{color:var(--muted);font-weight:500;font-size:.86rem}
.price-guide{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px 12px;border-radius:var(--r-sm);background:var(--surface-2);font-size:.86rem;line-height:1.45}
.price-guide svg{flex:none;margin-top:2px}
.price-slot:empty{display:none}
.price-slot{padding-top:14px;border-top:1px solid var(--border)}
.price-form-body{display:grid;gap:18px;min-width:0}
.price-form-body .field{margin:0}
.price-form-body label,.price-form-body legend,.price-form-body .lbl{display:block;font-weight:600;font-size:.9rem;margin:0 0 6px}
.pf-set{border:0;padding:0;margin:0;min-width:0}
.pf-set legend{padding:0}
.pf-unit{display:flex;align-items:center;gap:8px}.pf-unit .input{flex:1;min-width:0}.pf-unit-t{color:var(--muted);font-size:.86rem;white-space:nowrap}
.pf-slider{display:flex;align-items:center;gap:12px}.pf-slider input{flex:1;min-width:0;accent-color:var(--red-primary)}.pf-out{min-width:2.5ch;font-weight:700}
.pf-check label{display:flex;gap:10px;align-items:center}.pf-check input{width:20px;height:20px;accent-color:var(--red-primary)}
.pf-static{display:flex;gap:8px;align-items:center;margin:0;padding:12px 14px;border-radius:var(--r-sm);background:var(--surface-2);font-weight:600}
.pf-addons{display:grid;gap:10px}
.pf-addon{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:var(--r-sm)}
.pf-addon .opt-item{border:0;padding:4px;background:none;justify-content:flex-start}
.pf-addon-t b{display:block;font-weight:600}.pf-addon-t small{display:block;color:var(--muted)}
.pf-actions{display:flex;gap:10px;flex-wrap:wrap}
.pf-actions .btn{min-height:46px}
.rev-price{padding:10px 0;border-bottom:1px solid var(--border)}.rev-price:last-child{border-bottom:0}
.rev-price-head{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-bottom:4px}.rev-price-head small{color:var(--muted)}
.price-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.price-row.st-attention{border-color:var(--warn)}
.price-row .kv{margin:6px 0}
.svc-card .btn{margin-left:auto}
.svc-card{flex-wrap:wrap}

/* touch + small screens */
.apply-actions .btn,.price-card .btn,.svc-cat-head,.chip-x{min-height:44px}
.chip-x{min-width:32px;min-height:32px}
@media(max-width:640px){
  .apply-panel{padding:16px;border-radius:var(--r)}
  .svc-tiles{grid-template-columns:1fr 1fr;gap:10px}
  .svc-tile-body{padding:10px 12px 12px}
  .svc-subs{grid-template-columns:1fr}
  .price-card{padding:14px}
  .kv>div{flex-direction:column;gap:2px}.kv dd{text-align:left}.kv dt{max-width:none}
  .pf-actions .btn,.pc-actions .btn{flex:1}
  .apply-actions .btn{flex:1;min-width:0}
}
@media(max-width:380px){.svc-tiles{grid-template-columns:1fr}}
.apply-panel,.apply-panel *{max-width:100%}
.apply-panel img{height:auto}
.apply-panel .svc-tile-img img,.apply-panel .svc-cat-img img,.apply-panel .svc-sub-img img{height:100%}
@media(prefers-reduced-motion:reduce){.svc-tile{transition:none}}
.pv-card footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media(max-width:640px){.pv-card footer .btn{flex:1 1 140px}.pv-card{max-height:calc(100dvh - 24px)}}
.kv.meta{border-top:1px solid var(--border);margin-top:4px;padding-top:2px}
/* the dashboard's service list shares a class name with the public service card: scope it so the two never mix */
.svc-cards .svc-card{flex-direction:row;height:auto;overflow:visible;box-shadow:none;border-radius:var(--r);align-items:center;text-align:left;padding:10px 12px}
.svc-cards .svc-card:hover{transform:none;box-shadow:none;border-color:var(--border)}
.svc-cards .svc-card .svc-thumb{flex:none}
@media(max-width:640px){
  .price-row{flex-direction:column;align-items:stretch}
  .price-row>.btn{width:100%;min-height:44px}
  .svc-cards .svc-card .btn{width:100%;margin-left:0}
}
.price-row .kv{max-width:560px}
.prog-segs .seg{position:relative}.prog-segs button.seg::after{content:'';position:absolute;inset:-18px 0}
.svc-tiles{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),240px))}@media(max-width:640px){.svc-tiles{grid-template-columns:1fr 1fr}}@media(max-width:380px){.svc-tiles{grid-template-columns:1fr}}
.pv-media{width:100%;max-height:68dvh;border-radius:8px;background:#000;display:block}.pv-audio{width:100%;display:block;margin:24px 0}

/* =====================================================================================================================
   Registration fixes (v2): icons, Step 2 layout, option images, long text, preview dialog, upload buttons, profile picture
   ===================================================================================================================== */

/* ---- icons: .input reserves 44px on the left for a leading icon. Inputs that have none (price, document details, units) must not show that empty gap. */
:is(.pro-apply,.dash-docs,.price-slot,.pf-unit,.doc-req) .input{padding-left:14px}
.pro-apply .input-wrap{position:relative}
.pro-apply .input-wrap .input{padding-left:44px}
.pro-apply .input-wrap>.ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;z-index:1}
.pro-apply .input-wrap:focus-within>.ico{color:var(--red-primary)}
.svc-search{padding-left:44px}

/* ---- long text: wrap instead of overflow, never truncate requirements */
.apply-panel{overflow-wrap:break-word}
.apply-panel :is(h2,h3,p,label,legend,strong,small,dt,dd,li,.hint,.field-hint,.field-error,.lead,.doc-need,.pc-msg){overflow-wrap:anywhere;hyphens:auto;line-height:1.45}
.apply-panel :is(h2,h3,strong){line-height:1.3}
.apply-panel :is(.field-hint,.lead,.hint,.doc-need){white-space:pre-line}
.apply-panel .hint{align-items:flex-start}
.apply-panel .hint>.ico,.apply-panel .doc-need>.ico,.apply-panel .lead.soft>.ico{margin-top:2px}
.field>label{overflow-wrap:anywhere}
.opt-item>span,.vopt-cap{min-width:0;overflow-wrap:anywhere;hyphens:auto}
.vopt-cap{line-height:1.3}
.opt-item{min-height:48px}
.doc-req-title h3{overflow-wrap:anywhere}
.rev-file-t b,.rev-doc-head strong{overflow-wrap:anywhere}

/* ---- Admin question / answer images: one consistent, bounded presentation (the stored images are never touched).
        The picture always sits in a fixed-ratio box, is shown whole (contain) and cannot grow past it, whatever shape was uploaded. */
.pro-apply .q-pic{margin:0 0 14px;width:min(100%,200px);aspect-ratio:4/3;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);overflow:hidden;display:grid;place-items:center}
.pro-apply .q-pic .q-pic-img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:auto;border:0;border-radius:0;display:block}
.pro-apply .vopt-media{aspect-ratio:1/1;max-height:200px;background:var(--surface-2);padding:6px}
.pro-apply .vopt-media .vopt-img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:auto}
.pro-apply .doc-opts .vopt-media{aspect-ratio:4/3}
.pro-apply .vopt-media.sm{padding:0}
.pro-apply .vopt-media.sm .vopt-img{object-fit:cover}
.pro-apply .vopt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(min-width:600px){.pro-apply .vopt-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pro-apply .vopt-media{max-height:180px}}
@media(min-width:900px){.pro-apply .vopt-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.guide-btn{flex:none}

/* ---- Step 2 (Select Services): designed for small screens first */
.svc-summary{overflow:hidden}
.svc-tiles{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))!important;gap:12px}
.svc-tile-body small,.svc-sub-body small{overflow-wrap:anywhere}
.svc-cat-head{min-height:64px}
.svc-cat-t small{margin-top:2px}
.badge-n{white-space:nowrap}
.chip-x{position:relative}
.chip-x::after{content:"";position:absolute;inset:-8px}
@media(max-width:560px){
  /* phones: one column, picture on the left, text on the right, whole row is the touch target */
  .svc-tiles{grid-template-columns:1fr!important;gap:10px}
  .svc-tile{flex-direction:row;align-items:center;min-height:76px}
  .svc-tile-img{flex:none;width:84px;align-self:stretch;aspect-ratio:auto;min-height:76px}
  .svc-tile-body{flex:1;min-width:0;padding:10px 44px 10px 12px}
  .svc-tile .svc-tick{top:50%;right:10px;transform:translateY(-50%)}
  .svc-cat-head{gap:10px;padding:10px 12px}
  .svc-cat-img{width:44px;height:44px}
  .svc-cat-head .badge-n{align-self:flex-start;margin-top:2px}
  .svc-subs{padding:10px;gap:8px}
  .svc-sub{min-height:60px}
  .svc-summary{padding:10px 12px}
  .chip-svc{max-width:100%}
}
@media(min-width:561px) and (max-width:899px){.svc-tile-body{padding:12px 14px 14px}}
@media(min-width:1200px){.pro-apply{max-width:820px}}

/* ---- price cards / review rows: wrap the status pill under the title instead of squeezing the title */
.price-card>header{flex-wrap:wrap}
.price-card>header .pc-t{flex:1 1 150px}
.price-card>header .pill{margin-left:0}
.rev-card>header{flex-wrap:wrap}
.rev-card>header h3{flex:1 1 140px;overflow-wrap:anywhere}
.rev-svc-head strong{overflow-wrap:anywhere}

/* ---- file / document upload step: buttons never overflow, always a comfortable touch size */
.frow{min-width:0}
.fmeta strong{white-space:normal;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}
.factions{min-width:0}
.factions .btn,.factions label.btn,.avatar-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding-inline:14px;white-space:normal;text-align:center;line-height:1.2;cursor:pointer}
.btn:disabled,.btn.is-disabled{opacity:.55;pointer-events:none}
.dz{min-width:0;overflow-wrap:anywhere}
.dz small{overflow-wrap:anywhere}
@media(max-width:520px){
  .frow{flex-wrap:wrap;align-items:flex-start}
  .frow .fmeta{flex:1 1 calc(100% - 76px)}
  .frow .factions{flex:1 1 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
  .frow .factions .btn{width:100%}
  .frow .factions .lockd{display:grid;place-items:center;min-height:44px}
  .frow.pending .factions{grid-template-columns:1fr 1fr}
  .slot-head{align-items:flex-start}
  .doc-req{padding:14px}
  .apply-actions{gap:8px;padding:10px 12px}
  .apply-actions .btn{flex:1 1 0;min-width:0;padding-inline:10px;white-space:normal;line-height:1.15}
}
@media(max-width:340px){.apply-actions{flex-direction:column-reverse}.apply-actions .btn{width:100%}}
.apply-actions .btn[data-back][hidden]{display:none}
.apply-actions .btn:disabled{opacity:.6}
.apply-actions .btn>span{overflow-wrap:anywhere}

/* ---- preview dialog: any aspect ratio fits the viewport, header (close button) and footer always stay visible */
html.pv-open,html.pv-open body{overflow:hidden}
.pv{--pv-chrome:150px;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
.pv-card{max-height:calc(100dvh - 16px);min-height:0}
.pv-card>header{flex:none;min-height:56px}
.pv-card>header strong{min-width:0;flex:1}
.pv-card>header .icon-btn{flex:none;width:44px;height:44px;display:inline-grid;place-items:center}
.pv-card>footer{flex:none}
.pv-body{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.pv-img{max-width:100%;max-height:calc(100dvh - var(--pv-chrome));width:auto;height:auto;object-fit:contain}
.pv-pdf{width:100%;height:calc(100dvh - var(--pv-chrome));min-height:240px}
.pv-media{width:100%;height:auto;max-width:100%;max-height:calc(100dvh - var(--pv-chrome));object-fit:contain;background:#000;aspect-ratio:auto}
.pv-card.is-video .pv-body{padding:8px;background:#000}
.pv-audio{width:100%;margin:16px 0}
@media(max-width:640px){
  .pv{--pv-chrome:236px;padding:8px}
  .pv-card{width:100%;border-radius:var(--r)}
  .pv-card>footer{padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px}
  .pv-card>footer .btn{flex:1 1 140px;min-height:44px;justify-content:center}
}
@media(max-height:480px) and (orientation:landscape){.pv{--pv-chrome:130px}.pv-card>footer{flex-wrap:nowrap}.pv-card>footer .btn{flex:0 1 auto;min-height:40px}}

/* ---- profile picture card */
.avatar-card{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;margin:4px 0 22px}
.avatar-pic{position:relative;flex:none;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);cursor:pointer;transition:border-color .15s}
.avatar-pic:hover{border-color:var(--border-strong)}.avatar-pic.has{border-color:transparent}.avatar-pic.is-disabled{cursor:default;pointer-events:none}
.avatar-pic>img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.avatar-cam{position:absolute;right:0;bottom:2px;width:28px;height:28px;border-radius:50%;background:var(--red-primary);color:#fff;border:2px solid var(--surface);display:grid;place-items:center;transition:background-color .15s}
.avatar-pic:hover .avatar-cam{background:var(--red-deep)}
.avatar-busy{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.75);color:var(--red-primary)}
.avatar-body{min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px}
.avatar-body h3{margin:0;font-size:.95rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}
.avatar-remove{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 4px;border:0;border-radius:6px;background:none;color:var(--muted);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}
.avatar-remove:hover{color:var(--danger)}.avatar-remove:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.avatar-card:has(input:focus-visible) .avatar-pic{outline:3px solid var(--focus);outline-offset:2px}
.avatar-body .field-error{margin:2px 0 0}
.rev-avatar{display:flex;gap:12px;align-items:center}.rev-avatar img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}

/* ---- automatic-availability explanation on the review step */
.avail-note{display:flex;gap:10px;align-items:flex-start;margin:6px 0 0;padding:12px 14px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--text-2);font-size:.88rem;line-height:1.5}
.avail-note>.ico{margin-top:1px;color:var(--red-primary)}

/* ---- portfolio: service chips + edit panel (provider dashboard) */
.pf-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0;padding:0;list-style:none}
.pf-chips li{padding:3px 10px;border-radius:99px;background:var(--tint);color:var(--tint-ink);font-size:.74rem;font-weight:700;overflow-wrap:anywhere}
.pf-svc-pick{border:0;margin:0;padding:0;min-width:0}
.pf-svc-pick legend{padding:0;font-weight:700;margin-bottom:6px}
.pf-svc-pick .opt-group{gap:8px}
.pf-svc-pick .opt-item small{display:block;color:var(--muted)}
.pf-edit{padding:12px;border-top:1px solid var(--border);background:var(--surface-2);display:grid;gap:12px}
.pf-edit[hidden]{display:none}
.pf-edit .field{margin:0}
.pf-edit .pf-edit-actions{display:flex;gap:8px;flex-wrap:wrap}
.pf-edit .pf-edit-actions .btn{flex:1 1 120px;min-height:44px}


/* Portfolio ↔ services (v2) */
.pf-chips{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.pf-chips li{font-size:.75rem;line-height:1.3;padding:3px 9px;border-radius:999px;background:var(--surface-2,#f1f3f5);color:inherit;max-width:100%;overflow-wrap:anywhere}
.pf-svc-pick{border:0;padding:0;margin:0 0 14px;min-width:0}.pf-svc-pick legend{font-weight:600;margin-bottom:4px;padding:0}
.pf-svc-pick .opt-item small{display:block;opacity:.7}
.pf-edit{margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#e5e7eb);display:grid;gap:10px}
.pf-edit[hidden]{display:none}.pf-edit-actions{display:flex;gap:8px;flex-wrap:wrap}

/* =====================================================================================================================
   Registration UI refinements (v3): compact profile picture, consistent placeholders, search field, circular option images,
   info popovers. Everything here is scoped to the wizard (.pro-apply / .info-*); the dashboard is untouched.
   ===================================================================================================================== */

/* ---- placeholders: neutral, subtle, still readable */
.pro-apply ::placeholder{color:var(--muted);opacity:.8}
.pro-apply select.input:has(option[value=""]:checked){color:var(--muted)}
.pro-apply select.input option{color:var(--text)}

/* ---- question / field heading: [circle picture] label (i) */
.q-head{display:flex;align-items:center;gap:8px;margin:0 0 6px;min-width:0}
.q-head>label{display:block;margin:0;font-weight:700;min-width:0}
.q-head .info-btn{margin-left:-2px}
.doc-req-title h3 .info-btn{margin-left:4px;vertical-align:middle}
.price-form-body .field.has-info>.q-head{margin-bottom:6px}

/* ---- small circular answer / question pictures */
.pro-apply .opt-thumb{flex:none;display:block;width:32px;height:32px;border-radius:50%;overflow:hidden;background:var(--surface-2);border:1px solid var(--border)}
.pro-apply .opt-thumb>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;aspect-ratio:1/1;border-radius:50%}
.pro-apply .opt-group.has-thumbs{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.pro-apply .opt-group.has-thumbs .opt-item{padding:8px 12px}
.pro-apply .opt-item>.opt-text{min-width:0}
.ans-pic{width:28px;height:28px;border-radius:50%}

/* ---- Search services: icon inside the field, vertically centred, text starts right after it */
.pro-apply .svc-search-wrap{position:relative;display:block;margin:0 0 14px}
.pro-apply .svc-search-wrap>.svc-search-ico{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none;z-index:1}
.pro-apply .svc-search-wrap .input.svc-search{width:100%;min-height:48px;padding:0 14px 0 44px;line-height:normal}
.pro-apply .svc-search-wrap:focus-within>.svc-search-ico{color:var(--red-primary)}
.pro-apply .svc-search::-webkit-search-cancel-button{cursor:pointer}

/* ---- info button + popover (popover lives on <body>, positioned by JS, so no container can clip it) */
.info-btn{position:relative;display:inline-grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;vertical-align:middle;line-height:0;transition:color .15s,background-color .15s}
.info-btn::after{content:"";position:absolute;inset:-10px}   /* 44px touch target without a bigger icon */
.info-btn:hover,.info-btn[aria-expanded="true"]{color:var(--red-primary);background:var(--tint)}
.info-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.info-pop{position:fixed;z-index:1500;box-sizing:border-box;display:flex;flex-direction:column;padding:12px 40px 12px 14px;background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:12px;box-shadow:0 12px 32px rgba(27,20,22,.18);font-size:.88rem;font-weight:500;line-height:1.5;outline:0}
.info-pop::before{content:"";position:absolute;left:var(--ax,24px);width:10px;height:10px;background:var(--surface);border:1px solid var(--border-strong);transform:translateX(-50%) rotate(45deg)}
.info-pop[data-side="below"]::before{top:-6px;border-right:0;border-bottom:0}
.info-pop[data-side="above"]::before{bottom:-6px;border-left:0;border-top:0}
.info-pop-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.info-pop-body p{margin:0;white-space:pre-line;overflow-wrap:anywhere}.info-pop-body p+p{margin-top:8px}
.info-pop-x{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;line-height:0}
.info-pop-x:hover{background:var(--surface-2);color:var(--text)}.info-pop-x:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
@media(prefers-reduced-motion:no-preference){.info-pop{animation:infoIn .12s ease-out}@keyframes infoIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}}

/* ---- delivery options (registration, My Services) */
.arr-pick{margin-top:20px}
.arr-set{border:1.5px solid var(--border);border-radius:var(--r-sm);padding:10px 12px 12px;margin:0 0 12px;min-width:0}
.arr-set legend{font-weight:700;font-size:.92rem;padding:0 6px;overflow-wrap:anywhere}
.arr-opts{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
.arr-opt{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);cursor:pointer;min-height:44px;min-width:0}
.arr-opt input{flex:none;width:18px;height:18px;margin-top:2px;accent-color:var(--red-primary)}
.arr-opt>span{min-width:0;overflow-wrap:anywhere}
.arr-opt strong{display:block;font-size:.9rem;line-height:1.35}
.arr-opt em{margin:2px 0 0}
.arr-opt small{display:block;margin-top:2px;color:var(--muted);font-size:.8rem;line-height:1.4}
.arr-opt small.arr-why{color:var(--text-2);font-weight:600}
.arr-opt:has(input:checked){border-color:var(--red-primary);background:var(--tint)}
.arr-opt:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.arr-form{flex-basis:100%;width:100%;min-width:0;margin-top:4px}
.arr-form .btn,.svc-cards .svc-card .arr-form .btn{margin-left:0}
.arr-form .arr-set{margin-bottom:8px}
.arr-blocked{margin:0 0 8px;padding:8px 12px;border-radius:var(--r-sm);background:var(--tint);color:var(--tint-ink);font-size:.85rem;font-weight:600}
