:root {
    --crm-aqua-light: #87bdff;
    --crm-aqua: #4f9eea;
    --crm-blue: #2f7fcf;
    --crm-blue-dark: #174f8d;
    --crm-navy: #102a47;
    --crm-navy-dark: #050b13;
    --crm-panel: rgba(12, 25, 41, 0.96);
    --crm-panel-soft: rgba(16, 34, 56, 0.9);
    --crm-silver-light: #f1f5fa;
    --crm-silver: #bdc9d7;
    --crm-silver-dark: #8192a6;
    --crm-white: #ffffff;
    --crm-success: #66e0a3;
    --crm-warning: #ffd06a;
    --crm-danger: #ff7f8d;
    --crm-border: rgba(158, 184, 214, 0.2);
    --crm-border-strong: rgba(158, 184, 214, 0.34);
    --crm-shadow: 0 28px 68px rgba(0, 6, 16, 0.46);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    min-height: 100%;
    color-scheme: dark;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--crm-silver-light);
    background:
        radial-gradient(circle at 14% 0, rgba(55, 162, 161, 0.2), transparent 32rem),
        radial-gradient(circle at 92% 100%, rgba(124, 111, 205, 0.18), transparent 30rem),
        linear-gradient(145deg, #090c10, #17232a 54%, #211f38);
    background-attachment: fixed;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--crm-white);
    background: rgba(47, 127, 207, 0.72);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(135, 189, 255, 0.68);
    outline-offset: 3px;
}

.crm-auth-page {
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.crm-auth-shell {
    width: min(100%, 520px);
}

.crm-auth-card,
.crm-leads-panel,
.crm-summary-card,
.crm-dialog-shell {
    border: 1px solid var(--crm-border);
    background:
        radial-gradient(circle at 100% 0, rgba(118, 108, 199, 0.14), transparent 18rem),
        linear-gradient(145deg, rgba(37, 45, 54, 0.98), rgba(14, 19, 25, 0.99));
    box-shadow: var(--crm-shadow);
}

.crm-auth-card {
    padding: 40px;
    border-radius: 22px;
    box-shadow: var(--crm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.crm-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--crm-silver-light);
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.crm-brand img {
    width: 76px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 6, 16, 0.34));
}

.crm-brand span {
    display: grid;
    gap: 2px;
}

.crm-brand small {
    color: var(--crm-aqua-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.crm-auth-heading {
    margin: 46px 0 28px;
}

.crm-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--crm-aqua-light);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.crm-auth-heading h1,
.crm-page-heading h1,
.crm-panel-heading h2,
.crm-dialog-header h2 {
    margin: 0;
    color: var(--crm-silver-light);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.crm-auth-heading h1 {
    font-size: clamp(2rem, 7vw, 3.1rem);
}

.crm-auth-heading p,
.crm-page-heading p {
    margin: 14px 0 0;
    color: var(--crm-silver);
}

.crm-form {
    display: grid;
    gap: 18px;
}

.crm-field {
    display: grid;
    gap: 7px;
}

.crm-field > span {
    color: var(--crm-silver-light);
    font-size: 0.82rem;
    font-weight: 800;
}

.crm-field input,
.crm-field select,
.crm-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--crm-silver-light);
    background: rgba(3, 10, 18, 0.86);
    border: 1px solid rgba(158, 184, 214, 0.24);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.crm-field input:focus,
.crm-field select:focus,
.crm-field textarea:focus {
    background: rgba(5, 14, 25, 0.96);
    border-color: rgba(135, 189, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(47, 127, 207, 0.16);
    outline: 0;
}

.crm-field select option {
    color: var(--crm-silver-light);
    background: #08111d;
}

.crm-field textarea {
    min-height: 150px;
    resize: vertical;
}

.crm-field input::placeholder,
.crm-field textarea::placeholder {
    color: var(--crm-silver-dark);
}

.crm-primary-button,
.crm-secondary-button,
.crm-danger-button,
.crm-icon-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 850;
    white-space: nowrap;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.crm-primary-button {
    padding: 0 20px;
    color: var(--crm-white);
    background: linear-gradient(145deg, #3f8fdf, #1d5fa8);
    border: 1px solid rgba(127, 187, 245, 0.7);
    box-shadow: 0 12px 28px rgba(14, 69, 128, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.crm-secondary-button {
    padding: 0 18px;
    color: var(--crm-silver-light);
    background: linear-gradient(145deg, rgba(39, 74, 108, 0.96), rgba(10, 28, 47, 0.98));
    border: 1px solid rgba(104, 151, 196, 0.46);
}

.crm-danger-button {
    padding: 0 18px;
    color: #fff5f6;
    background: rgba(151, 35, 52, 0.45);
    border: 1px solid rgba(255, 127, 141, 0.62);
}

.crm-primary-button:hover,
.crm-secondary-button:hover,
.crm-danger-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 6, 16, 0.38);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    transform: none !important;
}

.crm-status {
    min-height: 24px;
    margin: 0;
    color: var(--crm-silver);
    font-size: 0.86rem;
}

.crm-status[data-state="success"] {
    color: var(--crm-success);
}

.crm-status[data-state="error"] {
    color: var(--crm-danger);
}

.crm-back-link {
    display: block;
    margin-top: 26px;
    color: var(--crm-silver);
    font-size: 0.85rem;
    text-align: center;
}

.crm-back-link:hover {
    color: var(--crm-white);
}

.crm-access-gate {
    display: grid;
    min-height: 100vh;
    place-items: center;
    align-content: center;
    gap: 16px;
    padding: 28px;
    text-align: center;
}

.crm-access-gate p {
    max-width: 560px;
    margin: 0;
    color: var(--crm-silver);
}

.crm-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(158, 184, 214, 0.18);
    border-top-color: var(--crm-aqua-light);
    border-radius: 50%;
    animation: crm-spin 0.85s linear infinite;
}

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

.crm-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px max(24px, calc((100vw - 1320px) / 2));
    background: rgba(5, 12, 22, 0.9);
    border-bottom: 1px solid var(--crm-border);
    box-shadow: 0 12px 34px rgba(0, 5, 14, 0.3);
    backdrop-filter: blur(18px) saturate(120%);
}

.crm-brand-compact img {
    width: 68px;
    height: 58px;
}

.crm-account {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crm-account > span {
    max-width: 280px;
    overflow: hidden;
    color: var(--crm-silver);
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crm-main {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 60px 0 88px;
}

.crm-page-heading,
.crm-panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.crm-page-heading h1 {
    color: var(--crm-white);
    background: linear-gradient(135deg, #ffffff 4%, #d9e3ef 62%, #8dbcf2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    -webkit-text-fill-color: transparent;
}

.crm-page-heading p {
    max-width: 760px;
}

.crm-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--crm-success);
    background: rgba(25, 112, 77, 0.18);
    border: 1px solid rgba(102, 224, 163, 0.32);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 850;
    white-space: nowrap;
}

.crm-live-indicator span {
    width: 8px;
    height: 8px;
    background: var(--crm-success);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(102, 224, 163, 0.75);
}

.crm-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 42px 0;
}

.crm-summary-card {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 132px;
    align-content: space-between;
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 6, 16, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.crm-summary-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(95, 160, 224, 0.78), transparent);
}

.crm-summary-card:nth-child(6n + 1)::before {
    background: linear-gradient(90deg, transparent, #4a9ae8, transparent);
}

.crm-summary-card:nth-child(6n + 1) {
    background: linear-gradient(145deg, rgba(25, 62, 96, 0.98), rgba(10, 25, 41, 0.99));
}

.crm-summary-card:nth-child(6n + 2)::before {
    background: linear-gradient(90deg, transparent, #4aa6b7, transparent);
}

.crm-summary-card:nth-child(6n + 2) {
    background: linear-gradient(145deg, rgba(20, 68, 68, 0.98), rgba(8, 30, 32, 0.99));
}

.crm-summary-card:nth-child(6n + 3)::before {
    background: linear-gradient(90deg, transparent, #e1b75d, transparent);
}

.crm-summary-card:nth-child(6n + 3) {
    background: linear-gradient(145deg, rgba(74, 59, 34, 0.98), rgba(31, 25, 17, 0.99));
}

.crm-summary-card:nth-child(6n + 4)::before {
    background: linear-gradient(90deg, transparent, #66c995, transparent);
}

.crm-summary-card:nth-child(6n + 4) {
    background: linear-gradient(145deg, rgba(26, 67, 49, 0.98), rgba(11, 29, 22, 0.99));
}

.crm-summary-card:nth-child(6n + 5)::before {
    background: linear-gradient(90deg, transparent, #7f90df, transparent);
}

.crm-summary-card:nth-child(6n + 5) {
    background: linear-gradient(145deg, rgba(54, 49, 91, 0.98), rgba(22, 21, 43, 0.99));
}

.crm-summary-card:nth-child(6n + 6)::before {
    background: linear-gradient(90deg, transparent, #aebdd0, transparent);
}

.crm-summary-card:nth-child(6n + 6) {
    background: linear-gradient(145deg, rgba(52, 61, 69, 0.98), rgba(22, 27, 32, 0.99));
}

.crm-summary-card span {
    color: var(--crm-silver);
    font-size: 0.78rem;
    font-weight: 750;
}

.crm-summary-card strong {
    color: var(--crm-white);
    font-size: 2.25rem;
    line-height: 1;
}

.crm-leads-panel {
    padding: 32px;
    border-radius: 21px;
    box-shadow: var(--crm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.crm-panel-heading h2,
.crm-dialog-header h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.crm-result-count {
    color: var(--crm-silver);
    font-size: 0.82rem;
}

.crm-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
    gap: 16px;
    margin: 28px 0 18px;
}

.crm-panel-status {
    padding: 22px 0;
    text-align: center;
}

.crm-lead-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.crm-lead-card {
    display: grid;
    gap: 20px;
    padding: 22px;
    background: linear-gradient(145deg, rgba(35, 50, 58, 0.97), rgba(12, 23, 28, 0.99));
    border: 1px solid var(--crm-border);
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(0, 6, 16, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.crm-lead-card:hover {
    transform: translateY(-3px);
    border-color: rgba(135, 189, 255, 0.38);
    box-shadow: 0 22px 48px rgba(0, 6, 16, 0.34);
}

.crm-lead-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.crm-lead-card h3 {
    margin: 0;
    color: var(--crm-white);
    font-size: 1.18rem;
}

.crm-lead-card-header p,
.crm-lead-contact {
    margin: 4px 0 0;
    color: var(--crm-silver);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.crm-status-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
    white-space: nowrap;
}

.crm-status-new,
.crm-status-contacted {
    color: #b8f7ff;
    background: rgba(39, 207, 216, 0.18);
    border: 1px solid rgba(82, 227, 225, 0.32);
}

.crm-status-qualified,
.crm-status-quote-sent {
    color: #fff0bd;
    background: rgba(255, 208, 106, 0.16);
    border: 1px solid rgba(255, 208, 106, 0.32);
}

.crm-status-accepted,
.crm-status-in-progress,
.crm-status-completed {
    color: #bff9d8;
    background: rgba(102, 224, 163, 0.16);
    border: 1px solid rgba(102, 224, 163, 0.32);
}

.crm-status-lost {
    color: #ffd1d6;
    background: rgba(255, 127, 141, 0.16);
    border: 1px solid rgba(255, 127, 141, 0.32);
}

.crm-lead-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.crm-lead-meta div {
    display: grid;
    gap: 3px;
}

.crm-lead-meta span {
    color: var(--crm-silver-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.crm-lead-meta strong {
    color: var(--crm-silver-light);
    font-size: 0.83rem;
    overflow-wrap: anywhere;
}

.crm-view-button {
    width: 100%;
}

.crm-dialog {
    width: min(900px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    padding: 0;
    color: var(--crm-silver-light);
    background: transparent;
    border: 0;
    border-radius: 24px;
}

.crm-dialog::backdrop {
    background: rgba(1, 5, 11, 0.82);
    backdrop-filter: blur(6px);
}

.crm-dialog-shell {
    max-height: calc(100vh - 28px);
    padding: 30px;
    overflow-y: auto;
    border-radius: 21px;
}

.crm-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.crm-icon-button {
    width: 44px;
    min-height: 44px;
    padding: 0;
    color: var(--crm-white);
    background: rgba(16, 36, 59, 0.9);
    border: 1px solid var(--crm-border);
    font-size: 1.8rem;
    line-height: 1;
}

.crm-contact-actions {
    display: flex;
    gap: 10px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.crm-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.crm-detail-grid > div {
    min-width: 0;
    padding: 15px;
    background: rgba(4, 12, 22, 0.72);
    border: 1px solid var(--crm-border);
    border-radius: 13px;
}

.crm-detail-grid .crm-detail-full {
    grid-column: 1 / -1;
}

.crm-detail-grid dt {
    margin-bottom: 5px;
    color: var(--crm-silver-dark);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.crm-detail-grid dd {
    margin: 0;
    color: var(--crm-silver-light);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.crm-lead-form {
    padding-top: 26px;
    border-top: 1px solid var(--crm-border);
}

.crm-email-section {
    display: grid;
    gap: 20px;
    margin-top: 10px;
    padding: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(65, 171, 168, 0.17), transparent 18rem),
        linear-gradient(145deg, rgba(22, 56, 58, 0.9), rgba(18, 21, 39, 0.92));
    border: 1px solid rgba(135, 189, 255, 0.26);
    border-radius: 16px;
}

.crm-email-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.crm-email-heading h3,
.crm-history-heading h4 {
    margin: 0;
    color: var(--crm-white);
}

.crm-email-heading h3 {
    font-size: 1.45rem;
}

.crm-email-heading p {
    max-width: 410px;
    margin: 0;
    padding: 10px 12px;
    color: var(--crm-silver);
    background: rgba(3, 10, 18, 0.64);
    border-left: 3px solid var(--crm-aqua-light);
    border-radius: 8px;
    font-size: 0.8rem;
}

.crm-email-compose-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: 16px;
}

.crm-email-compose-grid #emailMessage {
    min-height: 270px;
    line-height: 1.55;
}

.crm-email-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.crm-email-status {
    min-height: 0;
}

.crm-communication-history {
    display: grid;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--crm-border);
}

.crm-history-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.crm-history-heading h4 {
    font-size: 1.05rem;
}

.crm-history-heading span {
    color: var(--crm-silver-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.crm-communication-list {
    display: grid;
    gap: 12px;
}

.crm-communication-record {
    padding: 16px;
    background: rgba(4, 12, 22, 0.72);
    border: 1px solid var(--crm-border);
    border-radius: 13px;
}

.crm-communication-record h5 {
    margin: 0 0 13px;
    color: var(--crm-white);
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.crm-communication-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.crm-communication-meta div {
    display: grid;
    gap: 2px;
}

.crm-communication-meta span {
    color: var(--crm-silver-dark);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.crm-communication-meta strong {
    color: var(--crm-silver-light);
    font-size: 0.79rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.crm-communication-record details {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.crm-communication-record summary {
    width: fit-content;
    color: var(--crm-aqua-light);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 800;
}

.crm-communication-record pre {
    margin: 14px 0 0;
    color: var(--crm-silver);
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.crm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.crm-field-full {
    grid-column: 1 / -1;
}

.crm-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 1120px) {
    .crm-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .crm-header,
    .crm-page-heading,
    .crm-panel-heading {
        align-items: flex-start;
    }

    .crm-page-heading,
    .crm-panel-heading {
        flex-direction: column;
    }

    .crm-lead-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .crm-auth-page {
        padding: 14px;
    }

    .crm-auth-card,
    .crm-leads-panel,
    .crm-dialog-shell {
        padding: 22px;
    }

    .crm-auth-heading {
        margin-top: 34px;
    }

    .crm-header {
        position: static;
        min-height: auto;
        padding: 14px;
        flex-direction: column;
    }

    .crm-account {
        width: 100%;
        justify-content: space-between;
    }

    .crm-account > span {
        max-width: 55vw;
    }

    .crm-main {
        width: min(100% - 28px, 1320px);
        padding-top: 38px;
    }

    .crm-summary-grid,
    .crm-toolbar,
    .crm-form-grid,
    .crm-detail-grid,
    .crm-email-compose-grid {
        grid-template-columns: 1fr;
    }

    .crm-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .crm-summary-card {
        min-height: 112px;
        padding: 16px;
    }

    .crm-summary-card strong {
        font-size: 1.85rem;
    }

    .crm-detail-grid .crm-detail-full,
    .crm-field-full {
        grid-column: auto;
    }

    .crm-lead-card-header,
    .crm-form-actions,
    .crm-email-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .crm-status-badge {
        width: fit-content;
    }

    .crm-form-actions button,
    .crm-email-actions button {
        width: 100%;
    }

    .crm-email-section {
        padding: 18px;
    }

    .crm-communication-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .crm-summary-grid,
    .crm-lead-meta {
        grid-template-columns: 1fr;
    }

    .crm-brand span {
        font-size: 0.88rem;
    }

    .crm-brand img {
        width: 62px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .crm-page-heading h1 {
        color: CanvasText;
        background: none;
        -webkit-text-fill-color: CanvasText;
    }
}
