:root {
    --crm-primary: #6557d8;
    --crm-primary-dark: #4d41bb;
    --crm-primary-soft: #eeecff;
    --crm-success: #1f9d68;
    --crm-warning: #d88b1b;
    --crm-danger: #d64545;
    --crm-dark: #171823;
    --crm-body: #f4f6fb;
    --crm-surface: #ffffff;
    --crm-text: #20212d;
    --crm-muted: #77798a;
    --crm-border: #e7e8f0;
    --crm-sidebar-width: 278px;
    --crm-radius: 18px;
    --crm-shadow: 0 14px 35px rgba(27, 28, 45, .06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 90% -10%, rgba(101, 87, 216, .11), transparent 25rem),
        var(--crm-body);
    color: var(--crm-text);
    font-family: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    min-height: 100vh;
}

a {
    color: var(--crm-primary);
}

a:hover {
    color: var(--crm-primary-dark);
}

.crm-app-shell {
    display: flex;
    min-height: 100vh;
}

.crm-sidebar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--crm-sidebar-width);
    display: flex;
    flex-direction: column;
    padding: 18px 15px;
    background:
        linear-gradient(180deg, #181925 0%, #23233a 100%);
    color: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.crm-sidebar::-webkit-scrollbar {
    width: 5px;
}

.crm-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.16);
    border-radius: 99px;
}

.crm-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 7px 20px;
    color: #fff;
    text-decoration: none;
}

.crm-brand:hover {
    color: #fff;
}

.crm-brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #7b6fee, #5849ce);
    box-shadow: 0 12px 28px rgba(101,87,216,.34);
    font-size: 20px;
    font-weight: 900;
}

.crm-brand-copy {
    min-width: 0;
}

.crm-brand-title {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.crm-brand-subtitle {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    margin-top: 2px;
}

.crm-nav-section {
    margin: 12px 0 4px;
    padding: 0 12px;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
}

.crm-nav {
    display: grid;
    gap: 4px;
}

.crm-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 43px;
    padding: 9px 11px;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    border-radius: 13px;
    transition: .18s ease;
}

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

.crm-nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(123,111,238,.38), rgba(101,87,216,.20));
    box-shadow: inset 0 0 0 1px rgba(166,156,255,.20);
}

.crm-nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 5px;
    height: 5px;
    border-radius: 99px;
    background: #b9b2ff;
    box-shadow: 0 0 0 4px rgba(185,178,255,.10);
}

.crm-nav-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.055);
    font-size: 14px;
}

.crm-sidebar-footer {
    margin-top: auto;
    padding-top: 18px;
}

.crm-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.045);
}

.crm-user-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(123,111,238,.22);
    color: #fff;
    font-weight: 900;
}

.crm-user-copy {
    min-width: 0;
    flex: 1;
}

.crm-user-name {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crm-user-role {
    color: rgba(255,255,255,.45);
    font-size: 10px;
    margin-top: 2px;
}

.crm-main {
    width: calc(100% - var(--crm-sidebar-width));
    min-width: 0;
    margin-right: var(--crm-sidebar-width);
}

.crm-topbar {
    position: sticky;
    z-index: 1020;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 28px;
    border-bottom: 1px solid rgba(231,232,240,.85);
    background: rgba(244,246,251,.86);
    backdrop-filter: blur(16px);
}

.crm-topbar-title {
    min-width: 0;
}

.crm-topbar-title strong {
    display: block;
    font-size: 15px;
}

.crm-topbar-title span {
    display: block;
    margin-top: 2px;
    color: var(--crm-muted);
    font-size: 11px;
}

.crm-content {
    width: min(100%, 1540px);
    margin: 0 auto;
    padding: 26px 28px 46px;
}

.crm-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.crm-page-title {
    margin: 0;
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 900;
    letter-spacing: -.4px;
}

.crm-page-description {
    margin: 5px 0 0;
    color: var(--crm-muted);
    font-size: 12px;
}

.card {
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius);
    box-shadow: var(--crm-shadow);
    overflow: hidden;
}

.card-header {
    padding: 15px 18px;
    background: rgba(249,249,252,.78);
    border-bottom-color: var(--crm-border);
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.crm-stat-card {
    position: relative;
    height: 100%;
    min-height: 142px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid var(--crm-border);
    border-radius: 19px;
    background: var(--crm-surface);
    box-shadow: var(--crm-shadow);
}

.crm-stat-card::after {
    content: "";
    position: absolute;
    left: -22px;
    bottom: -30px;
    width: 100px;
    height: 100px;
    border-radius: 999px;
    background: var(--stat-soft, var(--crm-primary-soft));
    opacity: .72;
}

.crm-stat-icon {
    position: relative;
    z-index: 1;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 13px;
    background: var(--stat-soft, var(--crm-primary-soft));
    color: var(--stat-color, var(--crm-primary));
    font-size: 17px;
}

.crm-stat-label {
    position: relative;
    z-index: 1;
    color: var(--crm-muted);
    font-size: 11px;
}

.crm-stat-value {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    font-size: clamp(19px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.35;
}

.crm-stat-unit {
    position: relative;
    z-index: 1;
    color: var(--crm-muted);
    font-size: 10px;
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: #dcdee8;
    border-radius: 13px;
    background-color: #fbfbfd;
    font-size: 13px;
}

textarea.form-control {
    min-height: 100px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 .24rem rgba(101,87,216,.11);
    background: #fff;
}

.form-label {
    margin-bottom: 7px;
    color: #4e5060;
    font-size: 12px;
    font-weight: 800;
}

.form-text {
    font-size: 10px;
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    padding-inline: 15px;
    font-size: 12px;
    font-weight: 800;
}

.btn-sm {
    min-height: 34px;
    border-radius: 10px;
    padding-inline: 11px;
    font-size: 11px;
}

.btn-primary {
    --bs-btn-bg: var(--crm-primary);
    --bs-btn-border-color: var(--crm-primary);
    --bs-btn-hover-bg: var(--crm-primary-dark);
    --bs-btn-hover-border-color: var(--crm-primary-dark);
    --bs-btn-active-bg: var(--crm-primary-dark);
    --bs-btn-active-border-color: var(--crm-primary-dark);
    box-shadow: 0 9px 22px rgba(101,87,216,.18);
}

.btn-outline-primary {
    --bs-btn-color: var(--crm-primary);
    --bs-btn-border-color: rgba(101,87,216,.34);
    --bs-btn-hover-bg: var(--crm-primary);
    --bs-btn-hover-border-color: var(--crm-primary);
}

.alert {
    border: 0;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(27,28,45,.04);
}

.badge {
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
}

.table {
    --bs-table-bg: transparent;
    margin: 0;
    font-size: 12px;
}

.table > :not(caption) > * > * {
    padding: 13px 15px;
    border-bottom-color: var(--crm-border);
}

.table thead th {
    color: #686a7b;
    background: #f9f9fc;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.table tbody tr {
    transition: background .16s ease;
}

.table tbody tr:hover {
    background: rgba(101,87,216,.025);
}

.pagination {
    gap: 5px;
    flex-wrap: wrap;
}

.page-link {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid var(--crm-border);
    border-radius: 10px !important;
    color: var(--crm-text);
    font-size: 11px;
}

.active > .page-link {
    background: var(--crm-primary);
    border-color: var(--crm-primary);
}

.timeline-item {
    position: relative;
    margin-right: 12px;
    padding: 0 24px 20px 0;
    border-right: 2px solid var(--crm-border);
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 3px;
    right: -7px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--crm-surface);
    border-radius: 999px;
    background: var(--crm-primary);
    box-shadow: 0 0 0 2px var(--crm-primary-soft);
}

.crm-activity-list {
    display: grid;
    gap: 9px;
}

.crm-activity-item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--crm-border);
    border-radius: 15px;
    background: #fff;
}

.crm-activity-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--crm-primary-soft);
    color: var(--crm-primary);
    font-weight: 900;
}

.crm-activity-body {
    min-width: 0;
    flex: 1;
}

.crm-activity-name {
    font-weight: 900;
    text-decoration: none;
}

.crm-activity-meta {
    color: var(--crm-muted);
    font-size: 10px;
    margin-top: 5px;
}

.crm-filter-card {
    padding: 16px;
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius);
    background: var(--crm-surface);
    box-shadow: var(--crm-shadow);
}

.crm-empty-state {
    padding: 36px 18px;
    text-align: center;
    color: var(--crm-muted);
}

.crm-empty-state-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--crm-primary-soft);
    color: var(--crm-primary);
    font-size: 23px;
}

.crm-mobile-topbar {
    min-height: 62px;
    padding: 0 14px;
}

.crm-mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--crm-text);
    text-decoration: none;
    font-weight: 900;
}

.crm-mobile-brand:hover {
    color: var(--crm-text);
}

.crm-mobile-brand .crm-brand-mark {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
    border-radius: 11px;
    font-size: 16px;
}

.crm-mobile-bottom-nav {
    display: none;
}

.crm-offcanvas {
    width: min(86vw, 330px) !important;
    background: linear-gradient(180deg, #181925, #23233a);
    color: #fff;
}

.crm-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.crm-offcanvas .btn-close {
    filter: invert(1);
}

.crm-guest-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.crm-login-wrap {
    width: min(100%, 960px);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid var(--crm-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(27,28,45,.11);
}

.crm-login-visual {
    position: relative;
    min-height: 570px;
    padding: 45px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 10%, rgba(154,143,255,.32), transparent 17rem),
        linear-gradient(145deg, #171823, #343260);
    color: #fff;
}

.crm-login-visual::after {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(32,201,151,.12);
}

.crm-login-visual > * {
    position: relative;
    z-index: 1;
}

.crm-login-visual h1 {
    margin: 70px 0 14px;
    font-size: clamp(29px, 4vw, 47px);
    line-height: 1.45;
    font-weight: 900;
}

.crm-login-visual p {
    color: rgba(255,255,255,.67);
    font-size: 13px;
}

.crm-login-features {
    display: grid;
    gap: 9px;
    margin-top: 28px;
}

.crm-login-feature {
    display: flex;
    gap: 9px;
    align-items: center;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

.crm-login-feature span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.09);
}

.crm-login-form {
    display: flex;
    align-items: center;
    padding: 46px;
}

.crm-login-form-inner {
    width: 100%;
}

.crm-login-form h2 {
    margin-bottom: 7px;
    font-size: 24px;
    font-weight: 900;
}

.crm-login-form-subtitle {
    margin-bottom: 27px;
    color: var(--crm-muted);
    font-size: 12px;
}

.crm-mobile-menu-button {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--crm-border);
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 78px;
    }

    .crm-main {
        width: 100%;
        margin-right: 0;
    }

    .crm-content {
        padding: 18px 14px 30px;
    }

    .crm-topbar {
        min-height: 62px;
        padding: 0 14px;
    }

    .crm-mobile-bottom-nav {
        position: fixed;
        z-index: 1030;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        min-height: 62px;
        padding: 7px;
        border: 1px solid rgba(226,227,237,.92);
        border-radius: 19px;
        background: rgba(255,255,255,.92);
        box-shadow: 0 17px 45px rgba(27,28,45,.15);
        backdrop-filter: blur(18px);
    }

    .crm-mobile-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #858796;
        text-decoration: none;
        border: 0;
        background: transparent;
        font-size: 9px;
    }

    .crm-mobile-nav-link span:first-child {
        font-size: 18px;
        line-height: 1.2;
    }

    .crm-mobile-nav-link.active {
        color: var(--crm-primary);
        font-weight: 900;
    }

    .crm-mobile-nav-link.crm-mobile-add {
        width: 49px;
        height: 49px;
        align-self: center;
        justify-self: center;
        margin-top: -26px;
        border-radius: 16px;
        background: var(--crm-primary);
        color: #fff;
        box-shadow: 0 12px 26px rgba(101,87,216,.32);
        font-size: 0;
    }

    .crm-mobile-nav-link.crm-mobile-add span:first-child {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .crm-page-header {
        align-items: stretch;
    }

    .crm-page-header > div:last-child,
    .crm-page-header .d-flex {
        width: 100%;
    }

    .crm-page-header .btn {
        flex: 1;
    }

    .card-body {
        padding: 15px;
    }

    .crm-filter-card,
    form.card.card-body {
        padding: 14px !important;
    }

    .table-responsive {
        overflow: visible;
    }

    table.crm-table {
        display: block;
    }

    table.crm-table thead {
        display: none;
    }

    table.crm-table tbody {
        display: grid;
        gap: 10px;
        padding: 10px;
    }

    table.crm-table tbody tr {
        display: block;
        overflow: hidden;
        border: 1px solid var(--crm-border);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(27,28,45,.035);
    }

    table.crm-table tbody td {
        display: grid;
        grid-template-columns: minmax(90px, 36%) minmax(0, 1fr);
        align-items: center;
        min-height: 45px;
        padding: 10px 12px;
        border-bottom: 1px dashed var(--crm-border);
        text-align: right !important;
        overflow-wrap: anywhere;
    }

    table.crm-table tbody td:last-child {
        border-bottom: 0;
    }

    table.crm-table tbody td::before {
        content: attr(data-label);
        padding-left: 10px;
        color: var(--crm-muted);
        font-size: 10px;
        font-weight: 900;
    }

    table.crm-table tbody td.crm-colspan-cell {
        display: block;
        padding: 28px 13px;
        text-align: center !important;
    }

    table.crm-table tbody td.crm-colspan-cell::before {
        display: none;
    }

    table.crm-table tbody td .btn,
    table.crm-table tbody td form {
        width: 100%;
    }

    table.crm-table tbody td .btn {
        min-height: 38px;
    }

    .crm-login-wrap {
        grid-template-columns: 1fr;
    }

    .crm-login-visual {
        min-height: auto;
        padding: 27px 23px;
    }

    .crm-login-visual h1 {
        margin: 28px 0 10px;
        font-size: 27px;
    }

    .crm-login-features {
        display: none;
    }

    .crm-login-form {
        padding: 28px 22px 32px;
    }
}

@media (max-width: 420px) {
    .crm-content {
        padding-inline: 10px;
    }

    .crm-stat-card {
        min-height: 130px;
        padding: 14px;
    }

    .crm-stat-value {
        font-size: 20px;
    }

    table.crm-table tbody {
        padding: 8px;
    }
}

/* Phase 8: professional lead workspace */
.crm-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--crm-border);
    border-radius: 12px;
    background: #fff;
}

.crm-check-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
}

.crm-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding-inline: 8px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    background: #eef0f4;
    color: #4c5565;
}

.crm-score-high { background: #e4f7ec; color: #18794e; }
.crm-score-medium { background: #fff2d7; color: #9a5b00; }
.crm-score-low { background: #ffe8e8; color: #b32929; }

.crm-kanban {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(285px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 18px;
    scroll-snap-type: x proximity;
}

.crm-kanban-column {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 230px);
    min-height: 430px;
    border: 1px solid var(--crm-border);
    border-radius: 16px;
    background: #f5f6f9;
    overflow: hidden;
    scroll-snap-align: start;
}

.crm-kanban-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px;
    border-bottom: 1px solid var(--crm-border);
    background: #fff;
}

.crm-kanban-dropzone {
    flex: 1;
    min-height: 200px;
    padding: 10px;
    overflow-y: auto;
    transition: background .15s ease;
}

.crm-kanban-dropzone.is-over { background: #eae8ff; }

.crm-kanban-card {
    padding: 13px;
    margin-bottom: 10px;
    border: 1px solid var(--crm-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(33, 37, 41, .05);
    cursor: grab;
}

.crm-kanban-card.is-dragging { opacity: .45; }

.crm-calendar-weekdays,
.crm-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(130px, 1fr));
    min-width: 910px;
}

.crm-calendar-weekdays {
    padding: 0 5px;
    color: var(--crm-muted);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.crm-calendar-grid {
    margin-top: 7px;
    border-top: 1px solid var(--crm-border);
    border-right: 1px solid var(--crm-border);
    background: #fff;
}

.crm-calendar-grid-wrap { overflow-x: auto; }

.crm-calendar-day {
    min-height: 145px;
    padding: 8px;
    border-left: 1px solid var(--crm-border);
    border-bottom: 1px solid var(--crm-border);
}

.crm-calendar-day.is-empty { background: #f7f8fa; }
.crm-calendar-day.is-today { background: #f0efff; }
.crm-calendar-day header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.crm-calendar-day header small { color: var(--crm-muted); }
.crm-calendar-items { display: grid; gap: 5px; }

.crm-calendar-item {
    display: block;
    padding: 6px;
    border-radius: 7px;
    background: #e9f3ff;
    color: #185f9c;
    font-size: 11px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.crm-calendar-item.is-overdue { background: #ffe8e8; color: #a12828; }

.crm-permission-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 72px;
    padding: 14px;
    border: 1px solid var(--crm-border);
    border-radius: 13px;
    cursor: pointer;
}

.crm-permission-item span { display: grid; gap: 4px; }
.crm-permission-item small { color: var(--crm-muted); }

.crm-bar-chart { display: grid; gap: 13px; }
.crm-bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 12px; }
.crm-bar-track { height: 9px; border-radius: 999px; background: #eceef3; overflow: hidden; }
.crm-bar-track span { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg, #6557d8, #1683d8); }

.crm-mini-columns {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    min-height: 185px;
    overflow-x: auto;
}

.crm-mini-column {
    display: grid;
    grid-template-rows: 150px auto;
    align-items: end;
    justify-items: center;
    min-width: 30px;
    height: 180px;
}

.crm-mini-column span { display: block; width: 18px; min-height: 4px; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, #6557d8, #1683d8); }
.crm-mini-column small { margin-top: 5px; color: var(--crm-muted); font-size: 9px; transform: rotate(-45deg); }

@media (max-width: 991px) {
    .crm-kanban-column { max-height: calc(100vh - 250px); }
    .crm-calendar-grid, .crm-calendar-weekdays { min-width: 840px; }
}

.crm-kanban-mobile-status{display:none}
@media (max-width: 768px){
    .crm-kanban-mobile-status{display:block}
    .crm-kanban-card{cursor:default}
}
