/* Find my AI setup: best-setup layout. Colour tokens come from .setup in ai-setup.css. */
.best-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:36px;align-items:start;margin-top:26px}
.best-layout>#best-results{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;padding:2px}
.best-step{border-top:1px solid var(--line);padding:20px 0 8px}
.best-step:first-child{border-top:0;padding-top:0}
.setup .best-step h2{display:flex;align-items:center;gap:10px;font:600 19px/1.3 Inter,sans-serif;letter-spacing:-.02em;margin:0 0 4px}
.best-step h2>span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--green);color:var(--panel);font-size:13px;flex-shrink:0}
.best-step h2 small{font-weight:400;color:var(--muted);font-size:13px}
.setup .best-hint{font-size:13px;color:var(--muted);margin:0 0 12px}
.best-group{margin:10px 0 12px}
.setup .best-group h3{font:600 11px/1.4 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 7px}
.best-chips{display:flex;flex-wrap:wrap;gap:8px}
.setup .best-chip{min-height:40px;padding:8px 14px;border-radius:999px;font-weight:500;font-size:14px;background:var(--panel);border:1px solid var(--line)}
.setup .best-chip[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--panel)}
.setup .best-chip[aria-pressed=true]::before{content:'✓ '}
.setup .best-add{border-style:dashed}
.setup .best-select{display:block;margin:12px 0 4px;font-size:13px;color:var(--muted)}
.best-owned{list-style:none;padding:0;margin:12px 0 0}
.best-owned li{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:8px 0;background:var(--panel);display:grid;gap:6px}
.best-owned li>div{display:flex;justify-content:space-between;align-items:center;gap:10px}
.setup .best-owned label{font-size:13px;color:var(--muted)}
.setup .best-owned input:not([type=checkbox]){min-height:40px;margin-top:4px;max-width:160px}
.setup .best-check{display:flex;align-items:center;gap:8px}
.setup .best-link{min-height:32px;padding:4px 8px;border:0;background:none;color:var(--green);text-decoration:underline;font-weight:500}
.best-seg{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:6px;margin:10px 0 14px}
.setup .best-seg button{min-height:46px;padding:8px 6px;font-weight:600;font-size:14px;line-height:1.2}
.setup .best-seg button small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:2px}
.setup .best-seg button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--panel)}
.setup .best-seg button[aria-pressed=true] small{color:inherit;opacity:.8}
.best-empty{padding:28px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);text-align:center}
.best-answer{border:2px solid var(--green);border-radius:18px;background:var(--panel);overflow:hidden}
.best-answer>header{display:flex;justify-content:space-between;gap:16px;padding:22px 24px;background:var(--green);color:#fff;align-items:flex-start}
.setup .best-answer>header h2{color:#fff;font:500 clamp(24px,3vw,32px)/1.15 Fraunces,Georgia,serif;margin:6px 0 0}
.best-answer>header h2 span{opacity:.6}
.setup .best-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0;color:inherit;opacity:.85}
.best-total{text-align:right;flex-shrink:0}
.best-total strong{display:block;font-size:32px;letter-spacing:-.03em;line-height:1}
.best-total span{font-size:12px;opacity:.85}
.setup .best-why{font-size:16px;line-height:1.55;margin:0;padding:16px 24px 6px}
.setup .best-quality{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);margin:0;padding:6px 24px 16px}
.best-quality span{width:90px;height:8px;border-radius:9px;background:linear-gradient(90deg,var(--green) var(--q),var(--line) var(--q));flex-shrink:0}
.setup .best-warn,.setup .best-limit{font-size:13px;color:#8a4b12;margin:6px 0}
[data-theme=dark] .setup .best-warn,[data-theme=dark] .setup .best-limit{color:#f0c27b}
.best-owned-report{margin:0 24px 16px;padding:16px;border-radius:14px;background:var(--paper);border:1px solid var(--line)}
.setup .best-owned-report h3{font:600 15px Inter,sans-serif;margin:0 0 10px}
.best-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.best-pair div{padding:10px 12px;border-radius:10px;background:var(--panel);border:1px solid var(--line)}
.best-pair span{display:block;font-size:12px;color:var(--muted)}
.best-pair strong{font-size:22px}
.setup .best-save{font-weight:700;color:var(--green);margin:10px 0 4px}
.best-owned-report ul{list-style:none;padding:0;margin:8px 0 0;font-size:14px}
.best-owned-report li{padding:7px 0;border-top:1px solid var(--line);line-height:1.5}
.best-keep,.best-cancel{display:inline-block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:6px;margin-right:4px}
.best-keep{background:var(--green);color:var(--panel)}
.best-cancel{background:#8a4b12;color:#fff}
.best-jobs{list-style:none;padding:0 24px 8px;margin:0;border-top:1px solid var(--line)}
.best-job{padding:14px 0;border-bottom:1px solid var(--line)}
.best-job:last-child{border-bottom:0}
.best-job-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:baseline}
.best-job-head>span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:600}
.best-job-head>strong{font-size:16px;text-align:right}
.best-score{font-style:normal;font-weight:700;font-size:18px;color:var(--green);min-width:44px;text-align:right}
.best-score small{font-size:11px;color:var(--muted);font-weight:500}
.setup .best-job>p{font-size:14px;line-height:1.55;margin:6px 0 0}
.setup .best-up{font-size:13px;color:var(--muted)}
.setup .best-job details{border:0;padding:4px 0 0}
.setup .best-job summary{font-size:13px;padding:6px 0;color:var(--green)}
.setup .best-job details p,.setup .best-job details li{font-size:13px;line-height:1.55;margin:6px 0}
.best-job details ul{padding-left:18px;margin:4px 0}
.best-alts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.best-alt{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--panel)}
.best-alt .best-eyebrow{color:var(--muted);opacity:1}
.setup .best-alt h3{font:600 16px/1.35 Inter,sans-serif;margin:6px 0}
.setup .best-alt p{font-size:13px;color:var(--muted);margin:0 0 10px}
.setup .best-alt button{min-height:40px;padding:8px 12px;font-size:13px}
.setup .best-foot{font-size:12px;color:var(--muted);line-height:1.6}
[data-theme=dark] .best-answer>header,[data-theme=dark] .setup .best-answer>header h2{color:#102218}
[data-theme=dark] .best-cancel{background:#f0c27b;color:#102218}
@media(max-width:860px){.best-layout{grid-template-columns:1fr}.best-layout>#best-results{position:static;max-height:none;overflow:visible}}
@media(max-width:600px){.best-answer>header{flex-direction:column;padding:18px}.best-total{text-align:left;display:flex;gap:8px;align-items:baseline}.setup .best-why,.setup .best-quality{padding-left:18px;padding-right:18px}.best-jobs{padding:0 18px 6px}.best-owned-report{margin:0 18px 14px}.best-alts{grid-template-columns:1fr}.best-job-head{grid-template-columns:1fr auto}.best-job-head>span{grid-column:1/-1}.best-job-head>strong{text-align:left}}
.best-have{display:inline-block;font-size:11px;font-weight:600;padding:1px 7px;border-radius:6px;border:1px solid var(--line);color:var(--muted);vertical-align:middle;margin-left:4px}
.best-bar{display:none}
@media(max-width:860px){.best-bar:not([hidden]){display:flex;position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:40;align-items:center;justify-content:space-between;gap:10px;padding:10px 10px 10px 16px;border-radius:14px;background:var(--green);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:14px;line-height:1.35}#best-bar-text{display:flex;gap:8px;min-width:0;align-items:baseline}#best-bar-text span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}#best-bar-text b{flex-shrink:0;font-weight:700}body.best-in-view .best-bar{display:none!important}.setup .best-bar button{min-height:40px;padding:8px 14px;background:#fff;color:#153c2b;border-color:#fff;flex-shrink:0}.setup{padding-bottom:110px}#best-results{scroll-margin-top:12px}}
[data-theme=dark] .best-bar{color:#102218}[data-theme=dark] .setup .best-bar button{background:#102218;color:#b8e78c;border-color:#102218}
.best-rank{list-style:none;padding:0;margin:4px 0 0;font-size:13px}
.best-rank li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding:6px 0;border-top:1px solid var(--line)}
.best-rank li span:nth-child(2){font-weight:600}
.best-rank li span:nth-child(3){color:var(--muted);text-align:right;min-width:92px}
@media(max-width:600px){.best-rank li{grid-template-columns:minmax(0,1fr) auto}.best-rank li span:nth-child(3){grid-column:1/-1;text-align:left}}
