/* Wspólne dla /usuwanie-duplikatow/ i /duplicate-remover/ (PL i EN). */
    :root {
      font-family: var(--font-sans);
      color: #172033;
      background: #f4f6fb;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
      --muted: #667085;
      --border: #e3e8f0;
      --primary: var(--brand);
      --primary-dark: var(--brand-dark);
    }
    * { box-sizing: border-box; }
    [hidden] { display: none !important; }
    body { min-width: 320px; margin: 0; }
    button, textarea, input, select { font: inherit; }
    .site-header { border-bottom: 1px solid #edecf2; background: #fff; }
    .header-inner { width: min(1160px, calc(100% - 48px)); min-height: 78px; display: flex; align-items: center; gap: 16px; margin: 0 auto; }
    .brand img { display: block; width: 145px; height: 64px; object-fit: cover; mix-blend-mode: multiply; }
    .back-link { margin-left: auto; color: #5e55c8; font-size: 13px; font-weight: 700; text-decoration: none; }
    @media (hover: hover) and (pointer: fine) { .back-link:hover { color: var(--brand-dark); } }
    .shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 60px; }
    .eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
    h1 { margin: 0; font-size: clamp(30px, 5vw, 42px); letter-spacing: -.045em; }
    .intro { max-width: 760px; margin: 12px 0 25px; color: var(--muted); font-size: 15px; line-height: 1.7; }
    .workspace, .result-panel { border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: 0 4px 18px rgb(16 24 40 / 4%); }
    .workspace { padding: 19px; }
    .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
    h2 { margin: 0; color: #292b40; font-size: 18px; letter-spacing: -.025em; }
    textarea { display: block; width: 100%; min-height: 230px; resize: vertical; padding: 14px; border: 1px solid #d7deea; border-radius: 10px; outline: none; color: #172033; background: #fbfcfe; font-family: var(--font-mono); font-size: 14px; line-height: 1.65; }
    textarea:focus, input:focus, select:focus { border-color: #a5a6f6; box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 13%); }
    textarea::placeholder { color: #98a2b3; }
    .settings-menu { position: relative; flex: 0 0 auto; }
    .settings-menu > summary { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 9px; color: #5e55c8; background: #fff; cursor: pointer; list-style: none; }
    .settings-menu > summary::-webkit-details-marker { display: none; }
    .settings-menu[open] > summary { border-color: #c8c8fa; background: #f8f7ff; }
@media (hover: hover) and (pointer: fine) { .settings-menu > summary:hover { border-color: #c8c8fa; background: #f8f7ff; } }
    .settings-menu > summary:focus-visible, button:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 24%); outline-offset: 2px; }
    .settings-menu svg { width: 18px; height: 18px; }
    .settings-panel { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: min(350px, calc(100vw - 58px)); max-height: min(70vh, 560px); display: grid; gap: 13px; padding: 16px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgb(16 24 40 / 15%); }
    .settings-title { margin: 0; color: #292b40; font-size: 13px; font-weight: 750; }
    .separator-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .check-option { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid #e8eaf1; border-radius: 8px; color: #45485a; background: #fbfcfe; font-size: 12px; font-weight: 650; cursor: pointer; }
    .check-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
    .field { display: grid; gap: 6px; color: #45485a; font-size: 12px; font-weight: 700; }
    .field input, .field select { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #d7deea; border-radius: 8px; outline: none; color: #292b40; background: #fdfdff; font-size: 12px; }
    .field input:disabled { color: #626777; background: #f4f5f8; }
    .settings-note { margin: -5px 0 0; color: #667085; font-size: 12px; line-height: 1.5; }
    .actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 20px; }
    button { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 9px; color: #344054; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .15s var(--ease-out), border-color .15s var(--ease-out), scale .16s var(--ease-out); }
    @media (hover: hover) and (pointer: fine) { button:hover { border-color: #c8c8fa; background: #f8f7ff; } }
    button.primary { border-color: transparent; color: #fff; background: var(--primary); }
    @media (hover: hover) and (pointer: fine) { button.primary:hover { background: var(--primary-dark); } }
    button:disabled { cursor: not-allowed; opacity: .5; }
    .result-panel { overflow: hidden; }
    .result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 19px; border-bottom: 1px solid var(--border); }
    .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 19px; border-bottom: 1px solid var(--border); background: #fbfcfe; }
    .stat { min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
    .stat-value { display: block; font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; }
    .stat-label { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
    .output { min-height: 190px; border: 0; border-radius: 0; background: #fff; }
    .output:focus { box-shadow: inset 0 0 0 2px rgb(var(--brand-rgb) / 18%); }
    .status { min-height: 20px; margin: 0; padding: 0 19px 14px; color: var(--muted); font-size: 12px; }
    .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(--primary); font-size: 12px; font-weight: 700; text-decoration: none; }
    .duplicates-seo { margin-top: 26px; padding-top: 12px; }
    .duplicates-seo-intro { margin-bottom: 18px; }
    .duplicates-seo h2 { margin: 0 0 12px; color: #292b40; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.25; }
    .duplicates-seo h3 { margin: 0 0 10px; color: #292b40; font-size: 18px; letter-spacing: -.02em; }
    .duplicates-seo p, .duplicates-seo li, .duplicates-faq-item p { color: #4b5565; font-size: 14px; line-height: 1.8; }
    .duplicates-seo-intro p { margin: 0; font-size: 15px; }
    .duplicates-seo-intro p + p { margin-top: 10px; }
    .duplicates-seo-card, .duplicates-faq, .duplicates-related { margin-top: 16px; padding: 20px 22px; border: 1px solid #e3e8f0; border-radius: 15px; background: #fff; box-shadow: 0 4px 18px rgb(16 24 40 / 4%); }
    .duplicates-seo-card ul { margin: 12px 0 0; padding-left: 20px; }
    .duplicates-seo-card li + li { margin-top: 8px; }
    .duplicates-faq > h3, .duplicates-related > h3 { margin-bottom: 16px; font-size: 21px; }
    .duplicates-faq-item { padding: 0 0 14px; border-bottom: 1px solid #edf0f4; }
    .duplicates-faq-item + .duplicates-faq-item { padding-top: 14px; }
    .duplicates-faq-item:last-child { padding-bottom: 0; border-bottom: 0; }
    .duplicates-faq-item summary { position: relative; padding-left: 28px; color: #292b40; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
    .duplicates-faq-item summary::-webkit-details-marker { display: none; }
    .duplicates-faq-item summary::after { position: absolute; top: 9px; 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); }
    .duplicates-faq-item[open] summary::after { transform: rotate(225deg); }
    .duplicates-faq-item summary:focus-visible { outline: 3px solid rgb(var(--brand-rgb) / 24%); outline-offset: 3px; }
    .duplicates-faq-item p { margin: 10px 0 0; }
    .duplicates-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .duplicates-related-card { min-height: 175px; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid #eaebf1; border-radius: 13px; color: #292b40; background: #fff; text-decoration: none; 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) { .duplicates-related-card:hover { transform: translateY(-3px); border-color: #d9d3ff; box-shadow: 0 10px 24px rgb(54 45 112 / 8%); } }
    .duplicates-related-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 11px; font-size: 15px; font-weight: 750; }
    .duplicates-related-icon.violet { color: #695ade; background: #f0edff; }
    .duplicates-related-icon.blue { color: #4384d9; background: #eaf3ff; }
    .duplicates-related-icon.mint { color: #299d7b; background: #e9f8f2; }
    .duplicates-related-category { margin-bottom: 7px; color: #667085; font-size: 12px; font-weight: 700; }
    .duplicates-related-card strong { margin-bottom: 6px; font-size: 14px; line-height: 1.4; }
    .duplicates-related-description { color: #5f6475; font-size: 13px; line-height: 1.6; }
    .duplicates-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; text-decoration: none; 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); }
    .duplicates-back-to-tool.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
    @media (hover: hover) and (pointer: fine) { .duplicates-back-to-tool:hover { color: #fff; background: var(--brand-dark); } }
    .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; text-decoration: none; }
    .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) {
      .header-inner { width: min(100% - 30px, 560px); min-height: 68px; }
      .brand img { width: 120px; height: 54px; }
      .shell { width: min(100% - 28px, 560px); padding-top: 34px; }
      .workspace { padding: 15px; }
      .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
      .support-banner { align-items: stretch; flex-direction: column; gap: 10px; }
      .support-banner a { align-self: flex-start; }
      .footer-links { gap: 10px 16px; }
      .duplicates-related-grid { grid-template-columns: 1fr; gap: 10px; }
      .duplicates-related-card { min-height: 0; display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
      .duplicates-related-icon { grid-row: span 3; margin: 0; }
      .duplicates-related-category, .duplicates-related-card strong { margin: 0; }
      .duplicates-back-to-tool { right: 15px; bottom: 15px; }
    }
    @media (max-width: 380px) {
      .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; }
    }
