body::before{content:"";position:fixed;inset:72px 0 auto;height:280px;pointer-events:none;background:radial-gradient(circle at 18% 20%,rgba(43,183,169,.12),transparent 34%),radial-gradient(circle at 84% 4%,rgba(38,113,161,.09),transparent 30%);z-index:-1}
.editor{background:linear-gradient(180deg,#fff 0,#fbfdfd 100%)}
.steps span{transition:.25s}.steps span.done{background:#e9f7f3;color:#087c72}.steps span.done::before{content:"✓ ";font-weight:900}.steps b.done{background:linear-gradient(90deg,#0b8e84,#46c2b6)}
.qr-drop.dragging{border-color:#64e0d3;background:rgba(53,202,188,.13);box-shadow:inset 0 0 0 2px rgba(100,224,211,.18)}
#qrPreview{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);object-fit:contain;border-radius:10px;background:#fff;padding:8px}
.qr-drop{position:relative;overflow:hidden}
.mini-progress{margin-top:10px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;color:#a9c0c8;font-size:12px}.mini-progress[hidden]{display:none}.mini-progress>div{height:5px;background:rgba(255,255,255,.09);border-radius:10px;overflow:hidden}.mini-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,#3bb9ae,#77e3d7);border-radius:inherit;transition:width .35s ease}
.progress-panel{margin-top:14px;border:1px solid #cfe6e2;border-radius:14px;padding:17px;background:linear-gradient(135deg,#f0faf8,#f7fbfd);box-shadow:0 12px 34px rgba(8,96,101,.07)}.progress-panel[hidden]{display:none}.progress-head,.progress-head>div{display:flex;align-items:center;justify-content:space-between}.progress-head>div{justify-content:flex-start;gap:10px}.progress-head b,.progress-head small{display:block}.progress-head small{color:var(--muted);font-size:12px;margin-top:3px}.progress-head>strong{color:var(--teal);font-size:20px}.pulse{width:11px;height:11px;border-radius:50%;background:#13a99b;box-shadow:0 0 0 0 rgba(19,169,155,.45);animation:pulse 1.6s infinite}.progress-panel.complete .pulse{animation:none;background:#24ad73}.progress-panel.failed .pulse{animation:none;background:#d55454}.progress-track{height:8px;background:#dcecea;border-radius:10px;overflow:hidden;margin:14px 0}.progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#087e77,#44c7ba 70%,#7ce6db);transition:width .5s ease;position:relative}.progress-track i:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.48),transparent 70%);animation:shine 1.3s linear infinite}
.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;list-style:none;padding:0;margin:0}.timeline li{position:relative;padding-top:16px;text-align:center;color:#718990;font-size:12px}.timeline li:before{content:"";position:absolute;top:0;left:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:#cfdddf;border:2px solid #f5faf9;box-shadow:0 0 0 1px #cfdddf}.timeline li.active{color:#087e77;font-weight:700}.timeline li.active:before{background:#0a9187;box-shadow:0 0 0 3px #d6f1ed}.timeline li.done{color:#456c70}.timeline li.done:before{background:#31b07d;box-shadow:0 0 0 1px #31b07d}
.drop-overlay{position:fixed;inset:0;z-index:999;background:rgba(4,27,40,.82);backdrop-filter:blur(8px);display:grid;place-items:center}.drop-overlay[hidden]{display:none}.drop-overlay>div{width:min(520px,calc(100vw - 40px));min-height:280px;border:2px dashed #5cd8cd;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:rgba(9,85,87,.22)}.drop-overlay strong{font-size:24px}.drop-overlay small{margin-top:8px;color:#b7d9da}.drop-overlay .scan-icon{transform:scale(1.25);margin-bottom:26px}
.status-line.busy span{animation:spin 1s linear infinite}.status-line.success{color:#a6e6d2;background:rgba(44,180,128,.12)}.status-line.error{color:#ffc5c5;background:rgba(210,75,75,.13)}
.top-status.offline i{background:#d35454;box-shadow:0 0 0 4px #fae2e2}.top-status.offline{color:#9e5555}
.top-status.standby i{background:#d59a37;box-shadow:0 0 0 4px #faefd9}.top-status.standby{color:#826729}
.import-card{container-type:inline-size}.url-row input{min-width:0;text-overflow:ellipsis}.url-row .primary{flex:0 0 auto;min-width:116px;white-space:nowrap}.url-row input.invalid{border:2px solid #e26b6b;background:#fff4f4;color:#9c3434;box-shadow:0 0 0 3px rgba(226,107,107,.12)}
@container (max-width:620px){.import-card{grid-template-columns:1fr}.link-side{padding:4px}.url-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.url-row .primary{min-width:110px;padding-inline:16px}.qr-drop{min-height:170px}}
@container (max-width:400px){.url-row{grid-template-columns:1fr}.url-row .primary{min-height:46px}.field-label{align-items:flex-start;gap:8px}.field-label span{white-space:nowrap}}
@keyframes pulse{70%{box-shadow:0 0 0 9px rgba(19,169,155,0)}}@keyframes shine{to{transform:translateX(100%)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:720px){.timeline{grid-template-columns:1fr;text-align:left}.timeline li{text-align:left;padding:5px 0 5px 24px}.timeline li:before{left:2px;top:8px}.progress-head>strong{font-size:17px}}

.mode-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.review-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;font-size:12px;color:var(--muted)}
#cancelReview{border-color:#d98b8b;color:#ad3f3f;white-space:nowrap;margin:0}
button:disabled{opacity:.55;cursor:wait}button[hidden]{display:none!important}
.shared-panel.active{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(320px,1.4fr) auto;align-items:end}
.shared-copy{align-self:center}.shared-fields{display:grid;grid-template-columns:1.25fr .75fr;gap:9px}.shared-fields label{display:grid;gap:5px}.shared-fields label>span{font-size:12px;font-weight:700;color:var(--muted)}.shared-fields input{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;padding:10px 12px;outline:none}.shared-fields input:focus{border-color:#3fb7ad;box-shadow:0 0 0 3px rgba(7,135,127,.11)}.shared-actions{display:flex;gap:8px;align-items:center}.shared-actions .secondary{margin:0;white-space:nowrap}.shared-status{grid-column:1/-1;margin:2px 0 0;font-size:13px;color:var(--muted)}.shared-status.success{color:#087e77}.shared-status.error{color:#bd4c4c}
.issue-location{color:#71868e!important;font-size:12px!important}.issue.blocker{border-left-color:#951d2b;background:#fff8f8}.issue.low{border-left-color:#62a9a0}
.mode small,.coverage span,.issue-head{font-size:12px}
@media(max-width:1180px){.mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.shared-panel.active{grid-template-columns:1fr}.shared-fields{grid-template-columns:1fr 1fr}.shared-actions{justify-content:flex-end}}
@media(max-width:720px){.shared-fields{grid-template-columns:1fr}.shared-actions{justify-content:stretch}.shared-actions button{flex:1}.mode-tabs{grid-template-columns:1fr 1fr}}
