/* Collection uses the document scroll; the design editor keeps its independent panes. */
.editor-main:has(.collect-workspace){height:auto;min-height:100dvh;overflow:visible;display:block}
.studio-body:has(.collect-workspace){display:block;overflow:visible}
.studio-content:has(.collect-workspace){display:block;overflow:visible}
.editor-main:has(.collect-workspace)>.studio-header{position:sticky;top:0}
.collect-workspace [data-ss-form],.collect-workspace .ss-service-card{scroll-margin-top:148px}
.collect-workspace{max-width:1600px;padding:24px;margin:0 auto;color:#192b48;min-width:0}.collect-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.collect-heading h1{font-size:25px;margin:6px 0 8px}.collect-heading p{margin:0;color:#66758d;font-size:14px}.collect-heading .button{white-space:nowrap}.collect-status{display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:18px;border:1px solid #f1d7a5;border-radius:10px;background:#fff8e9;color:#805519}.collect-status>i{flex:none;display:flex}.collect-status>div{flex:1}.collect-status strong{font-size:14px}.collect-status p{font-size:13px;line-height:1.7;margin:4px 0 0}.collect-status--open{background:#eef9f4;border-color:#c4e7d7;color:#27674f}.collect-status--draft,.collect-status--closed{background:#fff2f1;border-color:#f3d0cd;color:#a53d36}.collect-status .button{flex:none;white-space:nowrap}.collect-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.collect-main,.collect-side{display:grid;gap:18px;min-width:0}.collect-card{background:#fff;border:1px solid #e0e6ef;border-radius:12px;box-shadow:0 3px 14px #19355b04;min-width:0;overflow:hidden}.collect-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e9edf3}.collect-card h2{display:flex;align-items:center;gap:8px;font-size:17px;margin:0}.collect-card header p{font-size:13px;line-height:1.6;color:#718096;margin:7px 0 0}.collect-tag{color:#3765cb;background:#f0f5ff;white-space:nowrap;font-size:12px;padding:5px 9px;border-radius:5px}.collect-link-body{display:grid;grid-template-columns:204px minmax(0,1fr);gap:24px;padding:22px 20px}.collect-qr-block{display:flex;flex-direction:column;align-items:center;gap:12px;border:1px solid #e1e6ef;border-radius:9px;padding:14px 12px}.collect-qr{width:170px;height:170px;display:flex;align-items:center;justify-content:center;flex:none;background:white}.collect-qr svg{display:block;width:100%;height:100%;shape-rendering:crispEdges}.collect-qr span{font-size:13px;color:#78869b}.collect-qr--inactive{opacity:.35}.collect-qr-block small{font-size:11px;color:#7a8799;text-align:center;line-height:1.5}.collect-link-controls{align-self:center;min-width:0}.collect-link-controls>label,.collect-embed>label{display:block;margin-bottom:10px;font-size:13px;font-weight:600;color:#465975}.collect-link-controls>input{width:100%;box-sizing:border-box;background:#f5f7fb;border:1px solid #e1e7f0;border-radius:7px;color:#1c3a63;padding:14px;font-size:14px;min-width:0}.collect-link-actions{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.collect-link-hint{font-size:12px;color:#7a889a;line-height:1.8;margin:0}.collect-tip{display:flex;align-items:flex-start;gap:8px;padding:12px;background:#f5f8ff;border-radius:7px;font-size:12px;color:#57709a;line-height:1.8;margin-top:16px}.collect-tip>i{flex:none;margin-top:2px}.collect-embed{padding:18px 20px}.collect-embed textarea{box-sizing:border-box;width:100%;min-width:0;resize:vertical;padding:13px;border:1px solid #dce5f1;border-radius:7px;background:#f8faff;font:12px/1.8 Consolas,monospace;color:#36517c;overflow-wrap:anywhere}.collect-embed>div{display:flex;align-items:center;gap:14px;margin-top:14px;flex-wrap:wrap}.collect-embed>div>span{font-size:12px;color:#7a879a}.collect-settings{padding:20px}.collect-settings .field{display:block;margin:0 0 24px}.collect-settings .field>span{display:block;font-weight:600;font-size:13px;margin-bottom:10px}.collect-settings select{box-sizing:border-box;width:100%;padding:10px;border:1px solid #d6deeb;border-radius:7px;background:#fff;color:#314661;font-size:13px}.collect-settings small{display:block;color:#7a879b;font-size:12px;line-height:1.7;margin-top:8px}.collect-toggle{display:flex;align-items:flex-start;gap:15px;padding:0 0 22px;border-bottom:1px solid #edf0f5}.collect-toggle>span{flex:1}.collect-toggle strong{font-size:13px}.collect-toggle input{width:17px;height:17px;accent-color:#3659d9;flex:none;margin-top:3px}.collect-schedule{padding:20px 0;border-bottom:1px solid #edf0f5}.collect-schedule h3{font-size:13px;margin:0 0 14px}.collect-schedule dl{display:grid;grid-template-columns:32px 1fr;gap:10px;font-size:12px;line-height:1.7;margin:0 0 12px}.collect-schedule dt{color:#8290a3}.collect-schedule dd{margin:0;color:#536781;overflow-wrap:anywhere}.collect-muted{font-size:12px;color:#7a879b;line-height:1.8;margin:16px 0}.collect-after{padding:20px}.collect-after h3{font-size:14px;display:flex;align-items:center;gap:8px;margin:0}.collect-after p{font-size:12px;color:#738298;line-height:1.8;margin:12px 0 18px}.collect-advanced>summary{display:flex;gap:9px;align-items:center;cursor:pointer;padding:20px 24px;font-size:14px;font-weight:600;list-style:none}.collect-advanced>summary::-webkit-details-marker{display:none}.collect-advanced>summary:after{content:'＋';font-size:19px;font-weight:400;color:#7d8aa0;margin-left:6px}.collect-advanced[open]>summary:after{content:'−'}.collect-advanced>summary>span{margin-left:auto;font-size:12px;font-weight:400;color:#8692a4}.collect-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:0 24px 24px}.collect-extra-grid article{border-top:1px solid #edf0f5;padding-top:18px}.collect-extra-grid h3{font-size:14px;margin:0 0 8px}.collect-extra-grid p{font-size:12px;line-height:1.8;color:#7a879b;margin:0 0 16px}.collect-workspace .button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.collect-workspace button:disabled{opacity:.5;cursor:not-allowed}.collect-workspace .text-button{font-size:12px}.collect-workspace a:focus-visible,.collect-workspace button:focus-visible,.collect-advanced summary:focus-visible{outline:2px solid #3659d9;outline-offset:3px}.studio-body:has(.collect-workspace)>.studio-rail{display:none}
@media(max-width:1200px){.collect-grid{grid-template-columns:minmax(0,1fr) 290px}.collect-link-body{grid-template-columns:180px minmax(0,1fr);gap:20px;padding:22px}.collect-qr{width:150px;height:150px}.collect-workspace{padding:22px}}
@media(max-width:960px){.collect-grid{grid-template-columns:minmax(0,1fr)}.collect-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}
@media(max-width:650px){.collect-workspace{padding:16px 12px}.collect-heading{align-items:flex-start;flex-direction:column;gap:12px}.collect-heading h1{font-size:23px}.collect-status{padding:14px;align-items:flex-start;flex-wrap:wrap}.collect-status>div{min-width:0;flex-basis:calc(100% - 38px)}.collect-status>.button{margin-left:33px}.collect-grid,.collect-main,.collect-side{gap:16px}.collect-side{grid-template-columns:minmax(0,1fr)}.collect-card>header{padding:18px 16px}.collect-card h2{font-size:16px}.collect-card header p{font-size:12px}.collect-link-body{display:flex;flex-direction:column;align-items:stretch;padding:20px 16px}.collect-qr-block{align-self:center;width:190px;box-sizing:border-box}.collect-qr{width:160px;height:160px}.collect-link-controls{align-self:stretch}.collect-link-actions>.button{flex:1 1 120px}.collect-embed{padding:18px 16px}.collect-advanced>summary{padding:18px 16px}.collect-extra-grid{grid-template-columns:1fr;padding:0 16px 20px}.collect-tag{display:none}}

@media(max-width:700px){.editor-main:has(.collect-workspace)>.studio-header{position:relative}.collect-workspace [data-ss-form],.collect-workspace .ss-service-card{scroll-margin-top:16px}}
