/* Content overview — card grid matching production US Radar layout */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.co-page {
    --co-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --co-text: #0f172a;
    --co-muted: #64748b;
    --co-border: #e2e8f0;
    --co-green: #059669;
    --co-green-soft: #ecfdf5;
    --co-green-dark: #047857;
    --co-chip: #f1f5f9;
    --co-purple: #7c3aed;
    --co-purple-border: #c4b5fd;
    --co-card: #fafbfc; /* lighter gray for KPI + content cards */
    --co-card-border: #d1d5db; /* stronger frame for tiles / pills */
    --co-radius-sm: 8px; /* squared corners (like Cards toggle), not full pill */
    --co-cat-bg: #047857; /* category chip + View details link */

    font-family: var(--co-font) !important;
    color: var(--co-text);
    -webkit-font-smoothing: antialiased;
}

.co-page *,
.co-page *::before,
.co-page *::after {
    font-family: inherit;
    box-sizing: border-box;
}

.co-page a {
    text-decoration: none;
    color: inherit;
}

.radar-main:has(.co-demo-tiles),
.radar-main:has(.landing-embed) {
    overflow-x: clip;
}

/* Full width of radar-shell parent — no extra expand / negative bleed */
.co-page__canvas {
    margin: 0;
    min-height: calc(100vh - 8rem);
    background: #ffffff;
    padding: 0 0 3rem;
    width: 100%;
    max-width: 100%;
}

.co-page__inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.co-demo-hero {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    padding: 0.35rem 0 1.5rem;
    width: 100%;
    max-width: 100%;
}

.co-demo-hero__copy {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    padding-top: 1.65rem;
}

.co-demo-hero__title {
    margin: 0 0 1.75rem;
    width: max-content;
    max-width: 100%;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.co-demo-hero__art {
    width: 42rem;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    justify-self: end;
    align-self: start;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: -0.85rem;
    margin-left: auto;
}

.co-demo-hero__art img {
    display: block;
    width: 132%;
    max-width: none;
    height: auto;
    margin: 0 0 0 auto;
    object-fit: contain;
    object-position: right top;
    transform-origin: top right;
    transform: translate(1%, -6%);
}

/* Mac-width band: stretch again so the map matches the previous Mac layout */
@media (min-width: 1280px) and (max-width: 1511px) {
    .co-demo-hero__art {
        width: auto;
        max-width: none;
        justify-self: stretch;
        margin-left: 0;
    }
}

/* Wider desktops: crop SVG white on the right so the map sits on the shell edge */
@media (min-width: 1512px) {
    .co-demo-hero__art {
        justify-self: end;
        margin-left: auto;
        overflow: hidden;
    }

    .co-demo-hero__art img {
        width: 142%;
        object-fit: cover;
        object-position: right top;
        transform: translate(11%, -6%);
    }
}

@media (max-width: 767px) {
    .co-demo-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .co-demo-hero__title {
        width: auto;
        font-size: 1.4rem;
    }

    .co-demo-hero__copy {
        width: auto;
        padding-top: 0;
    }

    .co-demo-hero__sub {
        width: auto;
        min-width: 0;
    }

    .co-demo-hero__art {
        display: none;
    }
}

.co-demo-hero__sub {
    margin: 0 0 1rem;
    width: 0;
    min-width: 100%;
    max-width: none;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
}

.co-demo-hero__sub:last-of-type {
    margin-bottom: 0;
}

.co-demo-hero__sub--lead {
    font-weight: 700;
    color: #0f172a;
}

.co-demo-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 1.15rem;
    padding: 0.62rem 1.2rem;
    border-radius: 9999px;
    background: #047857;
    color: #fff !important;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.co-demo-cta:hover {
    background: #065f46;
}

.co-demo-explore {
    margin: 0.5rem 4px 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #0f172a;
}

@media (min-width: 768px) {
    .co-demo-hero {
        padding: 0.15rem 0 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .co-demo-hero {
        padding-bottom: 0.5rem;
    }

    .co-demo-explore {
        margin-top: 0.1rem;
    }
}

@media (min-width: 1512px) {
    .co-demo-hero {
        padding-bottom: 0.5rem;
    }

    .co-demo-explore {
        margin-top: 0.1rem;
    }
}

/* DEU demo: pull Explore heading up; do not touch hero map art */
.co-page--deu-demo .co-demo-explore {
    margin-top: -0.55rem;
}

@media (min-width: 768px) {
    .co-page--deu-demo .co-demo-hero {
        padding-bottom: 0.1rem;
    }

    .co-page--deu-demo .co-demo-explore {
        margin-top: -1.15rem;
    }
}

/* Mac 1280–1511 only. Desktop ≥1512 and laptop <1280 unchanged. */
@media (min-width: 1280px) and (max-width: 1511px) {
    .co-page--deu-demo .co-demo-hero {
        padding-bottom: 0.8rem;
    }

    .co-page--deu-demo .co-demo-explore {
        margin-top: 2.7rem;
    }

    .co-page--deu-demo .co-demo-hero__art {
        align-self: stretch;
        overflow: hidden;
        min-height: 0;
    }

    .co-page--deu-demo .co-demo-hero__art img {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: contain;
        object-position: right center;
        transform: none;
        margin: 0 0 0 auto;
    }
}

/* External / desktop ≥1512: DEU 768px negative Explore must not sit on the CTA. Laptop unchanged. */
@media (min-width: 1512px) {
    .co-page--deu-demo .co-demo-hero {
        padding-bottom: 0.5rem;
    }

    .co-page--deu-demo .co-demo-explore {
        margin-top: 0.85rem;
    }
}

.co-page .co-demo-pitch,
.co-page .co-demo-pitch * {
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
.co-demo-pitch {
    margin: 12px 0 32px;
    max-width: none;
}
.co-demo-pitch__lead {
    display: block;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #111827;
}
.co-demo-pitch__line {
    display: block;
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: #6b7280;
    max-width: 46rem;
}
.co-page a.co-demo-pitch__cta {
    font-weight: 700;
    color: #297F5A;
    text-decoration: none;
}
.co-page a.co-demo-pitch__cta:hover,
.co-page a.co-demo-pitch__cta:focus {
    color: #1d6044;
}
.landing-embed {
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
    padding-top: 8px;
}
.co-demo-tiles {
    position: relative;
    isolation: isolate;
    background: transparent;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 32px 0 40px;
    box-sizing: border-box;
}
.co-demo-tiles::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f6f8f7;
    z-index: 0;
    pointer-events: none;
}
.co-demo-tiles > * {
    position: relative;
    z-index: 1;
}

/* KPI strip — same box size as when 4 tiles sat in one row */
.co-kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .co-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 768px) {
    .co-kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: 3rem;
    }
    .co-kpis--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .co-kpis--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .co-kpis--6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.users-h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
}
.users-lead {
    margin: 6px 0 0;
    font-size: 0.875rem;
    color: #64748b;
}
.users-kpis {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    grid-template-columns: none !important;
    gap: 8px !important;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    width: auto;
}
.users-kpis .co-kpi {
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    gap: 6px;
    padding: 6px 12px;
}
.users-kpis .co-kpi__icon {
    display: none;
}
.users-kpis .co-kpi__copy {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}
.users-kpis .co-kpi__value {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #475569;
    padding-top: 0;
}
.users-kpis .co-kpi__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 0;
    line-height: 1.15;
}
.users-kpis .co-kpi.is-active {
    background: #047857;
    border-color: #047857;
    color: #fff;
    box-shadow: none;
}
.users-kpis .co-kpi.is-active .co-kpi__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.users-kpis .co-kpi.is-active .co-kpi__label,
.users-kpis .co-kpi.is-active .co-kpi__value {
    color: #fff;
}
.users-block {
    margin-top: 0;
}
.users-block + .users-block {
    margin-top: 5.5rem;
}
.users-h2 {
    margin: 0 0 1.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0f172a;
}
.users-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #047857;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
}
.users-table-wrap {
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    background: #fafbfc;
    overflow: hidden;
}
.users-table {
    border-collapse: collapse;
    font-size: 0.875rem;
    color: #334155;
}
.users-table th {
    text-align: left;
    vertical-align: middle;
    padding: 10px 12px !important;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.users-table td {
    text-align: left;
    vertical-align: middle;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.users-table tbody tr:last-child td {
    border-bottom: 0;
}
.users-table tbody tr:hover td {
    background: #f1f5f9;
}
.users-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 18rem;
}
.users-name-row .users-more {
    margin-left: 0;
    flex-shrink: 0;
}
.users-name {
    display: block;
    max-width: 16rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.users-name-row .users-name {
    flex: 1 1 auto;
    min-width: 0;
}
.users-company {
    display: block;
    max-width: 16rem;
    margin-top: 2px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.users-company--lead {
    margin-top: 0;
    margin-bottom: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}
.users-name--sub {
    font-weight: 400;
    font-size: 0.8125rem;
    color: #64748b;
}
.users-inline-details {
    margin-top: 14px;
    padding: 12px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 28rem;
}
.users-inline-details.hidden {
    display: none;
}
.users-inline-details__period,
.users-inline-details__value,
.users-inline-details__team,
.users-inline-details__cats {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
}
.users-expand {
    padding: 6px 8px;
    line-height: 0;
}
.users-expand.is-open svg {
    transform: rotate(180deg);
}
.users-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    background: transparent;
    color: #047857 !important;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    text-decoration: none;
}
.users-stats-cell {
    padding: 0 !important;
}
.users-stats-details {
    padding: 0;
}
.users-stats-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}
.users-stats-summary::-webkit-details-marker {
    display: none;
}
.users-stats-nums {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}
.users-stats-states {
    padding: 0 14px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.users-stats-state {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.8125rem;
    color: #64748b;
}
.users-cell {
    display: block;
    max-width: 16rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.users-subs-cell {
    min-width: 22rem;
    width: 28%;
}
.users-subs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 22rem;
}
.users-subs__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-width: 22rem;
    overflow: hidden;
}
.users-times {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8125rem;
    color: #334155;
    white-space: nowrap;
}
.users-time-label {
    display: inline-block;
    min-width: 2.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}
.users-muted { color: #94a3b8; }
.users-role {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.6875rem;
    font-weight: 700;
}
.users-sub {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 9999px;
    background: #047857;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
}
.users-state {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 9999px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.6875rem;
    font-weight: 700;
}
.users-more {
    margin-left: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}
.users-table__actions {
    width: 7.5rem;
    text-align: right;
}
.users-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
.users-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.users-btn--ghost {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
}
.users-btn--edit {
    background: #d1fae5;
    color: #047857 !important;
}
.users-btn--edit:hover {
    background: #a7f3d0;
}
.users-btn--delete {
    background: #fff;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.users-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
}
.users-pager {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

@media (min-width: 1024px) {
    .co-kpis {
        margin-bottom: 4rem;
    }
}

.co-kpi {
    display: flex;
    align-items: flex-start; /* number top ~ even with icon top */
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb; /* softer frame */
    border-radius: 12px;
    background: var(--co-card);
    /* Very light bottom-weighted shadow */
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 3px 8px rgba(15, 23, 42, 0.05);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
a.co-kpi:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.co-kpi.is-active {
    border-color: #0f766e;
    box-shadow: 0 0 0 1px #0f766e;
}

.co-kpi__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    /* Slightly greyer than mint green, still a hint of green */
    background: #eef2f0;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.co-kpi__icon svg {
    width: 24px;
    height: 24px;
}

.co-kpi__value {
    font-size: 1.5rem; /* slightly smaller than before */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
    /* sit just below top edge of icon row */
    padding-top: 2px;
}

.co-kpi__label {
    font-size: 0.75rem;
    font-weight: 500; /* a bit bolder */
    color: #475569; /* darker grey */
    margin-top: 4px;
    line-height: 1.25;
}

a.co-kpi--switch {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80px;
}
a.co-kpi--switch.co-kpi--switch-sm {
    min-height: 36px;
    padding: 6px 8px;
    flex: 0 0 auto;
}
.co-kpis__audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-content: center;
    align-self: stretch;
}
.co-kpis__audience .co-kpi--sales {
    grid-column: 1 / -1;
}
a.co-kpi--switch .co-kpi__label {
    margin-top: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f766e;
}
a.co-kpi--switch.is-active .co-kpi__label {
    color: #0f172a;
}

.co-sales-send {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.co-sales-send__label {
    flex: 0 0 100%;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}
.co-sales-send__ok {
    flex: 0 0 100%;
    margin: 0;
    padding: 8px 12px;
    border-radius: var(--co-radius-sm);
    background: #d1fae5;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.6s ease;
}
.co-sales-send__ok.is-fading {
    opacity: 0;
}
.co-sales-send__err {
    flex: 0 0 100%;
    margin: 0;
    color: #b91c1c;
    font-size: 0.8125rem;
    font-weight: 600;
}
.co-sales-send__field {
    flex: 0 1 50%;
    max-width: 50%;
    min-width: 160px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--co-card-border);
    border-radius: var(--co-radius-sm);
    font-size: 0.875rem;
}
.co-sales-send__field::placeholder {
    color: #94a3b8;
}
.co-sales-send__message {
    flex: 0 0 100%;
    width: 100%;
    min-height: 88px;
    padding: 10px 12px;
    border: 1px solid var(--co-card-border);
    border-radius: var(--co-radius-sm);
    font-size: 0.875rem;
    line-height: 1.45;
    resize: vertical;
}
.co-sales-send__message::placeholder {
    color: #94a3b8;
}
.co-sales-send__btn {
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--co-radius-sm);
    background: #047857;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}
.co-sales-send__rule {
    width: 1px;
    height: 22px;
    margin: 0;
    background: #cbd5e1;
    flex-shrink: 0;
}
a.co-sales-send__log {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    margin-left: 0;
    border: 0;
    border-radius: var(--co-radius-sm);
    background: #2563eb;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}
a.co-sales-send__log:hover {
    background: #1d4ed8;
    color: #fff;
    border: 0;
}
.co-sales-sends__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1.25rem;
}
.co-sales-sends__head h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}
.co-sales-sends__search {
    display: flex;
    gap: 8px;
    align-items: center;
}
.co-sales-sends__arrow {
    list-style: none;
    align-items: center;
}
.co-sales-sends__arrow::-webkit-details-marker {
    display: none;
}
.co-sales-sends__empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #64748b;
}

/* Content type pills — space after KPIs handled by .co-kpis margin */
.co-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Space before filter row (Alle Kategorien …) */
    margin-bottom: 16px;
}

.co-type {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 16px;
    border-radius: var(--co-radius-sm); /* squared like Cards, not pill */
    border: 1.5px solid var(--co-card-border);
    background: #fff;
    font-size: 0.875rem; /* one step larger */
    font-weight: 600;
    color: #334155;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.co-type:hover {
    border-color: #9ca3af;
}

.co-type.is-active {
    background: var(--co-green-dark);
    border-color: var(--co-green-dark);
    color: #fff;
}

.co-type__count {
    display: inline-flex;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-left: 8px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.co-type.is-active .co-type__count {
    background: #d1fae5;
    color: #065f46;
}

.co-type--council {
    border-color: #a78bfa;
    color: var(--co-purple);
}

.co-type--council.is-active {
    background: var(--co-purple);
    border-color: var(--co-purple);
    color: #fff;
}

.co-type--boarddocs {
    border-color: #34d399;
    color: var(--co-green-dark);
}

.co-type--boarddocs.is-active {
    background: var(--co-green);
    border-color: var(--co-green);
    color: #fff;
}

/* Filters row — space before Karten / view toggle */
.co-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.co-select,
.co-search {
    height: 40px;
    border: 1.5px solid var(--co-card-border);
    border-radius: var(--co-radius-sm);
    background: #fff;
    font-size: 0.875rem; /* one step larger — match type pills */
    font-weight: 600;
    color: var(--co-text);
    padding: 0 12px;
    outline: none;
}

.co-select {
    min-width: 140px;
    /* Custom chevron: slightly left + lighter grey than browser default */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.25L6 7.75L9.5 4.25' stroke='%23a8b0bc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55rem center; /* more left than default */
    background-size: 12px 12px;
    cursor: pointer;
}

.co-select::-ms-expand {
    display: none;
}

.co-search {
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 320px;
}

.co-filter-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--co-card-border);
    border-radius: var(--co-radius-sm);
    background: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--co-text);
    cursor: pointer;
    user-select: none;
}

.co-filter-check input {
    margin: 0;
    accent-color: #047857;
}

.co-filter-check:has(input:checked) {
    border-color: #047857;
    color: #047857;
}

.co-city-combo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

.co-city-typeahead {
    height: 32px;
    min-width: 180px;
    font-weight: 500;
    padding-right: 12px;
    background-image: none;
    cursor: text;
}

.co-search::placeholder {
    color: #94a3b8;
}

/* View toggle — same large gap as KPI→All Content (64px) before project cards */
.co-view-toggle {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 64px;
}

.co-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--co-radius-sm);
    border: 1.5px solid var(--co-card-border);
    background: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.co-view-btn.is-active {
    background: var(--co-green-dark);
    border-color: var(--co-green-dark);
    color: #fff;
}

/* Text-only reset control (no button chrome) */
.co-reset-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    text-decoration: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.12s ease;
}

.co-reset-link:hover {
    color: #0f172a;
}

/* Card grid */
.co-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .co-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .co-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Wrapper: Hide pill outside the <a> so click does not open detail */
.co-card-wrap {
    position: relative;
    min-height: 300px;
    min-width: 0;
    overflow: hidden;
}

.co-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--co-card-border);
    border-radius: 12px;
    background: var(--co-card);
    padding: 20px 20px 16px;
    padding-top: 40px; /* clear top-right Hide pill (staff only) */
    min-height: 300px;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: inherit;
    text-decoration: none;
    cursor: default;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.co-card__nav {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.co-card__nav--body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Partners have no Hide pill — keep top pad for visible-at date */
.co-card--no-hide-pad {
    padding-top: 40px;
}

.co-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}



.co-card__top {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* System + source chips on one row */
.co-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    min-width: 0;
}

.co-card__vergabe {
    display: inline-flex;
    height: 22px;
    align-items: center;
    padding: 0 10px;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 0;
}
button.co-card__vergabe--edit {
    cursor: pointer;
}
.co-card__vergabe--open {
    background: #fef3c7;
    color: #92400e;
}
.co-card__vergabe--awarded {
    background: #e2e8f0;
    color: #334155;
}
.co-card__vergabe--unknown {
    background: #f3f4f6;
    color: #6b7280;
}

.co-card__id {
    display: inline-flex;
    height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.6875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.co-card__system {
    display: inline-flex;
    height: 22px;
    align-items: center;
    padding: 0 10px;
    border-radius: 9999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.6875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.co-card__source {
    display: block;
    box-sizing: border-box;
    flex: 1 1 8rem;
    max-width: 100%;
    min-width: 0;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #0f172a; /* same as card title */
    font-size: 0.75rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-card__corner {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 6;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.co-card__corner .co-card__saved {
    pointer-events: auto;
    position: static;
    top: auto;
    right: auto;
}
.co-card-wrap:has(.co-badge-hide) .co-card__corner,
.co-list-row-wrap:has(.co-badge-hide) .co-card__corner {
    right: 96px;
}
.co-card__fresh {
    display: inline-flex;
    height: 22px;
    align-items: center;
    padding: 0 9px;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
    flex-shrink: 0;
}
.co-card__fresh--update,
.co-card__fresh--new {
    background: #0d9488;
}
.co-card__saved {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 6;
    display: inline-flex;
    height: 22px;
    align-items: center;
    padding: 0 8px;
    border: 0;
    margin: 0;
    border-radius: 9999px;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.co-card__saved:hover {
    background: #a7f3d0;
}
.co-card-wrap:has(.co-badge-hide) .co-card__saved,
.co-list-row-wrap:has(.co-badge-hide) .co-card__saved {
    right: 280px;
}

.users-details-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.co-preview-as {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 12px;
}
.co-preview-as__text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #047857;
}
.co-preview-as__back {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #047857;
    text-decoration: underline;
}

.co-save-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    height: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}
.co-save-check input {
    margin: 0;
    accent-color: #047857;
}
.co-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 0 0 10px;
}
.co-detail-actions .co-save-check {
    margin: 0;
}
.co-tile-send-toggle {
    display: inline-flex;
    align-items: center;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #047857;
    cursor: pointer;
    user-select: none;
}
.co-tile-send-toggle:hover {
    color: #065f46;
}
.co-tile-send {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.co-tile-send[hidden] {
    display: none !important;
}
.co-tile-send__emails,
.co-tile-send__message {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--co-card-border);
    border-radius: var(--co-radius-sm);
    font-size: 0.875rem;
    line-height: 1.45;
}
.co-tile-send__emails {
    height: 38px;
}
.co-tile-send__message {
    min-height: 72px;
    resize: vertical;
}
.co-tile-send__emails::placeholder,
.co-tile-send__message::placeholder {
    color: #94a3b8;
}
.co-tile-send .co-sales-send__btn {
    align-self: flex-start;
}
.co-card-wrap > .co-save-check,
.co-list-row-wrap > .co-save-check {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 6;
    margin: 0;
    height: 24px;
    padding: 0 8px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.6875rem;
}
.co-card-wrap:has(> .co-save-check) .co-card,
.co-list-row-wrap:has(> .co-save-check) .co-list-row {
    padding-top: 40px;
}

.co-card__state {
    display: inline-flex;
    height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 9999px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.co-card__cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.co-card__cat {
    display: inline-flex;
    height: 24px;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border-radius: 9999px;
    background: var(--co-cat-bg);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700; /* bolder category chips on cards */
}
.co-card__cat-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin: 0 -2px 0 2px;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.22);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.co-card__cat-x:hover {
    background: rgba(15, 23, 42, 0.4);
}

.co-card__cat--unknown {
    background: #94a3b8;
}

/*
 * Hide / Hidden — same pill as category badges (.co-card__cat),
 * blue or red fill, absolute top-right of the card wrap / detail card.
 */
.co-badge-visible {
    position: absolute;
    top: 12px;
    left: 20px; /* same left edge as awarded badge (card padding) */
    z-index: 5;
    display: inline-flex;
    height: 22px;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    color: #64748b;
    pointer-events: none;
    flex-shrink: 0;
}

.co-badge-hide {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 10px;
    border-radius: 9999px;
    border: 0;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.12s ease;
}
.co-badge-hide--off {
    background: #2563eb;
    color: #fff;
}
.co-badge-hide--off:hover {
    background: #1d4ed8;
}
.co-badge-hide--on {
    background: #dc2626;
    color: #fff;
}
.co-badge-hide--on:hover {
    background: #b91c1c;
}

.co-landing-check {
    position: absolute;
    top: 12px;
    right: 188px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 8px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}
.co-landing-check input {
    margin: 0;
    accent-color: #047857;
}

.co-badge-demo {
    position: absolute;
    top: 12px;
    right: 88px;
    z-index: 5;
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 10px;
    border-radius: 9999px;
    border: 0;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.12s ease;
}
.co-badge-demo--off {
    background: #64748b;
    color: #fff;
}
.co-badge-demo--off:hover {
    background: #475569;
}
.co-badge-demo--on {
    background: #047857;
    color: #fff;
}
.co-badge-demo--on:hover {
    background: #065f46;
}

.co-demo-cats {
    position: relative;
    z-index: 6;
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 8px;
    padding: 0 4px;
    font-size: 0.75rem;
    color: #334155;
}
.co-demo-cats[hidden] {
    display: none !important;
}
.co-demo-cats__label {
    font-weight: 700;
    color: #047857;
}
.co-demo-cats__opt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 600;
}
.co-demo-cats__hint {
    color: #64748b;
    font-weight: 500;
}

.co-add-cat {
    position: static;
    z-index: 2;
    flex: 0 1 auto;
    max-width: 100%;
}

.co-card__cats.is-wrap-add .co-add-cat {
    flex-basis: 100%;
}

.co-detail-badges .co-card__cats {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.co-add-cat__select {
    height: 24px;
    max-width: 100%;
    padding: 0 8px;
    border-radius: 9999px;
    border: 1.5px solid var(--co-card-border);
    background: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

/* Staff: Change category button + expandable select */
.co-cat-change {
    margin: 0 0 12px;
    max-width: 22rem;
}
.co-cat-change__btn {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    background: #fff;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.co-cat-change__btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.co-cat-change[data-open="1"] .co-cat-change__btn {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
}
.co-cat-change__panel {
    margin-top: 8px;
    position: relative;
    z-index: 5;
}
.co-cat-menu {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 16rem;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.co-cat-menu li + li {
    margin-top: 2px;
}
.co-cat-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.co-cat-option:hover {
    background: #f1f5f9;
}
.co-cat-option.is-on {
    background: #eff6ff;
    font-weight: 600;
}
.co-cat-option__check {
    display: inline-flex;
    width: 1.1rem;
    color: #2563eb;
    font-size: 0.875rem;
    line-height: 1;
}
.co-card-wrap .co-cat-change,
.co-list-row-wrap .co-cat-change {
    margin: 0 0 8px;
    max-width: 100%;
}
.co-cat-change__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Screenshot: bold black headline */
.co-card__title {
    margin: 0 0 8px;
    font-size: 1.0625rem; /* 17px */
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #0f172a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Longer lead preview (structured briefs); slightly darker body text */
.co-card__docs {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
}

.co-card__summary {
    margin: 0;
    font-size: 0.875rem; /* 14px */
    font-weight: 400;
    line-height: 1.5;
    color: #334155;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Max 3 lines of preview text */
    max-height: calc(1.5em * 3);
}

/* Same type as summary: "Veröffentlicht: 11.05.2026" / "Published: 05/11/2026" */
.co-card__published {
    margin: 6px 0 0; /* tight under summary (reference) */
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #334155;
}

/* Structured project brief on detail page */
.co-brief-headline {
    margin: 0 0 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.45;
}

.co-brief {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0; /* gap to button comes from .co-detail-actions */
}

.co-detail-body + .co-brief {
    margin-top: 1.25em;
}

.co-brief__section {
    margin: 0;
}

.co-brief__label {
    margin: 0 0 4px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.co-brief__body {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.55;
    color: #1e293b;
    white-space: pre-line;
}

/* View details: green, bottom-right of card */
.co-card__footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.co-card__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--co-cat-bg); /* same green as category chips */
    white-space: nowrap;
}

.co-card__link:hover {
    color: #065f46;
}

.co-card:hover .co-card__link {
    color: #065f46;
}

.co-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: var(--co-muted);
    font-size: 0.875rem;
    border: 1px dashed var(--co-border);
    border-radius: 16px;
}

.co-pager {
    margin-top: 20px;
}

/* —— Detail page —— */
.co-detail {
    max-width: 720px;
    margin: 0 auto;
}

.co-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.co-back:hover {
    color: #0f172a;
}

.co-detail-card {
    --co-detail-action-gap: 1.75rem; /* text↔button = button↔card bottom */
    position: relative;
    border: 1px solid var(--co-border);
    border-radius: 16px;
    background: #fafbfc;
    color: #1e293b;
    padding: 1.5rem 1.75rem var(--co-detail-action-gap);
    padding-top: 2.75rem; /* room for Hide pill top-right (staff) */
    min-width: 0;
    overflow: hidden;
}

.co-detail-card--no-hide-pad {
    padding-top: 2.75rem;
}

.co-detail-card .co-badge-visible {
    left: 1.75rem;
}

.co-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.co-detail-card:not(.co-detail-card--no-hide-pad) .co-detail-badges {
    padding-right: 4.5rem; /* clear Hide pill when present */
}

.co-badge-type {
    display: inline-flex;
    height: 26px;
    align-items: center;
    padding: 0 12px;
    border-radius: 9999px;
    background: #f3e8ff;
    color: #7c3aed;
    font-size: 0.75rem;
    font-weight: 600;
}

.co-badge-source {
    display: block;
    box-sizing: border-box;
    flex: 1 1 10rem;
    min-width: 0;
    max-width: 100%;
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-detail-title {
    margin: 0 0 0.875rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.co-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.8125rem;
    color: #334155;
    margin-bottom: 1.25rem;
}

.co-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.co-detail-body {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #1e293b;
}

.co-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    /* Same space above button as padding below button (card bottom) */
    margin-top: var(--co-detail-action-gap, 1.75rem);
}

.co-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: #047857;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    border: 0;
}

.co-detail-btn:hover {
    background: #065f46;
}

.co-detail-btn--secondary {
    background: #fff;
    color: #047857 !important;
    border: 1.5px solid #047857;
}

.co-detail-btn--secondary:hover {
    background: #ecfdf5;
    color: #065f46 !important;
}

.co-related {
    margin-top: 1rem;
    border: 1px solid var(--co-border);
    border-radius: 16px;
    background: #fff;
    padding: 1.25rem 1.5rem;
}

.co-related__label {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: none;
}

.co-related__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.55rem;
}

.co-related__line {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.75rem;
    min-width: 0;
}

.co-related__date {
    flex: 0 0 5.5rem;
    font-variant-numeric: tabular-nums;
    color: #94a3b8;
    white-space: nowrap;
}

.co-related__title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
}

.co-related__title--link {
    color: #0f766e;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.co-related__title--link:hover {
    color: #115e59;
}

.co-related__note {
    margin: 0 0 0.15rem 6.25rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #64748b;
}

/* Manual quality check (Kachel-Check) */
.co-badge-review {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid transparent;
}
.co-badge-review--good {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}
.co-badge-review--bad {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.co-badge-review--open {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.co-review {
    margin-top: 1rem;
    border: 1px solid var(--co-border);
    border-radius: 16px;
    background: #fff;
    padding: 1.25rem 1.5rem;
}
.co-review__title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--co-text);
}
.co-review__hint {
    font-size: 0.8125rem;
    color: var(--co-muted);
    margin: 0 0 1rem;
}
.co-review__flash {
    font-size: 0.8125rem;
    color: #047857;
    margin: 0 0 0.75rem;
}
.co-review__error {
    font-size: 0.8125rem;
    color: #b91c1c;
    margin: 0 0 0.75rem;
}
.co-review__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.co-review__row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.co-review__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}
.co-review__select,
.co-review__textarea {
    font-size: 0.875rem;
    border: 1px solid var(--co-border);
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    background: #fff;
    color: var(--co-text);
    max-width: 28rem;
}
.co-review__textarea {
    max-width: 100%;
    resize: vertical;
}
.co-review__help {
    font-size: 0.6875rem;
    color: #94a3b8;
}
.co-review__reasons {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.co-review__reasons legend {
    padding: 0;
}
.co-review__checks {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.15rem;
}
.co-review__check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--co-text);
    cursor: pointer;
    line-height: 1.35;
}
.co-review__check input {
    margin-top: 0.15rem;
    width: 1rem;
    height: 1rem;
    accent-color: #0f766e;
    flex-shrink: 0;
}

.co-parties {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--co-border);
}
.co-parties__title {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}
.co-party {
    border: 1px solid var(--co-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.6rem;
    background: #fff;
    min-width: 0;
    overflow: hidden;
}
.co-party__head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.co-party__name { font-weight: 700; }
.co-party__role, .co-party__award, .co-party__central {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--co-muted);
}
.co-party__award { color: var(--co-green-dark); }
.co-party__dl { margin: 0; min-width: 0; }
.co-party__dl > div {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.35rem;
    font-size: 0.875rem;
    margin: 0.15rem 0;
    min-width: 0;
}
.co-party__dl dt { color: #475569; font-weight: 500; }
.co-party__dl dd {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.co-party__dl dd a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.co-party__job { color: var(--co-muted); }
.co-detail-card--no-hide-pad .co-party-source { display: none; }

/* Full-width list (manual precheck): same card data, detail-level text */
.co-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.co-list-row-wrap {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.co-list-row {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1.5px solid var(--co-card-border);
    border-radius: 12px;
    background: var(--co-card);
    padding: 20px 20px 16px;
    padding-top: 40px;
    padding-right: 5.5rem;
}

.co-list-row--no-hide-pad {
    padding-right: 20px;
}

.co-list-row__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--co-border);
}

.co-list .co-brief {
    margin-top: 0.75rem;
}

.co-list .co-detail-body {
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--co-text);
}

a.co-view-btn {
    text-decoration: none;
}

.co-demo-blur {
    filter: blur(7px);
    user-select: none;
    pointer-events: none;
}

.co-card--teaser {
    position: relative;
    overflow: hidden;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

.co-card--teaser::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.55) 34%,
        rgba(0, 0, 0, 0.86) 70%,
        #000 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.55) 34%,
        rgba(0, 0, 0, 0.86) 70%,
        #000 100%
    );
}

.co-card--teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(250, 251, 252, 0.14) 0%,
        rgba(250, 251, 252, 0.38) 40%,
        rgba(250, 251, 252, 0.72) 100%
    );
}

.co-card--teaser-heavy::after {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.78) 32%,
        rgba(0, 0, 0, 0.94) 62%,
        #000 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.78) 32%,
        rgba(0, 0, 0, 0.94) 62%,
        #000 100%
    );
}

.co-card--teaser-heavy::before {
    background: linear-gradient(
        to bottom,
        rgba(250, 251, 252, 0.28) 0%,
        rgba(250, 251, 252, 0.62) 38%,
        rgba(250, 251, 252, 0.9) 100%
    );
}
