:root{--bg:#071426;--bg-deep:#040d1a;--surface:#0d223b;--surface-2:#112b49;--surface-3:#173553;--border:#97b7d633;--text:#f3f8fc;--muted:#a9bdd1;--muted-2:#7f9bb5;--teal:#32c2c8;--teal-bright:#54dce0;--success:#57d9aa;--warning:#ffc76b;--danger:#ff8e9e}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--text);background:radial-gradient(circle at 10% -5%, #32c2c82e, transparent 31rem), radial-gradient(circle at 95% 8%, #3567a43d, transparent 34rem), linear-gradient(145deg, var(--bg-deep) 0%, var(--bg) 45%, #081a30 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100vh}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:10;background:#040d1abd;border-bottom:1px solid #97b7d61a;justify-content:space-between;align-items:center;height:76px;padding:0 max(24px,50vw - 590px);display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:linear-gradient(135deg, var(--teal), #13788d);border-radius:12px;place-items:center;width:42px;height:42px;font-size:13px;font-weight:900;display:grid;box-shadow:0 10px 30px #32c2c833}.brand div{flex-direction:column;gap:2px;display:flex}.brand strong{letter-spacing:-.02em}.brand small,.environment{color:var(--muted-2);font-size:12px}.environment{border:1px solid var(--border);border-radius:99px;padding:7px 11px}.workspace{max-width:1180px;margin:0 auto;padding:28px 24px 80px}.tabs{border:1px solid var(--border);background:#0d223bb3;border-radius:14px;gap:5px;margin-bottom:22px;padding:5px;display:inline-flex}.tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:10px 17px;font-weight:700}.tabs button.active{background:var(--surface-3);color:#fff;box-shadow:inset 0 0 0 1px #54dce029}.panel-stack{flex-direction:column;gap:18px;display:flex}.hero{background:linear-gradient(125deg,#12375bfa,#0d2948fa 54%,#0f646cf5 138%);border:1px solid #79dbde3d;border-radius:24px;justify-content:space-between;align-items:center;gap:30px;padding:34px 38px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 58px #0000003d}.hero:after{content:"";background:#ffffff0f;border-radius:50%;width:260px;height:260px;position:absolute;top:-120px;right:-90px}.hero h2{letter-spacing:-.045em;margin:4px 0 8px;font-size:clamp(30px,4vw,43px)}.hero p{color:#c5d8e8;max-width:720px;margin:0;line-height:1.6}.eyebrow{color:var(--teal-bright);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:900}.hero-badge{z-index:1;color:#fff;letter-spacing:.08em;background:#ffffff0f;border:1px solid #ffffff24;border-radius:24px;place-items:center;min-width:88px;height:88px;font-weight:900;display:grid}.two-column{grid-template-columns:1fr 1fr;gap:18px;display:grid}.card{border:1px solid var(--border);background:linear-gradient(145deg,#112b49d6,#0d223be6);border-radius:20px;padding:24px;box-shadow:0 16px 44px #00000021}.compact-card{padding:20px}.section-heading{align-items:flex-start;gap:13px;margin-bottom:20px;display:flex}.section-heading>span{min-width:36px;height:36px;color:var(--teal-bright);background:#32c2c81f;border-radius:11px;place-items:center;font-size:12px;font-weight:900;display:grid}.section-heading h3,.card h3{margin:0 0 4px;font-size:17px}.section-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.input-label,.file-field{color:var(--muted);flex-direction:column;gap:8px;margin-top:14px;font-size:13px;font-weight:700;display:flex}.input-label input,.input-label select{border:1px solid var(--border);color:#fff;background:#05111f8c;border-radius:12px;outline:none;width:100%;padding:12px 13px;transition:border-color .2s,box-shadow .2s}.input-label input:focus,.input-label select:focus{border-color:#54dce099;box-shadow:0 0 0 3px #32c2c814}.input-help{color:var(--muted);margin:12px 0 0;font-size:12px;font-weight:400;line-height:1.55}.file-field input[type=file]{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.drop-zone{color:#fff;cursor:pointer;text-align:center;-webkit-user-select:none;user-select:none;background:#05111f52;border:2px dashed #7cb6d36b;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:116px;padding:16px;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;display:flex}.drop-zone:hover{border-color:var(--teal);background:#32c2c80f}.drop-zone.dragging{border-color:var(--teal-bright);background:#32c2c824;transform:scale(1.01);box-shadow:0 0 0 4px #32c2c814,inset 0 0 30px #32c2c80d}.drop-zone-title{color:#fff;font-size:14px;font-weight:800;line-height:1.4}.drop-zone small{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;max-width:90%;overflow:hidden}.drop-zone.dragging small{color:#cdeff0}.upload-icon{color:var(--teal-bright);font-size:27px;line-height:1;transition:transform .18s}.drop-zone.dragging .upload-icon{transform:translateY(3px)scale(1.08)}.field-label{color:var(--muted)}.file-error{color:var(--danger);margin-top:2px;font-size:12px;display:block}.toggle-row{cursor:pointer;background:#32c2c812;border:1px solid #32c2c824;border-radius:14px;align-items:flex-start;gap:12px;margin-bottom:18px;padding:14px;display:flex}.toggle-row input{accent-color:var(--teal);width:17px;height:17px;margin-top:4px}.toggle-row span{flex-direction:column;gap:3px;display:flex}.toggle-row small{color:var(--muted);line-height:1.5}.image-source-fieldset{border:0;min-width:0;margin:12px 0 18px;padding:0}.image-source-fieldset legend{color:var(--text);margin-bottom:11px;padding:0;font-size:14px;font-weight:750}.image-source-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.image-source-option{color:#f3f8fc;cursor:pointer;background:#0b1d33;border:1px solid #a9bdd17a;border-radius:12px;align-items:flex-start;gap:11px;min-width:0;padding:14px 12px;transition:border-color .18s,background .18s;display:flex}.image-source-option.selected{color:#fff;background:#143e4c;border-color:#54dce0;box-shadow:inset 0 0 0 1px #54dce07a}.image-source-option:focus-within{outline-offset:2px;outline:3px solid #54dce080}.image-source-option input[type=radio]{accent-color:#54dce0;cursor:pointer;flex:0 0 19px;width:19px;height:19px;margin:1px 0 0}.image-source-option span{flex-direction:column;gap:4px;min-width:0;display:flex}.image-source-option strong{font-size:13px;line-height:1.4}.image-source-option small{color:#c7d8e7;font-size:11px;font-weight:400;line-height:1.45}.image-completion-note{color:var(--success);margin:-6px 3px 0;font-size:13px;font-weight:600}.image-result-warnings{color:var(--muted);background:#ffc76b0f;border:1px solid #ffc76b33;border-radius:12px;padding:12px 15px;font-size:13px}.image-result-warnings summary{cursor:pointer;color:var(--warning);font-weight:700}.image-result-warnings ul{margin-bottom:0;line-height:1.6}@media (max-width:620px){.image-source-options{grid-template-columns:1fr}}.button{cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;min-height:43px;padding:0 17px;font-weight:800;text-decoration:none;display:inline-flex}.button.primary{background:linear-gradient(135deg, var(--teal), #1b9faa);color:#031018;box-shadow:0 12px 28px #32c2c829}.button.secondary{border-color:var(--border);background:var(--surface-2);color:#fff}.button.large{align-self:flex-end;min-width:210px;height:50px}.button:disabled{opacity:.45;cursor:not-allowed}.warning-box{color:#f2d3a0;background:#b58b421f;border:1px solid #b58b42;border-radius:12px;padding:14px 18px;line-height:1.6}.error-box{color:#ffd9df;background:#ff8e9e14;border:1px solid #ff8e9e57;border-radius:12px;padding:13px 15px}.result-card{background:#57d9aa12;border:1px solid #57d9aa47;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;display:flex}.result-card>div:first-child{grid-template-columns:auto 1fr;align-items:center;column-gap:10px;display:grid}.result-card p{color:var(--muted);grid-column:2;margin:3px 0 0;font-size:13px}.success-dot{background:var(--success);border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 5px #57d9aa1a}.result-actions{gap:9px;display:flex}.metrics{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.metrics>div,.summary-row>div{border:1px solid var(--border);background:#0d223bb3;border-radius:15px;flex-direction:column;gap:5px;padding:17px;display:flex}.metrics span,.summary-row span{color:var(--muted-2);font-size:12px}.metrics strong,.summary-row strong{font-size:24px}.link-results{flex-direction:column;gap:8px;margin-top:13px;display:flex}.link-results>div{background:#05111f59;border-radius:10px;grid-template-columns:90px 150px 1fr;align-items:center;gap:10px;padding:10px 11px;display:grid}.link-results small{color:var(--muted);text-overflow:ellipsis;overflow:hidden}.status{text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:900}.status.downloaded{color:var(--success)}.status.failed{color:var(--danger)}.status.manual_override{color:var(--warning)}.status.skipped{color:var(--muted)}.file-list{flex-wrap:wrap;gap:8px;margin-top:13px;display:flex}.file-list span{color:var(--muted);border:1px solid var(--border);background:#97b7d614;border-radius:999px;padding:7px 10px;font-size:12px}.summary-row{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px;display:grid}.page-grid{grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:8px;max-height:320px;margin-top:13px;padding-right:4px;display:grid;overflow:auto}.page-chip{border:1px solid var(--border);height:43px;color:var(--muted);cursor:pointer;background:#05111f66;border-radius:10px}.page-chip.selected{color:#031018;background:var(--teal);border-color:var(--teal);font-weight:900}.cover-text-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.cover-text-note{color:var(--muted);margin:14px 0 0;font-size:12px;line-height:1.5}@media (max-width:900px){.cover-text-grid{grid-template-columns:1fr}}.replacement-list{flex-direction:column;gap:12px;margin-bottom:14px;display:flex}.replacement-row{border:1px solid var(--border);background:#05111f4d;border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;padding:14px;display:grid}.replacement-input{margin-top:0}.replacement-remove{margin-bottom:1px}.replacement-note{color:var(--warning);margin:14px 0 0;font-size:12px;line-height:1.5}@media (max-width:800px){.environment{display:none}.workspace{padding:18px 14px 60px}.tabs{width:100%;overflow-x:auto}.tabs button{white-space:nowrap;flex:1}.two-column,.metrics{grid-template-columns:1fr}.hero{border-radius:19px;padding:26px 23px}.hero-badge{display:none}.result-card{flex-direction:column;align-items:flex-start}.result-actions{flex-wrap:wrap;width:100%}.result-actions .button{flex:1}.button.large{width:100%}.link-results>div{grid-template-columns:80px 1fr}.link-results small{grid-column:1/-1}.summary-row{grid-template-columns:1fr}.drop-zone{min-height:105px;padding:14px}.replacement-row{grid-template-columns:1fr}.replacement-remove{width:100%}}.workflow-card{flex-direction:column;gap:18px;display:flex}.workflow-actions{flex-wrap:wrap;gap:12px;display:flex}.preview-shell{border:1px solid var(--border);background:#fff;border-radius:16px;width:100%;min-height:720px;overflow:hidden}.document-preview{background:#fff;border:0;width:100%;height:760px;display:block}.pdf-result-stack{flex-direction:column;gap:12px;display:flex}.success-box{color:#bff5df;background:#57d9aa17;border:1px solid #57d9aa52;border-radius:12px;padding:13px 15px;line-height:1.5}@media (max-width:760px){.preview-shell{min-height:520px}.document-preview{height:560px}}.button.small{min-height:38px;padding:0 13px;font-size:12px}.simple-editor{background:#05111f57;border:1px solid #32c2c833;border-radius:16px;flex-direction:column;gap:14px;padding:18px;display:flex}.simple-editor-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.simple-editor-heading h4{margin:0 0 5px;font-size:15px}.simple-editor-heading p{max-width:720px;color:var(--muted);margin:0;font-size:13px;line-height:1.5}.selection-count{border:1px solid var(--border);color:var(--muted-2);background:#ffffff0a;border-radius:999px;flex:none;padding:7px 10px;font-size:11px;font-weight:800}.editor-toolbar{flex-wrap:wrap;gap:8px;display:flex}.editor-filter-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.editor-filter-row input{border:1px solid var(--border);color:#fff;background:#05111f8c;border-radius:11px;outline:none;width:100%;padding:11px 12px}.editor-filter-row input:focus{border-color:#54dce099;box-shadow:0 0 0 3px #32c2c814}.text-button{color:var(--teal-bright);cursor:pointer;background:0 0;border:0;padding:8px 4px;font-weight:800}.text-button:disabled{opacity:.45;cursor:not-allowed}.editable-paragraph-list{flex-direction:column;gap:8px;max-height:430px;padding-right:4px;display:flex;overflow:auto}.editable-paragraph{border:1px solid var(--border);cursor:pointer;background:#ffffff06;border-radius:12px;grid-template-columns:20px minmax(0,1fr);align-items:flex-start;gap:11px;padding:12px;transition:border-color .16s,background .16s;display:grid}.editable-paragraph:hover{border-color:#32c2c859}.editable-paragraph.selected{background:#32c2c814;border-color:#32c2c8a6}.editable-paragraph input{width:16px;height:16px;accent-color:var(--teal);margin-top:3px}.editable-paragraph-content{flex-direction:column;gap:7px;min-width:0;display:flex}.paragraph-badges{flex-wrap:wrap;gap:6px;display:flex}.paragraph-badges>span{color:var(--muted-2);background:#ffffff0f;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}.paragraph-text{color:#f5fbff;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.editor-loading,.editor-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:12px;padding:24px 14px;font-size:13px}.compact-success{padding:10px 12px;font-size:12px}@media (max-width:760px){.simple-editor-heading{flex-direction:column}.editor-filter-row{grid-template-columns:1fr}.selection-count{align-self:flex-start}}.editor-tool-section{flex-direction:column;gap:8px;display:flex}.editor-tool-label{color:var(--muted-2);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:900}.editor-subpanel{background:#32c2c80e;border:1px solid #54dce047;border-radius:13px;flex-direction:column;gap:13px;padding:15px;display:flex}.editor-subpanel-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.editor-subpanel-heading h5{margin:0 0 4px;font-size:14px}.editor-subpanel-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.editor-textarea{resize:vertical;border:1px solid var(--border);color:#fff;width:100%;min-height:140px;font:inherit;background:#05111f9e;border-radius:11px;outline:none;padding:12px;font-size:13px;line-height:1.55}.editor-textarea:focus{border-color:#54dce09e;box-shadow:0 0 0 3px #32c2c814}.editor-subpanel-actions{flex-wrap:wrap;gap:8px;display:flex}.footer-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}@media (max-width:900px){.footer-editor-grid{grid-template-columns:1fr}}.footer-position-section{border-top:1px solid var(--border,#d9dde3);margin-top:14px;padding-top:14px}.footer-position-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.footer-position-heading>div{gap:4px;display:grid}.footer-position-heading strong{font-size:.94rem}.footer-position-heading span,.footer-position-hint{color:var(--muted,#626b77);font-size:.84rem;line-height:1.45}.footer-position-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.footer-position-control{border:1px solid var(--border,#d9dde3);background:#ffffff8f;border-radius:10px;min-width:0;padding:10px}.footer-position-label{margin-bottom:8px;font-size:.86rem;font-weight:600;display:block}.footer-position-stepper{grid-template-columns:minmax(72px,1fr) minmax(70px,auto) minmax(72px,1fr);align-items:center;gap:6px;display:grid}.position-button{border:1px solid var(--border,#cbd2da);min-height:36px;color:inherit;font:inherit;cursor:pointer;background:#fff;border-radius:8px;font-size:.8rem}.position-button:hover:not(:disabled){border-color:var(--accent,#1a99a0)}.position-button:focus-visible{outline:2px solid var(--accent,#1a99a0);outline-offset:2px}.position-button:disabled{opacity:.45;cursor:not-allowed}.footer-position-stepper output{text-align:center;white-space:nowrap;min-width:70px;font-size:.8rem;font-weight:600}.footer-position-hint{margin:10px 0 0}@media (max-width:900px){.footer-position-grid{grid-template-columns:1fr}.footer-position-heading{flex-direction:column}}.spacing-subpanel{border-left:3px solid var(--accent,#1a99a0)}.spacing-checks{flex-direction:column;gap:6px;margin:12px 0;display:flex}.toggle-row.compact{background:var(--surface-2,#f6f8fa);border:1px solid var(--border,#e2e6ec);border-radius:8px;padding:8px 10px}.toggle-row.compact small{color:var(--text-muted,#6b7280);margin-top:1px;font-size:.78rem;display:block}.spacing-issues-list{border:1px solid var(--border,#e2e6ec);background:var(--surface-2,#f6f8fa);border-radius:8px;flex-direction:column;gap:6px;max-height:220px;margin:10px 0;padding:8px;display:flex;overflow-y:auto}.spacing-issue{background:#fff;border:1px solid #e8eaed;border-radius:6px;align-items:flex-start;gap:8px;padding:6px 8px;font-size:.82rem;line-height:1.45;display:flex}.spacing-issue-badge{letter-spacing:.02em;white-space:nowrap;border-radius:4px;flex-shrink:0;padding:2px 7px;font-size:.72rem;font-weight:700}.spacing-issue-extra_blank .spacing-issue-badge{color:#854d0e;background:#fef9c3}.spacing-issue-multi_break .spacing-issue-badge,.spacing-issue-blank_page .spacing-issue-badge{color:#991b1b;background:#fee2e2}.spacing-issue-orphan_heading .spacing-issue-badge{color:#0c4a6e;background:#e0f2fe}.spacing-issue-split_paragraph .spacing-issue-badge{color:#6b21a8;background:#f3e8ff}.spacing-issue-desc{color:var(--text-secondary,#374151)}.spacing-clean-msg{color:#065f46;background:#d1fae5;border-radius:8px;margin:10px 0;padding:10px 14px;font-size:.85rem;font-weight:600}.selection-count.clean{color:#065f46;background:#d1fae5}.selection-count.warn{color:#991b1b;background:#fee2e2}.history-btn.active{background:var(--accent-light,#e6f7f8);border-color:var(--accent,#1a99a0);color:var(--accent,#1a99a0)}.history-panel{border:1px solid var(--border,#e2e6ec);background:var(--surface,#fff);border-radius:10px;margin-top:14px;overflow:hidden;box-shadow:0 2px 8px #0000000f}.history-panel-header{border-bottom:1px solid var(--border,#e2e6ec);background:var(--surface-2,#f6f8fa);justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 10px;display:flex}.history-panel-header h5{margin:0 0 2px;font-size:.9rem;font-weight:700}.history-panel-header p{color:var(--text-muted,#6b7280);margin:0;font-size:.78rem;line-height:1.4}.history-close{cursor:pointer;color:var(--text-muted,#6b7280);background:0 0;border:none;border-radius:4px;flex-shrink:0;padding:2px 4px;font-size:1rem;line-height:1}.history-close:hover{color:var(--text,#111);background:var(--border,#e2e6ec)}.history-empty{color:var(--text-muted,#6b7280);text-align:center;padding:20px 16px;font-size:.83rem}.history-list{max-height:280px;margin:0;padding:6px 0;list-style:none;overflow-y:auto}.history-entry{border-bottom:1px solid var(--border,#f0f2f5);justify-content:space-between;align-items:center;gap:10px;padding:8px 14px;transition:background .1s;display:flex}.history-entry:last-child{border-bottom:none}.history-entry.current{background:var(--accent-light,#e6f7f8)}.history-entry:not(.current):hover{background:var(--surface-2,#f6f8fa)}.history-entry-meta{align-items:center;gap:10px;min-width:0;display:flex}.history-label{white-space:nowrap;text-overflow:ellipsis;color:var(--text,#111);font-size:.84rem;font-weight:500;overflow:hidden}.history-entry.current .history-label{color:var(--accent,#1a99a0);font-weight:700}.history-time{color:var(--text-muted,#6b7280);white-space:nowrap;flex-shrink:0;font-size:.74rem}.history-entry-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.history-current-badge{color:var(--accent,#1a99a0);border:1px solid var(--accent,#1a99a0);white-space:nowrap;background:#fff;border-radius:20px;padding:2px 9px;font-size:.72rem;font-weight:700}.image-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0;display:grid}.image-summary-grid>div{border:1px solid var(--border);background:#05111f73;border-radius:12px;flex-direction:column;gap:7px;padding:14px;display:flex}.image-summary-grid strong{color:var(--teal-bright);font-size:25px}.image-summary-grid span{color:var(--muted);font-size:12px}.image-warning-list{color:var(--warning);margin-top:13px}.image-warning-list ul{color:var(--muted);padding-left:22px;line-height:1.6}.image-credit{color:var(--muted);font-size:12px;line-height:1.6}.image-credit a{color:var(--teal-bright)}@media (max-width:650px){.image-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs{max-width:100%;display:flex;overflow-x:auto}.tabs button{white-space:nowrap}}.image-cost-notice{color:var(--muted);background:#ffc76b14;border:1px solid #ffc76b45;border-radius:12px;margin-top:15px;padding:13px 16px;font-size:13px;line-height:1.6}.image-review-section{flex-direction:column;gap:17px;display:flex}.image-review-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.image-review-controls>span{color:var(--muted);margin-right:auto;font-size:14px}.image-review-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:17px;display:grid}.image-review-card{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.image-review-card.selected{border-color:var(--teal)}.image-review-card img{object-fit:cover;background:var(--surface-3);width:100%;height:178px;display:block}.image-review-body{flex-direction:column;gap:7px;padding:14px;line-height:1.35;display:flex}.image-review-body small{color:var(--muted);overflow-wrap:anywhere}.image-review-body a,.image-result-warnings a{color:var(--teal-bright);font-size:13px}.image-review-heading{align-items:flex-start;gap:8px;display:flex}.image-review-heading input{width:18px;height:18px;accent-color:var(--teal);flex-shrink:0}.image-replace-controls{flex-direction:column;gap:8px;margin-top:8px;display:flex}.image-replace-controls input{border:1px solid var(--border);background:var(--surface-3);width:100%;min-width:0;color:var(--text);border-radius:8px;padding:9px 11px}.image-replace-controls .button{align-self:flex-start}.image-scene-hint{color:var(--muted,#9cb0bd);margin:.4rem 0;font-size:.85rem;line-height:1.48;display:block}.image-scene-hint strong{color:inherit}.zip-batch-overview{border:1px solid var(--border);background:var(--surface-2);border-radius:13px;flex-wrap:wrap;align-items:center;gap:7px 16px;padding:16px;display:flex}.zip-batch-overview strong{width:100%;font-size:15px}.zip-batch-overview span,.zip-batch-overview small{color:var(--muted);font-size:12px}.zip-batch-overview small{width:100%}.zip-batch-progress{background:var(--surface-3);border-radius:999px;flex:0 0 100%;height:8px;overflow:hidden}.zip-batch-progress>div{background:var(--teal-bright);border-radius:inherit;min-width:0;height:100%;transition:width .16s}.zip-batch-actions{border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.zip-batch-actions p{color:var(--muted);flex:250px;margin:0;font-size:13px}.zip-chapter-list{gap:12px;display:grid}.zip-chapter{border:1px solid var(--border);border-radius:13px;overflow:hidden}.zip-chapter-toggle{background:var(--surface-2);width:100%;color:var(--text);cursor:pointer;font:inherit;text-align:left;border:none;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;display:flex}.zip-chapter-toggle:hover{background:var(--surface-3)}.zip-chapter-toggle:focus-visible{outline:2px solid var(--teal);outline-offset:-3px}.zip-chapter-heading{gap:6px;min-width:0;display:grid}.zip-chapter-heading strong{overflow-wrap:anywhere;font-size:14px}.zip-chapter-heading small{color:var(--muted);font-size:12px}.zip-chapter-meta{color:var(--teal-bright);flex-shrink:0;font-size:12px}.zip-chapter-meta span{margin-left:9px;font-size:18px}.zip-chapter-body{gap:15px;padding:18px;display:grid}.zip-chapter-empty{color:var(--muted);margin:0;padding:8px 0;font-size:13px}@media (max-width:600px){.zip-chapter-toggle{flex-direction:column;align-items:stretch}.zip-chapter-meta{align-self:flex-end}.zip-chapter-body{padding:12px}}
