/* Opt-in workflow slice. Existing product tokens, distinct information rhythm. */
.review-workspace .reviewed-profile{padding:22px 24px 0;max-width:780px;margin:0 auto;container-type:normal}
.rw-content{display:grid;gap:14px}.rw-content h2,.rw-content h3,.rw-content p{margin:0}
.rw-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.rw-section-head h2{font-size:12px;font-weight:550;color:var(--ink-2)}
.rw-section-head>span{font-size:11px;color:var(--ink-3)}
.rw-opportunity,.rw-owner,.rw-checklist,.rw-business{background:var(--card,var(--bg));border:1px solid var(--line);border-radius:13px;padding:19px 20px;min-width:0}
.rw-opportunity h3{font-size:20px;font-weight:550;line-height:1.25;letter-spacing:-.4px;margin-bottom:9px}
.rw-offer{font-size:13px;line-height:1.65;color:var(--ink-2)}
.rw-reason{margin-top:17px;padding-left:12px;border-left:2px solid color-mix(in srgb,var(--go) 42%,var(--line))}
.rw-reason>span{font-size:11px;color:var(--go);font-weight:550}.rw-reason p{font-size:12px;line-height:1.65;margin-top:5px}
.rw-scope{margin-top:17px;border-top:1px solid var(--line-soft);padding-top:12px}
.rw-scope summary{font-size:11px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:var(--ink-2)}
.rw-scope summary svg{width:12px;height:12px;transition:transform 180ms ease}.rw-scope[open] summary svg{transform:rotate(180deg)}
.rw-scope p{font-size:12px;line-height:1.65;color:var(--ink-2);margin-top:12px}
.rw-person{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.rw-person>div{display:grid;gap:6px;min-width:0}
.rw-person strong{font-size:14px;font-weight:550;line-height:1.45}.rw-person>div>span{font-size:14px;font-variant-numeric:tabular-nums}
.rw-route-badge{font-size:10px;line-height:1.5;color:var(--ink-2);max-width:140px;background:var(--fill);border-radius:5px;padding:5px 7px}
.rw-owner>p{font-size:12px;line-height:1.6;color:var(--ink-2);margin-top:12px}
.rw-checklist{padding-bottom:12px}.rw-checklist .rw-section-head{margin-bottom:3px}.rw-date{font-size:11px;color:var(--ink-3);margin-bottom:14px!important}
.rw-check{width:100%;border:0;border-bottom:1px solid var(--line-soft);background:none;display:grid;grid-template-columns:18px minmax(0,1fr) auto 14px;align-items:center;gap:9px;padding:11px 5px;text-align:left;font-size:12px;border-radius:5px;transition:background 150ms ease,box-shadow 150ms ease;color:var(--ink);cursor:pointer}
.rw-check:last-child{border-bottom:0}.rw-check>svg{width:12px;height:12px;color:var(--ink-3);transition:transform 180ms ease}
.rw-check:hover{background:var(--fill)}.rw-check:hover>svg{transform:translateX(2px)}
.rw-check[aria-pressed=true]{background:var(--fill);box-shadow:inset 2px 0 var(--ink-2)}.rw-check[aria-pressed=true]>svg{color:var(--ink);transform:translateX(2px)}
.rw-result{font-size:10px;color:var(--ink-3)}.rw-result.present{color:var(--go)}.rw-result.issue{color:var(--ink-2)}
.rw-hint{font-size:10px;color:var(--ink-3);padding-top:12px}
.rw-business .link{font-size:11px;display:flex;align-items:center;gap:3px}.rw-business .link svg{width:12px;height:12px}
.rw-business dl{margin:0}.rw-business dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;padding:9px 0;font-size:12px;line-height:1.55;border-bottom:1px solid var(--line-soft)}
.rw-business dl>div:last-child{border-bottom:0;padding-bottom:0}.rw-business dt{color:var(--ink-3)}.rw-business dd{margin:0;overflow-wrap:anywhere}
.rw-research>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;font-size:11px;padding:10px 3px;color:var(--ink-2)}
.rw-research>summary span{display:flex;align-items:center;gap:6px}.rw-research svg{width:13px;height:13px}.rw-research>summary>span+span{color:var(--ink-3);font-size:10px}
.rw-research>div>p{font-size:12px;line-height:1.6;color:var(--ink-2);margin:10px}.rw-research .pc-sources{margin:10px}.rw-research .profile-treg{margin:0;font-size:12px}
.rw-next{position:sticky;bottom:0;margin-top:16px;padding:12px 0;background:var(--bg);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center;z-index:2}
.rw-next>span{font-size:11px;color:var(--ink-3)}.rw-next>div{display:flex;gap:5px}.rw-next button{border:1px solid var(--line);border-radius:7px;background:var(--card,var(--bg));color:var(--ink);font-size:12px;padding:8px 10px;display:flex;align-items:center;gap:7px;cursor:pointer}
.rw-next svg{width:14px;height:14px}.rw-next button:disabled{opacity:.35;cursor:default}
.review-workspace button:focus-visible{outline:2px solid var(--ink-2);outline-offset:3px}
.rw-inspector{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;background:var(--card,var(--bg));animation:rw-inspect-in 220ms cubic-bezier(.2,.7,.2,1);overflow:hidden;border-radius:inherit}
.rw-inspector-head{padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line)}
.rw-inspector-head span{font-size:10px;color:var(--ink-3)}.rw-inspector-head h2{font-size:18px;letter-spacing:-.3px;margin:4px 0 0;font-weight:550}
.rw-inspector-head button{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:transparent;border-radius:7px;padding:7px 9px;font-size:11px;color:var(--ink);cursor:pointer}
.rw-inspector svg{width:14px;height:14px}.rw-evidence-summary{padding:18px 20px;font-size:13px;line-height:1.6;flex-shrink:0}
.rw-evidence-summary>p{margin:8px 0 14px}.rw-evidence-state{font-size:10px;padding:4px 7px;border-radius:5px;background:var(--fill);color:var(--ink-2)}
.rw-implications{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:12px}.rw-implications span{font-size:10px;color:var(--ink-3)}.rw-implications p{font-size:12px;line-height:1.55;margin:4px 0 0;color:var(--ink-2)}
.rw-evidence-summary>a{font-size:11px;color:var(--blue);display:inline-flex;align-items:center;gap:4px}
.rw-capture-tools{padding:10px 15px;border-block:1px solid var(--line);display:flex;gap:10px;justify-content:space-between;align-items:center;background:var(--bg);font-size:10px;color:var(--ink-3)}
.rw-capture-tools>div{display:flex;gap:2px}.rw-capture-tools button{border:0;border-radius:5px;padding:6px;background:transparent;display:flex;align-items:center;gap:4px;color:var(--ink-2);font-size:10px;cursor:pointer}.rw-capture-tools button[aria-pressed=true]{background:var(--card,var(--bg));box-shadow:0 0 0 1px var(--line);color:var(--ink)}
.rw-capture{flex:1;min-height:100px;overflow:auto;background:var(--fill);padding:22px;text-align:center;position:relative}
.rw-capture img{display:block;margin:auto;width:100%;height:auto;box-shadow:0 4px 20px #0001;border:1px solid var(--line)}.rw-capture.phone img{max-width:310px}.rw-capture>p{display:none}.rw-capture.loading>p,.rw-capture.failed>p{display:block;font-size:12px;color:var(--ink-2)}.rw-capture.loading img,.rw-capture.failed img{display:none}
.rw-capture.empty{display:grid;place-items:center}.rw-capture.empty>div{max-width:260px;color:var(--ink-2)}.rw-capture.empty strong{display:block;font-size:13px;margin:10px 0}.rw-capture.empty p{font-size:12px;line-height:1.6}
.rw-capture-note{margin:0;padding:10px 15px;font-size:10px;color:var(--ink-3);line-height:1.4;border-top:1px solid var(--line)}
.rw-contact-sheet{position:fixed;inset:10px 10px 10px auto;margin:0;width:min(440px,calc(100vw - 20px));max-height:calc(100dvh - 20px);height:fit-content;animation:rw-inspect-in 220ms cubic-bezier(.2,.7,.2,1)!important}
.rw-contact-sheet::backdrop{background:#14192026;backdrop-filter:none}.rw-contact-sheet .pd-head{padding:20px}.rw-contact-sheet .pd-body{padding:20px}.rw-contact-sheet .contact-option{transition:background 160ms,transform 160ms}.rw-contact-sheet .contact-option:hover{transform:translateX(2px)}
@media(min-width:1180px){
 .review-workspace .leads-split{grid-template-columns:286px minmax(0,1fr)}
 .review-workspace .leads-split.is-collapsed{grid-template-columns:56px minmax(0,1fr)}
 .review-workspace .pane-l{width:auto;min-width:0}.review-workspace .pane-r{min-width:0}
 .review-workspace .reviewed-profile{padding-inline:20px;max-width:600px}
 .review-workspace .web{border-radius:13px}
 .review-workspace .page.leads{padding-top:16px}.review-workspace .leads .lr{padding-block:12px}
}
@media(max-width:1179px){.review-workspace .reviewed-profile{padding-inline:20px}.rw-contact-sheet{inset:auto 10px 10px;margin:0 auto}}
@media(max-width:600px){
 .review-workspace .reviewed-profile{padding:12px 16px 0}
 .rw-opportunity,.rw-owner,.rw-checklist,.rw-business{padding:16px}.rw-person{flex-direction:column;gap:8px}.rw-route-badge{max-width:none}.rw-business dl>div{grid-template-columns:74px minmax(0,1fr);gap:10px}.rw-next{padding-bottom:max(12px,env(safe-area-inset-bottom))}.rw-check{padding-block:13px}.rw-research>summary{min-height:44px}.rw-next button{min-height:40px}
}
@keyframes rw-inspect-in{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.rw-inspector,.rw-contact-sheet{animation:none!important}.rw-check,.rw-check>svg,.rw-scope summary svg,.rw-contact-sheet .contact-option{transition:none!important;transform:none!important}}
/* Refine the composition at normal laptop sizes, not just the wide canvas. */
.review-workspace .pf-links [data-contact]{display:inline-flex;align-items:center;justify-content:center}
.rw-owner-source{margin-top:12px}.rw-owner-source summary{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--ink-2);list-style:none;cursor:pointer}.rw-owner-source svg{width:12px;height:12px}.rw-owner-source p{margin-top:10px;font-size:12px;line-height:1.6;color:var(--ink-2)}
@media(min-width:1180px){body.review-workspace .leads-split{grid-template-columns:286px minmax(0,1fr)}body.review-workspace .leads-split.is-collapsed{grid-template-columns:56px minmax(0,1fr)}}
.rw-context{position:sticky;top:0;height:0;z-index:6;pointer-events:none}
.rw-context>div{position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--raised);border:1px solid var(--line);box-shadow:0 4px 14px #0000000a;border-radius:9px;opacity:0;transform:translateY(-8px);transition:opacity 160ms ease,transform 160ms ease}
.rw-context.on{pointer-events:auto}.rw-context.on>div{opacity:1;transform:translateY(0)}.rw-context span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550}.rw-context b{font-size:12px;color:var(--go);font-weight:500}.rw-context button{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;cursor:pointer}.rw-context svg{width:14px;height:14px}
@media(prefers-reduced-motion:reduce){.rw-context>div{transition:none}}
@media(min-width:1180px){
 body.review-workspace .leads-split>.pane-l .page.leads{width:100%;min-width:0}
 body.review-workspace .leads .lr{padding:0;margin:2px 5px}
 body.review-workspace .lr-open{padding:10px 8px 6px}
 body.review-workspace .lr .lr-open .nm{font-size:12px;line-height:1.45}
 body.review-workspace .lr .lr-open .ln3,body.review-workspace .lr .lr-open .pr{font-size:11px}
 body.review-workspace .lr-signals{padding-inline:8px;gap:4px;flex-wrap:wrap}
 body.review-workspace .leads-split.is-collapsed{grid-template-columns:72px minmax(0,1fr)}
}
@media(max-width:600px){.rw-next{position:fixed;bottom:0;left:0;right:0;margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));z-index:8}.review-workspace .reviewed-profile{padding-bottom:88px}}

.rw-section-head>span,.rw-date,.rw-hint,.rw-result,.rw-business dt,.rw-research>summary>span+span,.rw-next>span,.rw-inspector-head span,.rw-implications span,.rw-capture-tools,.rw-capture-note{color:var(--ink-2)}
@media(max-height:650px){.rw-inspector{overflow-y:auto}.rw-capture{flex:none;min-height:300px;max-height:500px}}
@media(max-width:600px){.rw-offer,.rw-owner>p{font-size:14px}.rw-reason p{font-size:13px}.rw-check{font-size:13px}.rw-result{font-size:11px}}

/* Identity, reputation, then actions. Reflow to the panel, not the screen. */
.reviewed-profile{container-type:inline-size;container-name:lead-profile}
.review-workspace .reviewed-profile{container-type:inline-size}
.reviewed-profile .pf{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:14px 12px;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--line-soft);position:relative}
.reviewed-profile .pf-main{display:contents;min-width:0}
.reviewed-profile .pf-av{grid-column:1;grid-row:1;width:44px;height:44px}
.reviewed-profile .pf-identity{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.reviewed-profile .pf-row{padding:0;display:flex;align-items:flex-start;gap:9px;min-width:0}
.reviewed-profile .pf-row h1{min-width:0;flex:0 1 auto}
.reviewed-profile .pf-row .pf-priority{align-self:flex-start;margin-top:1px}
.reviewed-profile .pf-row .score-chip{min-height:27px;padding:4px 6px;gap:3px;font-size:10px}
.reviewed-profile .pf-row .score-chip>span:first-child{display:none}
.reviewed-profile .pf-row .score-chip b{font-size:12px}
.reviewed-profile .pf h1{font-size:21px;line-height:1.25;letter-spacing:-.55px;overflow-wrap:anywhere;margin:0}
.reviewed-profile .pf-sub{order:1;margin:0;font-size:12px;line-height:1.5;color:var(--ink-2)}
.reviewed-profile .pf-status{order:2;display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
.reviewed-profile .pf-status .pill{font-size:10px;padding:2px 5px;background:var(--fill);color:var(--ink-2);line-height:1.4}
.reviewed-profile .pf-acts{grid-column:3;grid-row:1;position:static;display:flex;align-items:center;gap:2px;margin:0;padding:0}
.reviewed-profile .pf-acts .ibtn{width:28px;height:30px;flex:none;border-radius:6px}
.reviewed-profile .pf-bottom{grid-column:2 / -1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;min-width:0}
.reviewed-profile .pf-metrics{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.reviewed-profile .pf-priority{display:flex;margin:0;flex:none}
.reviewed-profile .pf-rate{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0;font-size:12px;line-height:1.5}
.reviewed-profile .pf-rate a{font-size:11px;color:var(--ink-2)}
.reviewed-profile .pf-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin:0 0 0 auto;padding:0;border:0}
.reviewed-profile .pf-links .pf-ic{width:30px;height:30px;border-radius:7px}
.reviewed-profile .pf-links [data-contact]{display:inline-flex;align-items:center;justify-content:center;width:auto;gap:5px;padding:0 10px;background:var(--ink);color:var(--bg)}
.reviewed-profile .pf-links [data-contact]::after{content:'Contact';font-size:12px}
.reviewed-profile .pf-sub .pf-price{display:inline;margin:0;padding:0;width:auto;font-size:inherit;line-height:inherit;white-space:normal}
.reviewed-profile .pf-sub .pf-price::before{content:' · ';color:var(--ink-3)}
.reviewed-profile .pf-sub .pf-price b{font-size:inherit;font-weight:500;letter-spacing:0;color:#087b54;white-space:nowrap}
.reviewed-profile .pf-sub .pf-price span{font-size:inherit;color:var(--ink-3);margin-left:5px}
/* Mobile and narrow panels use fixed rows, with one shared text alignment. */
@container lead-profile (max-width:520px){
 .reviewed-profile .pf{grid-template-columns:36px minmax(0,1fr) auto;gap:10px 10px;padding-bottom:16px;margin-bottom:18px}
 .reviewed-profile .pf-av{width:36px;height:36px;align-self:start;margin-top:2px}
 .reviewed-profile .pf-identity,.reviewed-profile .pf-bottom{display:contents}
 .reviewed-profile .pf-row{grid-column:2 / -1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0}
 .reviewed-profile .pf h1{font-size:19px;line-height:1.3;letter-spacing:-.4px;overflow-wrap:break-word}
 .reviewed-profile .pf-row .pf-priority{margin:0}
 .reviewed-profile .pf-row .score-chip{min-height:30px;padding:5px;gap:2px}
 .reviewed-profile .pf-sub{grid-column:2 / -1;grid-row:2;line-height:1.6;order:initial;margin:0}
 .reviewed-profile .pf-sub .pf-price{display:block;margin-top:2px}
 .reviewed-profile .pf-sub .pf-price::before{content:none}
 .reviewed-profile .pf-sub .pf-price span{display:inline-block;white-space:nowrap;margin-left:5px}
 .reviewed-profile .pf-metrics{grid-column:2 / -1;grid-row:3;margin:0 0 4px;gap:0}
 .reviewed-profile .pf-rate{gap:3px 5px;min-width:0;line-height:1.5}
 .reviewed-profile .pf-rate .stars{white-space:nowrap}
 .reviewed-profile .pf-status{grid-column:2;grid-row:4;align-self:center;margin:0;order:initial}
 .reviewed-profile .pf-status .pill{border-radius:5px;padding:3px 6px}
 .reviewed-profile .pf-acts{grid-column:3;grid-row:4;justify-self:end;align-self:center;gap:4px}
 .reviewed-profile .pf-acts .ibtn,.reviewed-profile .pf-acts .profile-review .ibtn{width:34px;height:34px}
 .reviewed-profile .pf-links{grid-column:1 / -1;grid-row:5;justify-self:end;justify-content:flex-end;gap:7px;padding:0;margin:0;max-width:100%}
 .reviewed-profile .pf-links .pf-ic{width:36px;height:36px;flex-shrink:0}
 .reviewed-profile .pf-links [data-contact]{width:auto;padding-inline:12px;white-space:nowrap}
}
@container lead-profile (max-width:340px){
 .reviewed-profile .pf{grid-template-columns:32px minmax(0,1fr) auto;column-gap:9px}
 .reviewed-profile .pf-av{width:32px;height:32px}
 .reviewed-profile .pf h1{font-size:18px}
 .reviewed-profile .pf-row{gap:6px}
 .reviewed-profile .pf-row .score-chip{gap:2px;padding-inline:4px}
 .reviewed-profile .pf-row .score-chip svg{display:none}
 .reviewed-profile .pf-status{grid-column:2 / -1}
 .reviewed-profile .pf-acts{grid-column:1 / -1;grid-row:5}
 .reviewed-profile .pf-links{grid-row:6;gap:6px}
}
/* Quiet line symbols keep the finding text primary. */
.rw-check{grid-template-columns:26px minmax(0,1fr) auto 12px;gap:10px;min-height:44px;padding:8px 8px;border-radius:8px;font-size:13px}
.rw-check-symbol{width:26px;height:26px;margin:auto;display:grid;place-items:center;color:var(--ink-2);background:var(--fill);border:1px solid var(--line-soft);border-radius:9px;box-shadow:inset 0 1px 0 #ffffff80}
.rw-check-symbol svg{width:15px;height:15px}.rw-check-symbol.present{color:var(--go);background:color-mix(in srgb,var(--go) 5%,var(--raised))}
.rw-result{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}
.rw-result::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--ink-3)}
.rw-result.issue{color:#97542f}.rw-result.issue::before{background:#b5754e}.rw-result.present::before{background:var(--go)}
.rw-check[aria-pressed=true]{background:color-mix(in srgb,var(--ink) 4%,var(--raised));box-shadow:inset 2px 0 var(--ink-2)}
@media(prefers-color-scheme:dark){.reviewed-profile .pf-price b{color:#6cdbac}.rw-result.issue{color:#e4b184}.rw-check-symbol{box-shadow:none}}
.reviewed-profile .pf-acts .profile-review{padding:0;margin:0;border:0;gap:2px}
.review-workspace .pf h1:focus{outline:none}
.review-workspace a:focus-visible,.review-workspace summary:focus-visible{outline:2px solid var(--ink-2);outline-offset:3px;border-radius:4px}
