/* Accepted catalog tools: one workspace, labelled controls and truthful live states. */
.catalog-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:24px 0;color:#5d6570;font-size:.875rem;line-height:1.5}.catalog-breadcrumbs>a{display:inline-flex;align-items:center;min-height:44px;color:#5d6570;text-decoration:none}.catalog-breadcrumbs [aria-current]{color:#111318}main[data-tool-id]>.tool-hero{text-align:left;max-width:none;padding:8px 0 32px;margin:0}main[data-tool-id]>.tool-hero h1{font-size:2.5rem;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}main[data-tool-id]>.tool-hero>p{font-size:1.125rem;line-height:1.5;max-width:none;margin:0;color:#5d6570}
.tool-shell{--tool-blue:#006bd6;--tool-soft:#edf5ff;--tool-line:#dde4ed;--tool-ink:#111318;--tool-muted:#5d6570;min-width:0;border:1px solid var(--tool-line);border-radius:16px;background:#fff;padding:32px;box-shadow:0 2px 8px rgba(16,24,40,.04),0 12px 32px rgba(16,24,40,.04)}
.tool-shell [hidden]{display:none!important}.tool-shell h2{font-size:1.5rem;margin:0 0 24px}.tool-shell h3{font-size:1.35rem;margin:0 0 20px;letter-spacing:-.025em}.tool-shell form,.tool-main,.tool-inputs,.tool-settings-area,.tool-result-area,.tool-guidance{min-width:0;max-width:100%}
.tool-workspace-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tool-shell--pdf-merge .tool-workspace-heading{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;margin:0 0 24px}
.tool-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:32px}.tool-guidance{border-left:1px solid var(--tool-line);padding-left:24px}.tool-shell .mode-note{font-size:.875rem;line-height:1.5;color:var(--tool-muted);margin:16px 0;overflow-wrap:anywhere}.tool-guidance .mode-note:first-child{margin-top:0}.tool-guidance>p{padding-bottom:20px;border-bottom:1px solid var(--tool-line)}
.tool-upload{position:relative;display:inline-flex;max-width:100%}.tool-file-label{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:12px;background:var(--tool-soft);color:var(--tool-blue);font-weight:650;line-height:1.4;cursor:pointer;text-align:center}.tool-file-label:before{content:'+';font-size:1.75rem;line-height:1;font-weight:400}.tool-shell input[type=file]{position:absolute;width:1px;height:1px;opacity:0;padding:0;margin:0;overflow:hidden}.tool-upload:focus-within .tool-file-label{outline:3px solid var(--tool-blue);outline-offset:3px}.tool-upload:has(input:disabled) .tool-file-label{opacity:.55;cursor:default}
.tool-file-list{list-style:none;margin:24px 0 0;padding:0}.tool-file-list:empty{margin:0}.tool-file-list>.row{padding:20px 0;display:flex;flex-wrap:wrap;gap:16px;align-items:center;border-bottom:1px solid var(--tool-line)}.tool-file-list>.row:first-child{border-top:1px solid var(--tool-line)}.tool-file-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:52px;border-radius:12px;background:var(--tool-soft);color:var(--tool-blue);font-size:.7rem;font-weight:750;letter-spacing:-.025em}.tool-shell .filename{font-size:1rem;font-weight:650;line-height:1.5;min-width:0;flex:1;overflow-wrap:anywhere}.tool-shell .filename small{font-size:.875rem;font-weight:400;color:var(--tool-muted);margin-top:4px}.tool-file-summary{font-size:.875rem;color:var(--tool-muted);margin:20px 0 0}
.tool-file-actions,.tool-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tool-file-actions{margin-left:auto}.tool-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid transparent;border-radius:12px;padding:10px 14px;background:var(--tool-soft);color:var(--tool-ink);font:inherit;font-size:.875rem;line-height:1.4;cursor:pointer}.tool-secondary:disabled{background:#f3f5f8;color:#7b8798;cursor:default}.tool-file-action--up:before{content:'↑';color:var(--tool-blue);font-size:1.25rem}.tool-file-action--down:before{content:'↓';color:var(--tool-blue);font-size:1.25rem}.tool-file-action--remove:before{content:'×';font-size:1.25rem}.tool-file-actions button:disabled:before{color:inherit}
.tool-shell--pdf-merge .tool-file-list{counter-reset:tool-order}.tool-shell--pdf-merge .tool-file-list>.row:before{counter-increment:tool-order;content:counter(tool-order);font-size:.875rem;font-weight:600;color:var(--tool-muted);min-width:12px}
.tool-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 0;min-width:0}.tool-settings:empty{display:none}.tool-settings .tool-setting{display:flex;flex-direction:column;gap:8px;min-width:0;max-width:100%;font-size:.875rem;line-height:1.5;color:var(--tool-ink);font-weight:600}.tool-settings .tool-setting--checkbox{flex-direction:row-reverse;align-items:flex-start;justify-content:flex-end;gap:12px;grid-column:1/-1;font-weight:400}.tool-setting--checkbox span{min-width:0;flex:1;padding-top:2px}.tool-settings select,.tool-settings input:not([type=checkbox]){height:48px;min-height:48px;width:100%;min-width:0;max-width:100%;border:1px solid #b8c5d6;border-radius:10px;padding:10px 12px;background:#fff;color:var(--tool-ink);font:inherit;font-size:1rem;font-weight:400;line-height:1.4}.tool-settings input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;accent-color:var(--tool-blue);margin:4px 0 0}.tool-contract-notes>summary{cursor:pointer;min-height:44px;display:list-item;font-weight:600;color:var(--tool-ink);padding:8px 0}.tool-contract-notes p{margin:16px 0}
.tool-settings input:disabled,.tool-settings select:disabled{background:#f3f5f8;color:#718096}.tool-quality-note{grid-column:2;font-size:.875rem;font-weight:400;color:var(--tool-muted);line-height:1.5}
.tool-actions{gap:12px;margin:28px 0 0;align-items:stretch}.tool-actions>.convert-button{background:var(--tool-blue);border:1px solid var(--tool-blue);color:#fff;flex:1 1 55%;width:auto;min-height:52px;border-radius:12px;padding:14px 20px;font-size:1rem;font-weight:650;line-height:1.4;cursor:pointer}.tool-actions>.convert-button:disabled{background:#eef2f7;border-color:#e1e7ef;color:#6f7c8d;cursor:default;opacity:1}.tool-actions>.tool-secondary{flex:1;min-height:48px}.tool-status{margin:20px 0 0;color:var(--tool-muted);font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}.tool-status--busy{border:1px solid #d5e5f8;border-radius:12px;padding:16px;background:var(--tool-soft);color:var(--tool-ink)}.tool-shell[data-state=ready] .tool-status,.tool-shell[data-state=complete] .tool-status{color:#227039;background:#f0faf2;border-radius:10px;padding:12px 16px}.tool-shell[data-state=failed] .tool-status{background:#fff6ee;color:#85431b;border-radius:10px;padding:16px}.tool-shell .tool-status--busy{background:#edf5ff;color:var(--tool-ink)}
.tool-outputs{min-width:0;max-width:100%}.tool-outputs>h3{margin:24px 0 0;border-top:1px solid var(--tool-line);padding-top:24px}.tool-outputs>.row{padding:20px 0;border-bottom:1px solid var(--tool-line);gap:16px}.tool-shell .download{background:var(--tool-soft);border:1px solid #c6def8;color:var(--tool-blue);min-height:48px;border-radius:12px;padding:12px 20px;font-size:1rem;max-width:100%}
.tool-preview{overflow:auto;max-height:420px;max-width:100%;margin-top:20px;border:1px solid var(--tool-line);border-radius:12px;overscroll-behavior:contain}.tool-preview table{border-collapse:collapse;table-layout:fixed;min-width:100%;width:max-content;font-size:.875rem;line-height:1.5}.tool-preview caption{padding:12px 16px;text-align:left;font-weight:600;background:#fff;color:var(--tool-muted)}.tool-preview th,.tool-preview td{padding:12px 16px;border-bottom:1px solid var(--tool-line);border-right:1px solid var(--tool-line);text-align:left;vertical-align:top;min-width:160px;width:180px;max-width:300px;overflow-wrap:anywhere}.tool-preview th{background:var(--tool-soft);font-size:1rem;font-weight:650}.tool-preview tr:last-child td{border-bottom:0}.tool-cell-kind,.tool-cell-value,.tool-cell-change{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.tool-cell-kind{font-size:.75rem;line-height:1.4;color:var(--tool-muted);margin-bottom:6px}.tool-cell-change{margin-top:8px;border-top:1px solid var(--tool-line);padding-top:6px}.tool-header-change{white-space:pre-wrap;overflow-wrap:anywhere}.tool-preview-empty{padding:24px;border:1px solid var(--tool-line);border-radius:12px;color:var(--tool-muted);font-size:1rem;line-height:1.5;margin:0;background:#fbfdff}.tool-shell :focus-visible{outline:3px solid var(--tool-blue);outline-offset:3px}
.tool-shell--data .tool-form{grid-template-columns:minmax(240px,1fr) minmax(0,1.8fr);gap:24px}.tool-shell--data .tool-inputs{grid-column:1/-1;padding-bottom:24px;border-bottom:1px solid var(--tool-line)}.tool-shell--data .tool-settings{grid-column:1;display:flex;flex-direction:column;gap:20px;margin:0}.tool-shell--data .tool-result-area{grid-column:2;grid-row:2;border-left:1px solid var(--tool-line);padding-left:24px}.tool-shell--data .tool-guidance{grid-column:1/-1;border-left:0;border-top:1px solid var(--tool-line);padding:24px 0 0}.tool-shell--data .tool-guidance>p{margin:0 0 16px;padding:0;border:0}.tool-shell--data .tool-guidance>p:first-child:before{content:'ⓘ';color:var(--tool-blue);font-size:1.25rem;margin-right:12px}.tool-shell--data .tool-actions>.convert-button,.tool-shell--data .tool-actions>.tool-refresh{flex:1 1 42%}.tool-shell--data .tool-preview{margin-top:0}.tool-shell--data .tool-preview-heading{margin-bottom:20px}
.tool-shell--image-target-size .tool-form{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}.tool-shell--image-target-size .tool-settings-area{border-left:1px solid var(--tool-line);padding-left:24px}.tool-shell--image-target-size .tool-settings{margin-top:0;grid-template-columns:1fr}.tool-shell--image-target-size .tool-result-area,.tool-shell--image-target-size .tool-guidance{grid-column:1/-1}.tool-shell--image-target-size .tool-guidance,.tool-shell--image-rotate .tool-guidance{border-left:0;border-top:1px solid var(--tool-line);padding:24px 0 0}.tool-shell--image-rotate .tool-form{grid-template-columns:1fr;gap:24px}.tool-shell--image-rotate .tool-settings{display:flex;flex-direction:column;gap:0;margin:24px 0 0}.tool-shell--image-rotate .tool-setting{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid var(--tool-line);align-items:center;font-size:1rem}.tool-shell--image-rotate .tool-actions{max-width:720px}.tool-shell--image-rotate .tool-guidance{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.tool-shell--image-rotate .tool-guidance>p{border:0;margin:0}.tool-shell--image-rotate .tool-contract-notes{grid-column:1/-1;margin-bottom:0}
.catalog-instructions,.catalog-faq,.catalog-related{margin-top:48px}.catalog-instructions>h2,.catalog-faq>h2,.catalog-related>h2{font-size:2rem;line-height:1.25;margin:0 0 24px;letter-spacing:-.035em}.catalog-instructions ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:0;counter-reset:catalog-steps}.catalog-instructions li{display:flex;align-items:flex-start;gap:16px;font-size:1rem;line-height:1.5;color:#5d6570;min-width:0}.catalog-instructions li:before{counter-increment:catalog-steps;content:counter(catalog-steps);display:flex;flex:0 0 40px;align-items:center;justify-content:center;min-height:40px;background:#edf5ff;border-radius:12px;font-weight:650;color:#006bd6}
.catalog-faq details{border-bottom:1px solid #dde4ed;padding:16px 0}.catalog-faq details:first-of-type{border-top:1px solid #dde4ed}.catalog-faq summary{min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:24px;cursor:pointer;font-size:1.125rem;font-weight:650;list-style:none;line-height:1.5}.catalog-faq summary:after{content:'⌄';flex:0 0 20px;font-size:1.25rem;color:#5d6570}.catalog-faq summary::-webkit-details-marker{display:none}.catalog-faq p{font-size:1rem;line-height:1.5;color:#5d6570;margin:8px 0 0}.catalog-related-list{display:flex;flex-direction:column}.catalog-related-list>a{display:grid;grid-template-columns:52px minmax(0,1fr) 24px;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid #dde4ed;color:#111318;text-decoration:none!important}.catalog-related-icon{display:flex;align-items:center;justify-content:center;min-height:52px;background:#edf5ff;color:#006bd6;border-radius:12px;font-size:.875rem;font-weight:650}.catalog-related-list b{font-size:1.125rem;line-height:1.5}.catalog-related-list small{display:block;font-size:.875rem;line-height:1.5;font-weight:400;color:#5d6570;margin-top:4px}.catalog-related-list>a>span:last-child{font-size:1.5rem;color:#425b7d}.catalog-processing-note{border-top:1px solid #dde4ed;margin-top:32px;padding-top:24px;color:#5d6570;font-size:1rem;line-height:1.5}
/* Preserve the unpublished crop editor's numeric fallback. */
.tool-crop-editor{min-width:0;max-width:100%}.tool-crop-editor fieldset{min-width:0;margin:20px 0 0;padding:16px;border:1px solid var(--tool-line);border-radius:12px}.tool-crop-editor legend{font-weight:600;padding:0 6px}.tool-crop-editor p{overflow-wrap:anywhere;line-height:1.5}.tool-crop-editor canvas{display:block;max-width:100%;margin:12px 0}.tool-crop-editor label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.tool-crop-editor input,.tool-crop-editor select,.tool-crop-editor button{min-width:0;max-width:100%;width:100%;min-height:48px;padding:10px 14px;border:1px solid #b8c5d6;border-radius:12px;background:white;color:var(--tool-ink);font:inherit}.tool-crop-editor button{cursor:pointer;background:var(--tool-soft)}
@media(hover:hover) and (pointer:fine){.tool-secondary:hover:not(:disabled),.tool-file-label:hover{background:#dfedff}.tool-actions>.convert-button:hover:not(:disabled){background:#005dbd}.catalog-related-list>a:hover{color:#006bd6}}
@media(min-width:851px){.tool-shell--pdf .tool-settings{grid-template-columns:1fr}}
@media(max-width:850px){.tool-form,.tool-shell--data .tool-form,.tool-shell--image-target-size .tool-form{grid-template-columns:minmax(0,1fr);gap:24px}.tool-guidance,.tool-shell--image-target-size .tool-settings-area,.tool-shell--data .tool-result-area{border-left:0;border-top:1px solid var(--tool-line);padding:24px 0 0}.tool-shell--data .tool-settings,.tool-shell--data .tool-result-area{grid-column:1;grid-row:auto}.tool-shell--image-target-size .tool-settings-area .tool-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-shell--image-rotate .tool-guidance{display:block}.catalog-instructions ol{grid-template-columns:1fr}.tool-file-actions{width:100%;margin-left:64px}.tool-file-actions>button{flex:1}.tool-shell--image .tool-file-actions,.tool-shell--data .tool-file-actions{width:auto;margin-left:auto}}
@media(max-width:580px){.tool-shell{padding:20px;border-radius:16px}.tool-shell h2{font-size:1.25rem}.tool-shell h3{font-size:1.5rem}.tool-upload{display:flex;width:100%}.tool-file-label{width:100%;padding:12px 16px;font-size:1rem}.tool-shell .mode-note,.tool-status,.tool-file-summary,.tool-settings .tool-setting,.tool-shell .filename small{font-size:1rem;line-height:1.5}.tool-file-list>.row{gap:12px;padding:20px 0}.tool-file-icon{width:44px;height:48px;flex-basis:44px}.tool-file-actions{margin-left:0;gap:8px}.tool-file-actions>button{font-size:.875rem;padding:10px 8px;min-height:44px}.tool-shell--image .tool-file-actions,.tool-shell--data .tool-file-actions{width:100%;margin:0}.tool-shell--image .tool-file-actions>button,.tool-shell--data .tool-file-actions>button{flex:0 1 auto;margin-left:auto}.tool-settings,.tool-shell--image-target-size .tool-settings-area .tool-settings{grid-template-columns:1fr;gap:20px}.tool-settings .tool-setting{width:100%;min-width:0}.tool-settings select,.tool-settings input:not([type=checkbox]){font-size:1rem}.tool-actions>.convert-button,.tool-shell--data .tool-actions>.convert-button,.tool-shell--data .tool-actions>.tool-refresh{flex-basis:100%;font-size:1rem;min-height:52px}.tool-actions>.tool-secondary{font-size:.875rem}.tool-shell--image-rotate .tool-setting{display:flex;gap:12px}.tool-preview{max-height:360px}.tool-preview table{font-size:1rem}.tool-preview th,.tool-preview td{padding:12px;min-width:160px}.catalog-instructions,.catalog-faq,.catalog-related{margin-top:40px}.catalog-instructions>h2,.catalog-faq>h2,.catalog-related>h2{font-size:1.5rem}.catalog-related-list>a{grid-template-columns:44px minmax(0,1fr) 20px;gap:12px}.catalog-related-icon{min-height:44px}.catalog-faq summary,.catalog-related-list b{font-size:1rem}.catalog-related-list small{font-size:1rem}.catalog-instructions li{gap:12px}.catalog-instructions li:before{flex-basis:32px;min-height:32px;border-radius:8px}}
html[data-large-text=true] .tool-form,html[data-large-text=true] .tool-shell--data .tool-form,html[data-large-text=true] .tool-shell--image-target-size .tool-form{grid-template-columns:minmax(0,1fr)}html[data-large-text=true] .tool-guidance,html[data-large-text=true] .tool-shell--data .tool-result-area,html[data-large-text=true] .tool-shell--image-target-size .tool-settings-area{border-left:0;border-top:1px solid var(--tool-line);padding:24px 0 0}html[data-large-text=true] .tool-shell--data .tool-settings,html[data-large-text=true] .tool-shell--data .tool-result-area{grid-column:1;grid-row:auto}html[data-large-text=true] .catalog-instructions ol{grid-template-columns:1fr}
@media(prefers-reduced-motion:reduce){.tool-shell button,.tool-shell a{transition:none!important;transform:none!important}}

/* Native-artboard fidelity: 946 px tools / 876 px data, mobile artboards at 2x. */
main[data-tool-id]{padding-left:38px;padding-right:38px}
.catalog-breadcrumbs{gap:12px;margin:22px 0 32px;font-size:.875rem;line-height:24px}
.catalog-breadcrumbs>a{gap:12px;min-height:24px}
.catalog-breadcrumbs img{width:20px;height:20px;flex:none;filter:brightness(.35)}
main[data-tool-id]>.tool-hero{padding:0 0 30px}
main[data-tool-id]>.tool-hero h1{font-size:3.25rem;line-height:1.12;letter-spacing:-.02em;font-weight:800;margin-bottom:8px}
main[data-tool-id]>.tool-hero>p{font-size:1.25rem;line-height:1.4;color:#343f54}
main[data-tool-id=pdf-split]>.catalog-breadcrumbs,main[data-tool-id=json-to-csv]>.catalog-breadcrumbs{margin-bottom:24px}
main[data-tool-id=pdf-split]>.tool-hero h1{font-size:3rem}
main[data-tool-id=pdf-split]>.tool-hero{padding-bottom:24px}
main[data-tool-id=pdf-split]>.tool-hero>p{font-size:1.125rem}
main[data-tool-id=csv-to-json]{padding-left:26px;padding-right:26px}
main[data-tool-id=csv-to-json]>.tool-hero h1{font-size:3.125rem}
main[data-tool-id=json-to-csv]>.tool-hero h1{font-size:2.75rem;line-height:1.15}
main[data-tool-id=json-to-csv]>.tool-hero>p{font-size:1.125rem}
main[data-tool-id=json-to-csv]>.tool-hero{padding-bottom:24px}
.tool-shell{margin-left:-8px;margin-right:-8px;padding:24px;box-shadow:0 2px 6px #14284005,0 10px 28px #14284008}
.tool-shell .tool-workspace-heading,.tool-shell--pdf-merge .tool-workspace-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:-1px;padding:0;white-space:nowrap}
.tool-form{grid-template-columns:minmax(0,2.4fr) minmax(0,1fr);gap:20px}
.tool-guidance{padding-left:24px}
.tool-inputs{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:0 12px}
.tool-upload-count{justify-self:end;font-size:1rem;color:#35415a;text-align:right}
.tool-file-label{font-size:1.125rem;line-height:1.3;padding:12px 20px;min-height:50px}
.tool-file-label:before{content:'';width:24px;height:24px;background:url('/assets/icons/plus.svg') center/24px no-repeat;flex:none}
.tool-shell .tool-input-help{grid-column:1/-1;font-size:.875rem;line-height:1.4;margin:10px 0 0}
.tool-shell[data-has-files=true] .tool-input-help{display:none}
.tool-file-list{grid-column:1/-1;margin:20px 0 0}
.tool-file-list>.row{min-height:70px;padding:12px 0;gap:14px;flex-wrap:nowrap}
.tool-file-icon{position:relative;flex-basis:48px;width:48px;height:48px;border-radius:12px;font-size:0}
.tool-shell--pdf .tool-file-icon.reference-art{--tool-file-icon-size:50px;width:var(--tool-file-icon-size);height:var(--tool-file-icon-size);flex:0 0 var(--tool-file-icon-size)}
.tool-shell--pdf-merge .tool-file-icon.reference-art{--tool-file-icon-size:48px}
.tool-file-icon>img{width:32px;height:36px;max-width:none}
.tool-file-icon>small{position:absolute;font-size:.4375rem;line-height:1;bottom:10px;left:0;right:0;text-align:center;color:#006bd6;font-weight:800}
.tool-shell .filename{font-size:1.125rem;line-height:1.25;letter-spacing:-.015em}
.tool-shell .filename small{font-size:.875rem;line-height:1.3;margin-top:4px;letter-spacing:0}
.tool-file-actions{gap:8px;flex-wrap:nowrap;width:auto;margin:0 0 0 auto}
.tool-file-actions button{font-size:.875rem;min-height:36px;padding:7px 10px;gap:7px;border-radius:9px;white-space:nowrap}
.tool-file-actions button:before{content:none}
.tool-file-actions img{width:18px;height:18px;flex:none}
.tool-file-actions button:disabled img{filter:grayscale(1);opacity:.45}
.tool-file-action--remove img{filter:brightness(.4)}
.tool-file-summary{grid-column:1/-1;margin:16px 0 0;font-size:1rem;line-height:1.4;color:#35415a}
.tool-shell--pdf-merge .tool-file-list>.row{display:grid;grid-template-columns:16px 48px minmax(0,1fr) auto;gap:14px}
.tool-shell--pdf-merge .tool-file-list>.row:before{min-width:0;font-size:1rem}
.tool-shell--pdf-merge .filename{font-size:1rem;font-weight:750;letter-spacing:-.04em}
.tool-shell--pdf-merge .tool-file-actions{gap:6px}
.tool-file-state{display:flex;gap:8px;align-items:center;font-size:.875rem;line-height:1.3;font-weight:400;color:#5d6570;white-space:nowrap}
.tool-file-state img{width:20px;height:20px;flex:none;filter:grayscale(1)}
.tool-file-state.is-checked{color:#16802a}
.tool-file-state.is-checked img{filter:hue-rotate(-85deg) saturate(.8) brightness(.8)}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-inputs{display:block;padding-bottom:0}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-list{margin:0}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-list>.row:first-child{border-top:0}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-upload{position:absolute;right:78px;top:50%;transform:translateY(-50%);z-index:1}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-label{background:transparent;border:0;min-height:40px;padding:8px 4px;font-weight:400;font-size:.875rem;color:#35415a;gap:7px}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-label:before{background-image:url('/assets/icons/arrow-path.svg');width:18px;height:18px;background-size:18px}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-upload-count,.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-summary{display:none}
.tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-state{margin-right:100px}
.tool-shell:not(.tool-shell--pdf-merge) .tool-file-action--remove{background:transparent;padding:7px 0}
.tool-shell:not(.tool-shell--pdf-merge) .tool-file-action--remove img{width:18px;height:18px}
.tool-shell--data[data-has-files=true] .tool-upload{display:none}
.tool-shell--data[data-has-files=true] .tool-file-state{margin-left:auto;margin-right:20px}
.tool-shell--data .tool-file-icon{width:60px;height:60px;flex-basis:60px}
.tool-shell--data .tool-file-icon>img{width:40px;height:46px}
.tool-shell--data .tool-file-icon>small{font-size:.5625rem;bottom:12px}
.tool-shell .tool-settings{margin-top:18px;gap:20px}
.tool-settings .tool-setting{font-size:1rem;line-height:1.35;font-weight:650;gap:8px}
.tool-setting-caption{min-width:0;line-height:1.35}
.tool-settings select,.tool-settings input:not([type=checkbox]):not([type=radio]):not([type=range]){height:42px;min-height:42px;font-size:1.125rem;line-height:1.25;padding:8px 14px;border-radius:9px;border-color:#b9c5d7}
.tool-setting--checkbox input{width:20px;height:20px;flex-basis:20px;min-width:20px;min-height:20px;margin:1px 0 0}
.tool-setting--checkbox span{padding-top:0;font-size:.9375rem;line-height:1.4}
.tool-setting-help{font-size:.875rem;font-weight:400;color:#5d6570;line-height:1.35}
.tool-choice-list{display:flex;flex-direction:column;gap:6px}
.tool-choice{display:flex;align-items:center;gap:14px;min-height:36px;padding:6px 4px;font-size:1rem;font-weight:400;border-radius:10px;cursor:pointer}
.tool-shell .tool-settings-area,.tool-shell .tool-main,.tool-shell .tool-inputs,.tool-shell .tool-result-area{min-width:0}
.tool-shell .settings .tool-setting{min-width:0;max-width:100%;flex:0 0 auto}
.tool-shell .settings label.tool-choice{min-width:0;max-width:100%;flex-direction:row;align-items:center}
.tool-shell .tool-choice-list>label.tool-choice{flex:0 0 auto;width:100%}
.tool-shell .tool-segments>label.tool-choice{flex:1 1 0;min-width:0;width:auto}
.tool-choice input[type=radio]{width:22px;height:22px;min-width:22px;min-height:22px;flex:none;margin:0}
.tool-choice.is-selected{background:#edf5ff;font-weight:650}
.tool-segments{display:flex;align-items:stretch;gap:8px;min-width:0}
.tool-segments>.tool-choice{flex:1;justify-content:center;gap:10px;border:1px solid #d9e2ee;padding:9px 10px;min-height:42px;border-radius:10px}
.tool-segments>.tool-choice.is-selected{border-color:#a8cfff}
.tool-configuration-summary{margin:22px 0 0;padding:12px 18px;border-radius:12px;background:#edf5ff;font-size:1rem;font-weight:600;color:#25344b;line-height:1.4;overflow-wrap:anywhere}
.tool-configuration-summary:before{content:'';display:inline-block;vertical-align:middle;width:24px;height:24px;margin-right:12px;background:url('/assets/icons/square-3-stack-3d.svg') center/24px no-repeat}
.tool-actions{margin-top:24px;gap:24px;align-items:stretch}
.tool-actions>.convert-button{display:flex;justify-content:center;align-items:center;gap:14px;flex:2.1;min-height:54px;border-radius:12px;font-size:1.25rem;line-height:1.3;font-weight:700;padding:12px 18px}
.tool-actions>.convert-button:before{content:'';display:block;width:28px;height:28px;flex:none;filter:brightness(0) invert(1);background:url('/assets/icons/document-text.svg') center/28px no-repeat}
.tool-shell--pdf-merge .tool-actions>.convert-button:before{background-image:url('/assets/icons/square-3-stack-3d.svg')}
.tool-shell--pdf-split .tool-actions>.convert-button:before{background-image:url('/assets/icons/square-2-stack.svg')}
.tool-shell--image-target-size .tool-actions>.convert-button:before{background-image:url('/assets/icons/arrows-pointing-in.svg')}
.tool-shell--image-rotate .tool-actions>.convert-button:before{background-image:url('/assets/icons/arrow-path.svg')}
.tool-actions>.tool-secondary{flex:1;font-size:1.125rem;min-height:52px;line-height:1.3;gap:10px;white-space:normal}
.tool-shell--pdf .tool-actions>.tool-secondary:before{content:'';width:20px;height:20px;flex:none;background:url('/assets/icons/trash.svg') center/20px no-repeat;filter:brightness(.4)}
.tool-extra-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.tool-extra-actions .tool-secondary{font-size:.875rem;min-height:40px}
.tool-status{font-size:.875rem;margin-top:16px}
.tool-status[data-passive=true]{display:none}
.tool-shell--data[data-state=ready] .tool-status{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;margin-top:20px;padding:8px 12px;background:#f0faf2;border-radius:10px;color:#16802a;font-size:.9375rem;line-height:1.4}
.tool-shell--data[data-state=ready] .tool-status:before{content:'';width:22px;height:22px;background:url('/assets/icons/check-circle.svg') center/22px no-repeat;filter:hue-rotate(-85deg) saturate(.8) brightness(.8)}
.tool-facts{display:flex;flex-direction:column;gap:24px;min-width:0}
.tool-shell--pdf-merge .tool-facts,.tool-shell--pdf-split .tool-facts{gap:8px}
.tool-guidance .tool-fact{display:flex;gap:14px;align-items:flex-start;padding:0;border:0;margin:12px 0 0;font-size:1rem;line-height:1.35;color:#25344b}
.tool-fact>img{flex:none;width:24px;height:24px}
.tool-guidance #tool-destination{display:flex;gap:14px;align-items:flex-start;font-size:1rem;line-height:1.35;color:#25344b;margin:24px 0 0;padding:0;border:0}
#tool-destination>img{width:24px;height:24px;flex:none}
.tool-shell--pdf-merge #tool-destination{margin-top:16px}
.tool-guidance .tool-brief{margin:30px 0 0;padding:24px 0 0;border:0;border-top:1px solid var(--tool-line);font-size:.875rem;line-height:1.4;color:#111318;overflow-wrap:anywhere}
.tool-shell--pdf .tool-guidance .tool-brief{display:flex;align-items:flex-start;gap:12px;border-top:0}
.tool-shell--pdf .tool-brief>img{width:24px;height:24px;flex:none}
.tool-shell--pdf .tool-contract-notes .tool-brief{margin:12px 0 0;padding:0;font-size:.8125rem}
.tool-shell--pdf .tool-contract-notes #tool-destination{margin:12px 0 0;font-size:.8125rem;gap:8px}
.tool-guidance .tool-contract-notes{margin:16px 0 0;font-size:.8125rem}
.tool-contract-notes>summary{min-height:30px;padding:5px 0;font-size:.8125rem;font-weight:450;line-height:1.4}
.tool-shell .tool-contract-notes p{font-size:.8125rem;line-height:1.5}
.tool-facts>h3{font-size:1.25rem;line-height:1.2;margin:0 0 8px;letter-spacing:-.025em}
.tool-shell--pdf-organize .tool-facts{gap:4px}
.tool-shell--pdf-organize .tool-form{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)}
.tool-shell--pdf-organize .tool-action-choice{min-height:44px;padding:8px 12px;gap:12px}
.tool-supported-summary{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--tool-line);font-size:.9375rem;line-height:1.4;color:#35415a}
.tool-action-choice{display:flex;gap:16px;align-items:center;min-height:48px;padding:9px 14px;border:0;border-radius:12px;background:transparent;text-align:left;font-size:1rem;line-height:1.3;color:#111318}
.tool-action-choice img{width:28px;height:28px;flex:none}
.tool-action-choice[aria-pressed=true]{background:#edf5ff;font-weight:700}
.tool-shell--image-target-size .tool-form{grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:24px 32px}
.tool-shell--image-target-size .tool-settings-area{padding-left:30px}
.tool-shell--image-target-size .tool-settings{gap:18px;margin:0;grid-template-columns:1fr}
.tool-setting--unit{position:relative}
.tool-setting-unit{position:absolute;right:14px;bottom:10px;line-height:24px;font-size:1rem;color:#5d6570;font-weight:400;pointer-events:none}
.tool-settings .tool-setting--unit input{padding-right:62px!important}
.tool-shell--image-target-size .tool-guidance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;padding:16px 0 0}
.tool-shell--image-target-size .tool-guidance .tool-facts{display:none}
.tool-shell--image-target-size .tool-guidance .tool-brief{grid-column:1;margin:0;padding:0;border:0;font-size:.875rem}
.tool-shell--image-target-size .tool-guidance #tool-destination{grid-column:2;grid-row:1;margin:0;font-size:.8125rem}
.tool-shell--image-target-size .tool-contract-notes{grid-column:1/-1}
.tool-shell--image-rotate{border:0;padding:0;box-shadow:none;background:none}
.tool-shell--image-rotate .tool-form{display:block}
.tool-shell--image-rotate .tool-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 32px;padding:24px 28px;border:1px solid var(--tool-line);border-radius:16px;background:#fff;box-shadow:0 2px 6px #14284005,0 10px 28px #14284008}
.tool-shell--image-rotate .tool-inputs,.tool-shell--image-rotate .tool-settings,.tool-shell--image-rotate .tool-crop-editor,.tool-shell--image-rotate .tool-outputs,.tool-shell--image-rotate .tool-status{grid-column:1/-1}
.tool-shell--image-rotate .tool-settings{display:block;margin:0}
.tool-shell--image-rotate .tool-setting{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);padding:22px 0;gap:26px;min-height:96px}
.tool-shell--image-rotate .tool-setting-caption{display:grid;grid-template-columns:60px minmax(0,1fr);gap:4px 22px;align-items:center}
.tool-shell--image-rotate .tool-setting-caption>img{grid-column:1;grid-row:1/3;display:block;width:60px;height:60px;padding:14px;background:#edf5ff;border-radius:12px;max-width:none}
.tool-setting-caption>b{font-size:1.125rem;line-height:1.2;letter-spacing:-.02em}
.tool-setting-caption>small{font-size:.9375rem;font-weight:400;line-height:1.3;color:#35415a}
.tool-shell--image-rotate .tool-segments{gap:0;background:#edf5ff;border-radius:12px;overflow:hidden}
.tool-shell--image-rotate .tool-segments>.tool-choice{position:relative;border:0;border-radius:0;min-height:48px;padding:10px;gap:0;font-size:1.25rem;font-weight:450}
.tool-shell--image-rotate .tool-segments>.tool-choice+.tool-choice{border-left:1px solid #d5e2f3}
.tool-shell--image-rotate .tool-choice input{position:absolute;width:1px;height:1px;min-width:1px;min-height:1px;opacity:0}
.tool-shell--image-rotate .tool-segments>.tool-choice.is-selected{color:#fff;background:#006bd6;border-radius:12px;border-color:transparent;font-weight:600}
.tool-choice:has(input:focus-visible){outline:3px solid #0057c9;outline-offset:2px}
.tool-shell--image-rotate .tool-setting--quality{grid-template-columns:minmax(0,.9fr) minmax(0,.8fr) 72px;gap:20px}
.tool-setting--quality .tool-quality-slider{grid-column:2;grid-row:1;width:100%;height:24px;min-height:24px;padding:0;accent-color:#006bd6}
.tool-setting--quality input[type=number]{grid-column:3;grid-row:1;text-align:center;padding:8px 20px 8px 8px!important}
.tool-quality-unit{grid-column:3;grid-row:1;justify-self:end;padding-right:9px;font-size:1rem;font-weight:400;pointer-events:none}
.tool-quality-note{grid-column:2/-1;line-height:1.35}
.tool-shell--image-rotate .tool-actions{grid-column:1;margin-top:22px;max-width:none}
.tool-shell--image-rotate .tool-actions>.convert-button{font-size:1.25rem}
.tool-rotate-note{grid-column:2;display:flex;align-items:center;gap:12px;margin:22px 0 0;border-left:1px solid var(--tool-line);padding-left:28px;color:#35415a;font-size:.875rem;line-height:1.4}
.tool-rotate-note img{width:24px;height:24px;flex:none;filter:grayscale(1)}
.tool-shell--image-rotate .tool-guidance{display:grid;grid-template-columns:1fr auto;gap:0 24px;padding:20px 8px 0;border:0}
.tool-shell--image-rotate .tool-guidance .tool-facts{display:none}
.tool-shell--image-rotate .tool-guidance .tool-brief{grid-column:1;margin:0;padding:0;border:0;font-size:.875rem}
.tool-shell--image-rotate .tool-guidance #tool-destination{grid-column:2;grid-row:1;margin:0;font-size:.875rem;align-items:center}
.tool-shell--image-rotate .tool-contract-notes{grid-column:1/-1}
.tool-shell--data{border:0;background:none;box-shadow:none;padding:0;margin-left:-8px;margin-right:-8px}
.tool-shell--data .tool-form{display:block}
.tool-form-panel{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1fr);gap:0 24px;border:1px solid var(--tool-line);border-radius:16px;background:#fff;padding:18px 22px 24px;box-shadow:0 2px 6px #14284005,0 10px 28px #14284008}
.tool-shell--data .tool-inputs{padding-bottom:18px;margin-bottom:20px;grid-column:1/-1}
.tool-shell--data .tool-settings{grid-column:1;display:flex;gap:20px;margin:0;padding-right:14px}
.tool-shell--data .tool-result-area{grid-column:2;grid-row:2;display:flex;flex-direction:column;padding-left:20px}
.tool-shell--data .tool-settings select,.tool-shell--data .tool-settings input:not([type=checkbox]){height:42px;min-height:42px;font-size:1rem}
.tool-shell--data .tool-preview-heading{font-size:1.75rem;line-height:1.25;letter-spacing:-.03em;margin-bottom:18px;display:flex;align-items:center;gap:14px}
.tool-preview-heading img{width:28px;height:28px;filter:hue-rotate(-85deg) saturate(.8) brightness(.8)}
.tool-preview{margin:0;border-radius:10px;max-height:390px}
.tool-preview table{width:100%;min-width:100%;table-layout:fixed;font-size:1rem}
.tool-preview caption{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;padding:0}
.tool-preview th,.tool-preview td{min-width:0;width:auto;max-width:none;padding:10px 16px;line-height:1.3;font-size:1rem}
.tool-preview th{background:#edf5ff;font-weight:700}
.tool-column-kind{display:block;width:max-content;padding:2px 8px;border-radius:12px;background:#dfeeff;font-weight:400;color:#35415a;font-size:.875rem;line-height:1.2;margin-top:6px}
.tool-cell-change{font-size:.875rem;line-height:1.3}
.tool-shell .tool-preview-limit,.tool-shell .tool-preview-loss{font-size:.875rem;line-height:1.4;margin:16px 0 0;color:#5d6570}
.tool-preview-details{margin-top:12px;font-size:.8125rem;color:#5d6570;line-height:1.4}
.tool-preview-details>summary{cursor:pointer;min-height:28px;padding:4px 0}
.tool-preview-details p{font-size:.8125rem!important;line-height:1.45!important}
.tool-preview-column-note{display:none}
.tool-shell--data .tool-actions{gap:18px;margin-top:22px}
.tool-shell--data .tool-actions>.convert-button{flex:1.5;font-size:1.125rem;padding:12px 16px;min-height:54px}
.tool-shell--data .tool-actions>.convert-button:before{content:none}
.tool-shell--data .tool-actions>.convert-button:after{content:'';width:24px;height:24px;flex:none;background:url('/assets/icons/arrow-right.svg') center/24px no-repeat;filter:brightness(0) invert(1)}
.tool-shell--data .tool-actions>.tool-refresh{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;font-size:1rem;font-weight:600;padding:10px 14px;min-height:54px}
.tool-shell--data .tool-actions>.tool-refresh:before{content:'';width:24px;height:24px;flex:none;background:url('/assets/icons/arrow-path.svg') center/24px no-repeat}
.tool-shell--data .tool-guidance{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border:0;padding:20px 8px 0}
.tool-shell--data .tool-guidance .tool-facts{display:none}
.tool-shell--data .tool-guidance #tool-destination{margin:0;font-size:.875rem}
.tool-shell--data .tool-guidance .tool-brief{border:0;padding:0;margin:0;font-size:.875rem;flex:1}
.tool-shell--data .tool-contract-notes{margin:0 0 0 auto}
.tool-shell--json-to-csv .tool-form-panel{grid-template-columns:minmax(0,.6fr) minmax(0,1fr);padding:18px}
.tool-shell--json-to-csv .tool-inputs{grid-column:1;grid-row:1;margin-bottom:18px;padding-bottom:0}
.tool-shell--json-to-csv .tool-file-icon{width:54px;height:54px;flex-basis:54px}
.tool-shell--json-to-csv .tool-file-state{display:none}
.tool-shell--json-to-csv .tool-file-actions button>span{display:none}
.tool-shell--json-to-csv .tool-settings{grid-row:2;padding-right:14px;gap:18px}
.tool-shell--json-to-csv .tool-result-area{grid-column:2;grid-row:1/3;min-height:500px;border-left:1px solid var(--tool-line);padding-left:18px}
.tool-shell--json-to-csv .tool-preview-heading{font-size:1.375rem;line-height:1.25;margin:4px 0 22px}
.tool-shell--json-to-csv .tool-preview{border:0;border-radius:0}
.tool-shell--json-to-csv .tool-preview th,.tool-shell--json-to-csv .tool-preview td{border-right:0;padding:10px 14px}
.tool-shell--json-to-csv .tool-preview th:first-child{border-radius:10px 0 0 10px}.tool-shell--json-to-csv .tool-preview th:last-child{border-radius:0 10px 10px 0}
.tool-shell--json-to-csv .tool-preview-limit{margin-top:14px}
.tool-shell--json-to-csv .tool-preview-loss{margin-top:22px}
.tool-shell--json-to-csv .tool-actions{margin-top:auto;padding-top:24px}
/* The preview heading carries the visual state; keep its live status available
   to assistive technology and to the existing confirmation focus transition. */
@media(min-width:761px){.tool-shell--json-to-csv[data-state=ready] .tool-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}}
.catalog-instructions,.catalog-faq,.catalog-related,.catalog-information{margin-top:40px}
.catalog-instructions>h2,.catalog-faq>h2,.catalog-related>h2,.catalog-information>h2{font-size:2.125rem;line-height:1.2;font-weight:780;letter-spacing:-.035em;margin:0 0 24px}
.catalog-instructions ol{gap:26px}
.catalog-instructions li{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);gap:22px;color:#35415a;font-size:.875rem;line-height:1.3}
.catalog-instructions li:before{content:none}
.catalog-step-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background:#edf5ff}
.catalog-step-icon>img{width:34px;height:34px}
.catalog-instructions h3{font-size:1.125rem;line-height:1.2;letter-spacing:-.025em;margin:0 0 6px;font-weight:750}
.catalog-instructions li p{font-size:.875rem;line-height:1.3;margin:0;color:#35415a}
.catalog-step-arrow{position:absolute;right:-20px;top:18px;width:24px;height:24px}
.catalog-instructions li:last-child .catalog-step-arrow{display:none}
.catalog-faq{padding-top:24px;border-top:1px solid var(--tool-line,#dde4ed)}
.catalog-faq>h2{margin-bottom:14px}
.catalog-faq details{padding:10px 0}
.catalog-faq details:first-of-type{border-top:0}
.catalog-faq summary{min-height:0;font-size:1.1875rem;font-weight:750;line-height:1.2;gap:20px}
.catalog-faq summary:after{content:'';width:20px;height:20px;flex:none;background:url('/assets/icons/chevron-down.svg') center/20px no-repeat;filter:brightness(.4)}
.catalog-faq p{margin:4px 0 0;font-size:1rem;line-height:1.3;color:#35415a}
.catalog-related-list>a{grid-template-columns:56px minmax(0,1fr) 24px;gap:22px;padding:10px 0;min-height:72px}
.catalog-related-icon{width:56px;height:56px;font-size:0;background:#edf5ff}
.catalog-related-icon>img{width:34px;height:34px}
.catalog-related-list b{font-size:1.25rem;line-height:1.2;letter-spacing:-.025em}
.catalog-related-list small{font-size:1rem;line-height:1.3;margin-top:4px;color:#35415a}
.catalog-related-list>a>img{width:24px;height:24px;filter:brightness(.4)}
.catalog-information{padding-top:18px;border-top:1px solid #dde4ed}
.catalog-information>h2{margin-bottom:18px}
.catalog-information-body{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center}
.catalog-information p{font-size:1rem;line-height:1.3;margin:0 0 10px;color:#111318}
.catalog-processing-note{display:none}
.catalog-mobile-heading,.catalog-mobile-lead,.catalog-mobile-instructions{display:none}
.catalog-mobile-text,.tool-mobile-executor,.tool-mobile-data-notice,.tool-preview-dimensions{display:none}
.catalog-desktop-text{display:inline}
@media(min-width:761px){
 .tool-shell--pdf-merge .tool-file-list>.row{padding:10px 0}
 .tool-shell--pdf-merge .tool-file-label{font-size:1.25rem}
 main[data-tool-id=pdf-merge] .catalog-instructions ol{grid-template-columns:1fr 1.07fr .93fr}
 main[data-tool-id=pdf-merge] .catalog-instructions li:first-child p{max-width:180px}
}
.tool-shell--data:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-state{margin-left:auto;margin-right:20px}
html[data-large-text=true] .tool-form-panel,html[data-large-text=true] .tool-shell--json-to-csv .tool-form-panel{grid-template-columns:minmax(0,1fr)}
html[data-large-text=true] .tool-shell--data .tool-inputs,html[data-large-text=true] .tool-shell--data .tool-settings,html[data-large-text=true] .tool-shell--data .tool-result-area{grid-column:1;grid-row:auto}
html[data-large-text=true] .tool-shell--data .tool-result-area{border-left:0;border-top:1px solid #dde4ed;padding:20px 0 0;margin-top:20px}
html[data-large-text=true] .tool-shell--image-rotate .tool-main{display:block}
html[data-large-text=true] .tool-shell--image-rotate .tool-setting{grid-template-columns:1fr}
html[data-large-text=true] .tool-shell--image-rotate .tool-setting--quality{grid-template-columns:minmax(0,1fr) 72px}
html[data-large-text=true] .tool-setting--quality .tool-setting-caption{grid-column:1/-1}
html[data-large-text=true] .tool-setting--quality .tool-quality-slider{grid-column:1;grid-row:2}
html[data-large-text=true] .tool-setting--quality input[type=number],html[data-large-text=true] .tool-quality-unit{grid-column:2;grid-row:2}
html[data-large-text=true] .tool-rotate-note{border-left:0;border-top:1px solid #dde4ed;padding:20px 0 0;margin-top:20px}

@media(max-width:760px){
 .catalog-desktop-text,.tool-desktop-executor{display:none}
 .catalog-mobile-text,.tool-mobile-executor{display:inline}
 main[data-tool-id],main[data-tool-id=csv-to-json]{padding-left:24px;padding-right:24px}
 main[data-tool-id]>.catalog-breadcrumbs{display:none}
 main[data-tool-id]>.tool-hero{padding:16px 0 18px}
 main[data-tool-id]>.tool-hero h1{font-size:2rem;line-height:1.12;margin-bottom:6px;letter-spacing:-.035em}
 main[data-tool-id]>.tool-hero>p{font-size:1rem;line-height:1.35;color:#5d6570}
 main[data-tool-id=csv-to-json]>.tool-hero h1,main[data-tool-id=json-to-csv]>.tool-hero h1{font-size:1.875rem}
 .tool-shell{padding:12px 14px;margin-left:-4px;margin-right:-4px;border-radius:12px}
 .tool-form,.tool-shell--image-target-size .tool-form{display:block}
 .tool-shell--pdf-merge .tool-workspace-heading{position:static;clip-path:none;overflow:visible;width:auto;height:auto;margin:0 0 4px;padding:0;font-size:1.125rem;line-height:1.25;white-space:normal}
 .tool-shell--pdf-merge .tool-inputs{display:flex;flex-direction:column;align-items:stretch}
 .tool-shell--pdf-merge .tool-inputs:before{content:'Страницы каждого файла сохранят порядок.';order:0;font-size:.8125rem;line-height:1.3;color:#5d6570;margin:0 0 4px}
 .tool-shell--pdf-merge .tool-file-list{order:1;margin:0}
 .tool-shell--pdf-merge .tool-upload{order:2;position:relative;display:flex;margin-top:8px;width:100%}
 .tool-shell--pdf-merge .tool-upload-count{display:none}
 .tool-shell--pdf-merge .tool-file-summary{order:3;text-align:center;margin:6px 0 0;font-size:.8125rem;line-height:1.3}
 .tool-shell--pdf-merge .tool-input-help{order:4;margin:8px 0 0;font-size:.8125rem}
 .tool-shell--pdf-merge .tool-file-label{width:100%;min-height:40px;padding:6px 12px;border:1px solid #006bd6;background:#fff;border-radius:10px;font-size:1rem;font-weight:700}
 .tool-shell--pdf-merge .tool-file-label:before{background-image:url('/assets/icons/document-plus.svg');width:24px;height:24px}
 .tool-shell--pdf-merge .tool-file-list>.row{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);gap:4px 14px;min-height:78px;padding:6px 0;border-top:0}
 .tool-shell--pdf-merge .tool-file-list>.row:before{display:none}
 .tool-file-icon{width:46px;height:46px;flex-basis:46px;border-radius:10px}
 .tool-shell--pdf .tool-file-icon.reference-art{--tool-file-icon-size:46px}
 .tool-file-icon>img{width:32px;height:38px}
 .tool-file-icon>small{bottom:9px;font-size:.4375rem}
 .tool-shell .filename{font-size:1.0625rem;line-height:1.2;font-weight:750}
 .tool-shell .filename small{font-size:.875rem;line-height:1.25;margin-top:4px}
 .tool-shell--pdf-merge .tool-file-icon{grid-column:1;grid-row:1/3;align-self:start}
 .tool-shell--pdf-merge .filename{grid-column:2;grid-row:1;font-size:1rem;line-height:1.15;letter-spacing:-.025em}
 .tool-shell--pdf-merge .filename small{font-size:.8125rem;line-height:1.25;margin-top:2px}
 .tool-shell--pdf-merge .tool-file-actions{grid-column:2;grid-row:2;display:flex;gap:6px;margin:0;width:100%}
 .tool-file-actions button{min-height:32px;padding:6px 8px;font-size:.8125rem;gap:4px;border:1px solid #ccd8e8;border-radius:7px;background:#fff}
 .tool-shell--pdf-merge .tool-file-actions>button{flex:1}
 .tool-file-actions button:disabled{background:#eef2f7;border-color:#eef2f7}
 .tool-file-actions img{width:16px;height:16px}
 .tool-actions{margin-top:12px;gap:10px;flex-wrap:wrap}
 .tool-actions>.convert-button,.tool-actions>.tool-secondary{min-height:44px;flex-basis:100%;font-size:1.125rem;padding:10px 12px;border-radius:10px}
 .tool-actions>.convert-button:before{width:22px;height:22px;background-size:22px}
 .tool-shell--pdf-merge .tool-actions>.convert-button:before{content:none}
 .tool-shell--pdf-merge .tool-actions{margin-top:10px}
 .tool-shell--pdf-merge .tool-actions>.convert-button{font-size:1rem;min-height:44px;padding:8px 12px}
 .tool-shell--pdf-merge .tool-actions>.tool-secondary{flex:1;flex-basis:auto;min-height:36px;font-size:.875rem}
 .tool-shell--pdf-merge .tool-guidance{border:0;padding:8px 0 0}
 .tool-shell--pdf-merge{position:relative}
 .tool-shell--pdf-merge .tool-guidance{margin-top:0}
 .tool-shell--pdf-merge .tool-guidance .tool-brief{display:none}
 .tool-shell--pdf-merge .tool-contract-notes{position:absolute;top:4px;right:8px;z-index:4;margin:0;font-size:.8125rem}
 .tool-shell--pdf-merge .tool-contract-notes:not([open]){width:44px;height:44px;overflow:hidden}
 .tool-shell--pdf-merge .tool-contract-notes>summary{width:44px;height:44px;min-height:44px;min-width:44px;padding:0;margin-left:auto;font-size:0;list-style:none;display:block;background:url('/assets/icons/ellipsis-horizontal.svg') center/22px no-repeat}
 .tool-shell--pdf-merge .tool-contract-notes>summary::-webkit-details-marker{display:none}
 .tool-shell--pdf-merge .tool-contract-notes[open]{width:min(300px,calc(100% - 16px));padding:0 14px 14px;border:1px solid #dde4ed;border-radius:12px;background:#fff;box-shadow:0 8px 24px #1020301a}
 .tool-shell--pdf-merge .tool-extra-actions .tool-secondary{min-height:44px}
 .tool-shell--pdf-merge .tool-facts{display:none}
 .tool-shell--pdf-merge .tool-guidance #tool-destination{margin:0;padding:6px 8px;border-radius:9px;background:#edf5ff;font-size:.75rem;line-height:1.3;align-items:center;gap:8px}
 .tool-shell--pdf-merge #tool-destination>img{width:18px;height:18px}
 .tool-guidance{border-left:0;border-top:1px solid #dde4ed;margin-top:18px;padding:16px 0 0}
 .tool-guidance .tool-brief{font-size:.8125rem;line-height:1.35;margin-top:14px;padding-top:12px}
 .tool-guidance #tool-destination{font-size:.8125rem;margin-top:14px;gap:10px}
 .tool-guidance .tool-fact{font-size:.875rem;margin:0;gap:10px}
 .tool-facts{gap:14px}
 .tool-facts img{width:22px;height:22px}
 .tool-file-state{font-size:.75rem;gap:5px;white-space:normal}
 .tool-file-state img{width:18px;height:18px}
 .tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-upload{position:static;transform:none;width:auto;display:inline-flex;right:auto;top:auto;margin:8px 0 0 60px}
 .tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-label{min-height:36px;font-weight:600;background:#edf5ff;padding:8px 14px}
 .tool-shell:not(.tool-shell--pdf-merge)[data-has-files=true] .tool-file-state{margin:0 8px 0 auto}
 .tool-shell:not(.tool-shell--pdf-merge) .tool-file-actions{width:auto;margin-left:auto}
 .tool-shell:not(.tool-shell--pdf-merge) .tool-file-action--remove{border:0;background:none}
 .tool-shell:not(.tool-shell--pdf-merge) .tool-file-action--remove>span{display:none}
 .tool-shell .tool-settings,.tool-shell--image-target-size .tool-settings{display:flex;flex-direction:column;gap:12px;margin-top:14px}
 .tool-settings .tool-setting{gap:4px;font-size:.9375rem;line-height:1.3;font-weight:500;min-height:44px}
 .tool-settings select,.tool-settings input:not([type=checkbox]):not([type=radio]):not([type=range]){height:32px;min-height:32px;font-size:1rem;padding:4px 10px;border-radius:7px;line-height:1.25}
 .tool-setting-help{font-size:.8125rem;line-height:1.3}
 .tool-setting--checkbox{padding-top:2px;padding-bottom:2px;min-height:36px!important;align-items:center!important;gap:9px!important}
 .tool-setting--checkbox input{width:20px;height:20px;min-width:20px;min-height:20px;flex-basis:20px;margin:0}
 .tool-setting--checkbox span{font-size:.875rem;line-height:1.3}
 .tool-choice-list{gap:2px}
 .tool-choice{min-height:40px;font-size:.9375rem;gap:10px}
 .tool-segments>.tool-choice{padding:7px;min-height:40px;font-size:.9375rem;gap:6px}
 .tool-segments input[type=radio]{width:18px;height:18px;min-width:18px;min-height:18px}
 .tool-configuration-summary{margin-top:12px;padding:10px 12px;font-size:.875rem;line-height:1.3}
 .tool-contract-notes>summary{min-height:36px;display:flex;align-items:center;font-size:.8125rem}
 .tool-shell--image-target-size .tool-settings-area{padding:14px 0 0;margin-top:14px;border-left:0;border-top:1px solid #dde4ed}
 .tool-shell--image-target-size .tool-guidance{display:flex;flex-wrap:wrap;margin-top:16px;gap:10px;padding-top:12px}
 .tool-shell--image-target-size .tool-guidance #tool-destination{font-size:.8125rem}
 .tool-shell--image-target-size .tool-result-area{padding:0;border:0}
 .tool-setting-unit{bottom:4px;right:12px;font-size:.875rem}
 .tool-shell--image-rotate{padding:0}
 .tool-shell--image-rotate .tool-main{display:block;padding:14px}
 .tool-shell--image-rotate .tool-setting{display:flex;padding:14px 0;gap:10px;min-height:0}
 .tool-shell--image-rotate .tool-setting-caption{grid-template-columns:40px minmax(0,1fr);gap:2px 12px;width:100%}
 .tool-shell--image-rotate .tool-setting-caption>img{width:40px;height:40px;padding:9px;border-radius:9px}
 .tool-setting-caption>b{font-size:1rem}
 .tool-setting-caption>small{font-size:.8125rem}
 .tool-shell--image-rotate .tool-segments{width:100%;margin-top:4px}
 .tool-shell--image-rotate .tool-segments>.tool-choice{min-height:40px;padding:8px;font-size:1rem}
 .tool-shell--image-rotate .tool-setting--quality{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:8px 12px}
 .tool-setting--quality .tool-setting-caption{grid-column:1/-1}
 .tool-setting--quality .tool-quality-slider{grid-column:1;grid-row:2}
 .tool-setting--quality input[type=number],.tool-quality-unit{grid-column:2;grid-row:2}
 .tool-quality-note{grid-column:1/-1}
 .tool-shell--image-rotate .tool-actions{margin-top:14px}
 .tool-shell--image-rotate .tool-actions>.convert-button{font-size:1rem}
 .tool-rotate-note{border-left:0;border-top:1px solid #dde4ed;margin-top:14px;padding:12px 0 0;font-size:.8125rem}
 .tool-shell--image-rotate .tool-guidance{display:flex;flex-wrap:wrap;padding:14px 4px 0;gap:10px;margin-top:0}
 .tool-shell--data{padding:0;margin-left:7px;margin-right:7px}
 .tool-form-panel,.tool-shell--json-to-csv .tool-form-panel{display:block;padding:12px 14px;border-radius:12px}
 .tool-shell--data .tool-inputs{padding-bottom:12px;margin-bottom:12px}
 .tool-shell--data .tool-workspace-heading{position:static;width:auto;height:auto;padding:0;margin:0 0 8px;overflow:visible;clip-path:none;font-size:1rem;line-height:1.3;white-space:normal}
 .tool-shell--data .tool-file-icon{width:30px;height:30px;flex-basis:30px;border-radius:6px}
 .tool-shell--data .tool-file-icon img{width:23px;height:27px}
 .tool-shell--data .tool-file-icon>small{font-size:0}
 .tool-shell--data .tool-file-list>.row{min-height:34px;padding:4px 6px;border:1px solid #d3deec;border-radius:7px;gap:8px}
 .tool-shell--data .filename{font-size:.9375rem}
 .tool-shell--data .filename small{display:inline;margin-left:4px;font-size:.8125rem}
 .tool-shell--data .tool-file-state{display:none}
 .tool-shell--data .tool-file-actions{margin-left:auto;width:auto}
 .tool-shell--data .tool-file-actions button{padding:0;min-height:28px;min-width:28px;justify-content:center}
 .tool-shell--data[data-has-files=true] .tool-upload{display:inline-flex;margin:6px 0 0}
 .tool-shell--data[data-has-files=true] .tool-file-label{font-size:.875rem;min-height:32px;padding:7px 16px}
 .tool-shell--data[data-has-files=true] .tool-file-label:before{content:none}
 .tool-shell--data .tool-settings{padding:0;gap:10px;margin:0}
 .tool-shell--data .tool-settings select,.tool-shell--data .tool-settings input:not([type=checkbox]){height:32px;min-height:32px;font-size:1rem}
 .tool-shell--data .tool-result-area,.tool-shell--json-to-csv .tool-result-area{min-height:0;border-left:0;border-top:1px solid #dde4ed;padding:12px 0 0;margin-top:12px}
 .tool-shell--data .tool-preview-heading,.tool-shell--json-to-csv .tool-preview-heading{font-size:1.375rem;line-height:1.2;gap:8px;margin:0 0 8px}
 .tool-preview-heading img{width:22px;height:22px}
 .tool-preview{max-height:260px;margin:0;border-radius:8px}
 .tool-preview table{min-width:420px;font-size:.9375rem;table-layout:fixed}
 .tool-preview th,.tool-preview td{padding:6px 10px;font-size:.9375rem;line-height:1.2;min-width:130px}
 .tool-column-kind{font-size:.6875rem;line-height:1.2;padding:1px 5px;margin-top:3px}
 .tool-shell--data .tool-preview-limit,.tool-shell--data .tool-preview-loss{font-size:.8125rem;line-height:1.3;margin-top:8px}
 .tool-preview-column-note{display:block;font-size:.8125rem;line-height:1.35;color:#35415a;margin:10px 0 0}
 .tool-preview-dimensions{display:block;font-size:.875rem;line-height:1.3;color:#5d6570;margin:0 0 6px}
 .tool-column-kind{display:none}
 .tool-preview-details{font-size:.75rem;margin-top:6px}
 .tool-preview-details>summary{min-height:28px}
 .tool-shell--data[data-state=ready] .tool-status{align-self:stretch;border-radius:8px;display:flex;margin-top:10px;padding:10px 12px;font-size:.9375rem;background:#edf5ff;color:#25344b;font-weight:600}
 .tool-shell--data[data-state=ready] .tool-status:before{width:24px;height:24px;filter:none}
 .tool-shell--data .tool-actions{flex-direction:column;margin-top:12px;padding-top:0;gap:8px}
 .tool-shell--data .tool-actions>.convert-button,.tool-shell--data .tool-actions>.tool-refresh{flex:none;width:100%;min-height:44px;font-size:.9375rem;padding:9px 10px;line-height:1.3}
 .tool-shell--data .tool-actions>.convert-button:after{display:none}
 .tool-shell--data .tool-actions>.tool-refresh{background:#fff;border:1px solid #b9c9df;color:#006bd6}
 .tool-shell--data .tool-actions>.tool-refresh:before{display:none}
 .tool-shell--data .tool-guidance{padding:10px 7px 0;gap:6px}
 .tool-shell--data .tool-guidance .tool-brief,.tool-shell--data .tool-guidance #tool-destination{font-size:.8125rem;line-height:1.35}
 .tool-shell--data .tool-contract-notes{width:100%;margin:0}
 .tool-shell--data .tool-guidance .tool-brief,.tool-shell--data .tool-guidance #tool-destination{display:none}
 .tool-mobile-data-notice{display:block;font-size:.8125rem;line-height:1.35;margin:0;color:#5d6570}
 .catalog-instructions,.catalog-faq,.catalog-related,.catalog-information{margin-top:18px}
 .catalog-instructions>h2,.catalog-faq>h2,.catalog-related>h2,.catalog-information>h2{font-size:1.25rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 8px}
 .catalog-instructions ol{grid-template-columns:1fr;gap:8px}
 .catalog-instructions li{grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:start}
 .catalog-step-icon{width:26px;height:26px;border-radius:7px}
 .catalog-step-icon>img{width:18px;height:18px}
 .catalog-instructions h3{font-size:.9375rem;margin-bottom:2px}
 .catalog-instructions li p{font-size:.875rem;line-height:1.35}
 .catalog-step-arrow{display:none}
 .catalog-faq{padding-top:14px}
 .catalog-faq details{padding:10px 0}
 .catalog-faq summary{min-height:32px;font-size:1rem;line-height:1.25}
 .catalog-faq p{font-size:.875rem;line-height:1.35}
 .catalog-related-list>a{grid-template-columns:28px minmax(0,1fr) 20px;min-height:36px;gap:12px;padding:5px 0}
 .catalog-related-icon{width:28px;height:28px;min-height:28px;border-radius:7px}
 .catalog-related-icon>img{width:22px;height:22px}
 .catalog-related-list b{font-size:1rem;line-height:1.25}
 .catalog-related-list small{font-size:.8125rem;line-height:1.3}
 .catalog-related-list>a>img{width:20px;height:20px}
 .catalog-information-body{grid-template-columns:100px minmax(0,1fr);gap:12px}
 .catalog-information p{font-size:.8125rem;line-height:1.35}
 main[data-tool-id=pdf-merge] .catalog-instructions{display:none}
 .catalog-mobile-instructions{display:block;margin-top:14px}
 .catalog-mobile-instructions>h2{font-size:1.125rem;line-height:1.3;margin:0 0 8px;letter-spacing:-.025em}
 .catalog-mobile-instructions ol{list-style:none;padding:0;margin:0;display:grid;gap:4px;counter-reset:mobile-catalog-step}
 .catalog-mobile-instructions li{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:10px;font-size:.875rem;line-height:1.35;color:#35415a}
 .catalog-mobile-instructions li:before{counter-increment:mobile-catalog-step;content:counter(mobile-catalog-step);display:grid;place-items:center;align-self:start;width:26px;height:23px;background:#edf5ff;border-radius:6px;color:#35415a;font-weight:650}
 main[data-tool-id=pdf-merge] .catalog-faq>h2{display:none}
 main[data-tool-id=pdf-merge] .catalog-faq details:not([data-topic=security]){display:none}
 main[data-tool-id=pdf-merge] .catalog-faq{margin-top:10px;padding-top:6px}
 main[data-tool-id=pdf-merge] .catalog-related-list small{display:none}
 main[data-tool-id=pdf-merge] .catalog-related{margin-top:10px}
 main[data-tool-id=csv-to-json] .catalog-instructions,main[data-tool-id=csv-to-json] .catalog-related{display:none}
 main[data-tool-id=csv-to-json] .catalog-faq{display:flex;flex-direction:column;gap:5px;margin:10px 7px 0;padding:0;border:0}
 main[data-tool-id=csv-to-json] .catalog-faq>h2{display:none}
 main[data-tool-id=csv-to-json] .catalog-faq details{padding:5px 10px;border:1px solid #d3deec;border-radius:8px}
 main[data-tool-id=csv-to-json] .catalog-faq details[data-question-index='0']{order:2}
 main[data-tool-id=csv-to-json] .catalog-faq details[data-question-index='1']{order:1}
 main[data-tool-id=csv-to-json] .catalog-faq details[data-question-index='2']{display:none}
 main[data-tool-id=csv-to-json] .catalog-faq summary{font-size:.9375rem;min-height:28px;line-height:1.3}
}

@media(max-width:580px){.tool-shell--ico-create .tool-file-list>.row{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px 12px}.tool-shell--ico-create .tool-file-icon{grid-column:1;grid-row:1;align-self:start}.tool-shell--ico-create .filename{grid-column:2;grid-row:1}.tool-shell--ico-create .tool-file-actions{grid-column:2;grid-row:2;width:100%;margin:0}.tool-shell--ico-create .tool-file-actions>button{margin-left:auto}}
