.promo-layout{display:grid;grid-template-columns:minmax(280px,400px) minmax(350px,1fr);gap:24px;align-items:start}.promo-controls h2{font-size:18px;margin:22px 0 12px}.promo-controls h2:first-child{margin-top:0}.promo-preview{position:sticky;top:18px}.promo-stage{padding:24px;background:repeating-conic-gradient(#18131f 0 25%,#211a2a 0 50%) 50%/24px 24px;border:1px solid var(--border);border-radius:12px;display:flex;justify-content:center;min-height:320px}.promo-stage canvas{width:auto;height:auto;max-width:100%;max-height:660px;object-fit:contain;box-shadow:0 12px 35px #0005}.promo-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.promo-template{padding:12px 6px;font-size:12px;border:1px solid var(--border);background:#18131f;color:var(--text);border-radius:8px;cursor:pointer}.promo-template[aria-pressed=true]{border-color:#bea0e8;background:#352347}.promo-template .mini{height:60px;margin-bottom:8px;border:1px solid #69547f;display:block;background:linear-gradient(145deg,#55365f,#21112f);position:relative;overflow:hidden}.promo-template .mini:after{content:'';position:absolute;background:#cbb1e6;width:62%;height:5px;bottom:12px;left:18%}.promo-template[data-template=editorial] .mini{background:linear-gradient(#9b7ab6 50%,#21112f 50%)}.promo-template[data-template=split] .mini{background:linear-gradient(90deg,#21112f 50%,#9b7ab6 50%)}.promo-color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.promo-color-grid input{height:40px;width:100%;padding:4px}.promo-assets{display:grid;grid-template-columns:1fr 1fr;gap:12px}.promo-assets img{height:60px;max-width:100%;object-fit:contain;margin:10px 0}.promo-assets input[type=file]{width:100%;font-size:12px;padding:8px}.promo-preview .row{flex-wrap:wrap;margin:16px 0}.promo-preview select{max-width:100%}.promo-warning:empty{display:none}.promo-warning{padding:12px;border:1px solid #ad7846;background:#3a271b;border-radius:8px;margin:12px 0;line-height:1.5}.promo-library-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--border)}.promo-library-row:last-child{border-bottom:0}.promo-library-row .promo-name{flex:1;min-width:180px}.promo-library-row small{display:block;margin-top:5px}.promo-controls textarea{min-height:80px}.promo-controls input[type=range]{padding:0;width:100%}.promo-status{min-height:24px}.promo-hint{font-size:13px;color:var(--muted);line-height:1.5}.promo-actions{display:flex;gap:8px;flex-wrap:wrap}.promo-readonly{opacity:.8}.promo-brand-row{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.promo-brand-row>label{flex:1;min-width:200px}@media(max-width:1000px){.promo-layout{grid-template-columns:1fr}.promo-preview{position:static;grid-row:1}.promo-stage canvas{max-height:560px}.promo-stage{padding:12px}}@media(max-width:520px){.promo-assets{grid-template-columns:1fr}.promo-stage canvas{max-height:460px}.promo-color-grid{gap:6px}.promo-template-grid{gap:5px}}

.promo-controls fieldset{border:0;padding:0;margin:0;min-width:0}
.promo-mobile-nav{display:none}.promo-preview-stack{position:sticky;top:18px}.promo-preview-stack>.promo-preview{position:static}.promo-edit-section+ .promo-edit-section{margin-top:22px}.promo-edit-section[hidden]{display:none}
@media(max-width:1000px){.promo-preview-stack{grid-row:1;position:static}}
@media(max-width:760px){
 .promo-layout{display:flex;flex-direction:column;gap:12px;isolation:isolate}
 .promo-layout>.panel{width:100%;margin-bottom:0}
 .promo-preview-stack{display:contents}
 .promo-preview{order:-1;position:sticky;top:6px;z-index:3;padding:10px;background:#201b2a;box-shadow:0 5px 18px #0006}
 .promo-preview .row{flex-wrap:nowrap;gap:10px;justify-content:space-between;margin:0 0 8px}
 .promo-preview h2{font-size:14px;margin:0;white-space:nowrap}
 .promo-preview .form-field{margin:0;min-width:0;max-width:70%}
 .promo-preview .form-field>span{display:none}
 .promo-preview select{font-size:16px;padding:7px;min-height:36px;width:100%}
 .promo-stage{min-height:0;padding:8px;height:clamp(120px,27svh,250px)}
 .promo-stage canvas{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain}
 .promo-preview .promo-status{font-size:11px;margin:5px 0 0;min-height:0;line-height:1.35}
 .promo-warning{font-size:12px;padding:6px;margin:5px 0;max-height:55px;overflow:auto}
 .promo-controls{padding:12px}
 .promo-controls input:not([type=file]),.promo-controls textarea,.promo-controls select{font-size:16px}
 .promo-mobile-nav{display:block;position:sticky;top:calc(var(--art-preview-height,300px) + 18px);z-index:2;background:var(--panel);margin:-2px -4px 12px;padding:4px 0;box-shadow:0 5px 12px #0003}
 .promo-edit-tabs{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:4px;scroll-snap-type:x proximity}
 .promo-edit-tabs button{flex:none;min-height:44px;border:1px solid var(--line);border-radius:7px;padding:8px 15px;background:#18131f;color:var(--muted);scroll-snap-align:start}
 .promo-edit-tabs button[aria-selected=true]{background:var(--accent-bg);border-color:var(--accent);color:var(--text)}
 .promo-swipe-hint{color:var(--muted);font-size:11px;margin:5px 4px 0}
 .promo-edit-section+.promo-edit-section{margin-top:0}
 .promo-edit-section h2{margin-top:0}
 .promo-edit-section{min-height:220px}
 .promo-preview-stack>.promo-preview{position:sticky;width:100%;margin-bottom:0}
 .promo-preview-stack>.promo-footer{order:2;width:100%;padding:12px;margin-bottom:0}
 .promo-footer .promo-actions>.btn{min-height:44px;flex:1 1 140px;font-size:12px}
 .promo-footer p{margin:10px 0 0}
}
@media(max-width:760px) and (max-height:500px){.promo-stage{height:100px}.promo-preview .promo-status{display:none}}
