.cs-design{margin:32px 0;border-top:1px solid var(--line);padding-top:28px}
.cs-design-heading{max-width:700px}.cs-design h3{font-size:18px;margin:30px 0 12px}.cs-design .cs-fields{margin:18px 0}
.cs-upload-label{display:block;border:1px dashed #94b2a0;border-radius:14px;padding:18px;background:#f2f6ee;font-weight:600;line-height:1.8}
.cs-upload-label input{display:block;max-width:100%;margin-top:8px;font-size:14px}.cs-upload-label input::file-selector-button{border:0;background:#dce8d7;padding:9px 14px;border-radius:8px;color:var(--ink);cursor:pointer;margin-right:12px}
.cs-crop-preview{height:230px;position:relative;margin-top:18px;border-radius:16px;overflow:hidden;background:var(--wash)}
.cs-crop-preview img{position:static;width:100%;height:100%;object-fit:cover}
.cs-module-controls{border:1px solid var(--line);border-radius:14px;overflow:hidden}.cs-module-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.cs-module-row:last-child{border:0}.cs-module-row label{display:flex;align-items:center;gap:10px;font-size:15px}.cs-module-row input{accent-color:var(--accent);width:18px;height:18px}.cs-module-row button{padding:5px 12px;margin-left:5px}.cs-module-row button:disabled{cursor:default}
.cs-photo-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.cs-photo-row>img{width:100px;height:80px;object-fit:cover;border-radius:10px;background:var(--wash)}.cs-photo-row label{font-size:14px;min-width:0}.cs-photo-row input{display:block;width:100%;min-width:0;border:1px solid var(--line);padding:10px;border-radius:8px;margin-top:6px}.cs-photo-actions{display:flex;gap:8px}.cs-photo-actions button{font-size:13px;padding:8px 12px}
.cs-has-cover{padding-top:300px}.cs-cover-photo{position:absolute;inset:0 0 auto;width:100%;height:260px;object-fit:cover;background:var(--wash)}
[data-title-style=serif] .cs-cover h1{font-family:"Noto Serif SC","Songti SC",SimSun,Georgia,serif;font-weight:700;letter-spacing:.015em}
[data-cover-style=postcard] .cs-has-cover{min-height:340px;padding:40px 48% 40px 36px;display:flex;flex-direction:column;justify-content:center}
[data-cover-style=postcard] .cs-cover-photo{left:auto;right:0;width:43%;height:100%;border-left:10px solid var(--paper)}
.cs-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cs-gallery figure{margin:0;min-width:0}.cs-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:var(--wash)}.cs-gallery figcaption{font-size:13px;color:var(--muted);line-height:1.7;margin-top:9px;overflow-wrap:anywhere}.cs-image-unavailable{padding:18px;background:var(--wash);border-radius:12px}.cs-cover:has(>img[hidden]){padding-top:40px}
@media(max-width:650px){.cs-photo-row{grid-template-columns:70px minmax(0,1fr);gap:12px}.cs-photo-row>img{width:70px;height:70px}.cs-photo-actions{grid-column:2}.cs-has-cover{padding-top:225px}.cs-cover-photo{height:200px}[data-cover-style=postcard] .cs-has-cover{padding:225px 25px 25px;min-height:0}[data-cover-style=postcard] .cs-cover-photo{width:100%;height:200px;left:0;right:0;border:0}.cs-crop-preview{height:180px}.cs-gallery{gap:12px}.cs-module-row{padding:12px}.cs-module-row button{padding:6px 10px}}
