.crm-lead-page {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: calc(100vh - 90px);
    background: #f4f7fb;
}

.crm-lead-card__title-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #17324d;
    font-weight: 700;
    text-align: left;
}

.crm-lead-card__title-button:hover {
    color: var(--primary-color);
}

.crm-lead-card__action-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crm-lead-detail-page {
    position: relative;
    min-height: calc(100vh - 90px);
    padding: 12px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.10), transparent 22%),
        #f3f7fb;
}

.crm-lead-detail {
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.crm-lead-detail__sidebar {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crm-lead-detail__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.crm-lead-detail__state {
    padding: 48px 28px;
    border: 1px dashed #c8d6e6;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    color: #45607c;
    text-align: center;
    box-shadow: 0 20px 45px -36px rgba(15, 44, 88, 0.4);
}

.crm-detail-card,
.crm-detail-panel,
.crm-lead-quick__box {
    border: 1px solid rgba(199, 213, 224, 0.82);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 50px -40px rgba(15, 44, 88, 0.48);
    backdrop-filter: blur(10px);
}

.crm-detail-card {
    padding: 16px;
}

.crm-detail-card--hero {
    background:
        linear-gradient(145deg, rgba(15, 118, 110, 0.04), transparent 55%),
        rgba(255, 255, 255, 0.95);
}

.crm-detail-card__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    color: #5f7390;
    font-size: 0.88rem;
}

.crm-detail-card__crumb {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2b7de9;
}

.crm-detail-card__title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.crm-detail-card__title {
    margin: 0;
    color: #183550;
    font-size: 1.7rem;
    line-height: 1.25;
}

.crm-detail-card__subtitle {
    margin: 6px 0 0;
    color: #61738a;
}

.crm-detail-card__section-title {
    margin-bottom: 14px;
    color: #1d3557;
    font-size: 1rem;
    font-weight: 700;
}

.crm-detail-card__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 12px;
}

.crm-detail-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 5px;
    background: #f8fbff;
    border: 1px solid #e2ebf3;
}

.crm-detail-stat--value {
    background: linear-gradient(135deg, #e7fff2 0%, #ecf8ff 100%);
}

.crm-detail-stat--quick {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.crm-detail-stat__label {
    color: #6b7d94;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.crm-detail-stat strong {
    color: #17324d;
    font-size: 1rem;
}

.crm-detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.crm-detail-info-list__row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
}

.crm-detail-info-list__row dt {
    color: #66788e;
    font-weight: 500;
}

.crm-detail-info-list__row dd {
    margin: 0;
    color: #183550;
    font-weight: 600;
}

.crm-detail-person {
    display: flex;
    gap: 12px;
}

.crm-detail-person__avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #991b1b;
    font-weight: 700;
}

.crm-detail-person__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.crm-detail-person__content strong {
    color: #183550;
}

.crm-detail-person__content a,
.crm-detail-person__content span {
    color: #2b7de9;
    text-decoration: none;
    word-break: break-word;
}

.crm-detail-stagebar {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

.crm-detail-stagebar__flow {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 3px;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.crm-detail-stagebar__item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0 24px 0 30px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #cfdceb;
    color: #54687f;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
    transition: filter 0.18s ease, transform 0.18s ease;
}

.crm-detail-stagebar__item span {
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crm-detail-stagebar__item::before {
    display: none;
}

.crm-detail-stagebar__item::after {
    display: none;
}

.crm-detail-stagebar__item:first-child {
    padding-left: 20px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.crm-detail-stagebar__item + .crm-detail-stagebar__item {
    margin-left: 0;
}

.crm-detail-stagebar__item--completed {
    background: linear-gradient(180deg, #31c85b 0%, #27b74f 100%);
    color: #fff;
}

.crm-detail-stagebar__item--current {
    background: linear-gradient(180deg, #2fcf5d 0%, #25b74f 100%);
    color: #fff;
    box-shadow: none;
}

.crm-detail-stagebar__terminal {
    position: relative;
    flex: 0 0 232px;
}

.crm-detail-stagebar__terminal-trigger {
    width: 100%;
    min-height: 40px;
    padding: 0 16px 0 18px;
    border: 1px solid #d5e1ec;
    border-radius: 5px;
    background: #fff;
    color: #233548;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: none;
}

.crm-detail-stagebar__terminal-trigger--open {
    border-color: #c4d4e4;
}

.crm-detail-stagebar__terminal-trigger--won {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #166534;
}

.crm-detail-stagebar__terminal-trigger--lost {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.crm-detail-stagebar__terminal-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 15;
    width: 100%;
    padding: 8px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 24px 36px -28px rgba(15, 23, 42, 0.45);
}

.crm-detail-stagebar__terminal-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    text-align: left;
}

.crm-detail-stagebar__terminal-option:hover {
    background: #f8fafc;
}

.crm-detail-stagebar__terminal-option--won .crm-detail-stagebar__terminal-dot {
    background: #22c55e;
}

.crm-detail-stagebar__terminal-option--lost .crm-detail-stagebar__terminal-dot {
    background: #ef4444;
}

.crm-detail-stagebar__terminal-option--current {
    background: #f8fafc;
    opacity: 0.72;
}

.crm-detail-stagebar__terminal-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
}

.crm-stage-outcome-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.32);
}

.crm-stage-outcome-modal__dialog {
    width: min(640px, 100%);
}

.crm-stage-outcome-modal__panel {
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 34px 60px -34px rgba(15, 23, 42, 0.55);
}

.crm-stage-outcome-modal__header,
.crm-stage-outcome-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
}

.crm-stage-outcome-modal__header {
    border-bottom: 1px solid #e5e7eb;
}

.crm-stage-outcome-modal__header strong {
    color: #1f2937;
    font-size: 1.05rem;
}

.crm-stage-outcome-modal__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
}

.crm-stage-outcome-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crm-stage-outcome-modal__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.crm-stage-outcome-modal__field label {
    color: #334155;
    font-weight: 600;
}

.crm-stage-outcome-modal__input-group {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: stretch;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.crm-stage-outcome-modal__input-group span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
}

.crm-stage-outcome-modal__input-group input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.crm-stage-outcome-modal__footer {
    border-top: 1px solid #e5e7eb;
    justify-content: end;
}

.crm-stage-outcome-modal__close {
    width: 36px;
    height: 36px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: #fff;
    color: #475569;
}

.crm-detail-panel {
    overflow: hidden;
}

.crm-detail-tabs {
    display: flex;
    gap: 4px;
    padding: 10px 12px 0;
    border-bottom: 1px solid #e3ebf3;
    overflow-x: auto;
}

.crm-detail-tabs__item {
    padding: 12px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #183550;
    font-weight: 600;
    white-space: nowrap;
}

.crm-detail-tabs__item--active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.crm-detail-panel__body {
    padding: 16px;
    min-height: 420px;
}

.crm-detail-empty {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border: 1px dashed #c9d7e5;
    border-radius: 5px;
    color: #5e7187;
    text-align: center;
    background: #fbfdff;
}

.crm-detail-empty--content {
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
}

.crm-detail-empty--action {
    min-height: 320px;
    border-style: solid;
    border-color: #d7e4f2;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-detail-empty--content p {
    margin: 0;
    color: #30485f;
    line-height: 1.7;
}

.crm-detail-empty__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 360px;
}

.crm-detail-empty__visual {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e4f1;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
    color: #8ca0b7;
    font-size: 2rem;
    box-shadow: inset 0 -10px 24px rgba(191, 219, 254, 0.28);
}

.crm-detail-empty__visual--quote {
    color: #7c3aed;
    box-shadow: inset 0 -10px 24px rgba(221, 214, 254, 0.35);
}

.crm-detail-empty__title {
    color: #183550;
    font-size: 1.65rem;
    line-height: 1.2;
}

.crm-detail-empty__hint {
    margin: 0;
    color: #71859b;
    line-height: 1.7;
}

.crm-detail-empty__action {
    padding: 10px 20px;
    border: 1px solid #1d8cf8;
    border-radius: 5px;
    background: #fff;
    color: #1d8cf8;
    font-weight: 700;
    box-shadow: 0 14px 24px -22px rgba(29, 140, 248, 0.55);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.crm-detail-empty__action:hover {
    background: #eff6ff;
    transform: translateY(-1px);
}

.crm-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.crm-detail-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e3ebf4;
    border-radius: 5px;
    background: #fbfdff;
}

.crm-detail-tile__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.crm-detail-tile__header strong {
    color: #183550;
}

.crm-detail-tile__header span,
.crm-detail-tile__description {
    color: #66788e;
}

.crm-detail-tile__description {
    margin: 0;
    line-height: 1.6;
}

.crm-detail-tile__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.crm-detail-tile__metrics div {
    padding: 10px;
    border-radius: 5px;
    background: #f4f8fb;
}

.crm-detail-tile__metrics span {
    display: block;
    margin-bottom: 3px;
    color: #6b7d94;
    font-size: 0.78rem;
}

.crm-detail-tile__metrics strong {
    color: #183550;
    font-size: 0.95rem;
}

.crm-detail-file__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.crm-detail-file__footer span {
    color: #607389;
}

.crm-detail-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.crm-timeline-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.crm-timeline-card__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.crm-timeline-card__icon--blue { background: #dbeafe; color: #1d4ed8; }
.crm-timeline-card__icon--teal { background: #ccfbf1; color: #0f766e; }
.crm-timeline-card__icon--amber { background: #fef3c7; color: #b45309; }
.crm-timeline-card__icon--indigo { background: #e0e7ff; color: #4338ca; }
.crm-timeline-card__icon--green { background: #dcfce7; color: #15803d; }
.crm-timeline-card__icon--orange { background: #ffedd5; color: #c2410c; }
.crm-timeline-card__icon--slate { background: #e2e8f0; color: #475569; }
.crm-timeline-card__icon--yellow { background: #fef9c3; color: #a16207; }

.crm-timeline-card__body {
    padding: 16px 18px;
    border-radius: 5px;
    background: #fbfdff;
    border: 1px solid #e5edf5;
}

.crm-timeline-card__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.crm-timeline-card__eyebrow {
    color: #6b7d94;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.crm-timeline-card__top h3 {
    margin: 4px 0 0;
    color: #183550;
    font-size: 1rem;
}

.crm-timeline-card__time,
.crm-timeline-card__meta,
.crm-timeline-card__description,
.crm-timeline-card__footer {
    color: #62758c;
}

.crm-timeline-card__meta,
.crm-timeline-card__description {
    margin: 10px 0 0;
    line-height: 1.6;
}

.crm-timeline-card__footer {
    margin-top: 12px;
    font-size: 0.9rem;
}

.crm-lead-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.crm-lead-quick__launcher {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 24px 45px -24px rgba(15, 44, 88, 0.72);
}

.crm-lead-quick__menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 8px;
    width: 100%;
}

.crm-lead-quick__action {
    --quick-accent: #2563eb;
    --quick-soft: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --quick-border: #bfdbfe;
    --quick-icon-bg: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    --quick-shadow: rgba(37, 99, 235, 0.34);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--quick-border);
    border-radius: 5px;
    background: var(--quick-soft);
    color: #183550;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 12px 24px -22px var(--quick-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.crm-lead-quick__action:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 16px 28px -22px var(--quick-shadow);
}

.crm-lead-quick__action-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid var(--quick-border);
    background: var(--quick-icon-bg);
    color: var(--quick-accent);
}

.crm-lead-quick__action--mail {
    --quick-accent: #2563eb;
    --quick-soft: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --quick-border: #bfdbfe;
    --quick-icon-bg: linear-gradient(135deg, #ffffff 0%, #e0ecff 100%);
    --quick-shadow: rgba(37, 99, 235, 0.34);
}

.crm-lead-quick__action--call {
    --quick-accent: #059669;
    --quick-soft: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    --quick-border: #a7f3d0;
    --quick-icon-bg: linear-gradient(135deg, #ffffff 0%, #dcfce7 100%);
    --quick-shadow: rgba(5, 150, 105, 0.34);
}

.crm-lead-quick__action--file {
    --quick-accent: #7c3aed;
    --quick-soft: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    --quick-border: #ddd6fe;
    --quick-icon-bg: linear-gradient(135deg, #ffffff 0%, #f3e8ff 100%);
    --quick-shadow: rgba(124, 58, 237, 0.32);
}

.crm-lead-quick__action--note {
    --quick-accent: #ea580c;
    --quick-soft: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    --quick-border: #fed7aa;
    --quick-icon-bg: linear-gradient(135deg, #ffffff 0%, #ffedd5 100%);
    --quick-shadow: rgba(234, 88, 12, 0.32);
}

.crm-lead-quick__action--activity {
    --quick-accent: #db2777;
    --quick-soft: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    --quick-border: #fbcfe8;
    --quick-icon-bg: linear-gradient(135deg, #ffffff 0%, #fce7f3 100%);
    --quick-shadow: rgba(219, 39, 119, 0.32);
}

.crm-lead-quick-modal {
    position: fixed;
    inset: 0;
    z-index: 1290;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.32);
}

.crm-lead-quick-modal__dialog {
    width: min(820px, 100%);
}

.crm-lead-quick-modal .crm-lead-quick__box {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 34px 60px -34px rgba(15, 23, 42, 0.55);
}

.crm-lead-quick__box {
    width: 100%;
    overflow: hidden;
}

.crm-lead-quick__box-header,
.crm-lead-quick__box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
}

.crm-lead-quick__box-header {
    border-bottom: 1px solid #e3ebf4;
}

.crm-lead-quick__box-header strong {
    display: block;
    color: #183550;
}

.crm-lead-quick__box-header span {
    color: #65788f;
}

.crm-lead-quick__box-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    max-height: min(48vh, 520px);
    overflow: auto;
}

.crm-lead-quick-modal .crm-lead-quick__box-body {
    max-height: min(72vh, 680px);
}

.crm-lead-quick__box-footer {
    border-top: 1px solid #e3ebf4;
}

.crm-lead-quick__close {
    width: 34px;
    height: 34px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: #f8fbff;
    color: #5d7187;
}

.crm-lead-quick__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.crm-lead-quick__field label {
    color: #334155;
    font-weight: 600;
}

.crm-lead-quick__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.crm-lead-quick__hint {
    color: #607389;
    font-size: 0.84rem;
}

.crm-lead-quick__checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crm-lead-quick__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 5px;
    background: #f5f9fd;
    color: #183550;
}

.crm-lead-call__notice,
.crm-lead-call__number-card,
.crm-lead-call__metrics div {
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: #fbfdff;
}

.crm-lead-call__number-card span,
.crm-lead-call__metrics span {
    display: block;
    color: #6b7d94;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.crm-lead-call__number-card strong,
.crm-lead-call__metrics strong {
    color: #183550;
    font-size: 1rem;
}

.crm-lead-call__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.crm-lead-call__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1199.98px) {
    .crm-lead-detail {
        grid-template-columns: 1fr;
    }

    .crm-lead-detail__sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .crm-lead-detail-page {
        padding: 8px;
    }

    .crm-detail-card__stats,
    .crm-detail-tile__metrics,
    .crm-lead-call__metrics,
    .crm-lead-quick__field-grid {
        grid-template-columns: 1fr;
    }

    .crm-detail-info-list__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .crm-timeline-card {
        grid-template-columns: 1fr;
    }

    .crm-detail-stagebar {
        flex-direction: column;
        gap: 10px;
    }

    .crm-detail-stagebar__flow {
        flex-direction: column;
        gap: 8px;
    }

    .crm-detail-stagebar__item,
    .crm-detail-stagebar__item:first-child {
        padding: 10px 14px;
        border-radius: 5px;
        clip-path: none;
    }

    .crm-detail-stagebar__item::before,
    .crm-detail-stagebar__item::after {
        display: none;
    }

    .crm-detail-stagebar__item + .crm-detail-stagebar__item {
        margin-left: 0;
    }

    .crm-detail-stagebar__terminal {
        flex: 1 1 auto;
    }

    .crm-stage-outcome-modal__field-grid {
        grid-template-columns: 1fr;
    }

    .crm-lead-quick__menu,
    .crm-lead-quick__box {
        width: 100%;
    }

    .crm-lead-quick__menu {
        grid-template-columns: 1fr;
    }

    .crm-lead-quick-modal {
        padding: 12px;
    }

    .crm-stage-outcome-modal {
        padding: 12px;
    }

    .crm-detail-empty--action {
        min-height: 280px;
    }

    .crm-detail-empty__title {
        font-size: 1.35rem;
    }
}

.crm-lead-page__header {
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    margin: 0;
}

.crm-lead-page__header .container-fluid {
    padding: 0;
}

.crm-lead-page__toolbar {
    border: 1px solid #d8e2ea;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 8px 20px -16px rgba(24, 39, 75, 0.22);
}

.crm-lead-page__filters,
.crm-lead-page__summary {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.crm-lead-page__filters {
    min-width: 0;
}

.crm-lead-page__toolbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

.crm-lead-page__search {
    min-width: 240px;
    flex: 1 1 320px;
}

.crm-lead-page__search .input-group-text {
    background: var(--bs-white);
    border: 1px solid #9f9f9f;
    border-right: 0;
    color: #6b7280;
}

.crm-lead-page__search .theme-input {
    border-left: 0;
}

.crm-lead-page__search .theme-input:focus {
    border-left: 0;
}

.crm-lead-page__select {
    min-width: 220px;
    flex: 0 0 220px;
}

.crm-lead-page__summary {
    justify-content: flex-end;
}

.crm-lead-page__summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 120px;
    margin: 5px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.crm-lead-page__summary-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.crm-lead-page__summary-value {
    color: var(--bs-white);
    font-size: 1rem;
    font-weight: 700;
}

.crm-lead-state {
    padding: 2rem;
    border: 1px dashed #b9c8db;
    border-radius: 8px;
    background: var(--bs-white);
    color: #4b5b70;
    text-align: center;
}

.crm-board-scroll {
    overflow-x: auto;
    padding-bottom: 4px;
}

.crm-board {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 320px);
    gap: 12px;
    align-items: start;
}

.crm-stage {
    display: flex;
    flex-direction: column;
    min-height: 68vh;
    background: var(--bs-white);
    border: 1px solid #d7e1ec;
    border-radius: 5px;
    box-shadow: 0 10px 24px -20px rgba(15, 44, 88, 0.28);
    transition: border-color var(--transition-default), box-shadow var(--transition-default);
}

.crm-stage--dragover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.16);
}

.crm-stage__header {
    padding: 12px;
    border-bottom: 1px solid #ebf1f7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crm-stage__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.crm-stage__title {
    color: #163453;
    font-size: 0.95rem;
    font-weight: 700;
}

.crm-stage__add {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
}

.crm-stage__add:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.crm-stage__metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #1d3557;
    font-weight: 600;
}

.crm-stage__progress {
    width: 100%;
    height: 6px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: #e8edf4;
}

.crm-stage__progress::-webkit-progress-bar {
    background: #e8edf4;
    border-radius: 999px;
}

.crm-stage__progress::-webkit-progress-value {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 999px;
}

.crm-stage__progress::-moz-progress-bar {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 999px;
}

.crm-stage__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    min-height: 220px;
    transition: background-color var(--transition-default);
}

.crm-stage__body--dragover {
    background: #f2f8fb;
}

.crm-stage__empty {
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border: 1px dashed #d6e1ee;
    border-radius: 6px;
    color: #5c6b7f;
    text-align: center;
}

.crm-stage__empty-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 1.35rem;
}

.crm-stage__empty-title {
    margin: 0;
    color: #19324d;
    font-weight: 700;
}

.crm-stage__empty-text {
    margin: 0;
    max-width: 220px;
}

.crm-lead-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e3eaf3;
    border-radius: 8px;
    background: #fbfdff;
    box-shadow: 0 10px 20px -22px rgba(15, 44, 88, 0.45);
    cursor: grab;
    transition: border-color var(--transition-default), box-shadow var(--transition-default), transform var(--transition-default), opacity var(--transition-default);
}

.crm-lead-card:hover {
    border-color: #c6d5e3;
    box-shadow: 0 12px 24px -22px rgba(15, 44, 88, 0.55);
    transform: translateY(-1px);
}

.crm-lead-card:active {
    cursor: grabbing;
}

.crm-lead-card--dragging {
    opacity: 0.55;
    border-style: dashed;
    transform: rotate(1deg);
}

.crm-lead-card--moving {
    opacity: 0.65;
    pointer-events: none;
}

.crm-lead-card__header,
.crm-lead-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.crm-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
    color: #7c2d12;
    font-weight: 700;
}

.crm-lead-card__person {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.crm-lead-card__person strong,
.crm-lead-card__person span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crm-lead-card__person strong {
    color: #17324d;
    font-size: 0.96rem;
}

.crm-lead-card__person span,
.crm-lead-card__description,
.crm-lead-card__meta {
    color: #617286;
    font-size: 0.84rem;
}

.crm-lead-card__rotten {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
}

.crm-lead-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crm-lead-card__title {
    margin: 0;
    color: #17324d;
    font-weight: 700;
}

.crm-lead-card__description {
    margin: 0;
    line-height: 1.45;
}

.crm-lead-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crm-lead-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.crm-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.crm-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #111827;
    font-size: 0.77rem;
    font-weight: 600;
}

.crm-chip--neutral {
    background: #edf2f7;
    color: #334155;
}

.crm-chip--money {
    background: #dbeafe;
    color: #1d4ed8;
}

.crm-lead-card__edit {
    white-space: nowrap;
}

.crm-lead-card__stage {
    min-width: 0;
    flex: 1;
}

.crm-entity-page {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: calc(100vh - 90px);
    background: #f4f7fb;
}

.crm-entity-page__header,
.crm-entity-page__toolbar,
.crm-entity-page__table {
    border-radius: 8px;
    overflow: hidden;
}

.crm-entity-page__header {
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    margin: 0;
}

.crm-entity-page__toolbar,
.crm-entity-page__table {
    border: 1px solid #d8e2ea;
    background: var(--bs-white);
    box-shadow: 0 8px 20px -16px rgba(24, 39, 75, 0.22);
}

.crm-entity-page__header .container-fluid {
    padding: 0;
}

.crm-entity-page__header-strip {
    height: 100%;
}

.crm-entity-page__header-strip--title {
    display: flex;
    align-items: center;
    margin: 0;
}

.crm-entity-page__header-strip--actions {
    padding: 0;
}

.crm-entity-page__header-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    min-width: 0;
    color: var(--bs-white);
}

.crm-entity-page__header-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crm-entity-page__header-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.crm-entity-page__actions,
.crm-entity-page__toolbar,
.crm-entity-page__toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.crm-entity-page__actions {
    margin-left: auto;
    justify-content: flex-end;
}

.crm-entity-page__actions .button-theme {
    white-space: nowrap;
}

.crm-entity-page__toolbar {
    padding: 12px 16px;
}

.crm-entity-page__search {
    min-width: 280px;
    flex: 1 1 360px;
}

.crm-entity-page__filter-select {
    min-width: 220px;
    flex: 0 0 220px;
}

.crm-import-hint {
    color: #5d6f83;
    font-size: 0.84rem;
}

.crm-entity-page__table {
    padding: 12px;
}

.crm-entity-page__table .theme-table,
.crm-entity-page__table table {
    margin-bottom: 0;
}

.crm-table-action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 12px 22px -18px rgba(15, 23, 42, 0.48);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.crm-table-action-btn--danger {
    box-shadow: 0 14px 24px -18px rgba(220, 53, 69, 0.68);
}

.crm-table-action-btn:hover,
.crm-table-action-btn:focus-visible,
.crm-receiver-delete-btn:hover,
.crm-receiver-delete-btn:focus-visible {
    transform: translateY(-1px);
    filter: saturate(1.04);
}

.crm-table-action-btn:hover,
.crm-table-action-btn:focus-visible {
    box-shadow: 0 16px 28px -20px rgba(15, 23, 42, 0.52);
}

.crm-table-action-btn--danger:hover,
.crm-table-action-btn--danger:focus-visible {
    box-shadow: 0 18px 30px -20px rgba(220, 53, 69, 0.76);
}

.crm-receiver-delete-btn {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 14px 24px -18px rgba(220, 53, 69, 0.68);
    white-space: nowrap;
}

.crm-campaign-detail-page {
    position: relative;
    min-height: calc(100vh - 90px);
    padding: 12px;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.10), transparent 24%),
        #f3f7fb;
}

.crm-campaign-detail__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-campaign-detail__toolbar-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crm-campaign-detail__toolbar-info strong {
    color: #183550;
    font-size: 1rem;
}

.crm-campaign-detail__toolbar-info span {
    color: #61758d;
    line-height: 1.5;
}

.crm-campaign-detail__toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.crm-campaign-detail__toolbar-actions .button-theme {
    white-space: nowrap;
}

.crm-campaign-detail__import-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: #f8fbff;
}

.crm-campaign-detail__import-note + .crm-campaign-detail__import-note {
    margin-top: 10px;
}

.crm-campaign-detail__import-note strong {
    color: #183550;
}

.crm-campaign-detail__import-note span {
    color: #64748b;
    line-height: 1.55;
}

.crm-template-variables {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-template-variables__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crm-template-variables__head strong {
    color: #183550;
}

.crm-template-variables__head span {
    color: #61758d;
    line-height: 1.55;
}

.crm-template-variables__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.crm-template-variables__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe6f0;
    border-radius: 4px;
    background: #ffffff;
}

.crm-template-variables__item code {
    color: #0f4c81;
    font-size: 0.78rem;
    font-weight: 700;
}

.crm-template-variables__item strong {
    color: #183550;
    font-size: 0.92rem;
}

.crm-template-variables__item span,
.crm-template-variables__item small {
    color: #64748b;
    line-height: 1.5;
}

.crm-campaign-receiver-modal {
    width: min(960px, 100%);
}

.crm-campaign-customer-modal {
    width: min(1120px, 100%);
}

.crm-campaign-receiver-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.crm-campaign-receiver-modal__upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-campaign-receiver-modal__upload-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crm-campaign-receiver-modal__upload-info strong,
.crm-campaign-receiver-modal__preview-head strong {
    color: #183550;
}

.crm-campaign-receiver-modal__upload-info span,
.crm-campaign-receiver-modal__preview-head span {
    color: #61758d;
    line-height: 1.5;
}

.crm-campaign-receiver-modal__preview-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crm-customer-picker {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.crm-customer-picker__filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px auto;
    gap: 12px;
    align-items: end;
}

.crm-customer-picker__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 3px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-customer-picker__summary-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crm-customer-picker__summary-text strong {
    color: #183550;
}

.crm-customer-picker__summary-text span {
    color: #64748b;
    line-height: 1.5;
}

.crm-customer-picker__status {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crm-customer-picker__status strong {
    color: #183550;
    font-size: 0.86rem;
}

.crm-customer-picker__status span {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
}

.crm-customer-picker__empty {
    padding: 24px;
    border: 1px dashed #dbe6f0;
    border-radius: 3px;
    text-align: center;
    color: #64748b;
    background: #fbfdff;
}

.crm-customer-picker__pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.crm-customer-picker__pagination span {
    color: #52667c;
    font-size: 0.9rem;
}

@media (max-width: 1366px) {
    .crm-lead-page__summary {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .crm-lead-page {
        padding: 8px;
    }

    .crm-campaign-detail-page {
        padding: 8px;
    }

    .crm-lead-page__search,
    .crm-lead-page__select,
    .crm-lead-page__toolbar,
    .crm-lead-card__footer,
    .crm-campaign-detail__toolbar-actions,
    .crm-entity-page__search,
    .crm-entity-page__filter-select,
    .crm-entity-page__actions,
    .crm-entity-page__toolbar-actions,
    .crm-entity-page__header-copy {
        width: 100%;
    }

    .crm-lead-page__filters,
    .crm-lead-card__footer,
    .crm-entity-page__actions,
    .crm-entity-page__toolbar-actions,
    .crm-entity-page__header .section-buttons_list {
        justify-content: stretch;
    }

    .crm-lead-page__filters .button-theme,
    .crm-lead-card__footer .button-theme,
    .crm-entity-page__actions .button-theme,
    .crm-entity-page__toolbar-actions .button-theme,
    .crm-lead-card__stage {
        flex: 1 1 auto;
    }

    .crm-entity-page {
        padding: 8px;
    }

    .crm-entity-page__header,
    .crm-entity-page__toolbar,
    .crm-entity-page__table {
        padding-left: 12px;
        padding-right: 12px;
    }

    .crm-entity-page__header {
        padding-left: 0;
        padding-right: 0;
    }

    .crm-entity-page__header .section-buttons_list__item {
        width: 100%;
        flex-wrap: wrap;
    }

    .crm-lead-page__header .section-buttons_list__item {
        width: 100%;
        flex-wrap: wrap;
    }

    .crm-campaign-detail__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .crm-campaign-receiver-modal__upload,
    .crm-campaign-receiver-modal__actions,
    .crm-customer-picker__summary,
    .crm-customer-picker__pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .crm-customer-picker__filters {
        grid-template-columns: 1fr;
    }
}

.crm-detail-tab-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-detail-tab-actions__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crm-detail-tab-actions__info strong {
    color: #183550;
    font-size: 1rem;
}

.crm-detail-tab-actions__info span {
    color: #61758d;
    line-height: 1.5;
}

.crm-detail-tab-actions__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #0f6cbd;
    border-radius: 5px;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    color: #0f6cbd;
    font-weight: 700;
    box-shadow: 0 16px 28px -24px rgba(15, 108, 189, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.crm-detail-tab-actions__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px -24px rgba(15, 108, 189, 0.62);
}

.crm-stage-outcome-modal__field-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crm-detail-picker-note,
.crm-detail-quote-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.crm-detail-picker-note {
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: #f8fbff;
}

.crm-detail-picker-note strong,
.crm-detail-quote-summary strong {
    color: #183550;
}

.crm-detail-picker-note span,
.crm-detail-quote-summary span {
    color: #64748b;
}

.crm-detail-picker-note strong,
.crm-detail-picker-note span,
.crm-detail-quote-summary strong,
.crm-detail-quote-summary span {
    display: block;
}

.crm-detail-quote-summary {
    padding: 12px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 5px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

@media (max-width: 768px) {
    .crm-detail-tab-actions,
    .crm-detail-picker-note,
    .crm-detail-quote-summary {
        grid-template-columns: 1fr;
    }

    .crm-detail-tab-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .crm-detail-tab-actions__button {
        justify-content: center;
    }

    .crm-stage-outcome-modal__field-grid--triple {
        grid-template-columns: 1fr;
    }
}
