:root {
    --topspot-red: #d91f2f;
    --topspot-red-dark: #a91421;
    --topspot-red-soft: rgba(217, 31, 47, 0.12);
    --topspot-black: #050505;
    --topspot-bg: #14171d;
    --topspot-panel: #1a2029;
    --topspot-panel-soft: #212936;
    --topspot-ink: #f8fafc;
    --topspot-muted: #9aa9bf;
    --topspot-border: #354150;
    color-scheme: dark;
}

html,
body {
    background: var(--topspot-bg) !important;
    color: var(--topspot-ink) !important;
}

.fi-body,
.fi-layout,
.fi-main,
.fi-main-ctn,
.fi-page {
    background: var(--topspot-bg) !important;
    color: var(--topspot-ink) !important;
}

.fi-topbar,
.fi-sidebar {
    background: #07090d !important;
    border-color: var(--topspot-border) !important;
}

.fi-sidebar-header,
.fi-topbar nav,
.fi-sidebar-nav,
.fi-sidebar-nav-groups,
.fi-sidebar-group,
.fi-sidebar-group-items,
.fi-sidebar-item,
aside nav {
    background: #07090d !important;
}

.fi-logo,
.fi-logo img,
.fi-logo svg,
.fi-sidebar-header img,
.fi-sidebar-header a img,
.fi-topbar-start img,
.fi-topbar [alt="Topspot"],
.fi-topbar [alt="Topspot Artist Cabinet"] {
    filter: brightness(0) invert(1) !important;
}

.fi-sidebar-nav a,
.fi-sidebar-nav button,
aside nav a,
aside nav button {
    min-height: 48px !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #ffffff !important;
    transition: background-color .16s ease, color .16s ease !important;
}

.fi-sidebar-nav a span,
.fi-sidebar-nav button span,
aside nav a span,
aside nav button span {
    color: #ffffff !important;
}

.fi-sidebar-nav svg,
aside nav svg {
    color: var(--topspot-red) !important;
}

.fi-sidebar-group-label,
.fi-sidebar-group button,
.fi-sidebar-group button span {
    color: var(--topspot-muted) !important;
}

.fi-sidebar-nav a:hover,
.fi-sidebar-nav button:hover,
aside nav a:hover,
aside nav button:hover {
    background: rgba(227, 6, 19, 0.16) !important;
    color: #ffffff !important;
}

.fi-sidebar-nav a[aria-current="page"],
.fi-sidebar-nav a.fi-active,
.fi-sidebar-nav button.fi-active,
.fi-sidebar-item.fi-active > a,
.fi-sidebar-item.fi-active > button,
aside nav a[aria-current="page"],
aside nav a.fi-active,
aside nav button.fi-active,
aside nav .fi-sidebar-item.fi-active > a,
aside nav .fi-sidebar-item.fi-active > button {
    background: transparent !important;
    color: #ffffff !important;
}

.fi-sidebar-nav a[aria-current="page"] span,
.fi-sidebar-nav .fi-active span,
aside nav a[aria-current="page"] span,
aside nav .fi-active span {
    color: #ffffff !important;
}

.fi-sidebar-nav a[aria-current="page"] svg,
.fi-sidebar-nav .fi-active svg,
aside nav a[aria-current="page"] svg,
aside nav .fi-active svg,
.fi-sidebar-nav a:hover svg,
.fi-sidebar-nav button:hover svg {
    color: var(--topspot-red) !important;
}

.fi-btn-color-primary,
.fi-btn-color-warning,
.fi-ac-btn-action.fi-color-primary,
.fi-ac-btn-action.fi-color-warning {
    background: var(--topspot-red) !important;
    border-color: var(--topspot-red) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(227, 6, 19, 0.18) !important;
}

.fi-btn-color-primary:hover,
.fi-btn-color-warning:hover,
.fi-ac-btn-action.fi-color-primary:hover,
.fi-ac-btn-action.fi-color-warning:hover {
    background: var(--topspot-red-dark) !important;
    border-color: var(--topspot-red-dark) !important;
}

.fi-btn-color-gray {
    border-color: var(--topspot-border) !important;
    background: var(--topspot-panel-soft) !important;
    color: var(--topspot-ink) !important;
}

.fi-link,
a.fi-link,
.fi-ac-action,
.fi-table-cell a,
.fi-breadcrumbs a {
    color: var(--topspot-red) !important;
}

.fi-input-wrp:focus-within,
.fi-select-input:focus,
.fi-textarea:focus,
.fi-input:focus {
    border-color: rgba(227, 6, 19, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.10) !important;
}

.fi-checkbox-input:checked,
.fi-radio-input:checked {
    background-color: var(--topspot-red) !important;
    border-color: var(--topspot-red) !important;
}

.fi-tabs-item-active,
.fi-tabs-item[aria-selected="true"] {
    color: var(--topspot-red) !important;
}

.fi-tabs-item-active::after,
.fi-tabs-item[aria-selected="true"]::after {
    background: var(--topspot-red) !important;
}

.fi-badge-color-warning,
.fi-badge-color-primary {
    background: var(--topspot-red-soft) !important;
    color: var(--topspot-red-dark) !important;
}

body .fi-wi-stats-overview-stat,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat .fi-wi-stats-overview-stat-content {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

body .fi-wi-stats-overview-stat {
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28) !important;
}

body .fi-wi-stats-overview-stat-label,
body .fi-wi-stats-overview-stat-description {
    color: var(--topspot-muted) !important;
}

body .fi-wi-stats-overview-stat-value {
    color: #ffffff !important;
}

.fi-section,
.fi-wi-widget,
.fi-ta-ctn,
.fi-in-entry-wrp,
.fi-fo-field-wrp {
    border-radius: 10px !important;
}

.fi-section,
.fi-wi-widget,
.fi-ta-ctn {
    border-color: var(--topspot-border) !important;
    background: var(--topspot-panel) !important;
    color: var(--topspot-ink) !important;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28) !important;
}

.fi-global-search-field .fi-input-wrp {
    border-color: var(--topspot-border) !important;
}

.fi-user-menu-trigger {
    background: var(--topspot-black) !important;
    color: #ffffff !important;
}

.topspot-rate,
.topspot-currency-rate,
[class*="ts-topbar-rate"],
[class*="currency-rate"] {
    border-color: rgba(227, 6, 19, 0.22) !important;
    background: var(--topspot-panel) !important;
    color: var(--topspot-ink) !important;
}

.topspot-rate strong,
.topspot-currency-rate strong,
[class*="ts-topbar-rate"] strong,
[class*="currency-rate"] strong,
[class*="currency-rate"] b {
    color: var(--topspot-red) !important;
}

[class*="ts-topbar-rate"] span {
    color: var(--topspot-muted) !important;
}

.fi-page h1,
.fi-page h2,
.fi-page h3,
.fi-page .fi-header-heading,
.fi-section-header-heading,
.fi-wi-stats-overview-stat-value,
.fi-ta-header-heading,
.fi-ta-text,
.fi-in-text,
.fi-fo-field-wrp-label,
.fi-fo-field-wrp-label span,
.fi-breadcrumbs li,
.fi-breadcrumbs span {
    color: var(--topspot-ink) !important;
}

.fi-page p,
.fi-page small,
.fi-section-header-description,
.fi-wi-stats-overview-stat-description,
.fi-ta-empty-state-description,
.fi-fo-field-wrp-helper-text {
    color: var(--topspot-muted) !important;
}

.fi-input-wrp,
.fi-select-input,
.fi-textarea,
.fi-input,
.fi-global-search-field .fi-input-wrp {
    background: #0a0f16 !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

.fi-input,
.fi-select-input,
.fi-textarea,
.fi-input::placeholder {
    color: var(--topspot-ink) !important;
}

.fi-input::placeholder,
.fi-global-search-field input::placeholder {
    color: #6b7280 !important;
}

.fi-ta-table,
.fi-ta-table thead,
.fi-ta-table tbody,
.fi-ta-table tr,
.fi-ta-row,
.fi-ta-cell,
.fi-ta-header,
.fi-ta-footer {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

.fi-ta-table th,
.fi-ta-table td {
    border-color: var(--topspot-border) !important;
}

.fi-ta-header-cell-label,
.fi-ta-text,
.fi-ta-text-item-label {
    color: var(--topspot-ink) !important;
}

.fi-modal-window,
.fi-modal-header,
.fi-modal-content,
.fi-modal-footer,
.fi-dropdown-panel {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

.fi-tabs,
.fi-tabs-item {
    background: transparent !important;
    color: var(--topspot-muted) !important;
}

.fi-tabs-item-active,
.fi-tabs-item[aria-selected="true"] {
    color: #ffffff !important;
}

.fi-badge {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.fi-badge-color-success {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}

.fi-badge-color-info {
    background: rgba(59, 130, 246, 0.14) !important;
    color: #93c5fd !important;
}

.fi-badge-color-gray {
    background: rgba(148, 163, 184, 0.12) !important;
    color: #cbd5e1 !important;
}

/* Custom TopSpot pages */
body .finance-hero,
body .finance-card,
body .finance-panel,
body .finance-upload,
body .finance-table th,
body .artist-home-panel,
body .artist-home-stat,
body .artist-home-list,
body .artist-home-profile,
body .artist-home-button,
body .artist-home-link,
body .artist-home-pill,
body .artist-home-warning,
body .documents-card,
body .documents-panel,
body .documents-section,
body .documents-row,
body .documents-item,
body .document-card,
body .document-panel,
body .integration-card,
body .integration-panel,
body .integration-box,
body .settings-card,
body .settings-panel,
body .notification-card,
body .notification-item,
body .cabinet-card,
body .cabinet-panel,
body .profile-card,
body .profile-panel,
body .ts-card,
body .ts-panel,
body .ts-ops-card,
body .ts-ops-panel {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
}

body .finance-page,
body .artist-home,
body .documents-page,
body .integrations-page,
body .settings-page,
body .notifications-page,
body .cabinet-profile,
body .artist-profile {
    background: transparent !important;
    color: var(--topspot-ink) !important;
}

body .finance-title,
body .finance-panel-title,
body .finance-card-value,
body .finance-table,
body .artist-home-title,
body .artist-home-user-name,
body .artist-home-profile-name,
body .artist-home-line strong,
body .artist-home-stat-value,
body .artist-home-list-title,
body .artist-home-item-title,
body .documents-title,
body .documents-card-title,
body .integration-title,
body .settings-title,
body .notification-title,
body .cabinet-title,
body .profile-title {
    color: var(--topspot-ink) !important;
}

body .ts-ops-value,
body .ts-ops-panel-head h3,
body .ts-ops-row strong,
body .ts-ops-import strong {
    color: #ffffff !important;
}

body .finance-subtitle,
body .finance-card-label,
body .finance-muted,
body .finance-empty,
body .finance-table th,
body .artist-home-kicker,
body .artist-home-user-role,
body .artist-home-line,
body .artist-home-stat-label,
body .artist-home-item-sub,
body .artist-home-empty,
body .documents-muted,
body .integration-muted,
body .settings-muted,
body .notification-muted,
body .cabinet-muted,
body .profile-muted {
    color: var(--topspot-muted) !important;
}

body .ts-ops-label,
body .ts-ops-row span,
body .ts-ops-import span,
body .ts-ops-empty {
    color: var(--topspot-muted) !important;
}

body .ts-ops-row,
body .ts-ops-import {
    border-color: var(--topspot-border) !important;
}

body .ts-ops-icon {
    background: rgba(227, 6, 19, 0.14) !important;
    color: #fca5a5 !important;
}

body .ts-ops-panel-head a {
    color: var(--topspot-red) !important;
}

body .ts-ops-import em {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}

body .finance-upload select,
body .finance-upload input,
body .finance-field select,
body .finance-field input,
body .finance-field textarea,
body .integration-card input,
body .integration-card select,
body .integration-card textarea,
body .settings-card input,
body .settings-card select,
body .settings-card textarea,
body .documents-card input,
body .documents-card select,
body .documents-card textarea {
    background: #0a0f16 !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

body .finance-table th,
body .finance-table td,
body .artist-home-item,
body .artist-home-lines {
    border-color: var(--topspot-border) !important;
}

body .finance-status,
body .artist-home-pill {
    background: var(--topspot-panel-soft) !important;
    color: #cbd5e1 !important;
    border-color: var(--topspot-border) !important;
}

body .finance-status.processed,
body .artist-home-badge {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}

body .finance-status.failed {
    background: rgba(239, 68, 68, 0.16) !important;
    color: #fca5a5 !important;
}

body .finance-status.processing,
body .finance-status.queued,
body .artist-home-badge.waiting {
    background: rgba(227, 6, 19, 0.14) !important;
    color: #fca5a5 !important;
}

body .artist-home-stat-icon {
    background: rgba(227, 6, 19, 0.14) !important;
    color: #fca5a5 !important;
}

body .artist-home-stat-go,
body .artist-home-kicker strong {
    color: var(--topspot-red) !important;
}

body .finance-flash {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.32) !important;
    color: #86efac !important;
}

body .fi-page [style*="background:#fff"],
body .fi-page [style*="background: #fff"],
body .fi-page [style*="background:#f8"],
body .fi-page [style*="background: #f8"],
body .fi-page [style*="background:#fafafa"],
body .fi-page [style*="background: #fafafa"],
body .fi-page [style*="background:#f3f4f6"],
body .fi-page [style*="background: #f3f4f6"],
body .fi-page [style*="background:#fff7ed"],
body .fi-page [style*="background: #fff7ed"],
body .fi-page [style*="background:#fef2f2"],
body .fi-page [style*="background: #fef2f2"],
body .fi-page [style*="background:#f0fdf4"],
body .fi-page [style*="background: #f0fdf4"] {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

body .fi-page [style*="color:#0f172a"],
body .fi-page [style*="color: #0f172a"],
body .fi-page [style*="color:#111827"],
body .fi-page [style*="color: #111827"],
body .fi-page [style*="color:#374151"],
body .fi-page [style*="color: #374151"] {
    color: var(--topspot-ink) !important;
}

body .fi-page [style*="color:#6b7280"],
body .fi-page [style*="color: #6b7280"],
body .fi-page [style*="color:#64748b"],
body .fi-page [style*="color: #64748b"],
body .fi-page [style*="color:#475569"],
body .fi-page [style*="color: #475569"] {
    color: var(--topspot-muted) !important;
}

/* Dark theme contrast hardening for Filament internals. */
body .fi-sidebar,
body .fi-sidebar-nav,
body .fi-sidebar-nav-groups,
body .fi-sidebar-nav-items,
body .fi-sidebar-group,
body .fi-sidebar-group-content {
    background: #05070a !important;
}

body .fi-sidebar-nav a,
body .fi-sidebar-nav button,
body .fi-sidebar-nav a *,
body .fi-sidebar-nav button *,
body aside nav a,
body aside nav button,
body aside nav a *,
body aside nav button *,
body .fi-sidebar-group-label,
body .fi-sidebar-group button,
body .fi-sidebar-group button *,
body .fi-sidebar-item-label {
    color: #ffffff !important;
    opacity: 1 !important;
}

body .fi-sidebar-nav svg,
body aside nav svg,
body .fi-sidebar-group svg {
    color: var(--topspot-red) !important;
    opacity: 1 !important;
}

body .fi-sidebar-nav a:hover,
body .fi-sidebar-nav button:hover,
body aside nav a:hover,
body aside nav button:hover,
body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav button[aria-current="page"],
body aside nav a[aria-current="page"],
body aside nav button[aria-current="page"] {
    background: rgba(227, 6, 19, 0.14) !important;
    color: #ffffff !important;
}

body .fi-sidebar-item-badge,
body .fi-sidebar-nav .fi-badge,
body aside nav .fi-badge,
body .fi-sidebar .fi-badge {
    min-width: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(227, 6, 19, 0.55) !important;
    color: var(--topspot-red) !important;
    box-shadow: 0 0 0 1px rgba(227, 6, 19, 0.18), 0 8px 18px rgba(227, 6, 19, 0.16) !important;
    opacity: 1 !important;
}

body .fi-sidebar-item-badge *,
body .fi-sidebar-nav .fi-badge *,
body aside nav .fi-badge *,
body .fi-sidebar .fi-badge * {
    color: var(--topspot-red) !important;
    opacity: 1 !important;
}

body .fi-layout,
body .fi-main,
body .fi-page,
body .fi-page-content,
body .fi-simple-layout,
body .fi-simple-main {
    background: #05070a !important;
    color: var(--topspot-ink) !important;
}

body .fi-layout .text-black,
body .fi-layout .text-gray-950,
body .fi-layout .text-gray-900,
body .fi-layout .text-gray-800,
body .fi-layout .dark\:text-white,
body .fi-layout .dark\:text-gray-50,
body .fi-page .text-black,
body .fi-page .text-gray-950,
body .fi-page .text-gray-900,
body .fi-page .text-gray-800,
body .fi-section .text-black,
body .fi-section .text-gray-950,
body .fi-section .text-gray-900,
body .fi-section .text-gray-800 {
    color: var(--topspot-ink) !important;
}

body .fi-layout .text-gray-700,
body .fi-layout .text-gray-600,
body .fi-layout .text-gray-500,
body .fi-layout .text-gray-400,
body .fi-page .text-gray-700,
body .fi-page .text-gray-600,
body .fi-page .text-gray-500,
body .fi-page .text-gray-400,
body .fi-section .text-gray-700,
body .fi-section .text-gray-600,
body .fi-section .text-gray-500,
body .fi-section .text-gray-400 {
    color: var(--topspot-muted) !important;
}

body .fi-layout .bg-white,
body .fi-layout .bg-gray-50,
body .fi-layout .bg-gray-100,
body .fi-page .bg-white,
body .fi-page .bg-gray-50,
body .fi-page .bg-gray-100,
body .fi-section .bg-white,
body .fi-section .bg-gray-50,
body .fi-section .bg-gray-100 {
    background-color: var(--topspot-panel) !important;
}

body .fi-ta-ctn,
body .fi-ta-content,
body .fi-ta-table,
body .fi-ta-table thead,
body .fi-ta-table tbody,
body .fi-ta-table tfoot,
body .fi-ta-table tr,
body .fi-ta-header,
body .fi-ta-footer,
body .fi-ta-row {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

body .fi-ta-ctn th,
body .fi-ta-ctn td,
body .fi-ta-ctn th *,
body .fi-ta-ctn td *,
body .fi-ta-cell,
body .fi-ta-cell *,
body .fi-ta-header-cell,
body .fi-ta-header-cell *,
body .fi-ta-text,
body .fi-ta-text *,
body .fi-ta-empty-state,
body .fi-ta-empty-state *,
body .fi-ta-pagination,
body .fi-ta-pagination *,
body .fi-pagination,
body .fi-pagination * {
    color: var(--topspot-ink) !important;
    opacity: 1 !important;
}

body .fi-ta-ctn th,
body .fi-ta-ctn th *,
body .fi-ta-header-cell-label,
body .fi-ta-header-cell-label * {
    color: #cbd5e1 !important;
}

body .fi-ta-ctn td,
body .fi-ta-ctn td * {
    color: #ffffff !important;
}

body .fi-ta-ctn a,
body .fi-ta-ctn a *,
body .fi-ta-ctn .fi-link,
body .fi-ta-ctn .fi-link *,
body .fi-ta-ctn .fi-ac-action,
body .fi-ta-ctn .fi-ac-action * {
    color: #ff3340 !important;
}

body .fi-ta-ctn .fi-badge,
body .fi-ta-ctn .fi-badge * {
    color: inherit !important;
}

/* Softer dark polish: red is an accent, not body text. */
body .fi-btn-color-primary,
body .fi-btn-color-warning,
body .fi-ac-btn-action.fi-color-primary,
body .fi-ac-btn-action.fi-color-warning,
body .admin-button.primary,
body .integration-button.primary {
    background: linear-gradient(135deg, #d91f2f 0%, #b81220 100%) !important;
    border-color: rgba(248, 113, 113, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(217, 31, 47, 0.16) !important;
}

body .fi-btn-color-primary:hover,
body .fi-btn-color-warning:hover,
body .fi-ac-btn-action.fi-color-primary:hover,
body .fi-ac-btn-action.fi-color-warning:hover,
body .admin-button.primary:hover,
body .integration-button.primary:hover {
    background: linear-gradient(135deg, #ef3445 0%, #c91a2b 100%) !important;
    box-shadow: 0 14px 32px rgba(217, 31, 47, 0.22) !important;
}

body .fi-breadcrumbs a,
body .fi-ta-ctn a,
body .fi-ta-ctn a *,
body .fi-ta-ctn .fi-link,
body .fi-ta-ctn .fi-link * {
    color: #e5edf7 !important;
}

body .fi-breadcrumbs a:hover,
body .fi-ta-ctn a:hover,
body .fi-ta-ctn a:hover * {
    color: #ffffff !important;
}

body .fi-ta-ctn .fi-ac-action,
body .fi-ta-ctn .fi-ac-action *,
body .fi-ta-ctn .fi-color-danger,
body .fi-ta-ctn .fi-color-danger *,
body .fi-ta-ctn .fi-color-warning,
body .fi-ta-ctn .fi-color-warning * {
    color: #f87171 !important;
}

body .fi-ta-ctn .fi-badge,
body .fi-ta-ctn .fi-badge *,
body .fi-ta-ctn .fi-badge-color-success,
body .fi-ta-ctn .fi-badge-color-success *,
body .fi-ta-ctn .fi-badge-color-gray,
body .fi-ta-ctn .fi-badge-color-gray *,
body .fi-ta-ctn .fi-badge-color-info,
body .fi-ta-ctn .fi-badge-color-info *,
body .fi-ta-ctn .fi-badge-color-warning,
body .fi-ta-ctn .fi-badge-color-warning * {
    color: inherit !important;
}

body .fi-ta-ctn .fi-badge-color-success {
    background: rgba(34, 197, 94, 0.13) !important;
    color: #86efac !important;
    border: 1px solid rgba(34, 197, 94, 0.24) !important;
}

body .fi-ta-ctn .fi-badge-color-gray {
    background: rgba(148, 163, 184, 0.13) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
}

body .fi-ta-ctn .fi-badge-color-warning,
body .fi-ta-ctn .fi-badge-color-danger,
body .fi-ta-ctn .fi-badge-color-primary {
    background: rgba(217, 31, 47, 0.1) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(217, 31, 47, 0.24) !important;
}

body .fi-ta-ctn .fi-badge:not(.fi-badge-color-success):not(.fi-badge-color-info):not(.fi-badge-color-warning):not(.fi-badge-color-danger):not(.fi-badge-color-primary):not(.fi-badge-color-gray),
body .fi-ta-ctn .fi-badge:not(.fi-badge-color-success):not(.fi-badge-color-info):not(.fi-badge-color-warning):not(.fi-badge-color-danger):not(.fi-badge-color-primary):not(.fi-badge-color-gray) * {
    background: #fff3f3 !important;
    color: #7f1d1d !important;
    border-color: rgba(217, 31, 47, 0.22) !important;
}

body .fi-ta-ctn .fi-badge[class*="bg-white"],
body .fi-ta-ctn .fi-badge[class*="bg-gray"],
body .fi-ta-ctn .fi-badge[class*="bg-red"],
body .fi-ta-ctn .fi-badge[class*="bg-rose"],
body .fi-ta-ctn .fi-badge[class*="bg-orange"],
body .fi-ta-ctn .fi-badge[class*="bg-yellow"] {
    color: #7f1d1d !important;
}

body .fi-ta-ctn .fi-badge[class*="bg-white"] *,
body .fi-ta-ctn .fi-badge[class*="bg-gray"] *,
body .fi-ta-ctn .fi-badge[class*="bg-red"] *,
body .fi-ta-ctn .fi-badge[class*="bg-rose"] *,
body .fi-ta-ctn .fi-badge[class*="bg-orange"] *,
body .fi-ta-ctn .fi-badge[class*="bg-yellow"] * {
    color: #7f1d1d !important;
}

body .fi-ta-ctn .fi-checkbox-input,
body .fi-ta-ctn input[type="checkbox"] {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body .admin-docs-panel,
body .admin-docs-head,
body .admin-upload-form,
body .admin-docs-table,
body .admin-docs-table thead,
body .admin-docs-table tbody,
body .admin-docs-table tr,
body .integration-panel,
body .integration-head,
body .integration-body,
body .integration-actions,
body .integration-hint,
body .settings-hero,
body .settings-card {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
    box-shadow: none !important;
}

body .admin-docs-table th,
body .admin-docs-table td {
    background: var(--topspot-panel) !important;
    border-color: var(--topspot-border) !important;
    color: var(--topspot-ink) !important;
}

body .admin-docs-table th,
body .admin-docs-muted,
body .admin-field label,
body .integration-note,
body .integration-small,
body .integration-label,
body .integration-toggle,
body .settings-subtitle,
body .settings-card-text {
    color: var(--topspot-muted) !important;
}

body .admin-docs-title,
body .integration-title,
body .settings-title,
body .settings-card-title {
    color: #ffffff !important;
}

body .admin-input,
body .integration-input,
body .integration-textarea,
body .integration-select,
body .settings-card input,
body .settings-card select,
body .settings-card textarea {
    background: #090e15 !important;
    border-color: #334155 !important;
    color: #ffffff !important;
}

body .admin-input::placeholder,
body .integration-input::placeholder,
body .integration-textarea::placeholder {
    color: #6f8095 !important;
}

body .admin-button,
body .admin-link,
body .integration-button,
body .integration-link {
    background: #111824 !important;
    border-color: #334155 !important;
    color: #e5edf7 !important;
}

body .admin-button.verify,
body .admin-status.verified,
body .integration-status {
    background: rgba(34, 197, 94, 0.13) !important;
    border-color: rgba(34, 197, 94, 0.28) !important;
    color: #86efac !important;
}

body .admin-button.reject,
body .admin-button.delete,
body .admin-status.rejected,
body .integration-error {
    background: rgba(217, 31, 47, 0.1) !important;
    border-color: rgba(217, 31, 47, 0.26) !important;
    color: #fca5a5 !important;
}

body .settings-icon {
    background: rgba(217, 31, 47, 0.12) !important;
    color: #fca5a5 !important;
}

body .settings-card:hover {
    border-color: rgba(248, 113, 113, 0.5) !important;
    background: #101722 !important;
}

body .settings-link,
body .ts-ops-panel-head a,
body .artist-home-stat-go,
body .artist-home-kicker strong {
    color: #f87171 !important;
}

body .fi-table-cell a,
body .fi-table-cell a *,
body .fi-table-cell .fi-link,
body .fi-table-cell .fi-link * {
    color: #e5edf7 !important;
}

body .fi-table-cell a:hover,
body .fi-table-cell a:hover * {
    color: #ffffff !important;
}

body .fi-table-cell .fi-ac-action,
body .fi-table-cell .fi-ac-action *,
body .fi-table-cell .fi-color-danger,
body .fi-table-cell .fi-color-danger *,
body .fi-table-cell .fi-color-warning,
body .fi-table-cell .fi-color-warning * {
    color: #f87171 !important;
}

/* Graphite depth pass: keep dark UI, remove pure-black heaviness. */
body,
html,
body .fi-body,
body .fi-layout,
body .fi-main,
body .fi-main-ctn,
body .fi-page,
body .fi-page-content,
body .fi-simple-layout,
body .fi-simple-main {
    background: #171a20 !important;
}

body .fi-topbar,
body .fi-topbar nav,
body .fi-sidebar,
body .fi-sidebar-header,
body .fi-sidebar-nav,
body .fi-sidebar-nav-groups,
body .fi-sidebar-group,
body .fi-sidebar-group-items,
body .fi-sidebar-item,
body .fi-sidebar-group-content,
body aside,
body aside nav {
    background: #15181e !important;
}

body .fi-main {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.03) !important;
}

body .fi-section,
body .fi-wi-widget,
body .fi-ta-ctn,
body .fi-wi-stats-overview-stat,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat .fi-wi-stats-overview-stat-content,
body .fi-modal-window,
body .fi-modal-header,
body .fi-modal-content,
body .fi-modal-footer,
body .fi-dropdown-panel,
body .ts-ops-panel,
body .admin-docs-panel,
body .admin-docs-head,
body .admin-upload-form,
body .admin-docs-table,
body .admin-docs-table thead,
body .admin-docs-table tbody,
body .admin-docs-table tr,
body .integration-panel,
body .integration-head,
body .integration-body,
body .integration-actions,
body .integration-hint,
body .settings-hero,
body .settings-card {
    background: #1e2631 !important;
    border-color: #3a4656 !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18) !important;
}

body .fi-ta-content,
body .fi-ta-table,
body .fi-ta-table thead,
body .fi-ta-table tbody,
body .fi-ta-table tfoot,
body .fi-ta-table tr,
body .fi-ta-header,
body .fi-ta-footer,
body .fi-ta-row,
body .admin-docs-table th,
body .admin-docs-table td {
    background: #1e2631 !important;
    border-color: #3a4656 !important;
}

body .fi-ta-table tbody tr:hover,
body .fi-ta-row:hover,
body .settings-card:hover {
    background: #232c38 !important;
}

body .fi-input-wrp,
body .fi-select-input,
body .fi-textarea,
body .fi-input,
body .fi-global-search-field .fi-input-wrp,
body .admin-input,
body .integration-input,
body .integration-textarea,
body .integration-select,
body .settings-card input,
body .settings-card select,
body .settings-card textarea {
    background: #242d3a !important;
    border-color: #465566 !important;
    color: #f8fafc !important;
}

body .topspot-rate,
body .topspot-currency-rate,
body [class*="ts-topbar-rate"],
body [class*="currency-rate"] {
    background: #1e2631 !important;
    border-color: rgba(217, 31, 47, 0.28) !important;
}

body .fi-sidebar-nav a:hover,
body .fi-sidebar-nav button:hover,
body aside nav a:hover,
body aside nav button:hover,
body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav button[aria-current="page"],
body aside nav a[aria-current="page"],
body aside nav button[aria-current="page"] {
    background: rgba(217, 31, 47, 0.1) !important;
}

/* Human polish pass: calmer typography and less template-like outlines. */
body,
body .fi-layout,
body .fi-page,
body .fi-sidebar,
body .fi-topbar,
body .fi-section,
body .fi-ta-ctn,
body .fi-wi-widget,
body .admin-docs,
body .integrations,
body .settings-hub {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    letter-spacing: 0 !important;
}

body .fi-header-heading,
body .fi-page h1,
body .fi-page h2,
body .fi-page h3,
body .fi-section-header-heading,
body .fi-ta-header-heading,
body .admin-docs-title,
body .integration-title,
body .settings-title,
body .settings-card-title {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 760 !important;
    letter-spacing: -0.01em !important;
}

body .fi-sidebar-nav a,
body .fi-sidebar-nav button,
body aside nav a,
body aside nav button,
body .fi-ta-ctn,
body .fi-ta-ctn *,
body .admin-docs,
body .admin-docs *,
body .integrations,
body .integrations *,
body .settings-hub,
body .settings-hub * {
    font-weight: 500 !important;
}

body .fi-sidebar-nav a span,
body .fi-sidebar-nav button span,
body aside nav a span,
body aside nav button span,
body .fi-ta-ctn th *,
body .fi-ta-ctn .fi-ta-header-cell-label *,
body .admin-docs-table th,
body .integration-label,
body .admin-field label {
    font-weight: 600 !important;
}

body .fi-section,
body .fi-wi-widget,
body .fi-ta-ctn,
body .fi-wi-stats-overview-stat,
body .fi-modal-window,
body .fi-dropdown-panel,
body .admin-docs-panel,
body .integration-panel,
body .settings-hero,
body .settings-card {
    border-color: #303844 !important;
    border-radius: 9px !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14) !important;
}

body .fi-ta-table th,
body .fi-ta-table td,
body .fi-ta-ctn th,
body .fi-ta-ctn td,
body .admin-docs-table th,
body .admin-docs-table td {
    border-color: #2c3541 !important;
}

body .fi-input-wrp,
body .fi-select-input,
body .fi-textarea,
body .fi-input,
body .admin-input,
body .integration-input,
body .integration-textarea,
body .integration-select {
    border-color: #3a4350 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

body .fi-input-wrp:focus-within,
body .fi-select-input:focus,
body .fi-textarea:focus,
body .fi-input:focus,
body .admin-input:focus,
body .integration-input:focus,
body .integration-textarea:focus,
body .integration-select:focus {
    border-color: #6b7788 !important;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.18) !important;
}

body .fi-btn-color-primary,
body .fi-btn-color-warning,
body .fi-ac-btn-action.fi-color-primary,
body .fi-ac-btn-action.fi-color-warning,
body .admin-button.primary,
body .integration-button.primary {
    background: #c91f2e !important;
    border-color: #d74450 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 20px rgba(201, 31, 46, 0.16) !important;
    font-weight: 650 !important;
}

body .fi-btn-color-primary:hover,
body .fi-btn-color-warning:hover,
body .fi-ac-btn-action.fi-color-primary:hover,
body .fi-ac-btn-action.fi-color-warning:hover,
body .admin-button.primary:hover,
body .integration-button.primary:hover {
    background: #b71b28 !important;
    border-color: #e05560 !important;
}

body .admin-button,
body .admin-link,
body .integration-button,
body .integration-link,
body .fi-btn-color-gray {
    border-color: #3a4350 !important;
    background: #202733 !important;
    color: #edf2f7 !important;
    box-shadow: none !important;
    font-weight: 650 !important;
}

body,
html,
body .fi-body,
body .fi-layout,
body .fi-main,
body .fi-main-ctn,
body .fi-page,
body .fi-page-content {
    background: #202227 !important;
    color: #eef2f6 !important;
}

body .fi-main {
    padding-top: 0 !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 220px),
        #202227 !important;
}

body .fi-topbar {
    min-height: 68px !important;
    background: rgba(27, 29, 34, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}

body .fi-sidebar,
body .fi-sidebar-header,
body .fi-sidebar-nav,
body .fi-sidebar-nav-groups,
body .fi-sidebar-group,
body .fi-sidebar-group-items,
body .fi-sidebar-group-content,
body aside,
body aside nav {
    background: #191b20 !important;
}

body .fi-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.055) !important;
}

body .fi-sidebar-nav a,
body .fi-sidebar-nav button,
body aside nav a,
body aside nav button {
    min-height: 42px !important;
    border-radius: 0 !important;
    border-left: 3px solid transparent !important;
    color: #d7dde5 !important;
    font-size: 14px !important;
    font-weight: 520 !important;
    background: transparent !important;
}

body .fi-sidebar-nav a span,
body .fi-sidebar-nav button span,
body aside nav a span,
body aside nav button span {
    color: #d7dde5 !important;
    font-weight: 520 !important;
}

body .fi-sidebar-nav svg,
body aside nav svg {
    color: #c7ced8 !important;
}

body .fi-sidebar-nav a:hover,
body .fi-sidebar-nav button:hover,
body aside nav a:hover,
body aside nav button:hover {
    background: rgba(255, 255, 255, 0.045) !important;
    border-left-color: rgba(196, 35, 47, 0.45) !important;
}

body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav button[aria-current="page"],
body aside nav a[aria-current="page"],
body aside nav button[aria-current="page"],
body .fi-sidebar-nav a.fi-active,
body .fi-sidebar-nav button.fi-active,
body .fi-sidebar-item.fi-active > a,
body .fi-sidebar-item.fi-active > button,
body aside nav a.fi-active,
body aside nav button.fi-active,
body aside nav .fi-sidebar-item.fi-active > a,
body aside nav .fi-sidebar-item.fi-active > button {
    background: rgba(196, 35, 47, 0.12) !important;
    border-left-color: #c4232f !important;
}

body .fi-sidebar-nav a[aria-current="page"] span,
body .fi-sidebar-nav button[aria-current="page"] span,
body aside nav a[aria-current="page"] span,
body aside nav button[aria-current="page"] span,
body .fi-sidebar-nav .fi-active span,
body aside nav .fi-active span {
    color: #ffffff !important;
}

body .fi-sidebar-nav a[aria-current="page"] svg,
body .fi-sidebar-nav button[aria-current="page"] svg,
body aside nav a[aria-current="page"] svg,
body aside nav button[aria-current="page"] svg,
body .fi-sidebar-nav .fi-active svg,
body aside nav .fi-active svg {
    color: #ffffff !important;
}

body .fi-sidebar-group-label,
body .fi-sidebar-group button,
body .fi-sidebar-group button span {
    color: #98a2b2 !important;
    font-size: 13px !important;
    font-weight: 520 !important;
}

body .fi-section,
body .fi-wi-widget,
body .fi-ta-ctn,
body .fi-wi-stats-overview-stat,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat .fi-wi-stats-overview-stat-content,
body .admin-docs-panel,
body .integration-panel,
body .settings-hero,
body .settings-card,
body .ts-ops-panel,
body .documents-card,
body .documents-panel,
body .document-card,
body .integration-card,
body .settings-card {
    background: #282c34 !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

body .fi-wi-stats-overview-stat {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0)),
        #282c34 !important;
}

body .fi-wi-stats-overview-stat-value,
body .fi-page h1,
body .fi-header-heading {
    color: #ffffff !important;
    font-size: clamp(26px, 2vw, 34px) !important;
    font-weight: 680 !important;
    letter-spacing: -0.025em !important;
}

body .fi-page h2,
body .fi-page h3,
body .fi-section-header-heading,
body .fi-ta-header-heading,
body .admin-docs-title,
body .integration-title,
body .settings-title,
body .settings-card-title {
    color: #f4f6f8 !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
}

body .fi-page p,
body .fi-page small,
body .fi-section-header-description,
body .fi-wi-stats-overview-stat-label,
body .fi-wi-stats-overview-stat-description,
body .fi-fo-field-wrp-helper-text,
body .admin-docs-muted,
body .integration-note,
body .integration-small,
body .settings-subtitle,
body .settings-card-text {
    color: #aab4c2 !important;
}

body .fi-ta-content,
body .fi-ta-table,
body .fi-ta-table thead,
body .fi-ta-table tbody,
body .fi-ta-table tfoot,
body .fi-ta-table tr,
body .fi-ta-header,
body .fi-ta-footer,
body .fi-ta-row,
body .admin-docs-head,
body .admin-upload-form,
body .admin-docs-table,
body .admin-docs-table thead,
body .admin-docs-table tbody,
body .admin-docs-table tr,
body .integration-head,
body .integration-body,
body .integration-actions {
    background: #282c34 !important;
    border-color: rgba(255, 255, 255, 0.075) !important;
}

body .fi-ta-table th,
body .fi-ta-table td,
body .fi-ta-ctn th,
body .fi-ta-ctn td,
body .admin-docs-table th,
body .admin-docs-table td {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    border-color: rgba(255, 255, 255, 0.075) !important;
}

body .fi-ta-ctn th,
body .fi-ta-ctn th *,
body .admin-docs-table th {
    color: #b8c2d0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body .fi-ta-ctn td,
body .fi-ta-ctn td *,
body .admin-docs-table td {
    color: #e8edf3 !important;
    font-size: 14px !important;
    font-weight: 480 !important;
}

body .fi-ta-table tbody tr:hover,
body .fi-ta-row:hover,
body .admin-docs-table tbody tr:hover {
    background: #2d323b !important;
}

body .fi-ta-ctn a,
body .fi-ta-ctn a *,
body .fi-table-cell a,
body .fi-table-cell a *,
body .admin-docs-table a,
body .admin-docs-table a * {
    color: #dfe5ec !important;
    text-decoration: none !important;
}

body .fi-ta-ctn .fi-ac-action,
body .fi-ta-ctn .fi-ac-action *,
body .fi-table-cell .fi-ac-action,
body .fi-table-cell .fi-ac-action *,
body .admin-actions a,
body .admin-actions button {
    color: #f0f3f7 !important;
}

body .fi-input-wrp,
body .fi-select-input,
body .fi-textarea,
body .fi-input,
body .fi-global-search-field .fi-input-wrp,
body .admin-input,
body .integration-input,
body .integration-textarea,
body .integration-select {
    background: #232730 !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    border-radius: 6px !important;
    color: #f4f6f8 !important;
}

body .fi-input-wrp:focus-within,
body .fi-select-input:focus,
body .fi-textarea:focus,
body .fi-input:focus,
body .admin-input:focus,
body .integration-input:focus,
body .integration-textarea:focus,
body .integration-select:focus {
    border-color: rgba(224, 231, 239, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(224, 231, 239, 0.22) !important;
}

body .fi-btn,
body .fi-ac-btn-action,
body .admin-button,
body .admin-link,
body .integration-button,
body .integration-link {
    min-height: 38px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 580 !important;
}

body .fi-btn-color-primary,
body .fi-btn-color-warning,
body .fi-ac-btn-action.fi-color-primary,
body .fi-ac-btn-action.fi-color-warning,
body .admin-button.primary,
body .integration-button.primary {
    background: #b92a33 !important;
    border-color: #c94a52 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body .fi-btn-color-primary:hover,
body .fi-btn-color-warning:hover,
body .fi-ac-btn-action.fi-color-primary:hover,
body .fi-ac-btn-action.fi-color-warning:hover,
body .admin-button.primary:hover,
body .integration-button.primary:hover {
    background: #a5232c !important;
    border-color: #d15b62 !important;
}

body .admin-button,
body .admin-link,
body .integration-button,
body .integration-link,
body .fi-btn-color-gray {
    background: #242933 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f0f3f7 !important;
}

body .fi-badge,
body .admin-status,
body .integration-status {
    border-radius: 999px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

body .fi-ta-ctn .fi-badge-color-success,
body .admin-status.verified,
body .integration-status {
    background: rgba(46, 125, 91, 0.22) !important;
    border-color: rgba(73, 168, 122, 0.28) !important;
    color: #a8e6c3 !important;
}

body .fi-ta-ctn .fi-badge-color-warning,
body .fi-ta-ctn .fi-badge-color-danger,
body .fi-ta-ctn .fi-badge-color-primary,
body .admin-button.reject,
body .admin-button.delete,
body .admin-status.rejected {
    background: rgba(185, 42, 51, 0.2) !important;
    border-color: rgba(201, 74, 82, 0.35) !important;
    color: #f3b4b8 !important;
}

body .fi-ta-ctn .fi-badge:not(.fi-badge-color-success):not(.fi-badge-color-info):not(.fi-badge-color-warning):not(.fi-badge-color-danger):not(.fi-badge-color-primary):not(.fi-badge-color-gray),
body .fi-ta-ctn .fi-badge:not(.fi-badge-color-success):not(.fi-badge-color-info):not(.fi-badge-color-warning):not(.fi-badge-color-danger):not(.fi-badge-color-primary):not(.fi-badge-color-gray) * {
    background: rgba(226, 232, 240, 0.12) !important;
    border-color: rgba(226, 232, 240, 0.18) !important;
    color: #e8edf3 !important;
}

body .topspot-rate,
body .topspot-currency-rate,
body [class*="ts-topbar-rate"],
body [class*="currency-rate"] {
    background: #242933 !important;
    border-color: rgba(255, 255, 255, 0.11) !important;
    color: #dfe5ec !important;
    border-radius: 7px !important;
}

body .topspot-rate strong,
body .topspot-currency-rate strong,
body [class*="ts-topbar-rate"] strong,
body [class*="currency-rate"] strong,
body [class*="currency-rate"] b {
    color: #e26d74 !important;
}

/* Premium graphite direction: refined surfaces, restrained accent, more air. */
body,
html {
    --premium-bg: #11141a;
    --premium-bg-soft: #151922;
    --premium-surface: #1b212b;
    --premium-surface-2: #202835;
    --premium-line: rgba(231, 236, 244, 0.085);
    --premium-line-strong: rgba(231, 236, 244, 0.14);
    --premium-text: #f5f7fa;
    --premium-muted: #a2adbb;
    --premium-red: #b72a37;
    --premium-red-soft: rgba(183, 42, 55, 0.16);
    background: var(--premium-bg) !important;
}

body,
body .fi-layout,
body .fi-page,
body .fi-main,
body .fi-main-ctn,
body .fi-page-content,
body .admin-docs,
body .integrations,
body .settings-hub {
    font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif !important;
    color: var(--premium-text) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body .fi-layout,
body .fi-main,
body .fi-main-ctn,
body .fi-page,
body .fi-page-content {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0) 180px),
        var(--premium-bg) !important;
}

body .fi-page {
    padding-left: clamp(22px, 2.4vw, 42px) !important;
    padding-right: clamp(22px, 2.4vw, 42px) !important;
}

body .fi-header-heading,
body .fi-page h1 {
    color: #ffffff !important;
    font-size: clamp(30px, 2.4vw, 42px) !important;
    line-height: 1.05 !important;
    font-weight: 720 !important;
    letter-spacing: -0.035em !important;
}

body .fi-page h2,
body .fi-page h3,
body .fi-section-header-heading,
body .fi-ta-header-heading,
body .admin-docs-title,
body .integration-title,
body .settings-title,
body .settings-card-title {
    color: #f7f8fa !important;
    font-weight: 680 !important;
    letter-spacing: -0.025em !important;
}

body .fi-topbar {
    min-height: 72px !important;
    background: rgba(17, 20, 26, 0.94) !important;
    border-bottom: 1px solid var(--premium-line) !important;
    backdrop-filter: blur(14px) saturate(130%) !important;
}

body .fi-sidebar,
body .fi-sidebar-header,
body .fi-sidebar-nav,
body .fi-sidebar-nav-groups,
body .fi-sidebar-group,
body .fi-sidebar-group-items,
body .fi-sidebar-group-content,
body aside,
body aside nav {
    background: #13161d !important;
}

body .fi-sidebar {
    border-right: 1px solid var(--premium-line) !important;
}

body .fi-logo,
body .fi-logo img,
body .fi-logo svg,
body .fi-sidebar-header img,
body .fi-sidebar-header a img {
    opacity: 0.96 !important;
}

body .fi-sidebar-nav a,
body .fi-sidebar-nav button,
body aside nav a,
body aside nav button {
    min-height: 46px !important;
    margin: 2px 14px !important;
    padding-left: 14px !important;
    border-radius: 10px !important;
    border-left: 0 !important;
    color: #d8dee8 !important;
    transition: background .18s ease, color .18s ease, transform .18s ease !important;
}

body .fi-sidebar-nav a span,
body .fi-sidebar-nav button span,
body aside nav a span,
body aside nav button span {
    color: #d8dee8 !important;
    font-size: 14px !important;
    font-weight: 560 !important;
}

body .fi-sidebar-nav svg,
body aside nav svg {
    color: #aeb6c3 !important;
}

body .fi-sidebar-nav a:hover,
body .fi-sidebar-nav button:hover,
body aside nav a:hover,
body aside nav button:hover {
    background: rgba(255, 255, 255, 0.055) !important;
    transform: translateX(1px) !important;
}

body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav button[aria-current="page"],
body aside nav a[aria-current="page"],
body aside nav button[aria-current="page"],
body .fi-sidebar-nav a.fi-active,
body .fi-sidebar-nav button.fi-active,
body .fi-sidebar-item.fi-active > a,
body .fi-sidebar-item.fi-active > button,
body aside nav a.fi-active,
body aside nav button.fi-active,
body aside nav .fi-sidebar-item.fi-active > a,
body aside nav .fi-sidebar-item.fi-active > button {
    background: linear-gradient(90deg, rgba(183, 42, 55, 0.24), rgba(183, 42, 55, 0.08)) !important;
    box-shadow: inset 3px 0 0 var(--premium-red) !important;
}

body .fi-sidebar-nav a[aria-current="page"] span,
body .fi-sidebar-nav button[aria-current="page"] span,
body aside nav a[aria-current="page"] span,
body aside nav button[aria-current="page"] span,
body .fi-sidebar-nav .fi-active span,
body aside nav .fi-active span,
body .fi-sidebar-nav a[aria-current="page"] svg,
body .fi-sidebar-nav button[aria-current="page"] svg,
body aside nav a[aria-current="page"] svg,
body aside nav button[aria-current="page"] svg {
    color: #ffffff !important;
}

body .fi-section,
body .fi-wi-widget,
body .fi-ta-ctn,
body .fi-wi-stats-overview-stat,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat .fi-wi-stats-overview-stat-content,
body .admin-docs-panel,
body .integration-panel,
body .settings-hero,
body .settings-card,
body .ts-ops-panel,
body .documents-card,
body .documents-panel,
body .document-card,
body .integration-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        var(--premium-surface) !important;
    border: 1px solid var(--premium-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24) !important;
}

body .fi-wi-stats-overview-stat {
    min-height: 132px !important;
    padding: 22px !important;
}

body .fi-wi-stats-overview-stat-label,
body .fi-wi-stats-overview-stat-description {
    color: var(--premium-muted) !important;
    font-size: 13px !important;
    font-weight: 520 !important;
}

body .fi-wi-stats-overview-stat-value {
    color: #ffffff !important;
    font-size: 30px !important;
    font-weight: 720 !important;
    letter-spacing: -0.03em !important;
}

body .fi-ta-ctn,
body .admin-docs-panel {
    overflow: hidden !important;
}

body .fi-ta-header,
body .fi-ta-footer,
body .fi-ta-content,
body .fi-ta-table,
body .fi-ta-table thead,
body .fi-ta-table tbody,
body .fi-ta-table tfoot,
body .fi-ta-table tr,
body .admin-docs-head,
body .admin-upload-form,
body .admin-docs-table,
body .admin-docs-table thead,
body .admin-docs-table tbody,
body .admin-docs-table tr,
body .integration-head,
body .integration-body,
body .integration-actions {
    background: transparent !important;
    border-color: var(--premium-line) !important;
}

body .fi-ta-table th,
body .fi-ta-table td,
body .fi-ta-ctn th,
body .fi-ta-ctn td,
body .admin-docs-table th,
body .admin-docs-table td {
    padding: 18px 20px !important;
    border-color: var(--premium-line) !important;
}

body .fi-ta-ctn th,
body .fi-ta-ctn th *,
body .admin-docs-table th {
    color: #aeb8c7 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: 0.01em !important;
}

body .fi-ta-ctn td,
body .fi-ta-ctn td *,
body .admin-docs-table td {
    color: #eef2f6 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

body .fi-ta-table tbody tr:hover,
body .fi-ta-row:hover,
body .admin-docs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035) !important;
}

body .fi-input-wrp,
body .fi-select-input,
body .fi-textarea,
body .fi-input,
body .fi-global-search-field .fi-input-wrp,
body .admin-input,
body .integration-input,
body .integration-textarea,
body .integration-select {
    min-height: 44px !important;
    background: rgba(12, 15, 20, 0.42) !important;
    border: 1px solid var(--premium-line-strong) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body .fi-input-wrp:focus-within,
body .fi-select-input:focus,
body .fi-textarea:focus,
body .fi-input:focus,
body .admin-input:focus,
body .integration-input:focus,
body .integration-textarea:focus,
body .integration-select:focus {
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body .fi-btn,
body .fi-ac-btn-action,
body .admin-button,
body .admin-link,
body .integration-button,
body .integration-link {
    min-height: 40px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 640 !important;
}

body .fi-btn-color-primary,
body .fi-btn-color-warning,
body .fi-ac-btn-action.fi-color-primary,
body .fi-ac-btn-action.fi-color-warning,
body .admin-button.primary,
body .integration-button.primary {
    background: linear-gradient(180deg, #c23a45, #a92531) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 34px rgba(183, 42, 55, 0.28) !important;
}

body .fi-btn-color-primary:hover,
body .fi-btn-color-warning:hover,
body .fi-ac-btn-action.fi-color-primary:hover,
body .fi-ac-btn-action.fi-color-warning:hover,
body .admin-button.primary:hover,
body .integration-button.primary:hover {
    background: linear-gradient(180deg, #d24b56, #b72a37) !important;
}

body .admin-button,
body .admin-link,
body .integration-button,
body .integration-link,
body .fi-btn-color-gray {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: var(--premium-line-strong) !important;
    color: #f5f7fa !important;
}

body .fi-badge,
body .admin-status,
body .integration-status {
    border-radius: 999px !important;
    padding: 5px 11px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
}

body .fi-ta-ctn .fi-badge-color-success,
body .admin-status.verified,
body .integration-status {
    background: rgba(48, 131, 88, 0.22) !important;
    border: 1px solid rgba(86, 184, 127, 0.25) !important;
    color: #a9e9c2 !important;
}

body .fi-ta-ctn .fi-badge-color-warning,
body .fi-ta-ctn .fi-badge-color-danger,
body .fi-ta-ctn .fi-badge-color-primary,
body .admin-button.reject,
body .admin-button.delete,
body .admin-status.rejected {
    background: rgba(183, 42, 55, 0.18) !important;
    border: 1px solid rgba(226, 109, 116, 0.26) !important;
    color: #f1b9bd !important;
}

body .topspot-rate,
body .topspot-currency-rate,
body [class*="ts-topbar-rate"],
body [class*="currency-rate"] {
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid var(--premium-line-strong) !important;
    border-radius: 12px !important;
    color: #dfe6ee !important;
}

body .topspot-rate strong,
body .topspot-currency-rate strong,
body [class*="ts-topbar-rate"] strong,
body [class*="currency-rate"] strong,
body [class*="currency-rate"] b {
    color: #f07b83 !important;
}

/* Premium cleanup: remove nested outlines and cheap bright accents. */
body .fi-wi-stats-overview-stat,
body .fi-section,
body .fi-wi-widget,
body .fi-ta-ctn,
body .ts-ops-panel,
body .admin-docs-panel,
body .integration-panel,
body .settings-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        #1b2028 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18) !important;
}

body .fi-wi-stats-overview-stat *,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content,
body .fi-wi-stats-overview-stat-description,
body .fi-wi-stats-overview-stat-chart,
body .fi-wi-stats-overview-stat-chart * {
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content {
    background: transparent !important;
}

body .fi-wi-stats-overview-stat {
    position: relative !important;
    overflow: hidden !important;
}

body .fi-wi-stats-overview-stat::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.055), transparent 34%) !important;
}

body .fi-wi-stats-overview-stat-chart {
    opacity: 0.36 !important;
}

body .fi-wi-stats-overview-stat-chart svg,
body .fi-wi-stats-overview-stat-chart path {
    filter: saturate(0.72) brightness(0.95) !important;
}

body .fi-wi-stats-overview-stat-value {
    text-shadow: none !important;
}

body .fi-sidebar-nav a,
body .fi-sidebar-nav button,
body aside nav a,
body aside nav button {
    margin: 1px 12px !important;
    border-radius: 8px !important;
}

body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav button[aria-current="page"],
body aside nav a[aria-current="page"],
body aside nav button[aria-current="page"],
body .fi-sidebar-nav a.fi-active,
body .fi-sidebar-nav button.fi-active,
body .fi-sidebar-item.fi-active > a,
body .fi-sidebar-item.fi-active > button,
body aside nav a.fi-active,
body aside nav button.fi-active,
body aside nav .fi-sidebar-item.fi-active > a,
body aside nav .fi-sidebar-item.fi-active > button {
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: inset 2px 0 0 #a92a35 !important;
}

body .fi-sidebar-item-badge,
body .fi-sidebar-nav .fi-badge,
body aside nav .fi-badge,
body .fi-sidebar .fi-badge {
    min-width: 24px !important;
    background: rgba(183, 42, 55, 0.16) !important;
    border-color: rgba(240, 123, 131, 0.28) !important;
    color: #ffd8dc !important;
    box-shadow: none !important;
}

body .fi-sidebar-item-badge *,
body .fi-sidebar-nav .fi-badge *,
body aside nav .fi-badge *,
body .fi-sidebar .fi-badge * {
    color: #ffd8dc !important;
}

body .fi-btn-color-primary,
body .fi-btn-color-warning,
body .fi-ac-btn-action.fi-color-primary,
body .fi-ac-btn-action.fi-color-warning,
body .admin-button.primary,
body .integration-button.primary {
    background: linear-gradient(180deg, #aa303a, #8f222d) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 22px rgba(143, 34, 45, 0.22) !important;
}

body .fi-btn-color-primary:hover,
body .fi-btn-color-warning:hover,
body .fi-ac-btn-action.fi-color-primary:hover,
body .fi-ac-btn-action.fi-color-warning:hover,
body .admin-button.primary:hover,
body .integration-button.primary:hover {
    background: linear-gradient(180deg, #b83a45, #992832) !important;
}

body .ts-ops-icon,
body .artist-home-stat-icon,
body .settings-icon {
    background: rgba(183, 42, 55, 0.13) !important;
    color: #f0a0a7 !important;
}

body .fi-ta-table tbody tr,
body .fi-ta-row,
body .admin-docs-table tbody tr {
    transition: background .16s ease !important;
}

body .fi-ta-table tbody tr:hover,
body .fi-ta-row:hover,
body .admin-docs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.028) !important;
}

body .fi-ta-table th,
body .fi-ta-table td,
body .fi-ta-ctn th,
body .fi-ta-ctn td,
body .admin-docs-table th,
body .admin-docs-table td {
    border-color: rgba(255, 255, 255, 0.055) !important;
}

body .topspot-rate,
body .topspot-currency-rate,
body [class*="ts-topbar-rate"],
body [class*="currency-rate"] {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}

/* Sharper dashboard surfaces: flatter panels, clearer edges, tighter geometry. */
body .fi-wi-stats-overview-stat,
body .ts-ops-card,
body .ts-ops-panel {
    background: #171d25 !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        0 10px 24px rgba(0, 0, 0, 0.16) !important;
}

body .fi-wi-stats-overview-stat:hover,
body .ts-ops-card:hover {
    background: #1a212a !important;
}

body .fi-wi-stats-overview-stat {
    min-height: 124px !important;
    padding: 20px 22px !important;
}

body .fi-wi-stats-overview-stat::before {
    display: none !important;
}

body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 100% !important;
}

body .fi-wi-stats-overview-stat-label {
    color: #aeb8c6 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

body .fi-wi-stats-overview-stat-value {
    color: #ffffff !important;
    font-size: 30px !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
}

body .fi-wi-stats-overview-stat-description {
    color: #a4afbf !important;
    font-size: 13px !important;
    font-weight: 560 !important;
    line-height: 1.35 !important;
}

body .fi-wi-stats-overview-stat-chart {
    bottom: -4px !important;
    opacity: 0.58 !important;
}

body .fi-wi-stats-overview-stat-chart svg,
body .fi-wi-stats-overview-stat-chart path {
    filter: saturate(1.05) brightness(1.05) !important;
}

body .ts-ops {
    gap: 16px !important;
}

body .ts-ops-grid {
    gap: 16px !important;
}

body .ts-ops-card {
    min-height: 108px !important;
    padding: 18px 22px !important;
    gap: 18px !important;
    transition: background .14s ease, border-color .14s ease, transform .14s ease !important;
}

body .ts-ops-card:hover {
    transform: translateY(-1px) !important;
}

body .ts-ops-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 7px !important;
    background: #241c24 !important;
    border: 0 !important;
    color: #ffb5be !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body .ts-ops-icon.ts-orange,
body .ts-ops-icon.ts-blue,
body .ts-ops-icon.ts-green,
body .ts-ops-icon.ts-violet {
    background: #241c24 !important;
    color: #ffb5be !important;
}

body .ts-ops-value {
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
}

body .ts-ops-label {
    margin-top: 8px !important;
    color: #aeb8c6 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

body .ts-ops-bottom {
    gap: 18px !important;
}

body .ts-ops-panel {
    padding: 22px 26px !important;
}

body .ts-ops-panel-head {
    padding-bottom: 14px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid rgba(161, 177, 199, 0.16) !important;
}

body .ts-ops-panel-head h3 {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
}

body .ts-ops-panel-head a {
    color: #ff727d !important;
    font-size: 14px !important;
    font-weight: 760 !important;
}

body .ts-ops-row,
body .ts-ops-import {
    border-top: 1px solid rgba(161, 177, 199, 0.12) !important;
    padding: 14px 0 !important;
}

body .ts-ops-panel-head + .ts-ops-row,
body .ts-ops-panel-head + .ts-ops-import {
    border-top: 0 !important;
}

body .ts-ops-row span,
body .ts-ops-import span,
body .ts-ops-empty {
    color: #aeb8c6 !important;
}

body .ts-ops-row strong,
body .ts-ops-import strong {
    color: #ffffff !important;
    font-weight: 760 !important;
}

body .ts-ops-import em {
    border-radius: 7px !important;
    background: rgba(37, 128, 82, 0.28) !important;
    border: 1px solid rgba(96, 202, 141, 0.18) !important;
    color: #9ae6ba !important;
}

/* Dashboard final cleanup: no outlines, no nested card frames. */
body .fi-wi-widget,
body .fi-wi-stats-overview,
body .fi-wi-stats-overview-stat,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content,
body .fi-wi-stats-overview-stat-content > div,
body .ts-ops-card,
body .ts-ops-panel {
    border: 0 !important;
    outline: 0 !important;
}

body .fi-wi-stats-overview-stat,
body .ts-ops-card,
body .ts-ops-panel {
    background: #131922 !important;
    border-radius: 8px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.018),
        0 16px 34px rgba(0, 0, 0, 0.2) !important;
}

body .fi-wi-widget,
body .fi-wi-stats-overview {
    background: transparent !important;
    box-shadow: none !important;
}

body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content,
body .fi-wi-stats-overview-stat-content > div {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body .fi-wi-stats-overview-stat:hover,
body .ts-ops-card:hover {
    background: #161f2a !important;
}

body .ts-ops-card {
    min-height: 104px !important;
    background: #121821 !important;
}

body .ts-ops-panel {
    background: #121821 !important;
}

body .ts-ops-icon {
    background: rgba(217, 31, 47, 0.12) !important;
    box-shadow: none !important;
}

body .ts-ops-panel-head {
    border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

body .ts-ops-row,
body .ts-ops-import {
    border-top-color: rgba(255, 255, 255, 0.055) !important;
}

/* Hard reset for the stubborn Filament stat outlines/rings. */
body .fi-wi-widget,
body .fi-wi-widget > div,
body .fi-wi-widget section,
body .fi-wi-stats-overview,
body .fi-wi-stats-overview > div,
body .fi-wi-stats-overview-stat,
body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content,
body .fi-wi-stats-overview-stat-content > div,
body .fi-wi-stats-overview-stat-content > div > div {
    border: 0 !important;
    outline: 0 !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-offset-shadow: 0 0 #0000 !important;
    --tw-shadow: 0 0 #0000 !important;
}

body .fi-wi-widget,
body .fi-wi-widget > div,
body .fi-wi-widget section,
body .fi-wi-stats-overview,
body .fi-wi-stats-overview > div {
    background: transparent !important;
    box-shadow: none !important;
}

body .fi-wi-stats-overview-stat > div,
body .fi-wi-stats-overview-stat-content,
body .fi-wi-stats-overview-stat-content > div,
body .fi-wi-stats-overview-stat-content > div > div {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body .fi-wi-stats-overview-stat *,
body .fi-wi-stats-overview-stat *::before,
body .fi-wi-stats-overview-stat *::after {
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-offset-shadow: 0 0 #0000 !important;
    --tw-shadow: 0 0 #0000 !important;
}

body .fi-wi-stats-overview-stat::before,
body .fi-wi-stats-overview-stat::after {
    display: none !important;
    content: none !important;
}

body .fi-wi-stats-overview-stat {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.018),
        0 16px 34px rgba(0, 0, 0, 0.2) !important;
}

/* Table controls polish: search, filters, columns dropdowns. */
body .fi-ta-header-toolbar {
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
}

body .fi-ta-search-field {
    min-width: 280px !important;
}

body .fi-ta-search-field .fi-input-wrp,
body .fi-global-search-field .fi-input-wrp {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    overflow: hidden !important;
    background: #0f141c !important;
    border: 1px solid rgba(174, 184, 198, 0.16) !important;
    border-radius: 9px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.018),
        0 8px 18px rgba(0, 0, 0, 0.12) !important;
}

body .fi-ta-search-field .fi-input-wrp:focus-within,
body .fi-global-search-field .fi-input-wrp:focus-within {
    border-color: rgba(255, 94, 107, 0.45) !important;
    box-shadow:
        0 0 0 2px rgba(217, 31, 47, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.12) !important;
}

body .fi-ta-search-field .fi-input-wrp-prefix,
body .fi-global-search-field .fi-input-wrp-prefix {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .fi-ta-search-field .fi-input-wrp-prefix .fi-icon,
body .fi-global-search-field .fi-input-wrp-prefix .fi-icon {
    width: 20px !important;
    height: 20px !important;
    color: #8e9aaa !important;
}

body .fi-ta-search-field .fi-input-wrp-content-ctn,
body .fi-global-search-field .fi-input-wrp-content-ctn {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

body .fi-ta-search-field input,
body .fi-global-search-field input {
    height: 46px !important;
    padding: 0 14px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #eef3f8 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

body .fi-ta-search-field input::placeholder,
body .fi-global-search-field input::placeholder {
    color: #7f8b9a !important;
}

body .fi-icon-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 0 !important;
    color: #aeb8c6 !important;
    box-shadow: none !important;
}

body .fi-icon-btn:hover {
    background: rgba(255, 255, 255, 0.055) !important;
    color: #ffffff !important;
}

body .fi-icon-btn .fi-icon {
    width: 21px !important;
    height: 21px !important;
}

body .fi-ta-ctn .fi-ac-icon-btn-action.fi-color-gray,
body .fi-ta-ctn .fi-ac-icon-btn-action.fi-color-gray *,
body .fi-ta-ctn .fi-icon-btn.fi-color-gray,
body .fi-ta-ctn .fi-icon-btn.fi-color-gray * {
    color: #f8fafc !important;
}

body .fi-ta-ctn .fi-ac-icon-btn-action.fi-color-gray:hover,
body .fi-ta-ctn .fi-icon-btn.fi-color-gray:hover {
    background: rgba(255, 255, 255, 0.065) !important;
    color: #ffffff !important;
}

body .fi-icon-btn-badge-ctn .fi-badge,
body .fi-icon-btn .fi-badge,
body .fi-ta-header-toolbar .fi-badge {
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    background: #1f2630 !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 999px !important;
    color: #d8e0ea !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

body .fi-ta-header-toolbar .fi-icon-btn-badge-ctn .fi-badge,
body .fi-ta-header-toolbar .fi-icon-btn .fi-badge,
body .fi-ta-header-toolbar .fi-badge.fi-size-xs {
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.18) !important;
    color: #111827 !important;
}

body .fi-ta-header-toolbar .fi-icon-btn-badge-ctn .fi-badge *,
body .fi-ta-header-toolbar .fi-icon-btn .fi-badge *,
body .fi-ta-header-toolbar .fi-badge.fi-size-xs * {
    color: #111827 !important;
}

body .fi-dropdown-panel {
    overflow: hidden !important;
    min-width: 340px !important;
    max-width: min(420px, calc(100vw - 32px)) !important;
    padding: 0 !important;
    background: #17202b !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.045) !important;
}

body .fi-ta-filters,
body .fi-ta-col-manager {
    display: grid !important;
    gap: 18px !important;
    padding: 24px 28px 28px !important;
    background: transparent !important;
}

body .fi-ta-filters-header,
body .fi-ta-col-manager-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 !important;
}

body .fi-ta-filters-heading,
body .fi-ta-col-manager-heading {
    color: #f4f7fb !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
}

body .fi-ta-filters-header .fi-link,
body .fi-ta-col-manager-header .fi-link {
    color: #ff6671 !important;
    font-size: 14px !important;
    font-weight: 760 !important;
}

body .fi-ta-filters .fi-fo-field-wrp,
body .fi-ta-filters [data-field-wrapper] {
    display: grid !important;
    gap: 8px !important;
}

body .fi-ta-filters label,
body .fi-ta-filters .fi-fo-field-wrp-label,
body .fi-ta-filters .fi-fo-field-wrp-label span,
body .fi-ta-filters legend,
body .fi-ta-filters legend *,
body .fi-ta-filters [data-field-wrapper] > div,
body .fi-ta-filters [data-field-wrapper] > div * {
    color: #aeb8c6 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

body .fi-ta-filters .fi-input-wrp,
body .fi-ta-filters .fi-select-input,
body .fi-ta-filters select {
    min-height: 50px !important;
    width: 100% !important;
    background: #0f141c !important;
    border: 1px solid rgba(174, 184, 198, 0.15) !important;
    border-radius: 8px !important;
    color: #f3f6fa !important;
    box-shadow: none !important;
}

body .fi-ta-filters .fi-input-wrp:focus-within,
body .fi-ta-filters .fi-select-input:focus,
body .fi-ta-filters select:focus {
    border-color: rgba(255, 94, 107, 0.45) !important;
    box-shadow: 0 0 0 2px rgba(217, 31, 47, 0.12) !important;
}

body .fi-ta-filters-actions-ctn,
body .fi-ta-col-manager-actions-ctn {
    margin-top: 2px !important;
}

body .fi-ta-filters-actions-ctn .fi-btn,
body .fi-ta-col-manager-actions-ctn .fi-btn {
    min-height: 46px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #ad2533 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(173, 37, 51, 0.22) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
}

body .fi-ta-col-manager-items {
    display: grid !important;
    gap: 6px !important;
}

body .fi-ta-col-manager-item {
    display: flex !important;
    min-height: 42px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    border-radius: 7px !important;
}

body .fi-ta-col-manager-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    color: #d8e0ea !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body .fi-checkbox-input,
body input[type="checkbox"].fi-checkbox-input {
    width: 20px !important;
    height: 20px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background-color: #eef3f8 !important;
    color: #ad2533 !important;
    box-shadow: none !important;
}

body .fi-checkbox-input:checked,
body input[type="checkbox"].fi-checkbox-input:checked {
    background-color: #ad2533 !important;
    color: #ffffff !important;
}

body .fi-ta-ctn {
    overflow: hidden !important;
}

body .fi-ta-content {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(174, 184, 198, 0.42) rgba(255, 255, 255, 0.04) !important;
}

body .fi-ta-content::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
}

body .fi-ta-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04) !important;
}

body .fi-ta-content::-webkit-scrollbar-thumb {
    background: rgba(174, 184, 198, 0.42) !important;
    border-radius: 999px !important;
    border: 2px solid rgba(18, 24, 33, 1) !important;
}

body .fi-ta-content::-webkit-scrollbar-thumb:hover {
    background: rgba(214, 223, 235, 0.58) !important;
}

body .fi-ta-filters .fi-select-input,
body .fi-select-input {
    color: #eef3f8 !important;
}

body .fi-select-input-btn {
    min-height: 50px !important;
    width: 100% !important;
    padding: 0 14px !important;
    background: #0f141c !important;
    border: 1px solid rgba(174, 184, 198, 0.15) !important;
    border-radius: 8px !important;
    color: #f3f6fa !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body .fi-select-input-btn:focus,
body .fi-select-input-btn[aria-expanded="true"] {
    border-color: rgba(255, 94, 107, 0.45) !important;
    box-shadow: 0 0 0 2px rgba(217, 31, 47, 0.12) !important;
}

body .fi-select-input-placeholder {
    color: #8793a3 !important;
}

body .fi-select-input-dropdown {
    overflow: hidden auto !important;
    max-height: 260px !important;
    background: #101722 !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(174, 184, 198, 0.42) rgba(255, 255, 255, 0.04) !important;
}

body .fi-select-input-dropdown::-webkit-scrollbar {
    width: 9px !important;
}

body .fi-select-input-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04) !important;
}

body .fi-select-input-dropdown::-webkit-scrollbar-thumb {
    background: rgba(174, 184, 198, 0.42) !important;
    border-radius: 999px !important;
}

body .fi-select-input-search-wrp {
    padding: 10px !important;
    background: #101722 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body .fi-select-input-search {
    min-height: 40px !important;
    width: 100% !important;
    padding: 0 12px !important;
    background: #0c1119 !important;
    border: 1px solid rgba(174, 184, 198, 0.14) !important;
    border-radius: 7px !important;
    color: #eef3f8 !important;
    box-shadow: none !important;
}

body .fi-select-input-options,
body .fi-select-input-options-ctn,
body .fi-select-input-option-group,
body .fi-dropdown-list {
    background: #101722 !important;
}

body .fi-select-input-option,
body .fi-dropdown-list li[role="option"] {
    min-height: 40px !important;
    padding: 10px 14px !important;
    background: transparent !important;
    color: #d8e0ea !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body .fi-select-input-option:hover,
body .fi-select-input-option.fi-selected,
body .fi-dropdown-list li[role="option"]:hover,
body .fi-dropdown-list li[role="option"].fi-selected {
    background: rgba(173, 37, 51, 0.22) !important;
    color: #ffffff !important;
}

body .fi-select-input-option[aria-selected="true"],
body .fi-dropdown-list li[role="option"][aria-selected="true"] {
    background: rgba(173, 37, 51, 0.34) !important;
    color: #ffffff !important;
}

body .fi-select-input-message {
    padding: 14px !important;
    color: #aeb8c6 !important;
    background: #101722 !important;
    font-size: 14px !important;
}

/* Dark form contrast: release/artist edit pages must not leak black Filament text. */
body .fi-fo,
body .fi-fo *,
body .fi-section,
body .fi-section *,
body .fi-modal-window,
body .fi-modal-window * {
    color: #e8eef6 !important;
}

body .fi-fo-field-wrp-label,
body .fi-fo-field-wrp-label *,
body .fi-fieldset legend,
body .fi-fieldset legend *,
body .fi-section-header-heading,
body .fi-section-header-heading * {
    color: #f8fafc !important;
}

body .fi-fo-field-wrp-helper-text,
body .fi-fo-field-wrp-helper-text *,
body .fi-section-header-description,
body .fi-section-header-description * {
    color: #aeb8c6 !important;
}

body .fi-fo .fi-input,
body .fi-fo .fi-select-input,
body .fi-fo .fi-textarea,
body .fi-fo input,
body .fi-fo textarea,
body .fi-fo select {
    background: #0f141c !important;
    border-color: rgba(174, 184, 198, 0.18) !important;
    color: #f8fafc !important;
}

body .fi-fo .fi-input::placeholder,
body .fi-fo .fi-textarea::placeholder,
body .fi-fo input::placeholder,
body .fi-fo textarea::placeholder {
    color: #7f8b9a !important;
}

body .fi-ta-filters,
body .fi-ta-filters *,
body .fi-ta-col-manager,
body .fi-ta-col-manager * {
    color: #e8eef6 !important;
}

body .fi-ta-filters .fi-fo-field-wrp-label,
body .fi-ta-filters .fi-fo-field-wrp-label *,
body .fi-ta-filters label,
body .fi-ta-filters legend,
body .fi-ta-col-manager-label,
body .fi-ta-col-manager-label * {
    color: #d8e0ea !important;
}

/* Action dropdowns: keep menu items readable on hover/disabled states. */
body .fi-dropdown-panel a,
body .fi-dropdown-panel button,
body .fi-dropdown-panel [role="menuitem"],
body .fi-dropdown-panel .fi-ac-action,
body .fi-dropdown-panel .fi-dropdown-list-item {
    background: transparent !important;
    color: #e8eef6 !important;
    opacity: 1 !important;
}

body .fi-dropdown-panel a *,
body .fi-dropdown-panel button *,
body .fi-dropdown-panel [role="menuitem"] *,
body .fi-dropdown-panel .fi-ac-action *,
body .fi-dropdown-panel .fi-dropdown-list-item * {
    color: inherit !important;
    opacity: 1 !important;
}

body .fi-dropdown-panel a:hover,
body .fi-dropdown-panel button:hover,
body .fi-dropdown-panel [role="menuitem"]:hover,
body .fi-dropdown-panel .fi-ac-action:hover,
body .fi-dropdown-panel .fi-dropdown-list-item:hover {
    background: rgba(255, 255, 255, 0.075) !important;
    color: #ffffff !important;
}

body .fi-dropdown-panel a[disabled],
body .fi-dropdown-panel button[disabled],
body .fi-dropdown-panel [aria-disabled="true"],
body .fi-dropdown-panel .fi-disabled {
    background: rgba(255, 255, 255, 0.025) !important;
    color: #748195 !important;
    cursor: not-allowed !important;
}

body .fi-dropdown-panel .fi-color-danger,
body .fi-dropdown-panel .fi-color-danger * {
    color: #ff6b76 !important;
}

/* Artist registration and edit forms: calmer sequence, cleaner blocks. */
body .fi-fo .fi-section {
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 10px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008)),
        #121821 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 18px 42px rgba(0, 0, 0, 0.24) !important;
}

body .fi-fo .fi-section + .fi-section {
    margin-top: 18px !important;
}

body .fi-fo .fi-section-header {
    min-height: 68px !important;
    padding: 20px 26px 16px !important;
    border-bottom: 1px solid rgba(174, 184, 198, 0.11) !important;
    background: rgba(255, 255, 255, 0.018) !important;
}

body .fi-fo .fi-section-content,
body .fi-fo .fi-section-content-ctn {
    padding: 24px 26px 26px !important;
}

body .fi-fo .fi-section-header-heading,
body .fi-fo .fi-section-header-heading * {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

body .fi-fo .fi-section-header-description,
body .fi-fo .fi-section-header-description * {
    max-width: 760px !important;
    color: #9eacbd !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 520 !important;
}

body .fi-fo .fi-fo-field-wrp-label,
body .fi-fo .fi-fo-field-wrp-label * {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 720 !important;
}

body .fi-fo .fi-input-wrp,
body .fi-fo .fi-select-input-btn,
body .fi-fo .fi-textarea {
    min-height: 48px !important;
    border: 1px solid rgba(174, 184, 198, 0.16) !important;
    border-radius: 8px !important;
    background: #0c1119 !important;
    box-shadow: none !important;
}

body .fi-fo .fi-input-wrp:focus-within,
body .fi-fo .fi-select-input-btn:focus,
body .fi-fo .fi-select-input-btn[aria-expanded="true"],
body .fi-fo .fi-textarea:focus {
    border-color: rgba(255, 94, 107, 0.48) !important;
    box-shadow: 0 0 0 2px rgba(217, 31, 47, 0.12) !important;
}

body .fi-fo .fi-file-upload,
body .fi-fo .filepond--root,
body .fi-fo .filepond--panel-root {
    color: #e8eef6 !important;
}

body .fi-fo .filepond--drop-label,
body .fi-fo .filepond--drop-label *,
body .fi-fo .filepond--label-action {
    color: #e8eef6 !important;
    font-weight: 700 !important;
}

/* Final contrast guardrail for dark TopSpot panels. */
body .fi-layout :is(
    .text-black,
    .text-gray-950,
    .text-gray-900,
    .text-gray-800,
    .text-slate-950,
    .text-slate-900,
    .text-slate-800,
    .text-zinc-950,
    .text-zinc-900,
    .text-zinc-800
),
body .fi-page :is(
    .text-black,
    .text-gray-950,
    .text-gray-900,
    .text-gray-800,
    .text-slate-950,
    .text-slate-900,
    .text-slate-800,
    .text-zinc-950,
    .text-zinc-900,
    .text-zinc-800
) {
    color: #f8fafc !important;
}

body .fi-layout :is(
    .text-gray-700,
    .text-gray-600,
    .text-gray-500,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500,
    .text-zinc-700,
    .text-zinc-600,
    .text-zinc-500
),
body .fi-page :is(
    .text-gray-700,
    .text-gray-600,
    .text-gray-500,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500,
    .text-zinc-700,
    .text-zinc-600,
    .text-zinc-500
) {
    color: #aeb8c6 !important;
}

body .fi-layout :is(
    .bg-white,
    .bg-gray-50,
    .bg-gray-100,
    .bg-slate-50,
    .bg-slate-100,
    .bg-zinc-50,
    .bg-zinc-100
),
body .fi-page :is(
    .bg-white,
    .bg-gray-50,
    .bg-gray-100,
    .bg-slate-50,
    .bg-slate-100,
    .bg-zinc-50,
    .bg-zinc-100
) {
    background-color: #151c26 !important;
    border-color: rgba(174, 184, 198, 0.16) !important;
}

body .fi-page [style*="color:#000"],
body .fi-page [style*="color: #000"],
body .fi-page [style*="color:#111"],
body .fi-page [style*="color: #111"],
body .fi-page [style*="color:#1f2937"],
body .fi-page [style*="color: #1f2937"],
body .fi-page [style*="color:rgb(17 24 39"],
body .fi-page [style*="color: rgb(17 24 39"] {
    color: #f8fafc !important;
}

body .fi-page [style*="background:#fff"],
body .fi-page [style*="background: #fff"],
body .fi-page [style*="background:white"],
body .fi-page [style*="background: white"],
body .fi-page [style*="background-color:#fff"],
body .fi-page [style*="background-color: #fff"],
body .fi-page [style*="background-color:white"],
body .fi-page [style*="background-color: white"] {
    background: #151c26 !important;
    border-color: rgba(174, 184, 198, 0.16) !important;
}

body .fi-btn.fi-color-gray,
body .fi-btn-color-gray,
body .fi-ac-btn-action.fi-color-gray,
body .fi-modal-footer .fi-btn:not(.fi-color-primary):not(.fi-color-danger),
body .fi-page button:not(.fi-btn-color-primary):not(.fi-color-primary):not(.fi-color-danger):not(.fi-icon-btn),
body .fi-page a.fi-btn:not(.fi-btn-color-primary):not(.fi-color-primary):not(.fi-color-danger) {
    background: #1d2632 !important;
    border-color: rgba(174, 184, 198, 0.18) !important;
    color: #f8fafc !important;
}

body .fi-btn.fi-color-gray *,
body .fi-btn-color-gray *,
body .fi-ac-btn-action.fi-color-gray *,
body .fi-modal-footer .fi-btn:not(.fi-color-primary):not(.fi-color-danger) *,
body .fi-page button:not(.fi-btn-color-primary):not(.fi-color-primary):not(.fi-color-danger):not(.fi-icon-btn) *,
body .fi-page a.fi-btn:not(.fi-btn-color-primary):not(.fi-color-primary):not(.fi-color-danger) * {
    color: #f8fafc !important;
}

body .fi-btn.fi-color-gray:hover,
body .fi-btn-color-gray:hover,
body .fi-ac-btn-action.fi-color-gray:hover,
body .fi-modal-footer .fi-btn:not(.fi-color-primary):not(.fi-color-danger):hover,
body .fi-page button:not(.fi-btn-color-primary):not(.fi-color-primary):not(.fi-color-danger):not(.fi-icon-btn):hover,
body .fi-page a.fi-btn:not(.fi-btn-color-primary):not(.fi-color-primary):not(.fi-color-danger):hover {
    background: #263342 !important;
    color: #ffffff !important;
}

/* Filament repeater items were still leaking the light theme inside dark release forms. */
body .fi-fo-repeater,
body .fi-fo-repeater *,
body .fi-fo-repeater-item,
body .fi-fo-repeater-item *,
body .fi-fo-repeater-item-header,
body .fi-fo-repeater-item-content,
body .fi-fo-repeater-item-content *,
body .fi-fo-repeater-item-header *,
body .fi-fo-repeater-item-label,
body .fi-fo-repeater-item-actions,
body .fi-fo-repeater-item-actions * {
    color: #e8eef6 !important;
}

body .fi-fo-repeater-item,
body .fi-fo-repeater-item-header,
body .fi-fo-repeater-item-content {
    background: #121821 !important;
    border-color: rgba(174, 184, 198, 0.16) !important;
}

body .fi-fo-repeater-item {
    overflow: hidden !important;
    border-radius: 10px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        0 14px 32px rgba(0, 0, 0, 0.18) !important;
}

body .fi-fo-repeater-item-header {
    border-bottom: 1px solid rgba(174, 184, 198, 0.12) !important;
}

body .fi-fo-repeater-item-label {
    color: #ffffff !important;
    font-weight: 800 !important;
}

body .fi-fo-repeater .fi-icon-btn,
body .fi-fo-repeater .fi-icon-btn *,
body .fi-fo-repeater-item-actions .fi-icon-btn,
body .fi-fo-repeater-item-actions .fi-icon-btn * {
    background: transparent !important;
    color: #cbd5e1 !important;
}

body .fi-fo-repeater .fi-icon-btn:hover,
body .fi-fo-repeater-item-actions .fi-icon-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
}

body .fi-fo-repeater .fi-input-wrp,
body .fi-fo-repeater .fi-select-input-btn,
body .fi-fo-repeater .fi-textarea,
body .fi-fo-repeater input,
body .fi-fo-repeater textarea,
body .fi-fo-repeater select {
    background: #0c1119 !important;
    border-color: rgba(174, 184, 198, 0.18) !important;
    color: #f8fafc !important;
}

body .fi-fo-repeater .fi-fo-field-wrp-label,
body .fi-fo-repeater .fi-fo-field-wrp-label *,
body .fi-fo-repeater label,
body .fi-fo-repeater label * {
    color: #cbd5e1 !important;
}

/* Release editor polish. */
body .fi-main,
body .fi-page-content {
    width: 100% !important;
}

.fi-resource-edit-record-page > .fi-page form,
.fi-resource-edit-record-page > .fi-page .fi-fo,
.fi-resource-edit-record-page > .fi-page .fi-fo > div,
.fi-resource-edit-record-page > .fi-page .fi-fo > .fi-grid,
.fi-resource-edit-record-page > .fi-page .fi-fo-component-ctn {
    width: 100% !important;
    max-width: none !important;
}

body .fi-fo .fi-grid {
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
}

body .fi-fo .fi-section {
    width: 100% !important;
    min-width: 0 !important;
}

body .fi-fo .fi-select-input-btn,
body .fi-fo .fi-input-wrp,
body .fi-fo .fi-textarea,
body .fi-fo .fi-tags-input {
    width: 100% !important;
    min-width: 0 !important;
}

body .fi-fo .fi-select-input-btn span,
body .fi-fo .fi-select-input-placeholder,
body .fi-fo .fi-input {
    overflow: hidden !important;
    min-width: 0 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body .fi-ta-ctn {
    border-radius: 10px !important;
}

body .fi-ta-row:hover,
body .fi-ta-row:hover td {
    background: rgba(255, 255, 255, 0.025) !important;
}

body .ts-track-player {
    display: grid !important;
    gap: 6px !important;
    min-width: 220px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-player audio {
    width: 220px !important;
    max-width: 100% !important;
    height: 32px !important;
    accent-color: #d91f2f !important;
}

body .ts-track-player a,
body .ts-track-player a * {
    color: #ff6671 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

body .ts-track-player-empty {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    color: #8793a3 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body .fi-ta-cell:has(.ts-track-player) {
    min-width: 250px !important;
    background: transparent !important;
}

body .fi-ta-cell:has(.ts-track-player) > div,
body .fi-ta-cell:has(.ts-track-player) .fi-ta-col,
body .fi-ta-cell:has(.ts-track-player) .fi-ta-text,
body .fi-ta-cell:has(.ts-track-player) .fi-ta-text-item,
body .fi-ta-cell:has(.ts-track-player) .fi-ta-text-item-label {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-inline: 0 !important;
}


/* ===== New Tracks UI / Custom Audio Player ===== */
body .fi-ta-cell.ts-track-card-cell,
body .fi-ta-cell.ts-track-card-cell > div,
body .fi-ta-cell.ts-track-card-cell > div > div,
body .fi-ta-cell.ts-track-card-cell .fi-ta-col,
body .fi-ta-cell.ts-track-card-cell .fi-ta-text,
body .fi-ta-cell.ts-track-card-cell .fi-ta-text-item,
body .fi-ta-cell.ts-track-card-cell .fi-ta-text-item-label {
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body .ts-track-card,
body .ts-track-card * {
    box-sizing: border-box;
}

body .ts-track-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(300px, 1fr) minmax(360px, 1.2fr);
    align-items: center;
    gap: 24px;
    padding: 10px 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-cover {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1;
    font-size: 22px;
    font-weight: 900;
}

body .ts-track-card-meta {
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-title {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-version {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 650;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-artist {
    margin-top: 4px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-info div {
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-info span {
    display: block;
    margin-bottom: 4px;
    color: #7f8b9a;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-info strong {
    display: block;
    color: #e8eef6;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-player {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-card-player audio {
    display: none;
}

body .ts-track-play {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #c23a45, #a92531) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(217, 31, 47, 0.22) !important;
    cursor: pointer;
}

body .ts-track-play:hover {
    background: linear-gradient(180deg, #d24b56, #b72a37) !important;
}

body .ts-track-progress {
    position: relative;
    height: 8px;
    flex: 1 1 auto;
    min-width: 120px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09) !important;
    cursor: pointer;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #d91f2f, #ff6671) !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-time {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 86px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-track-no-audio {
    color: #8793a3;
    font-size: 13px;
    font-weight: 800;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 1280px) {
    body .ts-track-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body .ts-track-card-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


body .fi-modal-window {
    width: min(760px, calc(100vw - 32px)) !important;
    max-width: 760px !important;
    margin-inline: auto !important;
    border-radius: 16px !important;
}

body .fi-modal-window .fi-fo {
    width: 100% !important;
    max-width: 100% !important;
}

body .fi-modal-window .fi-section {
    box-shadow: none !important;
}

body .fi-modal-window .fi-section-content,
body .fi-modal-window .fi-section-content-ctn {
    padding: 20px !important;
}

/* Filament resource forms: keep labels readable on the dark admin theme. */
body .fi-page form label,
body .fi-page form label span,
body .fi-page form label div,
body .fi-page form legend,
body .fi-page form legend span,
body .fi-page form .fi-fo-field-wrp-label,
body .fi-page form .fi-fo-field-wrp-label span,
body .fi-page form .fi-fo-field-wrp-label div,
body .fi-page form .fi-fieldset-legend,
body .fi-page form .fi-fieldset-legend span,
body .fi-page form .fi-fieldset-legend div {
    color: #cbd5e1 !important;
}

body .fi-page form label sup,
body .fi-page form label [class*="danger"],
body .fi-page form .fi-fo-field-wrp-label sup,
body .fi-page form .fi-fo-field-wrp-label [class*="danger"] {
    color: #ff5f6d !important;
}

body .fi-page form .fi-fo-field-wrp-helper-text,
body .fi-page form .fi-fo-field-wrp-helper-text * {
    color: #94a3b8 !important;
}

/* Filament view / infolist pages: labels must not disappear on dark backgrounds. */
body .fi-page .fi-in label,
body .fi-page .fi-in label *,
body .fi-page .fi-in-entry-wrp-label,
body .fi-page .fi-in-entry-wrp-label *,
body .fi-page .fi-in-field-wrp-label,
body .fi-page .fi-in-field-wrp-label *,
body .fi-page .fi-in-text-entry-label,
body .fi-page .fi-in-text-entry-label *,
body .fi-page [class*="fi-in-"][class*="-label"],
body .fi-page [class*="fi-in-"][class*="-label"] * {
    color: #aeb8c7 !important;
}

body .fi-page .fi-in .fi-in-text,
body .fi-page .fi-in .fi-in-text *,
body .fi-page .fi-in-entry-wrp-value,
body .fi-page .fi-in-entry-wrp-value *,
body .fi-page .fi-in-text-entry,
body .fi-page .fi-in-text-entry * {
    color: #f8fafc !important;
}

/* ===== Dashboard reference redesign 2026-07-08 ===== */
:root {
    --ts-ref-bg: #050912;
    --ts-ref-sidebar: #0b111b;
    --ts-ref-panel: #101823;
    --ts-ref-line: rgba(139, 152, 171, 0.18);
    --ts-ref-line-strong: rgba(139, 152, 171, 0.27);
    --ts-ref-text: #f6f8fb;
    --ts-ref-muted: #9ca8bb;
    --ts-ref-red: #ff4050;
    --ts-ref-green: #1ed985;
    --ts-ref-blue: #4b9dff;
    --ts-ref-violet: #9b6cff;
    --ts-ref-orange: #ff922e;
}

body,
body .fi-layout,
body .fi-main,
body .fi-main-ctn,
body .fi-page,
body .fi-page-content {
    background:
        radial-gradient(circle at 24% 0%, rgba(58, 88, 130, 0.12), transparent 28%),
        linear-gradient(180deg, #060b13 0%, var(--ts-ref-bg) 64%, #04070d 100%) !important;
    color: var(--ts-ref-text) !important;
}

body .fi-main-ctn {
    border-left: 1px solid rgba(139, 152, 171, 0.16) !important;
}

body .fi-topbar {
    height: 86px !important;
    border-bottom: 1px solid rgba(139, 152, 171, 0.13) !important;
    background: rgba(5, 9, 18, 0.92) !important;
    backdrop-filter: blur(18px);
    box-shadow: none !important;
}

body .fi-topbar nav {
    min-height: 86px !important;
    background: transparent !important;
}

body .fi-sidebar {
    width: 296px !important;
    border-right: 1px solid rgba(139, 152, 171, 0.18) !important;
    background:
        radial-gradient(circle at 20% 10%, rgba(78, 125, 188, 0.14), transparent 28%),
        linear-gradient(180deg, #0b111b 0%, #09101a 52%, #070b12 100%) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.018) !important;
}

body .fi-sidebar-header {
    min-height: 92px !important;
    padding: 28px 34px 18px !important;
    background: transparent !important;
}

body .fi-sidebar-header img {
    width: 188px !important;
    max-height: none !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) contrast(1.08) !important;
}

body .fi-sidebar-nav {
    padding: 0 15px 22px !important;
    background: transparent !important;
}

body .fi-sidebar-nav-groups {
    gap: 18px !important;
    background: transparent !important;
}

body .fi-sidebar-group,
body .fi-sidebar-group-items,
body .fi-sidebar-nav-items {
    background: transparent !important;
}

body .fi-sidebar-group-label {
    padding: 0 20px 8px !important;
    color: #68758a !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
}

body .fi-sidebar-item a,
body .fi-sidebar-item button,
body .fi-sidebar-nav a,
body .fi-sidebar-nav button {
    min-height: 52px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    background: transparent !important;
    color: #c6cedb !important;
    box-shadow: none !important;
}

body .fi-sidebar-item a *,
body .fi-sidebar-item button *,
body .fi-sidebar-nav a *,
body .fi-sidebar-nav button * {
    color: inherit !important;
}

body .fi-sidebar-item svg,
body .fi-sidebar-nav svg {
    width: 23px !important;
    height: 23px !important;
    color: #eef2f7 !important;
}

body .fi-sidebar-item-label {
    color: inherit !important;
    font-size: 15px !important;
    font-weight: 720 !important;
}

body .fi-sidebar-item a:hover,
body .fi-sidebar-item button:hover,
body .fi-sidebar-item.fi-active a,
body .fi-sidebar-item.fi-active button,
body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav a.fi-active,
body .fi-sidebar-nav button.fi-active {
    border-color: rgba(255, 64, 80, 0.58) !important;
    background:
        radial-gradient(circle at 88% 50%, rgba(255, 64, 80, 0.18), transparent 44%),
        linear-gradient(90deg, rgba(255, 64, 80, 0.18), rgba(255, 255, 255, 0.045)) !important;
    color: #ffffff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 12px 24px rgba(255, 64, 80, 0.09) !important;
}

body .fi-sidebar-item a:hover svg,
body .fi-sidebar-item.fi-active svg,
body .fi-sidebar-nav a[aria-current="page"] svg,
body .fi-sidebar-nav .fi-active svg {
    color: var(--ts-ref-red) !important;
}

body .fi-global-search-field .fi-input-wrp,
body .fi-topbar .fi-input-wrp {
    min-height: 42px !important;
    border: 1px solid rgba(139, 152, 171, 0.18) !important;
    border-radius: 8px !important;
    background: #0c1320 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

body .fi-global-search-field input {
    color: #dce4ef !important;
    font-size: 14px !important;
}

body .topspot-rate,
body .topspot-currency-rate,
body [class*="ts-topbar-rate"],
body [class*="currency-rate"] {
    min-height: 42px !important;
    border: 1px solid rgba(139, 152, 171, 0.16) !important;
    border-radius: 8px !important;
    background: #0c1320 !important;
    color: #d9e2ef !important;
}

body [class*="currency-rate"] strong,
body [class*="currency-rate"] b,
body [class*="ts-topbar-rate"] strong {
    color: var(--ts-ref-red) !important;
}

body .fi-user-menu-trigger,
body .fi-topbar .fi-icon-btn {
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(139, 152, 171, 0.16) !important;
    border-radius: 999px !important;
    background: #0c1320 !important;
    color: #f6f8fb !important;
}

body .fi-header {
    align-items: flex-end !important;
    gap: 22px !important;
    padding-top: 18px !important;
}

body .fi-header-heading {
    color: #ffffff !important;
    font-size: 29px !important;
    line-height: 1.05 !important;
    font-weight: 820 !important;
}

body .fi-header-subheading,
body .fi-header .text-gray-500,
body .fi-header .text-gray-400 {
    color: #8f9bad !important;
    font-size: 14px !important;
}

body .fi-header-actions {
    gap: 16px !important;
}

body .fi-header-actions .fi-btn,
body .fi-header-actions .fi-ac-btn-action {
    min-width: 184px !important;
    min-height: 44px !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 64, 80, 0.32) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 64, 80, 0.14), rgba(255, 64, 80, 0.075)),
        #111722 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body .fi-header-actions .fi-btn:hover,
body .fi-header-actions .fi-ac-btn-action:hover {
    border-color: rgba(255, 64, 80, 0.62) !important;
    background:
        linear-gradient(180deg, rgba(255, 64, 80, 0.2), rgba(255, 64, 80, 0.1)),
        #151c28 !important;
}

body .fi-header-actions .fi-btn svg,
body .fi-header-actions .fi-ac-btn-action svg {
    color: var(--ts-ref-red) !important;
}

body .fi-page-content {
    padding: 18px 30px 28px !important;
}

body .fi-wi-widget,
body .fi-wi-widget > div,
body .fi-wi-widget > section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .ts-admin-stats,
body .ts-admin-stats *,
body .ts-ops,
body .ts-ops * {
    box-sizing: border-box;
    letter-spacing: 0;
}

body .ts-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

body .ts-admin-stat {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 154px;
    overflow: hidden;
    padding: 22px 20px;
    border: 1px solid var(--ts-ref-line) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.055), transparent 34%),
        linear-gradient(180deg, rgba(17, 27, 39, 0.96), rgba(13, 20, 30, 0.96)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 18px 42px rgba(0, 0, 0, 0.18) !important;
}

body .ts-admin-stat-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: var(--ts-ref-red);
    background: rgba(255, 64, 80, 0.09);
}

body .ts-admin-stat-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ts-admin-stat-main {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding-left: 20px;
}

body .ts-admin-stat-label,
body .ts-admin-stat-description {
    color: var(--ts-ref-muted);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 680;
}

body .ts-admin-stat-value {
    color: #ffffff;
    font-size: 31px;
    line-height: .95;
    font-weight: 830;
    font-variant-numeric: tabular-nums;
}

body .ts-admin-stat-delta {
    align-self: end;
    color: var(--ts-ref-green);
    font-size: 13px;
    font-weight: 820;
}

body .ts-admin-stat-line {
    position: absolute;
    right: 20px;
    bottom: 10px;
    left: 20px;
    height: 2px;
    background: currentColor;
}

body .ts-admin-stat-red { color: var(--ts-ref-red); }
body .ts-admin-stat-violet { color: var(--ts-ref-violet); }
body .ts-admin-stat-blue { color: var(--ts-ref-blue); }
body .ts-admin-stat-orange { color: var(--ts-ref-orange); }

body .ts-admin-stat-violet .ts-admin-stat-icon { background: rgba(155, 108, 255, 0.1); }
body .ts-admin-stat-blue .ts-admin-stat-icon { background: rgba(75, 157, 255, 0.1); }
body .ts-admin-stat-orange .ts-admin-stat-icon { background: rgba(255, 146, 46, 0.1); }

body .ts-ops {
    display: grid;
    gap: 16px;
    width: 100%;
}

body .ts-ops-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 112px;
    overflow: hidden;
    border: 1px solid var(--ts-ref-line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 3% 0%, rgba(79, 117, 165, 0.09), transparent 25%),
        linear-gradient(180deg, rgba(17, 27, 39, 0.96), rgba(12, 19, 29, 0.96));
}

body .ts-ops-mini {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    padding: 20px 28px;
    color: #ffffff;
    text-decoration: none;
}

body .ts-ops-mini + .ts-ops-mini {
    border-left: 1px solid var(--ts-ref-line);
}

body .ts-ops-mini-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

body .ts-ops-mini-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ts-ops-mini span:last-child {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body .ts-ops-mini strong {
    color: #ffffff;
    font-size: 27px;
    line-height: .95;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

body .ts-ops-mini em {
    color: #b5bfcc;
    font-size: 15px;
    line-height: 1.12;
    font-style: normal;
    font-weight: 600;
}

body .ts-red { color: var(--ts-ref-red); }
body .ts-violet { color: var(--ts-ref-violet); }
body .ts-blue { color: var(--ts-ref-blue); }
body .ts-orange { color: var(--ts-ref-orange); }

body .ts-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(380px, 1.18fr);
    gap: 16px;
}

body .ts-dashboard-panel {
    min-width: 0;
    min-height: 378px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ts-ref-line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.04), transparent 36%),
        linear-gradient(180deg, rgba(17, 27, 39, 0.96), rgba(11, 18, 28, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 42px rgba(0, 0, 0, 0.18);
}

body .ts-panel-head {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 12px;
}

body .ts-panel-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 820;
}

body .ts-panel-head a {
    flex: 0 0 auto;
    border: 1px solid var(--ts-ref-line-strong);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(5, 9, 18, 0.32);
    color: #e7edf6 !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 720;
    text-decoration: none;
}

body .ts-panel-badge {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 64, 80, 0.34);
    border-radius: 8px;
    background: rgba(255, 64, 80, 0.16);
    color: var(--ts-ref-red);
    font-size: 12px;
    font-weight: 820;
}

body .ts-attention-list {
    margin: 0 14px;
    overflow: hidden;
    border: 1px solid rgba(139, 152, 171, 0.12);
    border-radius: 8px;
    background: rgba(6, 10, 17, 0.28);
}

body .ts-attention-row {
    min-height: 50px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    color: #cbd4df;
    text-decoration: none;
}

body .ts-attention-row + .ts-attention-row {
    border-top: 1px solid rgba(139, 152, 171, 0.12);
}

body .ts-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 16px currentColor;
}

body .ts-attention-row span:nth-child(2) {
    overflow: hidden;
    color: #bac4d2;
    font-size: 14px;
    font-weight: 620;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-attention-row strong {
    color: #e9eef6;
    font-size: 15px;
    font-weight: 780;
    font-variant-numeric: tabular-nums;
}

body .ts-attention-row i {
    color: #697589;
    font-size: 25px;
    font-style: normal;
    line-height: 1;
}

body .ts-income-card {
    position: relative;
    min-height: 132px;
    margin: 24px 14px 14px;
    overflow: hidden;
    border: 1px solid rgba(139, 152, 171, 0.12);
    border-radius: 8px;
    padding: 14px 14px 0;
    background: rgba(6, 10, 17, 0.22);
}

body .ts-income-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

body .ts-income-head span {
    color: #a9b4c4;
    font-size: 14px;
    font-weight: 650;
}

body .ts-income-head em {
    border: 1px solid rgba(139, 152, 171, 0.16);
    border-radius: 8px;
    padding: 7px 10px;
    color: #c6ceda;
    font-size: 12px;
    font-style: normal;
    font-weight: 740;
}

body .ts-income-card > strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 27px;
    line-height: 1;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

body .ts-income-card small {
    color: #e4ebf5;
    font-size: 12px;
    font-weight: 820;
}

body .ts-income-chart {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 86px;
}

body .ts-import-list {
    display: grid;
    margin-top: 2px;
}

body .ts-import-row {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    border-top: 1px solid rgba(139, 152, 171, 0.12);
}

body .ts-file-icon {
    width: 27px;
    height: 31px;
    color: #e9eef6;
}

body .ts-file-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ts-import-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body .ts-import-copy strong,
body .ts-import-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-import-copy strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 780;
}

body .ts-import-copy em {
    color: #9aa6b8;
    font-size: 13px;
    font-style: normal;
    font-weight: 580;
}

body .ts-import-row b {
    border-radius: 6px;
    padding: 6px 9px;
    background: rgba(30, 217, 133, 0.13);
    color: #4ee29a;
    font-size: 12px;
    font-weight: 820;
}

body .ts-panel-link {
    margin: auto 20px 18px;
    color: var(--ts-ref-red) !important;
    font-size: 14px;
    font-weight: 820;
    text-decoration: none;
}

body .ts-artists-table {
    display: grid;
}

body .ts-artists-head,
body .ts-artist-row {
    display: grid;
    grid-template-columns: minmax(136px, 1fr) minmax(116px, .9fr) 34px;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}

body .ts-artists-head {
    min-height: 35px;
    color: #9da9ba;
    font-size: 11px;
    font-weight: 760;
}

body .ts-artists-head span:last-child {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-artist-row {
    min-height: 58px;
    border-top: 1px solid rgba(139, 152, 171, 0.12);
    color: #bcc6d3;
    font-size: 13px;
    font-weight: 620;
}

body .ts-artist-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body .ts-artist-main img,
body .ts-artist-main i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    object-fit: cover;
    background:
        linear-gradient(135deg, rgba(255, 64, 80, 0.36), rgba(255, 146, 46, 0.28)),
        #1a2330;
    color: #ffffff;
    font-style: normal;
    font-weight: 850;
}

body .ts-artist-main strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-artist-row > span:not(.ts-artist-main):not(.ts-check) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-artist-row em {
    display: inline-flex;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 64, 80, 0.48);
    border-radius: 8px;
    padding: 4px 8px;
    color: #d8e0ea;
    font-size: 12px;
    font-style: normal;
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-check {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    justify-self: center;
    border: 1px solid currentColor;
    border-radius: 999px;
}

body .ts-check svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ts-check.is-ok { color: #1ed985; }
body .ts-check.is-bad { color: #ff4050; }

body .ts-empty {
    min-height: 170px;
    display: grid;
    place-items: center;
    color: #8c98aa;
    font-size: 14px;
    font-weight: 650;
    text-align: center;
}

@media (max-width: 1320px) {
    body .ts-admin-stats,
    body .ts-ops-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .ts-ops-mini:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--ts-ref-line);
    }

    body .ts-ops-mini:nth-child(4) {
        border-top: 1px solid var(--ts-ref-line);
    }

    body .ts-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .ts-dashboard-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    body .fi-page-content {
        padding: 14px !important;
    }

    body .fi-header-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body .fi-header-actions .fi-btn,
    body .fi-header-actions .fi-ac-btn-action {
        min-width: 0 !important;
    }

    body .ts-admin-stats,
    body .ts-ops-strip,
    body .ts-dashboard-grid {
        grid-template-columns: 1fr;
    }

    body .ts-ops-mini,
    body .ts-ops-mini:nth-child(3),
    body .ts-ops-mini:nth-child(4) {
        border-left: 0 !important;
        border-top: 1px solid var(--ts-ref-line);
    }

    body .ts-ops-mini:first-child {
        border-top: 0 !important;
    }

    body .ts-admin-stat {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    body .ts-admin-stat-delta {
        position: absolute;
        right: 20px;
        bottom: 25px;
    }

    body .ts-dashboard-panel:last-child {
        grid-column: auto;
    }

    body .ts-artists-head {
        display: none;
    }

    body .ts-artist-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 74px;
    }

    body .ts-artist-row > span:nth-child(2) {
        display: none;
    }
}

/* Dashboard spacing and sidebar footer polish. */
body .fi-sidebar {
    width: 292px !important;
    display: flex !important;
    flex-direction: column !important;
}

body .fi-sidebar-header {
    min-height: 98px !important;
    padding: 27px 30px 18px !important;
}

body .fi-sidebar-header img {
    width: 186px !important;
}

body .fi-sidebar-open-collapse-sidebar-btn,
body .fi-sidebar-close-collapse-sidebar-btn,
body .fi-topbar-open-collapse-sidebar-btn,
body .fi-topbar-close-collapse-sidebar-btn {
    display: none !important;
}

body .fi-sidebar-header-logo-ctn {
    margin-inline-start: 0 !important;
}

body .fi-sidebar-group-label,
body .fi-sidebar-group-collapse-btn,
body .fi-sidebar-group-dropdown-trigger-btn {
    display: none !important;
}

body .fi-sidebar-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 14px 18px !important;
    overflow-y: auto !important;
}

body .fi-sidebar-nav-groups {
    gap: 8px !important;
}

body .fi-sidebar-group-items {
    gap: 8px !important;
}

body .fi-sidebar-group,
body .fi-sidebar-group-content,
body .fi-sidebar-nav-items {
    margin: 0 !important;
    gap: 8px !important;
}

body .fi-sidebar-item {
    margin: 0 !important;
    background: transparent !important;
}

body .fi-sidebar-item-btn,
body .fi-sidebar-item a,
body .fi-sidebar-item button,
body .fi-sidebar-nav a,
body .fi-sidebar-nav button {
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
}

body .fi-sidebar-item-icon,
body .fi-sidebar-item svg,
body .fi-sidebar-nav svg {
    width: 22px !important;
    height: 22px !important;
}

body .fi-sidebar-item-label {
    font-size: 14px !important;
    font-weight: 720 !important;
}

body .fi-sidebar-group-label {
    padding: 17px 18px 8px !important;
}

body .fi-page-content {
    padding: 38px 38px 32px !important;
}

body .fi-header {
    padding-top: 6px !important;
    margin-bottom: 42px !important;
}

body .fi-header-heading {
    font-size: 34px !important;
    line-height: 1.06 !important;
}

body .fi-header-actions {
    align-self: center !important;
}

body .fi-page-content > .fi-wi-widgets,
body .fi-page-content .fi-wi-widgets,
body .fi-page-content .fi-wi-widgets-ctn {
    gap: 22px !important;
}

body .ts-admin-stats {
    gap: 20px !important;
    max-width: none !important;
    margin: 0 !important;
}

body .ts-admin-stat {
    min-height: 142px !important;
    padding: 22px 25px !important;
}

body .ts-admin-stat-main {
    padding-left: 22px !important;
}

body .ts-ops {
    gap: 20px !important;
    max-width: none !important;
    margin: 0 !important;
}

body .ts-ops-strip {
    min-height: 116px !important;
    margin-top: 4px !important;
}

body .ts-ops-mini {
    padding: 22px 30px !important;
}

body .ts-dashboard-grid {
    gap: 20px !important;
}

body .ts-dashboard-panel {
    min-height: 382px !important;
}

body .ts-panel-head {
    padding: 24px 24px 16px !important;
}

body .ts-attention-list,
body .ts-income-card {
    margin-right: 18px !important;
    margin-left: 18px !important;
}

body .ts-import-row,
body .ts-artists-head,
body .ts-artist-row {
    padding-right: 24px !important;
    padding-left: 24px !important;
}

body .fi-sidebar-footer {
    display: none !important;
}

body .ts-sidebar-footer {
    flex: 0 0 auto;
    display: grid;
    gap: 12px;
    padding: 14px 22px 20px;
    border-top: 1px solid rgba(139, 152, 171, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.03));
}

body .ts-sidebar-user {
    min-height: 62px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 152, 171, 0.16);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(13, 20, 30, 0.82);
}

body .ts-sidebar-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 64, 80, 0.32);
    border-radius: 999px;
    background: rgba(255, 64, 80, 0.16);
    color: #ffffff;
    font-size: 15px;
    font-weight: 820;
    text-transform: uppercase;
}

body .ts-sidebar-user-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

body .ts-sidebar-user-copy strong,
body .ts-sidebar-user-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .ts-sidebar-user-copy strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

body .ts-sidebar-user-copy em {
    color: #8f9bad;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

body .ts-sidebar-user-toggle,
body .ts-sidebar-collapse {
    border: 0;
    background: transparent;
    color: #9ba7b8;
}

body .ts-sidebar-user-toggle {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    padding: 0;
}

body .ts-sidebar-user-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ts-sidebar-collapse {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(139, 152, 171, 0.14);
    border-radius: 8px;
    color: #c2cad6;
    cursor: pointer;
    font-size: 13px;
    font-weight: 760;
}

body .ts-sidebar-collapse:hover {
    border-color: rgba(255, 64, 80, 0.34);
    color: #ffffff;
    background: rgba(255, 64, 80, 0.08);
}

body .ts-sidebar-collapse svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ts-sidebar-brandline {
    color: #5f6b7c;
    font-size: 11px;
    font-weight: 820;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

body:not(.fi-sidebar-open) .ts-sidebar-footer,
body .fi-sidebar:not(.fi-sidebar-open) .ts-sidebar-footer {
    display: none !important;
}

@media (max-width: 1320px) {
    body .fi-page-content {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
}

@media (max-width: 820px) {
    body .fi-page-content {
        padding: 20px 14px 20px !important;
    }

    body .fi-header {
        margin-bottom: 26px !important;
    }
}

/* Dashboard width pass: closer to the provided reference. */
body .fi-main,
body .fi-main-ctn,
body .fi-page,
body .fi-page-content {
    max-width: none !important;
}

body .fi-page {
    width: 100% !important;
}

body .fi-page-content {
    padding: 46px 64px 34px !important;
}

body .fi-header {
    max-width: 100% !important;
    margin: 0 0 32px !important;
    padding-top: 2px !important;
}

body .fi-header-heading {
    font-size: 34px !important;
}

body .fi-header-actions {
    gap: 14px !important;
}

body .fi-header-actions .fi-btn,
body .fi-header-actions .fi-ac-btn-action {
    min-width: 176px !important;
}

body .ts-admin-stats,
body .ts-ops {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body .ts-admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-top: 0 !important;
}

body .ts-admin-stat {
    min-height: 136px !important;
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    padding: 21px 26px !important;
}

body .ts-admin-stat-icon {
    width: 58px !important;
    height: 58px !important;
}

body .ts-admin-stat-value {
    font-size: 30px !important;
}

body .ts-ops {
    gap: 20px !important;
}

body .ts-ops-strip {
    width: 100% !important;
    min-height: 112px !important;
    margin-top: 0 !important;
}

body .ts-ops-mini {
    padding: 22px 34px !important;
}

body .ts-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.18fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

body .ts-dashboard-panel {
    min-height: 372px !important;
}

body .fi-sidebar-nav {
    padding-bottom: 10px !important;
}

body .fi-sidebar-group-label {
    padding-top: 14px !important;
}

body .ts-sidebar-footer {
    padding-top: 12px !important;
}

@media (min-width: 1600px) {
    body .fi-page-content {
        padding-right: 78px !important;
        padding-left: 78px !important;
    }
}

@media (max-width: 1400px) {
    body .fi-page-content {
        padding-right: 38px !important;
        padding-left: 38px !important;
    }

    body .fi-header-actions .fi-btn,
    body .fi-header-actions .fi-ac-btn-action {
        min-width: 150px !important;
    }
}

/* Wide dashboard correction: remove inner centering and add sidebar breathing room. */
body .fi-main,
body .fi-main-ctn,
body .fi-page,
body .fi-page-content,
body .fi-page-content > *,
body .fi-wi-widgets,
body .fi-wi-widgets-ctn,
body .fi-wi-widget,
body .fi-wi-widget > div,
body .fi-wi-widget > section {
    width: 100% !important;
    max-width: none !important;
}

body .fi-page,
body .fi-page-content,
body .fi-wi-widgets,
body .fi-wi-widgets-ctn {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body .fi-page-content {
    padding: 42px 58px 34px !important;
}

body .fi-header {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 28px !important;
}

body .fi-header > div,
body .fi-header-actions {
    min-width: 0 !important;
}

body .fi-wi-widgets,
body .fi-wi-widgets-ctn {
    display: grid !important;
    gap: 22px !important;
}

body .ts-admin-stats,
body .ts-ops,
body .ts-ops-strip,
body .ts-dashboard-grid {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
}

body .ts-admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body .ts-admin-stat {
    min-width: 0 !important;
}

body .ts-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.24fr) !important;
}

body .fi-sidebar-header {
    min-height: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

body .fi-sidebar-nav {
    padding-top: 0 !important;
}

body .fi-sidebar-nav-groups {
    gap: 22px !important;
}

body .fi-sidebar-group-items {
    gap: 9px !important;
}

body .fi-sidebar-item-btn,
body .fi-sidebar-item a,
body .fi-sidebar-item button,
body .fi-sidebar-nav a,
body .fi-sidebar-nav button {
    height: 54px !important;
    min-height: 54px !important;
}

body .fi-sidebar-group-label {
    padding-top: 20px !important;
}

@media (min-width: 1500px) {
    body .fi-page-content {
        padding-right: 72px !important;
        padding-left: 72px !important;
    }
}

@media (max-width: 1280px) {
    body .fi-page-content {
        padding-right: 28px !important;
        padding-left: 28px !important;
    }
}

/* Hard reset for Filament max-width utility that was centering the dashboard. */
body .fi-main.fi-width-screen-2xl,
body .fi-main.fi-width-7xl,
body .fi-main.fi-width-full,
body main.fi-main {
    width: 100% !important;
    max-width: none !important;
}

body .fi-main.fi-width-screen-2xl {
    max-width: none !important;
}

/* Dashboard grid fix: Filament v4 renders dashboard widgets through schema grid-layout. */
body .ts-admin-dashboard-page,
body .ts-admin-dashboard-page .fi-page-main,
body .ts-admin-dashboard-page .fi-page-content,
body .ts-admin-dashboard-page .grid-layout,
body .ts-admin-dashboard-page .grid-layout-col,
body .ts-admin-dashboard-page .fi-wi-widget,
body .ts-admin-dashboard-page .fi-wi-widget > div,
body .ts-admin-dashboard-page .fi-wi-widget > section,
body .ts-admin-dashboard-page .ts-admin-stats,
body .ts-admin-dashboard-page .ts-ops,
body .ts-admin-dashboard-page .ts-ops-strip,
body .ts-admin-dashboard-page .ts-dashboard-grid {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    justify-self: stretch !important;
}

body .ts-admin-dashboard-page .grid-layout {
    --cols: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
}

body .ts-admin-dashboard-page .grid-layout > *,
body .ts-admin-dashboard-page .grid-layout-col,
body .ts-admin-dashboard-page .fi-wi-widget {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
}

body .ts-admin-dashboard-page .fi-page-content {
    padding-inline: clamp(38px, 4.25vw, 78px) !important;
}

body .ts-admin-dashboard-page .ts-admin-stats {
    grid-template-columns: repeat(4, minmax(260px, 1fr)) !important;
}

body .ts-admin-dashboard-page .ts-dashboard-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(360px, 1.24fr) !important;
}

/* Dashboard alignment pass: match widgets to the header left edge. */
body .ts-admin-dashboard-page .fi-page-header-main-ctn,
body .ts-admin-dashboard-page .fi-page-main {
    width: 100% !important;
    max-width: none !important;
}

body .ts-admin-dashboard-page .fi-header {
    margin-bottom: 18px !important;
}

body .ts-admin-dashboard-page .fi-page-content {
    padding: 10px clamp(34px, 3vw, 54px) 34px 0 !important;
}

body .ts-admin-dashboard-page .grid-layout {
    align-items: start !important;
}

body .ts-admin-dashboard-page .ts-admin-stats {
    gap: 24px !important;
    grid-template-columns: repeat(4, minmax(240px, 1fr)) !important;
}

body .ts-admin-dashboard-page .ts-ops {
    gap: 24px !important;
}

/* Compact KPI cards. */
body .ts-admin-dashboard-page .ts-admin-stat {
    min-height: 104px !important;
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    padding: 15px 22px 18px !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-icon {
    width: 48px !important;
    height: 48px !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-icon svg {
    width: 23px !important;
    height: 23px !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-main {
    gap: 5px !important;
    padding-left: 14px !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-label,
body .ts-admin-dashboard-page .ts-admin-stat-description {
    font-size: 12px !important;
    line-height: 1.15 !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-value {
    font-size: 26px !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-delta {
    font-size: 12px !important;
}

body .ts-admin-dashboard-page .ts-admin-stat-line {
    right: 20px !important;
    bottom: 8px !important;
    left: 20px !important;
}

/* Final sidebar skin: one continuous panel, no nested menu slab. */
body .fi-sidebar,
body .fi-main-sidebar,
body aside.fi-sidebar {
    width: 292px !important;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 64, 80, 0.22), transparent 31%),
        radial-gradient(circle at 76% 40%, rgba(255, 64, 80, 0.1), transparent 34%),
        linear-gradient(180deg, #211826 0%, #35151f 46%, #0c1621 100%) !important;
    border-right: 1px solid rgba(255, 64, 80, 0.16) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03), 18px 0 38px rgba(0, 0, 0, 0.2) !important;
}

body .fi-sidebar::before,
body .fi-sidebar::after,
body .fi-sidebar-header-ctn,
body .fi-sidebar-header,
body .fi-sidebar-nav,
body .fi-sidebar-nav-groups,
body .fi-sidebar-group,
body .fi-sidebar-group-content,
body .fi-sidebar-group-items,
body .fi-sidebar-nav-items,
body .fi-sidebar-footer,
body .ts-sidebar-footer {
    background: transparent !important;
    box-shadow: none !important;
}

body .fi-sidebar-header {
    min-height: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

body .fi-sidebar-nav {
    padding: 0 16px 18px !important;
}

body .fi-sidebar-nav-groups,
body .fi-sidebar-group,
body .fi-sidebar-group-content,
body .fi-sidebar-group-items,
body .fi-sidebar-nav-items {
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .fi-sidebar-item,
body .fi-sidebar-item-btn,
body .fi-sidebar-item a,
body .fi-sidebar-item button,
body .fi-sidebar-nav a,
body .fi-sidebar-nav button {
    background: transparent !important;
    box-shadow: none !important;
}

body .fi-sidebar-item-btn,
body .fi-sidebar-item a,
body .fi-sidebar-item button,
body .fi-sidebar-nav a,
body .fi-sidebar-nav button {
    height: 52px !important;
    min-height: 52px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    color: #f4f6fb !important;
}

body .fi-sidebar-item a:hover,
body .fi-sidebar-item button:hover,
body .fi-sidebar-nav a:hover,
body .fi-sidebar-nav button:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 64, 80, 0.18) !important;
}

body .fi-sidebar-item.fi-active a,
body .fi-sidebar-item.fi-active button,
body .fi-sidebar-nav a[aria-current="page"],
body .fi-sidebar-nav a.fi-active,
body .fi-sidebar-nav button.fi-active {
    background:
        linear-gradient(90deg, rgba(255, 64, 80, 0.28), rgba(255, 255, 255, 0.04)) !important;
    border-color: rgba(255, 64, 80, 0.68) !important;
    box-shadow: 0 18px 34px rgba(255, 64, 80, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body .fi-sidebar-group-label,
body .fi-sidebar-group-collapse-btn,
body .fi-sidebar-group-dropdown-trigger-btn,
body .fi-sidebar-open-collapse-sidebar-btn,
body .fi-sidebar-close-collapse-sidebar-btn,
body .fi-topbar-open-collapse-sidebar-btn,
body .fi-topbar-close-collapse-sidebar-btn {
    display: none !important;
}

body .ts-sidebar-footer {
    padding: 12px 16px 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
