.cgh-zk-editor-section {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #b7dcdf;
    border-radius: 14px;
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(23, 43, 77, .04);
}

.cgh-zk-editor-head {
    margin-bottom: 14px;
}

.cgh-zk-editor-head h4 {
    margin: 3px 0 6px;
    color: #172b4d;
    font-size: 18px;
    line-height: 1.3;
}

.cgh-zk-editor-head p {
    margin: 0;
    color: #637184;
    line-height: 1.55;
}

.cgh-zk-eyebrow {
    display: inline-block;
    color: #087681;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cgh-zk-terms-note {
    margin-top: 14px;
    padding: 11px 13px;
    border-left: 3px solid #087681;
    border-radius: 8px;
    background: #eef9f8;
    color: #52667b;
    font-size: 12px;
    line-height: 1.55;
}

.cgh-zk-badge,
.cgh-zk-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

.cgh-zk-badge {
    padding: 5px 9px;
    background: #087681;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.cgh-zk-mini {
    padding: 4px 8px;
    background: #eef6f7;
    color: #087681;
    border: 1px solid #c5e1e3;
    font-size: 10px;
    font-weight: 700;
}

.cgh-zk-manage-badges,
.cgh-zk-public-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: 7px;
    vertical-align: middle;
}

.cgh-zk-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.cgh-zk-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 8px;
    border: 1px solid #d6e5e7;
    border-radius: 8px;
    background: #f6fbfb;
    color: #516577;
    font-size: 11px;
    font-weight: 700;
}

.cgh-zk-inquiry-fields {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #d5e8e9;
    border-radius: 12px;
    background: #f8fcfc;
}

.cgh-company-type-staffing .cgh-cp-dashboard-shell .cgh-cp-kicker {
    letter-spacing: .06em;
}

@media (max-width: 767px) {
    .cgh-zk-editor-section {
        padding: 14px;
    }

    .cgh-zk-manage-badges,
    .cgh-zk-public-badges {
        margin-left: 4px;
    }

    .cgh-zk-card-meta {
        gap: 5px;
    }
}


.cgh-zk-assignment-fields {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #c9dfe2;
    border-radius: 11px;
    background: #fff;
}

.cgh-zk-assignment-fields[hidden],
.cgh-zk-status-dates[hidden] {
    display: none !important;
}

.cgh-zk-assignment-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}

.cgh-zk-assignment-head strong {
    color: #172b4d;
    font-size: 14px;
}

.cgh-zk-assignment-head span {
    color: #637184;
    font-size: 12px;
    line-height: 1.5;
}

.cgh-zk-full-field {
    grid-column: 1 / -1;
}

.cgh-zk-status-dates {
    flex: 1 0 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    margin-top: 7px;
    padding: 9px;
    border: 1px solid #cfe2e4;
    border-radius: 9px;
    background: #f5fbfb;
    box-sizing: border-box;
}

.cgh-zk-status-dates label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
}

.cgh-zk-status-dates span {
    color: #516577;
    font-size: 10px;
    font-weight: 700;
}

.cgh-zk-status-dates input {
    width: 100%;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 7px 8px;
    background: #fff;
    box-sizing: border-box;
}

.cgh-zk-start-note {
    display: block;
    margin-top: 4px;
    color: #087681;
    font-size: 11px;
    font-weight: 700;
}

.cgh-zk-notice {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #f5c2c7;
    border-left: 4px solid #b42318;
    border-radius: 9px;
    background: #fff5f5;
    color: #8a1c14;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .cgh-zk-status-dates {
        grid-template-columns: 1fr;
    }

    .cgh-zk-full-field {
        grid-column: auto;
    }
}


/* 1.0.7: kompakter Statusbereich innerhalb der Fachkräftekarte */
.cgh-cp-manage-card .cgh-zk-market-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
    align-items: end;
    width: 100%;
}

.cgh-cp-manage-card .cgh-zk-market-form > label {
    min-width: 0;
}

.cgh-cp-manage-card .cgh-zk-market-form > .cgh-zk-status-dates {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
}

.cgh-cp-manage-card .cgh-zk-market-form > button {
    align-self: end;
}

.cgh-zk-hidden-core-field {
    display: none !important;
}

@media (max-width: 560px) {
    .cgh-cp-manage-card .cgh-zk-market-form {
        grid-template-columns: 1fr;
    }

    .cgh-cp-manage-card .cgh-zk-market-form > button,
    .cgh-cp-manage-card .cgh-zk-market-form > .cgh-zk-status-dates {
        grid-column: 1;
    }
}


/* 1.0.8: Tabellenansicht bleibt bewusst kompakt */
.cgh-cp-manage-table .cgh-zk-table-market-form {
    display: flex !important;
    align-items: center;
    gap: 5px !important;
    width: 100%;
    margin: 0 !important;
}

.cgh-cp-manage-table .cgh-zk-table-market-form select {
    width: 100%;
    min-width: 0;
}

.cgh-cp-manage-table .cgh-zk-table-market-form .cgh-zk-status-dates {
    display: none !important;
}

.cgh-zk-table-return-note {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}

.cgh-cp-manage-table-head > span:nth-child(3),
.cgh-cp-manage-table-head > span:nth-child(4) {
    white-space: nowrap;
}


/* 1.0.9: öffentliche Tabellenansicht für Zeitarbeitsprofile */
.cgh-zk-public-table-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    padding: 3px 6px;
    border-radius: 999px;
    background: #087681;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    vertical-align: middle;
}

.cgh-zk-public-return-note {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}

/*
 * "Mehr als 10 Jahre" darf nicht in die Spalte "Verfügbar ab"
 * hineinlaufen. In der schmalen Erfahrungsspalte sauber umbrechen.
 */
.cgh-cp-public-table td:nth-child(5) {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.cgh-cp-public-table td:nth-child(6) {
    white-space: nowrap;
}


/* 1.0.10 – Profilart: Alle / Personalvermittlung / Zeitarbeit */
@media (min-width:1081px) {
    .cgh-cp-pool-primary-filters {
        grid-template-columns:
            1.02fr
            1.30fr
            .92fr
            1.05fr
            1.08fr
            1.12fr;
    }
}

.cgh-zk-profile-type-filter select {
    font-weight: 700;
}
