
    .ct-shortlist-backdrop {
        position: fixed; inset: 0; z-index: 2000;
        background: rgba(15,23,42,0.55);
        display: flex; align-items: center; justify-content: center;
        backdrop-filter: blur(2px);
    }
    .ct-shortlist-modal {
        background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(15,23,42,0.35);
        padding: 28px 24px; max-width: 460px; width: 90%; text-align: center;
        border: 1px solid #e7e2d6; animation: ct-modal-in 0.18s ease;
    }
    .ct-shortlist-icon { font-size: 38px; color: #b91c1c; margin-bottom: 10px; }
    .ct-shortlist-title { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 10px; letter-spacing: 0.2px; }
    .ct-shortlist-body { font-size: 13.5px; color: #334155; line-height: 1.6; margin: 0 0 18px; }
    .ct-shortlist-btn { min-width: 140px; }
    .ct-shortlist-btn:focus { outline: 2px solid #8A0000; outline-offset: 2px; box-shadow: 0 0 0 3px rgba(138,0,0,.25); }
    @@keyframes ct-modal-in { from { opacity:0; transform: translateY(8px) scale(0.98); } to { opacity:1; transform:none; } }
    @@keyframes ct-missing-pulse {
        0% { box-shadow: 0 0 0 0 rgba(153,27,27,.55); background-color: #fef2f2; }
        50% { box-shadow: 0 0 0 4px rgba(153,27,27,.25); background-color: #fee2e2; }
        100% { box-shadow: 0 0 0 0 rgba(153,27,27,.55); background-color: #fef2f2; }
    }
    .ct-missing-field {
        background-color: #fef2f2 !important;
        border-radius: 4px;
        animation: ct-missing-pulse 1.2s ease-in-out infinite;
    }
    .ct-missing-field .car-in,
    .ct-missing-field input.car-in {
        border: 2px solid #991b1b !important;
        background-color: #fef2f2 !important;
        color: #7f1d1d !important;
        box-shadow: 0 0 0 3px rgba(153,27,27,.20) !important;
        animation: ct-missing-pulse 1.2s ease-in-out infinite;
    }
    .ct-missing-field .car-in::placeholder { color: #b91c1c !important; font-weight: 600; opacity: 1; }
    .car-wrap {
        --car-font-ui: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        display: flex;
        flex-direction: column;
        height: calc(100vh - 3.5rem);
        min-height: 420px;
        font-family: var(--car-font-ui);
        font-size: 14px;
        color: #0f172a;
        background: #F6F3EC;
        margin: -1.1rem -1.5rem 0 -2rem;
        overflow: hidden;
    }
    .ct-toolbar {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 18px;
        background: #EFEAE0;
        border-bottom: 1px solid #cfc8b6;
    }
    .ct-count { margin-left: auto; color: #64748b; font-size: 12px; font-weight: 600; white-space: nowrap; }
    /* Ledger strip — same layout as /project-demand so the DATE box sits at the right side. */
    .car-info-panel {
        flex: 0 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 18px;
        background: #F6F3EC;
        border-bottom: 1px solid #cfc8b6;
        font-family: var(--car-font-ui);
    }
    .car-info-left { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
    .ct-reg { border-collapse: collapse; width: 100%; table-layout: fixed; background: #fff; }
    .ct-reg thead { position: sticky; top: 0; z-index: 2; }
    .ct-reg thead th {
        position: relative;
        background: #F6F3EC; color: #8A0000;
        font-family: var(--car-font-ui); font-weight: 700; font-size: 13px;
        letter-spacing: .5px; text-transform: uppercase; text-align: center;
        padding: 0 8px; height: 40px; vertical-align: middle;
        border-right: 1px solid #d9d3c3; border-bottom: 2px solid #8A0000;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .ct-reg thead th:last-child { border-right: none; }
    .ct-req-star { position: absolute; top: 2px; right: 5px; color: #c00; font-size: 13px; font-weight: 800; line-height: 1; }
    .ct-reg td {
        border-right: 1px solid #e9e5d8; border-bottom: 1px solid #ebe8dd;
        padding: 3px 7px; font-size: 15px; font-weight: 500; color: #0f172a;
        vertical-align: middle; height: 36px;
    }
    .ct-reg td:last-child { border-right: none; }
    .ct-reg tbody tr:hover td { background: rgba(138,0,0,.04); }
    .ct-reg .saved-sl {
        text-align: center; color: #1a357e; font-weight: 700;
        background: #F6F3EC !important; border-right: 1px solid #d9d3c3 !important;
    }
    .ct-reg .saved-sl:focus {
        outline: none;
        border: 1.5px solid #8A0000 !important;
        background: #fff !important;
        box-shadow: 0 0 0 3px rgba(138,0,0,.16);
    }
    .ct-reg .saved-sl:focus-visible {
        outline: 2px solid #8A0000;
        outline-offset: -2px;
    }
    .ct-reg td.saved-action { text-align: center; }
    .ct-age { display: block; font-size: 11px; color: #64748b; }
    .ct-empty { text-align: center; color: #94a3b8; padding: 24px; }

    .ct-datebar {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 18px;
        background: #EFEAE0;
        border-bottom: 1px solid #cfc8b6;
    }
    .ct-datebar label { color: #8A0000; font-weight: 700; font-size: 13px; letter-spacing: .5px; }
    .ct-date-input {
        border: 1px solid #c9c2b0; background: #fff; color: #14213d;
        font-family: var(--car-font-ui); font-size: 14px; font-weight: 600;
        padding: 5px 10px; border-radius: 6px;
    }
    .ct-date-input:focus { outline: none; border-color: #8A0000; box-shadow: 0 0 0 3px rgba(138,0,0,.16); }
    .ct-date-note { color: #64748b; font-size: 12px; font-weight: 600; }

    /* Grid interaction lock: native fieldset blocks mouse AND keyboard edits
       while a save is in flight, so values cannot change mid-transaction. */
    fieldset.ct-grid-lock { border: 0; margin: 0; padding: 0; min-width: 0; }

    /* DATE box in the top info panel — same location and alignment as /project-demand. */
    .car-entry-date {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex: 0 0 auto;
    }
    .car-date-label {
        color: #8A0000;
        font-weight: 700;
        font-size: 13px;
        letter-spacing: .5px;
        white-space: nowrap;
    }
    .car-date-field {
        position: relative;
        display: inline-flex;
        width: 140px;
    }
    .car-date-input {
        width: 140px;
        border: 1px solid #c9c2b0;
        background: #fff;
        color: #14213d;
        font-family: var(--car-font-ui);
        font-size: 14px;
        font-weight: 600;
        padding: 5px 10px;
        border-radius: 6px;
        transition: all .18s ease;
    }
    .car-date-input::placeholder { color: #94a3b8; font-weight: 400; }
    .car-date-input:hover { border-color: #1e3aa8; }
    .car-date-input:focus {
        outline: none;
        border-color: #1e3aa8;
        box-shadow: 0 0 0 3px rgba(30,58,168,.16);
    }

    /* Narrow viewports: let the ledger strip wrap so the DATE box stays
       visible at the right instead of clipping off-screen. */
    @media (max-width: 760px) {
        .car-info-panel { flex-wrap: wrap; row-gap: 8px; }
        .car-entry-date { margin-left: auto; }
    }

    /* â”€â”€ Inline editable cell editors (mirror ProjectDemand, red theme) â”€â”€ */
    .car-in {
        width: 100%;
        border: 1px solid transparent;
        background: transparent;
        color: #0f172a;
        font-family: var(--car-font-ui);
        font-size: 15px;
        font-weight: 500;
        padding: 3px 6px;
        border-radius: 4px;
        transition: all .12s ease;
        caret-color: #1e3aa8;
    }
    .car-in::placeholder { color: #94a3b8; font-weight: 400; opacity: 1; }
    .car-in:hover { border-color: #d0c8b2; background: #fffdf7; }
    .car-in:focus {
        outline: none;
        border-color: #8A0000;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(138,0,0,.16);
        font-weight: 600;
    }
    .car-in-num { text-align: right; }

    .car-btn-secondary {
        border-radius: 7px;
        cursor: pointer;
        white-space: nowrap;
        font-family: var(--car-font-ui);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .15px;
        padding: 8px 26px;
        transition: all .18s ease;
        background: #fff;
        border: 1.5px solid #c3cad8;
        color: #16337a;
        box-shadow: 0 2px 6px rgba(11,30,91,.15);
    }
    .car-btn-secondary:hover:not(:disabled) {
        background: #f3f7ff;
        border-color: #93b4fb;
        transform: translateY(-1px);
    }
    .car-btn-secondary:active:not(:disabled) { transform: translateY(0); }
    /* Hide up/down spinner arrows on number inputs (Present/Expected Salary) */
    .car-in-num::-webkit-outer-spin-button,
    .car-in-num::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    .car-in-num { -moz-appearance: textfield; appearance: textfield; }

    .car-error-bar {
        margin: 8px 12px 0;
        background: #fdecea;
        border: 1px solid #e0b4ae;
        border-left: 4px solid #c0392b;
        color: #7b241c;
        font-size: 14px;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 6px;
        flex: 0 0 auto;
        font-family: var(--car-font-ui);
    }
    .car-success-bar {
        margin: 8px 12px 0;
        background: #e7f6ec;
        border: 1px solid #b6e2c6;
        border-left: 4px solid #0f7a3d;
        color: #0f7a3d;
        font-size: 14px;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 6px;
        flex: 0 0 auto;
        font-family: var(--car-font-ui);
    }

    .ct-cell { position: relative; }
    .ct-pop {
        position: absolute; top: 100%; left: 0; z-index: 200; min-width: 230px;
        background: #fff; border: 1px solid #d8b4b4; border-radius: 8px;
        box-shadow: 0 10px 28px rgba(138,0,0,.22); padding: 10px; text-align: left;
    }
    .ct-pop-title { font-size: 12px; font-weight: 700; color: #8A0000; margin-bottom: 6px; }
    .ct-pop-ta { width: 250px; height: 96px; resize: vertical; }
    .ct-pop-count { font-size: 11px; color: #64748b; margin-top: 4px; }
    .ct-pop-btns { display: flex; gap: 6px; margin-top: 8px; }
    .ct-pop-btns .car-btn-secondary { padding: 4px 12px; font-size: 12px; }
    .ct-tl-trigger {
        cursor: pointer; padding: 3px 6px; border: 1px solid transparent; border-radius: 4px;
        min-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px;
    }
    .ct-tl-trigger:hover { border-color: #d0c8b2; background: #fffdf7; }
    .ct-tl-empty { color: #94a3b8; font-style: italic; }
    
    /* Visual indicator for required TL Remarks */
    .ct-tl-required-star {
        color: #dc2626;
        font-weight: 700;
        font-size: 14px;
        margin-right: 4px;
        vertical-align: middle;
    }
    .ct-cell-required {
        background: rgba(220, 38, 38, 0.03);
        border-left: 2px solid #fca5a5 !important;
    }

    .ct-pop-tl {
        position: absolute;
        top: 0;
        right: calc(100% + 6px);
        width: 360px;
        max-width: calc(100vw - 48px);
        z-index: 300;
    }
    .ct-confirm {
        position: absolute; inset: 0; z-index: 10;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 8px;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 14px; padding: 14px; text-align: center;
    }
    .ct-confirm-text { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.45; }
    .ct-confirm-btns { display: flex; gap: 8px; margin-top: 2px; }
    .ct-confirm-btns .car-btn-secondary { padding: 6px 16px; font-size: 13px; }

    .ct-pager {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        padding: 8px 16px;
        background: #EDE9DD;
        border-top: 1px solid #cfc8b6;
    }
    .ct-page { color: #16337a; font-size: 13px; font-weight: 700; }
    .ct-pager .car-btn-secondary { min-width: 110px; padding: 6px 18px; }
    .ct-footer {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        padding: 12px 16px;
        background: #E4DFD2;
        border-top: 1px solid #cfc8b6;
    }
    .ct-footer .car-btn-secondary { min-width: 130px; }

    /* Recruiter Name searchable dropdown (mirrors /project-demand Mode of Interview / Country combos) */
    .ctr-rec-cell { position: relative; padding: 0 !important; overflow: visible; }
    .car-combo { position: relative; width: 100%; }
    .car-combo-list {
        position: absolute; z-index: 1050; top: 100%; left: 0; right: 0;
        max-height: 220px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
        margin: 0; padding: 2px 0; list-style: none;
        background: #fff; border: 1px solid #c7cdd6; border-radius: 6px;
        box-shadow: 0 8px 24px rgba(15,23,42,.18); text-align: left;
    }
    .car-combo-item { padding: 6px 10px; cursor: pointer; font-size: 13px; color: #1e293b; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .car-combo-item:hover, .car-combo-item.active { background: #eef2ff; color: #1d4ed8; }
    .car-combo-empty { padding: 6px 10px; font-size: 13px; color: #94a3b8; }
    .car-combo-label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .car-combo-add .car-combo-label { font-style: italic; }
    .car-combo-del {
        border: none; background: #fee2e2; color: #b91c1c; border-radius: 50%;
        width: 18px; height: 18px; line-height: 1; cursor: pointer; font-weight: 700;
        flex: 0 0 auto; padding: 0;
    }
    .car-combo-del:hover { background: #fecaca; }
