/* Production queue and guided order settings; follows shared light/dark tokens. */
.production-queue{margin-top:28px}.production-queue>h2{font-size:23px}.production-queue>p{max-width:790px;color:var(--nc-muted)}
.production-queue .batch-upload{display:flex;align-items:center;gap:12px}.production-queue .batch-upload .btnlike{background:var(--nc-surface);color:var(--nc-ink);border:1px solid var(--nc-line)}
#batchList{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:14px}#batchList th{background:var(--nc-soft);font-size:11px;font-weight:650;letter-spacing:.04em;padding:14px 16px}#batchList th:first-child{width:52px}#batchList th:nth-child(2){width:27%}#batchList th:last-child{width:255px}
#batchList td{padding:21px 16px;border-bottom:1px solid var(--nc-line);background:var(--nc-surface)}#batchList tr:last-child td{border-bottom:0}#batchList input[type=checkbox]{width:18px;height:18px}#batchList .queue-order-name{font-size:15px;display:block;overflow-wrap:anywhere;font-weight:700}#batchList .queue-actions{min-width:0;gap:8px}#batchList .queue-actions button{min-height:36px;font-size:12px;border-radius:9px;box-shadow:none}#batchList .queue-actions [data-qa=delete]{border:0;background:transparent!important;color:var(--nc-muted)!important;padding:5px 9px}
.queue-status{display:inline-flex;align-items:center;gap:8px;font-weight:650}.queue-status::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--nc-muted);flex:none}.status-draft::before{background:#dc8733}.status-running::before,.status-queued::before{background:var(--nc-teal)}.status-done::before{background:var(--nc-success)}.status-error::before,.status-partial::before{background:var(--nc-danger)}.queue-detail{font-size:12px;color:var(--nc-muted);margin:5px 0 8px;overflow-wrap:anywhere}.queue-progress{height:6px;border-radius:6px;background:var(--nc-soft);overflow:hidden;max-width:340px;margin:9px 0 3px}.queue-progress i{display:block;height:100%;border-radius:inherit;background:var(--nc-teal);transition:width .35s}.status-done~.queue-progress i{background:var(--nc-success)}.queue-progress.indeterminate i{width:30%!important;animation:queue-scan 1.7s ease-in-out infinite}.queue-progress+small{font-size:11px;color:var(--nc-muted)}@keyframes queue-scan{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
#batchList .queue-report{background:var(--nc-soft);border:0;margin-top:14px;padding:10px 12px;min-width:0;max-width:100%;font-size:12px}#batchList .queue-report summary{color:var(--nc-muted);font-weight:550}#batchList .queue-report p{overflow-wrap:anywhere;margin:10px 0}.queue-empty{text-align:center;padding:42px 15px}.queue-empty strong{font-size:21px}.queue-empty p{color:var(--nc-muted);max-width:450px;margin:12px auto 20px}
.editor-heading{display:flex;align-items:flex-start;gap:20px;margin:28px 0 22px}.editor-heading h2{font-size:24px;margin:0 0 6px}.editor-heading p{margin:0;color:var(--nc-muted);max-width:790px;font-size:13px}.editor-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px;border:1px solid var(--nc-line);background:var(--nc-soft);gap:5px;border-radius:14px;margin:0 0 22px}.editor-nav button{display:flex;align-items:center;justify-content:center;gap:10px;background:transparent!important;color:var(--nc-muted)!important;border:1px solid transparent;box-shadow:none!important;min-height:48px;border-radius:10px;font-size:13px}.editor-nav button.active{background:var(--nc-surface)!important;border-color:var(--nc-line);color:var(--nc-ink)!important}.editor-nav b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:11px;background:var(--nc-hover)}.editor-nav .active b{color:var(--nc-teal);background:var(--amber-soft)}.workflow-step-hidden{display:none!important}
.editor-footer{position:sticky;bottom:12px;z-index:8;display:flex;align-items:center;gap:12px;background:var(--nc-surface);border:1px solid var(--nc-line);border-radius:14px;box-shadow:var(--nc-shadow);padding:14px 18px;margin-top:20px}.editor-footer span{margin-right:auto;color:var(--nc-muted);font-size:12px}.editor-footer button{min-height:40px;font-size:13px}.attachment-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--nc-line);padding:10px 0}.attachment-row>span{flex:1;overflow-wrap:anywhere}.attachment-row small{color:var(--nc-muted)}
@media(max-width:900px){#batchList th:last-child{width:200px}#batchList td,#batchList th{padding:14px 10px}.editor-nav button{flex-direction:column;gap:6px;font-size:11px}.editor-footer{flex-wrap:wrap}.editor-footer span{order:-1;width:100%}}
@media(max-width:600px){.production-queue .tw{overflow:visible}.production-queue #batchList,.production-queue #batchList tbody{display:block}.production-queue #batchList tr:first-child{display:none}.production-queue #batchList tr{display:grid;grid-template-columns:28px minmax(0,1fr);border-bottom:1px solid var(--nc-line);padding:16px 0;gap:4px}.production-queue #batchList td{display:block;border:0;padding:4px 6px}.production-queue #batchList td:nth-child(3),.production-queue #batchList td:nth-child(4){grid-column:2}.production-queue #batchList td[colspan]{grid-column:1/-1}.editor-heading{flex-direction:column;gap:14px}.editor-nav{gap:0;padding:4px}.editor-nav button{padding:9px 2px!important;line-height:1.35}.editor-footer{padding:10px;gap:8px;bottom:8px}.editor-footer button{flex:1;min-width:90px}.editor-footer span{font-size:11px}.nc-flow{margin-bottom:18px}.queue-report[open]{min-width:0!important}}
@media(prefers-reduced-motion:reduce){.queue-progress.indeterminate i{animation:none;transform:none}.queue-progress i{transition:none}}

.nc-workspace #editorNav button{color:var(--nc-muted)!important}.nc-workspace #editorNav button.active{color:var(--nc-ink)!important;border-color:var(--nc-teal)!important}

.nc-workspace #editorNav button{white-space:normal!important;min-width:0;line-height:1.35}
@media(max-width:600px){.editor-footer{display:grid;grid-template-columns:1fr 1fr}.editor-footer span{grid-column:1/-1;order:-1}.editor-footer #batchSave{grid-column:1/-1;order:3;white-space:normal}.editor-footer #editorPrev{order:1}.editor-footer #editorNext{order:2}.editor-footer button{min-width:0;font-size:12px;white-space:normal}.editor-nav button b{flex:none}}

@media(max-width:600px){.editor-nav{grid-template-columns:repeat(5,minmax(100px,1fr));max-width:100%;overflow-x:auto}}
