/* Corvue UI wrapper and SuperAdmin experiment styles */
/* This stylesheet is global by design so MudBlazor wrapper roots render consistently. */

:root {
    --nav-scrollbar-track: rgba(42, 74, 126, 0.38);
    --nav-scrollbar-thumb: rgba(122, 169, 238, 0.58);
    --nav-scrollbar-thumb-hover: rgba(154, 197, 255, 0.76);
}

[data-bs-theme="dark"] {
    --nav-scrollbar-track: rgba(18, 35, 68, 0.42);
    --nav-scrollbar-thumb: rgba(132, 180, 255, 0.72);
    --nav-scrollbar-thumb-hover: rgba(170, 206, 255, 0.9);
}

/* Global box spacing: provide subtle rhythm between adjacent wrapper surfaces */
:is(.cv-card, .cv-section, .cv-alert, .cv-loading) + :is(.cv-card, .cv-section, .cv-alert, .cv-loading) {
    margin-top: 0.75rem;
}

/* CvButton */
.cv-button {
    border-radius: 12px;
    min-height: 2.75rem;
    padding-inline: 1rem;
    font-weight: 600;
    text-transform: none;
    gap: 0.5rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.cv-button:hover {
    transform: translateY(-1px);
}

.cv-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cv-button--filled.cv-button--primary {
    background-color: #0d1733;
    color: #ffffff;
}

.cv-button--filled.cv-button--primary:hover {
    background-color: #162349;
}

.cv-button--filled.cv-button--secondary {
    background-color: #2ba3c5;
    color: #ffffff;
}

.cv-button--filled.cv-button--secondary:hover {
    background-color: #238aa7;
}

.cv-button--filled.cv-button--accent,
.cv-button--filled.cv-button--success {
    background-color: #a2d339;
    color: #182511;
}

.cv-button--filled.cv-button--accent:hover,
.cv-button--filled.cv-button--success:hover {
    background-color: #b5de61;
}

.cv-button--filled.cv-button--support {
    background-color: #1e789a;
    color: #ffffff;
}

.cv-button--filled.cv-button--support:hover {
    background-color: #226683;
}

.cv-button--filled.cv-button--neutral,
.cv-button--filled.cv-button--warning {
    background-color: #68b0a8;
    color: #10211f;
}

.cv-button--filled.cv-button--neutral:hover,
.cv-button--filled.cv-button--warning:hover {
    background-color: #81beb8;
}

.cv-button--filled.cv-button--danger {
    background-color: #cf5d47;
    color: #ffffff;
}

.cv-button--outlined.cv-button--primary,
.cv-button--text.cv-button--primary {
    color: #0d1733;
}

.cv-button--outlined.cv-button--primary {
    border-color: #0d1733;
}

.cv-button--outlined.cv-button--secondary,
.cv-button--text.cv-button--secondary {
    color: #1e789a;
}

.cv-button--outlined.cv-button--secondary {
    border-color: #2ba3c5;
}

.cv-button--outlined.cv-button--accent,
.cv-button--text.cv-button--accent,
.cv-button--outlined.cv-button--success,
.cv-button--text.cv-button--success {
    color: #54791c;
}

.cv-button--outlined.cv-button--accent,
.cv-button--outlined.cv-button--success {
    border-color: #a2d339;
}

.cv-button--outlined.cv-button--support,
.cv-button--text.cv-button--support {
    color: #1e789a;
}

.cv-button--outlined.cv-button--support {
    border-color: #1e789a;
}

.cv-button--outlined.cv-button--neutral,
.cv-button--text.cv-button--neutral,
.cv-button--outlined.cv-button--warning,
.cv-button--text.cv-button--warning {
    color: #2d716c;
}

.cv-button--outlined.cv-button--neutral,
.cv-button--outlined.cv-button--warning {
    border-color: #68b0a8;
}

.cv-button--outlined.cv-button--danger,
.cv-button--text.cv-button--danger {
    color: #a84133;
}

.cv-button--outlined.cv-button--danger {
    border-color: #cf5d47;
}

/* CvIconButton */
.cv-icon-button {
    border-radius: 12px;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.cv-icon-button:hover {
    transform: translateY(-1px);
}

.cv-icon-button--text.cv-icon-button--primary,
.cv-icon-button--outlined.cv-icon-button--primary {
    color: #0d1733;
}

.cv-icon-button--filled.cv-icon-button--primary {
    background-color: #0d1733;
    color: #ffffff;
}

.cv-icon-button--text.cv-icon-button--secondary,
.cv-icon-button--outlined.cv-icon-button--secondary {
    color: #1e789a;
}

.cv-icon-button--filled.cv-icon-button--secondary {
    background-color: #2ba3c5;
    color: #ffffff;
}

.cv-icon-button--text.cv-icon-button--accent,
.cv-icon-button--outlined.cv-icon-button--accent,
.cv-icon-button--text.cv-icon-button--success,
.cv-icon-button--outlined.cv-icon-button--success {
    color: #54791c;
}

.cv-icon-button--filled.cv-icon-button--accent,
.cv-icon-button--filled.cv-icon-button--success {
    background-color: #a2d339;
    color: #182511;
}

.cv-icon-button--text.cv-icon-button--support,
.cv-icon-button--outlined.cv-icon-button--support {
    color: #1e789a;
}

.cv-icon-button--filled.cv-icon-button--support {
    background-color: #1e789a;
    color: #ffffff;
}

.cv-icon-button--text.cv-icon-button--neutral,
.cv-icon-button--outlined.cv-icon-button--neutral,
.cv-icon-button--text.cv-icon-button--warning,
.cv-icon-button--outlined.cv-icon-button--warning {
    color: #2d716c;
}

.cv-icon-button--filled.cv-icon-button--neutral,
.cv-icon-button--filled.cv-icon-button--warning {
    background-color: #68b0a8;
    color: #10211f;
}

.cv-icon-button--text.cv-icon-button--danger,
.cv-icon-button--outlined.cv-icon-button--danger {
    color: #a84133;
}

.cv-icon-button--filled.cv-icon-button--danger {
    background-color: #cf5d47;
    color: #ffffff;
}

.cv-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 2rem;
    block-size: 2rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    background: transparent;
    color: #1e789a;
    transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.cv-help-icon:hover,
.cv-help-icon:focus-visible {
    color: #0d1733;
    background: rgba(43, 163, 197, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.cv-help-icon:focus-visible {
    box-shadow: 0 0 0 3px rgba(43, 163, 197, 0.24);
}

/* Keep tooltip popovers readable on smaller viewports */
.mud-tooltip {
    max-width: min(240px, calc(100vw - 32px));
    white-space: normal;
    overflow-wrap: break-word;
}

/* CvNavigationDrawer */
.cv-navigation-drawer {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(13, 23, 51, 0.98) 0%, rgba(18, 35, 73, 0.98) 100%);
    color: #ffffff;
    box-shadow: none;
}

.cv-navigation-drawer__header,
.cv-navigation-drawer__footer {
    padding: 1rem;
}

.cv-navigation-drawer__header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-navigation-drawer__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-navigation-drawer__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 0.8rem 0.95rem;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin !important;
    scrollbar-color: var(--nav-scrollbar-thumb) var(--nav-scrollbar-track) !important;
}

.cv-navigation-drawer__divider {
    margin: 0.9rem 0.65rem !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 1;
}

.nav-menu__group-divider {
    margin-top: 0.35rem !important;
    margin-bottom: 0.55rem !important;
}

.cv-navigation-drawer__nav::-webkit-scrollbar {
    width: 8px;
}

.cv-navigation-drawer__nav::-webkit-scrollbar-track {
    background: var(--nav-scrollbar-track) !important;
    border-radius: 999px;
}

.cv-navigation-drawer__nav::-webkit-scrollbar-thumb {
    background: var(--nav-scrollbar-thumb) !important;
    border-radius: 999px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.cv-navigation-drawer__nav::-webkit-scrollbar-thumb:hover {
    background: var(--nav-scrollbar-thumb-hover) !important;
}

.cv-navigation-item {
    margin: 0 !important;
    position: relative;
    min-height: 2.8rem;
    padding: 0.24rem 0.28rem !important;
    border: 0;
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px transparent;
    color: rgba(255, 255, 255, 0.86) !important;
    overflow: hidden;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cv-navigation-item::before {
    content: "";
    position: absolute;
    left: 0.38rem;
    top: 0.42rem;
    bottom: 0.42rem;
    width: 0.24rem;
    border-radius: 999px;
    background: transparent;
    opacity: 0;
    transition: background-color 0.18s ease, opacity 0.18s ease;
}

.cv-navigation-item .mud-nav-link-text,
.cv-navigation-item .cv-navigation-item__label,
.cv-navigation-item .cv-navigation-item__icon,
.cv-navigation-item .cv-navigation-item__icon i {
    color: inherit !important;
}

.cv-navigation-item .mud-nav-link-text {
    width: 100%;
}

.cv-navigation-item:hover,
.cv-navigation-item:focus-visible {
    background: rgba(43, 163, 197, 0.16);
    box-shadow: inset 0 0 0 1px rgba(43, 163, 197, 0.18);
    color: #ffffff !important;
    transform: none;
}

.cv-navigation-item.active,
.cv-navigation-item.mud-nav-link-active {
    background: linear-gradient(90deg, rgba(43, 163, 197, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(104, 202, 229, 0.28);
    color: #ffffff !important;
}

.cv-navigation-drawer .mud-nav-link.active,
.cv-navigation-drawer .mud-nav-link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(43, 163, 197, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(104, 202, 229, 0.28);
    color: #f6f8fc !important;
}

.cv-navigation-item.active::before,
.cv-navigation-item.mud-nav-link-active::before,
.cv-navigation-drawer .mud-nav-link.active::before,
.cv-navigation-drawer .mud-nav-link[aria-current="page"]::before {
    background: #8cd8eb;
    opacity: 1;
}

.cv-navigation-item:hover .mud-nav-link-text,
.cv-navigation-item:hover .cv-navigation-item__label,
.cv-navigation-item:hover .cv-navigation-item__icon,
.cv-navigation-item:hover .cv-navigation-item__icon i,
.cv-navigation-item:focus-visible .mud-nav-link-text,
.cv-navigation-item:focus-visible .cv-navigation-item__label,
.cv-navigation-item:focus-visible .cv-navigation-item__icon,
.cv-navigation-item:focus-visible .cv-navigation-item__icon i,
.cv-navigation-item.active .mud-nav-link-text,
.cv-navigation-item.active .cv-navigation-item__label,
.cv-navigation-item.active .cv-navigation-item__icon,
.cv-navigation-item.active .cv-navigation-item__icon i,
.cv-navigation-item.mud-nav-link-active .mud-nav-link-text,
.cv-navigation-item.mud-nav-link-active .cv-navigation-item__label,
.cv-navigation-item.mud-nav-link-active .cv-navigation-item__icon,
.cv-navigation-item.mud-nav-link-active .cv-navigation-item__icon i,
.cv-navigation-drawer .mud-nav-link.active .mud-nav-link-text,
.cv-navigation-drawer .mud-nav-link.active .cv-navigation-item__label,
.cv-navigation-drawer .mud-nav-link.active .cv-navigation-item__icon,
.cv-navigation-drawer .mud-nav-link.active .cv-navigation-item__icon i,
.cv-navigation-drawer .mud-nav-link[aria-current="page"] .mud-nav-link-text,
.cv-navigation-drawer .mud-nav-link[aria-current="page"] .cv-navigation-item__label,
.cv-navigation-drawer .mud-nav-link[aria-current="page"] .cv-navigation-item__icon,
.cv-navigation-drawer .mud-nav-link[aria-current="page"] .cv-navigation-item__icon i {
    color: #ffffff !important;
}

.cv-navigation-item--danger {
    background: rgba(207, 93, 71, 0.08);
    box-shadow: inset 0 0 0 1px rgba(207, 93, 71, 0.14);
}

.cv-navigation-item--danger:hover,
.cv-navigation-item--danger:focus-visible,
.cv-navigation-item--danger.active,
.cv-navigation-item--danger.mud-nav-link-active {
    background: rgba(207, 93, 71, 0.16);
    box-shadow: inset 0 0 0 1px rgba(207, 93, 71, 0.3);
}

.cv-navigation-item--danger.active::before,
.cv-navigation-item--danger.mud-nav-link-active::before {
    background: #ffd1c8;
}

.cv-navigation-item__content {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 0.75rem;
}

.cv-navigation-item__icon {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.78rem;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cv-navigation-item:hover .cv-navigation-item__icon,
.cv-navigation-item:focus-visible .cv-navigation-item__icon {
    background: rgba(255, 255, 255, 0.14);
}

.cv-navigation-item.active .cv-navigation-item__icon,
.cv-navigation-item.mud-nav-link-active .cv-navigation-item__icon {
    background: rgba(255, 255, 255, 0.16);
}

.cv-navigation-drawer .mud-nav-link.active .cv-navigation-item__icon,
.cv-navigation-drawer .mud-nav-link[aria-current="page"] .cv-navigation-item__icon {
    background: rgba(255, 255, 255, 0.2);
}

.cv-navigation-item--primary .cv-navigation-item__icon {
    background: rgba(104, 202, 229, 0.16);
    color: #d8f6fd;
}

.cv-navigation-item--danger .cv-navigation-item__icon {
    background: rgba(207, 93, 71, 0.16);
    color: #ffd8d1;
}

.cv-navigation-item--danger.active .cv-navigation-item__icon,
.cv-navigation-item--danger.mud-nav-link-active .cv-navigation-item__icon {
    background: rgba(207, 93, 71, 0.24);
}

.cv-navigation-item__label-shell {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.cv-navigation-item__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 600;
}

.cv-navigation-item__subtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.56);
}

.cv-navigation-item:hover .cv-navigation-item__subtitle,
.cv-navigation-item:focus-visible .cv-navigation-item__subtitle,
.cv-navigation-item.active .cv-navigation-item__subtitle,
.cv-navigation-item.mud-nav-link-active .cv-navigation-item__subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.cv-navigation-item__meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding-left: 0.25rem;
    flex-shrink: 0;
}

.cv-navigation-item__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
}

.cv-navigation-item__badge--primary,
.cv-navigation-item__badge--support,
.cv-navigation-item__badge--secondary {
    background: rgba(43, 163, 197, 0.22);
    color: #dff5fb;
}

.cv-navigation-item__badge--accent,
.cv-navigation-item__badge--success,
.cv-navigation-item__badge--warning {
    background: rgba(162, 211, 57, 0.24);
    color: #eff8d8;
}

.cv-navigation-item__badge--neutral {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
}

.cv-navigation-item__badge--danger {
    background: rgba(207, 93, 71, 0.2);
    color: #ffe1db;
}

.cv-navigation-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cv-navigation-section__toggle {
    justify-content: stretch;
    min-height: 2.45rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.95rem;
    box-shadow: inset 0 0 0 1px transparent;
    color: rgba(255, 255, 255, 0.68);
    text-transform: none;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.cv-navigation-section__toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
}

.cv-navigation-section--active .cv-navigation-section__toggle {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(104, 202, 229, 0.18);
    color: rgba(255, 255, 255, 0.96);
}

.cv-navigation-section__toggle .mud-button-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
}

.cv-navigation-section__label,
.cv-navigation-section__short-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cv-navigation-section__label {
    color: rgba(255, 255, 255, 0.55);
}

.cv-navigation-section--active .cv-navigation-section__label {
    color: rgba(255, 255, 255, 0.78);
}

.cv-navigation-section__short-label {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.cv-navigation-section--active .cv-navigation-section__short-label {
    background: rgba(43, 163, 197, 0.18);
    color: #dff5fb;
}

.cv-navigation-section__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.18s ease;
}

.cv-navigation-section__toggle:hover .cv-navigation-section__chevron {
    color: rgba(255, 255, 255, 0.78);
}

.cv-navigation-section--active .cv-navigation-section__chevron {
    color: #8cd8eb;
}

.cv-navigation-section__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    min-width: 0;
    padding-left: 0.85rem;
}

.cv-navigation-section__content::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.12rem;
    bottom: 0.12rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.cv-navigation-section--active .cv-navigation-section__content::before {
    background: rgba(104, 202, 229, 0.22);
}

.cv-navigation-section .mud-collapse-container,
.cv-navigation-section .mud-collapse-wrapper {
    min-width: 0;
    overflow: hidden;
}

.cv-navigation-drawer--compact .cv-navigation-item__label,
.cv-navigation-drawer--compact .cv-navigation-item__badge,
.cv-navigation-drawer--compact .cv-navigation-section__label,
.cv-navigation-drawer--compact .nav-menu__brand-text,
.cv-navigation-drawer--compact .nav-menu__footer-info span {
    display: none;
}

.cv-navigation-drawer--compact .cv-navigation-item__meta {
    display: none;
}

.cv-navigation-drawer--compact .cv-navigation-item__content,
.cv-navigation-drawer--compact .nav-menu__footer-info {
    justify-content: center;
}

.cv-navigation-drawer--compact .nav-menu__token-pill {
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.35rem;
}

.cv-navigation-drawer--compact .nav-menu__token-copy {
    align-items: center;
    width: 100%;
}

.cv-navigation-drawer--compact .nav-menu__token-text {
    display: block;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.1;
}

.cv-navigation-drawer--compact .nav-menu__token-bar {
    width: 100%;
    min-width: 2rem;
}

.cv-navigation-drawer--compact .cv-navigation-section__short-label {
    display: inline-flex;
}

.cv-navigation-drawer--compact .cv-navigation-section__chevron {
    display: none;
}

.cv-navigation-drawer--compact .cv-navigation-section__toggle {
    padding-inline: 0.15rem;
}

.cv-navigation-drawer--compact .cv-navigation-section__content {
    padding-left: 0;
}

.cv-navigation-drawer--compact .cv-navigation-section__content::before {
    display: none;
}

.cv-navigation-drawer--compact .cv-navigation-drawer__header,
.cv-navigation-drawer--compact .cv-navigation-drawer__footer {
    padding-inline: 0.75rem;
}

/* Navigation menu layout */
.nav-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nav-menu__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.nav-menu__brand-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2ba3c5 0%, #1e789a 100%);
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 12px 24px rgba(13, 23, 51, 0.28);
    flex-shrink: 0;
}

.nav-menu__brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.nav-menu__compact-toggle {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.72);
}

.nav-menu__compact-toggle:hover {
    color: #ffffff;
}

.nav-menu__footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-menu__token-pill,
.nav-menu__footer-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.7rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.95rem;
}

.nav-menu__token-pill {
    background: rgba(43, 163, 197, 0.12);
    border: 1px solid rgba(43, 163, 197, 0.2);
    color: rgba(255, 255, 255, 0.92);
    justify-content: flex-start;
    min-width: 0;
    text-align: left;
}

.nav-menu__token-pill i {
    color: #8cd8eb;
}

.nav-menu__token-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.35rem;
}

.nav-menu__token-text {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.15;
}

.nav-menu__token-bar {
    position: relative;
    display: block;
    width: 100%;
    height: 0.38rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 1px rgba(13, 23, 51, 0.22);
}

.nav-menu__token-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(104, 202, 229, 0.88) 0%, rgba(43, 163, 197, 0.98) 100%);
    transition: width 0.25s ease;
}

.nav-menu__footer-info {
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    font-weight: 600;
}

.nav-menu__footer-info i {
    color: #8cd8eb;
}

.cv-navigation-drawer--compact .nav-menu__header {
    flex-direction: column;
}

.cv-navigation-drawer--compact .nav-menu__brand {
    flex-direction: column;
    gap: 0.4rem;
}

/* CvNavigationRail */
.cv-navigation-rail {
    position: relative;
    width: 5.35rem;
    flex: 0 0 5.35rem;
    display: flex;
    align-items: stretch;
    height: 100%;
    overflow: visible;
    z-index: 1200;
}

.cv-navigation-rail__shell {
    width: 5.35rem;
    flex: 0 0 5.35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(13, 23, 51, 0.98) 0%, rgba(18, 35, 73, 0.98) 100%);
    color: #ffffff;
    box-shadow: none;
}

.cv-navigation-rail__header,
.cv-navigation-rail__footer {
    padding: 0.65rem 0.55rem;
}

.cv-navigation-rail__header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-navigation-rail__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-navigation-rail__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.2rem 0 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin !important;
    scrollbar-color: var(--nav-scrollbar-thumb) var(--nav-scrollbar-track) !important;
}

.cv-navigation-rail__nav::-webkit-scrollbar {
    width: 8px;
}

.cv-navigation-rail__nav::-webkit-scrollbar-track {
    background: var(--nav-scrollbar-track) !important;
    border-radius: 999px;
}

.cv-navigation-rail__nav::-webkit-scrollbar-thumb {
    background: var(--nav-scrollbar-thumb) !important;
    border-radius: 999px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.cv-navigation-rail__nav::-webkit-scrollbar-thumb:hover {
    background: var(--nav-scrollbar-thumb-hover) !important;
}

.cv-navigation-rail__flyout {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5.35rem;
    width: 16rem;
    flex: 0 0 16rem;
    display: flex;
    flex-direction: column;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    background: #1f2937;
    color: #ffffff;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 1;
    animation: cv-nav-flyout-slide 140ms ease-out;
}

@keyframes cv-nav-flyout-slide {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cv-navigation-rail__flyout::before {
    display: none;
}

.cv-navigation-rail-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0.82rem 0.45rem 0.7rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px transparent;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.cv-navigation-rail-item:hover,
.cv-navigation-rail-item:focus-visible,
.cv-navigation-rail-item--open {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    color: #ffffff;
}

.cv-navigation-rail-item.active,
.cv-navigation-rail-item--active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    border-left-color: #2ba3c5;
    color: #ffffff;
}

.cv-navigation-rail-item--danger {
    background: rgba(207, 93, 71, 0.08);
    box-shadow: inset 0 0 0 1px rgba(207, 93, 71, 0.14);
}

.cv-navigation-rail-item--danger:hover,
.cv-navigation-rail-item--danger:focus-visible,
.cv-navigation-rail-item--danger.active,
.cv-navigation-rail-item--danger.cv-navigation-rail-item--active {
    background: rgba(207, 93, 71, 0.16);
    box-shadow: inset 0 0 0 1px rgba(207, 93, 71, 0.3);
}

.cv-navigation-rail-item__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.32rem;
}

.cv-navigation-rail-item__icon-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cv-navigation-rail-item__icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    font-size: 1.05rem;
}

.cv-navigation-rail-item:hover .cv-navigation-rail-item__icon,
.cv-navigation-rail-item:focus-visible .cv-navigation-rail-item__icon,
.cv-navigation-rail-item.active .cv-navigation-rail-item__icon,
.cv-navigation-rail-item--active .cv-navigation-rail-item__icon,
.cv-navigation-rail-item--open .cv-navigation-rail-item__icon {
    background: transparent;
}

.cv-navigation-rail-item--danger .cv-navigation-rail-item__icon {
    background: transparent;
    color: #ffd8d1;
}

.cv-navigation-rail-item__label {
    display: block;
    max-width: 4rem;
    white-space: normal;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.12;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

.cv-navigation-rail-item__badge {
    position: absolute;
    top: -0.2rem;
    right: -0.35rem;
    min-width: 1.15rem;
    padding: 0.08rem 0.35rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
}

.cv-navigation-rail-item__badge--primary,
.cv-navigation-rail-item__badge--support,
.cv-navigation-rail-item__badge--secondary {
    background: rgba(43, 163, 197, 0.24);
    color: #dff5fb;
}

.cv-navigation-rail-item__badge--accent,
.cv-navigation-rail-item__badge--success,
.cv-navigation-rail-item__badge--warning {
    background: rgba(162, 211, 57, 0.26);
    color: #eff8d8;
}

.cv-navigation-rail-item__badge--neutral {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
}

.cv-navigation-rail-item__badge--danger {
    background: rgba(207, 93, 71, 0.24);
    color: #ffe1db;
}

.cv-navigation-rail-item__chevron {
    display: none;
}

.cv-navigation-rail-item__chevron-icon--open {
    display: none;
}

.nav-menu--rail .nav-menu__header {
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.nav-menu--rail .nav-menu__brand {
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}

.nav-menu--rail .nav-menu__brand-text {
    display: none;
}

.nav-menu--rail .nav-menu__compact-toggle {
    align-self: center;
}

.nav-menu--rail .nav-menu__footer {
    gap: 0.55rem;
}

.nav-menu--rail .nav-menu__token-pill,
.nav-menu--rail .nav-menu__footer-info {
    justify-content: center;
    padding: 0.55rem 0.45rem;
}

.nav-menu--rail .nav-menu__token-pill {
    flex-direction: column;
    gap: 0.28rem;
}

.nav-menu--rail .nav-menu__token-copy {
    align-items: center;
    width: 100%;
}

.nav-menu--rail .nav-menu__token-text {
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.1;
}

.nav-menu--rail .nav-menu__token-bar {
    width: 100%;
    min-width: 2rem;
}

.nav-menu--rail .nav-menu__footer-info span {
    display: none;
}

.nav-menu__group-divider--rail {
    margin: 0.25rem 0 !important;
}

.nav-menu__rail-flyout {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.nav-menu__rail-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.05rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
}

.nav-menu__rail-flyout-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.nav-menu__rail-flyout-close {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-menu__rail-flyout-close:hover,
.nav-menu__rail-flyout-close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    outline: none;
}

.nav-menu__rail-flyout-list {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.9rem 0 0.85rem;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: thin !important;
    scrollbar-color: var(--nav-scrollbar-thumb) var(--nav-scrollbar-track) !important;
}

.nav-menu__rail-flyout-list::-webkit-scrollbar {
    width: 8px;
}

.nav-menu__rail-flyout-list::-webkit-scrollbar-track {
    background: var(--nav-scrollbar-track) !important;
    border-radius: 999px;
}

.nav-menu__rail-flyout-list::-webkit-scrollbar-thumb {
    background: var(--nav-scrollbar-thumb) !important;
    border-radius: 999px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.nav-menu__rail-flyout-list::-webkit-scrollbar-thumb:hover {
    background: var(--nav-scrollbar-thumb-hover) !important;
}

.nav-menu__rail-flyout-list .cv-navigation-item {
    border-radius: 0;
    min-height: 2.55rem;
    padding: 0.12rem 1.05rem !important;
    background: transparent;
    box-shadow: none;
    border-left: 3px solid transparent;
    border-bottom: 0;
}

.nav-menu__rail-flyout-list .cv-navigation-item::before {
    display: none;
}

.nav-menu__rail-flyout-list .cv-navigation-item__content {
    gap: 0.58rem;
}

.nav-menu__rail-flyout-list .cv-navigation-item__icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    font-size: 0.86rem;
}

.nav-menu__rail-flyout-list .cv-navigation-item__label {
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-menu__rail-flyout-list .cv-navigation-item:hover,
.nav-menu__rail-flyout-list .cv-navigation-item:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.nav-menu__rail-flyout-list .cv-navigation-item.active,
.nav-menu__rail-flyout-list .cv-navigation-item.mud-nav-link-active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    border-left-color: #2ba3c5;
}

@media (min-width: 641px) {
    .cv-navigation-rail-item {
        min-height: 4.45rem;
        padding: 0.82rem 0.45rem 0.7rem;
    }

    .cv-navigation-rail-item__chevron {
        display: none;
    }
}

@media (max-width: 640.98px) {
    .cv-navigation-rail {
        width: 100%;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .cv-navigation-rail__shell {
        width: 100%;
        height: auto;
    }

    .cv-navigation-rail__nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(4.25rem, 1fr));
        gap: 0.5rem;
        overflow: visible;
    }

    .cv-navigation-rail__flyout {
        position: static;
        width: 100%;
        flex: 0 0 auto;
        min-height: 0;
    }

    .cv-navigation-rail__flyout::before {
        display: none;
    }

    .nav-menu--rail .nav-menu__header {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu--rail .nav-menu__brand {
        flex-direction: row;
        justify-content: flex-start;
    }

    .nav-menu--rail .nav-menu__brand-text,
    .nav-menu--rail .nav-menu__footer-info span {
        display: inline;
    }

    .cv-navigation-rail-item__label {
        display: block;
    }

    .nav-menu--rail .nav-menu__token-pill,
    .nav-menu--rail .nav-menu__footer-info {
        justify-content: flex-start;
        padding-inline: 0.85rem;
    }
}

/* CvCard */
.cv-card {
    border: 1px solid #d8e1ee;
    border-radius: 18px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(13, 23, 51, 0.06);
}

.cv-card--interactive {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cv-card--interactive:hover {
    transform: translateY(-2px);
    border-color: #2ba3c5;
    box-shadow: 0 14px 32px rgba(13, 23, 51, 0.1);
}

.cv-card__header,
.cv-card__footer {
    padding: 1rem 1.25rem;
}

.cv-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #edf2f8;
    background-color: #f9fbfe;
}

.cv-card__header-main {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.cv-card__icon-shell {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.cv-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0d1733;
}

.cv-card__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #5d6b8d;
}

.cv-card__body {
    padding: 1.25rem;
}

.cv-card__footer {
    border-top: 1px solid #edf2f8;
    background-color: #fcfdff;
}

.cv-card__icon-shell--primary {
    background: #e4e9f5;
    color: #0d1733;
}

.cv-card__icon-shell--secondary {
    background: #dff5fb;
    color: #1e789a;
}

.cv-card__icon-shell--accent,
.cv-card__icon-shell--success {
    background: #eff8d8;
    color: #54791c;
}

.cv-card__icon-shell--support {
    background: #ddeff5;
    color: #1e789a;
}

.cv-card__icon-shell--neutral,
.cv-card__icon-shell--warning {
    background: #e4f3f0;
    color: #2d716c;
}

.cv-card__icon-shell--danger {
    background: #f9e3e0;
    color: #a84133;
}

/* CvActionCard */
.cv-action-card {
    border: 1px solid #d8e1ee;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    padding: 1.35rem;
    box-shadow: 0 10px 28px rgba(13, 23, 51, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-action-card--interactive {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cv-action-card--interactive:hover {
    transform: translateY(-3px);
    border-color: #2ba3c5;
    box-shadow: 0 18px 34px rgba(13, 23, 51, 0.12);
}

.cv-action-card__header,
.cv-action-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cv-action-card__icon-shell {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cv-action-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cv-action-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.cv-action-card__title,
.cv-action-card__description {
    margin: 0;
}

.cv-action-card__title {
    font-size: 1.03rem;
    font-weight: 700;
    color: #0d1733;
}

.cv-action-card__description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #566581;
}

.cv-action-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-action-card__footer {
    padding-top: 1rem;
    border-top: 1px solid #edf2f8;
    color: #0d1733;
    font-size: 0.84rem;
    font-weight: 700;
}

.cv-action-card__footer i {
    color: #2ba3c5;
}

.cv-action-card__icon-shell--primary {
    background: #e4e9f5;
    color: #0d1733;
}

.cv-action-card__icon-shell--secondary {
    background: #def3f8;
    color: #1e789a;
}

.cv-action-card__icon-shell--accent,
.cv-action-card__icon-shell--success {
    background: #eef8d8;
    color: #5a7d1d;
}

.cv-action-card__icon-shell--support {
    background: #dcecf1;
    color: #1e789a;
}

.cv-action-card__icon-shell--neutral,
.cv-action-card__icon-shell--warning {
    background: #e3f1ef;
    color: #387972;
}

.cv-action-card__icon-shell--danger {
    background: #f8e3e0;
    color: #a24135;
}

.cv-action-card__badge--primary {
    background: rgba(13, 23, 51, 0.08);
    color: #0d1733;
}

.cv-action-card__badge--secondary,
.cv-action-card__badge--support {
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
}

.cv-action-card__badge--accent,
.cv-action-card__badge--success {
    background: rgba(162, 211, 57, 0.18);
    color: #54791c;
}

.cv-action-card__badge--neutral,
.cv-action-card__badge--warning {
    background: rgba(104, 176, 168, 0.18);
    color: #2f6f68;
}

.cv-action-card__badge--danger {
    background: rgba(220, 91, 68, 0.14);
    color: #9d3a2d;
}

/* CvStatCard */
.cv-stat-card {
    border: 1px solid #d8e1ee;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(43, 163, 197, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    padding: 1.35rem;
    box-shadow: 0 12px 28px rgba(13, 23, 51, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cv-stat-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cv-stat-card__icon-shell {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cv-stat-card__value {
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #0d1733;
}

.cv-stat-card__label,
.cv-stat-card__support {
    margin: 0;
}

.cv-stat-card__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1733;
}

.cv-stat-card__support {
    font-size: 0.86rem;
    color: #53627f;
    line-height: 1.5;
}

.cv-stat-card__highlight {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.cv-stat-card__icon-shell--primary {
    background: #e4e9f5;
    color: #0d1733;
}

.cv-stat-card__icon-shell--secondary {
    background: #def3f8;
    color: #1e789a;
}

.cv-stat-card__icon-shell--accent,
.cv-stat-card__icon-shell--success {
    background: #eef8d8;
    color: #5b7a1f;
}

.cv-stat-card__icon-shell--support {
    background: #dcecf1;
    color: #1e789a;
}

.cv-stat-card__icon-shell--neutral,
.cv-stat-card__icon-shell--warning {
    background: #e3f1ef;
    color: #387972;
}

.cv-stat-card__icon-shell--danger {
    background: #f8e3e0;
    color: #a24135;
}

.cv-stat-card__highlight--primary {
    background: rgba(13, 23, 51, 0.08);
    color: #0d1733;
}

.cv-stat-card__highlight--secondary,
.cv-stat-card__highlight--support {
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
}

.cv-stat-card__highlight--accent,
.cv-stat-card__highlight--success {
    background: rgba(162, 211, 57, 0.2);
    color: #54791c;
}

.cv-stat-card__highlight--neutral,
.cv-stat-card__highlight--warning {
    background: rgba(104, 176, 168, 0.18);
    color: #2f6f68;
}

.cv-stat-card__highlight--danger {
    background: rgba(220, 91, 68, 0.14);
    color: #9d3a2d;
}

/* CvPageHeader */
.cv-page-header {
    border: 1px solid #d8e1ee;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 30px rgba(13, 23, 51, 0.08);
    padding: 1.5rem;
}

.cv-page-header__back {
    margin-bottom: 1rem;
}

.cv-page-header__body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cv-page-header__main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.cv-page-header__icon-shell {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cv-page-header__text {
    min-width: 0;
}

.cv-page-header__text h1 {
    margin: 0;
    color: #0d1733;
}

.cv-page-header__text p {
    margin: 0.375rem 0 0;
    color: #4b587c;
}

.cv-page-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.cv-tone-primary {
    background: #e4e9f5;
    color: #0d1733;
}

.cv-tone-secondary {
    background: #dff5fb;
    color: #1e789a;
}

.cv-tone-accent,
.cv-tone-success {
    background: #eff8d8;
    color: #54791c;
}

.cv-tone-support {
    background: #ddeff5;
    color: #1e789a;
}

.cv-tone-neutral,
.cv-tone-warning {
    background: #e4f3f0;
    color: #2d716c;
}

.cv-tone-danger {
    background: #f9e3e0;
    color: #a84133;
}

@media (max-width: 767.98px) {
    .cv-page-header {
        padding: 1.25rem;
    }

    .cv-page-header__actions {
        width: 100%;
        margin-left: 0;
    }
}

/* CvSection */
.cv-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cv-section__header {
    gap: 1rem;
    flex-wrap: wrap;
}

.cv-section__title {
    font-weight: 700;
    color: #0d1733;
}

.cv-section__subtitle {
    margin-top: 0.25rem;
    color: #5d6b8d;
}

.cv-section__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

/* CvAlert */
.cv-alert {
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.cv-alert .mud-alert-message {
    width: 100%;
}

.cv-alert__title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cv-alert__content {
    line-height: 1.55;
}

.cv-alert__content a {
    color: inherit;
    font-weight: 600;
}

.cv-alert__content a:hover {
    text-decoration: underline;
}

/* CvLoading */
.cv-loading {
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    color: #5d6b8d;
}

.cv-loading--inline {
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
}

.cv-loading__label {
    color: #5d6b8d;
}

/* SuperAdmin Dashboard */
.superadmin-dashboard {
    padding-bottom: 1rem;
}

.superadmin-dashboard__hero-card {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(162, 211, 57, 0.18), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
}

.superadmin-dashboard__posture-card {
    background:
        radial-gradient(circle at top right, rgba(43, 163, 197, 0.14), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.superadmin-dashboard__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.25rem;
}

.superadmin-dashboard__hero-text {
    margin: 0;
    color: #43506c;
    line-height: 1.7;
}

.superadmin-dashboard__hero-panel,
.superadmin-dashboard__info-panel {
    border: 1px solid #e3ebf6;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    padding: 1rem 1.1rem;
}

.superadmin-dashboard__hero-panel h4,
.superadmin-dashboard__info-panel h6 {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1733;
}

.superadmin-dashboard__feature-list,
.superadmin-dashboard__warning-list,
.superadmin-dashboard__check-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #4f5d79;
}

.superadmin-dashboard__feature-list li,
.superadmin-dashboard__warning-list li {
    margin-bottom: 0.65rem;
    line-height: 1.55;
}

.superadmin-dashboard__feature-list li:last-child,
.superadmin-dashboard__warning-list li:last-child {
    margin-bottom: 0;
}

.superadmin-dashboard__quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.superadmin-dashboard__posture-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.superadmin-dashboard__posture-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #edf2f8;
}

.superadmin-dashboard__posture-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.superadmin-dashboard__posture-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0d1733;
}

.superadmin-dashboard__pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.superadmin-dashboard__pill--primary {
    background: rgba(13, 23, 51, 0.08);
    color: #0d1733;
}

.superadmin-dashboard__pill--secondary {
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
}

.superadmin-dashboard__pill--accent {
    background: rgba(162, 211, 57, 0.2);
    color: #54791c;
}

.superadmin-dashboard__pill--neutral {
    background: rgba(104, 176, 168, 0.18);
    color: #2f6f68;
}

.superadmin-dashboard__section {
    margin-bottom: 2.25rem;
}

.superadmin-dashboard__info-card,
.superadmin-dashboard__warning-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.superadmin-dashboard__meta-list,
.superadmin-dashboard__check-list {
    list-style: none;
    padding: 0;
}

.superadmin-dashboard__meta-list li,
.superadmin-dashboard__check-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #edf2f8;
    font-size: 0.9rem;
    color: #51607b;
}

.superadmin-dashboard__meta-list li:last-child,
.superadmin-dashboard__check-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.superadmin-dashboard__meta-list span {
    color: #5c6b87;
}

.superadmin-dashboard__meta-list strong {
    color: #0d1733;
}

.superadmin-dashboard__check-list li {
    justify-content: flex-start;
}

.superadmin-dashboard__check-list i {
    color: #a2d339;
    margin-right: 0.55rem;
}

.superadmin-dashboard__warning-text {
    margin: 0;
    color: #4f5d79;
    line-height: 1.65;
}

@media (max-width: 1199.98px) {
    .superadmin-dashboard__hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .superadmin-dashboard__posture-item,
    .superadmin-dashboard__meta-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Staff Dashboard */
.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.dashboard-page__section {
    margin-bottom: 0;
}

.dashboard-page__notice-card,
.dashboard-page__add-pod-card,
.dashboard-page__notifications-card {
    margin-top: -0.5rem;
}

.dashboard-page__notice-text,
.dashboard-page__empty-copy {
    margin: 0;
    color: #4f5d79;
    line-height: 1.65;
}

.dashboard-page__add-pod-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dashboard-page__add-pod-button {
    justify-content: flex-start;
}

.dashboard-page__notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dashboard-page__notification-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid #f0dfa5;
    background: linear-gradient(180deg, #fffdf5 0%, #fff8ea 100%);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-page__notification-item:hover {
    border-color: #d8b75e;
    box-shadow: 0 10px 22px rgba(216, 183, 94, 0.16);
    transform: translateY(-1px);
}

.dashboard-page__notification-title {
    font-weight: 700;
    color: #7b5c00;
}

.dashboard-page__notification-message {
    color: #5e677b;
}

.dashboard-page__pod-host,
.dashboard-page__pod-card {
    height: 100%;
}

.dashboard-page__pod-card {
    background:
        radial-gradient(circle at top right, rgba(43, 163, 197, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.dashboard-page__pod-card .cv-card__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-page__card-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dashboard-page__metric-grid {
    display: grid;
    gap: 0.85rem;
}

.dashboard-page__metric-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page__metric-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-page__metric-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-page__metric-grid--compact {
    gap: 0.75rem;
}

.dashboard-page__metric-tile {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 8.25rem;
    padding: 1rem;
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.dashboard-page__metric-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-page__metric-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.dashboard-page__metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0d1733;
}

.dashboard-page__metric-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5d6b8d;
}

.dashboard-page__metric-tile--primary {
    border-color: rgba(13, 23, 51, 0.14);
    background: linear-gradient(180deg, rgba(13, 23, 51, 0.04) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--primary .dashboard-page__metric-icon {
    background: rgba(13, 23, 51, 0.09);
    color: #0d1733;
}

.dashboard-page__metric-tile--secondary {
    border-color: rgba(43, 163, 197, 0.18);
    background: linear-gradient(180deg, rgba(43, 163, 197, 0.08) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--secondary .dashboard-page__metric-icon {
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
}

.dashboard-page__metric-tile--accent {
    border-color: rgba(162, 211, 57, 0.25);
    background: linear-gradient(180deg, rgba(162, 211, 57, 0.12) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--accent .dashboard-page__metric-icon {
    background: rgba(162, 211, 57, 0.2);
    color: #54791c;
}

.dashboard-page__metric-tile--support {
    border-color: rgba(30, 120, 154, 0.18);
    background: linear-gradient(180deg, rgba(30, 120, 154, 0.08) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--support .dashboard-page__metric-icon {
    background: rgba(30, 120, 154, 0.12);
    color: #1e789a;
}

.dashboard-page__metric-tile--neutral {
    border-color: rgba(104, 176, 168, 0.24);
    background: linear-gradient(180deg, rgba(104, 176, 168, 0.12) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--neutral .dashboard-page__metric-icon {
    background: rgba(104, 176, 168, 0.16);
    color: #2f6f68;
}

.dashboard-page__metric-tile--warning {
    border-color: rgba(245, 158, 11, 0.2);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--warning .dashboard-page__metric-icon {
    background: rgba(245, 158, 11, 0.16);
    color: #a16207;
}

.dashboard-page__metric-tile--danger {
    border-color: rgba(220, 53, 69, 0.18);
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.08) 0%, #ffffff 100%);
}

.dashboard-page__metric-tile--danger .dashboard-page__metric-icon {
    background: rgba(220, 53, 69, 0.14);
    color: #b42318;
}

.dashboard-page__pod-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-page__summary-note {
    margin: 0;
    color: #5d6b8d;
    line-height: 1.5;
}

.dashboard-page__summary-note strong {
    color: #0d1733;
}

.dashboard-page__bonus-pill {
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
    font-size: 0.78rem;
    font-weight: 700;
}

.dashboard-page__empty-state {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px dashed #d9e3ef;
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.78);
}

.dashboard-page__empty-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 176, 168, 0.14);
    color: #2f6f68;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dashboard-page__empty-title {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #0d1733;
}

.dashboard-page__calendar .cv-month-calendar__week {
    min-height: 5.75rem;
}

.dashboard-page__calendar .cv-month-calendar__day {
    gap: 0.35rem;
    padding: 0.5rem;
}

.dashboard-page__calendar .cv-month-calendar__day-number {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.78rem;
}

.dashboard-page__calendar .cv-month-calendar__day-header {
    padding: 0.65rem 0.5rem;
    font-size: 0.78rem;
}

.dashboard-page__calendar .cv-month-calendar__event {
    padding: 0.25rem 0.35rem;
}

.dashboard-page__calendar .cv-month-calendar__event-title {
    font-size: 0.68rem;
}

.dashboard-page__calendar .cv-month-calendar__event-time {
    font-size: 0.64rem;
}

.dashboard-page__schedule-list,
.dashboard-page__attention-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dashboard-page__schedule-item,
.dashboard-page__attention-item,
.dashboard-page__distribution-legend-item {
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
}

.dashboard-page__schedule-item,
.dashboard-page__attention-item {
    color: inherit;
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-page__schedule-item:hover,
.dashboard-page__schedule-item:focus-visible,
.dashboard-page__attention-item:hover,
.dashboard-page__attention-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(43, 163, 197, 0.24);
    box-shadow: 0 10px 24px rgba(13, 23, 51, 0.08);
}

.dashboard-page__schedule-accent {
    width: 0.35rem;
    border-radius: 999px;
    background: var(--dashboard-page-event-accent, #1e789a);
    flex-shrink: 0;
}

.dashboard-page__schedule-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.dashboard-page__schedule-top,
.dashboard-page__attention-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    justify-content: space-between;
}

.dashboard-page__schedule-type {
    color: #1e789a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-page__schedule-date {
    color: #0d1733;
    font-size: 0.82rem;
    font-weight: 700;
}

.dashboard-page__schedule-title,
.dashboard-page__attention-title,
.dashboard-page__distribution .cv-segmented-distribution__label {
    color: #0d1733;
    font-weight: 700;
}

.dashboard-page__schedule-title {
    font-size: 0.96rem;
}

.dashboard-page__schedule-meta,
.dashboard-page__attention-copy,
.dashboard-page__attention-meta,
.dashboard-page__distribution .cv-segmented-distribution__value {
    color: #5d6b8d;
    font-size: 0.82rem;
    line-height: 1.5;
}

.dashboard-page__distribution .cv-segmented-distribution__bar {
    display: flex;
    height: 1.35rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e9f0f7;
}

.dashboard-page__distribution .cv-segmented-distribution__segment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 0;
    white-space: nowrap;
}

.dashboard-page__distribution .cv-segmented-distribution__segment--success {
    background: linear-gradient(90deg, #7fbf2d 0%, #9fd653 100%);
}

.dashboard-page__distribution .cv-segmented-distribution__segment--warning {
    background: linear-gradient(90deg, #e7ac32 0%, #f5bc50 100%);
    color: #3d2b08;
}

.dashboard-page__distribution .cv-segmented-distribution__segment--danger {
    background: linear-gradient(90deg, #d95d52 0%, #ef8170 100%);
}

.dashboard-page__distribution .cv-segmented-distribution__segment--secondary {
    background: linear-gradient(90deg, #3ba3c5 0%, #68cae5 100%);
}

.dashboard-page__distribution .cv-segmented-distribution__legend {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page__distribution .cv-segmented-distribution__legend-item {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    padding: 0.8rem 0.9rem;
}

.dashboard-page__distribution .cv-segmented-distribution__dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.dashboard-page__distribution .cv-segmented-distribution__dot--success {
    background: #9fd653;
}

.dashboard-page__distribution .cv-segmented-distribution__dot--warning {
    background: #f5bc50;
}

.dashboard-page__distribution .cv-segmented-distribution__dot--danger {
    background: #ef8170;
}

.dashboard-page__distribution .cv-segmented-distribution__dot--secondary {
    background: #68cae5;
}

.dashboard-page__attention-item {
    flex-direction: column;
}

.dashboard-page__attention-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.32rem 0.7rem;
    white-space: nowrap;
}

.dashboard-page__attention-badge--danger {
    background: rgba(220, 53, 69, 0.12);
    color: #b42318;
}

.dashboard-page__attention-badge--warning {
    background: rgba(245, 158, 11, 0.16);
    color: #a16207;
}

.dashboard-page__attention-badge--secondary {
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
}

.dashboard-page__attention-bar {
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e9f0f7;
}

.dashboard-page__attention-bar-fill {
    height: 100%;
    border-radius: 999px;
}

.dashboard-page__attention-bar-fill--danger {
    background: linear-gradient(90deg, #d95d52 0%, #ef8170 100%);
}

.dashboard-page__attention-bar-fill--warning {
    background: linear-gradient(90deg, #e7ac32 0%, #f5bc50 100%);
}

.dashboard-page__attention-bar-fill--secondary {
    background: linear-gradient(90deg, #3ba3c5 0%, #68cae5 100%);
}

.dashboard-page__company-search {
    max-width: 32rem;
    margin-bottom: 1rem;
}

.dashboard-page__company-summary {
    margin: 1rem 0 0;
    color: #5d6b8d;
    text-align: center;
}

.dashboard-page__token-chart {
    min-height: 4.5rem;
}

.cv-drop-board {
    width: 100%;
}

.cv-drop-board__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.cv-drop-board__zone-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cv-drop-board__zone-heading {
    padding: 0 0.25rem;
}

.cv-drop-board__zone-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0d1733;
}

.cv-drop-board__zone-subtitle {
    margin: 0.25rem 0 0;
    color: #5d6b8d;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cv-drop-board__zone {
    position: relative;
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.65rem;
    border-radius: 22px;
    border: 1px dashed #d7e1ee;
    background: linear-gradient(180deg, #f8fbff 0%, #fdfefe 100%);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cv-drop-board__zone-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: 1rem;
    border: 1px dashed #dbe5f1;
    border-radius: 16px;
    color: #6a7894;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
}

.cv-drop-board__item {
    position: relative;
    border-radius: 24px;
}

.cv-drop-board__item-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0.75rem 0.55rem;
    color: #5d6b8d;
}

.cv-drop-board__item-toolbar--actions-only {
    justify-content: flex-end;
}

.cv-drop-board__item-drag-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(13, 23, 51, 0.05);
    color: #5d6b8d;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.cv-drop-board__item:hover .cv-drop-board__item-drag-hint {
    background: rgba(43, 163, 197, 0.12);
    color: #1e789a;
}

.cv-drop-board__item-toolbar-actions {
    display: inline-flex;
    align-items: center;
}

.cv-drop-board__remove-button {
    margin-right: -0.35rem;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cv-drop-board__item:hover .cv-drop-board__remove-button,
.cv-drop-board__item:focus-within .cv-drop-board__remove-button {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@media (hover: none) {
    .cv-drop-board__remove-button {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }
}

.cv-drop-board__item-body {
    height: 100%;
}

.cv-drop-board__item--dragging {
    opacity: 0.78;
    transform: rotate(1deg);
}

.cv-drop-board__zone--can-drop .cv-drop-board__item::before,
.cv-drop-board__zone--can-drop::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    height: 0.95rem;
    border-radius: 999px;
    border: 1px dashed rgba(43, 163, 197, 0.36);
    background: rgba(43, 163, 197, 0.1);
    pointer-events: none;
    z-index: 1;
}

.cv-drop-board__zone--can-drop .cv-drop-board__item::before {
    top: -0.75rem;
}

.cv-drop-board__zone--can-drop::after {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 0.35rem;
}

.cv-drop-board__zone--can-drop {
    border-color: rgba(43, 163, 197, 0.55) !important;
    background: linear-gradient(180deg, rgba(43, 163, 197, 0.08) 0%, #f8fdff 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(43, 163, 197, 0.18);
}

.cv-drop-board__zone--no-drop {
    border-color: rgba(220, 53, 69, 0.4) !important;
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.05) 0%, #fff9f9 100%) !important;
}

.cv-drop-board__zone--dragging {
    box-shadow: 0 16px 32px rgba(13, 23, 51, 0.08);
}

.cv-drop-board__zone .mud-dropitem-placeholder {
    min-height: 1.15rem !important;
    height: 1.15rem !important;
    flex: 0 0 1.15rem !important;
    margin: 0.3rem 0;
    border-radius: 999px;
    border: 1px dashed rgba(43, 163, 197, 0.55);
    background: linear-gradient(90deg, rgba(43, 163, 197, 0.16), rgba(43, 163, 197, 0.3));
    box-shadow: none;
}

@media (max-width: 1199.98px) {
    .cv-drop-board__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .dashboard-page__metric-grid--three,
    .dashboard-page__metric-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-page__pod-summary-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-page__company-search {
        max-width: none;
    }

    .dashboard-page__empty-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-page__distribution-legend {
        grid-template-columns: 1fr;
    }

    .dashboard-page__schedule-top,
    .dashboard-page__attention-top {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .dashboard-page__metric-grid--two,
    .dashboard-page__metric-grid--three,
    .dashboard-page__metric-grid--four {
        grid-template-columns: 1fr;
    }

    .dashboard-page__calendar .cv-month-calendar {
        overflow-x: auto;
    }
}

/* Cv field wrappers */
.cv-text-field,
.cv-select,
.cv-slider {
    width: 100%;
}

.cv-text-field .mud-input-control,
.cv-select .mud-input-control,
.cv-slider .mud-slider {
    margin-top: 0;
}

.cv-slider__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.cv-slider__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d1733;
}

.cv-slider__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.cv-slider__control {
    padding-inline: 0.2rem;
}

.cv-slider__ticks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0.25rem;
    margin-top: 0.2rem;
}

.cv-slider__tick {
    font-size: 0.72rem;
    line-height: 1.2;
    color: #6c7a89;
    text-align: center;
    white-space: nowrap;
}

.cv-slider__tick:first-child {
    text-align: left;
}

.cv-slider__tick:last-child {
    text-align: right;
}

.cv-slider__tick--active {
    color: #1e789a;
    font-weight: 700;
}

.cv-slider__helper-text {
    margin-top: 0.35rem;
}

.cv-mud-popover-provider {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1600;
}

.cv-mud-popover-provider .mud-popover,
.cv-mud-popover-provider .mud-overlay {
    pointer-events: auto;
}

.cv-chip-multi-select {
    display: grid;
    gap: 0.75rem;
}

.cv-chip-multi-select__field .mud-input-control {
    margin-top: 0;
}

.cv-chip-multi-select__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-chip-multi-select__selected-chip {
    margin: 0;
    box-shadow: 0 10px 18px rgba(13, 23, 51, 0.08);
}

.tickets-page__chip-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf2f8;
}

.tickets-page__chip-filter {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    padding: 1rem;
    border: 1px solid #d8e1ee;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.tickets-page__chip-filter-header {
    display: grid;
    gap: 0.25rem;
}

.tickets-page__chip-filter-header h4 {
    margin: 0;
    color: #0d1733;
    font-size: 0.95rem;
    font-weight: 700;
}

.tickets-page__chip-filter-header p {
    margin: 0.2rem 0 0;
    color: #5c6f8e;
    font-size: 0.85rem;
}

/* SuperAdmin logs */
.superadmin-logs__header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.superadmin-logs__refresh-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 11rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid #d8e1ee;
    border-radius: 14px;
    background: #f9fbfe;
}

.superadmin-logs__meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f8e;
}

.superadmin-logs__field-help {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #5c6f8e;
}

.superadmin-logs__toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.superadmin-logs__results-card .cv-card__body {
    padding-top: 0.5rem;
}

.superadmin-logs__results-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
    font-size: 0.88rem;
    color: #5c6f8e;
}

.superadmin-logs__table-wrap {
    overflow-x: auto;
}

.superadmin-logs__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.superadmin-logs__table thead th {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e3eaf5;
    background: #f9fbfe;
    color: #0d1733;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.superadmin-logs__table tbody td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #edf2f8;
    vertical-align: top;
}

.superadmin-logs__row {
    transition: background-color 0.18s ease;
}

.superadmin-logs__row:hover {
    background: #f9fbfe;
}

.superadmin-logs__row--danger {
    background: rgba(207, 93, 71, 0.07);
}

.superadmin-logs__row--warning {
    background: rgba(162, 211, 57, 0.12);
}

.superadmin-logs__timestamp,
.superadmin-logs__tenant {
    white-space: nowrap;
    color: #5c6f8e;
    font-size: 0.88rem;
}

/* Dark mode wrapper overrides */
[data-bs-theme="dark"] .cv-button--filled.cv-button--primary,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--primary {
    background-color: #7e8fbe;
    color: #0a1023;
}

[data-bs-theme="dark"] .cv-help-icon {
    color: #9ac5ff;
}

[data-bs-theme="dark"] .cv-help-icon:hover,
[data-bs-theme="dark"] .cv-help-icon:focus-visible {
    color: #ffffff;
    background: rgba(132, 180, 255, 0.16);
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--primary:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--primary:hover {
    background-color: #93a2cb;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--secondary,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--secondary {
    background-color: #68cae5;
    color: #07141d;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--secondary:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--secondary:hover {
    background-color: #82d8ed;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--accent,
[data-bs-theme="dark"] .cv-button--filled.cv-button--success,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--accent,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--success {
    background-color: #b7de63;
    color: #0d1708;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--accent:hover,
[data-bs-theme="dark"] .cv-button--filled.cv-button--success:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--accent:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--success:hover {
    background-color: #c8e68a;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--support,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--support {
    background-color: #5eafcb;
    color: #08131c;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--support:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--support:hover {
    background-color: #77bdd5;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--neutral,
[data-bs-theme="dark"] .cv-button--filled.cv-button--warning,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--neutral,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--warning {
    background-color: #8acac2;
    color: #071513;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--neutral:hover,
[data-bs-theme="dark"] .cv-button--filled.cv-button--warning:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--neutral:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--warning:hover {
    background-color: #9fd7d0;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--danger,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--danger {
    background-color: #f87171;
    color: #20090b;
}

[data-bs-theme="dark"] .cv-button--filled.cv-button--danger:hover,
[data-bs-theme="dark"] .cv-icon-button--filled.cv-icon-button--danger:hover {
    background-color: #fb8d8d;
}

[data-bs-theme="dark"] .cv-button--outlined,
[data-bs-theme="dark"] .cv-button--text,
[data-bs-theme="dark"] .cv-icon-button--outlined,
[data-bs-theme="dark"] .cv-icon-button--text {
    color: var(--text-primary);
}

[data-bs-theme="dark"] .cv-button--outlined.cv-button--primary,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--secondary,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--accent,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--success,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--support,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--neutral,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--warning,
[data-bs-theme="dark"] .cv-button--outlined.cv-button--danger,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--primary,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--secondary,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--accent,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--success,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--support,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--neutral,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--warning,
[data-bs-theme="dark"] .cv-icon-button--outlined.cv-icon-button--danger {
    border-color: #32466e;
}

[data-bs-theme="dark"] .cv-card,
[data-bs-theme="dark"] .cv-action-card,
[data-bs-theme="dark"] .cv-dialog--standalone {
    border-color: #243354;
    background: #121b36;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .cv-stat-card {
    border-color: #243354;
    background:
        radial-gradient(circle at top right, rgba(104, 202, 229, 0.14), transparent 34%),
        linear-gradient(180deg, #121b36 0%, #182544 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .cv-page-header {
    border-color: #243354;
    background: linear-gradient(180deg, #121b36 0%, #182544 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .cv-card__header,
[data-bs-theme="dark"] .cv-card__footer,
[data-bs-theme="dark"] .cv-action-card__footer {
    border-color: #243354;
    background-color: #0f172a;
}

[data-bs-theme="dark"] .cv-card__title,
[data-bs-theme="dark"] .cv-action-card__title,
[data-bs-theme="dark"] .cv-action-card__footer,
[data-bs-theme="dark"] .cv-stat-card__value,
[data-bs-theme="dark"] .cv-stat-card__label,
[data-bs-theme="dark"] .cv-page-header__text h1,
[data-bs-theme="dark"] .cv-section__title {
    color: #f6f8fc;
}

[data-bs-theme="dark"] .cv-card__subtitle,
[data-bs-theme="dark"] .cv-action-card__description,
[data-bs-theme="dark"] .cv-stat-card__support,
[data-bs-theme="dark"] .cv-page-header__text p,
[data-bs-theme="dark"] .cv-section__subtitle,
[data-bs-theme="dark"] .cv-loading,
[data-bs-theme="dark"] .cv-loading__label {
    color: #b9c4de;
}

[data-bs-theme="dark"] .cv-action-card {
    background: linear-gradient(180deg, #121b36 0%, #182544 100%);
}

[data-bs-theme="dark"] .cv-action-card__footer i {
    color: #68cae5;
}

[data-bs-theme="dark"] .cv-alert {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .cv-alert__content a {
    color: #f6f8fc;
}

[data-bs-theme="dark"] .cv-tone-primary,
[data-bs-theme="dark"] .cv-card__icon-shell--primary,
[data-bs-theme="dark"] .cv-action-card__icon-shell--primary,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--primary,
[data-bs-theme="dark"] .cv-dialog__icon-shell--primary {
    background: rgba(126, 143, 190, 0.2);
    color: #dce3f7;
}

[data-bs-theme="dark"] .cv-tone-secondary,
[data-bs-theme="dark"] .cv-tone-support,
[data-bs-theme="dark"] .cv-card__icon-shell--secondary,
[data-bs-theme="dark"] .cv-card__icon-shell--support,
[data-bs-theme="dark"] .cv-action-card__icon-shell--secondary,
[data-bs-theme="dark"] .cv-action-card__icon-shell--support,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--secondary,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--support,
[data-bs-theme="dark"] .cv-dialog__icon-shell--secondary,
[data-bs-theme="dark"] .cv-dialog__icon-shell--support {
    background: rgba(104, 202, 229, 0.18);
    color: #dff7ff;
}

[data-bs-theme="dark"] .cv-tone-accent,
[data-bs-theme="dark"] .cv-tone-success,
[data-bs-theme="dark"] .cv-card__icon-shell--accent,
[data-bs-theme="dark"] .cv-card__icon-shell--success,
[data-bs-theme="dark"] .cv-action-card__icon-shell--accent,
[data-bs-theme="dark"] .cv-action-card__icon-shell--success,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--accent,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--success,
[data-bs-theme="dark"] .cv-dialog__icon-shell--accent,
[data-bs-theme="dark"] .cv-dialog__icon-shell--success {
    background: rgba(183, 222, 99, 0.18);
    color: #eff9cf;
}

[data-bs-theme="dark"] .cv-tone-neutral,
[data-bs-theme="dark"] .cv-tone-warning,
[data-bs-theme="dark"] .cv-card__icon-shell--neutral,
[data-bs-theme="dark"] .cv-card__icon-shell--warning,
[data-bs-theme="dark"] .cv-action-card__icon-shell--neutral,
[data-bs-theme="dark"] .cv-action-card__icon-shell--warning,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--neutral,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--warning,
[data-bs-theme="dark"] .cv-dialog__icon-shell--neutral,
[data-bs-theme="dark"] .cv-dialog__icon-shell--warning {
    background: rgba(138, 202, 194, 0.18);
    color: #ddf7f3;
}

[data-bs-theme="dark"] .cv-tone-danger,
[data-bs-theme="dark"] .cv-card__icon-shell--danger,
[data-bs-theme="dark"] .cv-action-card__icon-shell--danger,
[data-bs-theme="dark"] .cv-stat-card__icon-shell--danger,
[data-bs-theme="dark"] .cv-dialog__icon-shell--danger {
    background: rgba(248, 113, 113, 0.18);
    color: #ffe0e0;
}

[data-bs-theme="dark"] .cv-action-card__badge--primary,
[data-bs-theme="dark"] .cv-stat-card__highlight--primary {
    background: rgba(126, 143, 190, 0.18);
    color: #dce3f7;
}

[data-bs-theme="dark"] .cv-action-card__badge--secondary,
[data-bs-theme="dark"] .cv-action-card__badge--support,
[data-bs-theme="dark"] .cv-stat-card__highlight--secondary,
[data-bs-theme="dark"] .cv-stat-card__highlight--support {
    background: rgba(104, 202, 229, 0.16);
    color: #dff7ff;
}

[data-bs-theme="dark"] .cv-action-card__badge--accent,
[data-bs-theme="dark"] .cv-action-card__badge--success,
[data-bs-theme="dark"] .cv-stat-card__highlight--accent,
[data-bs-theme="dark"] .cv-stat-card__highlight--success {
    background: rgba(183, 222, 99, 0.16);
    color: #eff9cf;
}

[data-bs-theme="dark"] .cv-action-card__badge--neutral,
[data-bs-theme="dark"] .cv-action-card__badge--warning,
[data-bs-theme="dark"] .cv-stat-card__highlight--neutral,
[data-bs-theme="dark"] .cv-stat-card__highlight--warning {
    background: rgba(138, 202, 194, 0.16);
    color: #ddf7f3;
}

[data-bs-theme="dark"] .cv-action-card__badge--danger,
[data-bs-theme="dark"] .cv-stat-card__highlight--danger {
    background: rgba(248, 113, 113, 0.16);
    color: #ffe0e0;
}

[data-bs-theme="dark"] .dashboard-page__notice-text,
[data-bs-theme="dark"] .dashboard-page__empty-copy,
[data-bs-theme="dark"] .dashboard-page__notification-message,
[data-bs-theme="dark"] .dashboard-page__summary-note,
[data-bs-theme="dark"] .dashboard-page__company-summary,
[data-bs-theme="dark"] .cv-drop-board__zone-subtitle,
[data-bs-theme="dark"] .cv-drop-board__item-toolbar {
    color: #b9c4de;
}

[data-bs-theme="dark"] .dashboard-page__notification-item {
    border-color: rgba(251, 191, 36, 0.2);
    background: linear-gradient(180deg, rgba(120, 53, 15, 0.36) 0%, rgba(74, 43, 10, 0.4) 100%);
}

[data-bs-theme="dark"] .dashboard-page__notification-item:hover {
    border-color: rgba(251, 191, 36, 0.38);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .dashboard-page__notification-title {
    color: #fde68a;
}

[data-bs-theme="dark"] .dashboard-page__pod-card {
    background:
        radial-gradient(circle at top right, rgba(104, 202, 229, 0.12), transparent 22%),
        linear-gradient(180deg, #121b36 0%, #182544 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile {
    border-color: #32466e;
    background: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .dashboard-page__metric-value,
[data-bs-theme="dark"] .dashboard-page__summary-note strong,
[data-bs-theme="dark"] .dashboard-page__empty-title,
[data-bs-theme="dark"] .cv-drop-board__zone-title {
    color: #f6f8fc;
}

[data-bs-theme="dark"] .dashboard-page__metric-label {
    color: #b9c4de;
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--primary {
    border-color: rgba(126, 143, 190, 0.3);
    background: linear-gradient(180deg, rgba(126, 143, 190, 0.12) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--primary .dashboard-page__metric-icon {
    background: rgba(126, 143, 190, 0.22);
    color: #dce3f7;
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--secondary {
    border-color: rgba(104, 202, 229, 0.26);
    background: linear-gradient(180deg, rgba(104, 202, 229, 0.12) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--secondary .dashboard-page__metric-icon,
[data-bs-theme="dark"] .dashboard-page__metric-tile--support .dashboard-page__metric-icon {
    background: rgba(104, 202, 229, 0.18);
    color: #dff7ff;
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--accent {
    border-color: rgba(183, 222, 99, 0.3);
    background: linear-gradient(180deg, rgba(183, 222, 99, 0.12) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--accent .dashboard-page__metric-icon {
    background: rgba(183, 222, 99, 0.18);
    color: #eff9cf;
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--support {
    border-color: rgba(94, 175, 203, 0.28);
    background: linear-gradient(180deg, rgba(94, 175, 203, 0.12) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--neutral {
    border-color: rgba(138, 202, 194, 0.28);
    background: linear-gradient(180deg, rgba(138, 202, 194, 0.12) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--neutral .dashboard-page__metric-icon {
    background: rgba(138, 202, 194, 0.18);
    color: #ddf7f3;
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.14) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--warning .dashboard-page__metric-icon {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--danger {
    border-color: rgba(248, 113, 113, 0.28);
    background: linear-gradient(180deg, rgba(248, 113, 113, 0.12) 0%, rgba(15, 23, 42, 0.96) 100%);
}

[data-bs-theme="dark"] .dashboard-page__metric-tile--danger .dashboard-page__metric-icon {
    background: rgba(248, 113, 113, 0.18);
    color: #ffe0e0;
}

[data-bs-theme="dark"] .dashboard-page__bonus-pill {
    background: rgba(104, 202, 229, 0.18);
    color: #dff7ff;
}

[data-bs-theme="dark"] .dashboard-page__empty-state {
    border-color: #32466e;
    background: rgba(15, 23, 42, 0.9);
}

[data-bs-theme="dark"] .dashboard-page__empty-icon {
    background: rgba(138, 202, 194, 0.16);
    color: #ddf7f3;
}

[data-bs-theme="dark"] .dashboard-page__schedule-item,
[data-bs-theme="dark"] .dashboard-page__attention-item,
[data-bs-theme="dark"] .dashboard-page__distribution-legend-item {
    border-color: #32466e;
    background: rgba(15, 23, 42, 0.92);
}

[data-bs-theme="dark"] .dashboard-page__schedule-item:hover,
[data-bs-theme="dark"] .dashboard-page__schedule-item:focus-visible,
[data-bs-theme="dark"] .dashboard-page__attention-item:hover,
[data-bs-theme="dark"] .dashboard-page__attention-item:focus-visible {
    border-color: rgba(104, 202, 229, 0.34);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .dashboard-page__schedule-date,
[data-bs-theme="dark"] .dashboard-page__schedule-title,
[data-bs-theme="dark"] .dashboard-page__attention-title,
[data-bs-theme="dark"] .dashboard-page__distribution .cv-segmented-distribution__label {
    color: #f6f8fc;
}

[data-bs-theme="dark"] .dashboard-page__schedule-meta,
[data-bs-theme="dark"] .dashboard-page__attention-copy,
[data-bs-theme="dark"] .dashboard-page__attention-meta,
[data-bs-theme="dark"] .dashboard-page__distribution .cv-segmented-distribution__value {
    color: #b9c4de;
}

[data-bs-theme="dark"] .dashboard-page__distribution .cv-segmented-distribution__bar,
[data-bs-theme="dark"] .dashboard-page__attention-bar {
    background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .cv-drop-board__zone {
    border-color: #32466e;
    background: linear-gradient(180deg, #121b36 0%, #182544 100%);
}

[data-bs-theme="dark"] .cv-drop-board__zone-empty {
    border-color: #32466e;
    background: rgba(15, 23, 42, 0.72);
    color: #b9c4de;
}

[data-bs-theme="dark"] .cv-drop-board__item-drag-hint {
    background: rgba(255, 255, 255, 0.08);
    color: #b9c4de;
}

[data-bs-theme="dark"] .cv-drop-board__item:hover .cv-drop-board__item-drag-hint {
    background: rgba(104, 202, 229, 0.14);
    color: #dff7ff;
}

[data-bs-theme="dark"] .cv-drop-board__zone--can-drop {
    border-color: rgba(104, 202, 229, 0.48) !important;
    background: linear-gradient(180deg, rgba(104, 202, 229, 0.12) 0%, rgba(18, 37, 68, 0.96) 100%) !important;
}

[data-bs-theme="dark"] .cv-drop-board__zone--can-drop .cv-drop-board__item::before,
[data-bs-theme="dark"] .cv-drop-board__zone--can-drop::after {
    border-color: rgba(104, 202, 229, 0.44);
    background: rgba(104, 202, 229, 0.14);
}

[data-bs-theme="dark"] .cv-drop-board__zone .mud-dropitem-placeholder {
    border-color: rgba(104, 202, 229, 0.52);
    background: rgba(104, 202, 229, 0.18);
}

[data-bs-theme="dark"] .cv-drop-board__zone--no-drop {
    border-color: rgba(248, 113, 113, 0.4) !important;
    background: linear-gradient(180deg, rgba(248, 113, 113, 0.1) 0%, rgba(35, 14, 21, 0.94) 100%) !important;
}

.superadmin-logs__message {
    color: #0d1733;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.superadmin-logs__source {
    margin-top: 0.25rem;
    color: #5c6f8e;
    font-size: 0.85rem;
    word-break: break-word;
}

.superadmin-logs__level-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.superadmin-logs__level-pill--fatal,
.superadmin-logs__level-pill--error {
    background: #cf5d47;
    color: #ffffff;
}

.superadmin-logs__level-pill--warning {
    background: #a2d339;
    color: #182511;
}

.superadmin-logs__level-pill--information {
    background: #d9eef5;
    color: #1e789a;
}

.superadmin-logs__level-pill--debug {
    background: #dfe7f5;
    color: #314364;
}

.superadmin-logs__level-pill--verbose,
.superadmin-logs__level-pill--default {
    background: #edf2f8;
    color: #425472;
}

.superadmin-logs__details-row td {
    padding-top: 0;
    background: #fbfcff;
}

.superadmin-logs__details {
    padding: 1rem 0;
}

.superadmin-logs__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.superadmin-logs__detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e3eaf5;
    border-radius: 14px;
    background: #ffffff;
}

.superadmin-logs__detail-item span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f8e;
}

.superadmin-logs__detail-item strong {
    color: #0d1733;
    word-break: break-word;
}

.superadmin-logs__detail-panel {
    margin-top: 1rem;
}

.superadmin-logs__detail-panel h4,
.superadmin-logs__detail-panel summary {
    margin-bottom: 0.5rem;
    color: #0d1733;
    font-size: 0.95rem;
    font-weight: 700;
}

.superadmin-logs__detail-pre {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid #e3eaf5;
    border-radius: 14px;
    background: #ffffff;
    color: #0d1733;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 22rem;
    overflow: auto;
}

.superadmin-logs__detail-pre--danger {
    border-color: rgba(207, 93, 71, 0.35);
    background: rgba(207, 93, 71, 0.06);
    color: #8f3429;
}

.superadmin-logs__empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #5c6f8e;
}

.superadmin-logs__empty i {
    display: block;
    margin-bottom: 0.85rem;
    color: #2ba3c5;
    font-size: 2.25rem;
}

.superadmin-logs__empty h3 {
    margin-bottom: 0.35rem;
    color: #0d1733;
    font-size: 1.1rem;
}

.superadmin-logs__pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: #5c6f8e;
    font-size: 0.88rem;
}

@media (max-width: 991.98px) {
    .superadmin-logs__header-actions,
    .superadmin-logs__results-meta,
    .superadmin-logs__pagination {
        justify-content: flex-start;
    }

    .superadmin-logs__refresh-meta {
        min-width: 0;
        width: 100%;
    }
}


/* SuperAdmin statistics overview */
.statistics-overview-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.statistics-overview-page__header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0.75rem;
}

.statistics-overview-page__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 13rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d8e1ee;
    border-radius: 14px;
    background: #f9fbfe;
}

.statistics-overview-page__meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f8e;
}

.statistics-overview-page__meta-support {
    color: #5c6f8e;
    font-size: 0.8rem;
    line-height: 1.4;
}

.statistics-overview-page__tenant-select {
    min-width: 15rem;
}

.statistics-overview-page__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.statistics-overview-page__tab-content {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.statistics-overview-page__section {
    margin-bottom: 0;
}

.statistics-overview-page__section-actions {
    min-width: 15rem;
}

.statistics-overview-page__feedback-card,
.statistics-overview-page__legacy-card,
.statistics-overview-page__table-card {
    margin-top: 0;
}

.statistics-overview-page__feedback-copy,
.statistics-overview-page__legacy-copy,
.statistics-overview-page__tool-summary {
    margin: 0;
    color: #5c6f8e;
    line-height: 1.6;
}

.statistics-overview-page__table-card .cv-card__body {
    padding-top: 0.45rem;
}

.statistics-overview-page__table-meta {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(43, 163, 197, 0.12);
    color: #1e789a;
    font-size: 0.78rem;
    font-weight: 700;
}

.statistics-overview-page__pill {
    display: inline-flex;
    align-items: center;
    margin: 0.125rem 0.35rem 0.125rem 0;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
}

.statistics-overview-page__pill--primary {
    background: rgba(13, 23, 51, 0.1);
    color: #0d1733;
}

.statistics-overview-page__pill--secondary {
    background: rgba(43, 163, 197, 0.14);
    color: #1e789a;
}

.statistics-overview-page__pill--neutral {
    background: rgba(104, 176, 168, 0.16);
    color: #2f6f68;
}

.statistics-overview-page__code {
    font-size: 0.82rem;
}

.statistics-overview-page__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #5c6f8e;
}

.statistics-overview-page__empty-state i {
    font-size: 1.85rem;
    color: #68b0a8;
}

.statistics-overview-page__empty-state h3 {
    margin: 0 0 0.2rem;
    color: #0d1733;
    font-size: 1rem;
    font-weight: 700;
}

.statistics-overview-page__empty-state p {
    margin: 0;
}

.statistics-overview-page__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
}

.statistics-overview-page__guide-item {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9fd 100%);
}

.statistics-overview-page__guide-item h4 {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #0d1733;
    font-size: 0.95rem;
    font-weight: 700;
}

.statistics-overview-page__guide-item ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #5c6f8e;
}

.statistics-overview-page__guide-item li + li {
    margin-top: 0.35rem;
}

.statistics-overview-page__tool-actions {
    display: grid;
    gap: 0.9rem;
}

.statistics-overview-page__tool-summary code {
    word-break: break-word;
}

.statistics-overview-page__spinning-icon {
    animation: statistics-overview-spin 1s linear infinite;
}

@keyframes statistics-overview-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767.98px) {
    .statistics-overview-page__header-actions {
        justify-content: stretch;
    }

    .statistics-overview-page__meta,
    .statistics-overview-page__section-actions,
    .statistics-overview-page__tenant-select {
        min-width: 100%;
        width: 100%;
    }

    .statistics-overview-page__tabs {
        flex-direction: column;
    }
}
