:root{--navy:#101820;--blue:#2764ff;--bg:#f4f6fa;--text:#18202a;--muted:#6b7280;--border:#e4e8ef}*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text)}a{text-decoration:none}.crm-body{background:var(--bg)}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);padding:1.25rem;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:.75rem;color:#fff;font-size:1.25rem;font-weight:800}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#2764ff,#63a4ff);font-size:.8rem}.sidebar .nav{margin-top:2rem;gap:.35rem}.sidebar .nav-link{color:#aeb7c4;border-radius:10px;padding:.75rem .9rem}.sidebar .nav-link:hover,.sidebar .nav-link.active{background:rgba(255,255,255,.1);color:#fff}.sidebar-bottom{margin-top:auto;color:#fff;border-top:1px solid rgba(255,255,255,.12);padding-top:1rem}.sidebar-bottom a{color:#8ab3ff}.app-main{min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 1.5rem;position:sticky;top:0;z-index:20}.content{padding:1.5rem}.crm-card,.metric-card{border:1px solid var(--border);border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,.05);background:#fff}.crm-card .card-header{background:#fff;border-bottom:1px solid var(--border);padding:1rem 1.25rem}.metric-card{padding:1.25rem}.metric-label{color:var(--muted);font-size:.8rem;text-transform:uppercase;font-weight:700;letter-spacing:.05em}.metric-value{font-size:2rem;font-weight:800}.status-badge{display:inline-block;padding:.3rem .55rem;border-radius:999px;background:#eef2f7;font-size:.75rem;font-weight:700;text-transform:capitalize}.status-new{background:#e8f0ff;color:#2355cc}.status-tour_scheduled,.status-toured{background:#fff3cd;color:#8a6410}.status-lease_signed,.status-approved{background:#dcfce7;color:#166534}.status-lost{background:#fee2e2;color:#991b1b}.profile-list{display:grid;grid-template-columns:120px 1fr;gap:.7rem 1rem;margin:0}.profile-list dt{color:var(--muted)}.profile-list dd{margin:0}.timeline{padding:1.25rem}.timeline-item{position:relative;display:grid;grid-template-columns:16px 1fr;gap:.75rem;padding-bottom:1.5rem}.timeline-dot{width:12px;height:12px;border-radius:50%;background:var(--blue);margin-top:.35rem}.pipeline-board{display:flex;gap:1rem;overflow-x:auto;padding-bottom:1rem}.pipeline-column{min-width:280px;background:#eef1f6;border-radius:14px;padding:.75rem}.pipeline-title{display:flex;justify-content:space-between;font-weight:800;padding:.5rem}.pipeline-title span{background:#fff;border-radius:999px;padding:.05rem .5rem}.pipeline-card{display:block;background:#fff;color:var(--text);border:1px solid var(--border);border-radius:12px;padding:.85rem;margin:.6rem 0;box-shadow:0 4px 10px rgba(0,0,0,.04)}.pipeline-card small{display:block;color:var(--muted);margin-top:.35rem}.auth-page{
  min-height:100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(143, 197, 43, .24), transparent 32%),
    linear-gradient(135deg, #f4f8f2 0%, #ffffff 52%, #f3f7f4 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}.auth-card{width:min(100%,460px);background:#fff;border-radius:20px;padding:2rem;box-shadow:0 24px 70px rgba(0,0,0,.3)}.auth-brand{color:var(--navy)}.form-control,.form-select{min-height:46px;border-color:#d8dee8}.btn-primary{--bs-btn-bg:#2764ff;--bs-btn-border-color:#2764ff}.table>thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#667085;white-space:nowrap}@media(max-width:991.98px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:250px;z-index:50;transition:left .2s}.sidebar.open{left:0}.content{padding:1rem}.topbar{padding:0 1rem}}

/* Clicks2Keys branding */
.brand{display:flex;align-items:center;color:#fff;text-decoration:none}.brand:hover{color:#fff}.brand-sidebar{width:100%;min-height:58px;justify-content:flex-start}.brand-logo{display:block;width:auto;max-width:100%;object-fit:contain}.brand-logo-sidebar{width:276px;height:auto;max-height:102px;object-position:center}.auth-brand-logo{display:block;width:min(100%,100px);height:auto;margin:0 auto}.auth-card-brand{display:flex;justify-content:center;margin-bottom:1.5rem}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.sidebar-close{display:none}.mobile-menu-overlay{display:none}

/* Global Clicks2Keys color system */
:root{--navy:#0f1724;--navy-2:#16233a;--blue:#2f6df6;--blue-2:#4c82ff;--green:#3c9f82;--green-2:#61b99e;--gold:#c99400;--gold-2:#e1ad0a;--red:#c75d59;--red-2:#de7772;--purple:#6d63d8;--purple-2:#8b82eb;--bg:#eef3f9;--surface:#fff;--surface-soft:#f7f9fc;--text:#172033;--muted:#6d788c;--border:#dfe6ef;--shadow:0 12px 28px rgba(19,33,57,.08)}
.crm-body{background:radial-gradient(circle at top right,rgba(76,130,255,.08),transparent 26%),linear-gradient(180deg,#f6f9fd 0%,#eef3f9 100%)}
.topbar{background:linear-gradient(90deg,#fff 0%,#f8fbff 100%);border-bottom:1px solid #dbe4ef;box-shadow:0 4px 16px rgba(20,34,58,.04)}
.topbar h1{color:#172033;font-weight:800}.content{background:transparent}
.crm-card,.metric-card,.dashboard-card,.pipeline-kpi,.pipeline-filter-card,.kpi-card{border:1px solid rgba(219,228,239,.95);box-shadow:var(--shadow)}
.crm-card,.metric-card,.dashboard-card,.pipeline-filter-card{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.crm-card .card-header,.dashboard-card-header{background:linear-gradient(90deg,rgba(47,109,246,.07),rgba(255,255,255,.98));border-bottom:1px solid #e3eaf3;color:#24324a}
.btn-primary{--bs-btn-bg:#2f6df6;--bs-btn-border-color:#2f6df6;--bs-btn-hover-bg:#255dd7;--bs-btn-hover-border-color:#255dd7;--bs-btn-active-bg:#1f53c5;--bs-btn-active-border-color:#1f53c5;box-shadow:0 7px 16px rgba(47,109,246,.22)}
.form-control,.form-select{background-color:#fff;border-color:#cfd9e6}.form-control:focus,.form-select:focus{border-color:#4c82ff;box-shadow:0 0 0 .22rem rgba(47,109,246,.14)}
.table{--bs-table-bg:transparent;--bs-table-hover-bg:rgba(47,109,246,.055)}.table>thead th{background:#f3f7fc;color:#53627a;border-bottom-color:#dfe7f0}.table>tbody td{border-bottom-color:#e8edf4}
.status-badge{border:1px solid transparent}.status-new{background:#e7efff;color:#2456c7;border-color:#cadcff}.status-contacted{background:#eeeaff;color:#5c4fbd;border-color:#dcd5ff}.status-tour_scheduled,.status-toured{background:#fff2cc;color:#8a6200;border-color:#f4d985}.status-application_started,.status-application_submitted{background:#e9e5ff;color:#5f53be;border-color:#d6d0ff}.status-approved,.status-lease_signed{background:#dff6ec;color:#1d7158;border-color:#bde8d8}.status-lost{background:#fde8e7;color:#a33f3b;border-color:#f5c8c5}
.kpi-card:nth-child(4n+1),.pipeline-kpi:nth-child(5n+1){background:linear-gradient(145deg,#2f6df6,#4d82ff);color:#fff}.kpi-card:nth-child(4n+2),.pipeline-kpi:nth-child(5n+2){background:linear-gradient(145deg,#3c9f82,#61b99e);color:#fff}.kpi-card:nth-child(4n+3),.pipeline-kpi:nth-child(5n+3){background:linear-gradient(145deg,#c99400,#e1ad0a);color:#fff}.kpi-card:nth-child(4n+4),.pipeline-kpi:nth-child(5n+4){background:linear-gradient(145deg,#c75d59,#de7772);color:#fff}.pipeline-kpi:nth-child(5n+5){background:linear-gradient(145deg,#6d63d8,#8b82eb);color:#fff}
.kpi-card .kpi-label,.kpi-card .kpi-value,.kpi-card .kpi-meta,.pipeline-kpi .pipeline-kpi-label,.pipeline-kpi .pipeline-kpi-value{color:inherit}.kpi-card .kpi-accent{background:rgba(255,255,255,.92)}
.pipeline-column-modern{background:linear-gradient(180deg,#f4f7fb 0%,#edf2f8 100%);border-color:#dce4ee}.pipeline-column-header{background:linear-gradient(90deg,#fff,#f4f8fd)}.pipeline-card-modern{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border-color:#dfe6ef}.pipeline-card-modern:hover{border-color:#b9cae1;box-shadow:0 10px 22px rgba(31,56,94,.11)}
@media(min-width:992px){.sidebar{background:radial-gradient(circle at 15% 0%,rgba(47,109,246,.16),transparent 28%),linear-gradient(180deg,#0f1724 0%,#101a2a 100%);box-shadow:8px 0 24px rgba(10,19,33,.08)}.sidebar .nav-link{border:1px solid transparent}.sidebar .nav-link:hover{background:rgba(76,130,255,.12);border-color:rgba(130,169,255,.12)}.sidebar .nav-link.active{background:linear-gradient(90deg,rgba(47,109,246,.26),rgba(76,130,255,.12));border-color:rgba(122,163,255,.2);box-shadow:inset 3px 0 0 #4c82ff}}

/* Mobile menu */
@media(max-width:991.98px){
body.menu-open{overflow:hidden}.mobile-menu-overlay{position:fixed;inset:0;z-index:45;display:block;background:rgba(5,12,24,.62);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;backdrop-filter:blur(2px)}.mobile-menu-overlay.open{opacity:1;visibility:visible}
.sidebar{z-index:50;display:flex;height:100dvh;max-height:100dvh;overflow:hidden}.sidebar-header{flex:0 0 auto;min-height:72px}.sidebar-close{position:relative;display:block;flex:0 0 auto;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.08)}.sidebar-close span{position:absolute;top:50%;left:50%;width:19px;height:2px;border-radius:2px;background:#fff}.sidebar-close span:first-child{transform:translate(-50%,-50%) rotate(45deg)}.sidebar-close span:last-child{transform:translate(-50%,-50%) rotate(-45deg)}
.brand-sidebar{min-width:0;flex:1 1 auto}.brand-logo-sidebar{width:205px;max-width:100%;max-height:70px}.sidebar .nav{flex:1 1 auto;min-height:0;margin-top:1.1rem;overflow-y:auto;padding-right:.15rem}.sidebar-bottom{flex:0 0 auto;margin-top:1rem;padding:1rem 0 .25rem;background:var(--navy)}.sidebar-bottom a{display:flex;width:100%;min-height:44px;margin-top:.75rem;align-items:center;justify-content:center;border:1px solid rgba(138,179,255,.45);border-radius:11px;background:rgba(39,100,255,.13);color:#fff;font-weight:700}
}

/* Restore the constrained mobile header branding */
.mobile-menu-button,
.mobile-topbar-brand {
    display: none;
}

@media (max-width: 991.98px) {
    .crm-body {
        background: #eef3fb;
    }

    .topbar {
        height: 68px;
        padding: 0 14px;
        gap: 10px;
        background: linear-gradient(135deg, #101b30, #162746);
        border-bottom: 0;
        box-shadow: 0 8px 24px rgba(15, 27, 48, .18);
    }

    .mobile-menu-button {
        display: flex;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 12px;
        background: rgba(255, 255, 255, .08);
    }

    .mobile-menu-button span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

    .mobile-topbar-brand {
        display: flex;
        min-width: 0;
        max-width: calc(100% - 160px);
        align-items: center;
        gap: 8px;
        overflow: hidden;
        color: #fff;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }

    .mobile-topbar-brand:hover {
        color: #fff;
    }

    .mobile-topbar-brand img {
        display: block !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        margin: 0 !important;
        object-fit: contain !important;
        border-radius: 9px;
    }

    .mobile-topbar-brand > span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-brand-two {
        color: #4380ff;
    }

    .topbar-title {
        display: none;
    }

    .topbar-role {
        max-width: 118px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #dce6f6 !important;
        font-size: .7rem !important;
        padding: .35rem .55rem;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
        background: rgba(255, 255, 255, .08);
    }

    .content {
        padding: 14px 13px 24px;
    }

    .sidebar {
        width: 280px;
        left: -300px;
        padding: 1.25rem 1rem;
        box-shadow: 20px 0 50px rgba(0, 0, 0, .32);
    }

    .sidebar.open {
        left: 0;
    }

    .brand-logo-sidebar {
        width: 205px !important;
        max-width: 205px !important;
        max-height: 72px !important;
    }

    .sidebar .nav-link {
        padding: .85rem 1rem;
    }

    .dashboard-toolbar {
        margin: 0 0 14px !important;
        padding: 20px 18px !important;
        align-items: stretch !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, #142642, #244d8f) !important;
        color: #fff !important;
        box-shadow: 0 12px 30px rgba(31, 67, 124, .22) !important;
    }

    .dashboard-toolbar h1 {
        color: #fff !important;
        font-size: 1.42rem !important;
    }

    .dashboard-toolbar p,
    .dashboard-toolbar .text-secondary,
    .dashboard-toolbar .form-label {
        color: #d6e2f6 !important;
    }

    .dashboard-toolbar form {
        width: 100%;
    }

    .dashboard-period {
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background-color: #fff !important;
    }

    .kpi-grid {
        gap: 12px !important;
    }

    .kpi-card {
        position: relative;
        overflow: hidden;
        min-height: 150px !important;
        padding: 20px !important;
        border: 0 !important;
        border-radius: 18px !important;
        color: #fff !important;
        box-shadow: 0 12px 26px rgba(23, 45, 78, .16) !important;
    }

    .kpi-card:nth-child(1) {
        background: linear-gradient(135deg, #245bc7, #3f82ff) !important;
    }

    .kpi-card:nth-child(2) {
        background: linear-gradient(135deg, #147d69, #39ae8d) !important;
    }

    .kpi-card:nth-child(3) {
        background: linear-gradient(135deg, #a66a08, #dfa92f) !important;
    }

    .kpi-card:nth-child(4) {
        background: linear-gradient(135deg, #983f50, #d45e72) !important;
    }

    .kpi-card::after {
        content: "";
        position: absolute;
        right: -42px;
        bottom: -55px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .11);
    }

    .kpi-accent {
        width: 42px !important;
        height: 5px !important;
        background: rgba(255, 255, 255, .86) !important;
    }

    .kpi-label,
    .kpi-value,
    .kpi-meta {
        position: relative;
        z-index: 1;
        color: #fff !important;
    }

    .kpi-label {
        opacity: .9;
    }

    .kpi-value {
        font-size: 2.35rem !important;
    }

    .kpi-meta {
        opacity: .82;
    }
}

@media (max-width: 380px) {
    .topbar-role {
        display: none;
    }

    .mobile-topbar-brand {
        max-width: calc(100% - 58px);
        font-size: 1rem;
    }
}

/* Prospect form and profile updates */
.prospect-form-card .form-label {
    font-weight: 700;
    color: #26324a;
}

.unqualified-panel {
    padding: 1rem 1.1rem;
    border: 1px solid #f1c6c4;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff8f7 0%, #fff 100%);
}

.unqualified-panel .form-check-input:checked {
    background-color: #c75d59;
    border-color: #c75d59;
}

.status-unqualified {
    background: #fde8e7;
    color: #9b3733;
    border-color: #f3c4c1;
}

.unqualified-profile-alert {
    max-width: 720px;
    padding: .8rem 1rem;
    border: 1px solid #f0c1be;
    border-radius: 10px;
    background: #fff0ef;
    color: #873532;
}

.prospect-edit-button {
    min-width: 150px;
    align-self: flex-start;
    box-shadow: 0 7px 16px rgba(34, 139, 94, .22);
}

@media (max-width: 575.98px) {
    .prospect-edit-button {
        width: 100%;
    }

    .profile-list {
        grid-template-columns: 110px 1fr;
    }
}
@media (max-width: 991.98px) {
    .mobile-topbar-brand {
        display: none !important;
    }
}

/* Funnel drag cursor - custom black cursor so Windows/Chrome cannot recolor it */
.pipeline-card-modern[draggable="true"],
.pipeline-card-modern[draggable="true"]:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath fill='%23172233' stroke='%23ffffff' stroke-width='1' d='M9 2c-1.1 0-2 .9-2 2v8.2l-1.2-1.4a2 2 0 0 0-3 2.6l5.1 6.1c1.5 1.8 3.7 2.8 6 2.8h2.4c4.2 0 7.7-3.4 7.7-7.7V9.5a2 2 0 0 0-4 0V11h-1V7.5a2 2 0 0 0-4 0V11h-1V5.5a2 2 0 0 0-4 0V11h-1V4c0-1.1-.9-2-2-2Z'/%3E%3C/svg%3E") 9 4, move !important;
}

.pipeline-card-modern.is-dragging,
.pipeline-column-modern.is-drop-target,
.pipeline-column-modern.is-drop-target * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath fill='%23172233' stroke='%23ffffff' stroke-width='1' d='M8 4c-1.1 0-2 .9-2 2v6.4l-1.1-1a2 2 0 0 0-2.7 2.9l5.2 5c1.4 1.4 3.4 2.2 5.4 2.2h3.7c4 0 7.3-3.3 7.3-7.3V10a2 2 0 0 0-4 0v1h-1V8a2 2 0 0 0-4 0v3h-1V7a2 2 0 0 0-4 0v4h-1V6c0-1.1-.9-2-2-2Z'/%3E%3C/svg%3E") 9 5, move !important;
}


/* Notification Center */
.notification-bell{position:relative;display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;margin-right:.7rem;border:1px solid #dce4ee;border-radius:12px;background:#fff;color:#24324a;text-decoration:none;box-shadow:0 4px 12px rgba(22,35,58,.06)}.notification-bell:hover{background:#f5f8fd;color:#172033}.notification-bell-icon{font-size:1.08rem}.notification-badge{position:absolute;top:-5px;right:-5px;display:flex;min-width:20px;height:20px;padding:0 5px;align-items:center;justify-content:center;border:2px solid #fff;border-radius:999px;background:#c75d59;color:#fff;font-size:.66rem;font-weight:800}.notification-item{padding:1rem 1.15rem}.notification-type{align-self:flex-start;padding:.25rem .5rem;border-radius:999px;background:#eef3f9;color:#52627a;font-size:.68rem;font-weight:800;text-transform:uppercase}.notification-type-overdue{background:#fde8e7;color:#a33f3b}.notification-type-unassigned{background:#fff2cc;color:#8a6200}.notification-type-tour{background:#e9e5ff;color:#5f53be}
/* My Day */
.my-day-card{margin-bottom:1rem;padding:1rem 1.1rem;border:1px solid #dbe4ef;border-radius:14px;background:linear-gradient(135deg,#fff,#f6f9ff);box-shadow:var(--shadow)}.my-day-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.9rem}.my-day-eyebrow{color:#2f6df6;font-size:.68rem;font-weight:900;letter-spacing:.12em}.my-day-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}.my-day-stat{display:flex;min-height:92px;padding:.85rem;flex-direction:column;justify-content:center;border:1px solid #dfe6ef;border-radius:11px;background:#fff;color:#26324a;text-decoration:none}.my-day-stat:hover{border-color:#b9cae1;box-shadow:0 7px 18px rgba(31,56,94,.08)}.my-day-stat strong{font-size:1.65rem;line-height:1}.my-day-stat span{margin-top:.4rem;color:#6d788c;font-size:.75rem;font-weight:700}.my-day-stat-alert{background:#fff7f6;border-color:#f0c9c6}.my-day-stat-alert strong{color:#a33f3b}
/* Funnel Undo */
.pipeline-undo-toast{position:fixed;right:24px;bottom:24px;z-index:1400;display:flex;gap:1rem;align-items:center;max-width:430px;padding:.85rem 1rem;border-radius:12px;background:#172033;color:#fff;box-shadow:0 18px 45px rgba(15,23,36,.28);opacity:0;visibility:hidden;transform:translateY(12px);transition:.18s ease}.pipeline-undo-toast.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:991.98px){.notification-bell{margin-left:auto;margin-right:.4rem;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:#fff}.topbar-role{margin-left:0!important}.my-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.my-day-heading{align-items:flex-start;flex-direction:column}.my-day-grid{grid-template-columns:1fr 1fr}.pipeline-undo-toast{left:12px;right:12px;bottom:12px;max-width:none}}

/* Follow-Up Queue */
.queue-page-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1rem}.queue-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.queue-stat{padding:.85rem 1rem;border:1px solid #dfe6ef;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(19,33,57,.05)}.queue-stat strong{display:block;color:#24324a;font-size:1.55rem;line-height:1.1}.queue-stat span{display:block;margin-top:.3rem;color:#6d788c;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.queue-stat-overdue{background:#fff4f3;border-color:#efc8c5}.queue-stat-overdue strong{color:#a33f3b}.queue-current-header{align-items:flex-start!important;gap:1rem}.queue-priority-label{margin-bottom:.3rem;color:#c75d59;font-size:.68rem;font-weight:900;letter-spacing:.08em}.queue-prospect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.queue-prospect-grid>div{padding:.75rem;border:1px solid #e5ebf3;border-radius:10px;background:#f8fafd;min-width:0}.queue-prospect-grid span{display:block;color:#7a8699;font-size:.68rem;font-weight:800;text-transform:uppercase}.queue-prospect-grid strong{display:block;margin-top:.2rem;color:#26324a;overflow-wrap:anywhere}.queue-touch-panel{margin-top:1rem;padding:.9rem 1rem;border:1px solid #dce5f1;border-radius:11px;background:#f6f9fe}.queue-contact-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.queue-form-footer{display:flex;justify-content:flex-end}.queue-skip-row{padding:0 1rem 1rem;text-align:right}.queue-up-next{position:sticky;top:90px}.queue-mini-overdue,.queue-mini-new{align-self:flex-start;padding:.2rem .45rem;border-radius:999px;font-size:.71rem;font-weight:900;text-transform:uppercase}.queue-mini-overdue{background:#fde8e7;color:#a33f3b}.queue-mini-new{background:#e7efff;color:#2456c7}.queue-empty-check{display:inline-grid;width:54px;height:54px;place-items:center;border-radius:50%;background:#dff6ec;color:#1d7158;font-weight:900}.queue-current-card .progress{height:9px;background:#e3e9f2}.queue-current-card .progress-bar{background:#2f6df6}
@media(max-width:991.98px){.queue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-up-next{position:static}.queue-prospect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.queue-page-header{align-items:stretch;flex-direction:column}.queue-page-header form,.queue-page-header select{width:100%}.queue-stats{grid-template-columns:1fr 1fr}.queue-prospect-grid{grid-template-columns:1fr}.queue-contact-actions .btn{flex:1 1 calc(50% - .6rem)}.queue-form-footer,.queue-skip-row{text-align:stretch}.queue-form-footer .btn,.queue-skip-row .btn{width:100%}}

/* Permanent Prospect Delete */
.prospect-danger-zone{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.5rem;padding:1rem 1.15rem;border:1px solid #efc4c1;border-radius:14px;background:linear-gradient(180deg,#fff7f6,#fff);box-shadow:0 8px 22px rgba(163,63,59,.06)}.prospect-danger-copy{max-width:760px}.prospect-danger-copy p{color:#7a4a47}.prospect-danger-label,.prospect-delete-warning{margin-bottom:.25rem;color:#a33f3b;font-size:.68rem;font-weight:900;letter-spacing:.09em}.prospect-delete-modal{position:fixed;inset:0;z-index:1600;display:none;align-items:center;justify-content:center;padding:1rem}.prospect-delete-modal.is-open{display:flex}.prospect-delete-backdrop{position:absolute;inset:0;background:rgba(15,23,36,.68);backdrop-filter:blur(2px)}.prospect-delete-dialog{position:relative;z-index:1;width:min(100%,680px);max-height:calc(100vh - 2rem);overflow-y:auto;border:1px solid #e7c5c2;border-radius:15px;background:#fff;box-shadow:0 24px 80px rgba(15,23,36,.32)}.prospect-delete-header,.prospect-delete-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem}.prospect-delete-header{border-bottom:1px solid #eee2e1;background:#fff7f6}.prospect-delete-body{padding:1.15rem}.prospect-delete-footer{border-top:1px solid #eee2e1;background:#fff}.prospect-delete-person{display:grid;gap:.15rem;margin-bottom:1rem;padding:.85rem 1rem;border:1px solid #e4eaf2;border-radius:10px;background:#f7f9fc}.prospect-delete-person strong{font-size:1.05rem}.prospect-delete-person span{color:#6d788c;font-size:.82rem}.prospect-property-safe{padding:.8rem 1rem;border:1px solid #bde8d8;border-radius:9px;background:#effaf6;color:#1d7158;font-weight:700}.prospect-delete-open{overflow:hidden}
@media(max-width:575.98px){.prospect-danger-zone{align-items:stretch;flex-direction:column}.prospect-danger-zone .btn,.prospect-delete-footer .btn{width:100%}.prospect-delete-footer{flex-direction:column-reverse}}

/* My Funnel merged queue + compact prospect rows */
.my-funnel-queue{margin-bottom:1rem;padding:1rem;border:1px solid #dfe6ef;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(19,33,57,.06);scroll-margin-top:84px}.my-funnel-queue-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.my-funnel-eyebrow{margin-bottom:.2rem;color:#2f6df6;font-size:.66rem;font-weight:900;letter-spacing:.1em}.my-funnel-queue-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-bottom:.8rem}.my-funnel-queue-stats>div{display:flex;align-items:center;gap:.6rem;min-height:62px;padding:.65rem .75rem;border:1px solid #e3e9f1;border-radius:10px;background:#f8fafd}.my-funnel-queue-stats strong{font-size:1.25rem;line-height:1;color:#26324a}.my-funnel-queue-stats span{color:#6d788c;font-size:.68rem;font-weight:800;text-transform:uppercase}.my-funnel-queue-stats .is-alert{background:#fff5f4;border-color:#efcbc8}.my-funnel-queue-stats .is-alert strong{color:#a33f3b}.my-funnel-next-row{display:grid;grid-template-columns:minmax(180px,1.45fr) minmax(120px,.8fr) minmax(130px,.8fr) minmax(90px,.55fr) auto;gap:.75rem;align-items:center;padding:.8rem;border:1px solid #dce5f1;border-radius:11px;background:#fbfcfe}.my-funnel-next-person,.my-funnel-next-detail{display:flex;min-width:0;flex-direction:column}.my-funnel-next-person a{color:#172033;text-decoration:none}.my-funnel-next-person span,.my-funnel-next-detail span{color:#7b8799;font-size:.7rem}.my-funnel-next-detail strong{font-size:.82rem;overflow-wrap:anywhere}.my-funnel-priority{margin-bottom:.15rem;color:#a33f3b;font-size:.71rem;font-weight:900;letter-spacing:.08em}.my-funnel-followup-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:.8rem;padding:.85rem;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafd}.my-funnel-notes{grid-column:1/-1}.my-funnel-followup-actions{grid-column:1/-1;display:flex;justify-content:flex-end}.my-funnel-skip-form{display:flex;justify-content:flex-end;margin-top:.5rem}.my-funnel-caught-up{display:flex;gap:.6rem;align-items:center;padding:.75rem .85rem;border-radius:10px;background:#eff9f5;color:#39715e}.my-funnel-stage-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1.15rem 0 .65rem}.pipeline-card-modern.pipeline-prospect-row{display:grid;grid-template-columns:minmax(130px,1.4fr) minmax(110px,1fr) minmax(170px,1.6fr) auto;gap:.55rem;align-items:center;padding:.65rem .7rem;border-radius:8px;box-shadow:none}.pipeline-prospect-row .pipeline-card-name{font-size:.82rem;margin:0}.pipeline-prospect-row .pipeline-card-property{font-size:.69rem;margin:0}.pipeline-prospect-row .pipeline-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .65rem;margin:0;padding:0;border:0}.pipeline-prospect-row .pipeline-meta-row{display:flex;gap:.25rem;align-items:center;justify-content:flex-start;font-size:.66rem}.pipeline-prospect-row .pipeline-meta-row span{font-size:.71rem}.pipeline-prospect-row .pipeline-card-actions{margin:0}.pipeline-prospect-row .pipeline-move-btn{padding:.32rem .5rem;font-size:.67rem}.pipeline-column-body{gap:.42rem}.pipeline-empty{padding:.8rem;font-size:.8rem}
@media(max-width:1199.98px){.my-funnel-next-row{grid-template-columns:repeat(2,minmax(0,1fr))}.my-funnel-next-row .btn{justify-self:start}.pipeline-card-modern.pipeline-prospect-row{grid-template-columns:1fr}.pipeline-prospect-row .pipeline-card-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.my-funnel-queue-header,.my-funnel-stage-heading{align-items:stretch;flex-direction:column}.my-funnel-queue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.my-funnel-next-row{grid-template-columns:1fr}.my-funnel-followup-form{grid-template-columns:1fr}.my-funnel-notes,.my-funnel-followup-actions{grid-column:auto}.my-funnel-followup-actions .btn{width:100%}}



/* My Funnel prospect table - matches Dashboard Recent Prospects */
.my-funnel-prospect-table-card{margin-top:.65rem;overflow:hidden}
.my-funnel-prospect-table th{color:#778297;font-size:.7rem;text-transform:uppercase;white-space:nowrap}
.my-funnel-prospect-table td{font-size:.82rem;vertical-align:middle}
.my-funnel-prospect-table .status-badge{white-space:nowrap}
.my-funnel-prospect-table .pipeline-table-row-overdue>td{background:#fff0ee}
.my-funnel-prospect-table .pipeline-table-row-overdue:hover>td{background:#ffe8e5}
.pipeline-table-move-btn{white-space:nowrap}
@media(max-width:767.98px){
  .my-funnel-prospect-table{min-width:820px}
}


/* Tour follow-up due trigger */
.my-funnel-queue-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.my-funnel-queue-stats .is-tour-due{background:#fff1df;border-color:#edc57c}
.my-funnel-queue-stats .is-tour-due strong{color:#9a6200}
.my-funnel-priority.is-tour-followup-due{color:#9a6200}
.my-funnel-tour-due-detail{padding:.45rem .55rem;border:1px solid #edc57c;border-radius:8px;background:#fff8e9}
.my-funnel-tour-due-detail strong{color:#805500}
.tour-followup-due-alert{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:.9rem 1rem;border:1px solid #edc57c;border-radius:12px;background:#fff8e9;color:#694700;text-decoration:none;box-shadow:0 6px 18px rgba(128,85,0,.06)}
.tour-followup-due-alert:hover{color:#563a00;border-color:#dbaa52;background:#fff4d9}
.tour-followup-due-alert>div{display:flex;min-width:0;flex-direction:column}
.tour-followup-due-alert strong{font-size:1rem}
.tour-followup-due-alert span{font-size:.78rem}
.tour-followup-due-kicker{margin-bottom:.1rem;color:#9a6200;font-size:.71rem;font-weight:900;letter-spacing:.09em}
.tour-followup-due-link{flex:0 0 auto;padding:.4rem .65rem;border-radius:8px;background:#9a6200;color:#fff;font-weight:800}
.tour-followup-due-badge{display:inline-flex;padding:.28rem .5rem;border-radius:999px;background:#fff1d5;color:#8a5b00;font-size:.68rem;font-weight:800;text-decoration:none;white-space:nowrap}
.tour-followup-due-badge:hover{background:#ffe6b0;color:#704900}
@media(max-width:1199.98px){.my-funnel-queue-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){.my-funnel-queue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tour-followup-due-alert{align-items:flex-start;flex-direction:column}.tour-followup-due-link{width:100%;text-align:center}}


/* Sidebar administration refresh using updated logo colors */
:root{
    --c2k-navy:#082a74;
    --c2k-navy-dark:#061c4f;
    --c2k-gold:#ceb789;
    --c2k-gold-soft:#e4d4b2;
    --c2k-link:#f3f6ff;
    --c2k-link-muted:rgba(243,246,255,.78);
}

@media (min-width: 992px) {
    .sidebar{
        background:
            radial-gradient(circle at 14% 0%, rgba(206,183,137,.12), transparent 24%),
            radial-gradient(circle at 82% 12%, rgba(77,130,255,.12), transparent 20%),
            linear-gradient(180deg, var(--c2k-navy-dark) 0%, #09255f 48%, #081f52 100%);
    }
}

.sidebar-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:.75rem;
}

.brand-sidebar{
    display:block;
    width:100%;
}

.brand-logo-sidebar{
    display:block;
    width:205px;
    max-width:100%;
    height:auto;
    max-height:84px;
}

.sidebar-nav-group{
    gap:.45rem;
}

.sidebar-nav-primary{
    margin-top:1.35rem !important;
}

.sidebar .nav-link{
    display:flex;
    align-items:center;
    gap:.8rem;
    min-height:50px;
    padding:.9rem 1rem;
    color:var(--c2k-link-muted);
    font-weight:600;
    border-radius:14px;
    border:1px solid transparent;
    transition:all .2s ease;
}

.sidebar .nav-link:hover{
    color:#fff;
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.08);
}

.sidebar .nav-link.active{
    color:#fff;
    background:linear-gradient(90deg, rgba(66,119,242,.34), rgba(255,255,255,.08));
    border-color:rgba(115,158,255,.28);
    box-shadow:inset 3px 0 0 var(--c2k-gold);
}

.nav-link-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:20px;
    height:20px;
    color:inherit;
    flex:0 0 20px;
}

.nav-link-icon svg{
    width:20px;
    height:20px;
    display:block;
}

.nav-link-text{
    display:inline-block;
    line-height:1.2;
}

.sidebar-section-divider{
    width:calc(100% - 1.4rem);
    height:1px;
    margin:1.25rem .7rem 1rem;
    background:linear-gradient(90deg, rgba(255,255,255,0), rgba(206,183,137,.7), rgba(255,255,255,0));
}

.sidebar-section-label{
    padding:0 1rem .5rem;
    color:rgba(255,255,255,.96);
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.sidebar-nav-admin{
    margin-top:.1rem !important;
}

.sidebar .nav-link-admin{
    color:rgba(255,255,255,.84);
}

.sidebar-bottom{
    margin-top:auto;
    padding-top:1rem;
    border-top:1px solid rgba(255,255,255,.1);
    color:#fff;
}

.sidebar-user-card{
    display:flex;
    align-items:center;
    gap:.85rem;
}

.sidebar-user-name{
    color:#fff;
    font-weight:700;
    line-height:1.2;
}

.sidebar-user-role{
    color:rgba(255,255,255,.72);
    font-size:.86rem;
    line-height:1.2;
}

.sidebar-logout-link{
    display:inline-flex;
    margin-top:.8rem;
    color:var(--c2k-gold-soft) !important;
    font-weight:600;
    align-items:center;
    gap:.35rem;
}

.sidebar-logout-link:hover{
    color:#fff !important;
}

@media (max-width: 991.98px) {
    .sidebar{
        background:
            radial-gradient(circle at 16% 0%, rgba(206,183,137,.14), transparent 22%),
            linear-gradient(180deg, var(--c2k-navy-dark) 0%, #082561 52%, #071d4c 100%);
    }

    .sidebar .nav-link{
        min-height:48px;
        padding:.85rem .95rem;
    }

    .sidebar-section-label{
        font-size:.8rem;
    }

    .sidebar-bottom{
        padding-bottom:.35rem;
    }

    .sidebar-logout-link{
        justify-content:flex-start;
    }
}

/* Clean Dashboard Refresh - Clicks2Keys new navy + soft gold */
.dashboard-clean{display:flex;flex-direction:column;gap:1.35rem}.dashboard-clean-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1.25rem}.dashboard-clean-heading h1{margin:0;color:#12213d;font-size:2rem;font-weight:800}.dashboard-clean-heading p{margin:.3rem 0 0;color:#6d788c}.dashboard-clean-controls{display:flex;flex:1 1 760px;justify-content:flex-end;gap:1rem;align-items:flex-end}.dashboard-clean-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:.65rem}.dashboard-filter-field{min-width:170px}.dashboard-filter-search{min-width:220px}.dashboard-filter-field label{display:block;margin-bottom:.28rem;color:#5d687a;font-size:.7rem;font-weight:700}.dashboard-search-wrap{position:relative}.dashboard-search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#7a8496;font-size:.82rem;pointer-events:none}.dashboard-search-wrap .form-control{padding-left:2.1rem}.dashboard-clean-filters .form-control,.dashboard-clean-filters .form-select{min-height:42px;border-radius:10px}.dashboard-clean-actions{display:flex;gap:.65rem;align-items:center;white-space:nowrap}.dashboard-clean-actions .btn{min-height:42px;display:inline-flex;align-items:center}.dashboard-reset-link{display:inline-flex;align-items:center;min-height:42px;padding:0 .45rem;color:#657185;font-size:.78rem;font-weight:700}.dashboard-reset-link:hover{color:#173b7a}.dashboard-more-filters{position:relative;align-self:flex-end}.dashboard-more-filters summary{display:flex;min-height:42px;padding:0 .8rem;align-items:center;border:1px solid #d2dbe7;border-radius:10px;background:#fff;color:#4f5d72;font-size:.78rem;font-weight:700;cursor:pointer;list-style:none}.dashboard-more-filters summary::-webkit-details-marker{display:none}.dashboard-more-filter-panel{position:absolute;right:0;top:48px;z-index:30;display:grid;width:min(720px,92vw);grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;padding:1rem;border:1px solid #dde4ee;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(22,35,58,.16)}.dashboard-section{display:flex;flex-direction:column;gap:.8rem}.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem}.dashboard-section-heading h2{margin:0;color:#1d2a43;font-size:1rem;font-weight:800}.dashboard-section-heading p{margin:.2rem 0 0;color:#8791a2;font-size:.75rem}.dashboard-section-link{color:#285fc9;font-size:.78rem;font-weight:700}.dashboard-priority-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem}.dashboard-priority-card{position:relative;display:grid;grid-template-columns:52px 1fr;gap:.85rem;min-height:132px;padding:1rem;border:1px solid #e1e7ef;border-radius:14px;background:#fff;color:#1a2740;box-shadow:0 6px 18px rgba(20,34,58,.06);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dashboard-priority-card:hover{color:#1a2740;transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,34,58,.1)}.dashboard-card-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;font-size:1.1rem}.dashboard-card-copy{display:flex;flex-direction:column}.dashboard-card-copy strong{font-size:1.65rem;line-height:1;color:#17243d}.dashboard-card-copy span{margin-top:.3rem;font-size:.82rem;font-weight:800}.dashboard-card-copy small{margin-top:.2rem;color:#7d8798;font-size:.7rem}.dashboard-card-link{position:absolute;left:5.95rem;bottom:.9rem;color:#2f63c7;font-size:.68rem;font-weight:800}.priority-blue{background:linear-gradient(135deg,#fbfdff,#f2f6ff);border-color:#d5e1f6}.priority-blue .dashboard-card-icon{background:#e7efff;color:#2559bf}.priority-gold{background:linear-gradient(135deg,#fffdf8,#fff8eb);border-color:#eadfc7}.priority-gold .dashboard-card-icon{background:#fff1d7;color:#b77c08}.priority-green{background:linear-gradient(135deg,#fbfefc,#f1f9f4);border-color:#d7e9de}.priority-green .dashboard-card-icon{background:#e2f2e8;color:#307c58}.priority-purple{background:linear-gradient(135deg,#fdfcff,#f6f1fc);border-color:#e1d8ed}.priority-purple .dashboard-card-icon{background:#eee5f8;color:#7958ac}.dashboard-action-alert{display:flex;align-items:center;gap:.8rem;padding:.85rem 1rem;border:1px solid #e2c27d;border-radius:12px;background:#fff7e5;color:#694600;box-shadow:0 5px 16px rgba(124,82,0,.05)}.dashboard-action-alert:hover{color:#563800;background:#fff3d6}.dashboard-action-alert-icon{display:grid;width:32px;height:32px;place-items:center;flex:0 0 32px;border-radius:50%;background:#d39a25;color:#fff;font-weight:900}.dashboard-action-alert>span:nth-child(2){flex:1;font-size:.78rem}.dashboard-action-alert-link{font-size:.75rem;font-weight:800;white-space:nowrap}.dashboard-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(230px,1.15fr);gap:.9rem}.dashboard-performance-card,.dashboard-funnel-overview{min-height:150px;border:1px solid #e1e7ef;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(20,34,58,.055)}.dashboard-performance-card{position:relative;display:flex;flex-direction:column;padding:1rem;color:#1a2740}.dashboard-performance-card:hover{color:#1a2740;box-shadow:0 12px 28px rgba(20,34,58,.09)}.dashboard-performance-icon{display:grid;width:40px;height:40px;margin-bottom:.5rem;place-items:center;border-radius:50%;font-size:1rem;font-weight:900}.dashboard-performance-card strong{font-size:1.65rem;line-height:1}.dashboard-performance-card span{margin-top:.35rem;font-size:.8rem;font-weight:800}.dashboard-performance-card small{margin-top:.3rem;color:#7c8798;font-size:.68rem}.performance-blue .dashboard-performance-icon{background:#e8efff;color:#2d61c9}.performance-green .dashboard-performance-icon{background:#e5f2ea;color:#2e7c59}.performance-gold .dashboard-performance-icon{background:#fff1d4;color:#b37b0b}.performance-purple .dashboard-performance-icon{background:#eee7f7;color:#775aa4}.dashboard-funnel-overview{display:flex;flex-direction:column;padding:.9rem 1rem}.dashboard-funnel-title{color:#26334c;font-size:.8rem;font-weight:800}.dashboard-funnel-body{display:grid;grid-template-columns:1.05fr 1fr;gap:.75rem;align-items:center;flex:1}.dashboard-funnel-shape{display:flex;align-items:center;flex-direction:column;gap:2px}.funnel-level{height:17px;clip-path:polygon(7% 0,93% 0,82% 100%,18% 100%)}.funnel-level-1{width:100%;background:#376bd1}.funnel-level-2{width:79%;background:#51a47b}.funnel-level-3{width:58%;background:#d4a52f}.funnel-level-4{width:37%;background:#d36b69}.dashboard-funnel-legend{display:flex;flex-direction:column;gap:.3rem}.dashboard-funnel-legend>div{display:grid;grid-template-columns:9px 1fr auto;gap:.4rem;align-items:center;color:#566276;font-size:.68rem}.dashboard-funnel-legend strong{color:#27344c}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-blue{background:#376bd1}.legend-green{background:#51a47b}.legend-gold{background:#d4a52f}.legend-red{background:#d36b69}.dashboard-funnel-conversion{display:flex;justify-content:space-between;padding-top:.45rem;border-top:1px solid #edf0f4;color:#6f7b8e;font-size:.68rem}.dashboard-funnel-conversion strong{color:#27344c}.dashboard-work-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem}.dashboard-clean-panel{overflow:hidden;border:1px solid #e0e6ee;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(20,34,58,.055)}.dashboard-panel-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid #e9edf3}.dashboard-panel-header>div:first-child{display:flex;align-items:center;gap:.5rem}.dashboard-panel-header h2{margin:0;color:#26334c;font-size:.88rem;font-weight:800}.dashboard-panel-header a{font-size:.8rem;font-weight:700}.dashboard-count-badge{display:inline-flex;padding:.22rem .45rem;border-radius:999px;background:#fff2d6;color:#9c6b08;font-size:.71rem;font-weight:800}.dashboard-clean-table th{padding:.65rem .75rem!important;background:#f8fafc!important;color:#737f92!important;font-size:.71rem!important;font-weight:800!important;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap}.dashboard-clean-table td{padding:.66rem .75rem!important;color:#3f4b60!important;font-size:.8rem!important;vertical-align:middle!important}.dashboard-clean-table tbody tr:last-child td{border-bottom:0}.dashboard-clean-table a{color:#2462cd}.dashboard-due-text{color:#c3564f;font-weight:800}.dashboard-row-actions{white-space:nowrap}.dashboard-circle-action{display:inline-grid;width:30px;height:30px;margin-left:.25rem;place-items:center;border:1px solid #d8e0ec;border-radius:50%;background:#fff;color:#2c64ca!important;font-size:.8rem}.dashboard-circle-action:hover{background:#edf4ff}.dashboard-status-pill{display:inline-flex;padding:.25rem .48rem;border-radius:999px;font-size:.71rem;font-weight:800;white-space:nowrap}.status-scheduled{background:#e4f2e8;color:#347654}.status-due{background:#fff0d7;color:#956306}.dashboard-recent-panel{margin-bottom:.25rem}.dashboard-panel-actions{display:flex!important;align-items:center!important;gap:.65rem!important}.dashboard-panel-actions .btn{font-size:.68rem}.dashboard-custom-date{display:none}

@media(max-width:1399.98px){.dashboard-performance-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.dashboard-funnel-overview{grid-column:1/-1;min-height:130px}.dashboard-funnel-body{grid-template-columns:180px 1fr}.dashboard-funnel-shape{max-width:170px}.dashboard-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-clean-controls{flex-basis:100%;justify-content:space-between}.dashboard-clean-filters{justify-content:flex-start}}
@media(max-width:1199.98px){.dashboard-work-grid{grid-template-columns:1fr}.dashboard-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-funnel-overview{grid-column:1/-1}.dashboard-clean-controls{align-items:stretch;flex-direction:column}.dashboard-clean-actions{justify-content:flex-start}.dashboard-more-filter-panel{left:0;right:auto}}
@media(max-width:767.98px){.dashboard-clean{gap:1rem}.dashboard-clean-heading h1{font-size:1.5rem}.dashboard-clean-filters{display:grid;width:100%;grid-template-columns:1fr 1fr}.dashboard-filter-search{grid-column:1/-1;min-width:0}.dashboard-filter-field{min-width:0}.dashboard-more-filters{align-self:stretch}.dashboard-more-filters summary{justify-content:center}.dashboard-more-filter-panel{position:fixed;left:12px;right:12px;top:82px;width:auto;max-height:calc(100vh - 100px);grid-template-columns:1fr;overflow:auto}.dashboard-clean-actions{display:grid;grid-template-columns:1fr 1fr}.dashboard-clean-actions .btn{justify-content:center}.dashboard-priority-grid,.dashboard-performance-grid{grid-template-columns:1fr 1fr}.dashboard-funnel-overview{grid-column:1/-1}.dashboard-work-grid{gap:.85rem}.dashboard-section-heading{align-items:flex-start}.dashboard-clean-table{min-width:700px}.dashboard-action-alert{align-items:flex-start;flex-wrap:wrap}.dashboard-action-alert-link{margin-left:40px}}
@media(max-width:575.98px){.dashboard-clean-filters{grid-template-columns:1fr}.dashboard-filter-search{grid-column:auto}.dashboard-priority-grid,.dashboard-performance-grid{grid-template-columns:1fr}.dashboard-priority-card{min-height:125px}.dashboard-performance-card{min-height:130px}.dashboard-funnel-body{grid-template-columns:120px 1fr}.dashboard-clean-actions{grid-template-columns:1fr}.dashboard-section-heading{flex-direction:column}.dashboard-section-link{align-self:flex-start}}


/* Notification bell reminder - rings every 6 seconds only when alerts exist */
.notification-bell-has-items .notification-bell-icon{
    display:inline-block;
    transform-origin:50% 12%;
    animation:c2k-notification-ring 6s ease-in-out infinite;
}

@keyframes c2k-notification-ring{
    0%,10%,100%{transform:rotate(0deg)}
    1%{transform:rotate(16deg)}
    2%{transform:rotate(-14deg)}
    3%{transform:rotate(12deg)}
    4%{transform:rotate(-10deg)}
    5%{transform:rotate(8deg)}
    6%{transform:rotate(-6deg)}
    7%{transform:rotate(4deg)}
    8%{transform:rotate(-2deg)}
    9%{transform:rotate(0deg)}
}

@media (prefers-reduced-motion: reduce){
    .notification-bell-has-items .notification-bell-icon{animation:none}
}


/* Dashboard filter dropdown */
.dashboard-more-filters{
    position:relative;
    display:inline-flex;
}
.dashboard-more-toggle{
    min-height:46px;
    padding:0 18px;
    border:1px solid #cfd9e6;
    border-radius:10px;
    background:#fff;
    color:#24324a;
    font-weight:700;
    cursor:pointer;
}
.dashboard-more-toggle:hover{
    border-color:#4c82ff;
    background:#f7faff;
}
.dashboard-more-filter-panel{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    z-index:100;
    width:min(720px,calc(100vw - 40px));
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    padding:18px;
    border:1px solid #dfe6ef;
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 45px rgba(15,23,36,.16);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:.18s ease;
}
.dashboard-more-filter-panel.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
@media(max-width:991.98px){
    .dashboard-more-filter-panel{
        position:fixed;
        left:14px;
        right:14px;
        top:130px;
        width:auto;
        grid-template-columns:1fr;
        max-height:70vh;
        overflow:auto;
    }
}
.my-funnel-prospect-table-card .dashboard-card-header .btn {
    margin-left: 8px;
}


/* LIHTC Applications module */
.application-status{display:inline-flex;align-items:center;padding:.28rem .71rem;border-radius:999px;border:1px solid #d7e0ec;background:#f4f7fb;color:#46556d;font-size:.78rem;font-weight:800;white-space:nowrap}
.application-status-received,.application-status-initial_review{background:#e7efff;color:#2456c7;border-color:#cadcff}.application-status-missing_information{background:#fff0e2;color:#995718;border-color:#f3cfad}.application-status-income_verification,.application-status-asset_verification,.application-status-eligibility_review{background:#fff6d8;color:#806000;border-color:#efdfa0}.application-status-ready_for_certification,.application-status-qualified{background:#e9e5ff;color:#5f53be;border-color:#d6d0ff}.application-status-approved{background:#dff6ec;color:#1d7158;border-color:#bde8d8}.application-status-not_qualified,.application-status-withdrawn,.application-status-cancelled{background:#fde8e7;color:#a33f3b;border-color:#f5c8c5}
.application-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.application-data-group{margin:0 0 18px;padding:16px;border:1px solid #e0e7f0;border-radius:12px;background:#fbfdff}.application-data-group>h4{margin:0 0 12px;font-size:1rem;color:#25334b}.application-data-repeat{margin-top:12px;padding:12px;border-left:3px solid #d7e3f7;background:#fff}.application-data-repeat-title{margin-bottom:8px;font-weight:800;color:#52637d}.application-data-row{display:grid;grid-template-columns:minmax(180px,34%) 1fr;gap:14px;padding:9px 0;border-bottom:1px solid #edf1f6}.application-data-row:last-child{border-bottom:0}.application-data-label{color:#6b778a;font-size:.85rem;font-weight:700}.application-data-value{word-break:break-word}.application-check-item{padding:14px 0;border-bottom:1px solid #e8edf4}.application-check-item:last-child{border-bottom:0}.application-history-item{padding:10px 0;border-bottom:1px solid #e8edf4}.application-history-item:last-child{border-bottom:0}
@media(max-width:991.98px){.application-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.application-data-row{grid-template-columns:1fr;gap:3px}}
@media(max-width:575.98px){.application-summary-grid{grid-template-columns:1fr}}


/* Prospect profile: keep long email addresses and notes inside the card. */
.profile-list{min-width:0}
.profile-list dd,.profile-value-wrap{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal}


/* ===== Kudzu branding palette (client update 2026-08-13) ===== */
:root{
    --kudzu-green:#1f7a3b;
    --kudzu-green-dark:#0e4d2b;
    --kudzu-lime:#8fc52b;
    --kudzu-soft:#eef6ea;
    --kudzu-stone:#f1ece4;
    --kudzu-ink:#17211b;
    --kudzu-muted:#66736b;
    --kudzu-line:#dfe7e1;
    --navy:var(--kudzu-green-dark);
    --navy-2:#103e27;
    --blue:var(--kudzu-green);
    --blue-2:var(--kudzu-lime);
    --bg:#f6f8f6;
    --surface:#fff;
    --surface-soft:#fbfcfb;
    --text:var(--kudzu-ink);
    --muted:var(--kudzu-muted);
    --border:var(--kudzu-line);
    --c2k-navy:var(--kudzu-green);
    --c2k-navy-dark:var(--kudzu-green-dark);
    --c2k-gold:var(--kudzu-lime);
    --c2k-gold-soft:#cfe49b;
    --c2k-link:#f5fff4;
    --c2k-link-muted:rgba(245,255,244,.78);
}
.crm-body{background:#f6f8f6;color:var(--kudzu-ink)}
.sidebar{background:linear-gradient(180deg,var(--kudzu-green-dark) 0%,#103e27 100%) !important}
.sidebar .nav-link:hover{background:rgba(143,197,43,.16) !important;border-color:rgba(143,197,43,.18) !important;color:#fff}
.sidebar .nav-link.active{background:rgba(143,197,43,.22) !important;border-color:rgba(143,197,43,.24) !important;box-shadow:inset 3px 0 0 var(--kudzu-lime) !important;color:#fff}
.sidebar-section-divider,.sidebar-bottom{border-color:rgba(255,255,255,.12) !important}
.sidebar-bottom{background:transparent !important}
.sidebar-bottom a,.sidebar-logout-link{color:#dcefb9 !important}
.topbar{border-bottom-color:var(--kudzu-line)}
.crm-card,.metric-card,.dashboard-card,.pipeline-kpi,.pipeline-filter-card,.kpi-card{border-color:var(--kudzu-line) !important;box-shadow:0 8px 24px rgba(34,61,44,.06) !important}
.btn-primary{--bs-btn-bg:var(--kudzu-green);--bs-btn-border-color:var(--kudzu-green);--bs-btn-hover-bg:var(--kudzu-green-dark);--bs-btn-hover-border-color:var(--kudzu-green-dark);--bs-btn-active-bg:var(--kudzu-green-dark);--bs-btn-active-border-color:var(--kudzu-green-dark);box-shadow:0 7px 16px rgba(31,122,59,.18)}
.btn-success{--bs-btn-bg:var(--kudzu-green);--bs-btn-border-color:var(--kudzu-green);--bs-btn-hover-bg:var(--kudzu-green-dark);--bs-btn-hover-border-color:var(--kudzu-green-dark)}
.btn-outline-primary{--bs-btn-color:var(--kudzu-green);--bs-btn-border-color:var(--kudzu-green);--bs-btn-hover-bg:var(--kudzu-green);--bs-btn-hover-border-color:var(--kudzu-green)}
.text-primary{color:var(--kudzu-green)!important}
a{color:var(--kudzu-green)}a:hover{color:var(--kudzu-green-dark)}
.form-control:focus,.form-select:focus{border-color:var(--kudzu-lime);box-shadow:0 0 0 .22rem rgba(143,197,43,.18)}
.timeline-dot,.metric-icon,.dashboard-count-badge{background:var(--kudzu-soft);color:var(--kudzu-green)}
.table{--bs-table-hover-bg:rgba(31,122,59,.045)}
.table>thead th{background:#f4f8f2;color:#53665a;border-bottom-color:var(--kudzu-line)}
.status-new{background:var(--kudzu-soft);color:var(--kudzu-green-dark)}
.pipeline-column-modern{background:#f4f8f2;border-color:var(--kudzu-line)}
.my-day-card{border-color:var(--kudzu-line);background:linear-gradient(135deg,#fff,#f5faf4)}
.my-day-eyebrow{color:var(--kudzu-green)}
