/* Scoped publisher onboarding; all grids may shrink around publisher URLs. */
.publisher-setup{max-width:1040px;padding-bottom:74px}
.publisher-setup *, .publisher-setup *::before, .publisher-setup *::after{min-width:0}
.publisher-setup .setup-hero{padding-bottom:27px}
.publisher-setup .setup-hero h1{max-width:850px;font-size:clamp(2.6rem,5.5vw,4.7rem)}
.publisher-setup .setup-hero>p:not(.eyebrow){max-width:760px}
.setup-benefits{display:flex;flex-wrap:wrap;gap:9px 20px;margin-top:23px;color:#31564b;font-size:.85rem;font-weight:700}
.setup-benefits span{display:inline-flex;align-items:center;gap:8px}
.setup-benefits span::before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:var(--green)}
.setup-progress{margin:0 0 22px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.setup-progress ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0}
.setup-progress li+li{border-left:1px solid var(--line)}
.setup-progress a{display:flex;align-items:center;gap:13px;padding:18px 20px;text-decoration:none;height:100%}
.setup-progress a:hover{background:#f0f7f2}
.setup-progress a[aria-current=step]{background:#eaf6ef}
.setup-progress-number,.setup-step-number{display:grid;place-items:center;flex:0 0 auto;font-family:'Space Grotesk',system-ui,sans-serif;font-weight:700;background:#edf3ef;color:#44685b}
.setup-progress-number{width:35px;height:35px;border-radius:11px;font-size:1.05rem}
.setup-progress a[aria-current=step] .setup-progress-number{background:var(--green);color:#fff}
.setup-progress strong,.setup-progress small{display:block}
.setup-progress strong{font-size:.96rem}
.setup-progress small{font-size:.76rem;color:var(--muted);margin-top:2px;line-height:1.4}
.setup-intro-note{border-left:3px solid #6baa92;padding:5px 0 5px 16px;margin:0 0 27px;color:#456058;font-size:.88rem;max-width:900px;line-height:1.7}
.setup-intro-note a{color:var(--green);font-weight:700;white-space:nowrap}
.setup-sections{display:grid;gap:24px}
.setup-section{padding:30px;scroll-margin-top:100px}
.setup-section-heading{display:flex;align-items:flex-start;gap:15px;margin-bottom:27px}
.setup-step-number{width:44px;height:44px;border-radius:13px;font-size:1.35rem;background:var(--mint);color:#186b56}
.setup-section-heading>div{flex:1}
.setup-section-heading .setup-kicker{margin:0 0 4px;text-transform:uppercase;font-size:.68rem;font-weight:700;letter-spacing:.13em;color:var(--green)}
.setup-section-heading h2{margin:0 0 9px;font-size:clamp(1.45rem,2.5vw,1.85rem)}
.setup-section-heading p:last-child{margin:0;color:var(--muted);font-size:.9rem;line-height:1.6}
.setup-pill{display:inline-block;align-self:flex-start;padding:5px 10px;border:1px solid #cee4d9;border-radius:999px;background:#f0f8f2;color:#30664f;font-size:.7rem;line-height:1.4;font-weight:700;white-space:nowrap}
.publisher-setup .setup-form{max-width:100%}
.publisher-setup .field{font-size:1rem}
.publisher-setup .field-label{font-size:.9rem;margin-bottom:9px}
.publisher-setup .help{line-height:1.65;margin:8px 0 23px}
.setup-fieldset{border:0;padding:0;margin:25px 0 0}
.setup-fieldset legend{font-weight:700;font-size:.9rem;padding:0;margin-bottom:11px}
.setup-fixture-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.setup-fixture-choice{display:flex;align-items:flex-start;gap:10px;padding:17px 14px;border:1px solid #cddbd3;border-radius:11px;background:#fbfdfb;cursor:pointer}
.setup-fixture-choice:hover{background:#f0f7f2;border-color:#82b49d}
.setup-fixture-choice:focus-within{outline:2px solid var(--green);outline-offset:2px}
.setup-fixture-choice input{width:18px;height:18px;flex:0 0 18px;margin:3px 0 0;accent-color:var(--green)}
.setup-fixture-choice strong,.setup-choice-summary,.setup-choice-limit{display:block}
.setup-fixture-choice strong{font-size:.89rem;line-height:1.5}
.setup-choice-summary{font-size:.78rem;color:#436453;margin-top:5px}
.setup-choice-limit{font-size:.74rem;color:var(--muted);margin-top:8px;line-height:1.6}
.setup-two-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:22px}
.setup-two-fields .help{margin-bottom:0}
.setup-unit-field{display:flex;align-items:center;gap:12px}
.setup-unit-field input{max-width:140px}
.setup-unit-field>span{font-size:.9rem;color:var(--muted)}
.setup-form-action{display:flex;align-items:center;gap:22px;margin-top:28px;padding-top:23px;border-top:1px solid #e4ece6}
.setup-form-action .button{flex:0 0 auto}
.setup-form-action p{color:var(--muted);font-size:.8rem;line-height:1.6;max-width:350px;margin:0}
.setup-edit{margin-top:4px;border-top:1px solid #e3ebe6}
.setup-edit>summary{cursor:pointer;color:var(--green);font-size:.9rem;font-weight:700;padding:15px 0 0}
.setup-edit[open]>.setup-form{padding-top:24px}
.setup-empty{font-size:.9rem;color:var(--muted);max-width:730px;line-height:1.75;margin:0}
.setup-awaiting{background:#fbfdfb}
.setup-generated{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:23px;background:#edf7f0;border:1px solid #d3e6d9;border-radius:12px;margin-bottom:28px}
.setup-generated h3{font-size:1.15rem;margin:0 0 7px}
.setup-generated p{font-size:.84rem;color:#456455;margin:0;line-height:1.65}
.setup-download-form{flex:0 0 auto}
.setup-download-form .button{white-space:nowrap;font-size:.87rem;padding:11px 14px}
.setup-download-form .button:disabled{background:#6a7e77;border-color:#6a7e77;cursor:not-allowed;opacity:.7}
.setup-facts{display:flex;gap:28px;flex-wrap:wrap;margin:17px 0 0}
.setup-facts dt{font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#537465}
.setup-facts dd{font-size:.82rem;margin:3px 0 0;color:#234d3b}
.setup-publish-list{padding-left:22px;margin:0}
.setup-publish-list>li{padding-left:8px;margin-top:30px}
.setup-publish-list>li::marker{font-weight:700;color:var(--green)}
.setup-publish-list>li:first-child{margin-top:0}
.setup-publish-list h3{font-size:1.1rem;margin-bottom:11px;line-height:1.4}
.setup-publish-list p,.setup-preview-section>p{font-size:.88rem;color:#4a6259;line-height:1.8;margin:10px 0}
.setup-code-label{font-size:.73rem;font-weight:700;letter-spacing:.025em;color:#526d60;margin:16px 0 7px}
.publisher-setup .setup-code{margin:10px 0 15px;padding:17px 18px;max-width:100%;overflow:auto;border-radius:10px;background:#142f36;color:#e4f4eb;font: .77rem/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;tab-size:2}
.publisher-setup .setup-code code{font:inherit;white-space:inherit;overflow-wrap:inherit}
.setup-code:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.setup-warning{padding:14px 16px;background:#fff7e8;border:1px solid #ecdcb9;border-radius:10px;color:#725c32;font-size:.83rem;line-height:1.75;overflow-wrap:anywhere;margin:12px 0}
.setup-warning strong{color:#5a4726}
.setup-warning code{font-size:.81rem}
.publisher-setup .setup-small{font-size:.78rem!important;line-height:1.75!important;color:var(--muted)!important}
.setup-endpoints{padding:0;list-style:none;display:grid;gap:9px;margin:14px 0}
.setup-endpoints li{padding:13px 15px;border:1px solid var(--line);border-radius:9px;background:#f8fbf8;overflow-wrap:anywhere}
.setup-endpoints span,.setup-endpoints code{display:block}
.setup-endpoints span{font-size:.78rem;font-weight:700;margin-bottom:5px}
.setup-endpoints code{font-size:.76rem;line-height:1.7}
.setup-preview-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.setup-preview-section h3{font-size:1.15rem;margin-bottom:10px}
.setup-fixture-preview{border:1px solid var(--line);border-radius:10px;margin-top:10px;overflow:hidden;background:#fcfefb}
.setup-fixture-preview>summary{font-weight:700;cursor:pointer;padding:14px 16px;font-size:.85rem;line-height:1.6}
.setup-fixture-preview>summary span{font-weight:400;color:var(--muted);font-size:.73rem;margin-left:9px;white-space:nowrap}
.setup-preview-body{padding:0 16px 6px}
.setup-preview-body>p{font-size:.81rem;color:var(--muted);line-height:1.8;margin:2px 0 12px}
.setup-disclosure{margin-top:15px;overflow-wrap:anywhere}
.setup-disclosure>summary{cursor:pointer;color:var(--green);font-size:.8rem;font-weight:700;line-height:1.7}
.setup-package{margin-top:24px}
.setup-package ul{padding-left:22px;font-size:.77rem;line-height:1.9;color:var(--muted)}
.setup-next{margin:26px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:.9rem;font-weight:700}
.setup-next a{color:var(--green)}
.setup-consent{display:flex;align-items:flex-start;gap:12px;background:#f2f8f2;border:1px solid #d6e4d7;border-radius:11px;padding:17px;color:#3d5d4d;font-size:.84rem;line-height:1.8;margin-top:22px;cursor:pointer}
.setup-consent input{width:19px;height:19px;flex:0 0 19px;accent-color:var(--green);margin:4px 0 0}
.setup-consent strong{display:block;color:#244c3a;margin-bottom:4px}
.setup-error{border:1px solid #e1b8aa;border-left:4px solid #9a563f;border-radius:10px;padding:19px 21px;background:#fff7f2;margin-bottom:24px;color:#7c4536}
.setup-error h2{font-size:1.12rem;margin:0 0 8px}
.setup-error p{font-size:.9rem;margin:0;line-height:1.75;overflow-wrap:anywhere}
.setup-report{border:1px solid #decdb2;border-radius:12px;padding:21px;background:#fffaf2;margin-bottom:26px}
.setup-report.is-ready{background:#eff8f1;border-color:#cde3d2}
.setup-report h3{font-size:1.16rem;margin:0 0 10px}
.setup-report>p{color:#546459;font-size:.85rem;line-height:1.8}
.setup-checks{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:11px}
.setup-check{border:1px solid #e7dcc8;background:#fffdf8;border-radius:9px;padding:14px}
.setup-check-passed{border-color:#d3e5d5;background:#fbfefb}
.setup-check-not_checked{border-color:#dfe4de;background:#fafbf9}
.setup-check>div,.setup-result-rows>li>div{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.setup-check strong,.setup-result-rows strong{font-size:.85rem;line-height:1.65}
.setup-check-state{font-size:.7rem;white-space:nowrap;color:#55715e;background:#eef3ec;border-radius:5px;padding:3px 7px;font-weight:700}
.setup-check-failed .setup-check-state{background:#f5e7d1;color:#805a2e}
.setup-check>p,.setup-result-rows p{font-size:.79rem;line-height:1.75;color:#586a5d;margin:8px 0 0;overflow-wrap:anywhere}
.setup-fixes{padding-left:18px;color:#69563b;font-size:.8rem;line-height:1.8;margin:9px 0 0}
.setup-status-block{border-top:1px solid var(--line);padding-top:25px;margin-top:29px}
.setup-status-block>h3{font-size:1.25rem;margin-bottom:19px}
.setup-queue{display:flex;align-items:flex-start;gap:13px;padding:15px;background:#f0f5f6;border:1px solid #d9e4e5;border-radius:10px}
.setup-queue .setup-pill{background:#e5eff1;border-color:#cedfe2;color:#355c69;margin-top:2px}
.setup-queue strong{font-size:.85rem}
.setup-queue p{font-size:.79rem;line-height:1.75;color:#536f74;margin:4px 0 0}
.setup-observation{margin-top:23px}
.setup-observation>h3{font-size:1.1rem;margin:0 0 8px}
.setup-observed-date{font-size:.79rem;color:var(--muted);margin:0 0 11px}
.setup-observation>p:not(.setup-small){font-size:.84rem;color:#53695c;line-height:1.75}
.setup-result-rows{padding:0;list-style:none;margin:15px 0;display:grid;gap:9px}
.setup-result-rows>li{padding:13px 15px;border:1px solid var(--line);border-radius:9px;background:#fafcf9}
.setup-earned-badge{margin-top:23px;padding:21px;border:1px solid #cfe2d5;border-radius:11px;background:#eff7f0}
.setup-earned-badge h3{font-size:1.12rem;margin:0 0 10px}
.setup-earned-badge p{font-size:.82rem;line-height:1.8;color:#476452}
.setup-badge-link{display:inline-block;max-width:100%;margin:4px 0}
.setup-badge-link img{display:block;max-width:100%;height:auto}
.setup-profile-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:23px;font-size:.84rem;font-weight:700;color:var(--green)}
.setup-claim-note{font-size:.8rem;line-height:1.85;color:var(--muted);padding-top:17px;margin-top:17px;border-top:1px solid var(--line)}
.setup-claim-note a{color:var(--green)}
.setup-refresh{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:22px}
.setup-refresh span{font-size:.77rem;color:var(--muted)}
.setup-button-secondary{background:#fff;color:var(--green);border-color:#accab7;padding:9px 13px;font-size:.82rem}
.setup-button-secondary:hover{background:#f0f7f2;color:var(--green)}
.setup-control-note{margin-top:30px;padding:0 7px;max-width:850px}
.setup-control-note h2{font-size:1.3rem;line-height:1.4;margin:0 0 12px}
.setup-control-note p{font-size:.84rem;color:var(--muted);line-height:1.85}
.setup-control-note a{color:var(--green)}
.publisher-setup code,.publisher-setup a,.publisher-setup dd{overflow-wrap:anywhere}
.publisher-setup a:focus-visible,.publisher-setup button:focus-visible,.publisher-setup summary:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:4px}
@media(max-width:850px){.setup-section{padding:25px}.setup-fixture-choices{grid-template-columns:1fr}.setup-fixture-choice{padding:15px 17px}.setup-choice-summary{display:inline;margin-left:8px}.setup-choice-limit{margin-top:4px}.setup-generated{flex-direction:column;gap:20px}.setup-progress a{padding:16px 14px;gap:10px}.setup-progress small{font-size:.7rem}.setup-section-heading{flex-wrap:wrap}.setup-section-heading>.setup-pill{margin-left:59px;margin-top:-10px}.setup-form-action{gap:18px}}
@media(max-width:580px){.publisher-setup{padding-bottom:49px}.publisher-setup .setup-hero{padding-top:30px;padding-bottom:23px}.publisher-setup .setup-hero h1{font-size:2.65rem;line-height:1.08}.publisher-setup .setup-hero>p:not(.eyebrow){font-size:.97rem;line-height:1.75}.setup-benefits{gap:9px 16px;font-size:.74rem;margin-top:17px}.setup-progress{margin-bottom:19px;border-radius:11px}.setup-progress a{flex-direction:column;align-items:flex-start;gap:8px;padding:13px 11px}.setup-progress-number{width:28px;height:28px;border-radius:8px;font-size:.89rem}.setup-progress strong{font-size:.83rem}.setup-progress small{font-size:.64rem;line-height:1.5;max-width:100px}.setup-intro-note{font-size:.8rem;margin-bottom:22px;padding-left:12px}.setup-intro-note a{white-space:normal}.setup-sections{gap:18px}.setup-section{padding:21px 18px;border-radius:12px}.setup-section-heading{gap:12px;margin-bottom:22px}.setup-step-number{width:35px;height:35px;border-radius:10px;font-size:1.1rem}.setup-section-heading h2{font-size:1.35rem;line-height:1.2}.setup-section-heading p:last-child{font-size:.81rem;line-height:1.7}.setup-section-heading .setup-kicker{font-size:.62rem}.setup-section-heading>.setup-pill{margin-left:47px}.publisher-setup .field-label,.setup-fieldset legend{font-size:.82rem;line-height:1.65}.publisher-setup .field{padding:12px}.publisher-setup .help{font-size:.77rem;line-height:1.8;margin-bottom:19px}.setup-fixture-choice{padding:14px 12px;gap:9px}.setup-fixture-choice strong{font-size:.84rem}.setup-choice-summary{display:block;font-size:.73rem;margin:3px 0 0}.setup-choice-limit{font-size:.71rem;margin-top:5px;line-height:1.8}.setup-two-fields{grid-template-columns:1fr;gap:19px;margin-top:17px}.setup-two-fields .help{margin-bottom:0}.setup-form-action{flex-direction:column;align-items:stretch;gap:13px;margin-top:23px;padding-top:20px}.setup-form-action .button{width:100%;padding:12px 10px;font-size:.88rem}.setup-form-action p{font-size:.75rem;max-width:none}.setup-generated{padding:18px 15px}.setup-generated h3{font-size:1.05rem;line-height:1.45}.setup-generated p{font-size:.77rem}.setup-facts{gap:12px 20px;margin-top:14px}.setup-facts dd{font-size:.74rem}.setup-facts dt{font-size:.61rem}.setup-download-form{width:100%}.setup-download-form .button{width:100%}.setup-publish-list{padding-left:18px}.setup-publish-list>li{padding-left:1px;margin-top:25px}.setup-publish-list h3{font-size:1rem;line-height:1.5}.setup-publish-list p,.setup-preview-section>p{font-size:.8rem;line-height:1.85}.publisher-setup .setup-code{font-size:.68rem;line-height:1.85;padding:13px 12px;border-radius:8px}.setup-code-label{font-size:.68rem}.setup-warning{padding:12px;font-size:.76rem;line-height:1.85}.setup-warning code{font-size:.73rem}.publisher-setup .setup-small{font-size:.71rem!important;line-height:1.85!important}.setup-endpoints li{padding:12px}.setup-endpoints code{font-size:.69rem}.setup-preview-section h3{font-size:1.04rem;line-height:1.45}.setup-fixture-preview>summary{font-size:.77rem;padding:13px 12px}.setup-fixture-preview>summary span{font-size:.67rem;margin-left:6px}.setup-preview-body{padding:0 12px 4px}.setup-preview-body>p{font-size:.75rem}.setup-consent{padding:14px 12px;gap:10px;font-size:.75rem;line-height:1.85}.setup-consent input{width:17px;height:17px;flex-basis:17px;margin-top:5px}.setup-report{padding:17px 13px}.setup-report h3{font-size:1.06rem;line-height:1.4}.setup-report>p{font-size:.77rem}.setup-check{padding:12px}.setup-check>div,.setup-result-rows>li>div{flex-wrap:wrap;gap:7px}.setup-check strong,.setup-result-rows strong{font-size:.78rem}.setup-check>p,.setup-result-rows p{font-size:.73rem}.setup-check-state{font-size:.64rem}.setup-fixes{font-size:.72rem}.setup-queue{padding:13px 11px;gap:10px}.setup-queue strong{font-size:.79rem}.setup-queue p{font-size:.72rem}.setup-status-block>h3{font-size:1.13rem}.setup-observation>h3{font-size:1rem;line-height:1.4}.setup-observation>p:not(.setup-small){font-size:.77rem}.setup-profile-links{font-size:.76rem;gap:10px}.setup-claim-note{font-size:.73rem}.setup-earned-badge{padding:17px 13px}.setup-earned-badge h3{font-size:1rem;line-height:1.45}.setup-earned-badge p{font-size:.74rem}.setup-control-note{padding:0 3px;margin-top:26px}.setup-control-note h2{font-size:1.2rem;line-height:1.4}.setup-control-note p{font-size:.76rem;line-height:1.9}}
@media(max-width:580px){.setup-progress small{font-size:.72rem}.setup-benefits{font-size:.78rem}.setup-choice-summary,.setup-choice-limit{font-size:.76rem}.publisher-setup .help,.setup-form-action p{font-size:.8rem}.publisher-setup .setup-code{font-size:.75rem}.setup-warning,.setup-consent{font-size:.82rem}.setup-preview-body>p,.setup-report>p{font-size:.8rem}.setup-fixture-preview>summary{font-size:.82rem}.setup-check>p,.setup-result-rows p,.setup-fixes,.setup-queue p,.setup-claim-note{font-size:.79rem}.publisher-setup .setup-small{font-size:.76rem!important}}
