html, body, * {
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.mud-typography,
.mud-input,
.mud-input-root,
.mud-input-label,
.mud-button-root,
.mud-button,
.mud-checkbox,
.mud-nav-link,
.mud-list-item-text {
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

h1:focus {
    outline: none;
}

.mud-main-content.nexora-main {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 959.98px) {
    .mud-main-content.nexora-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.mud-paper:not(.mud-appbar):not(.mud-drawer):not(.nexora-widget-card):not(.nexora-login-card):not(.nexora-gradient-kpi) {
    border: 1px solid var(--nexora-border);
    border-radius: var(--nexora-radius);
    box-shadow: var(--nexora-shadow);
}

.mud-paper.nexora-widget-card {
    background-color: #FFFFFF;
    border: 1px solid var(--nexora-border);
    border-radius: var(--nexora-radius);
    box-shadow: var(--nexora-shadow);
    overflow: hidden;
}

.nexora-kpi-card {
    position: relative;
    min-height: 112px;
    padding: 16px 18px;
}

.nexora-kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.nexora-kpi-value {
    margin-top: 4px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.15;
    color: var(--mud-palette-text-primary);
}

.nexora-kpi-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.nexora-kpi-icon-primary {
    background: #e8f0fc;
    color: var(--nexora-primary);
}

.nexora-kpi-icon-success {
    background: #ECFDF5;
    color: #059669;
}

.nexora-kpi-icon-neutral {
    background: #F1F5F9;
    color: #475569;
}

.mud-button-filled-primary:hover {
    background-color: var(--nexora-primary-hover, #1c5cab) !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.nexora-grid-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nexora-grid-actions .mud-icon-button {
    width: 32px;
    height: 32px;
}

.nexora-surface-card .mud-table-pagination {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.nexora-grid-pager .mud-table-pagination-toolbar {
    display: flex;
    align-items: center;
    width: 100%;
}

.nexora-grid-pager .mud-table-pagination-caption:first-of-type {
    order: 1;
}

.nexora-grid-pager .mud-table-pagination-toolbar > .mud-select {
    order: 2;
}

.nexora-grid-pager .mud-table-pagination-spacer {
    order: 3;
    flex-grow: 1;
}

.nexora-grid-pager .mud-table-pagination-caption:last-of-type {
    order: 4;
}

.nexora-grid-pager .mud-table-pagination-actions {
    order: 5;
}

.mud-paper.nexora-gradient-kpi {
    position: relative;
    overflow: hidden;
    min-height: 120px;
    padding: 20px 24px;
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.mud-paper.nexora-gradient-kpi-warning {
    background: linear-gradient(45deg, #ff9800, #ff5722);
}

.mud-paper.nexora-gradient-kpi-success {
    background: linear-gradient(45deg, #4caf50, #2e7d32);
}

.mud-paper.nexora-gradient-kpi-info {
    background: linear-gradient(45deg, #2196f3, #1565c0);
}

.mud-paper.nexora-gradient-kpi-purple {
    background: linear-gradient(45deg, #9c27b0, #6a1b9a);
}

.mud-paper.nexora-gradient-kpi-teal {
    background: linear-gradient(45deg, #00897b, #004d40);
}

.mud-paper.nexora-gradient-kpi-slate {
    background: linear-gradient(45deg, #546e7a, #263238);
}

.mud-paper.nexora-gradient-kpi-danger {
    background: linear-gradient(45deg, #e53935, #b71c1c);
}

.nexora-gradient-kpi-label,
.nexora-gradient-kpi-value {
    color: #FFFFFF !important;
}

.nexora-gradient-kpi-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.92;
}

.nexora-gradient-kpi-value {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.nexora-gradient-kpi-waiting {
    font-size: 15px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    padding-right: 40px;
}

.nexora-gradient-kpi-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 72px;
    width: 72px;
    height: 72px;
    color: #FFFFFF !important;
    opacity: 0.28;
}

.mud-paper.nexora-gradient-kpi-clickable {
    cursor: pointer;
}

.mud-drawer.nexora-drawer-collapsed {
    overflow: hidden !important;
    width: 72px !important;
    max-width: 72px !important;
}

.mud-drawer.nexora-drawer-collapsed .mud-drawer-content {
    overflow: hidden !important;
    width: 72px !important;
    max-width: 72px !important;
}

.mud-drawer.nexora-drawer-collapsed .nexora-brand-text,
.mud-drawer.nexora-drawer-collapsed .nexora-user-meta {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.nexora-mini-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0 16px;
}

.nexora-mini-nav-btn {
    width: 44px !important;
    height: 44px !important;
    color: var(--mud-palette-drawer-icon) !important;
    border-radius: 8px !important;
    border-left: 3px solid transparent !important;
}

.nexora-mini-nav-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.nexora-mini-nav-btn-active {
    background: var(--nexora-nav-active-bg, rgba(232, 99, 10, 0.14)) !important;
    border-left-color: var(--nexora-primary, #2A78D6) !important;
    color: var(--nexora-primary, #2A78D6) !important;
}

.nexora-mini-nav-btn-active .mud-icon-root {
    color: var(--nexora-primary, #2A78D6) !important;
}

.mud-popover.nexora-nav-flyout {
    background: var(--nexora-drawer-flyout-bg, #FFFFFF) !important;
    color: #0B0B0B !important;
    border: 1px solid #E6E9EF;
    min-width: 240px;
}

.mud-popover.nexora-nav-flyout .mud-list-item,
.mud-popover.nexora-nav-flyout .mud-menu-item {
    color: #52514E !important;
}

.mud-popover.nexora-nav-flyout .mud-list-item:hover,
.mud-popover.nexora-nav-flyout .mud-menu-item:hover {
    background: var(--nexora-nav-active-bg, #E8F0FC) !important;
    color: var(--nexora-primary, #2A78D6) !important;
}

.nexora-profile-card {
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nexora-profile-avatar-block {
    text-align: center;
}

.nexora-profile-avatar-wrap {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
}

.nexora-profile-avatar-wrap .mud-file-upload,
.nexora-profile-avatar-wrap .mud-input-control {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    margin: 0 !important;
    padding: 0 !important;
}

.nexora-profile-avatar.mud-avatar,
.nexora-profile-avatar.mud-avatar-filled {
    width: 120px !important;
    height: 120px !important;
    font-size: 40px !important;
    border: 3px solid #2A78D6 !important;
}

.nexora-profile-avatar-camera {
    position: absolute !important;
    right: 0;
    bottom: 0;
    width: 36px !important;
    height: 36px !important;
    background: #2A78D6 !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.nexora-profile-avatar-camera:hover {
    background: #1C5CAB !important;
}

.nexora-profile-hint {
    color: var(--mud-palette-text-secondary);
    display: block;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.nexora-profile-name {
    font-weight: 700;
    line-height: 1.2;
}

.nexora-profile-username {
    color: var(--mud-palette-text-secondary);
}

.nexora-profile-card-title {
    font-weight: 600;
}

.nexora-profile-password-title {
    color: var(--mud-palette-error);
}

.nexora-profile-perm-list {
    padding: 0;
}

.nexora-profile-perm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    font-size: 14px;
}

.nexora-user-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nexora-user-form-panel {
    width: min(960px, 94vw);
    max-height: 92vh;
    overflow: auto;
    padding: 28px;
    border-radius: 16px;
}

.nexora-form-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9E9E9E;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.nexora-form-section-head .mud-icon-root {
    color: #9E9E9E;
}

.nexora-readonly-box {
    position: relative;
    min-height: 56px;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    background: #FAFBFD;
    padding: 18px 12px 10px;
}

.nexora-readonly-box-label {
    position: absolute;
    top: -8px;
    left: 10px;
    background: #FFFFFF;
    padding: 0 5px;
    font-size: 12px;
    line-height: 16px;
    color: #757575;
}

.nexora-readonly-box-text {
    display: block;
    color: #212121;
    font-size: 16px;
    line-height: 24px;
    min-height: 24px;
    word-break: break-word;
}

.nexora-sistem-logo-block {
    text-align: center;
}

.nexora-sistem-logo-wrap {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.nexora-sistem-logo-wrap .mud-file-upload,
.nexora-sistem-logo-wrap .mud-input-control {
    position: absolute !important;
    right: -6px;
    bottom: -6px;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.nexora-sistem-logo-hint {
    display: block !important;
    width: 100%;
    color: var(--mud-palette-text-secondary);
}

.nexora-crud-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #EEEEEE;
}

.nexora-crud-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexora-filter-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    background: #FAFAFA;
    border-bottom: 1px solid #EEEEEE;
    overflow-x: hidden;
    overflow-y: auto;
}

.nexora-filter-panel .mud-grid {
    width: 100%;
    max-width: 100%;
}

.nexora-filter-field {
    min-width: 0;
    box-sizing: border-box;
}

.nexora-filter-field .mud-input-control,
.nexora-filter-control {
    width: 100%;
}

@media (max-width: 599.98px) {
    .nexora-filter-panel {
        max-height: min(70vh, 520px);
        -webkit-overflow-scrolling: touch;
    }

    .nexora-filter-panel .nexora-filter-field {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 600px) and (max-width: 959.98px) {
    .nexora-filter-panel .nexora-filter-field {
        flex-basis: 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 960px) {
    .nexora-filter-panel .nexora-filter-field {
        flex-basis: 25% !important;
        max-width: 25% !important;
    }
}

.nexora-row-selected > td {
    background-color: #e8f0fc !important;
}

.nexora-subgrid-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 0;
    font-size: 13px;
    font-weight: 600;
    color: #616161;
}

.nexora-screen-busy {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}

.nexora-talep-form-panel {
    width: min(1180px, 96vw);
    max-height: 94vh;
    overflow: auto;
    padding: 20px 24px 24px;
    border-radius: 16px;
}

.nexora-line-add {
    display: inline-block;
    margin-top: 8px;
    color: var(--nexora-primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.nexora-line-add[aria-disabled="true"] {
    color: #BDBDBD;
    cursor: default;
}

.nexora-total-box {
    background: #f3f8fe;
    border: 1px solid #c9dcf5;
    border-radius: 8px;
    padding: 16px;
}

.nexora-total-label {
    font-size: 12px;
    color: #757575;
}

.nexora-total-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--nexora-primary);
}

.nexora-wide-grid .mud-table-container {
    overflow-x: auto !important;
}

.nexora-wide-grid-master .mud-table {
    min-width: 2200px;
}

.nexora-wide-grid-detail .mud-table {
    min-width: 2600px;
}

.nexora-form-table-scroll {
    overflow-x: auto;
    width: 100%;
}

.nexora-form-table-scroll table {
    min-width: 1800px;
}

.nexora-lookup-select-popover .mud-list-item-text,
.nexora-lookup-select-popover .mud-typography {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Emiray Yönetici Özeti Round H kaynak değerlerinden türetilen merkezi görünüm. */
body {
    background: var(--nexora-bg);
    color: var(--nexora-text-primary);
    -webkit-font-smoothing: antialiased;
}

.mud-button-root {
    min-height: 36px;
    border-radius: var(--nexora-radius-sm) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.mud-input-control .mud-input-outlined-border,
.mud-input-control .mud-input-root,
.mud-select .mud-input-outlined-border {
    border-color: var(--nexora-border) !important;
    border-radius: var(--nexora-radius-sm) !important;
}

.mud-input-control:focus-within .mud-input-outlined-border {
    border-color: var(--nexora-primary) !important;
    box-shadow: 0 0 0 2px #e8f0fc;
}

.mud-table-root {
    color: var(--nexora-text-primary);
    font-size: 12.6px;
}

.mud-table-head .mud-table-cell {
    color: var(--nexora-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* Column options are not used in Nexora; keep the separate filter control visible. */
.mud-data-grid .mud-table-cell .column-header .column-options .mud-menu {
    display: none;
}

.mud-table-cell {
    padding: 9px 10px;
    border-color: var(--nexora-border) !important;
}

.mud-table-body .mud-table-row:hover .mud-table-cell {
    background: #fbe9e9 !important;
}

.mud-tabs-tabbar {
    border-bottom: 1px solid var(--nexora-border);
}

.mud-tab {
    min-height: 42px;
    padding: 10px 16px;
    color: var(--nexora-text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.mud-dialog {
    border: 1px solid var(--nexora-border);
    border-radius: 16px !important;
    box-shadow: 0 28px 70px rgba(15,23,42,.5), 0 0 0 1px rgba(15,23,42,.06) !important;
}

.mud-dialog-title {
    padding: 16px 24px;
    border-bottom: 1px solid var(--nexora-border);
    font-size: 15.5px;
    font-weight: 700;
}

.mud-dialog-content {
    padding: 20px 24px;
}

/* Dashboard drill-down dialogs are rendered by MudBlazor outside the
   Dashboard page DOM, so the page's isolated CSS cannot reach them. Keep the
   reference presentation explicitly scoped to MasterDetailPopup instead of
   widening the global table/dialog rules. */
.mud-dialog-container:has(.exec-dashboard-modal) {
    box-sizing: border-box;
    padding: 26px;
}

.exec-dashboard-modal-backdrop {
    background: rgba(15, 23, 42, .62) !important;
}

.mud-dialog.exec-dashboard-modal {
    --exec-surface-2: #fafbfd;
    --exec-border: #e6e9ef;
    --exec-text: #0b0b0b;
    --exec-secondary: #52514e;
    --exec-muted: #898781;
    --exec-blue: #2a78d6;
    --exec-bad: #d03b3b;
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    max-height: 100%;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: var(--exec-text);
    background: #fff;
    border: 0;
    border-radius: 16px !important;
    box-shadow: 0 28px 70px rgba(15,23,42,.5), 0 0 0 1px rgba(15,23,42,.06) !important;
}

.exec-dashboard-modal .mud-dialog-title {
    flex: none;
    padding: 16px 24px;
    border-bottom: 1px solid var(--exec-border);
}

.exec-dashboard-modal .mud-dialog-content {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    overflow-y: auto;
}

.exec-dashboard-modal .exec-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.exec-dashboard-modal .exec-modal-title {
    min-width: 0;
    width: 100%;
    margin: 0 auto 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15.5px;
    font-weight: 700;
}

.exec-dashboard-modal .exec-modal-close {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #f2b8bd;
    border-radius: 50%;
    background: #fbe9e9;
    color: #a12424;
    cursor: pointer;
    font: 700 18px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    transition: background .12s ease, color .12s ease;
}

.exec-dashboard-modal .exec-modal-close:hover {
    background: var(--exec-bad);
    color: #fff;
    border-color: var(--exec-bad);
}

.exec-dashboard-modal .exec-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.exec-dashboard-modal table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 12.6px;
}

.exec-dashboard-modal th,
.exec-dashboard-modal td {
    padding: 9px 10px;
    text-align: left;
    border-bottom: 1px solid var(--exec-border);
    vertical-align: middle;
}

.exec-dashboard-modal th {
    color: var(--exec-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.exec-dashboard-modal th.num,
.exec-dashboard-modal td.num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.exec-dashboard-modal td.date {
    white-space: nowrap;
}

.exec-dashboard-modal td.truncate {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exec-dashboard-modal tbody tr.clickable {
    cursor: pointer;
}

.exec-dashboard-modal tbody tr:hover td {
    background: #fbe9e9;
}

.exec-dashboard-modal table tfoot td {
    background: var(--exec-surface-2);
    border-top: 2px solid var(--exec-border);
    font-weight: 700;
}

.exec-dashboard-modal .exec-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
    color: var(--exec-secondary);
    font-size: 12px;
}

.exec-dashboard-modal .exec-pagination span {
    white-space: nowrap;
}

.exec-dashboard-modal .exec-pagination button {
    flex: none;
    padding: 5px 9px;
    border: 1px solid var(--exec-border);
    border-radius: 6px;
    background: #fff;
    color: var(--exec-text);
    cursor: pointer;
    font: 12px -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    white-space: nowrap;
}

.exec-dashboard-modal .exec-pagination button:disabled {
    opacity: .5;
    cursor: default;
}

.exec-dashboard-modal .exec-subhead {
    margin: 16px 2px 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--exec-border);
    color: var(--exec-secondary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.exec-dashboard-modal .exec-sechint {
    margin: 2px 0 12px 2px;
    color: var(--exec-muted);
    font-size: 11.5px;
}

.exec-dashboard-modal .exec-detail-panel {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--exec-border);
    border-radius: 8px;
    background: var(--exec-surface-2);
}

.exec-dashboard-modal .exec-detail-panel > h4:not(.exec-subhead) {
    margin: 0 2px 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--exec-border);
    color: var(--exec-secondary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.exec-dashboard-modal .exec-info-note {
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--exec-border);
    border-radius: 8px;
    background: var(--exec-surface-2);
    color: var(--exec-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.exec-dashboard-modal .exec-detail-sub-2 { border-left: 3px solid var(--exec-border); }
.exec-dashboard-modal .exec-detail-sub-3 { border-left: 3px solid var(--exec-blue); }

@media (max-width: 768px) {
    .mud-dialog-container:has(.exec-dashboard-modal) { padding: 12px; }
    .exec-dashboard-modal .mud-dialog-title { padding: 12px 14px; }
    .exec-dashboard-modal .mud-dialog-content { padding: 14px; }
    .exec-dashboard-modal .exec-pagination { flex-wrap: wrap; }
}

.mud-popover,
.mud-menu {
    border: 1px solid var(--nexora-border);
    border-radius: var(--nexora-radius-sm) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.18) !important;
}

.nexora-surface-card,
.nexora-profile-card {
    background: var(--nexora-surface);
    border: 1px solid var(--nexora-border);
    border-radius: var(--nexora-radius);
    box-shadow: var(--nexora-shadow);
}

::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: var(--nexora-bg); }
::-webkit-scrollbar-thumb {
    background: #9cc0f2;
    border: 3px solid var(--nexora-bg);
    border-radius: 9px;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #4a3aa7; border-width: 2px; }
* { scrollbar-width: auto; scrollbar-color: #9cc0f2 var(--nexora-bg); }

.mud-paper.nexora-gradient-kpi {
    min-height: 112px;
    padding: 16px 18px;
    background: var(--nexora-surface) !important;
    border: 1px solid var(--nexora-border);
    border-radius: var(--nexora-radius);
    color: var(--nexora-text-primary);
    box-shadow: var(--nexora-shadow);
    transition: box-shadow .15s ease, transform .15s ease;
}

.mud-paper.nexora-gradient-kpi:hover {
    box-shadow: var(--nexora-shadow-hover);
    transform: translateY(-1px);
}

.nexora-gradient-kpi-label {
    color: var(--nexora-text-secondary) !important;
    font-size: 12px;
    font-weight: 600;
    opacity: 1;
}

.nexora-gradient-kpi-value {
    color: var(--nexora-text-primary) !important;
    margin-top: 4px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.4px;
}

.nexora-gradient-kpi-icon {
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 32px;
    color: var(--nexora-primary) !important;
    opacity: .18;
}
/* Above MudBlazor dialogs/popovers; the surface also becomes inert for keyboard input. */
.nexora-global-busy { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(242,244,248,.38); cursor: progress; pointer-events: auto; }
.nexora-global-busy-card { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 12px; background: var(--nexora-surface); box-shadow: var(--nexora-shadow); color: var(--nexora-text-primary); }
