/* Focused setup cards. Existing inputs, validation and save contracts are retained. */
.workspace .guide-stage.setup-polished:has(#guide-workspaceName){display:block;padding:0;background:transparent;border:0;box-shadow:none;margin-top:24px;min-width:0}
.workspace .setup-polished .setup-intro{display:flex;align-items:center;gap:16px;padding:4px 4px 20px;margin:0}
.workspace .setup-polished .setup-intro h3{font:700 clamp(29px,3vw,38px)/1.12 Georgia,serif;letter-spacing:-.9px;margin:0 0 8px;color:#143638}
.workspace .setup-polished .setup-intro p{font-size:16px;line-height:1.6;max-width:720px;margin:0;color:#586d64}
.setup-polished .setup-section{border:1px solid #d6e0d6;border-radius:18px;background:#fffefb;box-shadow:0 4px 20px #18343604;overflow:hidden;margin:0 0 20px;min-width:0}
.setup-polished .setup-section-head{display:flex;align-items:center;gap:16px;padding:22px 24px;min-height:86px;margin:0;background:#f8faf5;list-style:none;min-width:0}
.setup-polished summary.setup-section-head{cursor:pointer}
.setup-polished summary.setup-section-head::-webkit-details-marker{display:none}
.setup-polished summary.setup-section-head::after{content:'';flex:0 0 18px;height:18px;background:url('/assets/setup-chevron.svg') center/18px no-repeat;transition:transform .15s}
.setup-polished details[open]>summary.setup-section-head::after{transform:rotate(180deg)}
.setup-section-icon,.research-panel-icon{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:14px;background:#d8f0eb;color:#174c43}
.setup-section-icon::before,.research-panel-icon::before{content:'';display:block;width:28px;height:28px;background:url('/assets/setup-business.svg') center/contain no-repeat}
.setup-section-icon.tone-lilac{background:#e9e0f3}
.setup-section-icon.tone-lilac::before{background-image:url('/assets/setup-story.svg')}
.setup-section-icon.tone-aqua{background:#d8f0eb}
.setup-section-copy{flex:1;min-width:0}
.workspace .setup-section-copy h4{font:700 26px/1.15 Georgia,serif;letter-spacing:-.5px;color:#153b36;margin:0 0 7px}
.workspace .setup-section-copy p{font-size:14px;line-height:1.55;margin:0;color:#587065;max-width:670px}
.setup-section-tag{display:inline-flex;align-items:center;flex-shrink:0;font-size:12px;line-height:1.4;font-weight:700;background:#fff1bd;color:#644f18;padding:5px 10px;border:1px solid #ead693;border-radius:20px}
.setup-polished .setup-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;padding:24px}
.workspace .setup-polished .guide-field{min-width:0;margin:0}
.workspace .setup-polished .guide-field label{font-size:16px;line-height:1.4;font-weight:700;color:#193d37;margin:0 0 7px}
.workspace .setup-polished .guide-help{font-size:14px;line-height:1.55;color:#5c7067;margin:0 0 12px}
.workspace .setup-polished .guide-field input,.workspace .setup-polished .guide-field textarea{display:block;width:100%;min-width:0;background:#fff;border:1px solid #bfcec3;border-radius:11px;padding:13px 14px;font-size:16px;line-height:1.6;box-shadow:0 1px 2px #173a3b03}
.workspace .setup-polished .guide-field input{min-height:50px}
.workspace .setup-polished .guide-field textarea{resize:vertical;min-height:136px}
.workspace .setup-polished .guide-field input:focus,.workspace .setup-polished .guide-field textarea:focus{border-color:#3a7b65;outline:3px solid #e0eee1;outline-offset:1px}
.workspace .setup-polished .setup-business-details{padding:0;margin:0 0 22px;background:#fff;border:1px solid #d4ddd9;border-radius:18px;overflow:hidden;box-shadow:0 4px 20px #18343604}
.setup-polished .setup-business-details>.setup-section-head{background:#f2eff7}
.setup-polished .setup-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}
.workspace .setup-polished .setup-field-card{--field-tint:#f4f7f1;--field-line:#d3dfd1;background:var(--field-tint);border:1px solid var(--field-line);border-radius:14px;padding:22px;margin:0;min-width:0}
.setup-polished .setup-field-card.setup-bio{grid-column:1/-1;--field-tint:#eff5fc;--field-line:#ceddeb}
.setup-polished .setup-field-card.setup-topics{--field-tint:#eef7ee;--field-line:#cfe2cf}
.setup-polished .setup-field-card.setup-exclusions{--field-tint:#fff2e8;--field-line:#ebd6c8}
.workspace .setup-polished .setup-field-card.setup-bio textarea{min-height:152px}
.workspace .setup-polished .setup-field-card .guide-help{max-width:820px}
.setup-polished .setup-example{border:0;background:transparent;padding:0;margin:0 0 10px;box-shadow:none}
.setup-polished .setup-example>summary{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:4px 0;font-size:13px;font-weight:650;line-height:1.5;color:#34675c;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.setup-polished .setup-example>summary::after{content:'';width:14px;height:14px;background:url('/assets/setup-chevron.svg') center/contain no-repeat;transition:transform .15s}
.setup-polished .setup-example[open]>summary::after{transform:rotate(180deg)}
.workspace .setup-polished .setup-example .guide-field-example{font-size:14px;line-height:1.65;color:#45635a;background:#ffffffb3;border-left:3px solid #a9c8b7;padding:11px 13px;margin:4px 0 10px;border-radius:0 9px 9px 0;overflow-wrap:anywhere}
.setup-polished .guide-research-toggle{border:0;padding:0;margin:24px 0}
.setup-polished .guide-research-toggle>summary{min-height:44px;color:#245e50;font-size:15px;line-height:1.5;padding:0 4px;font-weight:650}
.workspace .profile-research.research-polished{padding:22px;background:#fffefb;border:1px solid #cfddd4;border-radius:19px;margin:14px 0 0;box-shadow:0 4px 20px #18343605;text-align:left;min-width:0}
.research-polished .research-panel-head{display:flex;align-items:flex-start;gap:17px;padding:23px;background:linear-gradient(115deg,#e7f2e7,#edf6f2);border-radius:14px;margin-bottom:20px;min-width:0}
.research-polished .research-panel-head>div:not(.research-panel-icon){min-width:0;flex:1}
.research-polished .research-panel-icon{background:#d0e9df;flex-basis:52px;width:52px;height:52px}
.research-polished .research-panel-icon::before{background-image:url('/assets/setup-globe.svg');width:30px;height:30px}
.workspace .research-polished .research-panel-head .eyebrow{font-size:11px;letter-spacing:1.15px;line-height:1.5;margin:0 0 10px;color:#356a56}
.workspace .research-polished .research-panel-head h4{font:700 clamp(27px,3vw,36px)/1.1 Georgia,serif;letter-spacing:-.7px;color:#153c36;margin:0 0 12px;max-width:27ch}
.workspace .research-polished .research-panel-head p:last-child{font-size:15px;line-height:1.65;color:#416257;margin:0;max-width:800px}
.research-polished .research-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.research-polished .research-link-card{padding:21px;background:#f0f7f4;border:1px solid #d2e2da;border-radius:13px;min-width:0}
.research-polished .research-link-card.tone-lilac{background:#f3eff8;border-color:#ddd3e9}
.workspace .research-polished .research-link-card label{font-size:16px;font-weight:700;line-height:1.45;color:#193f38;margin:0 0 9px}
.workspace .research-polished .research-link-card .guide-field-example{font-size:14px;line-height:1.55;color:#526c61;margin:0 0 14px;overflow-wrap:anywhere}
.workspace .research-polished .research-link-card input[type=url],.workspace .research-polished .research-link-card textarea{width:100%;max-width:100%;min-width:0;border:1px solid #bfcdc4;background:#fff;font-size:16px;line-height:1.6;padding:13px 14px;border-radius:10px;margin:0;box-shadow:0 1px 2px #173a3b03}
.workspace .research-polished .research-link-card input[type=url]{min-height:50px}
.workspace .research-polished .research-link-card textarea{min-height:112px;resize:vertical}
.research-polished .research-social-card{grid-column:1/-1;margin-top:16px;background:#faf8ed;border-color:#e2dfc9}
.research-polished .research-links-grid>.research-social-card{margin-top:0}
.research-polished .research-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 14px}
.workspace .research-polished .research-actions .primary{min-height:52px;padding:13px 23px;border-radius:11px;font-size:16px;box-shadow:0 4px 0 #b9902420}
.workspace .research-polished .research-actions .secondary{min-height:48px;font-size:14px;background:#fff;padding:12px 18px}
.research-polished .research-disclosure{font-size:13px;line-height:1.65;color:#536b60;background:#f5f7f2;border-left:3px solid #c4d8c4;padding:13px 15px;border-radius:0 10px 10px 0;margin:0 0 20px;max-width:none}
.research-polished .research-status:not(:empty){font-size:14px;line-height:1.6;margin:18px 0 12px}
.research-polished .research-results:empty{display:none}
.research-polished .research-results h5{font:700 26px/1.2 Georgia,serif;color:#153c36}
.research-polished .research-fact{border-radius:12px;border-color:#d3dfd4;background:#fbfcf8}
.research-polished .research-paste-details{border:1px solid #d4dfda;border-radius:13px;background:#fff;overflow:hidden;margin-top:20px}
.research-polished .research-paste-details>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:15px;line-height:1.5;color:#245e50;font-weight:700;min-height:58px;padding:15px 18px;background:#f6f8f3;list-style:none;cursor:pointer}
.research-polished .research-paste-details>summary::-webkit-details-marker{display:none}
.research-polished .research-paste-details>summary::after{content:'';flex:0 0 17px;height:17px;background:url('/assets/setup-chevron.svg') center/contain no-repeat;transition:transform .15s}
.research-polished .research-paste-details[open]>summary::after{transform:rotate(180deg)}
.research-polished .research-paste{padding:20px;margin:0;border:0;border-top:1px solid #dbe4dc}
.workspace .research-polished .research-paste h5{font:700 23px/1.2 Georgia,serif;margin:0 0 12px;color:#193f38}
.workspace .research-polished .research-paste p{font-size:14px;line-height:1.65;color:#526b5f;margin:0 0 15px}
.workspace .research-polished .research-paste label{font-size:15px;color:#244b3f;line-height:1.5}
.research-polished .research-paste textarea{min-height:170px;font-size:16px;background:#fff;border:1px solid #c4d2c6;border-radius:10px}
.research-polished .research-paste button{margin-top:12px}
.workspace .onboarding-guide:has(.setup-polished)>.guide-actions{padding:16px;background:#fffdf7;border:1px solid #d8e1d4;border-radius:14px;box-shadow:0 3px 16px #18343604;margin-top:20px}
.workspace .onboarding-guide:has(.setup-polished)>.guide-actions .primary{min-height:50px;min-width:210px;justify-content:center;padding:13px 25px}
@media(max-width:900px){
 .setup-polished .setup-field-grid{gap:20px;padding:21px}
 .setup-polished .setup-section-head{padding:20px;gap:13px}
 .workspace .setup-section-copy h4{font-size:24px}
 .setup-polished .setup-section-tag{font-size:11px;padding:4px 8px}
 .research-polished .research-panel-head{padding:20px;gap:13px}
 .research-polished .research-links-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .workspace .guide-stage.setup-polished:has(#guide-workspaceName){margin-top:20px}
 .workspace .setup-polished .setup-intro{align-items:flex-start;gap:12px;padding:0 3px 18px}
 .workspace .setup-polished .setup-intro h3{font-size:29px;letter-spacing:-.6px}
 .workspace .setup-polished .setup-intro p{font-size:15px;line-height:1.55}
 .setup-polished .setup-section,.workspace .setup-polished .setup-business-details{border-radius:15px;margin-bottom:18px}
 .setup-polished .setup-section-head{padding:18px 16px;gap:12px;flex-wrap:wrap;min-height:76px}
 .setup-section-icon{flex-basis:43px;width:43px;height:43px;border-radius:12px}
 .setup-section-icon::before{width:25px;height:25px}
 .setup-section-copy{flex-basis:calc(100% - 75px)}
 .workspace .setup-section-copy h4{font-size:23px;line-height:1.15;margin-bottom:6px}
 .workspace .setup-section-copy p{font-size:13px;line-height:1.5}
 .setup-polished .setup-section-tag{margin-left:55px}
 .setup-polished summary.setup-section-head::after{margin-left:auto}
 .setup-polished .setup-field-grid{grid-template-columns:1fr;padding:19px 16px;gap:21px}
 .setup-polished .setup-details-grid{grid-template-columns:1fr;padding:14px;gap:13px}
 .workspace .setup-polished .setup-field-card{padding:18px 15px;border-radius:12px}
 .workspace .setup-polished .guide-field label{font-size:16px}
 .workspace .setup-polished .guide-help{font-size:14px;line-height:1.55;margin-bottom:11px}
 .workspace .setup-polished .guide-field input,.workspace .setup-polished .guide-field textarea{padding:12px;line-height:1.6}
 .workspace .setup-polished .setup-field-card.setup-bio textarea{min-height:174px}
 .workspace .setup-polished .setup-example .guide-field-example{font-size:13px;line-height:1.6}
 .workspace .profile-research.research-polished{padding:13px;border-radius:15px}
 .research-polished .research-panel-head{padding:19px 16px;gap:12px;flex-wrap:wrap;border-radius:11px;margin-bottom:14px}
 .research-polished .research-panel-icon{flex-basis:43px;width:43px;height:43px;border-radius:12px}
 .research-polished .research-panel-icon::before{width:26px;height:26px}
 .research-polished .research-panel-head>div:not(.research-panel-icon){flex-basis:100%}
 .workspace .research-polished .research-panel-head h4{font-size:28px;line-height:1.08;max-width:none;letter-spacing:-.65px}
 .workspace .research-polished .research-panel-head p:last-child{font-size:14px;line-height:1.6}
 .research-polished .research-links-grid{gap:13px}
 .research-polished .research-link-card{padding:18px 15px;border-radius:11px}
 .workspace .research-polished .research-link-card label{font-size:15px}
 .workspace .research-polished .research-link-card .guide-field-example{font-size:13px;line-height:1.55}
 .research-polished .research-actions{flex-direction:column;align-items:stretch;gap:10px;margin:17px 0 13px}
 .workspace .research-polished .research-actions :is(.primary,.secondary){width:100%;min-width:0;font-size:15px}
 .research-polished .research-disclosure{font-size:13px;padding:12px 13px;line-height:1.6;margin-bottom:16px}
 .research-polished .research-paste-details{margin-top:16px}
 .research-polished .research-paste-details>summary{font-size:14px;padding:14px 15px}
 .research-polished .research-paste{padding:18px 15px}
 .workspace .research-polished .research-paste h5{font-size:22px}
 .research-polished .research-paste button{width:100%}
 .workspace .onboarding-guide:has(.setup-polished)>.guide-actions{padding:13px;gap:10px}
 .workspace .onboarding-guide:has(.setup-polished)>.guide-actions .primary{min-width:0;width:100%}
}
@media(prefers-reduced-motion:reduce){.setup-polished summary::after,.research-polished summary::after{transition:none}}

.setup-polished .setup-main-business,.setup-polished .setup-organization{grid-column:1/-1}
.setup-polished .setup-organization{padding:0;background:transparent;border-top:1px solid #e1e7de;border-radius:0;margin:0}
.setup-polished .setup-organization>summary{font-size:14px;min-height:44px;padding:12px 0;color:#365f51}
.setup-polished .setup-organization>.guide-field{padding:8px 0 0}

.workspace .research-polished .research-actions .primary::after,.workspace .onboarding-guide:has(.setup-polished)>.guide-actions .primary::after{content:"";display:inline-block;width:21px;height:21px;background:url("/assets/setup-arrow.svg") center/contain no-repeat;margin-left:8px}
.workspace .research-polished .research-actions .primary:disabled::after{display:none}

/* Topic selection keeps the existing setup save contract. */
.topic-picker{border:0;padding:0;margin:14px 0 0;min-width:0}.topic-picker legend{font-size:16px;font-weight:700;margin-bottom:8px}.topic-picker>.guide-help{font-size:14px}.topic-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 22px}.topic-options .topic-option{display:flex;align-items:center;gap:10px;margin:0;padding:12px;border:1px solid #c7d8cf;border-radius:10px;background:#ffffffcc;font-size:14px;line-height:1.5;font-weight:500;cursor:pointer}.topic-options .topic-option:has(input:checked){border-color:#28705b;background:#d9eee2;box-shadow:0 0 0 1px #28705b}.topic-options input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#235d4d}.topic-summary-label{font-size:14px;font-weight:700;margin:18px 0 8px}.topic-summary{display:block;border:1px solid #c7d8cf;border-radius:10px;padding:14px;background:#fff;line-height:1.7;font-size:14px;overflow-wrap:anywhere}.topic-selection-status:not(:empty){color:#853c2b;background:#fff0e8;padding:12px;border-radius:8px;font-weight:600}.topic-picker[aria-invalid=true]{outline:2px solid #a45c43;outline-offset:6px;border-radius:8px}
@media(max-width:600px){.topic-options{grid-template-columns:1fr}.topic-options .topic-option{min-height:48px}}
.workspace .setup-polished .guide-field .topic-options .topic-option{display:flex;align-items:center;gap:10px;margin:0;padding:12px;font-size:14px;font-weight:500}
.workspace .setup-polished .guide-field .topic-options input[type=checkbox]{display:inline-block;width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0;margin:0;border-radius:4px;box-shadow:none;accent-color:#235d4d}
