:root {
    --ct-canvas: #090b0a;
    --ct-raised: #0f1310;
    --ct-surface: #151a16;
    --ct-surface-high: #1a211b;
    --ct-border: #303830;
    --ct-border-subtle: #252c26;
    --ct-text: #f2f5ed;
    --ct-text-muted: #aab2a5;
    --ct-text-quiet: #7d877a;
    --ct-lime: #cfed01;
    --ct-lime-soft: rgba(207, 237, 1, 0.12);
    --ct-danger: #ef7474;
    --ct-warning: #efb25d;
    --ct-success: #66cc86;
    --ct-radius-sm: 6px;
    --ct-radius-md: 10px;
    --ct-radius-lg: 14px;
    --ct-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: var(--ct-canvas);
    color: var(--ct-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

:focus-visible {
    outline: 3px solid var(--ct-lime) !important;
    outline-offset: 3px !important;
}

.mud-layout {
    --mud-appbar-height: 52px;
    --mud-drawer-width-left: 264px;
    min-height: 100vh;
    background: var(--ct-canvas);
}

.ct-main-content {
    min-width: 0;
    background: var(--ct-canvas);
}

.ct-content-shell {
    width: 100%;
    max-width: 1560px;
    margin-inline: auto;
    padding: 34px 40px 56px !important;
}

.ct-page {
    width: 100%;
    min-width: 0;
}

.ct-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.ct-page-title {
    margin: 0;
    color: var(--ct-text);
    font-size: clamp(1.65rem, 2.2vw, 2.15rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.12 !important;
}

.mud-typography-h5,
.mud-typography-h6 {
    letter-spacing: -0.02em;
}

.mud-typography-caption,
.mud-input-helper-text {
    font-size: 0.75rem;
}

.ct-appbar {
    height: 52px;
    min-height: 52px;
    border-bottom: 1px solid var(--ct-border-subtle);
    background: rgba(15, 19, 16, 0.96) !important;
    backdrop-filter: blur(16px);
}

.ct-appbar .mud-toolbar {
    height: 52px;
    min-height: 52px !important;
    align-items: center;
    padding-block: 0;
}

.ct-appbar-menu {
    width: 40px;
    height: 40px;
    border-radius: var(--ct-radius-sm);
}

.ct-product-lockup {
    display: inline-flex;
    height: 40px;
    min-width: 0;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    white-space: nowrap;
}

.ct-product-logo {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.ct-product-company {
    color: var(--ct-text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.ct-product-divider {
    width: 1px;
    height: 20px;
    flex: 0 0 1px;
    background: var(--ct-border);
}

.ct-product-name {
    color: var(--ct-text-muted);
    font-size: 0.85rem;
    font-weight: 560;
    letter-spacing: -0.01em;
}

.ct-appbar-title {
    font-size: 1rem !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
}

.ct-appbar-actions {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 4px;
}

.ct-notification-activator,
.ct-profile-activator {
    display: inline-flex;
    height: 40px;
    align-items: center;
}

.ct-profile-activator {
    gap: 6px;
}

.ct-notification-activator .mud-icon-button,
.ct-profile-activator .mud-icon-button {
    width: 40px;
    height: 40px;
    padding: 8px;
}

.notification-badge > .mud-badge-wrapper > .mud-badge.mud-badge-top.right {
    inset: 1px 0 auto auto;
    box-sizing: border-box;
    min-width: 18px;
    height: 18px;
    padding: 3px 5px;
    font-size: 11px;
}

.ct-profile-activator .mud-icon-button-edge-end {
    margin-right: 0;
    margin-inline-end: 0;
}

.ct-profile-activator .mud-button-root {
    min-height: 40px;
    border-radius: var(--ct-radius-sm);
}

.ct-profile-activator > .mud-typography-root {
    line-height: 1;
}

.ct-drawer {
    border-right: 1px solid var(--ct-border-subtle) !important;
    background: var(--ct-raised) !important;
}

.ct-nav-menu {
    padding: 14px 10px;
}

.ct-nav-menu .mud-nav-link {
    display: flex;
    height: 44px;
    min-height: 44px;
    align-items: center;
    margin: 2px 0;
    padding: 0 12px;
    border-radius: var(--ct-radius-sm);
    color: var(--ct-text-muted);
    font-size: 0.9rem;
    font-weight: 520;
    transition: background-color 140ms ease, color 140ms ease;
}

.ct-nav-menu .mud-nav-link-icon {
    flex: 0 0 24px;
    align-self: center;
    margin: 0 !important;
}

.ct-nav-menu .mud-nav-link-text {
    display: flex;
    height: 44px;
    min-width: 0;
    align-items: center;
    margin: 0 0 0 12px;
    line-height: 1.25;
}

.ct-nav-menu .mud-nav-link-expand-icon {
    align-self: center;
    margin: 0 0 0 auto;
}

.ct-nav-menu .mud-nav-link:hover {
    background: var(--ct-surface);
    color: var(--ct-text);
}

.ct-nav-menu .mud-nav-link.active,
.ct-nav-menu .mud-nav-link.active:hover {
    background: var(--ct-lime-soft);
    color: var(--ct-lime);
}

.ct-nav-menu .mud-nav-link.active::before {
    width: 3px;
    height: auto;
    top: 8px;
    bottom: 8px;
    border-radius: 0 3px 3px 0;
    background: var(--ct-lime);
}

.ct-nav-divider {
    margin: 14px 12px !important;
    border-color: var(--ct-border-subtle) !important;
}

.mud-paper,
.mud-card {
    border: 1px solid var(--ct-border-subtle);
    background: var(--ct-surface);
    box-shadow: none;
}

.mud-card {
    border-radius: var(--ct-radius-md);
}

.mud-card-header {
    padding: 20px 22px 8px;
}

.mud-card-content {
    padding: 18px 22px 22px;
}

.mud-card-header .mud-typography-h6,
.mud-paper .mud-typography-h6 {
    color: var(--ct-text);
    font-size: 1rem;
    font-weight: 650;
}

.mud-button-root {
    min-height: 44px;
    border-radius: var(--ct-radius-sm);
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.mud-button-filled-primary {
    background: var(--ct-lime) !important;
    color: #11150f !important;
    box-shadow: none !important;
}

.mud-button-filled-primary:hover {
    background: #ddf53f !important;
}

.mud-button-outlined-primary {
    border-color: #718000 !important;
    color: var(--ct-lime) !important;
}

.mud-button-outlined-primary:hover {
    border-color: var(--ct-lime) !important;
    background: var(--ct-lime-soft) !important;
}

.mud-icon-button {
    border-radius: var(--ct-radius-sm);
}

.mud-input-control {
    margin-top: 3px;
}

.mud-input-outlined .mud-input-outlined-border {
    border-color: var(--ct-border) !important;
    border-radius: var(--ct-radius-sm);
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: #657064 !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-width: 2px !important;
    border-color: var(--ct-lime) !important;
}

.mud-input-label,
.mud-input-helper-text {
    color: var(--ct-text-muted) !important;
}

.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    background: var(--ct-surface);
}

.mud-alert {
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius-md);
    background: var(--ct-surface-high);
}

.mud-chip {
    min-height: 28px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mud-table-container {
    border-radius: var(--ct-radius-md);
}

.mud-table {
    background: transparent;
}

.mud-table-head .mud-table-cell {
    height: 48px;
    border-bottom: 1px solid var(--ct-border);
    color: var(--ct-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.mud-table-body .mud-table-row {
    transition: background-color 120ms ease;
}

.mud-table-body .mud-table-row:hover {
    background: var(--ct-surface-high) !important;
}

.mud-table-body .mud-table-cell {
    min-height: 56px;
    padding-block: 14px;
    border-color: var(--ct-border-subtle);
}

.ct-dashboard-grid,
.ct-profile-grid {
    align-items: stretch;
}

.ct-quick-actions,
.ct-stat-card,
.ct-panel-card {
    height: 100%;
    overflow: hidden;
}

.ct-profile-summary,
.ct-settings-card {
    overflow: hidden;
}

.ct-quick-actions {
    border-color: #3a4418;
    background: linear-gradient(145deg, rgba(207, 237, 1, 0.06), var(--ct-surface) 58%);
}

.ct-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-stat-card {
    min-height: 148px;
}

.ct-stat-card .mud-card-content {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    justify-content: center;
}

.ct-panel-card {
    min-height: 280px;
}

.ct-empty-state {
    display: grid;
    min-height: 130px;
    place-items: center;
    padding: 24px;
    color: var(--ct-text-quiet);
    text-align: center;
}

.ct-profile-page {
    max-width: 1240px;
}

.ct-profile-aside {
    position: sticky;
    top: 88px;
    align-self: flex-start;
}

.ct-profile-summary {
    padding: 26px 24px;
}

.ct-profile-avatar {
    display: grid;
    width: 88px !important;
    height: 88px !important;
    margin-bottom: 18px;
    place-items: center;
    background: var(--ct-lime) !important;
    color: #11150f !important;
    font-size: 2rem !important;
    font-weight: 650;
}

.ct-profile-identity {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ct-profile-summary .mud-button-root {
    width: 100%;
    margin-top: 18px;
}

.ct-profile-main {
    min-width: 0;
}

.ct-settings-card + .ct-settings-card {
    margin-top: 16px;
}

.ct-settings-card .mud-card-header {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ct-border-subtle);
}

.ct-settings-card .mud-card-content {
    padding-top: 24px;
}

.ct-settings-page {
    width: 100%;
    max-width: 1480px;
}

.ct-settings-title {
    margin-bottom: 22px;
}

.ct-email-test-card {
    margin-bottom: 18px;
    border-color: var(--ct-border);
    border-radius: var(--ct-radius-md);
}

.ct-email-test-card .mud-card-content {
    padding: 18px 20px;
}

.ct-email-test-row {
    display: grid;
    grid-template-columns: 44px minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.ct-email-test-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--ct-border-subtle);
    border-radius: var(--ct-radius-sm);
    background: var(--ct-surface-high);
}

.ct-email-test-copy {
    min-width: 0;
}

.ct-email-test-heading {
    margin-bottom: 1px !important;
    font-size: 0.95rem !important;
}

.ct-email-test-note {
    display: block;
    margin-top: 3px;
    color: var(--ct-text-quiet) !important;
}

.ct-email-test-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ct-email-test-action .mud-button-root {
    white-space: nowrap;
}

.ct-settings-tabs {
    overflow: visible;
    border: 0;
    background: transparent;
}

.ct-settings-tabs > .mud-tabs-tabbar {
    min-height: 50px;
    overflow: hidden;
    border: 1px solid var(--ct-border-subtle);
    border-radius: var(--ct-radius-md);
    background: var(--ct-surface);
}

.ct-settings-tabs .mud-tab {
    min-height: 49px;
    padding: 0 20px;
    color: var(--ct-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.ct-settings-tabs .mud-tab.mud-tab-active {
    color: var(--ct-lime);
}

.ct-settings-tabs .mud-tabs-slider {
    height: 2px;
}

.ct-settings-tab-panel {
    padding: 22px 0 0 !important;
    background: var(--ct-canvas) !important;
}

.ct-settings-toolbar {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.ct-settings-section-title {
    font-size: 1.15rem !important;
    font-weight: 630 !important;
}

.ct-settings-groups {
    display: grid;
    gap: 14px;
}

.ct-settings-group {
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--ct-border-subtle);
    border-radius: var(--ct-radius-md) !important;
    background: var(--ct-surface) !important;
    box-shadow: none !important;
}

.ct-settings-group .mud-expand-panel-header {
    min-height: 60px;
    padding: 0 18px;
}

.ct-settings-group .mud-expand-panel-content {
    padding: 0 20px 18px;
}

.ct-settings-group-title {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.ct-settings-group-icon {
    flex: 0 0 24px;
    color: var(--ct-text-muted);
}

.ct-settings-group-name {
    overflow: hidden;
    font-size: 1rem !important;
    font-weight: 630 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-settings-group-add {
    flex: 0 0 40px;
}

.ct-settings-group-description {
    display: block;
    margin: 0 0 12px;
    color: var(--ct-text-muted) !important;
}

.ct-settings-table {
    overflow: hidden;
    border: 1px solid var(--ct-border-subtle);
    border-radius: var(--ct-radius-sm);
    background: var(--ct-raised);
}

.ct-settings-table .mud-table-head .mud-table-cell {
    height: 42px;
    padding-block: 10px;
    background: var(--ct-surface-high);
    color: var(--ct-text-muted);
    letter-spacing: 0;
    text-transform: none;
}

.ct-settings-table .mud-table-body .mud-table-cell {
    height: 52px;
    padding-block: 10px;
}

.ct-setting-key {
    overflow: hidden;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.79rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ct-text);
}

.ct-setting-value {
    overflow-wrap: anywhere;
    color: var(--ct-text-muted);
}

.ct-settings-manage-card {
    border-radius: var(--ct-radius-md);
}

.ct-settings-manage-row {
    margin-bottom: 8px;
    padding: 14px 16px !important;
    border-radius: var(--ct-radius-sm);
    background: var(--ct-raised);
}

.ct-filter-panel {
    margin-bottom: 22px;
    padding: 20px !important;
    border-radius: var(--ct-radius-md);
}

.ct-filter-primary,
.ct-filter-secondary {
    align-items: flex-end;
}

.ct-filter-panel .mud-input-label {
    font-size: 0.75rem;
}

.ct-filter-panel .mud-button-root:not(.mud-icon-button) {
    width: 100%;
}

.ct-data-table {
    overflow: hidden;
    border: 1px solid var(--ct-border-subtle);
    border-radius: var(--ct-radius-md);
    background: var(--ct-surface);
}

.ct-title-cell {
    min-width: 210px;
}

@media (min-width: 1280px) {
    .ct-reported-items-table .mud-table-container {
        overflow-x: hidden;
    }

    .ct-reported-items-table .mud-table-root {
        width: 100%;
        table-layout: fixed;
    }

    .ct-reported-items-table .mud-table-cell {
        min-width: 0 !important;
        padding: 12px 9px;
        vertical-align: middle;
        overflow-wrap: anywhere;
    }

    .ct-reported-items-table .mud-table-cell:first-child,
    .ct-reported-items-table .mud-table-cell:last-child {
        padding-inline: 5px;
        text-align: center;
    }

    .ct-reported-items-table .mud-table-head .mud-table-cell {
        color: var(--ct-text-muted);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.055em;
        line-height: 1.35;
        text-transform: uppercase;
        white-space: normal;
        word-break: normal;
    }

    .ct-reported-items-table .ct-title-cell {
        min-width: 0;
    }
}

.ct-reported-items-table .mud-table-body .mud-table-row:hover {
    background: var(--ct-surface-high);
}

.ct-reported-item-main,
.ct-reported-status,
.ct-reported-people {
    min-width: 0;
}

.ct-reported-item-main .ct-item-title {
    display: block;
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ct-reported-item-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 7px;
    margin-top: 5px;
    color: var(--ct-text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ct-reported-project-key {
    color: var(--ct-lime);
    font-weight: 650;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.ct-reported-meta-label {
    color: var(--ct-text-quiet);
}

.ct-reported-meta-separator {
    color: var(--ct-text-quiet);
}

.ct-reported-tag {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ct-coordinate-chips {
    flex-wrap: wrap;
}

.ct-reported-status {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
}

.ct-reported-external-status {
    color: var(--ct-text-muted);
    font-size: 0.72rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ct-reported-people {
    display: grid;
    gap: 5px;
    font-size: 0.78rem;
    line-height: 1.35;
}

.ct-reported-person {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ct-reported-person-label {
    flex: 0 0 auto;
    color: var(--ct-text-quiet);
    font-size: 0.7rem;
}

@media (min-width: 1700px) {
    .ct-reported-items .ct-filter-secondary {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 12px;
        margin: 0;
    }

    .ct-reported-items .ct-filter-secondary > .mud-grid-item {
        width: auto;
        max-width: none;
        padding: 0;
    }
}

.ct-reported-detail-header {
    gap: 20px;
    flex-wrap: wrap;
}

.ct-reported-detail-header > div:first-child {
    flex: 1 1 620px;
    min-width: 0;
}

.ct-reported-detail-title {
    max-width: 100%;
    font-size: clamp(1.55rem, 2vw, 2rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
}

.ct-reported-detail-badges {
    flex-wrap: wrap;
}

.ct-reported-detail-actions {
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.ct-reported-detail-actions .mud-button-root {
    min-height: 44px;
}

.ct-reported-detail .mud-grid-item,
.ct-reported-detail .mud-paper {
    min-width: 0;
}

.ct-reported-description-panel {
    border-top: 2px solid var(--ct-lime);
}

.ct-reported-description {
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.ct-reported-detail-sidebar .mud-grid-item,
.ct-reported-detail-sidebar .mud-typography {
    overflow-wrap: anywhere;
}

.ct-reported-detail-sidebar .mud-chip {
    max-width: 100%;
    height: auto;
    min-height: 28px;
}

.ct-reported-detail-sidebar .mud-chip-content {
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (min-width: 1280px) and (max-width: 1399.98px) {
    .ct-reported-items-table .mud-table-root,
    .ct-reported-items-table .mud-table-body,
    .ct-reported-items-table .mud-table-body .mud-table-row {
        display: block;
        width: 100%;
        table-layout: auto;
    }

    .ct-reported-items-table .mud-table-head {
        display: none;
    }
}

@media (max-width: 1399.98px) {
    .ct-reported-items-table colgroup {
        display: none;
    }

    .ct-reported-items-table .mud-table-body .mud-table-cell {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        min-width: 0;
        padding: 10px 14px;
        text-align: left;
    }

    .ct-reported-items-table .mud-table-body .mud-table-cell::before {
        content: attr(data-label);
        display: block;
        width: auto !important;
        min-width: 0;
        margin: 0 0 4px;
        color: var(--ct-text-quiet);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ct-reported-items-table .mud-table-body .mud-table-cell > * {
        min-width: 0;
    }

    .ct-reported-person {
        flex-wrap: wrap;
    }
}

@media (max-width: 1399.98px) {
    .ct-reported-detail > .mud-grid > .ct-reported-detail-main,
    .ct-reported-detail > .mud-grid > .ct-reported-detail-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 599.98px) {
    .ct-reported-items .ct-page-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ct-reported-pagination {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px;
    }

    .ct-reported-page-size {
        flex-wrap: wrap;
    }

    .ct-reported-pagination .mud-pagination {
        justify-content: center;
    }

    .ct-reported-detail-actions {
        width: 100%;
    }

    .ct-reported-detail-actions .mud-button-root {
        flex: 1 1 auto;
    }
}

.ct-item-title {
    color: var(--ct-text) !important;
    font-weight: 620;
    line-height: 1.35;
    text-decoration: none;
}

.ct-item-title:hover {
    color: var(--ct-lime) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.unassigned-user {
    color: var(--ct-text-quiet) !important;
    font-style: italic;
}

.deadline-text {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
}

.deadline-upcoming {
    background: rgba(102, 204, 134, 0.12);
    color: #86dfa2;
}

.deadline-warning {
    background: rgba(239, 178, 93, 0.13);
    color: #f4c682;
}

.deadline-overdue {
    background: rgba(239, 116, 116, 0.12);
    color: #f39a9a;
}

.valid.modified:not([type="checkbox"]) {
    outline: 1px solid var(--ct-success);
}

.invalid {
    outline: 1px solid var(--ct-danger);
}

.validation-message {
    color: #f39a9a;
}

.blazor-error-boundary {
    margin: 16px;
    padding: 16px;
    border: 1px solid rgba(239, 116, 116, 0.55);
    border-radius: var(--ct-radius-md);
    background: rgba(239, 116, 116, 0.12);
    color: var(--ct-text);
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@media (max-width: 1279.98px) {
    .ct-content-shell {
        padding-inline: 28px !important;
    }

    .ct-filter-primary,
    .ct-filter-secondary {
        align-items: stretch;
    }
}

@media (max-width: 959.98px) {
    .ct-content-shell {
        padding: 26px 22px 44px !important;
    }

    .ct-profile-aside {
        position: static;
    }

    .ct-stat-card,
    .ct-stat-card .mud-card-content {
        min-height: 124px;
    }

    .ct-email-test-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .ct-email-test-action {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .ct-email-test-action .mud-button-root {
        width: 100%;
    }
}

@media (max-width: 599.98px) {
    .mud-layout {
        --mud-appbar-height: 50px;
    }

    .ct-appbar {
        height: 50px;
        min-height: 50px;
    }

    .ct-appbar .mud-toolbar {
        height: 50px;
        min-height: 50px !important;
    }

    .ct-appbar-title {
        margin-left: 6px !important;
        font-size: 0.9rem !important;
    }

    .ct-product-lockup {
        height: 38px;
        gap: 6px;
        margin-left: 2px;
    }

    .ct-product-logo {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .ct-product-company,
    .ct-profile-activator > .mud-typography-root {
        display: none;
    }

    .ct-product-divider {
        height: 18px;
    }

    .ct-product-name {
        font-size: 0.82rem;
    }

    .ct-appbar-menu,
    .ct-appbar-actions,
    .ct-notification-activator,
    .ct-profile-activator,
    .ct-notification-activator .mud-icon-button,
    .ct-profile-activator .mud-icon-button {
        width: auto;
        height: 38px;
    }

    .ct-appbar-menu,
    .ct-notification-activator .mud-icon-button,
    .ct-profile-activator .mud-icon-button {
        width: 38px;
        padding: 7px;
    }

    .ct-profile-activator .mud-button-root {
        min-height: 38px;
    }

    .ct-content-shell {
        padding: 20px 14px 36px !important;
    }

    .ct-page-header {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .ct-page-header .mud-button-root {
        width: 100%;
    }

    .ct-page-title {
        font-size: 1.65rem !important;
    }

    .mud-card-header {
        padding: 18px 18px 8px;
    }

    .mud-card-content {
        padding: 16px 18px 20px;
    }

    .ct-action-row {
        flex-direction: column;
    }

    .ct-action-row .mud-button-root {
        width: 100%;
    }

    .ct-filter-panel {
        padding: 16px !important;
    }

    .ct-profile-summary {
        padding: 22px 20px;
    }

    .ct-settings-title {
        margin-bottom: 18px;
    }

    .ct-email-test-card .mud-card-content {
        padding: 16px;
    }

    .ct-email-test-row {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
    }

    .ct-email-test-icon {
        width: 40px;
        height: 40px;
    }

    .ct-settings-tabs .mud-tab {
        min-width: 0;
        flex: 1 1 50%;
        padding-inline: 10px;
        font-size: 0.75rem;
    }

    .ct-settings-tab-panel {
        padding-top: 18px !important;
    }

    .ct-settings-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .ct-settings-toolbar .mud-button-root {
        width: 100%;
    }

    .ct-settings-group .mud-expand-panel-header {
        min-height: 56px;
        padding-inline: 14px;
    }

    .ct-settings-group .mud-expand-panel-content {
        padding: 0 14px 14px;
    }

    .mud-table-root .mud-table-cell {
        overflow-wrap: anywhere;
    }
}

@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;
    }
}
