:root { font-family: var(--font-sans); color: #172033; background: #f4f6fb; --muted: #667085; --border: #e3e8f0; --primary: var(--brand); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: #f4f6fb; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
.tool-header { border-bottom: 1px solid #edecf2; background: #fff; }
.tool-header-inner { width: min(1120px, calc(100% - 40px)); min-height: 78px; display: flex; align-items: center; gap: 16px; margin: 0 auto; }
.tool-brand img { display: block; width: 145px; height: 64px; object-fit: cover; mix-blend-mode: multiply; }
.tool-header .back-link { margin-left: auto; color: #5e55c8; font-size: 13px; font-weight: 700; }
.tool-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 60px; }
.tool-shell > .eyebrow { margin: 0 0 10px; color: var(--brand-dark); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.tool-shell > h1 { margin: 0 0 12px; color: #202338; font-size: clamp(32px, 5vw, 44px); letter-spacing: -.045em; }
.tool-intro { margin: 0 0 24px; color: #667085; font-size: 15px; line-height: 1.7; }
.cleaner-card, .seo-card, .faq, .related { border: 1px solid #e3e8f0; border-radius: 15px; background: #fff; box-shadow: 0 4px 18px rgb(16 24 40 / 4%); }
.cleaner-card { margin: 18px 0; padding: clamp(16px, 3vw, 24px); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.card-heading h2 { margin: 0 0 6px; color: #292b40; font-size: 20px; letter-spacing: -.03em; }
.card-heading p { margin: 0; color: #667085; font-size: 13px; line-height: 1.6; }
.local-badge { flex: 0 0 auto; padding: 8px 10px; border-radius: 20px; color: #21795e; background: #e9f8f2; font-size: 12px; font-weight: 700; }
.local-badge span { margin-right: 5px; color: #36ad82; font-size: 9px; }
.tool-tabs, .option-pills, .action-row { display: flex; flex-wrap: wrap; gap: 9px; }
.tool-tabs { padding: 5px; border: 1px solid #e7e8ef; border-radius: 12px; background: #f8f9fc; }
.tool-tabs button, .option-pills button, .action-row button, .file-actions button { min-height: 39px; padding: 0 13px; border: 1px solid #e3e8f0; border-radius: 9px; color: #344054; background: #fff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.tool-tabs button[aria-selected="true"], .action-row .primary, .file-actions .primary { border-color: var(--brand); color: #fff; background: var(--brand); }
@media (hover: hover) and (pointer: fine) { .tool-tabs button:hover, .option-pills button:hover, .action-row button:hover, .file-actions button:hover { border-color: #c8c8fa; background: #f8f7ff; }
.tool-tabs button[aria-selected="true"]:hover, .action-row .primary:hover, .file-actions .primary:hover { color: #fff; background: var(--brand-dark); } }
.module-panel { padding-top: 18px; }
.field-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 7px; }
.field-header .field-label { margin: 0; }
.field-header button { min-height: 34px; flex: 0 0 auto; padding: 0 11px; border: 1px solid #e3e8f0; border-radius: 9px; color: var(--brand); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .field-header button:hover { border-color: #c8c8fa; background: #f8f7ff; } }
.field-header .clear-text-button { min-height: 28px; padding: 0 9px; border-color: #e3e8f0; color: #344054; font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .field-header .clear-text-button:hover { border-color: #cbd5e1; background: #f8fafc; } }
.field-label { display: block; margin: 14px 0 7px; color: #45485a; font-size: 12px; font-weight: 700; }
.cleaner-textarea { display: block; width: 100%; min-height: 180px; padding: 12px; border: 1px solid #d7deea; border-radius: 9px; outline: none; color: #292b40; background: #fdfdff; font: 13px/1.65 var(--font-mono); resize: vertical; }
.cleaner-textarea:focus, .file-input:focus-visible { border-color: #a5a6f6; box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 12%); }
.option-pills { margin-top: 12px; }
.option-pills label { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #e8eaf1; border-radius: 999px; color: #45485a; background: #fbfcfe; font-size: 12px; font-weight: 650; cursor: pointer; }
.option-pills input { width: 14px; height: 14px; margin: 0; accent-color: var(--brand); }
.action-row { margin-top: 13px; }
.action-row button, .file-actions button { min-height: 40px; }
.cleaned-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.cleaned-actions button { min-height: 38px; padding: 0 12px; border: 1px solid #e3e8f0; border-radius: 9px; color: #344054; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .cleaned-actions button:hover { border-color: #c8c8fa; background: #f8f7ff; } }
.status { min-height: 17px; margin: 9px 0 0; color: #16835d; font-size: 12px; line-height: 1.5; }
.status.error { color: #b42332; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.stat { min-width: 0; padding: 13px; border: 1px solid #eaebf1; border-radius: 11px; background: #fbfcff; }
.stat-value { display: block; overflow-wrap: anywhere; color: #292b40; font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.stat-label { display: block; margin-top: 4px; color: #667085; font-size: 12px; line-height: 1.45; }
.hygiene { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; color: #21795e; background: #e9f8f2; font-size: 12px; font-weight: 700; }
.hygiene.warn { color: #a23d3d; background: #fff0ef; }
.xray { min-height: 64px; max-height: 180px; overflow: auto; padding: 12px; border: 1px solid #e3e8f0; border-radius: 9px; color: #45485a; background: #fbfcff; font: 13px/2 var(--font-mono); overflow-wrap: anywhere; white-space: pre-wrap; }
.xray-placeholder { color: #8a8f9e; }
.xray-mark { border-radius: 2px; }
.xray-mark-typography { background: #fff0a8; box-shadow: 0 0 0 1px #f4d45d; }
.xray-mark-hidden, .xray-mark-security { background: #fff0a8; box-shadow: 0 0 0 1px #f4d45d; }
.xray-mark-homoglyph { background: #fff0a8; box-shadow: 0 0 0 1px #f4d45d; }
.drop-zone { display: grid; justify-items: center; gap: 8px; padding: 24px 16px; border: 1px dashed #bbb8ec; border-radius: 12px; color: #5f6475; background: #fafaff; text-align: center; transition: background .15s, border-color .15s; }
.drop-zone.is-dragging { border-color: var(--brand); background: #f0efff; }
.drop-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #5e55c8; background: #f0edff; font-size: 20px; }
.drop-zone p { margin: 0; font-size: 13px; line-height: 1.5; }
.drop-zone .muted { color: #626777; font-size: 12px; }
.file-input { max-width: 100%; font-size: 12px; }
.drop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 9px; }
.drop-toolbar p { margin: 0; color: #5f6475; font-size: 12px; line-height: 1.5; }
.selected-files { margin: 8px 0 0; color: #667085; font-size: 12px; }
.selected-files:empty { display: none; }
.selected-files.selection-pending { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 12px; padding: 10px 13px; border: 1px solid #b9c5ff; border-left: 4px solid var(--brand); border-radius: 9px; color: #292b40; background: #f2f3ff; font-size: 13px; font-weight: 700; line-height: 1.5; }
.selected-files.selection-pending::before { width: 25px; height: 25px; display: grid; flex: 0 0 25px; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); content: "→"; font-size: 15px; }
.method-heading { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.method-heading h3 { margin: 0; color: #45485a; font-size: 12px; }
.method-help { position: relative; display: inline-grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border: 1px solid #aaa8d9; border-radius: 50%; color: var(--brand); background: #fff; font-size: 12px; font-weight: 800; cursor: help; }
.method-help::after { position: absolute; z-index: 3; left: 50%; bottom: calc(100% + 9px); width: min(280px, 75vw); padding: 10px 12px; border-radius: 8px; color: #fff; background: #292b40; content: attr(data-tooltip); font-size: 12px; font-weight: 500; line-height: 1.55; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s var(--ease-out), transform .15s var(--ease-out); }
.method-help:focus::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) { .method-help:hover::after { opacity: 1; transform: translate(-50%, 0); } }
.radio-pills label { position: relative; }
.radio-pills label .method-help { margin-left: 1px; }
.image-control-row { display: flex; align-items: stretch; gap: 9px; margin-top: 4px; }
.inspect-button { width: auto; min-height: 43px; flex: 1; border: 1px solid var(--brand); border-radius: 9px; color: #fff; background: var(--brand); cursor: pointer; font-size: 13px; font-weight: 750; }
@media (hover: hover) and (pointer: fine) { .inspect-button:hover:not(:disabled) { background: var(--brand-dark); } }
.inspect-button:disabled, .cleaning-section button:disabled { cursor: wait; opacity: .7; }
.reset-images-button { min-height: 43px; flex: 0 0 auto; padding: 0 13px; border: 1px solid #e3e8f0; border-radius: 9px; color: var(--brand); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .reset-images-button:hover:not(:disabled) { border-color: #c8c8fa; background: #f8f7ff; } }
.reset-images-button:disabled { cursor: not-allowed; opacity: .55; }
.file-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0; }
.radio-pills label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid #e3e8f0; border-radius: 999px; color: #45485a; background: #fff; font-size: 12px; font-weight: 650; cursor: pointer; }
.radio-pills input { accent-color: var(--brand); }
.image-report { display: grid; gap: 12px; margin-top: 16px; }
.image-report-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: stretch; gap: 12px; min-width: 0; padding: 10px; border: 1px solid #eaebf1; border-radius: 11px; background: #fbfcff; }
.image-report-preview { min-width: 0; margin: 0; padding: 10px; border-right: 1px solid #eaebf1; background: #fbfcff; }
.image-report-preview img { display: block; width: 100%; height: 120px; object-fit: contain; border-radius: 7px; background: #eef0f6; }
.pixel-preview-canvas { display: block; width: 100%; height: 120px; object-fit: contain; border-radius: 7px; background: #eef0f6; }
.pixel-view-controls { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.pixel-view-controls button { min-height: 24px; padding: 3px 5px; border: 1px solid #e3e8f0; border-radius: 6px; color: #45485a; background: #fff; cursor: pointer; font-size: 11px; line-height: 1.25; }
.pixel-view-controls button[aria-pressed="true"] { border-color: #b7b2f3; color: #39356f; background: #f0efff; }
.image-report-preview figcaption { margin-top: 6px; overflow-wrap: anywhere; color: #45485a; font-size: 12px; font-weight: 650; line-height: 1.4; }
.image-report-details { min-width: 0; }
.preview-card, .report-card, .file-report { min-width: 0; padding: 14px; border: 1px solid #eaebf1; border-radius: 11px; background: #fbfcff; }
.preview-card h3, .report-card h3, .file-report h3 { margin: 0 0 10px; color: #292b40; font-size: 14px; }
.preview-image { display: block; width: 100%; max-height: 280px; object-fit: contain; border-radius: 8px; background: #eef0f6; }
.risk { margin: 0 0 10px; padding: 10px; border-radius: 8px; font-size: 12px; font-weight: 750; line-height: 1.5; }
.risk-high { color: #a31f2a; background: #fff0ef; }
.risk-medium { color: #8b5a00; background: #fff8df; }
.risk-safe { color: #21795e; background: #e9f8f2; }
.metadata-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 12px; line-height: 1.5; }
.metadata-table th, .metadata-table td { padding: 7px 8px; background: #fff; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.metadata-table th { width: 38%; border-radius: 7px 0 0 7px; color: #667085; font-weight: 700; }
.metadata-table td { border-radius: 0 7px 7px 0; color: #344054; }
.metadata-table td a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.ai-alert { margin-top: 10px; padding: 10px; border: 1px solid #f1d7b8; border-radius: 8px; color: #8c4c0d; background: #fff8ef; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.ai-alert pre { max-width: 100%; min-width: 0; margin: 8px 0 0; overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; font: inherit; }
.file-list { display: grid; gap: 10px; margin-top: 14px; }
.file-report { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
.file-report h3 { overflow-wrap: anywhere; }
.file-report p { margin: 0; color: #667085; font-size: 12px; line-height: 1.5; }
.file-report .file-actions { margin-top: 0; }
.bulk-reports { display: grid; gap: 10px; margin-top: 12px; }
.file-report { display: block; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #eaebf1; border-radius: 11px; background: #fbfcff; }
.file-report.image-file-report { min-height: 100%; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.image-report-header { display: block; min-width: 0; padding: 12px 14px 10px; cursor: pointer; list-style: none; }
.image-report-header::-webkit-details-marker { display: none; }
.image-report-summary-main { display: flex; min-width: 0; align-items: center; gap: 10px; }
.image-report-header h3 { min-width: 0; flex: 1 1 auto; margin: 0; color: #292b40; font-size: 14px; overflow-wrap: anywhere; }
.report-toggle-label { display: inline-flex; min-height: 26px; align-items: center; margin-top: 8px; padding: 3px 8px; border: 1px solid #e1defa; border-radius: 6px; color: var(--brand); background: #f8f7ff; font-size: 12px; font-weight: 750; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .image-report-header:hover .report-toggle-label { border-color: #c8c8fa; background: #f0efff; } }
.report-badge { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 750; line-height: 1.3; }
.report-badge-safe { color: #21795e; background: #e9f8f2; }
.report-badge-medium { color: #8b5a00; background: #fff3d4; }
.report-badge-high { color: #a31f2a; background: #fff0ef; }
.report-details-content { max-height: 320px; overflow: auto; overscroll-behavior: contain; padding: 0 14px 14px; }
.report-details-content > .ai-alert:first-child { margin: 0 0 10px; }
.report-details-content .risk { margin-top: 0; }
.report-details-content .metadata-table { margin-bottom: 2px; }
.forensics-card { margin: 0 0 10px; padding: 11px; border: 1px solid #e4e6f0; border-radius: 9px; background: #fff; }
.forensics-card h4 { margin: 0 0 6px; color: #292b40; font-size: 12px; }
.forensics-indicator { margin: 0 0 6px; color: var(--brand); font-size: 12px; font-weight: 750; }
.forensics-card ul { margin: 0 0 8px; padding-left: 18px; color: #45485a; font-size: 12px; line-height: 1.55; }
.forensics-pixel-stats, .forensics-disclaimer { margin: 6px 0 0 !important; color: #667085 !important; font-size: 12px !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
.image-select, .select-all-images { display: inline-flex; align-items: flex-start; gap: 8px; color: #45485a; font-size: 12px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.image-select { flex: 0 0 auto; align-items: center; }
.image-select input, .select-all-images input { width: 16px; height: 16px; margin: 1px 0 0; flex: 0 0 16px; accent-color: var(--brand); }
.other-reports { margin-top: 12px; padding: 12px; border: 1px solid #e3e8f0; border-radius: 11px; background: #fff; }
.other-reports > summary { color: var(--brand); font-size: 12px; font-weight: 750; line-height: 1.5; cursor: pointer; }
.other-reports .bulk-reports { margin-top: 12px; }
.structure-details { margin-top: 12px; padding: 10px; border: 1px solid #e7e8ef; border-radius: 8px; background: #fff; color: #45485a; font-size: 12px; }
.structure-details summary { font-weight: 700; cursor: pointer; }
.structure-details ul { max-height: 220px; overflow: auto; margin: 8px 0 0; padding-left: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.cleaning-section { margin-top: 16px; padding: 16px; border: 1px solid #e3e8f0; border-radius: 11px; background: #fbfcff; }
.cleaning-section h3 { margin: 0 0 6px; color: #292b40; font-size: 15px; }
.cleaning-section > p { margin: 0 0 12px; color: #667085; font-size: 12px; line-height: 1.6; }
.select-all-images { min-height: 38px; align-items: center; padding: 9px 11px; border: 1px solid #dcdaf7; border-radius: 9px; color: #39356f; background: #f8f7ff; font-size: 12px; }
.select-all-images input { margin-top: 0; }
.clean-selection-status { margin: 8px 0 0 !important; color: var(--brand) !important; font-size: 12px !important; font-weight: 700; }
.cleaning-method { margin: 14px 0; padding: 13px; border: 1px solid #e3e8f0; border-radius: 10px; background: #fff; }
.cleaning-method .method-heading { margin-top: 0; }
.cleaning-method .radio-pills { margin-bottom: 0; }
.image-watermark-warning { margin: 12px 0 0; padding: 11px 12px; border: 1px solid #f1c98b; border-left: 4px solid #c47b13; border-radius: 8px; color: #75450b; background: #fff7e8; font-size: 12px; font-weight: 650; line-height: 1.6; }
.cleaning-section > button { min-height: 40px; padding: 0 14px; border: 1px solid var(--brand); border-radius: 9px; color: #fff; background: var(--brand); cursor: pointer; font-size: 12px; font-weight: 750; }
.cleaning-section > button:disabled { cursor: not-allowed; opacity: .55; }
.clean-progress { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; margin-top: 13px; color: var(--brand); font-size: 12px; font-weight: 700; }
.loading-spinner { width: 18px; height: 18px; border: 2px solid #dedcff; border-top-color: var(--brand); border-radius: 50%; animation: spin .75s linear infinite; }
.progress-track { height: 6px; grid-column: 1 / -1; overflow: hidden; border-radius: 5px; background: #e9e8fb; }
.progress-track span { display: block; width: 35%; height: 100%; border-radius: inherit; background: #6b63e8; animation: progress-slide 1.15s ease-in-out infinite alternate; }
.cleaned-images-section { margin-top: 14px; padding: 16px; border: 1px solid #e3e8f0; border-radius: 11px; background: #fff; box-shadow: 0 4px 18px rgb(16 24 40 / 4%); }
.cleaned-images-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-bottom: 13px; border-bottom: 1px solid #eaebf1; }
.cleaned-images-heading h3 { margin: 0 0 4px; color: #292b40; font-size: 15px; }
.cleaned-images-heading p { margin: 0; color: #667085; font-size: 12px; line-height: 1.5; }
#download-all-container { flex: 0 0 auto; margin-left: auto; }
.download-list { display: grid; gap: 9px; margin-top: 12px; }
.download-all-button { min-height: 43px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid #6858e8; border-radius: 10px; color: #fff; background: linear-gradient(115deg, #6858e8, #8068ed); box-shadow: 0 5px 13px rgb(104 88 232 / 22%), inset 0 1px rgb(255 255 255 / 22%); cursor: pointer; font-size: 12px; font-weight: 750; transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s var(--ease-out), scale .16s var(--ease-out); }
.download-all-button::before { content: "↓"; font-size: 16px; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .download-all-button:hover:not(:disabled) { transform: translateY(-1px); background: linear-gradient(115deg, #5545d3, #7058df); box-shadow: 0 7px 17px rgb(104 88 232 / 29%), 0 0 0 3px rgb(255 151 107 / 18%); } }
.download-all-button:focus-visible { outline: 3px solid rgb(255 151 107 / 65%); outline-offset: 3px; }
.download-all-button:active:not(:disabled) { transform: translateY(0); }
.download-all-button:disabled { cursor: wait; opacity: .65; }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border: 1px solid #e7e8ef; border-radius: 9px; background: #fff; }
.download-item > span { min-width: 0; overflow-wrap: anywhere; color: #344054; font-size: 12px; font-weight: 650; }
.download-item .file-actions { flex: 0 0 auto; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes progress-slide { to { width: 88%; } }
.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 16px; border: 1px solid #e5e0ff; border-radius: 12px; color: #4e477f; background: #f8f7ff; font-size: 13px; line-height: 1.5; }
.support-banner p { margin: 0; }
.support-banner a { min-height: 38px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; color: #fff; background: var(--brand); font-size: 12px; font-weight: 700; }
.seo-card, .faq, .related { margin-top: 16px; padding: 20px 22px; }
.seo-card h2 { margin: 0 0 12px; color: #292b40; font-size: 22px; line-height: 1.35; }
.seo-card h3, .faq > h2, .related > h2 { margin: 18px 0 9px; color: #292b40; font-size: 17px; }
.seo-card h2 + h3 { margin-top: 16px; }
.seo-card p, .seo-card li, .faq-item p { color: #4b5565; font-size: 14px; line-height: 1.8; }
.seo-card ul { padding-left: 22px; }
.seo-card a { color: var(--brand); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq > h2, .related > h2 { margin-top: 0; margin-bottom: 16px; }
.faq-item { padding: 0 0 14px; border-bottom: 1px solid #edf0f4; }
.faq-item + .faq-item { padding-top: 14px; }
.faq-item:last-child { padding-bottom: 0; border-bottom: 0; }
.faq-item summary { position: relative; padding-left: 28px; color: #292b40; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 7px; left: 7px; width: 7px; height: 7px; border-right: 2px solid #635bdf; border-bottom: 2px solid #635bdf; content: ""; transform: rotate(45deg); transition: transform .2s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p { margin: 10px 0 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; padding: 15px; border: 1px solid #eaebf1; border-radius: 13px; color: #292b40; background: #fff; box-shadow: 0 3px 10px rgb(28 33 66 / 2%); transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), scale .16s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .related-card:hover { transform: translateY(-3px); border-color: #d9d3ff; box-shadow: 0 10px 24px rgb(54 45 112 / 8%); } }
.related-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 11px; font-size: 15px; font-weight: 750; }
.related-icon.violet { color: #695ade; background: #f0edff; }
.related-icon.blue { color: #4384d9; background: #eaf3ff; }
.related-icon.mint { color: #299d7b; background: #e9f8f2; }
.related-category { margin-bottom: 6px; color: #667085; font-size: 12px; font-weight: 700; }
.related-card strong { margin-bottom: 6px; font-size: 13px; line-height: 1.4; }
.related-description { color: #5f6475; font-size: 13px; line-height: 1.6; }
.back-to-tool { position: fixed; z-index: 10; right: max(20px, calc((100vw - 820px) / 2)); bottom: 22px; padding: 12px 16px; border: 1px solid var(--brand); border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 6px 20px rgb(40 35 100 / 22%); font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), background .2s var(--ease-out), scale .16s var(--ease-out); }
.back-to-tool.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-footer { margin-top: 8px; padding: 22px 20px 26px; border-top: 1px solid #edecf2; background: #fbfbfd; }
.footer-inner { width: min(100%, 1120px); display: grid; justify-items: center; gap: 12px; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-links a { color: #777a89; font-size: 12px; font-weight: 650; }
.legal-note { max-width: 900px; margin: 0; color: #626777; font-size: 12px; line-height: 1.6; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .tool-header-inner { width: min(100% - 30px, 560px); min-height: 68px; }
  .tool-brand img { width: 120px; height: 54px; }
  .tool-shell { width: min(100% - 28px, 560px); padding-top: 34px; }
  .card-heading { flex-direction: column; }
  .field-header { align-items: flex-start; }
  .field-header button { white-space: normal; text-align: right; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-report-item { grid-template-columns: 115px minmax(0, 1fr); gap: 9px; }
  .image-report-preview { padding: 8px; }
  .image-report-preview img { height: 110px; }
  .support-banner { align-items: stretch; flex-direction: column; gap: 10px; }
  .support-banner a { align-self: flex-start; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-card { min-height: 0; display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
  .related-icon { grid-row: span 3; margin: 0; }
  .related-category, .related-card strong { margin: 0; }
  .file-report { grid-template-columns: 1fr; }
  .cleaned-images-heading { align-items: flex-start; }
  .download-item { align-items: flex-start; flex-direction: column; }
  .download-item .file-actions { flex-wrap: wrap; }
  .drop-toolbar { align-items: flex-start; }
  .method-help::after { right: 0; left: auto; width: min(280px, calc(100vw - 56px)); transform: translateY(4px); }
  .method-help:focus::after { transform: translateY(0); }
@media (hover: hover) and (pointer: fine) { .method-help:hover::after { transform: translateY(0); } }
  .back-to-tool { right: 15px; bottom: 15px; }
}
@media (max-width: 520px) {
  .image-select span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
@media (max-width: 380px) {
  .image-report-item { grid-template-columns: 90px minmax(0, 1fr); gap: 7px; padding: 7px; }
  .image-report-preview { padding: 6px; }
  .image-report-preview img { height: 100px; }
  .image-report-preview figcaption { font-size: 11px; }
  .image-report-header { padding: 10px 8px; }
  .image-report-summary-main { flex-wrap: wrap; gap: 6px; }
  .image-report-header h3 { font-size: 12px; }
  .report-toggle-label { margin-top: 6px; }
  .report-badge { padding: 4px 5px; font-size: 11px; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .stat-label { margin-top: 0; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
