.cev-candidate-lab {
    --cev-ink: #101828;
    --cev-ink-soft: #344054;
    --cev-muted: #475467;
    --cev-subtle: #667085;
    --cev-line: #d0d5dd;
    --cev-line-soft: #e4e7ec;
    --cev-bg: #f2f4f7;
    --cev-surface: #ffffff;
    --cev-blue: #144a9e;
    --cev-blue-strong: #0f3978;
    --cev-blue-bright: #1e90ff;
    --cev-blue-soft: #eaf4ff;
    --cev-success: #067647;
    --cev-success-soft: #ecfdf3;
    --cev-warning: #b54708;
    color: var(--cev-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cev-candidate-lab *,
.cev-candidate-lab *::before,
.cev-candidate-lab *::after {
    box-sizing: border-box;
}

.cev-candidate-app-shell {
    overflow: hidden;
    border: 1px solid #bfc6d1;
    border-radius: 22px;
    background: var(--cev-surface);
    box-shadow: 0 18px 50px rgba(16, 24, 40, .12);
}

.cev-candidate-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 26px;
    background: #0f172a;
    border-bottom: 1px solid #243046;
}

.cev-candidate-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cev-candidate-product-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--cev-blue-bright);
    color: #fff;
    font-size: 20px;
    font-weight: 850;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.cev-candidate-product-name {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.cev-candidate-product-subtitle {
    margin-top: 2px;
    color: #cbd5e1;
    font-size: 12px;
}

.cev-candidate-demo-pill,
.cev-candidate-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.cev-candidate-demo-pill {
    padding: 8px 11px;
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
}

.cev-candidate-demo-dot,
.cev-candidate-live-pill span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.cev-candidate-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 18px;
    background: #fff;
    border-bottom: 1px solid var(--cev-line);
    scrollbar-width: thin;
}

.cev-candidate-nav button {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--cev-ink-soft);
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.cev-candidate-nav button:hover {
    background: #f8fafc;
    border-color: var(--cev-line);
}

.cev-candidate-nav button.is-active {
    background: var(--cev-blue);
    border-color: var(--cev-blue);
    color: #fff;
    box-shadow: 0 2px 6px rgba(20, 74, 158, .2);
}

.cev-candidate-main {
    min-height: 650px;
    background: var(--cev-bg);
}

.cev-candidate-view {
    padding: 44px;
    animation: cevCandidateIn .2s ease;
}

@keyframes cevCandidateIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.cev-candidate-kicker {
    margin-bottom: 11px;
    color: var(--cev-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cev-candidate-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
    gap: 24px;
    align-items: stretch;
}

.cev-candidate-hero,
.cev-candidate-hero-summary,
.cev-candidate-role-card,
.cev-candidate-lookup-card,
.cev-candidate-status-preview {
    background: #fff;
    border: 1px solid var(--cev-line);
}

.cev-candidate-hero {
    padding: 36px;
    border-radius: 18px;
}

.cev-candidate-hero h2,
.cev-candidate-section-head h2,
.cev-candidate-lookup-copy h2 {
    margin: 0;
    color: var(--cev-ink);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.cev-candidate-hero h2 {
    max-width: 760px;
    font-size: clamp(34px, 4vw, 50px);
}

.cev-candidate-section-head h2,
.cev-candidate-lookup-copy h2 {
    font-size: clamp(29px, 3vw, 40px);
}

.cev-candidate-hero > p,
.cev-candidate-section-head p,
.cev-candidate-lookup-copy > p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--cev-muted);
    font-size: 16px;
    line-height: 1.7;
}

.cev-candidate-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.cev-candidate-primary,
.cev-candidate-secondary {
    border-radius: 10px;
    padding: 13px 18px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.cev-candidate-primary {
    border: 1px solid var(--cev-blue);
    background: var(--cev-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgba(20, 74, 158, .18);
}

.cev-candidate-primary:hover {
    background: var(--cev-blue-strong);
    border-color: var(--cev-blue-strong);
    transform: translateY(-1px);
}

.cev-candidate-secondary {
    border: 1px solid #aeb7c3;
    background: #fff;
    color: var(--cev-ink);
}

.cev-candidate-secondary:hover {
    border-color: #7d8998;
    background: #f8fafc;
}

.cev-candidate-hero-summary {
    padding: 28px;
    border-radius: 18px;
    background: #111c31;
    color: #fff;
}

.cev-candidate-summary-label {
    margin-bottom: 18px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cev-candidate-hero-summary ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cev-candidate-hero-summary li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid #2a3953;
}

.cev-candidate-hero-summary li:last-child {
    border-bottom: 0;
}

.cev-candidate-hero-summary li span {
    color: #60a5fa;
    font-size: 12px;
    font-weight: 850;
}

.cev-candidate-hero-summary li strong {
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.45;
}

.cev-candidate-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.cev-candidate-process article {
    min-height: 170px;
    padding: 22px;
    border: 1px solid var(--cev-line);
    border-radius: 15px;
    background: #fff;
}

.cev-candidate-process article > span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--cev-blue);
    font-size: 12px;
    font-weight: 850;
}

.cev-candidate-process strong {
    display: block;
    margin-bottom: 8px;
    color: var(--cev-ink);
    font-size: 17px;
}

.cev-candidate-process p {
    margin: 0;
    color: var(--cev-muted);
    font-size: 13px;
    line-height: 1.58;
}

.cev-candidate-system-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid #b8c1ce;
    border-radius: 14px;
    background: #b8c1ce;
}

.cev-candidate-system-strip div {
    padding: 16px 18px;
    background: #fff;
}

.cev-candidate-system-strip small,
.cev-candidate-status-cards small,
.cev-candidate-status-heading small,
.cev-candidate-role-side small {
    display: block;
    margin-bottom: 5px;
    color: var(--cev-subtle);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.cev-candidate-system-strip strong {
    color: var(--cev-ink);
    font-size: 14px;
}

.cev-candidate-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.cev-candidate-role-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, .6fr);
    overflow: hidden;
    border-radius: 18px;
}

.cev-candidate-role-main {
    padding: 34px;
}

.cev-candidate-role-side {
    padding: 34px 30px;
    background: #0f172a;
    color: #fff;
}

.cev-candidate-role-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cev-ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.cev-candidate-role-badge {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--cev-success-soft);
    color: var(--cev-success);
    border: 1px solid #abefc6;
}

.cev-candidate-role-card h3 {
    margin: 18px 0 12px;
    color: var(--cev-ink);
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.cev-candidate-role-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cev-candidate-role-meta span {
    padding: 7px 10px;
    border: 1px solid #c9d0da;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--cev-ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.cev-candidate-role-summary {
    max-width: 730px;
    margin: 0;
    color: var(--cev-muted);
    font-size: 15px;
    line-height: 1.68;
}

.cev-candidate-role-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 26px;
}

.cev-candidate-apply-now {
    min-width: 150px;
}

.cev-candidate-role-note {
    color: var(--cev-subtle);
    font-size: 12px;
}

.cev-candidate-role-side small {
    color: #93c5fd;
}

.cev-candidate-role-side ol {
    display: grid;
    gap: 15px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cev-candidate-role-side li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
}

.cev-candidate-role-side li span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid #475569;
    border-radius: 50%;
    color: #93c5fd;
    font-size: 11px;
    font-weight: 850;
}

.cev-candidate-live-pill {
    flex: 0 0 auto;
    padding: 8px 10px;
    background: var(--cev-success-soft);
    color: var(--cev-success);
    border: 1px solid #abefc6;
}

.cev-candidate-board-frame {
    overflow: hidden;
    border: 1px solid #aeb7c3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
}

.cev-candidate-board-frame iframe {
    display: block;
    width: 100%;
    min-height: 700px;
}

.cev-candidate-lookup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: 24px;
    align-items: start;
}

.cev-candidate-lookup-copy {
    padding: 24px 0;
}

.cev-candidate-privacy-note {
    display: grid;
    gap: 5px;
    margin-top: 25px;
    padding: 16px 18px;
    border: 1px solid #b7d8ff;
    border-radius: 12px;
    background: var(--cev-blue-soft);
}

.cev-candidate-privacy-note strong {
    color: #123f7c;
    font-size: 13px;
}

.cev-candidate-privacy-note span {
    color: #33577f;
    font-size: 12px;
    line-height: 1.5;
}

.cev-candidate-lookup-card {
    padding: 28px;
    border-radius: 16px;
}

.cev-candidate-lookup-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--cev-ink);
    font-size: 13px;
    font-weight: 800;
}

.cev-candidate-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.cev-candidate-input-row input {
    min-width: 0;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #98a2b3;
    border-radius: 10px;
    background: #fff;
    color: var(--cev-ink);
    font: inherit;
    font-size: 14px;
    outline: none;
}

.cev-candidate-input-row input:focus {
    border-color: var(--cev-blue-bright);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, .15);
}

.cev-candidate-lookup-card form.has-error input {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .10);
}

.cev-candidate-field-help {
    margin: 8px 0 0;
    color: var(--cev-subtle);
    font-size: 12px;
}

.cev-candidate-lookup-preview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: center;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--cev-line-soft);
}

.cev-candidate-preview-icon {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef2f6;
    color: var(--cev-ink-soft);
    font-weight: 850;
}

.cev-candidate-lookup-preview strong {
    color: var(--cev-ink);
    font-size: 13px;
}

.cev-candidate-lookup-preview p {
    margin: 0;
    color: var(--cev-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cev-candidate-status-preview {
    margin-top: 26px;
    overflow: hidden;
    border-radius: 16px;
}

.cev-candidate-status-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--cev-line);
}

.cev-candidate-status-heading h3 {
    margin: 0;
    color: var(--cev-ink);
    font-size: 22px;
    letter-spacing: -.025em;
}

.cev-candidate-stage-pill {
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--cev-blue-soft);
    color: #123f7c;
    border: 1px solid #b7d8ff;
    font-size: 12px;
    font-weight: 800;
}

.cev-candidate-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 26px;
    border-bottom: 1px solid var(--cev-line);
    background: #f8fafc;
}

.cev-candidate-timeline > div {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    color: #667085;
    font-size: 11px;
}

.cev-candidate-timeline > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: #d0d5dd;
}

.cev-candidate-timeline span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #98a2b3;
    border-radius: 50%;
    background: #fff;
    color: var(--cev-ink-soft);
    font-weight: 850;
}

.cev-candidate-timeline b {
    color: inherit;
    font-weight: 750;
}

.cev-candidate-timeline .is-done,
.cev-candidate-timeline .is-current {
    color: var(--cev-ink);
}

.cev-candidate-timeline .is-done span {
    border-color: var(--cev-success);
    background: var(--cev-success);
    color: #fff;
}

.cev-candidate-timeline .is-done:not(:last-child)::after {
    background: var(--cev-success);
}

.cev-candidate-timeline .is-current span {
    border-color: var(--cev-blue);
    background: var(--cev-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(20, 74, 158, .12);
}

.cev-candidate-status-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--cev-line);
}

.cev-candidate-status-cards article {
    padding: 20px 22px;
    background: #fff;
}

.cev-candidate-status-cards strong {
    color: var(--cev-ink);
    font-size: 15px;
}

.cev-candidate-modal[hidden] {
    display: none !important;
}

.cev-candidate-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.cev-candidate-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .78);
    backdrop-filter: blur(4px);
}

.cev-candidate-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(980px, 96vw);
    max-height: 92vh;
    overflow: hidden;
    border: 1px solid #9ba7b8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.cev-candidate-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--cev-line);
    background: #fff;
}

.cev-candidate-modal-head h2 {
    margin: 0;
    color: var(--cev-ink);
    font-size: 24px;
    letter-spacing: -.03em;
}

.cev-candidate-modal-head p {
    margin: 7px 0 0;
    color: var(--cev-muted);
    font-size: 13px;
}

.cev-candidate-modal-close {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #aeb7c3;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.cev-candidate-modal-close:hover {
    background: #f2f4f7;
}

.cev-candidate-modal-body {
    flex: 1 1 auto;
    overflow: auto;
    background: #fff;
}

.cev-candidate-form-embed {
    display: block;
    width: 100%;
    min-height: 760px;
}

html.cev-candidate-modal-open,
body.cev-candidate-modal-open {
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .cev-candidate-view {
        padding: 30px;
    }

    .cev-candidate-hero-grid,
    .cev-candidate-role-card,
    .cev-candidate-lookup-grid {
        grid-template-columns: 1fr;
    }

    .cev-candidate-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .cev-candidate-system-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .cev-candidate-role-side {
        padding: 26px 30px;
    }

    .cev-candidate-role-side ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cev-candidate-app-shell {
        border-radius: 16px;
    }

    .cev-candidate-topbar {
        align-items: flex-start;
        padding: 17px;
    }

    .cev-candidate-product-subtitle,
    .cev-candidate-demo-pill {
        display: none;
    }

    .cev-candidate-nav {
        padding: 9px 10px;
    }

    .cev-candidate-nav button {
        padding: 9px 11px;
        font-size: 12px;
    }

    .cev-candidate-view {
        padding: 20px 14px 28px;
    }

    .cev-candidate-hero {
        padding: 24px 20px;
    }

    .cev-candidate-hero h2 {
        font-size: 34px;
    }

    .cev-candidate-hero-actions,
    .cev-candidate-role-actions {
        display: grid;
    }

    .cev-candidate-primary,
    .cev-candidate-secondary {
        width: 100%;
    }

    .cev-candidate-process,
    .cev-candidate-system-strip,
    .cev-candidate-status-cards {
        grid-template-columns: 1fr;
    }

    .cev-candidate-process article {
        min-height: 0;
    }

    .cev-candidate-role-main,
    .cev-candidate-role-side,
    .cev-candidate-lookup-card {
        padding: 22px 18px;
    }

    .cev-candidate-role-side ol {
        grid-template-columns: 1fr;
    }

    .cev-candidate-input-row {
        grid-template-columns: 1fr;
    }

    .cev-candidate-board-frame iframe {
        min-height: 650px;
    }

    .cev-candidate-status-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .cev-candidate-timeline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
    }

    .cev-candidate-timeline > div {
        grid-template-columns: 32px 1fr;
        justify-items: start;
        align-items: center;
        text-align: left;
    }

    .cev-candidate-timeline > div:not(:last-child)::after {
        top: 29px;
        bottom: -15px;
        left: 15px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .cev-candidate-modal {
        padding: 0;
    }

    .cev-candidate-modal-dialog {
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .cev-candidate-modal-head {
        padding: 17px;
    }

    .cev-candidate-modal-head h2 {
        font-size: 20px;
    }

    .cev-candidate-form-embed {
        min-height: calc(100vh - 112px);
    }
}

/* =========================================================
 * v0.3.0 - lazy ClickUp embeds, board controls, demo lookup
 * ========================================================= */

.cev-candidate-board-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.cev-candidate-board-refresh {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid #98a2b3;
    border-radius: 9px;
    background: #fff;
    color: var(--cev-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.cev-candidate-board-refresh:hover:not(:disabled) {
    border-color: #667085;
    background: #f8fafc;
}

.cev-candidate-board-refresh:disabled {
    opacity: .62;
    cursor: wait;
}

.cev-candidate-board-refresh.is-spinning > span {
    animation: cevCandidateSpin .8s linear infinite;
}

.cev-candidate-board-frame {
    position: relative;
    min-height: 700px;
}

.cev-candidate-board-loading,
.cev-candidate-form-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 30px;
    background: #fff;
    text-align: center;
}

.cev-candidate-board-loading[hidden],
.cev-candidate-form-loading[hidden] {
    display: none !important;
}

.cev-candidate-board-loading strong,
.cev-candidate-form-loading strong {
    color: var(--cev-ink);
    font-size: 14px;
}

.cev-candidate-board-loading span {
    max-width: 440px;
    color: var(--cev-muted);
    font-size: 12px;
    line-height: 1.5;
}

.cev-candidate-board-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #dbe3ec;
    border-top-color: var(--cev-blue);
    border-radius: 50%;
    animation: cevCandidateSpin .8s linear infinite;
}

@keyframes cevCandidateSpin {
    to { transform: rotate(360deg); }
}

.cev-candidate-board-frame.is-loading .cev-candidate-board-embed {
    opacity: .25;
}

.cev-candidate-board-embed {
    transition: opacity .18s ease;
}

.cev-candidate-lookup-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 9px;
}

.cev-candidate-lookup-actions .cev-candidate-field-help {
    margin: 0;
}

.cev-candidate-demo-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cev-blue);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cev-candidate-demo-link:hover {
    color: var(--cev-blue-strong);
}

.cev-candidate-lookup-message {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 11px;
    align-items: center;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--cev-line-soft);
}

.cev-candidate-lookup-message[hidden] {
    display: none !important;
}

.cev-candidate-lookup-message strong {
    display: block;
    color: var(--cev-ink);
    font-size: 13px;
}

.cev-candidate-lookup-message p {
    margin: 3px 0 0;
    color: var(--cev-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cev-candidate-lookup-message.is-error .cev-candidate-preview-icon {
    background: #fef3f2;
    color: #b42318;
}

.cev-candidate-search-results {
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid var(--cev-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}

.cev-candidate-search-results[hidden],
.cev-candidate-status-preview[hidden] {
    display: none !important;
}

.cev-candidate-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 22px;
    border-bottom: 1px solid var(--cev-line);
    background: #f8fafc;
}

.cev-candidate-results-head small {
    display: block;
    margin-bottom: 3px;
    color: var(--cev-subtle);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.cev-candidate-results-head h3 {
    margin: 0;
    color: var(--cev-ink);
    font-size: 18px;
}

.cev-candidate-results-head > span {
    max-width: 48%;
    overflow: hidden;
    color: var(--cev-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cev-candidate-application-result {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 22px;
    border: 0;
    background: #fff;
    color: var(--cev-ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: background .15s ease;
}

.cev-candidate-application-result:hover {
    background: #f8fbff;
}

.cev-candidate-application-result > div:first-child {
    display: grid;
    gap: 5px;
}

.cev-candidate-result-label {
    color: var(--cev-blue);
    font-size: 12px;
    font-weight: 850;
}

.cev-candidate-application-result strong {
    color: var(--cev-ink);
    font-size: 18px;
}

.cev-candidate-application-result small {
    color: var(--cev-muted);
    font-size: 12px;
}

.cev-candidate-result-side {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.cev-candidate-result-side b {
    color: var(--cev-blue);
    font-size: 12px;
}

.cev-candidate-waiting-badge,
.cev-candidate-owner-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}

.cev-candidate-waiting-badge,
.cev-candidate-owner-chip.is-candidate {
    border: 1px solid #fedf89;
    background: #fffaeb;
    color: #93370d;
}

.cev-candidate-next-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
    border-top: 1px solid var(--cev-line);
    background: #fff;
}

.cev-candidate-next-step > div {
    max-width: 720px;
}

.cev-candidate-next-step small {
    display: block;
    margin-bottom: 5px;
    color: var(--cev-subtle);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.cev-candidate-next-step strong {
    display: block;
    color: var(--cev-ink);
    font-size: 15px;
}

.cev-candidate-next-step p {
    margin: 5px 0 0;
    color: var(--cev-muted);
    font-size: 12px;
    line-height: 1.5;
}

.cev-candidate-modal-body {
    position: relative;
}

.cev-candidate-form-loading {
    min-height: 420px;
}

@media (max-width: 760px) {
    .cev-candidate-board-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .cev-candidate-lookup-actions,
    .cev-candidate-results-head,
    .cev-candidate-application-result,
    .cev-candidate-next-step {
        align-items: stretch;
        flex-direction: column;
    }

    .cev-candidate-results-head > span {
        max-width: 100%;
    }

    .cev-candidate-result-side {
        justify-items: start;
    }

    .cev-candidate-next-step {
        gap: 14px;
    }
}

/* =========================================================
 * V0.4.2 LIVE CANDIDATE LOOKUP
 * ========================================================= */

.cev-candidate-lookup-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.cev-candidate-lookup-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.cev-candidate-lookup-head h2 {
    margin: 8px 0 10px;
    color: var(--cev-ink);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.cev-candidate-lookup-head p {
    margin: 0;
    color: var(--cev-muted);
    font-size: 15px;
    line-height: 1.68;
}

.cev-candidate-lookup-card {
    padding: 26px;
    border: 1px solid #bfc7d3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .07);
}

.cev-candidate-lookup-card form {
    max-width: 760px;
}

.cev-candidate-lookup-message {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #f8fafc;
}

.cev-candidate-lookup-message.is-error {
    border-color: #fda29b;
    background: #fff5f5;
}

.cev-candidate-lookup-message.is-error .cev-candidate-preview-icon {
    background: #fee4e2;
    color: #b42318;
}

.cev-candidate-button-spinner {
    width: 15px;
    height: 15px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cev-candidate-spin .72s linear infinite;
}

.cev-candidate-search-results {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #bfc7d3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}

.cev-candidate-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--cev-line);
    background: #f8fafc;
}

.cev-candidate-results-head small {
    display: block;
    margin-bottom: 3px;
    color: var(--cev-subtle);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cev-candidate-results-head h3 {
    margin: 0;
    color: var(--cev-ink);
    font-size: 19px;
}

.cev-candidate-results-head > span {
    max-width: 360px;
    overflow: hidden;
    color: var(--cev-ink-soft);
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cev-candidate-results-list {
    display: grid;
}

.cev-candidate-application-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 22px;
    border: 0;
    border-bottom: 1px solid var(--cev-line-soft);
    background: #fff;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: background .16s ease, box-shadow .16s ease;
}

.cev-candidate-application-result:last-child {
    border-bottom: 0;
}

.cev-candidate-application-result:hover,
.cev-candidate-application-result:focus-visible {
    outline: none;
    background: #f5f9ff;
    box-shadow: inset 4px 0 0 var(--cev-blue-bright);
}

.cev-candidate-result-main {
    display: grid;
    gap: 5px;
}

.cev-candidate-waiting-badge.is-orbitdesk,
.cev-candidate-owner-chip.is-orbitdesk {
    border: 1px solid #b7d8ff;
    background: #eaf4ff;
    color: #123f7c;
}

.cev-candidate-waiting-badge.is-scheduled,
.cev-candidate-owner-chip.is-scheduled {
    border: 1px solid #c7d7fe;
    background: #eef4ff;
    color: #3538cd;
}

.cev-candidate-waiting-badge.is-complete,
.cev-candidate-owner-chip.is-complete {
    border: 1px solid #abefc6;
    background: #ecfdf3;
    color: #067647;
}

.cev-candidate-status-preview {
    margin-top: 22px;
    border: 1px solid #bfc7d3;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}

.cev-candidate-timeline .is-skipped {
    color: #98a2b3;
}

.cev-candidate-timeline .is-skipped span {
    border-style: dashed;
    border-color: #d0d5dd;
    color: #98a2b3;
    background: #f8fafc;
}

.cev-candidate-timeline .is-skipped b {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.cev-candidate-board-refresh {
    white-space: nowrap;
}

.cev-candidate-board-refresh.is-spinning > span {
    display: inline-block;
    animation: cev-candidate-spin .8s linear infinite;
}

@keyframes cev-candidate-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 760px) {
    .cev-candidate-lookup-card {
        padding: 20px;
    }

    .cev-candidate-input-row {
        grid-template-columns: 1fr;
    }

    .cev-candidate-input-row .cev-candidate-primary {
        width: 100%;
    }

    .cev-candidate-results-head,
    .cev-candidate-application-result {
        align-items: flex-start;
        flex-direction: column;
    }

    .cev-candidate-result-side {
        width: 100%;
        justify-items: start;
    }

    .cev-candidate-status-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cev-candidate-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cev-candidate-timeline > div {
        grid-template-columns: 32px 1fr;
        justify-items: start;
        align-items: center;
        text-align: left;
    }

    .cev-candidate-timeline > div:not(:last-child)::after {
        top: 30px;
        bottom: -12px;
        left: 15px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .cev-candidate-status-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
 * V0.4.2 REJECTION STATE
 * ========================================================= */

.cev-candidate-waiting-badge.is-rejected,
.cev-candidate-owner-chip.is-rejected {
    border: 1px solid #fda29b;
    background: #fff1f0;
    color: #b42318;
}

.cev-candidate-stage-pill.is-rejected {
    border-color: #fda29b;
    background: #fff1f0;
    color: #b42318;
}

.cev-candidate-timeline .is-rejected {
    color: #b42318;
}

.cev-candidate-timeline .is-rejected::before {
    background: #fda29b;
}

.cev-candidate-timeline .is-rejected span {
    border-color: #d92d20;
    background: #d92d20;
    color: #fff;
    box-shadow: 0 0 0 5px #fee4e2;
}

/* =========================================================
 * V0.5.0 OVERVIEW + BOARD SWITCHER + HUMAN WORKBENCH
 * ========================================================= */

.cev-candidate-overview-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cev-candidate-overview-actions article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 24px;
    border: 1px solid #c5ccd6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, .045);
}

.cev-candidate-overview-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eaf4ff;
    color: #144a9e;
    font-size: 12px;
    font-weight: 900;
}

.cev-candidate-overview-actions small {
    display: block;
    margin-bottom: 3px;
    color: #667085;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cev-candidate-overview-actions h3 {
    margin: 0 0 7px;
    color: #101828;
    font-size: 19px;
}

.cev-candidate-overview-actions p {
    margin: 0;
    color: #475467;
    font-size: 13px;
    line-height: 1.58;
}

.cev-candidate-overview-actions button {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #144a9e;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.cev-candidate-overview-actions button:hover {
    color: #0f3978;
    text-decoration: underline;
}

.cev-candidate-flow-explainer {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
    gap: 28px;
    margin-top: 18px;
    padding: 30px;
    border: 1px solid #c5ccd6;
    border-radius: 17px;
    background: #0f172a;
}

.cev-candidate-flow-copy h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.cev-candidate-flow-copy p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.cev-candidate-flow-explainer .cev-candidate-kicker {
    color: #60a5fa;
}

.cev-candidate-flow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cev-candidate-flow-steps > div {
    padding: 17px;
    border: 1px solid #34435c;
    border-radius: 12px;
    background: #162238;
}

.cev-candidate-flow-steps span,
.cev-candidate-flow-steps b,
.cev-candidate-flow-steps small {
    display: block;
}

.cev-candidate-flow-steps span {
    margin-bottom: 5px;
    color: #93c5fd;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cev-candidate-flow-steps b {
    color: #fff;
    font-size: 15px;
}

.cev-candidate-flow-steps small {
    margin-top: 5px;
    color: #b9c3d2;
    font-size: 12px;
    line-height: 1.45;
}

.cev-candidate-tag-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.cev-candidate-tag-guide > div {
    padding: 18px;
    border: 1px solid #c5ccd6;
    border-radius: 14px;
    background: #fff;
}

.cev-candidate-tag-guide p {
    margin: 12px 0 0;
    color: #475467;
    font-size: 12.5px;
    line-height: 1.55;
}

.cev-candidate-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
}

.cev-candidate-tag.is-user {
    border-color: #80caff;
    background: #eff8ff;
    color: #175cd3;
}

.cev-candidate-tag.is-decision {
    border-color: #fdb022;
    background: #fffaeb;
    color: #b54708;
}

.cev-candidate-tag.is-stage {
    border-color: #b9b5f7;
    background: #f4f3ff;
    color: #5925dc;
}

.cev-candidate-board-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    padding: 6px;
    border: 1px solid #bfc7d3;
    border-radius: 14px;
    background: #e9edf3;
}

.cev-candidate-board-switch button {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #344054;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.cev-candidate-board-switch button span {
    font-size: 13px;
    font-weight: 850;
}

.cev-candidate-board-switch button small {
    color: #667085;
    font-size: 11px;
}

.cev-candidate-board-switch button.is-active {
    border-color: #144a9e;
    background: #144a9e;
    color: #fff;
    box-shadow: 0 3px 8px rgba(20, 74, 158, .2);
}

.cev-candidate-board-switch button.is-active small {
    color: #dbeafe;
}

.cev-candidate-board-stack {
    position: relative;
}

.cev-candidate-board-frame[hidden] {
    display: none !important;
}

.cev-candidate-board-frame.is-active {
    display: block;
}

.cev-candidate-workbench {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid #bfc7d3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .055);
}

.cev-candidate-workbench-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.cev-candidate-workbench-head h3 {
    margin: 0;
    color: #101828;
    font-size: 27px;
    letter-spacing: -.025em;
}

.cev-candidate-workbench-head p {
    max-width: 850px;
    margin: 10px 0 0;
    color: #475467;
    font-size: 13px;
    line-height: 1.65;
}

.cev-candidate-workbench-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    background: #f8fafc;
    color: #475467;
    font-size: 11.5px;
    font-weight: 700;
}

.cev-candidate-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
}

.cev-candidate-legend-dot.is-user {
    background: #2e90fa;
}

.cev-candidate-legend-dot.is-decision {
    background: #f79009;
}

.cev-candidate-workbench-message {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #b9d8ff;
    border-radius: 12px;
    background: #f5f9ff;
}

.cev-candidate-workbench-message[hidden] {
    display: none !important;
}

.cev-candidate-workbench-message strong,
.cev-candidate-workbench-message p {
    display: block;
    margin: 0;
}

.cev-candidate-workbench-message strong {
    color: #101828;
    font-size: 13px;
}

.cev-candidate-workbench-message p {
    margin-top: 2px;
    color: #475467;
    font-size: 12px;
}

.cev-candidate-workbench-message.is-error {
    border-color: #fda29b;
    background: #fff6f5;
}

.cev-candidate-workbench-message.is-success {
    border-color: #abefc6;
    background: #ecfdf3;
}

.cev-candidate-workbench-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.cev-candidate-workbench-list[hidden] {
    display: none !important;
}

.cev-candidate-workbench-card {
    overflow: hidden;
    border: 1px solid #c7ced8;
    border-radius: 15px;
    background: #fff;
    transition: opacity .15s ease;
}

.cev-candidate-workbench-card.is-busy {
    opacity: .65;
}

.cev-candidate-workbench-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid #e4e7ec;
    background: #f8fafc;
}

.cev-candidate-workbench-card h4 {
    margin: 0;
    color: #101828;
    font-size: 19px;
}

.cev-candidate-workbench-card header p {
    margin: 3px 0 0;
    color: #667085;
    font-size: 12px;
}

.cev-candidate-workbench-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.cev-candidate-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid #bfc7d3;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    font-size: 10px;
    font-weight: 850;
}

.cev-candidate-status-chip.is-rejected {
    border-color: #fda29b;
    background: #fff1f0;
    color: #b42318;
}

.cev-candidate-status-chip.is-screening-interview,
.cev-candidate-status-chip.is-final-interview {
    border-color: #b7d8ff;
    background: #eff8ff;
    color: #175cd3;
}

.cev-candidate-workbench-context {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid #e4e7ec;
}

.cev-candidate-workbench-context-item {
    min-width: 0;
    padding: 15px 18px;
    border-right: 1px solid #e4e7ec;
}

.cev-candidate-workbench-context-item:last-child {
    border-right: 0;
}

.cev-candidate-workbench-context-item small {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 9.5px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cev-candidate-workbench-context-item div {
    color: #101828;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cev-candidate-workbench-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border-bottom: 1px solid #e4e7ec;
    background: #e4e7ec;
}

.cev-candidate-workbench-details .is-wide {
    background: #fff;
}

.cev-candidate-workbench-details .cev-candidate-workbench-context-item div {
    color: #475467;
    font-weight: 500;
    line-height: 1.58;
}

.cev-candidate-workbench-controls {
    padding: 20px 22px 22px;
    background: #fff;
}

.cev-candidate-workbench-controls.is-decision {
    border-left: 4px solid #f79009;
}

.cev-candidate-workbench-controls.is-interview {
    border-left: 4px solid #2e90fa;
}

.cev-candidate-workbench-control-copy small,
.cev-candidate-workbench-control-copy strong,
.cev-candidate-workbench-control-copy p {
    display: block;
}

.cev-candidate-workbench-control-copy small {
    color: #667085;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cev-candidate-workbench-control-copy strong {
    margin-top: 4px;
    color: #101828;
    font-size: 16px;
}

.cev-candidate-workbench-control-copy p {
    max-width: 850px;
    margin: 6px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.cev-candidate-workbench-controls label {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    color: #344054;
    font-size: 11px;
    font-weight: 800;
}

.cev-candidate-workbench-controls textarea,
.cev-candidate-workbench-controls select {
    width: 100%;
    border: 1px solid #98a2b3;
    border-radius: 9px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 13px;
}

.cev-candidate-workbench-controls textarea {
    min-height: 78px;
    padding: 11px 12px;
    resize: vertical;
}

.cev-candidate-workbench-controls select {
    min-height: 42px;
    padding: 8px 10px;
}

.cev-candidate-workbench-controls textarea:focus,
.cev-candidate-workbench-controls select:focus {
    outline: 3px solid rgba(30, 144, 255, .16);
    border-color: #1e90ff;
}

.cev-candidate-workbench-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
    align-items: start;
}

.cev-candidate-workbench-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.cev-candidate-danger {
    padding: 12px 16px;
    border: 1px solid #d92d20;
    border-radius: 10px;
    background: #fff;
    color: #b42318;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.cev-candidate-danger:hover {
    background: #fff1f0;
}

.cev-candidate-workbench-passive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 22px;
    background: #f8fafc;
    color: #667085;
}

.cev-candidate-workbench-passive strong,
.cev-candidate-workbench-passive span {
    display: block;
}

.cev-candidate-workbench-passive strong {
    color: #344054;
    font-size: 12px;
}

.cev-candidate-workbench-passive span {
    font-size: 11.5px;
}

@media (max-width: 1050px) {
    .cev-candidate-overview-actions,
    .cev-candidate-flow-explainer {
        grid-template-columns: 1fr;
    }

    .cev-candidate-tag-guide {
        grid-template-columns: 1fr;
    }

    .cev-candidate-workbench-context {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cev-candidate-workbench-context-item {
        border-bottom: 1px solid #e4e7ec;
    }
}

@media (max-width: 760px) {
    .cev-candidate-overview-actions {
        grid-template-columns: 1fr;
    }

    .cev-candidate-flow-steps,
    .cev-candidate-board-switch,
    .cev-candidate-workbench-details,
    .cev-candidate-workbench-form-grid,
    .cev-candidate-workbench-context {
        grid-template-columns: 1fr;
    }

    .cev-candidate-workbench,
    .cev-candidate-flow-explainer {
        padding: 20px;
    }

    .cev-candidate-workbench-head,
    .cev-candidate-workbench-card > header,
    .cev-candidate-workbench-passive {
        align-items: flex-start;
        flex-direction: column;
    }

    .cev-candidate-workbench-tags {
        justify-content: flex-start;
    }

    .cev-candidate-workbench-context-item {
        border-right: 0;
    }

    .cev-candidate-board-switch button {
        text-align: center;
    }
}

/* =========================================================
 * v0.5.1 - master/detail human workbench
 * ========================================================= */

.cev-candidate-workbench-layout {
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}

.cev-candidate-workbench-layout[hidden] {
    display: none !important;
}

.cev-candidate-workbench-picker {
    overflow: hidden;
    border: 1px solid #c7ced8;
    border-radius: 14px;
    background: #f8fafc;
}

.cev-candidate-workbench-picker-head {
    display: grid;
    gap: 4px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid #dfe3e8;
    background: #101828;
}

.cev-candidate-workbench-picker-head small {
    color: #9ec5ff;
    font-size: 9.5px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cev-candidate-workbench-picker-head strong {
    color: #fff;
    font-size: 15px;
}

.cev-candidate-workbench-picker-head span {
    color: #cbd5e1;
    font-size: 11px;
    line-height: 1.45;
}

.cev-candidate-workbench-list {
    display: grid;
    gap: 0;
    max-height: 610px;
    margin-top: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cev-candidate-workbench-picker-item {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 14px 15px;
    border: 0;
    border-bottom: 1px solid #e4e7ec;
    background: #fff;
    color: #101828;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.cev-candidate-workbench-picker-item:last-child {
    border-bottom: 0;
}

.cev-candidate-workbench-picker-item:hover {
    background: #f4f8ff;
}

.cev-candidate-workbench-picker-item.is-active {
    position: relative;
    z-index: 1;
    background: #eef5ff;
    box-shadow: inset 4px 0 0 #144a9e;
}

.cev-candidate-workbench-picker-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.cev-candidate-workbench-picker-top > div {
    min-width: 0;
}

.cev-candidate-workbench-picker-top strong,
.cev-candidate-workbench-picker-top span {
    display: block;
}

.cev-candidate-workbench-picker-top strong {
    overflow: hidden;
    color: #101828;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cev-candidate-workbench-picker-top > div > span {
    margin-top: 2px;
    overflow: hidden;
    color: #667085;
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cev-candidate-workbench-picker-signal {
    padding: 4px 7px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}

.cev-candidate-workbench-picker-signal.is-decision {
    background: #fff4e5;
    color: #b54708;
}

.cev-candidate-workbench-picker-signal.is-interview {
    background: #eff8ff;
    color: #175cd3;
}

.cev-candidate-workbench-picker-signal.is-complete {
    background: #f2f4f7;
    color: #667085;
}

.cev-candidate-workbench-picker-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.cev-candidate-workbench-detail {
    min-width: 0;
    min-height: 360px;
}

.cev-candidate-workbench-empty {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 360px;
    padding: 34px;
    border: 1px dashed #b8c2d0;
    border-radius: 15px;
    background: #fbfcfe;
    text-align: center;
}

.cev-candidate-workbench-empty-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #144a9e;
    font-size: 19px;
    font-weight: 800;
}

.cev-candidate-workbench-empty strong {
    color: #101828;
    font-size: 15px;
}

.cev-candidate-workbench-empty p {
    max-width: 430px;
    margin: 7px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.cev-candidate-workbench-detail .cev-candidate-workbench-card {
    margin: 0;
    box-shadow: 0 5px 18px rgba(16, 24, 40, .055);
}

@media (max-width: 900px) {
    .cev-candidate-workbench-layout {
        grid-template-columns: 1fr;
    }

    .cev-candidate-workbench-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 330px;
    }

    .cev-candidate-workbench-picker-item:nth-last-child(2):nth-child(odd) {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {
    .cev-candidate-workbench-list {
        grid-template-columns: 1fr;
        max-height: 285px;
    }

    .cev-candidate-workbench-picker-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .cev-candidate-workbench-picker-signal {
        justify-self: start;
    }
}
