/* One document scroll. Preview and steps share an anchor; choices stay in normal flow. */
:root{--pc-page-anchor-top:12px}
body .pc-flow .pc-studio-workspace{--studio-top:var(--pc-page-anchor-top)!important;align-items:stretch!important}
body .pc-flow .pc-studio-controls{position:relative!important;top:auto!important;height:auto!important;max-height:none!important;min-height:0!important;align-self:stretch!important;display:block!important;overflow:visible!important}
body .pc-flow .pc-studio-controls>[data-builder-content]:not([hidden]){display:block!important;min-height:0!important}
body .pc-flow .pc-studio-scroll{display:block;overflow:visible!important;height:auto!important;max-height:none!important;flex:none!important;scrollbar-gutter:auto!important}
body .pc-flow .pc-studio-controls :is(.pcn-sign__steps,.pck-steps){position:sticky!important;top:var(--pc-page-anchor-top)!important;z-index:14!important;background:#ecdef3!important;box-shadow:0 6px 9px #4931510c}
body .ccx .ccx-workflow,body .ccx[data-cc-current-step] .ccx-workflow{position:relative!important;top:auto!important;display:block!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;align-self:stretch!important}
body .ccx .ccx-flow,body .ccx[data-cc-current-step] .ccx-flow,body .ccx .ccx-catalog-scroll{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;scrollbar-gutter:auto!important;flex:none!important}
body .ccx .ccx-progress-nav{position:sticky!important;top:var(--pc-page-anchor-top)!important;z-index:14!important;background:#f1e9f6!important;box-shadow:0 6px 9px #4931510c}
@media(min-width:960px){
 body .pc-flow .pc-studio-preview-slot{align-self:stretch!important}
 body .pc-flow .pc-studio-preview{position:sticky!important;top:var(--pc-page-anchor-top)!important;align-self:start!important}
 body .ccx .ccx-preview-column{position:sticky!important;top:var(--pc-page-anchor-top)!important;align-self:start!important;padding-top:0!important}
}
@media(max-width:959px){body .pc-flow .pc-studio-preview,body .ccx .ccx-preview-column{position:relative!important;top:auto!important}}
/* Anchor the complete rounded card cap, and mask earlier content only once pinned. */
.pc-step-sentinel{display:block;width:1px;height:1px;margin-bottom:-1px;pointer-events:none}
body :is(.pc-flow,.ccx) .pc-step-cap{position:sticky!important;top:var(--pc-page-anchor-top)!important;z-index:14;isolation:isolate;border-radius:19px 19px 0 0;background:#f2e9f6;box-shadow:0 5px 8px #49315109}
body :is(.pc-flow,.ccx) .pc-step-cap :is(.pcn-sign__steps,.pck-steps,.ccx-progress-nav){position:static!important;top:auto!important;box-shadow:none!important;margin:0!important;background:transparent!important;border-radius:inherit}
body .ccx .pc-step-cap{margin:-10px -10px 10px;padding:10px;border-radius:23px 23px 0 0;background:#f1e9f6}
body .ccx .pc-step-cap .ccx-progress-nav{padding:0!important}
.pc-step-cap.is-stuck::before{content:'';position:absolute;inset:auto -2px 100%;height:calc(var(--pc-page-anchor-top) + 2px);background:var(--pc-cap-page,#fff9ed);pointer-events:none}
.pc-step-cap.is-stuck::after{content:'';position:absolute;inset:0 -1px auto;height:24px;background:radial-gradient(circle at 100% 100%,transparent 23px,var(--pc-cap-page,#fff9ed) 23.5px) left top/24px 24px no-repeat,radial-gradient(circle at 0 100%,transparent 23px,var(--pc-cap-page,#fff9ed) 23.5px) right top/24px 24px no-repeat;pointer-events:none}
body .pc-flow[data-batch-screen=true] .pc-studio-workspace{grid-template-columns:minmax(0,1fr)!important}
body .pc-flow[data-batch-screen=true] .pc-studio-preview-slot{display:none!important}
body .pc-flow[data-batch-screen=true] .pc-studio-controls{grid-column:1/-1!important;width:100%!important;max-width:none!important}
body .pc-flow[data-batch-screen=true] .pc-step-sentinel{display:none}
/* The same compact sharing sheet serves every builder. */
body :is(.pc-studio-share,.ccx-share-design){display:inline-flex!important;align-items:center;justify-content:center;gap:7px!important;min-height:42px!important;padding:9px 13px!important;border:1px solid #bda4cb!important;border-radius:99px!important;background:#fffaf0!important;color:#553666!important;font:650 11px/1.2 'Public Sans',sans-serif!important}
body :is(.pc-studio-share,.ccx-share-design)::before{content:'';width:16px;height:16px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='m8.5 10 7-4m-7 8 7 4'/%3E%3Ccircle cx='5' cy='12' r='3'/%3E%3Ccircle cx='19' cy='4' r='3'/%3E%3Ccircle cx='19' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
body dialog.pc-design-share{position:fixed!important;inset:0!important;margin:auto!important;width:min(440px,calc(100vw - 28px))!important;max-height:calc(100svh - 32px)!important;padding:22px!important;border:1px solid #cdb3db!important;border-radius:25px!important;background:#fffaf0!important;color:#342238!important;box-shadow:0 20px 90px #3422384a!important;overflow:auto!important;font:400 13px/1.5 'Public Sans',sans-serif;box-sizing:border-box}
body dialog.pc-design-share:not([open]){display:none!important}
body dialog.pc-design-share::backdrop{background:#34223866;backdrop-filter:blur(3px)}
body .pc-design-share__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body .pc-design-share__heading h2{font:800 28px/1.1 'Baloo 2',sans-serif!important;letter-spacing:-.025em;margin:0!important}
body .pc-design-share__close{display:grid;place-items:center;flex:none;width:42px;height:42px;border:0;border-radius:50%;background:#eee0f3;color:inherit;font:400 26px/1 Arial,sans-serif;cursor:pointer}
body .pc-design-share__options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 18px}
body .pc-design-share__option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:84px;padding:10px 5px;border:1px solid #d4bfdf;border-radius:16px;background:#f0e5f5;color:#553466;text-decoration:none!important;font:650 11px/1.3 'Public Sans',sans-serif;cursor:pointer}
body .pc-design-share__option svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}
body .pc-design-share__link{display:flex;align-items:stretch;gap:6px}
body .pc-design-share__link input{min-width:0!important;flex:1!important;width:100%!important;height:44px!important;min-height:44px!important;padding:9px 10px!important;border:1px solid #cab3d7!important;border-radius:10px!important;background:#fffdf9!important;color:#775f80!important;font:400 11px/1.3 'Public Sans',sans-serif!important;text-transform:none!important}
body .pc-design-share__copy{flex:none;min-height:44px;padding:9px 13px;border:0;border-radius:10px;background:#51335f;color:#fffaf0;font:700 12px/1.2 'Public Sans',sans-serif;cursor:pointer}
body .pc-design-share__status{min-height:18px;margin:8px 0 0!important;font:500 11px/1.5 'Public Sans',sans-serif;color:#765980}
body .pc-design-share :focus-visible{outline:3px solid #ad6389;outline-offset:3px}
body .pc-design-share__option[data-studio-share-native]{grid-column:1/-1;min-height:44px;flex-direction:row;gap:9px;background:transparent}
