/* DPP Anonymizér 0.1.0 */

.dpp-anonymizer,
.dpp-anonymizer * {
    box-sizing: border-box;
}

.dpp-anonymizer {
    --a-navy: #081525;
    --a-blue: #185b9e;
    --a-blue2: #2563eb;
    --a-red: #e31b23;
    --a-text: #26394f;
    --a-muted: #64748b;
    --a-border: #d7e2ed;
    width: 100%;
    color: var(--a-text);
    font-size: 15px;
    line-height: 1.62;
}

.dpp-anonymizer__hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) 270px;
    gap: 26px;
    align-items: start;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--a-border);
}

.dpp-anonymizer__eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 6px 10px;
    color: #fff;
    background: linear-gradient(135deg,#f12b34,#ca1018);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dpp-anonymizer__title {
    margin: 0 0 10px !important;
    color: var(--a-navy) !important;
    font-size: clamp(25px,3vw,33px) !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
}

.dpp-anonymizer__lead {
    margin: 0 !important;
    color: #5e6e80 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.dpp-anonymizer__privacy-badge {
    padding: 14px 15px;
    background: #edf8f2;
    border: 1px solid #bfdfcc;
    border-radius: 13px;
}

.dpp-anonymizer__privacy-badge strong,
.dpp-anonymizer__privacy-badge span {
    display: block;
}

.dpp-anonymizer__privacy-badge strong {
    margin-bottom: 4px;
    color: #174d37;
    font-size: 13px;
    font-weight: 900;
}

.dpp-anonymizer__privacy-badge span {
    color: #537364;
    font-size: 11px;
    line-height: 1.45;
}

.dpp-anonymizer__privacy-note {
    margin: 23px 0;
    padding: 16px 18px;
    background: linear-gradient(90deg,#f3f7fc,#f8fbff);
    border-left: 4px solid var(--a-blue2);
    border-radius: 0 12px 12px 0;
}

.dpp-anonymizer__privacy-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--a-navy);
    font-size: 15px;
    font-weight: 900;
}

.dpp-anonymizer__privacy-note p {
    margin: 0 !important;
    color: #5b6d80 !important;
    font-size: 13px !important;
}

.dpp-anonymizer__box {
    margin: 24px 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--a-border);
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}

.dpp-anonymizer__section-heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.dpp-anonymizer__step {
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    color: #fff;
    background: linear-gradient(145deg,#0a396e,#185b9e);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__section-heading h3 {
    margin: 0 0 4px !important;
    color: var(--a-navy) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.dpp-anonymizer__section-heading p {
    margin: 0 !important;
    color: var(--a-muted) !important;
    font-size: 12px !important;
}

.dpp-anonymizer__tabs {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 16px;
    padding: 4px;
    background: #eef3f8;
    border-radius: 11px;
}

.dpp-anonymizer__tab {
    border: 0;
    padding: 9px 14px;
    color: #496074;
    background: transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.dpp-anonymizer__tab.is-active {
    color: var(--a-navy);
    background: #fff;
    box-shadow: 0 3px 9px rgba(15,23,42,.08);
}

.dpp-anonymizer__panel[hidden] {
    display: none !important;
}

.dpp-anonymizer__label {
    display: block;
    margin-bottom: 7px;
    color: var(--a-navy);
    font-size: 12px;
    font-weight: 850;
}

.dpp-anonymizer__textarea {
    width: 100%;
    min-height: 220px;
    resize: vertical;
    padding: 14px 15px;
    color: #1f3043;
    background: #fbfdff;
    border: 1px solid #cbd9e5;
    border-radius: 12px;
    outline: none;
    font: inherit;
    font-size: 13px;
}

.dpp-anonymizer__textarea:focus {
    border-color: #80a8cc;
    box-shadow: 0 0 0 3px rgba(37,99,235,.11);
}

.dpp-anonymizer__input-meta {
    display: flex;
    gap: 12px;
    margin-top: 7px;
    color: #758698;
    font-size: 10px;
}

.dpp-anonymizer__actions {
    margin-top: 13px;
}

.dpp-anonymizer__button {
    padding: 9px 13px;
    color: #40586f;
    background: #f5f8fb;
    border: 1px solid #d4e0ea;
    border-radius: 9px;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.dpp-anonymizer__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.dpp-anonymizer__dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 28px 20px;
    text-align: center;
    background: #f8fbfe;
    border: 1.5px dashed #b9cbda;
    border-radius: 15px;
    cursor: pointer;
}

.dpp-anonymizer__dropzone.is-dragover,
.dpp-anonymizer__dropzone:hover {
    background: #f1f7fd;
    border-color: #78a3ca;
}

.dpp-anonymizer__dropzone-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #fff;
    background: linear-gradient(145deg,#0a396e,#185b9e);
    border-radius: 14px;
    font-size: 25px;
}

.dpp-anonymizer__dropzone strong {
    margin-bottom: 4px;
    color: var(--a-navy);
    font-size: 15px;
    font-weight: 900;
}

.dpp-anonymizer__dropzone span:not(.dpp-anonymizer__dropzone-icon) {
    color: #5d7083;
    font-size: 12px;
}

.dpp-anonymizer__dropzone small {
    max-width: 560px;
    margin-top: 8px;
    color: #8290a0;
    font-size: 10px;
}

.dpp-anonymizer__file-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 13px;
    padding: 13px 14px;
    background: #f5f9fc;
    border: 1px solid #d5e1eb;
    border-radius: 11px;
}

.dpp-anonymizer__file-card strong,
.dpp-anonymizer__file-card span {
    display: block;
}

.dpp-anonymizer__file-card strong {
    color: var(--a-navy);
    font-size: 12px;
    font-weight: 850;
}

.dpp-anonymizer__file-card span {
    margin-top: 2px;
    color: #748597;
    font-size: 10px;
}

.dpp-anonymizer__status {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    padding: 16px 18px;
    background: #fff8e9;
    border: 1px solid #edd5a1;
    border-radius: 13px;
}

.dpp-anonymizer__status-dot {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    background: #d97706;
    border-radius: 50%;
}

.dpp-anonymizer__status strong {
    display: block;
    margin-bottom: 3px;
    color: #6d4c0a;
    font-size: 13px;
    font-weight: 900;
}

.dpp-anonymizer__status p {
    margin: 0 !important;
    color: #775f2f !important;
    font-size: 11.5px !important;
}

.dpp-anonymizer__cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

.dpp-anonymizer__cards article {
    padding: 16px;
    background: #f6f9fc;
    border: 1px solid #d9e4ed;
    border-radius: 12px;
}

.dpp-anonymizer__cards strong {
    display: block;
    margin-bottom: 4px;
    color: var(--a-navy);
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__cards p {
    margin: 0 !important;
    color: #657587 !important;
    font-size: 11px !important;
}

.dpp-anonymizer__footer {
    margin-top: 24px;
    padding-top: 18px;
    color: #68798a;
    border-top: 1px solid var(--a-border);
    font-size: 11.5px;
}

.dpp-anonymizer__footer strong {
    color: var(--a-navy);
}

@media (max-width: 760px) {
    .dpp-anonymizer__hero,
    .dpp-anonymizer__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .dpp-anonymizer__box {
        padding: 17px;
    }

    .dpp-anonymizer__tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .dpp-anonymizer__file-card {
        align-items: stretch;
        flex-direction: column;
    }

    .dpp-anonymizer__button {
        width: 100%;
    }
}


/* 0.2.0 — režimy použití */

.dpp-anonymizer__purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.dpp-anonymizer__purpose {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 180px;
    padding: 17px;
    text-align: left;
    color: #26394f;
    background: #fff;
    border: 1px solid #d5e1eb;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.dpp-anonymizer__purpose:hover {
    transform: translateY(-2px);
    border-color: #b9cddd;
    box-shadow: 0 8px 18px rgba(15,23,42,.07);
}

.dpp-anonymizer__purpose.is-active {
    border-color: #8ab3d5;
    background: linear-gradient(135deg,#f8fbff,#eef6fd);
    box-shadow: 0 8px 18px rgba(37,99,235,.08);
}

.dpp-anonymizer__purpose-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: #fff;
    background: linear-gradient(145deg,#0a396e,#185b9e);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
}

.dpp-anonymizer__purpose strong {
    display: block;
    margin-bottom: 6px;
    color: #081525;
    font-size: 14px;
    font-weight: 900;
}

.dpp-anonymizer__purpose > span:not(.dpp-anonymizer__purpose-icon) {
    color: #607184;
    font-size: 11px;
    line-height: 1.5;
}

.dpp-anonymizer__purpose small {
    margin-top: auto;
    padding-top: 12px;
    color: #0b4783;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dpp-anonymizer__purpose-summary {
    margin-top: 14px;
    padding: 14px 16px;
    background: #f5f9fc;
    border-left: 4px solid #2563eb;
    border-radius: 0 10px 10px 0;
}

.dpp-anonymizer__purpose-summary strong {
    display: block;
    margin-bottom: 4px;
    color: #081525;
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__purpose-summary p {
    margin: 0 !important;
    color: #5f7184 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

@media (max-width: 760px) {
    .dpp-anonymizer__purpose-grid {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__purpose {
        min-height: auto;
    }
}


/* 0.3.0 — TXT import */

.dpp-anonymizer__import-result {
    margin-top: 13px;
    padding: 14px 15px;
    background: #edf8f2;
    border: 1px solid #bfdfcc;
    border-radius: 11px;
}

.dpp-anonymizer__import-result strong {
    display: block;
    margin-bottom: 4px;
    color: #174d37;
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__import-result p {
    margin: 0 0 11px !important;
    color: #537364 !important;
    font-size: 10.5px !important;
    line-height: 1.5 !important;
}

.dpp-anonymizer__button--primary {
    color: #fff;
    background: linear-gradient(135deg,#0a396e,#185b9e);
    border-color: #0a396e;
}

.dpp-anonymizer__button--primary:hover {
    color: #fff;
    background: linear-gradient(135deg,#0b4783,#2563eb);
    border-color: #0b4783;
}


/* 0.4.0 — lokální detekce citlivých údajů */

.dpp-anonymizer__results {
    margin: 24px 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}

.dpp-anonymizer__results-summary,
.dpp-anonymizer__results-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    background: #f6f9fc;
    border: 1px solid #dbe5ed;
    border-radius: 11px;
}

.dpp-anonymizer__results-summary strong,
.dpp-anonymizer__results-footer strong {
    display: block;
    color: #081525;
    font-size: 13px;
    font-weight: 900;
}

.dpp-anonymizer__results-summary span,
.dpp-anonymizer__results-footer span {
    display: block;
    margin-top: 2px;
    color: #718295;
    font-size: 9.5px;
    line-height: 1.4;
}

.dpp-anonymizer__results-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dpp-anonymizer__findings {
    display: grid;
    gap: 9px;
    margin: 12px 0;
}

.dpp-anonymizer__finding {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 12px;
    align-items: start;
    padding: 13px 14px;
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: 11px;
    cursor: pointer;
}

.dpp-anonymizer__finding:hover {
    border-color: #b8cddd;
    background: #fbfdff;
}

.dpp-anonymizer__finding > input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: #185b9e;
}

.dpp-anonymizer__finding-main {
    min-width: 0;
}

.dpp-anonymizer__finding-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.dpp-anonymizer__finding-top strong {
    color: #081525;
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__finding code {
    display: inline-block;
    max-width: 100%;
    padding: 4px 6px;
    color: #18354e;
    background: #f1f6fa;
    border: 1px solid #d9e4ec;
    border-radius: 5px;
    font-size: 10.5px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dpp-anonymizer__finding small {
    display: block;
    margin-top: 6px;
    color: #768698;
    font-size: 9.5px;
    line-height: 1.45;
}

.dpp-anonymizer__confidence {
    flex: 0 0 auto;
    padding: 4px 6px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.dpp-anonymizer__confidence--high {
    color: #17623b;
    background: #edf8f2;
    border: 1px solid #c3e0ce;
}

.dpp-anonymizer__confidence--medium {
    color: #825b08;
    background: #fff8e9;
    border: 1px solid #ecd4a2;
}

.dpp-anonymizer__empty {
    padding: 18px;
    text-align: center;
    background: #f6f9fc;
    border: 1px dashed #ccd9e4;
    border-radius: 11px;
}

.dpp-anonymizer__empty strong {
    display: block;
    margin-bottom: 5px;
    color: #081525;
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__empty p {
    margin: 0 !important;
    color: #6d7e90 !important;
    font-size: 10.5px !important;
    line-height: 1.5 !important;
}

.dpp-anonymizer__button--disabled,
.dpp-anonymizer__button:disabled {
    color: #8a98a7;
    background: #edf1f5;
    border-color: #d8e0e7;
    cursor: not-allowed;
    opacity: .8;
}

@media (max-width: 620px) {
    .dpp-anonymizer__results-summary,
    .dpp-anonymizer__results-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .dpp-anonymizer__results-actions {
        width: 100%;
    }

    .dpp-anonymizer__results-actions .dpp-anonymizer__button {
        flex: 1;
    }

    .dpp-anonymizer__finding-top {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* 0.4.1 — seskupení opakovaných nálezů */

.dpp-anonymizer__finding-title-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.dpp-anonymizer__occurrence {
    display: inline-flex;
    padding: 3px 6px;
    color: #4c6276;
    background: #edf3f8;
    border: 1px solid #d5e1ea;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 850;
    line-height: 1;
}

.dpp-anonymizer__context-list {
    display: grid;
    gap: 4px;
    margin-top: 5px;
}

.dpp-anonymizer__context-list small {
    margin-top: 0;
}

.dpp-anonymizer__more-contexts {
    color: #0b4783 !important;
    font-weight: 800;
}


/* 0.5.0 — vlastní výrazy */

.dpp-anonymizer__custom-box {
    margin: 24px 0;
    padding: 22px;
    background:
        radial-gradient(circle at 98% 3%, rgba(37,99,235,.055), transparent 30%),
        #fff;
    border: 1px solid #d7e2ed;
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}

.dpp-anonymizer__custom-form {
    padding-left: 43px;
}

.dpp-anonymizer__custom-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
}

.dpp-anonymizer__custom-input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    color: #1f3043;
    background: #fbfdff;
    border: 1px solid #cbd9e5;
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-size: 12px;
}

.dpp-anonymizer__custom-input:focus {
    border-color: #80a8cc;
    box-shadow: 0 0 0 3px rgba(37,99,235,.11);
}

.dpp-anonymizer__custom-help {
    margin: 7px 0 0 !important;
    color: #7a8999 !important;
    font-size: 9.5px !important;
    line-height: 1.45 !important;
}

.dpp-anonymizer__custom-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.dpp-anonymizer__custom-empty {
    color: #78899a;
    font-size: 10px;
}

.dpp-anonymizer__custom-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 6px 7px 6px 9px;
    color: #173b5b;
    background: #eef6fd;
    border: 1px solid #c9ddec;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.dpp-anonymizer__custom-chip > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dpp-anonymizer__custom-chip button {
    appearance: none;
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    color: #597083;
    background: #fff;
    border: 1px solid #cad8e3;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.dpp-anonymizer__custom-chip button:hover {
    color: #b70f16;
    border-color: #e2b6b9;
}

@media (max-width: 620px) {
    .dpp-anonymizer__custom-form {
        padding-left: 0;
    }

    .dpp-anonymizer__custom-row {
        grid-template-columns: 1fr;
    }
}


/* 0.6.0 — review obrazovka */

.dpp-anonymizer__finding {
    transition:
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.dpp-anonymizer__finding.is-selected {
    border-color: #b9d4e7;
    background: #fbfdff;
}

.dpp-anonymizer__finding.is-kept {
    border-color: #d8e0e7;
    background: #fafbfc;
    opacity: .82;
}

.dpp-anonymizer__finding-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.dpp-anonymizer__decision {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.dpp-anonymizer__decision.is-anonymize {
    color: #0b4783;
    background: #eef6fd;
    border: 1px solid #c4dcec;
}

.dpp-anonymizer__decision.is-keep {
    color: #586879;
    background: #f1f4f7;
    border: 1px solid #d5dde4;
}

.dpp-anonymizer__review {
    margin-top: 16px;
    padding: 18px;
    background:
        radial-gradient(circle at 97% 3%, rgba(37,99,235,.065), transparent 32%),
        #f8fbfe;
    border: 1px solid #cbddea;
    border-radius: 14px;
}

.dpp-anonymizer__review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.dpp-anonymizer__review-head strong {
    display: block;
    margin-bottom: 3px;
    color: #081525;
    font-size: 14px;
    font-weight: 900;
}

.dpp-anonymizer__review-head p {
    margin: 0 !important;
    color: #68798a !important;
    font-size: 10.5px !important;
}

.dpp-anonymizer__review-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: #17623b;
    background: #edf8f2;
    border: 1px solid #c3e0ce;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.dpp-anonymizer__review-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 9px;
    margin-bottom: 12px;
}

.dpp-anonymizer__review-card {
    padding: 13px;
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: 11px;
}

.dpp-anonymizer__review-card--selected {
    border-color: #b7d2e5;
    background: #f8fcff;
}

.dpp-anonymizer__review-card span,
.dpp-anonymizer__review-card small {
    display: block;
    color: #718294;
    font-size: 9px;
}

.dpp-anonymizer__review-card strong {
    display: block;
    margin: 2px 0;
    color: #081525;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.dpp-anonymizer__review-list {
    display: grid;
    gap: 6px;
    max-height: 320px;
    overflow: auto;
    margin-top: 12px;
    padding-right: 3px;
}

.dpp-anonymizer__review-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #dce5ed;
    border-radius: 9px;
}

.dpp-anonymizer__review-row > div {
    min-width: 0;
}

.dpp-anonymizer__review-row strong {
    display: block;
    margin-bottom: 3px;
    color: #24384c;
    font-size: 9.5px;
    font-weight: 850;
}

.dpp-anonymizer__review-row code {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #40566c;
    font-size: 9px;
}

.dpp-anonymizer__review-warning {
    margin-top: 12px;
    padding: 12px 14px;
    color: #75520c;
    background: #fff8e9;
    border: 1px solid #ecd4a2;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.45;
}

.dpp-anonymizer__review-warning strong {
    font-weight: 900;
}

.dpp-anonymizer__review-warning ul {
    margin: 6px 0 0 17px;
}

.dpp-anonymizer__review-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
}

.dpp-anonymizer__review-next {
    margin: 8px 0 0 !important;
    color: #7c8b99 !important;
    font-size: 9px !important;
    text-align: right;
}

@media (max-width: 620px) {
    .dpp-anonymizer__finding-badges {
        justify-content: flex-start;
    }

    .dpp-anonymizer__review-grid {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__review-head,
    .dpp-anonymizer__review-row,
    .dpp-anonymizer__review-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dpp-anonymizer__review-actions .dpp-anonymizer__button {
        width: 100%;
    }

    .dpp-anonymizer__review-next {
        text-align: left;
    }
}


/* 0.7.0 — pseudonymizovaná kopie */

.dpp-anonymizer__output {
    margin: 24px 0;
    padding: 22px;
    background:
        radial-gradient(circle at 97% 3%, rgba(21,128,61,.055), transparent 31%),
        #fff;
    border: 1px solid #cfe0d6;
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
}

.dpp-anonymizer__output-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
    padding: 13px 14px;
    background: #edf8f2;
    border: 1px solid #c2dfcd;
    border-radius: 11px;
}

.dpp-anonymizer__output-summary strong,
.dpp-anonymizer__output-summary span {
    display: block;
}

.dpp-anonymizer__output-summary strong {
    color: #174d37;
    font-size: 13px;
    font-weight: 900;
}

.dpp-anonymizer__output-summary > div > span {
    margin-top: 2px;
    color: #547464;
    font-size: 9.5px;
}

.dpp-anonymizer__output-mode {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: #0b4783 !important;
    background: #fff;
    border: 1px solid #c9dce9;
    border-radius: 999px;
    font-size: 8px !important;
    font-weight: 900;
    text-transform: uppercase;
}

.dpp-anonymizer__mapping-wrap {
    margin-bottom: 15px;
    padding: 14px;
    background: #f6f9fc;
    border: 1px solid #d9e4ed;
    border-radius: 11px;
}

.dpp-anonymizer__mapping-wrap > strong {
    display: block;
    color: #081525;
    font-size: 12px;
    font-weight: 900;
}

.dpp-anonymizer__mapping-wrap > p {
    margin: 3px 0 10px !important;
    color: #728294 !important;
    font-size: 9.5px !important;
}

.dpp-anonymizer__mapping {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
}

.dpp-anonymizer__mapping-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 7px;
    padding: 8px 9px;
    background: #fff;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    min-width: 0;
}

.dpp-anonymizer__mapping-row code {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #40566b;
    font-size: 9px;
}

.dpp-anonymizer__mapping-row > span {
    color: #8a98a6;
    font-size: 10px;
}

.dpp-anonymizer__mapping-pseudonym {
    color: #0b4783 !important;
    font-weight: 850;
}

.dpp-anonymizer__textarea--output {
    min-height: 260px;
    background: #f8fbf9;
    border-color: #c9ddd1;
}

.dpp-anonymizer__output-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dpp-anonymizer__output-check {
    margin-top: 14px;
    padding: 13px 15px;
    color: #75520c;
    background: #fff8e9;
    border: 1px solid #ecd4a2;
    border-radius: 10px;
}

.dpp-anonymizer__output-check strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 900;
}

.dpp-anonymizer__output-check p {
    margin: 0 !important;
    color: #775f2f !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

@media (max-width: 760px) {
    .dpp-anonymizer__mapping {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .dpp-anonymizer__output-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .dpp-anonymizer__output-mode {
        width: fit-content;
    }

    .dpp-anonymizer__output-actions {
        flex-direction: column;
    }

    .dpp-anonymizer__output-actions .dpp-anonymizer__button {
        width: 100%;
    }
}


/* 0.8.0 — volba pseudonymizace / úplná redakce */

.dpp-anonymizer__method {
    margin-top: 14px;
    padding: 14px;
    background: #f6f9fc;
    border: 1px solid #d9e4ed;
    border-radius: 11px;
}

.dpp-anonymizer__method-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.dpp-anonymizer__method-head strong {
    color: #081525;
    font-size: 11px;
    font-weight: 900;
}

.dpp-anonymizer__method-head span {
    color: #0b4783;
    font-size: 8.5px;
    font-weight: 850;
}

.dpp-anonymizer__method-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

.dpp-anonymizer__method-option {
    appearance: none;
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    text-align: left;
    color: #40566b;
    background: #fff;
    border: 1px solid #d4e0ea;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.dpp-anonymizer__method-option:hover {
    border-color: #b7ccdd;
}

.dpp-anonymizer__method-option.is-active {
    color: #173b5b;
    background: #eef6fd;
    border-color: #8db7d7;
    box-shadow: 0 0 0 2px rgba(37,99,235,.06);
}

.dpp-anonymizer__method-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    color: #fff;
    background: linear-gradient(145deg,#0a396e,#185b9e);
    border-radius: 9px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.dpp-anonymizer__method-option[data-dpp-anonymizer-method="redact"] .dpp-anonymizer__method-icon {
    background: linear-gradient(145deg,#374151,#111827);
    font-size: 8px;
}

.dpp-anonymizer__method-option strong,
.dpp-anonymizer__method-option small {
    display: block;
}

.dpp-anonymizer__method-option strong {
    margin-bottom: 3px;
    color: #081525;
    font-size: 10.5px;
    font-weight: 900;
}

.dpp-anonymizer__method-option small {
    color: #6f8092;
    font-size: 8.5px;
    line-height: 1.4;
}

.dpp-anonymizer__method-note {
    margin: 9px 0 0 !important;
    color: #718294 !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
}

@media (max-width: 620px) {
    .dpp-anonymizer__method-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dpp-anonymizer__method-grid {
        grid-template-columns: 1fr;
    }
}


/* 0.8.1 — CS / EN / DE language foundation */

.dpp-anonymizer__hero-side {
    display: grid;
    gap: 10px;
}

.dpp-anonymizer__language-switch {
    padding: 10px 11px;
    background: #f6f9fc;
    border: 1px solid #d5e1eb;
    border-radius: 11px;
}

.dpp-anonymizer__language-switch > span {
    display: block;
    margin-bottom: 6px;
    color: #617386;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dpp-anonymizer__language-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.dpp-anonymizer__language-buttons button {
    appearance: none;
    padding: 6px 7px;
    color: #53687b;
    background: #fff;
    border: 1px solid #d3dfe9;
    border-radius: 7px;
    font: inherit;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.dpp-anonymizer__language-buttons button:hover {
    border-color: #9ebbd2;
}

.dpp-anonymizer__language-buttons button.is-active {
    color: #fff;
    background: linear-gradient(145deg,#0a396e,#185b9e);
    border-color: #0a396e;
}

.dpp-anonymizer__document-language {
    display: grid;
    grid-template-columns: auto minmax(180px, 260px) minmax(0,1fr);
    align-items: center;
    gap: 9px 12px;
    margin: 0 0 16px;
    padding: 11px 12px;
    background: #f7fafc;
    border: 1px solid #d8e3ec;
    border-radius: 10px;
}

.dpp-anonymizer__document-language .dpp-anonymizer__label {
    margin: 0;
    white-space: nowrap;
}

.dpp-anonymizer__document-language small {
    color: #758698;
    font-size: 9.5px;
    line-height: 1.4;
}

.dpp-anonymizer__select {
    width: 100%;
    padding: 8px 30px 8px 10px;
    color: #253a4e;
    background: #fff;
    border: 1px solid #cbd9e5;
    border-radius: 8px;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
}

.dpp-anonymizer__select:focus {
    outline: none;
    border-color: #80a8cc;
    box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}

@media (max-width: 760px) {
    .dpp-anonymizer__document-language {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__document-language .dpp-anonymizer__label {
        white-space: normal;
    }
}


/* 0.8.2 — segmented document-language switch */

.dpp-anonymizer__document-language {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 12px 18px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #f7fafc;
    border: 1px solid #d8e3ec;
    border-radius: 11px;
}

.dpp-anonymizer__document-language-head {
    min-width: 0;
}

.dpp-anonymizer__document-language-head .dpp-anonymizer__label {
    margin: 0 0 3px;
}

.dpp-anonymizer__document-language-head small {
    display: block;
    color: #758698;
    font-size: 9.5px;
    line-height: 1.4;
}

.dpp-anonymizer__document-language-buttons {
    display: inline-grid;
    grid-template-columns: minmax(64px,auto) repeat(3,52px);
    gap: 4px;
    padding: 4px;
    background: #eaf1f7;
    border: 1px solid #d2dee8;
    border-radius: 10px;
}

.dpp-anonymizer__document-language-buttons button {
    appearance: none;
    min-height: 32px;
    padding: 7px 10px;
    color: #51667a;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition:
        color .16s ease,
        background .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.dpp-anonymizer__document-language-buttons button:hover {
    color: #173b5b;
    background: rgba(255,255,255,.68);
}

.dpp-anonymizer__document-language-buttons button.is-active {
    color: #fff;
    background: linear-gradient(145deg,#0a396e,#185b9e);
    border-color: #0a396e;
    box-shadow: 0 4px 10px rgba(11,71,131,.16);
}

.dpp-anonymizer__document-language-buttons button:focus-visible {
    outline: 3px solid rgba(37,99,235,.22);
    outline-offset: 2px;
}

.dpp-anonymizer__document-language-buttons button:active {
    transform: translateY(1px);
}

/* starý select v 0.8.2 už není používán */
.dpp-anonymizer__select {
    display: none;
}

@media (max-width: 760px) {
    .dpp-anonymizer__document-language {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__document-language-buttons {
        width: 100%;
        grid-template-columns: 1.25fr repeat(3,1fr);
    }

    .dpp-anonymizer__document-language-buttons button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .dpp-anonymizer__document-language-buttons {
        grid-template-columns: repeat(2,1fr);
    }
}


/* 0.9.0 — images + local OCR */

.dpp-anonymizer__ocr {
    margin-top: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at 97% 3%, rgba(37,99,235,.055), transparent 30%),
        #f8fbfe;
    border: 1px solid #cbddea;
    border-radius: 14px;
}

.dpp-anonymizer__ocr-grid {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr);
    gap: 16px;
    align-items: start;
}

.dpp-anonymizer__ocr-preview-wrap {
    min-width: 0;
}

.dpp-anonymizer__ocr-preview {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
    overflow: hidden;
    background:
        linear-gradient(45deg, #f2f5f8 25%, transparent 25%),
        linear-gradient(-45deg, #f2f5f8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f2f5f8 75%),
        linear-gradient(-45deg, transparent 75%, #f2f5f8 75%),
        #fff;
    background-size: 18px 18px;
    background-position: 0 0, 0 9px, 9px -9px, -9px 0;
    border: 1px solid #d4e0ea;
    border-radius: 11px;
}

.dpp-anonymizer__ocr-preview img {
    display: block;
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
}

.dpp-anonymizer__ocr-preview canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dpp-anonymizer__ocr-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 6px;
    color: #738497;
    font-size: 9px;
}

.dpp-anonymizer__ocr-controls {
    min-width: 0;
}

.dpp-anonymizer__ocr-badge {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 8px;
    color: #0b4783;
    background: #eef6fd;
    border: 1px solid #c5ddec;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dpp-anonymizer__ocr-controls h4 {
    margin: 0 0 6px !important;
    color: #081525 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.dpp-anonymizer__ocr-controls > p {
    margin: 0 0 13px !important;
    color: #647689 !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
}

.dpp-anonymizer__ocr-language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #d8e3ec;
    border-radius: 9px;
}

.dpp-anonymizer__ocr-language strong {
    color: #24384c;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__ocr-language span {
    color: #0b4783;
    font-size: 9px;
    font-weight: 850;
}

.dpp-anonymizer__ocr-privacy {
    margin-bottom: 12px;
    padding: 10px 11px;
    background: #edf8f2;
    border: 1px solid #c5dfcf;
    border-radius: 9px;
}

.dpp-anonymizer__ocr-privacy strong {
    display: block;
    margin-bottom: 3px;
    color: #174d37;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__ocr-privacy p {
    margin: 0 !important;
    color: #537364 !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
}

.dpp-anonymizer__ocr-progress {
    margin-top: 12px;
}

.dpp-anonymizer__ocr-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
    color: #647689;
    font-size: 9px;
}

.dpp-anonymizer__ocr-progress-top strong {
    color: #0b4783;
    font-size: 9px;
}

.dpp-anonymizer__ocr-progress-track {
    height: 7px;
    overflow: hidden;
    background: #e5edf4;
    border-radius: 999px;
}

.dpp-anonymizer__ocr-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,#0a396e,#2563eb);
    border-radius: inherit;
    transition: width .16s ease;
}

.dpp-anonymizer__ocr-result {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid #d7e2ed;
}

.dpp-anonymizer__ocr-result-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: 10px;
}

.dpp-anonymizer__ocr-result-summary strong,
.dpp-anonymizer__ocr-result-summary span {
    display: block;
}

.dpp-anonymizer__ocr-result-summary strong {
    color: #081525;
    font-size: 11px;
    font-weight: 900;
}

.dpp-anonymizer__ocr-result-summary > div > span {
    margin-top: 2px;
    color: #718294;
    font-size: 9px;
}

.dpp-anonymizer__ocr-confidence {
    flex: 0 0 auto;
    padding: 5px 7px;
    color: #17623b;
    background: #edf8f2;
    border: 1px solid #c3e0ce;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.dpp-anonymizer__ocr-position-note {
    margin: 9px 0 0 !important;
    color: #728294 !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
}

.dpp-anonymizer__ocr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.dpp-anonymizer__ocr-alignment {
    margin-top: 11px;
    padding: 10px 11px;
    color: #75520c;
    background: #fff8e9;
    border: 1px solid #ecd4a2;
    border-radius: 9px;
}

.dpp-anonymizer__ocr-alignment strong {
    display: block;
    margin-bottom: 3px;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__ocr-alignment p {
    margin: 0 !important;
    color: #775f2f !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
}

.dpp-anonymizer__button:disabled {
    cursor: wait;
    opacity: .64;
}

@media (max-width: 760px) {
    .dpp-anonymizer__ocr-grid {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__ocr-preview img {
        max-height: 390px;
    }
}

@media (max-width: 520px) {
    .dpp-anonymizer__ocr-actions {
        flex-direction: column;
    }

    .dpp-anonymizer__ocr-actions .dpp-anonymizer__button {
        width: 100%;
    }
}


/* 0.10.0 — image output + format conversion */

.dpp-anonymizer__image-output {
    margin-top: 17px;
    padding: 16px;
    background:
        radial-gradient(circle at 97% 3%, rgba(21,128,61,.05), transparent 30%),
        #f8fbf9;
    border: 1px solid #c9dfd1;
    border-radius: 13px;
}

.dpp-anonymizer__image-output-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.dpp-anonymizer__image-output-head h4 {
    margin: 0 0 4px !important;
    color: #081525 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.dpp-anonymizer__image-output-head p {
    margin: 0 !important;
    color: #647689 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

.dpp-anonymizer__image-output-state {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: #17623b;
    background: #edf8f2;
    border: 1px solid #c3e0ce;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.dpp-anonymizer__image-output-preview {
    display: grid;
    place-items: center;
    overflow: auto;
    max-height: 620px;
    padding: 10px;
    background: #eef3f6;
    border: 1px solid #d4e0e8;
    border-radius: 10px;
}

.dpp-anonymizer__image-output-preview canvas {
    display: block;
    max-width: 100%;
    height: auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(15,23,42,.08);
}

.dpp-anonymizer__image-export-options {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 12px 18px;
    margin-top: 13px;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #d9e4ed;
    border-radius: 10px;
}

.dpp-anonymizer__image-export-options strong,
.dpp-anonymizer__image-export-options small {
    display: block;
}

.dpp-anonymizer__image-export-options strong {
    color: #24384c;
    font-size: 10px;
    font-weight: 900;
}

.dpp-anonymizer__image-export-options small {
    margin-top: 3px;
    color: #748597;
    font-size: 8.8px;
    line-height: 1.4;
}

.dpp-anonymizer__image-format-buttons {
    grid-template-columns: minmax(72px,auto) repeat(3,50px);
}

.dpp-anonymizer__image-output-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.dpp-anonymizer__image-output-actions > span {
    color: #728294;
    font-size: 9px;
}

.dpp-anonymizer__image-output-note {
    margin-top: 12px;
    padding: 10px 11px;
    background: #eef6fd;
    border: 1px solid #c7ddeb;
    border-radius: 9px;
}

.dpp-anonymizer__image-output-note strong {
    display: block;
    margin-bottom: 3px;
    color: #0b4783;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__image-output-note p {
    margin: 0 !important;
    color: #5d7488 !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
}

@media (max-width: 700px) {
    .dpp-anonymizer__image-output-head,
    .dpp-anonymizer__image-export-options {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .dpp-anonymizer__image-format-buttons {
        width: 100%;
        grid-template-columns: repeat(2,1fr);
    }
}


/* 0.10.1 stable — only visual fixes; functional 0.10.0 behavior retained */

/* Jazyk rozhraní bude řešen až globálně na webu DPP. */
.dpp-anonymizer__language-switch {
    display: none !important;
}

/* Aktivní účel: světlé zvýraznění místo plné tmavě modré karty. */
.dpp-anonymizer__purpose.is-active,
.dpp-anonymizer__purpose[aria-pressed="true"] {
    color: #26394f !important;
    background: #f4f9fd !important;
    border: 2px solid #4d8fbe !important;
    box-shadow:
        inset 5px 0 0 #0b4f8f,
        0 7px 18px rgba(37,99,235,.08) !important;
}

.dpp-anonymizer__purpose.is-active strong,
.dpp-anonymizer__purpose[aria-pressed="true"] strong {
    color: #081525 !important;
}

.dpp-anonymizer__purpose.is-active > span:not(.dpp-anonymizer__purpose-icon),
.dpp-anonymizer__purpose[aria-pressed="true"] > span:not(.dpp-anonymizer__purpose-icon) {
    color: #526b80 !important;
}

.dpp-anonymizer__purpose.is-active small,
.dpp-anonymizer__purpose[aria-pressed="true"] small {
    color: #0b4f8f !important;
}

.dpp-anonymizer__purpose.is-active .dpp-anonymizer__purpose-icon,
.dpp-anonymizer__purpose[aria-pressed="true"] .dpp-anonymizer__purpose-icon {
    color: #ffffff !important;
    background: #0b4f8f !important;
}


/* 0.10.2 stable — contrast, compact desktop, larger CTA */

/* 1) Active purpose card: override theme/button states with stronger specificity. */
.dpp-anonymizer button.dpp-anonymizer__purpose.is-active,
.dpp-anonymizer button.dpp-anonymizer__purpose.is-active:hover,
.dpp-anonymizer button.dpp-anonymizer__purpose.is-active:focus,
.dpp-anonymizer button.dpp-anonymizer__purpose.is-active:active,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"],
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"]:hover,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"]:focus,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"]:active {
    color: #26394f !important;
    background: #f4f9fd !important;
    background-color: #f4f9fd !important;
    background-image: none !important;
    border: 2px solid #4d8fbe !important;
    box-shadow:
        inset 5px 0 0 #0b4f8f,
        0 6px 16px rgba(37,99,235,.08) !important;
    text-shadow: none !important;
}

.dpp-anonymizer button.dpp-anonymizer__purpose.is-active strong,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"] strong {
    color: #081525 !important;
    text-shadow: none !important;
}

.dpp-anonymizer button.dpp-anonymizer__purpose.is-active > span:not(.dpp-anonymizer__purpose-icon),
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"] > span:not(.dpp-anonymizer__purpose-icon) {
    color: #526b80 !important;
    text-shadow: none !important;
}

.dpp-anonymizer button.dpp-anonymizer__purpose.is-active small,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"] small {
    color: #0b4f8f !important;
    text-shadow: none !important;
}

.dpp-anonymizer button.dpp-anonymizer__purpose.is-active .dpp-anonymizer__purpose-icon,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="true"] .dpp-anonymizer__purpose-icon {
    color: #fff !important;
    background: #0b4f8f !important;
}

/* Bigger primary workflow actions. */
.dpp-anonymizer button[data-dpp-anonymizer-scan],
.dpp-anonymizer button[data-dpp-anonymizer-run-ocr],
.dpp-anonymizer button[data-dpp-anonymizer-use-ocr],
.dpp-anonymizer button[data-dpp-anonymizer-review],
.dpp-anonymizer button[data-dpp-anonymizer-apply],
.dpp-anonymizer button[data-dpp-anonymizer-copy-output],
.dpp-anonymizer button[data-dpp-anonymizer-download-output],
.dpp-anonymizer button[data-dpp-anonymizer-download-image] {
    min-height: 42px;
    padding: 11px 18px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.dpp-anonymizer button[data-dpp-anonymizer-review],
.dpp-anonymizer button[data-dpp-anonymizer-apply] {
    min-width: 180px;
}

/* 3) Desktop-only compact layout. Mobile remains roomy. */
@media (min-width: 980px) {
    .dpp-anonymizer__hero {
        gap: 20px;
        padding-bottom: 18px;
    }

    .dpp-anonymizer__privacy-note {
        margin: 15px 0;
        padding: 11px 15px;
    }

    .dpp-anonymizer__box {
        margin: 15px 0;
        padding: 16px 18px;
        border-radius: 14px;
    }

    .dpp-anonymizer__section-heading {
        margin-bottom: 12px;
    }

    .dpp-anonymizer__step {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .dpp-anonymizer__section-heading h3 {
        font-size: 16px !important;
    }

    .dpp-anonymizer__purpose-grid {
        gap: 8px;
    }

    .dpp-anonymizer__purpose {
        min-height: 128px;
        padding: 12px 13px;
        border-radius: 11px;
    }

    .dpp-anonymizer__purpose-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 7px;
        border-radius: 9px;
        font-size: 11px;
    }

    .dpp-anonymizer__purpose strong {
        margin-bottom: 3px;
        font-size: 12.5px;
    }

    .dpp-anonymizer__purpose > span:not(.dpp-anonymizer__purpose-icon) {
        font-size: 10px;
        line-height: 1.35;
    }

    .dpp-anonymizer__purpose small {
        padding-top: 7px;
        font-size: 7.8px;
    }

    .dpp-anonymizer__purpose-summary {
        margin-top: 8px;
        padding: 9px 12px;
    }

    .dpp-anonymizer__document-language {
        margin-bottom: 10px;
        padding: 9px 11px;
    }

    .dpp-anonymizer__tabs {
        margin-bottom: 10px;
    }

    .dpp-anonymizer__textarea {
        min-height: 170px;
    }

    .dpp-anonymizer__dropzone {
        min-height: 160px;
        padding: 20px;
    }

    .dpp-anonymizer__custom-box {
        margin-top: 12px;
        padding: 13px;
    }

    .dpp-anonymizer__status {
        margin: 14px 0;
        padding: 11px 14px;
    }

    .dpp-anonymizer__results {
        margin: 15px 0;
        padding: 16px;
        border-radius: 14px;
    }

    .dpp-anonymizer__findings {
        gap: 6px;
        max-height: 470px;
        overflow: auto;
        overscroll-behavior: contain;
        padding-right: 5px;
    }

    .dpp-anonymizer__finding {
        gap: 9px;
        padding: 9px 10px;
        border-radius: 9px;
    }

    .dpp-anonymizer__finding-top {
        margin-bottom: 4px;
    }

    .dpp-anonymizer__review {
        margin-top: 11px;
        padding: 13px;
    }

    .dpp-anonymizer__review-head {
        margin-bottom: 10px;
    }

    .dpp-anonymizer__review-grid {
        gap: 6px;
        margin-bottom: 8px;
    }

    .dpp-anonymizer__review-card {
        padding: 9px 10px;
    }

    .dpp-anonymizer__review-card strong {
        font-size: 20px;
    }

    .dpp-anonymizer__review-list {
        max-height: 220px;
        margin-top: 8px;
    }

    .dpp-anonymizer__output {
        margin: 15px 0;
        padding: 16px;
        border-radius: 14px;
    }

    .dpp-anonymizer__output-summary {
        margin-bottom: 10px;
        padding: 10px 12px;
    }

    .dpp-anonymizer__mapping-wrap {
        margin-bottom: 10px;
        padding: 10px;
    }

    .dpp-anonymizer__mapping {
        max-height: 220px;
        overflow: auto;
        overscroll-behavior: contain;
        padding-right: 4px;
    }

    .dpp-anonymizer__mapping-row {
        padding: 6px 8px;
    }

    .dpp-anonymizer__textarea--output {
        min-height: 180px;
        max-height: 260px;
    }

    .dpp-anonymizer__image-output-preview {
        max-height: 430px;
    }

    .dpp-anonymizer__output-check {
        margin-top: 10px;
        padding: 10px 12px;
    }

    .dpp-anonymizer__cards {
        gap: 8px;
    }

    .dpp-anonymizer__cards article {
        padding: 11px 12px;
    }
}


/* 0.10.3 stable — hard contrast fix for theme/button collisions */

/* Zkontrolovat výběr: text must always be clearly readable. */
.dpp-anonymizer button[data-dpp-anonymizer-review],
.dpp-anonymizer button[data-dpp-anonymizer-review]:hover,
.dpp-anonymizer button[data-dpp-anonymizer-review]:focus,
.dpp-anonymizer button[data-dpp-anonymizer-review]:active {
    color: #ffffff !important;
    background: #0b4f8f !important;
    background-color: #0b4f8f !important;
    background-image: none !important;
    border-color: #0b4f8f !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.dpp-anonymizer button[data-dpp-anonymizer-review] span,
.dpp-anonymizer button[data-dpp-anonymizer-review]:hover span,
.dpp-anonymizer button[data-dpp-anonymizer-review]:focus span,
.dpp-anonymizer button[data-dpp-anonymizer-review]:active span {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Purpose cards: never allow a full dark theme background on selected state. */
.dpp-anonymizer .dpp-anonymizer__purpose.is-active,
.dpp-anonymizer .dpp-anonymizer__purpose.is-active:hover,
.dpp-anonymizer .dpp-anonymizer__purpose.is-active:focus,
.dpp-anonymizer .dpp-anonymizer__purpose.is-active:active,
.dpp-anonymizer .dpp-anonymizer__purpose[aria-pressed="true"],
.dpp-anonymizer .dpp-anonymizer__purpose[aria-pressed="true"]:hover,
.dpp-anonymizer .dpp-anonymizer__purpose[aria-pressed="true"]:focus,
.dpp-anonymizer .dpp-anonymizer__purpose[aria-pressed="true"]:active {
    color: #26394f !important;
    background: #f4f9fd !important;
    background-color: #f4f9fd !important;
    background-image: none !important;
    border: 2px solid #4d8fbe !important;
    box-shadow:
        inset 5px 0 0 #0b4f8f,
        0 6px 16px rgba(37,99,235,.08) !important;
    text-shadow: none !important;
}

/* Replacement method cards: same visual language as purpose cards. */
.dpp-anonymizer .dpp-anonymizer__method-option.is-active,
.dpp-anonymizer .dpp-anonymizer__method-option.is-active:hover,
.dpp-anonymizer .dpp-anonymizer__method-option.is-active:focus,
.dpp-anonymizer .dpp-anonymizer__method-option.is-active:active,
.dpp-anonymizer .dpp-anonymizer__method-option[aria-checked="true"],
.dpp-anonymizer .dpp-anonymizer__method-option[aria-checked="true"]:hover,
.dpp-anonymizer .dpp-anonymizer__method-option[aria-checked="true"]:focus,
.dpp-anonymizer .dpp-anonymizer__method-option[aria-checked="true"]:active {
    color: #26394f !important;
    background: #f4f9fd !important;
    background-color: #f4f9fd !important;
    background-image: none !important;
    border: 2px solid #4d8fbe !important;
    box-shadow:
        inset 4px 0 0 #0b4f8f,
        0 4px 12px rgba(37,99,235,.07) !important;
    text-shadow: none !important;
}

.dpp-anonymizer .dpp-anonymizer__method-option.is-active strong,
.dpp-anonymizer .dpp-anonymizer__method-option[aria-checked="true"] strong {
    color: #081525 !important;
    text-shadow: none !important;
}

.dpp-anonymizer .dpp-anonymizer__method-option.is-active small,
.dpp-anonymizer .dpp-anonymizer__method-option[aria-checked="true"] small {
    color: #647689 !important;
    text-shadow: none !important;
}


/* 0.10.4 stable — inactive focus must never turn into a dark-blue fake selection */

/* Every purpose card starts from an explicit white state, including mouse focus. */
.dpp-anonymizer button.dpp-anonymizer__purpose:not(.is-active),
.dpp-anonymizer button.dpp-anonymizer__purpose:not(.is-active):hover,
.dpp-anonymizer button.dpp-anonymizer__purpose:not(.is-active):focus,
.dpp-anonymizer button.dpp-anonymizer__purpose:not(.is-active):active,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="false"],
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="false"]:hover,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="false"]:focus,
.dpp-anonymizer button.dpp-anonymizer__purpose[aria-pressed="false"]:active {
    color: #26394f !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #d5e1eb !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Keyboard focus stays visible without changing the card to a fake selected state. */
.dpp-anonymizer button.dpp-anonymizer__purpose:not(.is-active):focus-visible {
    outline: 3px solid rgba(37,99,235,.22) !important;
    outline-offset: 2px !important;
}

/* Same protection for replacement-method cards. */
.dpp-anonymizer button.dpp-anonymizer__method-option:not(.is-active),
.dpp-anonymizer button.dpp-anonymizer__method-option:not(.is-active):hover,
.dpp-anonymizer button.dpp-anonymizer__method-option:not(.is-active):focus,
.dpp-anonymizer button.dpp-anonymizer__method-option:not(.is-active):active,
.dpp-anonymizer button.dpp-anonymizer__method-option[aria-checked="false"],
.dpp-anonymizer button.dpp-anonymizer__method-option[aria-checked="false"]:hover,
.dpp-anonymizer button.dpp-anonymizer__method-option[aria-checked="false"]:focus,
.dpp-anonymizer button.dpp-anonymizer__method-option[aria-checked="false"]:active {
    color: #26394f !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #d5e1eb !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.dpp-anonymizer button.dpp-anonymizer__method-option:not(.is-active):focus-visible {
    outline: 3px solid rgba(37,99,235,.22) !important;
    outline-offset: 2px !important;
}


/* 0.12.0 — PDF workflow */

.dpp-anonymizer__pdf {
    margin-top: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at 97% 3%, rgba(37,99,235,.05), transparent 30%),
        #f8fbfe;
    border: 1px solid #cbddea;
    border-radius: 14px;
}

.dpp-anonymizer__pdf-grid {
    display: grid;
    grid-template-columns: minmax(300px,.85fr) minmax(320px,1.15fr);
    gap: 16px;
    align-items: start;
}

.dpp-anonymizer__pdf-controls h4 {
    margin: 0 0 6px !important;
    color: #081525 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.dpp-anonymizer__pdf-controls > p {
    margin: 0 0 13px !important;
    color: #647689 !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
}

.dpp-anonymizer__pdf-preview-wrap {
    min-width: 0;
}

.dpp-anonymizer__pdf-preview {
    display: grid;
    place-items: center;
    max-height: 470px;
    overflow: auto;
    padding: 8px;
    background: #eef3f6;
    border: 1px solid #d4e0e8;
    border-radius: 11px;
}

.dpp-anonymizer__pdf-preview canvas {
    display: block;
    max-width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15,23,42,.08);
}

.dpp-anonymizer__pdf-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.dpp-anonymizer__pdf-nav strong {
    text-align: center;
    color: #273c51;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__pdf-result {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #d7e2ed;
}

.dpp-anonymizer__pdf-summary {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
}

.dpp-anonymizer__pdf-summary article {
    padding: 10px 11px;
    background: #fff;
    border: 1px solid #d6e2ec;
    border-radius: 9px;
}

.dpp-anonymizer__pdf-summary span,
.dpp-anonymizer__pdf-summary strong {
    display: block;
}

.dpp-anonymizer__pdf-summary span {
    color: #718294;
    font-size: 8.5px;
    font-weight: 800;
}

.dpp-anonymizer__pdf-summary strong {
    margin-top: 2px;
    color: #081525;
    font-size: 19px;
    font-weight: 900;
}

.dpp-anonymizer__pdf-page-strip {
    display: flex;
    gap: 5px;
    margin-top: 9px;
    padding: 6px;
    overflow-x: auto;
    background: #eef3f7;
    border: 1px solid #d7e2eb;
    border-radius: 9px;
}

.dpp-anonymizer__pdf-page-chip {
    appearance: none;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 5px 7px;
    color: #53697c;
    background: #fff;
    border: 1px solid #d2dee8;
    border-radius: 7px;
    cursor: pointer;
}

.dpp-anonymizer__pdf-page-chip strong {
    font-size: 9px;
}

.dpp-anonymizer__pdf-page-chip span {
    font-size: 7px;
    font-weight: 900;
}

.dpp-anonymizer__pdf-page-chip.is-active {
    color: #fff;
    background: #0b4f8f;
    border-color: #0b4f8f;
}

.dpp-anonymizer__pdf-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
}

.dpp-anonymizer__pdf-actions > span {
    color: #718294;
    font-size: 9px;
}

.dpp-anonymizer__pdf-output {
    margin-top: 15px;
    padding: 15px;
    background: #f8fbf9;
    border: 1px solid #c9dfd1;
    border-radius: 13px;
}

.dpp-anonymizer__pdf-output-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #d7e4dc;
    border-radius: 10px;
}

.dpp-anonymizer__pdf-output-info strong,
.dpp-anonymizer__pdf-output-info span {
    display: block;
}

.dpp-anonymizer__pdf-output-info strong {
    color: #081525;
    font-size: 11px;
    font-weight: 900;
}

.dpp-anonymizer__pdf-output-info span {
    margin-top: 2px;
    color: #6e7f72;
    font-size: 8.5px;
}

@media (min-width: 980px) {
    .dpp-anonymizer__pdf {
        padding: 13px 14px;
    }

    .dpp-anonymizer__pdf-preview {
        max-height: 360px;
    }

    .dpp-anonymizer__pdf-result {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 760px) {
    .dpp-anonymizer__pdf-grid {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__pdf-summary {
        grid-template-columns: 1fr;
    }

    .dpp-anonymizer__pdf-output-info {
        align-items: stretch;
        flex-direction: column;
    }

    .dpp-anonymizer__pdf-output-info .dpp-anonymizer__button {
        width: 100%;
    }
}


/* 0.12.1 — PDF page language QA badge */
.dpp-anonymizer__pdf-page-chip {
    min-width: 62px;
}

.dpp-anonymizer__pdf-page-chip span {
    white-space: nowrap;
}


/* 0.13.0 — DOCX workflow */
.dpp-anonymizer__docx {
    margin-top: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at 97% 3%, rgba(37,99,235,.05), transparent 30%),
        #f8fbfe;
    border: 1px solid #cbddea;
    border-radius: 14px;
}

.dpp-anonymizer__docx-grid {
    display: grid;
    grid-template-columns: minmax(300px,.9fr) minmax(380px,1.1fr);
    gap: 16px;
    align-items: start;
}

.dpp-anonymizer__docx-controls h4 {
    margin: 0 0 6px !important;
    color: #081525 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.dpp-anonymizer__docx-controls > p {
    margin: 0 0 13px !important;
    color: #647689 !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
}

.dpp-anonymizer__docx-summary {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 7px;
}

.dpp-anonymizer__docx-summary article {
    padding: 12px;
    background: #fff;
    border: 1px solid #d6e2ec;
    border-radius: 10px;
}

.dpp-anonymizer__docx-summary span,
.dpp-anonymizer__docx-summary strong {
    display: block;
}

.dpp-anonymizer__docx-summary span {
    color: #718294;
    font-size: 8.5px;
    font-weight: 800;
}

.dpp-anonymizer__docx-summary strong {
    margin-top: 2px;
    color: #081525;
    font-size: 20px;
    font-weight: 900;
}

.dpp-anonymizer__docx-result {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #d7e2ed;
}

.dpp-anonymizer__docx-parts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
}

.dpp-anonymizer__docx-part {
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #d7e2eb;
    border-radius: 9px;
}

.dpp-anonymizer__docx-part strong,
.dpp-anonymizer__docx-part span {
    display: block;
}

.dpp-anonymizer__docx-part strong {
    color: #17324b;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__docx-part span {
    margin-top: 2px;
    color: #738497;
    font-size: 8px;
}

.dpp-anonymizer__docx-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
}

.dpp-anonymizer__docx-actions > span {
    color: #718294;
    font-size: 9px;
}

.dpp-anonymizer__docx-warning,
.dpp-anonymizer__docx-limit-note {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fff8e9;
    border: 1px solid #efcf8b;
    border-radius: 9px;
}

.dpp-anonymizer__docx-warning strong,
.dpp-anonymizer__docx-limit-note strong {
    display: block;
    color: #744d08;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__docx-warning p,
.dpp-anonymizer__docx-limit-note p {
    margin: 3px 0 0 !important;
    color: #765e31 !important;
    font-size: 8.8px !important;
    line-height: 1.5 !important;
}

.dpp-anonymizer__docx-output {
    margin-top: 15px;
    padding: 15px;
    background: #f8fbf9;
    border: 1px solid #c9dfd1;
    border-radius: 13px;
}

@media (min-width: 980px) {
    .dpp-anonymizer__docx {
        padding: 13px 14px;
    }

    .dpp-anonymizer__docx-result {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 760px) {
    .dpp-anonymizer__docx-grid,
    .dpp-anonymizer__docx-summary,
    .dpp-anonymizer__docx-parts {
        grid-template-columns: 1fr;
    }
}


/* 0.14.0 — XLSX workflow */

.dpp-anonymizer__xlsx {
    margin-top: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at 97% 3%, rgba(22,101,52,.05), transparent 30%),
        #f8fbf9;
    border: 1px solid #c9dfd1;
    border-radius: 14px;
}

.dpp-anonymizer__xlsx-grid {
    display: grid;
    grid-template-columns: minmax(300px,.9fr) minmax(320px,1.1fr);
    gap: 16px;
    align-items: start;
}

.dpp-anonymizer__xlsx-controls h4 {
    margin: 0 0 6px !important;
    color: #081525 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.dpp-anonymizer__xlsx-controls > p {
    margin: 0 0 13px !important;
    color: #647689 !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
}

.dpp-anonymizer__xlsx-summary {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 7px;
}

.dpp-anonymizer__xlsx-summary article {
    padding: 10px 11px;
    background: #fff;
    border: 1px solid #d6e2dc;
    border-radius: 9px;
}

.dpp-anonymizer__xlsx-summary span,
.dpp-anonymizer__xlsx-summary strong {
    display: block;
}

.dpp-anonymizer__xlsx-summary span {
    color: #718294;
    font-size: 8.5px;
    font-weight: 800;
}

.dpp-anonymizer__xlsx-summary strong {
    margin-top: 2px;
    color: #081525;
    font-size: 19px;
    font-weight: 900;
}

.dpp-anonymizer__xlsx-result {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #d7e2dd;
}

.dpp-anonymizer__xlsx-sheets {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
}

.dpp-anonymizer__xlsx-sheet {
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #d7e3dc;
    border-radius: 8px;
}

.dpp-anonymizer__xlsx-sheet strong,
.dpp-anonymizer__xlsx-sheet span {
    display: block;
}

.dpp-anonymizer__xlsx-sheet strong {
    color: #22384c;
    font-size: 9.5px;
    font-weight: 900;
}

.dpp-anonymizer__xlsx-sheet span {
    margin-top: 2px;
    color: #718294;
    font-size: 8px;
}

.dpp-anonymizer__xlsx-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
}

.dpp-anonymizer__xlsx-actions > span {
    color: #718294;
    font-size: 9px;
}

.dpp-anonymizer__xlsx-output {
    margin-top: 15px;
    padding: 15px;
    background: #f8fbf9;
    border: 1px solid #c9dfd1;
    border-radius: 13px;
}

@media (min-width: 980px) {
    .dpp-anonymizer__xlsx {
        padding: 13px 14px;
    }

    .dpp-anonymizer__xlsx-result {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 760px) {
    .dpp-anonymizer__xlsx-grid,
    .dpp-anonymizer__xlsx-summary,
    .dpp-anonymizer__xlsx-sheets {
        grid-template-columns: 1fr;
    }
}
