.batch{padding-top:38px}.batch-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.batch-heading h1{font-size:38px;letter-spacing:-1.7px;line-height:1.35;margin:16px 0 10px}.batch-heading p{margin:0;color:var(--muted)}.local-badge{white-space:nowrap;font-size:12px;color:var(--green);border:1px solid #cfdcc8;border-radius:99px;padding:10px 15px}.batch-steps{display:flex;align-items:center;gap:24px;margin:32px 0 26px;padding:17px 22px;background:#edf2e7;border-radius:12px;color:#4c6651;font-size:13px}.batch-steps b{display:inline-grid;place-items:center;width:24px;height:24px;background:#fff;border-radius:50%;margin-right:8px}.batch-steps i{color:#9bad95;font-style:normal}.batch-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}.batch-main,.batch-settings{min-width:0}.dropzone{border:2px dashed #bccfb3;border-radius:20px;padding:32px 20px;text-align:center;background:#fff;transition:background .15s}.dropzone.dragging{background:#e0eed6;border-color:#356b4b}.drop-icon{font-size:40px;color:var(--green);line-height:1.2}.dropzone h2{font-size:20px;margin:10px 0 6px;letter-spacing:-.6px}.dropzone p{font-size:13px;color:var(--muted);margin:5px 0 18px}.dropzone .note{font-size:11px;margin:15px 0 0}.file-button{position:relative;display:inline-block;cursor:pointer;overflow:hidden}.file-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-button:focus-within{outline:3px solid #dcaa47;outline-offset:3px}.queue-head{display:flex;justify-content:space-between;align-items:center;margin:27px 0 15px}.queue-head h2{font-size:18px;margin:0}.queue-head h2 span{font-size:13px;color:var(--green);background:#e4eddd;padding:3px 8px;border-radius:7px;margin-left:6px}.queue-head p{font-size:12px;color:var(--muted);margin:4px 0}.text-button{border:0;background:none;padding:6px 4px;color:var(--green);font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.text-button:disabled{color:#9aab9b;cursor:default}.photo-queue{display:grid;gap:10px}.queue-empty{border:1px solid var(--line);border-radius:14px;padding:55px 30px;text-align:center;color:var(--muted);font-size:14px;background:#ffffff70}.photo-row{display:grid;grid-template-columns:76px minmax(0,1fr) 30px;gap:15px;align-items:center;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.photo-thumb{width:76px;height:76px;object-fit:contain;background:repeating-conic-gradient(#f0f2ed 0% 25%,#fff 0% 50%) 50%/14px 14px;border:1px solid #e7ebe4;border-radius:8px}.photo-info{min-width:0}.original-name{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.output-name{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-info p{font-size:11px;margin:4px 0;color:var(--muted)}.photo-row-actions{display:grid;gap:3px}.photo-row-actions button{border:1px solid #dce5d7;background:#f7f9f4;color:var(--green);border-radius:5px;width:29px;height:28px;padding:0}.photo-row-actions button:disabled{opacity:.35;cursor:default}.file-status{font-size:10px;border-radius:5px;background:#eef1eb;color:#677263;padding:3px 6px}.done .file-status{background:#e4f1de;color:#34652c}.unmet .file-status,.error .file-status{background:#fff0d9;color:#865714}.processing{border-color:#719d61}.batch-alert{font-size:12px;padding:12px 15px;border-radius:9px;background:#eaf1e3;color:#46643f;margin-bottom:15px;white-space:pre-line;overflow-wrap:anywhere;max-height:180px;overflow:auto}.batch-alert.warning{background:#fff0dc;color:#865e27}.batch-alert:empty{display:none}.photo-error{color:#a63c26!important}.batch-settings{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden}.batch-settings fieldset{margin:0;border:0;padding:0;min-width:0}.setting-section{padding:22px;border-bottom:1px solid var(--line)}.setting-title{display:flex;gap:9px;align-items:center;margin-bottom:17px}.setting-title span{color:#82987a;font-size:11px;font-weight:800}.setting-title h2{font-size:16px;margin:0}.preset-row{display:flex;flex-wrap:wrap;gap:7px}.preset-row button{background:#f5f7f0;border:1px solid #dce5d5;border-radius:8px;padding:7px 10px;font-size:11px;color:#486442}.batch-settings .field{font-size:12px;margin-bottom:13px}.batch-settings .fields{gap:10px}.batch-settings .field input,.batch-settings .field select{font-size:13px;padding:10px;min-height:43px}.batch-settings .check{font-size:12px;align-items:start;margin-top:6px}.batch-settings .note{font-size:11px;line-height:1.7;margin:5px 0 12px}.batch-settings input:disabled,.batch-settings select:disabled{background:#f3f5f0;opacity:.6}.name-example{font-size:13px;color:#4a6b40;background:#eff4e9;padding:11px;border-radius:7px;overflow-wrap:anywhere}.run-panel{padding:22px;background:#f0f5e9}.run-panel button{width:100%;margin-bottom:10px}.run-panel progress{display:block;width:100%;height:6px;accent-color:#356b4b;margin:8px 0}.run-panel p{font-size:11px;color:#56724a;margin:6px 0;overflow-wrap:anywhere}.primary:disabled,.secondary:disabled{opacity:.45;cursor:not-allowed}.batch-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:20px;background:#eaf1e2;border-radius:14px;margin-top:22px}.batch-summary span{font-size:11px;color:#687b60}.batch-summary strong{display:block;font-size:22px}.batch-summary p{grid-column:1/-1;font-size:12px;margin:0;color:#64765d}.export-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;margin-top:20px}.export-bar p{font-size:12px;color:var(--muted);margin:0}.export-bar button{white-space:nowrap}.batch .article{max-width:850px}.batch .article p{line-height:1.9}dialog#photo-preview{border:1px solid var(--line);border-radius:18px;padding:25px;width:min(1000px,94vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#17251cd0}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.preview-head h2{font-size:18px;overflow-wrap:anywhere}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.preview-grid figure{margin:0;min-width:0}.preview-grid figcaption{font-size:12px;color:var(--muted);margin:10px 0}.preview-grid img{width:100%;max-height:60vh;object-fit:contain;background:#f3f5ef}.photo-info a{display:inline-block}
@media(max-width:1000px){.batch-layout{grid-template-columns:minmax(0,1fr) 305px;gap:18px}.photo-row{grid-template-columns:56px minmax(0,1fr) 28px;gap:10px;padding:12px}.photo-thumb{width:56px;height:56px}.batch-summary{gap:10px;padding:15px}.batch-summary strong{font-size:18px}.export-bar{display:block}.export-bar button{width:100%;margin-top:12px}}@media(max-width:760px){.batch-layout{grid-template-columns:1fr}.batch-heading{display:block}.batch-heading h1{font-size:30px}.local-badge{display:inline-block;margin-top:17px}.batch-steps{gap:12px;padding:14px;font-size:12px;justify-content:space-between}.batch-steps b{margin-right:4px;width:21px;height:21px}.batch-settings{grid-row:1}.batch-main{display:contents}.dropzone{grid-row:1}.batch-settings{grid-row:2}.queue-head{margin:8px 0 0}.batch-layout{gap:16px}.batch-summary,.export-bar{margin-top:0}.batch-heading p{font-size:14px}.preview-grid{grid-template-columns:1fr}.preview-grid img{max-height:40vh}.batch{padding-top:28px}.photo-row-actions button{width:32px;height:32px}.photo-row{grid-template-columns:54px minmax(0,1fr) 32px}.run-panel .primary{font-size:16px}.batch-steps i{display:none}}@media(max-width:360px){.batch-heading h1{font-size:26px}.batch-steps{gap:7px;font-size:11px}.batch-summary{grid-template-columns:1fr 1fr}.dropzone h2{font-size:17px}}
