.promotion-setup-dialog{width:min(1180px,96vw);max-width:1180px;height:min(900px,94vh);max-height:94vh;padding:0;border:0;border-radius:18px;box-shadow:0 24px 80px rgba(5,34,61,.28);color:var(--ink);overflow:hidden}
.promotion-setup-dialog::backdrop{background:rgba(4,23,41,.58);backdrop-filter:blur(2px)}
.promotion-setup-shell{height:100%;display:flex;flex-direction:column;background:#f5f8fa}
.promotion-setup-shell>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 26px;background:#fff;border-bottom:1px solid var(--line)}
.promotion-setup-shell>header h2{margin:2px 0 4px;color:var(--navy)}
.promotion-setup-shell>header p:last-child{margin:0;color:var(--muted);font-size:12px}
.promotion-setup-body{padding:20px 26px 28px;overflow:auto}
.promotion-setup-progress{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;margin:0 0 20px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.promotion-setup-progress li{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-right:1px solid var(--line);font-size:11px;font-weight:800;color:var(--muted)}
.promotion-setup-progress li:last-child{border-right:0}.promotion-setup-progress li span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e8eef2}
.promotion-setup-progress li.active{background:#e9f7f6;color:var(--teal)}.promotion-setup-progress li.active span,.promotion-setup-progress li.complete span{background:var(--teal);color:#fff}.promotion-setup-progress li.complete{color:#315a66}
.promotion-setup-upload{display:grid;grid-template-columns:86px 1fr;gap:24px;align-items:start;padding:34px;background:#fff;border:1px solid var(--line);border-radius:16px}
.assistant-mark{display:grid;place-items:center;width:76px;height:76px;border-radius:18px;background:linear-gradient(145deg,var(--navy),var(--teal));color:#fff;font-size:24px;font-weight:900}
.promotion-setup-upload h3{margin:0 0 8px;color:var(--navy)}.promotion-setup-upload p{color:var(--muted)}
.promotion-file{display:grid;gap:8px;margin:22px 0;padding:18px;border:1px dashed #8fb8c2;border-radius:12px;background:#f7fcfc;font-weight:800}.promotion-file input{background:#fff}
.promotion-setup-actions{display:flex;justify-content:flex-end;gap:10px}
.promotion-processing{display:grid;justify-items:center;text-align:center;padding:46px;background:#fff;border:1px solid var(--line);border-radius:16px}
.promotion-spinner{width:44px;height:44px;border:4px solid #d9e8e8;border-top-color:var(--teal);border-radius:50%;animation:promotion-spin .8s linear infinite}
@keyframes promotion-spin{to{transform:rotate(360deg)}}.promotion-processing ul{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:8px 24px;padding:0;list-style:none;text-align:left}.promotion-processing li{display:flex;gap:8px;color:#315a66}.promotion-processing li span{color:var(--teal);font-weight:900}
.promotion-review-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:14px}.promotion-review-heading h3{margin:2px 0;color:var(--navy)}.promotion-review-heading p:last-child{margin:0;color:var(--muted);font-size:11px}.draft-isolation{padding:7px 10px;border-radius:999px;background:#e8f7f6;color:#08736f;font-size:10px;font-weight:900;text-transform:uppercase}
.promotion-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.promotion-summary-grid article{display:grid;gap:4px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:12px}.promotion-summary-grid span{font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:800}.promotion-summary-grid strong{font-size:22px;color:var(--navy)}
.promotion-validation{display:grid;gap:8px;margin-bottom:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}.promotion-validation h3{margin:0 0 4px}.promotion-validation article{padding:10px 12px;border-left:4px solid #d59b24;background:#fff8e8;border-radius:6px}.promotion-validation article.error{border-left-color:var(--danger);background:#fff0ee}.promotion-validation article p,.promotion-validation article small{margin:3px 0;display:block}.promotion-validation.success{border-left:4px solid #159a60}
.promotion-review-section{margin-bottom:12px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.promotion-review-section>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:15px 18px;list-style:none}.promotion-review-section>summary div{display:grid;gap:3px}.promotion-review-section>summary span{font-size:11px;color:var(--muted)}.promotion-review-section>summary b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#edf4f6;color:var(--navy)}.promotion-review-section[open]>summary{border-bottom:1px solid var(--line);background:#f9fbfc}
.promotion-component-grid{display:grid;gap:12px;padding:14px}.promotion-component{padding:15px;border:1px solid var(--line);border-radius:11px}.promotion-component>header{display:flex;justify-content:space-between;gap:12px}.promotion-component h4{margin:3px 0;color:var(--navy)}.promotion-component>header span{font-size:9px;text-transform:uppercase;color:var(--muted);font-weight:900}.component-status{height:max-content;padding:5px 8px;border-radius:999px;background:#fff5d8;color:#805c0e;font-size:9px}.promotion-component.ready-for-save .component-status{background:#e7f7ed;color:#17673f}.promotion-component.administrator-modified .component-status{background:#e8f1fb;color:#185c92}.promotion-component>p{color:#485f71}.confidence{height:5px;background:#edf1f4;border-radius:99px;overflow:hidden}.confidence span{display:block;height:100%;background:var(--teal)}.promotion-component>small{color:var(--muted)}.promotion-component-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.promotion-references{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.promotion-references summary{cursor:pointer;color:#315a66;font-size:11px;font-weight:800}.promotion-references article{display:flex;justify-content:space-between;gap:14px;margin-top:8px;padding:10px;background:#f7fafb;border-radius:8px}.promotion-references article div{display:grid;gap:2px}.promotion-references article span,.promotion-references article p{font-size:10px;color:var(--muted);margin:0}
.promotion-setup-footer{position:sticky;bottom:-28px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:16px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 -6px 18px rgba(9,42,67,.08)}.promotion-setup-footer p{margin:3px 0 0;color:var(--muted);font-size:11px}.promotion-setup-footer>div:last-child{display:flex;gap:9px;flex-shrink:0}
@media(max-width:800px){.promotion-setup-dialog{width:98vw;height:96vh}.promotion-setup-progress{grid-template-columns:repeat(2,1fr)}.promotion-setup-progress li{border-bottom:1px solid var(--line)}.promotion-setup-upload{grid-template-columns:1fr}.promotion-summary-grid{grid-template-columns:repeat(2,1fr)}.promotion-processing ul{grid-template-columns:1fr}.promotion-setup-footer{align-items:stretch;flex-direction:column}.promotion-setup-footer>div:last-child{justify-content:flex-end}.promotion-review-heading{align-items:flex-start;flex-direction:column}}
