/* 3570 layout rebuild. Existing document styling stays untouched. */
:root{--pg3570-soft:color-mix(in srgb,var(--accent) 8%,#fff);--pg3570-line:color-mix(in srgb,var(--accent) 13%,#e6e8ef)}
.pg-page-home .top{height:66px;max-width:none;padding-inline:max(28px,calc((100vw - 1320px)/2));gap:16px}.pg-page-home .top nav{margin-inline:auto;gap:25px}.pg-page-home .top .brand{font-weight:750}.pg-home3533 .pg-container{width:min(1320px,calc(100% - 72px))}.pg-home3533 .pg-hero{background:linear-gradient(110deg,#f6f4ff 0%,#efedff 62%,#e8e3ff);border-bottom:1px solid var(--pg3570-line)}.pg-home3533 .pg-hero-grid{grid-template-columns:.87fr 1.13fr;gap:10px;padding:26px 0 38px}.pg-home3533 .pg-hero h1{font-size:clamp(35px,4vw,59px);max-width:650px;line-height:1.04;letter-spacing:-.045em}.pg-home3533 .pg-hero-art img{max-height:410px}.pg-home3533 .pg-benefits{margin-top:-18px;padding:17px 22px;box-shadow:0 7px 20px #2420440a;background:var(--pg3570-soft)}.pg-home3533 .pg-section{padding-block:28px}.pg-home3533 .pg-heading{margin-bottom:18px}.pg-home3533 .pg-heading h2{font-size:clamp(25px,2.5vw,34px)}.pg-tool-grid3570{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pg-tool3570{position:relative;display:flex;flex-direction:column;border:1px solid var(--pg3570-line);border-radius:12px;background:var(--pg3570-soft);padding:18px;color:var(--ink);min-width:0;text-decoration:none;transition:transform .15s}.pg-tool3570:hover{transform:translateY(-3px);border-color:var(--accent)}.pg-tool3570 img{width:100%;height:115px;object-fit:contain;object-position:left center;margin-bottom:10px}.pg-tool3570 h3{font-size:18px;margin:0 25px 6px 0}.pg-tool3570 p{font-size:13px;margin:0 20px 0 0}.tool-arrow3570{position:absolute;right:13px;bottom:15px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.pg-home3533 .pg-band{margin:10px auto;width:min(1400px,calc(100% - 32px));border-radius:22px;background:var(--pg3570-soft)}.pg-how3570{display:grid;grid-template-columns:160px 1fr;align-items:end;gap:16px}.pg-how3570>img{width:100%}.pg-how3570 .pg-steps{gap:10px}.pg-how3570 .pg-steps article{padding:17px 12px;min-height:155px}.pg-how3570 .pg-number{left:10px;right:auto;top:10px;background:var(--accent);color:white;border-radius:50%;width:23px;height:23px;display:grid;place-items:center}.pg-how3570 .pg-icon{margin:auto}.pg-how3570 h3{font-size:14px}.pg-gallery-layout3570{display:grid;grid-template-columns:166px minmax(0,1fr);gap:16px;align-items:center}.pg-gallery-layout3570 .pg-tabs{display:flex;flex-direction:column;width:100%;margin:0}.pg-gallery-layout3570 .pg-tabs button{width:100%;font-size:12px}.pg-gallery-layout3570 .pg-gallery{gap:10px}.pg-gallery-layout3570 .pg-gallery article{padding:6px}.pg-gallery-layout3570 .pg-gallery strong{font-size:12px}.pg-home3533 .pg-ai-layout{grid-template-columns:200px 1fr}.pg-home3533 .pg-ai-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pg-home3533 .pg-workflow{padding:24px 30px}.pg-home3533 .pg-membership{background:transparent}.pg-home3533 .pg-membership-grid{grid-template-columns: .55fr 1.45fr;gap:28px}.pg-plans3570{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.pg-plans3570 .pg-price{background:var(--pg3570-soft);padding:20px}.pg-plans3570 .pg-amount{font-size:27px}.pg-plans3570 .pg-price h3{font-size:18px}.pg-plans3570 .pg-price p{font-size:12px}.pg-plans3570 .pg-price ul{font-size:13px;margin:12px 0}.pg-home3533 .pg-languages{padding:20px;background:var(--pg3570-soft);border-radius:16px}.pg-home3533 .pg-faq{gap:25px}.pg-page-editor .top{height:58px;padding:8px 20px;gap:12px}.pg-page-editor .top nav{margin-left:auto}.editor-actions3570{display:flex;gap:6px;align-items:center}.editor-actions3570 button{font-size:12px;padding:8px 12px}.step-circle3570{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ffffff18;color:white;flex:none;font-size:12px}.rail button.visited .step-circle3570{background:#2d9b73}.rail button.current .step-circle3570{background:#ffffff30}.workspace:not(.studio-final) .rail #steps button{display:flex;align-items:center;gap:10px}.workspace:not(.studio-final) .editing{border-right:1px solid var(--line);padding:32px clamp(24px,3vw,55px)}.workspace:not(.studio-final) .editing h1{font-size:clamp(26px,2.7vw,39px);line-height:1.12}.workspace:not(.studio-final) .previewwrap{background:var(--surface,#fff)}.workspace:not(.studio-final) .previewbar{box-shadow:none;border:0;background:transparent}.workspace:not(.studio-final) #paperframe{margin-top:22px}.workspace:not(.studio-final) .fieldgroup{gap:10px 14px}.workspace:not(.studio-final) #fields{margin-top:30px}.workspace .editing> .row:last-child{justify-content:space-between}.optional3570{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.optional3570 button{font-size:13px}.close-panel3570{float:right;padding:5px 10px!important}.studio-final .previewwrap{background:#eeeffb}.studio-final .editing{padding:18px 20px}.studio-final .studio-sections button{padding:12px;justify-content:flex-start;text-align:left;font-weight:500}.studio-final .studio-sections button:before{content:'⠿';color:var(--muted);margin-right:7px}.studio-final .previewbar{border:1px solid var(--line)}.start3570 .editing>#fields>.eyebrow,.start3570 .editing>#fields>h1,.start3570 .editing>#fields>.hint,.start3570 #fields>.fieldgroup,.start3570 .editing>.row:first-child{display:none}.start3570 .studio-start{border:0;background:transparent;text-align:center;padding:30px 0}.start3570 .studio-start h3{font-size:32px;line-height:1.12;letter-spacing:-1px;margin-bottom:14px}.start3570 .studio-start-actions{gap:16px;grid-template-columns:1fr}.start3570 .studio-start-actions button{min-height:96px;font-size:19px;border:1px solid var(--pg3570-line);border-radius:14px;background:var(--pg3570-soft);color:var(--ink);justify-content:center}.start3570 details.record{padding:25px}.start3570 details input[type=file]{padding:30px 12px;border:2px dashed var(--accent);background:var(--pg3570-soft);width:100%}.start3570 details summary{font-size:24px;font-weight:600}.start3570 .previewwrap{display:none}.start3570 .rail{display:none}.start3570.workspace{display:block;background:var(--pg3570-soft);overflow:auto}.start3570 .editing{max-width:650px;height:auto;min-height:0;margin:40px auto;padding:35px;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #201c440b}.start3570 .editing>#fields{margin:0}.start3570 .editing>.row:last-child{position:static}.panel-closed3570 .editing{display:none}.panel-closed3570.workspace{grid-template-columns:100px minmax(0,1fr)}.docs-main .documentcards{gap:18px}.docs-main .newdoc{border:2px dashed var(--pg3570-line)}.pg-page-pricing .plan3550{border:1px solid var(--pg3570-line);border-top:4px solid var(--accent);background:var(--pg3570-soft)}
html[data-theme=dark]{--pg3570-soft:#25263a;--pg3570-line:#3c4057}html[data-theme=dark] .pg-home3533 .pg-hero{background:linear-gradient(110deg,#222337,#2c294a)}html[data-theme=dark] .workspace:not(.studio-final) .previewwrap,html[data-theme=dark] .studio-final .previewwrap{background:#191c2b}html[data-theme=dark] .pg-tool3570{color:var(--ink)}html[data-theme=dark] .pg-home3533 .pg-membership{background:transparent}
@media(min-width:1051px){.workspace:not(.studio-final):not(.start3570){grid-template-columns:210px minmax(390px,1.35fr) minmax(300px,.85fr)}.studio-final:not(.panel-closed3570){grid-template-columns:92px minmax(315px,365px) minmax(0,1fr)}}
@media(max-width:1050px){.pg-page-home .top nav{gap:10px}.pg-tool-grid3570{grid-template-columns:repeat(2,1fr)}.pg-how3570{grid-template-columns:1fr}.pg-how3570>img{display:none}.pg-gallery-layout3570{grid-template-columns:1fr}.pg-gallery-layout3570 .pg-tabs{flex-direction:row}.pg-gallery-layout3570 .pg-tabs button{width:auto}.pg-home3533 .pg-ai-layout{grid-template-columns:1fr}.pg-home3533 .pg-ai-art{max-width:190px;margin:auto}.editor-actions3570 button{padding:7px 8px}.pg-page-editor .top nav{display:none}}
@media(max-width:800px){.pg-page-home .top,.pg-page-editor .top{height:auto;padding:10px 15px;flex-wrap:wrap}.pg-home3533 .pg-container{width:calc(100% - 30px)}.pg-home3533 .pg-hero-grid{grid-template-columns:1fr;padding:25px 0 35px}.pg-home3533 .pg-hero h1{font-size:38px}.pg-home3533 .pg-hero-art img{max-height:290px}.pg-home3533 .pg-section{padding-block:23px}.pg-home3533 .pg-ai-grid{grid-template-columns:1fr}.pg-home3533 .pg-membership-grid{grid-template-columns:1fr}.pg-tool3570{padding:12px}.pg-tool3570 img{height:82px}.pg-tool3570 h3{font-size:15px}.pg-tool3570 p{font-size:12px}.pg-home3533 .pg-workflow{padding:20px}.workspace:not(.studio-final) .editing{padding:20px}.editor-actions3570{width:100%;overflow:auto}.editor-actions3570 button{flex:none}.start3570 .editing{margin:20px 12px;padding:22px}.start3570 .studio-start h3{font-size:26px}.panel-closed3570 .editing{display:none}.pg-page-editor .rail #steps button{font-size:12px}.step-circle3570{width:20px;height:20px}.pg-page-editor .top .brand small{display:none}}
@media print{.editor-actions3570,.close-panel3570{display:none!important}.workspace{display:block!important}.previewwrap{background:white!important}.panel-closed3570 .previewwrap{display:block!important}}
.start3570 #fields>label,.start3570 #fields>.pg-choice,.start3570 #fields>button,.start3570 #fields>.record:not(details){display:none!important}.start3570 #fields>[hidden]{display:none!important}.start3570 #fields>.studio-start[hidden]{display:none!important}.start3570 #fields>.studio-start:not([hidden]){display:block}.start3570 #fields>details[hidden]{display:none!important}
body:has(.start3570) .editor-actions3570{display:none}.start3570 .studio-start-actions button{position:relative;min-height:92px;text-align:left;justify-content:flex-start;padding:18px 20px 18px 92px;background:var(--surface,#fff)}.start3570 .studio-start-actions button:before{content:'↗';position:absolute;left:18px;top:18px;width:56px;height:56px;display:grid;place-items:center;background:var(--pg3570-soft);border-radius:12px;color:var(--accent);font-size:30px}.start3570 .studio-start-actions button:nth-child(2):before{content:'✎'}.start3570 .studio-start-actions button:first-child{border-color:var(--accent)}html[data-theme=dark] .start3570 .studio-start-actions button{background:#202334}
