.cz-search-page,.cz-search-dialog {
    --cz-accent: #a94b95;
    --cz-ink: #171717;
    --cz-muted: #666;
    --cz-line: #e5e5e5;
    color: var(--cz-ink);
    font-family: inherit;
}

.cz-search-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 58px 26px 80px;
}

.cz-search-heading {
    margin-bottom: 32px;
}

.cz-search-heading>p:first-child {
    color: var(--cz-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 12px;
}

.cz-search-heading h1 {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 700;
}

.cz-search-heading>p:last-child {
    color: var(--cz-muted);
    font-size: 17px;
}

.cz-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 30px;
    background: #fff !important;
    border: 1px solid var(--cz-line);
    border-radius: 16px;
    margin-bottom: 42px;
}

.cz-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cz-wide {
    grid-column: 1/-1;
}

.cz-field label,.cz-search-dialog label,.cz-dates legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--cz-ink);
}

.cz-filter-form input,.cz-filter-form select,.cz-author-toggle,.cz-search-dialog input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 48px;
    min-width: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 13px;
    color: var(--cz-ink);
    font: inherit;
    font-size: 15px;
}

.cz-filter-form input[type=date] {
    appearance: auto;
    -webkit-appearance: auto;
    min-height: 52px;
    border-color: #bdbdbd;
    padding: 12px 14px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgb(0 0 0 / 3%);
}

.cz-field small {
    font-size: 12px;
    color: var(--cz-muted);
    line-height: 1.5;
}

.cz-dates {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.cz-dates legend {
    padding: 0;
    margin-bottom: 12px;
}

.cz-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.cz-date-grid label {
    font-weight: 400;
    font-size: 13px;
}

.cz-button {
    background: var(--cz-accent)!important;
    color: white!important;
    border: 0;
    border-radius: 8px;
    padding: 13px 24px;
    min-height: 48px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cz-button:hover {
    background: #333!important;
}

.cz-filter-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 22px;
}

.cz-filter-actions>a {
    font-size: 13px;
    color: var(--cz-muted);
    text-decoration: underline;
    align-self: center;
}

.cz-results-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cz-line);
}

.cz-results-heading h2 {
    font-size: 22px;
    margin: 0;
}

.cz-results-heading>span {
    color: var(--cz-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.cz-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 24px;
}

.cz-result {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 16px rgb(0 0 0 / 6%);
    overflow-wrap: anywhere;
}

.cz-result-image {
    display: block;
    aspect-ratio: 16/9;
    background: #f3f3f3;
    overflow: hidden;
}

.cz-result-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.cz-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 700;
}

.cz-result-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 24px;
}

.cz-result h3 {
    font-size: 23px;
    line-height: 1.4;
    margin: 0 0 16px;
}

.cz-result h3 a {
    color: var(--cz-ink);
}

.cz-result h3 a:hover {
    color: #1765c1;
}

.cz-result .cz-result-meta {
    color: var(--cz-muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.cz-read {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding: 11px 17px;
    border-radius: 6px;
    background: #111;
    color: #fff!important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.cz-read:hover {
    background: #333;
}

.cz-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 35px;
}

.cz-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 10px 13px;
    border: 1px solid var(--cz-line);
    border-radius: 6px;
    color: var(--cz-accent);
}

.cz-pagination .current {
    background: var(--cz-accent);
    color: #fff;
}

.cz-empty {
    padding: 32px 0;
}

.cz-search-dialog {
    box-sizing: border-box;
    width: min(680px,calc(100% - 32px));
    max-height: 85dvh;
    border: 0;
    border-radius: 16px;
    padding: 28px;
    margin: 7vh auto auto;
    box-shadow: 0 24px 90px #0003;
    background: #fff;
    overflow: auto;
    z-index: 100000;
}

.cz-search-dialog:not([open]) {
    display: none;
}

.cz-search-dialog::backdrop {
    background: #0009;
    backdrop-filter: blur(3px);
}

.cz-search-open {
    overflow: hidden;
}

.cz-quick-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.cz-quick-top h2 {
    font-size: 25px;
    line-height: 1.3;
    margin: 0;
}

.cz-close {
    background: none;
    border: 0;
    font-size: 32px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--cz-muted);
    cursor: pointer;
}

.cz-keyword-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.cz-search-dialog #cz-quick-status {
    color: var(--cz-muted);
    font-size: 13px;
    margin: 16px 0;
}

.cz-search-dialog .cz-result-body {
    padding: 16px;
}

.cz-search-dialog .cz-result h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.cz-search-dialog .cz-result-meta {
    font-size: 12px;
    margin-bottom: 14px;
}

.cz-search-dialog .cz-read {
    font-size: 12px;
    padding: 9px 12px;
}

.cz-advanced-link {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--cz-line);
    padding-top: 18px;
    color: var(--cz-accent)!important;
    font-weight: 600;
    background: white;
    position: sticky;
    bottom: 0;
    padding-bottom: 4px;
}

.cz-author-picker {
    position: relative;
}

.cz-author-toggle {
    cursor: pointer;
    text-align: left;
    padding-right: 30px;
    height: auto;
    min-height: 48px;
    position: relative;
    line-height: 1.5;
}

.cz-author-toggle:after {
    content: '⌄';
    position: absolute;
    right: 13px;
    top: 10px;
}

.cz-author-popup {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    padding: 10px;
    border: 1px solid var(--cz-line);
    border-radius: 8px;
    box-shadow: 0 12px 32px #0002;
}

.cz-author-options {
    max-height: 240px;
    overflow: auto;
    margin-top: 8px;
}

.cz-author-options button {
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
    padding: 11px 10px;
    text-align: left;
    font: inherit;
    font-size: 14px;
    color: var(--cz-ink);
    cursor: pointer;
}

.cz-author-options button:hover,.cz-author-options button[aria-pressed=true] {
    background: #f2f2f2;
}

.cz-search-page [hidden],.cz-search-dialog [hidden] {
    display: none!important;
}

.cz-author-popup>p {
    padding: 12px;
    font-size: 13px;
}

.cz-search-page :focus-visible,.cz-search-dialog :focus-visible {
    outline: 3px solid #1765c1;
    outline-offset: 3px;
}

@media(max-width:767px) {
    .cz-search-page {
        padding: 32px 18px 50px;
    }

    .cz-search-heading h1 {
        font-size: 32px;
    }

    .cz-search-heading>p:last-child {
        font-size: 15px;
    }

    .cz-filter-form {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 20px;
        border-radius: 12px;
    }

    .cz-date-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cz-filter-actions {
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .cz-result-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cz-results-heading {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .cz-result h3 {
        font-size: 21px;
    }

    .cz-search-dialog {
        padding: 20px;
        margin-top: 20px;
        max-height: calc(100dvh - 40px);
    }

    .cz-quick-top h2 {
        font-size: 21px;
    }

    .cz-filter-form input,.cz-filter-form select,.cz-search-dialog input {
        font-size: 16px;
    }

    .cz-keyword-row .cz-button {
        padding: 12px 17px;
    }

    .cz-result-body {
        padding: 20px;
    }

    .cz-search-dialog #cz-quick-results {
        grid-template-columns: 1fr;
    }

    .cz-search-dialog .cz-result-image {
        aspect-ratio: 2/1;
    }
}

@media(max-width:360px) {
    .cz-date-grid {
        grid-template-columns: 1fr;
    }

    .cz-filter-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .cz-filter-actions>a {
        text-align: center;
    }
}

.cz-filter-form input[type=search],.cz-search-dialog input[type=search] {
    box-sizing: border-box!important;
}

#cz-quick-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 4px 4px 16px;
    max-height: max(120px,calc(85dvh - 285px));
    overflow: auto;
    overscroll-behavior: contain;
}

body.cz-search-view,body.cz-search-view #td-outer-wrap,body.cz-search-view .td-outer-wrap {
    background: #fff!important;
}

.cz-filter-form input[type=date]::-webkit-calendar-picker-indicator {
    padding: 5px;
    border-radius: 4px;
    background-color: #f2f2f2;
    cursor: pointer;
}


.cz-date-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cz-date-presets button { background: white; border: 1px solid #ccc; border-radius: 6px; padding: 9px 14px; color: #111; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cz-date-presets button:hover, .cz-date-presets button[aria-pressed="true"] { background: #111; color: white; border-color: #111; }
#cz-search-return {
    position: fixed;
    inset: auto 0 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -3px 16px rgb(0 0 0 / 7%);
}

#cz-search-return a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

#cz-search-return a:focus-visible {
    outline: 3px solid #1765c1;
    outline-offset: 3px;
}

body.cz-has-search-return {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

.cz-calendar { position: relative; }
.cz-calendar-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 12px 15px; background: #fff; border: 1px solid #ccc; border-radius: 8px; color: #111; font: inherit; text-align: left; cursor: pointer; }
.cz-calendar-trigger::after { content: ''; width: 18px; height: 18px; background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.7'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4m8-4v4'/%3E%3C/svg%3E"); }
.cz-calendar-empty { color: #777; }
.cz-calendar-popup { position: absolute; top: calc(100% + 8px); left: 0; z-index: 110; width: min(340px, 100%); max-height: 70dvh; overflow-y: auto; padding: 16px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; box-shadow: 0 12px 36px rgb(0 0 0 / 13%); }
.cz-calendar-header { display: grid; grid-template-columns: 30px minmax(0,1fr) 86px 30px; gap: 5px; align-items: center; margin-bottom: 16px; }
.cz-calendar-header select { padding: 6px; height: 38px; border-color: #eee; font-size: 14px; }
.cz-calendar-popup button { background: transparent; border: 0; color: #111; font: inherit; cursor: pointer; border-radius: 6px; }
.cz-calendar-header button { height: 36px; font-size: 25px; }
.cz-calendar-weekdays,.cz-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; }
.cz-calendar-weekdays { color: #777; font-size: 12px; margin-bottom: 7px; }
.cz-calendar-days button { aspect-ratio: 1; padding: 0; font-size: 14px; }
.cz-calendar-popup button:hover:not(:disabled) { background: #eee; }
.cz-calendar-days button[aria-current=date] { box-shadow: inset 0 0 0 1px #999; }
.cz-calendar-days button[aria-pressed=true] { background: #111!important; color: #fff; }
.cz-calendar-popup button:disabled { color: #ccc; cursor: not-allowed; }
.cz-calendar-footer { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #eee; }
.cz-calendar-footer button { padding: 8px; font-size: 13px; font-weight: 700; }
.cz-calendar-hint { font-size: 11px; line-height: 1.5; color: #777; margin: 12px 0; }

/* Çoklu kategori checkbox listesi */
.cz-checkbox-group {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.cz-checkbox-group legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--cz-ink);
    padding: 0;
    margin-bottom: 10px;
}
.cz-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cz-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s, background .15s;
}
.cz-checkbox-label:hover {
    border-color: var(--cz-accent);
}
.cz-checkbox-label input[type=checkbox] {
    width: 15px;
    height: 15px;
    min-height: unset;
    margin: 0;
    padding: 0;
    accent-color: var(--cz-accent);
    flex-shrink: 0;
}
.cz-checkbox-label:has(input:checked) {
    background: var(--cz-accent);
    border-color: var(--cz-accent);
    color: #fff;
}
.cz-checkbox-label:has(input:checked) input[type=checkbox] {
    accent-color: #fff;
}


/* === Renk revizyonu: #a94b95 yalnızca yazı, link ve çerçeve rengi; hiçbir yerde dolgu/arka plan değil === */
.cz-search-page,.cz-search-dialog {
    --cz-accent: #a94b95;
    --cz-accent-dark: #a94b95;
    --cz-line: #e2e2e2;
}
.cz-filter-form { background: #fff !important; }
.cz-search-heading h1 { color: var(--cz-accent); }

/* Butonlar: beyaz zemin, #a94b95 çerçeve ve yazı */
.cz-button, .cz-keyword-row .cz-button, .cz-read, #cz-search-return a {
    background: #fff !important; color: var(--cz-accent) !important;
    border: 1.5px solid var(--cz-accent) !important;
}
.cz-button:hover, .cz-keyword-row .cz-button:hover, .cz-read:hover, #cz-search-return a:hover {
    background: #f5f5f5 !important; color: var(--cz-accent) !important; border-color: var(--cz-accent) !important;
}
.cz-filter-actions a { color: var(--cz-accent); }
.cz-filter-form input:focus, .cz-filter-form select:focus, .cz-search-dialog input:focus,
.cz-calendar-trigger:focus-visible, .cz-author-toggle:focus-visible {
    border-color: var(--cz-accent) !important; outline: 0; box-shadow: 0 0 0 1px var(--cz-accent);
}
.cz-search-dialog { border-top: 0; }
.cz-search-dialog .cz-quick-top h2 { color: var(--cz-accent); }
.cz-search-dialog input[type=search] { border-color: var(--cz-accent) !important; background: #fff !important; }
.cz-search-dialog .cz-close:hover { color: var(--cz-accent); }
.cz-advanced-link { color: var(--cz-accent) !important; }
.cz-result h3 a:hover { color: var(--cz-accent); }

/* Tarih kısayolları ve takvim */
.cz-date-presets button { background: #fff; border-color: #ccc; color: #333; }
.cz-date-presets button:hover, .cz-date-presets button[aria-pressed="true"] { background: #fff; color: var(--cz-accent); border-color: var(--cz-accent); box-shadow: 0 0 0 1px var(--cz-accent); }
.cz-calendar-days button[aria-pressed=true] { background: #fff !important; color: var(--cz-accent); font-weight: 800; box-shadow: inset 0 0 0 2px var(--cz-accent); }
.cz-calendar-popup button:hover:not(:disabled) { background: #f5f5f5; }
.cz-calendar-days button[aria-current=date] { outline: 1px solid #bbb; }
.cz-calendar-footer button { color: var(--cz-accent); }
.cz-author-options button[aria-pressed=true] { background: #f5f5f5; color: var(--cz-accent); font-weight: 700; }

/* Kategori etiketleri */
.cz-checkbox-label { background: #fff; border-color: #ccc; padding: 7px 14px 7px 10px; color: #333; }
.cz-checkbox-label:hover { background: #fff; border-color: var(--cz-accent); }
.cz-checkbox-label:has(input:checked) { background: #fff; border-color: var(--cz-accent); box-shadow: 0 0 0 1px var(--cz-accent); color: var(--cz-accent); font-weight: 600; }
.cz-checkbox-label:has(input:checked) input[type=checkbox] { accent-color: var(--cz-accent); }

/* Sayfalama */
.cz-pagination .page-numbers { color: var(--cz-accent); }
.cz-pagination .current { background: #fff; color: var(--cz-accent); border-color: var(--cz-accent); font-weight: 800; }

/* Sonuçlara dön çubuğu (mobil dahil) */
#cz-search-return { z-index: 2147483000; border-top: 2px solid var(--cz-accent, #a94b95); }


/* === Sadeleştirme: okunaklı yazı tipi, hafif ağırlık, kompakt yerleşim === */
.cz-search-page,.cz-search-dialog { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.cz-search-page button,.cz-search-page input,.cz-search-page select,.cz-search-dialog button,.cz-search-dialog input { font-family: inherit; }
.cz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cz-search-page { padding: 28px 22px 56px; }
.cz-search-heading { text-align: center; margin-bottom: 18px; }
.cz-search-heading h1 { color: var(--cz-ink); font-size: 28px; font-weight: 600; margin: 0; }
.cz-filter-form { padding: 18px 20px; gap: 14px 20px; border-radius: 12px; margin-bottom: 24px; }
.cz-field { gap: 5px; }
.cz-field label,.cz-search-dialog label { font-size: 13px; font-weight: 500; color: #444; }
.cz-filter-form input,.cz-filter-form select,.cz-calendar-trigger,.cz-author-toggle { min-height: 42px; font-size: 14px; font-weight: 400; }
.cz-calendar-trigger,.cz-author-toggle { padding-top: 8px; padding-bottom: 8px; }

.cz-checkbox-group legend { font-size: 13px; font-weight: 500; color: #444; margin-bottom: 6px; }
.cz-checkbox-list { gap: 6px; }
.cz-checkbox-label { font-size: 13px; font-weight: 400; line-height: 1.4; padding: 4px 11px 4px 8px; gap: 5px; }
.cz-checkbox-label input[type=checkbox] { width: 14px; height: 14px; }
.cz-checkbox-label:has(input:checked) { font-weight: 500; }

.cz-dates { margin: 0; }
.cz-date-grid { gap: 14px 20px; }
.cz-date-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.cz-date-presets[hidden] { display: none; }
.cz-date-presets button { font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 6px; }
.cz-date-presets .cz-date-clear { border: 0; background: none; box-shadow: none; color: #666; text-decoration: underline; padding: 5px 6px; }
.cz-date-presets .cz-date-clear:hover { background: none; box-shadow: none; color: var(--cz-accent); }
.cz-calendar-days button[aria-pressed=true] { font-weight: 700; }
.cz-calendar-footer button { font-weight: 500; }
.cz-author-options button[aria-pressed=true] { font-weight: 600; }

.cz-filter-actions { align-items: center; gap: 10px; margin-top: 2px; }
.cz-button,.cz-keyword-row .cz-button { font-size: 14px; font-weight: 600; min-height: 42px; padding: 8px 20px; }
.cz-filter-actions .cz-clear-btn {
    display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; box-sizing: border-box;
    border: 1.5px solid #6C3BAA; border-radius: 8px; background: #fff; color: #6C3BAA;
    font-size: 14px; font-weight: 600; text-decoration: none;
}
.cz-filter-actions .cz-clear-btn:hover { background: #f5f5f5; color: #6C3BAA; }

.cz-results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--cz-line); }
.cz-results-bar h2 { font-size: 18px; font-weight: 600; margin: 0; }
.cz-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; color: #555; }
.cz-sort select { min-height: 38px; padding: 6px 30px 6px 10px; border: 1px solid #ccc; border-radius: 8px; background-color: #fff; color: #222; font-size: 14px; font-weight: 400; }
.cz-results[aria-busy=true] { pointer-events: none; }

.cz-result h3,.cz-result-body h3 { font-weight: 600; }
.cz-read { font-weight: 600; }
.cz-pagination .current { font-weight: 700; }
.cz-search-dialog .cz-quick-top h2 { font-weight: 600; }
.cz-advanced-link { color: var(--cz-ink) !important; font-weight: 500; }
#cz-search-return a { font-weight: 600; }


/* Kategori açılır listesi */
.cz-cat-picker .cz-author-toggle { color: #555; }
.cz-cat-popup { padding: 6px; max-height: 280px; overflow: auto; }
.cz-cat-popup .cz-checkbox-list { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; }
.cz-cat-popup .cz-checkbox-label,
.cz-cat-popup .cz-checkbox-label:hover,
.cz-cat-popup .cz-checkbox-label:has(input:checked) {
    display: flex; width: 100%; box-sizing: border-box; padding: 9px 10px; gap: 10px;
    border: 0; border-radius: 6px; box-shadow: none; background: #fff; color: var(--cz-ink); font-size: 14px; font-weight: 400;
}
.cz-cat-popup .cz-checkbox-label:hover { background: #f5f5f5; }
.cz-cat-popup .cz-checkbox-label:has(input:checked) { color: var(--cz-accent); font-weight: 500; }
.cz-cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cz-cat-chips[hidden] { display: none; }
.cz-cat-chip {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: #fff; cursor: pointer;
    border: 1px solid var(--cz-accent); border-radius: 20px; color: var(--cz-accent); font: inherit; font-size: 13px; font-weight: 500; line-height: 1.4;
}
.cz-cat-chip:hover { background: #f5f5f5; }

.cz-advanced-link { align-items: center; }
.cz-advanced-text { display: flex; flex-direction: column; gap: 2px; }
.cz-advanced-text small { font-size: 12px; font-weight: 400; color: #666; line-height: 1.4; }
.cz-advanced-link { color: var(--cz-accent) !important; }
.cz-advanced-link .cz-advanced-title { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cz-quick-top { margin-bottom: 4px; }
.cz-quick-top .cz-close { margin-left: auto; }
