.cgh-aufbaupartner-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #dce3ee;
    border-left: 5px solid #254281;
    border-radius: 10px;
    background: #f6f8fc;
    box-shadow: 0 6px 18px rgba(23, 43, 77, 0.07);
    color: #45505d;
}
.cgh-aufbaupartner-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #254281;
    color: #ffffff;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
}
.cgh-aufbaupartner-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}
.cgh-aufbaupartner-label {
    color: #172b4d;
    font-size: 16px;
    line-height: 1.4;
}
.cgh-aufbaupartner-description {
    font-size: 13px;
    line-height: 1.55;
}
.cgh-aufbaupartner-since {
    margin-top: 2px;
    color: #66717e;
    font-size: 12px;
}
@media (max-width: 520px) {
    .cgh-aufbaupartner-banner {
        padding: 15px;
    }
    .cgh-aufbaupartner-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 17px;
        line-height: 32px;
    }
}

.cgh-workflow-notice {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #dce3ee;
    border-left: 5px solid #254281;
    border-radius: 8px;
    background: #f6f8fc;
    color: #45505d;
    line-height: 1.55;
}
.cgh-workflow-warning {
    border-color: #f0dfb4;
    border-left-color: #c38a17;
    background: #fff9eb;
    color: #66552f;
}
.cgh-workflow-success {
    border-color: #b7ddc1;
    border-left-color: #2e7d32;
    background: #eef9f1;
    color: #285b32;
}
.cgh-workflow-error {
    border-color: #efc1c1;
    border-left-color: #b3261e;
    background: #fff3f2;
    color: #7c2925;
}
.cgh-approval-list {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 28px;
    color: #45505d;
}
.cgh-approval-header {
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid #dce3ee;
    border-left: 5px solid #254281;
    border-radius: 10px;
    background: #f6f8fc;
}
.cgh-approval-header h3 {
    margin: 0 0 5px;
    color: #172b4d;
    font-size: 22px;
    line-height: 1.3;
}
.cgh-approval-header p {
    margin: 0;
    color: #66717e;
    font-size: 14px;
}
.cgh-approval-card {
    margin: 0 0 16px;
    padding: 20px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(23, 43, 77, 0.05);
}
.cgh-approval-card-open {
    border-color: #b8c7df;
}
.cgh-approval-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.cgh-approval-card h4 {
    margin: 0 0 5px;
    color: #172b4d;
    font-size: 19px;
    line-height: 1.35;
}
.cgh-approval-meta,
.cgh-approval-small {
    margin: 3px 0;
    color: #66717e;
    font-size: 12px;
    line-height: 1.45;
}
.cgh-approval-summary {
    margin: 14px 0 0;
    color: #45505d;
    font-size: 14px;
    line-height: 1.6;
}
.cgh-review-edit-button,
.cgh-approve-button,
.cgh-review-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-sizing: border-box;
    padding: 10px 16px;
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    cursor: pointer;
}
.cgh-review-edit-button {
    flex: 0 0 auto;
    border: 2px solid #254281;
    background: #ffffff;
    color: #254281 !important;
}
.cgh-review-edit-button:hover,
.cgh-review-edit-button:focus {
    background: #f2f5fb;
}
.cgh-approve-button,
.cgh-review-save-button {
    border: 0;
    background: #254281;
    color: #ffffff !important;
}
.cgh-approve-button:hover,
.cgh-approve-button:focus,
.cgh-review-save-button:hover,
.cgh-review-save-button:focus {
    opacity: 0.92;
}
.cgh-review-editor {
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid #d8e0eb;
    border-radius: 9px;
    background: #f8fafc;
}
.cgh-compact-review-form {
    margin: 0;
}
.cgh-review-field {
    margin: 0 0 17px;
}
.cgh-review-field label {
    display: block;
    margin-bottom: 7px;
    color: #172b4d;
    font-size: 14px;
}
.cgh-review-title-input,
.cgh-review-more textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #cfd7e3;
    border-radius: 7px;
    background: #ffffff;
    color: #172b4d;
    font: inherit;
}
.cgh-editor-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}
.cgh-editor-label-row label {
    margin: 0;
}
.cgh-editor-label-row span {
    color: #778291;
    font-size: 12px;
}
.cgh-editor-toolbar {
    display: flex;
    gap: 6px;
    padding: 7px;
    border: 1px solid #cfd7e3;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    background: #f1f4f8;
}
.cgh-editor-toolbar button {
    min-width: 34px;
    padding: 6px 9px;
    border: 1px solid #c8d1de;
    border-radius: 5px;
    background: #ffffff;
    color: #172b4d;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.cgh-editor-toolbar button:hover,
.cgh-editor-toolbar button:focus {
    border-color: #254281;
}
.cgh-rich-editor {
    min-height: 260px;
    max-height: 520px;
    overflow: auto;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #cfd7e3;
    border-radius: 0 0 7px 7px;
    background: #ffffff;
    color: #263648;
    font-size: 15px;
    line-height: 1.65;
    outline: none;
}
.cgh-rich-editor:focus {
    border-color: #254281;
    box-shadow: 0 0 0 3px rgba(37, 66, 129, 0.11);
}
.cgh-rich-editor p:first-child {
    margin-top: 0;
}
.cgh-rich-editor p:last-child {
    margin-bottom: 0;
}
.cgh-hidden-review-content {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}
.cgh-editor-warning {
    margin-bottom: 10px;
    font-size: 13px;
}
.cgh-review-classifications {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    color: #66717e;
    font-size: 12px;
}
.cgh-review-classifications strong {
    margin-right: 3px;
    color: #45505d;
}
.cgh-review-classifications span {
    padding: 4px 8px;
    border: 1px solid #dce3ee;
    border-radius: 999px;
    background: #ffffff;
}
.cgh-review-more {
    margin: 0 0 17px;
    padding: 12px 14px;
    border: 1px solid #dce3ee;
    border-radius: 7px;
    background: #ffffff;
}
.cgh-review-more summary {
    color: #254281;
    font-weight: 700;
    cursor: pointer;
}
.cgh-review-more textarea {
    margin-top: 12px;
}
.cgh-review-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cgh-review-cancel-link {
    color: #66717e;
}
.cgh-publish-panel {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5eaf1;
}
.cgh-review-confirm {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #dce3ee;
    border-radius: 7px;
    background: #f8fafc;
    color: #172b4d;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}
.cgh-review-confirm input {
    flex: 0 0 auto;
    margin-top: 4px;
}
.cgh-approve-button-disabled,
.cgh-approve-button-disabled:hover,
.cgh-approve-button-disabled:focus {
    background: #a7b2c7;
    cursor: not-allowed;
    opacity: 0.75;
}
.cgh-approve-button-busy {
    cursor: wait;
    opacity: 0.78;
    pointer-events: none;
}
.cgh-approval-live-message {
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}
.cgh-approval-live-message:empty {
    display: none;
}
.cgh-approval-live-success {
    border: 1px solid #b7ddc1;
    background: #eef9f1;
    color: #285b32;
}
.cgh-approval-live-error {
    border: 1px solid #efc1c1;
    background: #fff3f2;
    color: #7c2925;
}
.cgh-canonical-published-date {
    margin: 7px 0 0 !important;
    color: #66717e !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}
.cgh-highlight-job-row {
    outline: 3px solid rgba(37, 66, 129, 0.38);
    outline-offset: 4px;
}
[data-cgh-hidden-bump="1"] {
    display: none !important;
}
@media (max-width: 720px) {
    .cgh-approval-card,
    .cgh-review-editor {
        padding: 15px;
    }
    .cgh-approval-card-head,
    .cgh-editor-label-row,
    .cgh-review-form-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .cgh-review-edit-button,
    .cgh-approve-button,
    .cgh-review-save-button,
    .cgh-review-cancel-link {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .cgh-rich-editor {
        min-height: 220px;
    }
}
.cgh-publish-panel-locked {
    padding: 13px 15px;
    border: 1px solid #dce3ee;
    border-radius: 7px;
    background: #f8fafc;
    color: #66717e;
    font-size: 13px;
}
.cgh-publish-panel-locked strong {
    color: #172b4d;
}
.cgh-review-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .8fr);
    gap: 14px;
    align-items: start;
}
.cgh-review-location-select {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cfd9e7;
    border-radius: 7px;
    background: #ffffff;
    color: #172b4d;
}
.cgh-map-check-link {
    display: inline-block;
    margin-top: 7px;
    color: #254281;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
}
.cgh-location-warning {
    margin-top: 4px;
    margin-bottom: 16px;
    font-size: 13px;
}
.cgh-approval-location-summary {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 7px;
    background: #f6f8fc;
    color: #45505d;
    font-size: 13px;
    line-height: 1.5;
}
.cgh-location-missing {
    border-left: 4px solid #c38a17;
    background: #fff9eb;
    color: #66552f;
}
.cgh-hidden-normal-badge {
    display: none !important;
}
@media (max-width: 720px) {
    .cgh-review-location-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 1.6.0: exakten Arbeitsort auch dann sichtbar halten, wenn das Theme den
   normalen WordPress-Inhalt nicht direkt unter der Kopfzeile ausgibt. */
.cgh-public-job-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 22px;
    padding: 15px 17px;
    border: 1px solid #dce3ee;
    border-left: 4px solid #254281;
    border-radius: 8px;
    background: #f6f8fc;
    color: #45505d;
    line-height: 1.5;
}
.cgh-public-job-location-icon {
    flex: 0 0 auto;
    color: #254281;
    font-size: 24px;
    line-height: 1;
}
.cgh-public-job-location strong,
.cgh-public-job-location span,
.cgh-public-job-location a {
    display: block;
}
.cgh-public-job-location strong {
    margin-bottom: 2px;
    color: #172b4d;
}
.cgh-public-job-location a {
    margin-top: 4px;
    color: #254281;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
}
.cgh-public-header-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
}
.cgh-public-header-location > span:first-child {
    margin-right: 1px;
}
.cgh-public-header-location a {
    margin-left: 5px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
}

/* „Normal/Normale Anzeige“ vollständig entfernen. Nokri setzt das Tooltip
   teilweise auf ein leeres Kindelement; :has() entfernt deshalb auch den
   weißen äußeren Container. Premium-/Top-Kennzeichnungen bleiben unberührt. */
body.cgh-hide-normal-job-class [title="Normal" i],
body.cgh-hide-normal-job-class [title="Normale" i],
body.cgh-hide-normal-job-class [title="Normale Anzeige" i],
body.cgh-hide-normal-job-class [data-original-title="Normal" i],
body.cgh-hide-normal-job-class [data-original-title="Normale" i],
body.cgh-hide-normal-job-class [data-original-title="Normale Anzeige" i],
body.cgh-hide-normal-job-class [data-bs-original-title="Normal" i],
body.cgh-hide-normal-job-class [data-bs-original-title="Normale" i],
body.cgh-hide-normal-job-class [data-bs-original-title="Normale Anzeige" i],
body.cgh-hide-normal-job-class [aria-label="Normal" i],
body.cgh-hide-normal-job-class [aria-label="Normale" i],
body.cgh-hide-normal-job-class [aria-label="Normale Anzeige" i],
body.cgh-hide-normal-job-class [data-cgh-normal-hidden="1"],
body.cgh-hide-normal-job-class .cgh-hidden-normal-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
@supports selector(div:has(> span)) {
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [title="Normal" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [title="Normale" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [title="Normale Anzeige" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [data-original-title="Normal" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [data-original-title="Normale" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [data-original-title="Normale Anzeige" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [data-bs-original-title="Normal" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [data-bs-original-title="Normale" i]),
    body.cgh-hide-normal-job-class.single-job_post :is(div,li,span,a):has(> [data-bs-original-title="Normale Anzeige" i]) {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 720px) {
    .cgh-public-header-location {
        align-items: flex-start;
        flex-direction: row;
        font-size: 13px;
    }
}

/* 1.6.2: vorhandene Nokri-Karte auf Einzelanzeigen mit dem tatsächlichen
   Arbeitsort der Anzeige befüllen, ohne eine zusätzliche Arbeitsort-Box. */
.cgh-job-map-replaced {
    position: relative;
    overflow: hidden;
    min-height: 260px;
}
.cgh-job-map-replaced iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
}

/* 1.7.0: Arbeitgeber-Formular für neue Stellenanzeigen vereinfachen. */
.cgh-location-technical-input {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.cgh-location-original-label {
    display: none !important;
}
.cgh-map-location-summary {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #dce3ee;
    border-left: 4px solid #d99a16;
    border-radius: 8px;
    background: #fff9eb;
    color: #66552f;
    font-size: 14px;
    line-height: 1.45;
}
.cgh-map-location-summary strong {
    color: #172b4d;
    font-size: 14px;
}
.cgh-map-location-summary-value {
    font-weight: 700;
}
.cgh-map-location-summary.cgh-has-location {
    border-left-color: #254281;
    background: #f6f8fc;
    color: #45505d;
}
.cgh-map-location-summary small {
    color: #66717e;
    font-size: 12px;
}
.cgh-location-help-steps {
    margin: 8px 0 0 20px;
    padding: 0;
}
.cgh-location-help-steps li {
    margin: 3px 0;
}


/* 1.7.1: Standortbestätigung und Textvorlagen im Arbeitgeberformular. */
.cgh-map-location-summary.cgh-has-location {
    border-color: #b7dfc0;
    border-left-color: #218739;
    background: #f1faf3;
    color: #245d31;
}
.cgh-map-location-summary.cgh-has-location .cgh-map-location-summary-value::before {
    content: "✓ ";
    color: #218739;
}
.cgh-original-template-button {
    display: none !important;
}
.cgh-template-picker-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #254281;
    border-radius: 7px;
    background: #ffffff;
    color: #254281;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.cgh-template-picker-button:hover,
.cgh-template-picker-button:focus {
    background: #254281;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(37, 66, 129, .18);
    outline: none;
}
.cgh-template-picker-help {
    display: block;
    margin-top: 6px;
    color: #66717e;
    font-size: 12px;
    line-height: 1.4;
}
.cgh-template-inserted-notice {
    margin-top: 9px;
    padding: 9px 12px;
    border: 1px solid #b7dfc0;
    border-left: 4px solid #218739;
    border-radius: 7px;
    background: #f1faf3;
    color: #245d31;
    font-size: 12px;
    line-height: 1.45;
}
.cgh-template-dialog {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cgh-template-dialog.cgh-template-dialog-open {
    display: flex;
}
.cgh-template-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 43, 77, .58);
    backdrop-filter: blur(2px);
}
.cgh-template-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    padding: 26px;
    border: 1px solid #dce3ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(23, 43, 77, .25);
}
.cgh-template-dialog-lock {
    overflow: hidden !important;
}
.cgh-template-dialog-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f3f6fa;
    color: #172b4d;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.cgh-template-dialog-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 48px;
    margin-bottom: 20px;
}
.cgh-template-dialog-heading span {
    color: #172b4d;
    font-size: 22px;
    font-weight: 700;
}
.cgh-template-dialog-heading small {
    color: #66717e;
    font-size: 14px;
}
.cgh-template-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.cgh-template-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
    min-height: 112px;
    padding: 17px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    background: #ffffff;
    color: #45505d;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cgh-template-card:hover,
.cgh-template-card:focus {
    border-color: #9eb0d5;
    box-shadow: 0 6px 16px rgba(23, 43, 77, .08);
    outline: none;
}
.cgh-template-card.is-selected {
    border-color: #254281;
    background: #f6f8fc;
    box-shadow: inset 0 0 0 1px #254281;
}
.cgh-template-card-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #edf2fb;
    color: #254281;
    font-size: 20px;
}
.cgh-template-card > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}
.cgh-template-card strong {
    color: #172b4d;
    font-size: 15px;
}
.cgh-template-card small {
    color: #66717e;
    font-size: 12px;
    line-height: 1.45;
}
.cgh-template-insert-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 9px;
    background: #f6f8fc;
    color: #45505d;
    font-size: 13px;
}
.cgh-template-insert-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}
.cgh-template-tip {
    margin-top: 12px;
    padding: 12px 14px;
    border-left: 4px solid #d99a16;
    border-radius: 7px;
    background: #fff9eb;
    color: #66552f;
    font-size: 13px;
    line-height: 1.5;
}
.cgh-template-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.cgh-template-cancel,
.cgh-template-apply {
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.cgh-template-cancel {
    border: 1px solid #dce3ee;
    background: #ffffff;
    color: #45505d;
}
.cgh-template-apply {
    border: 1px solid #254281;
    background: #254281;
    color: #ffffff;
}
.cgh-template-apply:disabled {
    border-color: #c8d0df;
    background: #c8d0df;
    cursor: not-allowed;
}
@media (max-width: 700px) {
    .cgh-template-dialog {
        padding: 10px;
    }
    .cgh-template-dialog-panel {
        padding: 20px 15px;
        max-height: calc(100vh - 20px);
    }
    .cgh-template-list {
        grid-template-columns: 1fr;
    }
    .cgh-template-dialog-heading span {
        font-size: 19px;
    }
    .cgh-template-dialog-actions {
        flex-direction: column-reverse;
    }
    .cgh-template-cancel,
    .cgh-template-apply {
        width: 100%;
    }
}


/* 1.7.2: eigene, verständliche Standortvalidierung statt versteckter
   Theme-Fehlermeldung am technischen Kartenfeld. */
.cgh-map-location-summary.cgh-location-error {
    border-color: #efb0aa;
    border-left-color: #b42318;
    background: #fff4f2;
    color: #7a271a;
}
.cgh-map-location-summary.cgh-location-error strong,
.cgh-map-location-summary.cgh-location-error .cgh-map-location-summary-value {
    color: #7a271a;
}
[data-cgh-location-error-hidden="1"] {
    display: none !important;
}


/* 1.7.4 – automatisch eingeblendete Freigabeansicht optisch an die
   reguläre Prüfseite angleichen. Nokri setzt für <button>-Elemente teils
   globale Farben; diese Regeln halten Kontrast und Layout zuverlässig. */
.cgh-auto-approval-panel {
    margin-top: 18px;
    margin-bottom: 38px;
}
.cgh-auto-approval-panel > .cgh-approval-header {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 18px 20px !important;
    border: 1px solid #dce3ee !important;
    border-left: 5px solid #254281 !important;
    border-radius: 10px !important;
    background: #f6f8fc !important;
    box-shadow: none !important;
}
.cgh-auto-approval-panel > .cgh-approval-header h3 {
    margin: 0 0 5px !important;
    color: #172b4d !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
}
.cgh-auto-approval-panel > .cgh-approval-header p {
    margin: 0 !important;
    color: #66717e !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}
.cgh-auto-approval-panel .cgh-approval-card-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
}
.cgh-auto-approval-panel button.cgh-review-edit-button {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 auto !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    border: 2px solid #254281 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #254281 !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
}
.cgh-auto-approval-panel button.cgh-review-edit-button:hover,
.cgh-auto-approval-panel button.cgh-review-edit-button:focus {
    border-color: #254281 !important;
    background: #f2f5fb !important;
    color: #254281 !important;
}
@media (max-width: 700px) {
    .cgh-auto-approval-panel .cgh-approval-card-head {
        display: block !important;
    }
    .cgh-auto-approval-panel button.cgh-review-edit-button {
        width: 100% !important;
        margin-top: 10px !important;
    }
}
