/* User-selectable color themes. Dark is the product default; light overrides
   retain the same dimensional fintech hierarchy and component geometry. */

html {
  color-scheme: dark;
}

html[data-ui-theme="light"] {
  color-scheme: light;
}

.theme-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(3, 8, 18, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.theme-switcher__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 66px;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #78869c;
  font: 600 0.68rem/1 var(--font-body, Inter, sans-serif);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.theme-switcher__option svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-switcher__option:hover {
  color: #dce5f4;
}

.theme-switcher__option:focus-visible {
  outline: 2px solid #82a6ff;
  outline-offset: 2px;
}

.theme-switcher__option.is-active {
  background: linear-gradient(145deg, rgba(79, 124, 255, 0.23), rgba(79, 124, 255, 0.1));
  color: #e9efff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 5px 14px rgba(0, 0, 0, 0.16);
}

.dash-sidebar__theme,
.site-nav-drawer__theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dash-sidebar__theme {
  margin: 0 0.35rem 0.65rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
}

.dash-sidebar__theme > span,
.site-nav-drawer__theme > span {
  color: #708097;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dash-mobile-bar__theme {
  margin-left: auto;
}

.dash-mobile-bar__theme .theme-switcher__option span {
  display: none;
}

.dash-mobile-bar__theme .theme-switcher__option {
  min-width: 34px;
  width: 34px;
  padding-inline: 0;
}

.site-nav-drawer__theme {
  margin: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

/* Light semantic tokens — surfaces/text only; brand hues stay from preset :root */
html[data-ui-theme="light"] body.fintech-ui {
  --fin-bg: #f3f6fb;
  --fin-surface: #ffffff;
  --fin-border: rgba(40, 61, 96, 0.13);
  --fin-text: #111c30;
  --fin-muted: #64748b;
  --color-bg: #f3f6fb;
  --color-surface: #ffffff;
  --color-surface-soft: #f7f9fc;
  --color-text: #111c30;
  --color-muted: #64748b;
  --color-border: rgba(40, 61, 96, 0.13);
  --app-bg: var(--fin-bg);
  --app-panel: rgba(255, 255, 255, 0.85);
  --app-panel-solid: #ffffff;
  --app-panel-raised: #ffffff;
  --app-line: var(--fin-border);
  --app-line-blue: color-mix(in srgb, var(--fin-blue) 25%, transparent);
  --app-blue: var(--fin-blue);
  --app-blue-bright: var(--fin-blue-bright);
  --app-gold: var(--fin-gold);
  --app-green: var(--fin-green);
  --app-text: var(--fin-text);
  --app-muted: var(--fin-muted);
  --shadow-sm: 0 6px 20px rgba(25, 44, 77, 0.07);
  --shadow-md: 0 18px 45px rgba(25, 44, 77, 0.1);
  --shadow-lg: 0 30px 75px rgba(25, 44, 77, 0.14);
  background: var(--fin-bg);
  color: var(--fin-text);
}

html[data-ui-theme="light"] body.fintech-ui .muted {
  color: var(--fin-muted);
}

html[data-ui-theme="light"] body.fintech-ui a {
  color: var(--fin-blue);
}

html[data-ui-theme="light"] body.fintech-ui a:hover {
  color: var(--fin-primary-dark, var(--color-primary-dark));
}

html[data-ui-theme="light"] body.fintech-ui a.btn-primary,
html[data-ui-theme="light"] body.fintech-ui a.btn-primary:hover,
html[data-ui-theme="light"] body.fintech-ui .btn-primary,
html[data-ui-theme="light"] body.fintech-ui .btn-primary:hover {
  color: #fff;
}

/* Switcher in light mode */
html[data-ui-theme="light"] .theme-switcher {
  border-color: rgba(40, 61, 96, 0.14);
  background: rgba(224, 231, 242, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-ui-theme="light"] .theme-switcher__option {
  color: #718096;
}

html[data-ui-theme="light"] .theme-switcher__option:hover {
  color: #243552;
}

html[data-ui-theme="light"] .theme-switcher__option:focus-visible {
  outline-color: var(--fin-blue-bright);
}

html[data-ui-theme="light"] .theme-switcher__option.is-active {
  background: #ffffff;
  color: var(--fin-primary-dark, var(--color-primary-dark));
  box-shadow: 0 4px 12px rgba(38, 57, 91, 0.12), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] .dash-sidebar__theme,
html[data-ui-theme="light"] .site-nav-drawer__theme {
  border-color: rgba(40, 61, 96, 0.11);
  background: rgba(238, 243, 250, 0.8);
}

html[data-ui-theme="light"] .dash-sidebar__theme > span,
html[data-ui-theme="light"] .site-nav-drawer__theme > span {
  color: #77869c;
}

/* Shared header/footer/auth */
html[data-ui-theme="light"] body.fintech-ui .site-header {
  border-bottom-color: rgba(40, 61, 96, 0.11);
  background: rgba(248, 250, 253, 0.82);
  box-shadow: 0 10px 35px rgba(34, 52, 82, 0.06);
}

html[data-ui-theme="light"] body.fintech-ui .site-topbar {
  border-bottom-color: rgba(40, 61, 96, 0.09);
  background: rgba(237, 242, 249, 0.94);
  color: #66758b;
}

html[data-ui-theme="light"] body.fintech-ui .site-header .brand {
  color: #101b2e;
}

html[data-ui-theme="light"] body.fintech-ui .site-header .brand img,
html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .brand img,
html[data-ui-theme="light"] body.fintech-ui .dash-mobile-bar .brand img {
  border: 0;
  background: transparent;
  box-shadow:
    0 9px 23px rgba(35, 53, 84, 0.16),
    0 0 24px rgba(49, 95, 219, 0.1);
}

html[data-ui-theme="light"] body.fintech-ui .brand:hover img {
  box-shadow:
    0 13px 28px rgba(35, 53, 84, 0.2),
    0 0 30px rgba(49, 95, 219, 0.16);
}

html[data-ui-theme="light"] body.fintech-ui .site-header .nav a:not(.btn) {
  color: #526278;
}

html[data-ui-theme="light"] body.fintech-ui .site-header .nav a:not(.btn):hover {
  color: #15223a;
}

html[data-ui-theme="light"] body.fintech-ui .site-menu-toggle,
html[data-ui-theme="light"] body.fintech-ui .dash-menu-toggle {
  border-color: rgba(49, 95, 219, 0.18);
  background: rgba(49, 95, 219, 0.07);
  color: #244bb5;
}

html[data-ui-theme="light"] body.fintech-ui .site-nav-drawer {
  border-color: rgba(40, 61, 96, 0.12);
  background: rgba(250, 252, 255, 0.98);
  color: #111c30;
  box-shadow: 24px 0 60px rgba(31, 49, 81, 0.18);
}

html[data-ui-theme="light"] body.fintech-ui .site-nav-backdrop:not([hidden]) {
  background: rgba(36, 51, 75, 0.35);
}

html[data-ui-theme="light"] body.fintech-ui .site-footer {
  border-top-color: rgba(40, 61, 96, 0.1);
  background: #eaf0f7;
  color: #68778c;
}

html[data-ui-theme="light"] body.fintech-ui .site-footer .social-link {
  border-color: rgba(40, 61, 96, 0.12);
  background: #ffffff;
  color: #52647c;
}

html[data-ui-theme="light"] body.fintech-ui .auth-page {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(67, 111, 221, 0.12), transparent 70%),
    radial-gradient(ellipse 30% 25% at 90% 80%, rgba(214, 154, 51, 0.08), transparent 70%),
    #f3f6fb;
}

html[data-ui-theme="light"] body.fintech-ui .auth-card {
  border-color: rgba(40, 61, 96, 0.13);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 254, 0.96));
  box-shadow: 0 30px 75px rgba(25, 44, 77, 0.14);
}

html[data-ui-theme="light"] body.fintech-ui .auth-card h1 {
  color: #111c30;
}

/* Dashboard shell */
html[data-ui-theme="light"] body.fintech-ui .dash-shell {
  background:
    radial-gradient(ellipse 55% 42% at 92% -4%, rgba(67, 111, 221, 0.13), transparent 68%),
    radial-gradient(ellipse 35% 30% at 8% 100%, rgba(35, 166, 190, 0.07), transparent 70%),
    linear-gradient(145deg, #f8fafd 0%, #f2f5fa 48%, #edf2f8 100%);
}

html[data-ui-theme="light"] body.fintech-ui .dash-grid {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(58, 80, 116, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 80, 116, 0.055) 1px, transparent 1px);
}

html[data-ui-theme="light"] body.fintech-ui .dash-ambient--blue {
  background: rgba(76, 119, 224, 0.14);
}

html[data-ui-theme="light"] body.fintech-ui .dash-ambient--gold {
  background: rgba(210, 147, 37, 0.08);
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar {
  border-right-color: rgba(40, 61, 96, 0.11);
  background:
    linear-gradient(180deg, rgba(49, 95, 219, 0.07), transparent 22%),
    rgba(249, 251, 254, 0.88);
  box-shadow: 18px 0 55px rgba(31, 49, 81, 0.07);
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar__head {
  border-bottom-color: rgba(40, 61, 96, 0.1);
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .brand {
  color: #111c30;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar__balance {
  border-color: rgba(49, 95, 219, 0.17);
  background:
    radial-gradient(circle at 90% 10%, rgba(68, 111, 219, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(228, 236, 251, 0.88), rgba(247, 250, 254, 0.96));
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px rgba(35, 53, 84, 0.07);
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar__balance::after {
  border-color: rgba(49, 95, 219, 0.14);
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar__balance span {
  color: #718198;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar__balance strong {
  color: #1f355b;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .nav-link {
  color: #68788f;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .nav-link:hover {
  border-color: rgba(49, 95, 219, 0.12);
  background: rgba(49, 95, 219, 0.06);
  color: #1f355b;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .nav-link.active {
  border-color: rgba(49, 95, 219, 0.18);
  background: linear-gradient(90deg, rgba(49, 95, 219, 0.14), rgba(49, 95, 219, 0.05));
  color: #17356f;
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(35, 68, 145, 0.08);
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .nav-ico {
  color: #5574b6;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar .nav-menu__divider {
  border-top-color: rgba(40, 61, 96, 0.1);
}

html[data-ui-theme="light"] body.fintech-ui .dash-commandbar {
  border-bottom-color: rgba(40, 61, 96, 0.1);
  color: #78879b;
}

html[data-ui-theme="light"] body.fintech-ui .dash-commandbar__status {
  color: #3b7e63;
}

html[data-ui-theme="light"] body.fintech-ui .dash-commandbar__mark {
  border-color: #496fc6;
}

html[data-ui-theme="light"] body.fintech-ui .dash-mobile-bar {
  border-bottom-color: rgba(40, 61, 96, 0.11);
  background: rgba(249, 251, 254, 0.9);
  box-shadow: 0 12px 30px rgba(31, 49, 81, 0.08);
}

html[data-ui-theme="light"] body.fintech-ui .dash-mobile-bar .brand {
  color: #111c30;
}

html[data-ui-theme="light"] body.fintech-ui .dash-sidebar-backdrop:not([hidden]) {
  background: rgba(33, 49, 73, 0.34);
}

html[data-ui-theme="light"] body.fintech-ui .dash-menu-close {
  border-color: rgba(40, 61, 96, 0.14);
  background: #f5f8fc;
  color: #243552;
}

/* Light cards, forms, data */
html[data-ui-theme="light"] body.fintech-ui .card,
html[data-ui-theme="light"] body.fintech-ui .stat-card,
html[data-ui-theme="light"] body.fintech-ui .orders-panel,
html[data-ui-theme="light"] body.fintech-ui .orders-stat,
html[data-ui-theme="light"] body.fintech-ui .admin-order-card,
html[data-ui-theme="light"] body.fintech-ui .users-detail-panel,
html[data-ui-theme="light"] body.fintech-ui .dashboard-section {
  border-color: rgba(40, 61, 96, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 254, 0.92));
  box-shadow: 0 20px 48px rgba(25, 44, 77, 0.08), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .card:hover,
html[data-ui-theme="light"] body.fintech-ui .admin-order-card:hover {
  border-color: rgba(49, 95, 219, 0.22);
  box-shadow: 0 27px 58px rgba(25, 44, 77, 0.12), 0 0 40px rgba(49, 95, 219, 0.04);
}

html[data-ui-theme="light"] body.fintech-ui h1,
html[data-ui-theme="light"] body.fintech-ui h2,
html[data-ui-theme="light"] body.fintech-ui h3,
html[data-ui-theme="light"] body.fintech-ui h4,
html[data-ui-theme="light"] body.fintech-ui .fin-page-header h1 {
  color: #111c30;
}

html[data-ui-theme="light"] body.fintech-ui .fin-page-header h1 span {
  color: #7b8ba1;
}

html[data-ui-theme="light"] body.fintech-ui .fin-page-header .muted {
  color: #66758b;
}

html[data-ui-theme="light"] body.fintech-ui .page-kicker {
  color: #315fdb;
}

html[data-ui-theme="light"] body.fintech-ui .form-group label {
  color: #4e5e74;
}

html[data-ui-theme="light"] body.fintech-ui .form-control,
html[data-ui-theme="light"] body.fintech-ui select.form-control,
html[data-ui-theme="light"] body.fintech-ui textarea.form-control {
  border-color: rgba(40, 61, 96, 0.14);
  background: rgba(250, 252, 255, 0.95);
  color: #17243a;
  box-shadow: inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .form-control:hover {
  border-color: rgba(49, 95, 219, 0.25);
}

html[data-ui-theme="light"] body.fintech-ui .form-control:focus {
  border-color: rgba(49, 95, 219, 0.5);
  box-shadow: 0 0 0 3px rgba(49, 95, 219, 0.12), 0 8px 22px rgba(25, 44, 77, 0.07);
}

html[data-ui-theme="light"] body.fintech-ui .form-control::placeholder {
  color: #8996a8;
}

html[data-ui-theme="light"] body.fintech-ui .btn-outline,
html[data-ui-theme="light"] body.fintech-ui .btn-secondary,
html[data-ui-theme="light"] body.fintech-ui a.btn-outline,
html[data-ui-theme="light"] body.fintech-ui a.btn-secondary {
  border-color: rgba(40, 61, 96, 0.18);
  background: #ffffff;
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui .btn-outline:hover,
html[data-ui-theme="light"] body.fintech-ui .btn-secondary:hover,
html[data-ui-theme="light"] body.fintech-ui a.btn-outline:hover,
html[data-ui-theme="light"] body.fintech-ui a.btn-secondary:hover {
  border-color: rgba(49, 95, 219, 0.35);
  background: #f3f6fb;
  color: #0f1a2c;
}

html[data-ui-theme="light"] body.fintech-ui .table-wrap,
html[data-ui-theme="light"] body.fintech-ui .dashboard-table-wrap,
html[data-ui-theme="light"] body.fintech-ui .orders-table-wrap {
  border-color: rgba(40, 61, 96, 0.11);
  background: rgba(250, 252, 255, 0.78);
}

html[data-ui-theme="light"] body.fintech-ui table.data {
  color: #28374e;
}

html[data-ui-theme="light"] body.fintech-ui table.data th {
  background: rgba(238, 243, 250, 0.98);
  color: #697991;
}

html[data-ui-theme="light"] body.fintech-ui table.data td {
  border-bottom-color: rgba(40, 61, 96, 0.08);
}

html[data-ui-theme="light"] body.fintech-ui table.data tbody tr:hover td {
  background: rgba(49, 95, 219, 0.045);
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-metrics .stat-card {
  border-color: rgba(40, 61, 96, 0.12);
  background:
    radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), rgba(69, 111, 218, 0.1), transparent 40%),
    linear-gradient(145deg, #ffffff, #f5f8fc);
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-metrics .stat-card--balance {
  background:
    radial-gradient(circle at 88% 16%, rgba(202, 135, 25, 0.11), transparent 35%),
    linear-gradient(145deg, rgba(228, 236, 251, 0.95), #ffffff);
}

html[data-ui-theme="light"] body.fintech-ui .stat-card__icon {
  border-color: rgba(49, 95, 219, 0.16);
  background: linear-gradient(145deg, rgba(49, 95, 219, 0.11), rgba(49, 95, 219, 0.04));
  color: #315fdb;
  box-shadow: 0 14px 28px rgba(49, 95, 219, 0.09), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .stat-card--balance .stat-card__icon {
  border-color: rgba(184, 116, 18, 0.2);
  background: rgba(184, 116, 18, 0.07);
  color: #a76a12;
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-metrics .stat-card .muted,
html[data-ui-theme="light"] body.fintech-ui .admin-metrics .muted {
  color: #718096;
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-metrics .stat-card .value,
html[data-ui-theme="light"] body.fintech-ui .stat-card .value {
  color: #15243d;
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-section__head {
  border-bottom-color: rgba(40, 61, 96, 0.09);
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-section__head h2 {
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui .dashboard-section__eyebrow {
  color: #718096;
}

html[data-ui-theme="light"] body.fintech-ui .admin-metrics .stat-card {
  background: linear-gradient(150deg, #ffffff, #f6f9fd);
}

html[data-ui-theme="light"] body.fintech-ui .live-feed__head {
  background: linear-gradient(90deg, rgba(49, 95, 219, 0.07), transparent);
}

html[data-ui-theme="light"] body.fintech-ui .live-feed__item {
  border-bottom-color: rgba(40, 61, 96, 0.08);
}

html[data-ui-theme="light"] body.fintech-ui .live-feed__item:hover {
  background: rgba(49, 95, 219, 0.04);
}

html[data-ui-theme="light"] body.fintech-ui .admin-order-tabs {
  border-color: rgba(40, 61, 96, 0.11);
  background: rgba(231, 237, 246, 0.68);
}

html[data-ui-theme="light"] body.fintech-ui .admin-order-tabs a,
html[data-ui-theme="light"] body.fintech-ui .admin-order-tabs button {
  color: #64748b;
  background: transparent;
}

html[data-ui-theme="light"] body.fintech-ui .admin-order-tabs a.active,
html[data-ui-theme="light"] body.fintech-ui .admin-order-tabs button.active,
html[data-ui-theme="light"] body.fintech-ui .admin-order-tabs a.is-active {
  border-color: rgba(49, 95, 219, 0.17);
  background: #ffffff;
  color: #244fae;
  box-shadow: 0 5px 14px rgba(35, 53, 84, 0.09);
}

html[data-ui-theme="light"] body.fintech-ui .admin-quick-search__label {
  color: #718096;
}

html[data-ui-theme="light"] body.fintech-ui .admin-quick-search__input {
  background:
    linear-gradient(90deg, rgba(49, 95, 219, 0.05), transparent 45%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(25, 44, 77, 0.08);
}

html[data-ui-theme="light"] body.fintech-ui .admin-quick-search__results,
html[data-ui-theme="light"] body.fintech-ui .service-live-search__results {
  border-color: rgba(49, 95, 219, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 52px rgba(25, 44, 77, 0.16);
}

html[data-ui-theme="light"] body.fintech-ui .admin-service-group > summary h2,
html[data-ui-theme="light"] body.fintech-ui .users-detail h2 {
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui .users-detail-panel {
  border-color: rgba(40, 61, 96, 0.09);
  background: rgba(244, 248, 252, 0.72);
}

html[data-ui-theme="light"] body.fintech-ui .users-credits {
  color: #a76a12;
}

/* Services */
html[data-ui-theme="light"] body.fintech-ui .services-page__header {
  border-color: rgba(49, 95, 219, 0.15);
  background:
    radial-gradient(ellipse 45% 80% at 87% 18%, rgba(76, 119, 224, 0.16), transparent 70%),
    radial-gradient(ellipse 26% 55% at 12% 100%, rgba(202, 135, 25, 0.08), transparent 70%),
    linear-gradient(145deg, #ffffff, #edf3fc 58%, #f8fafd);
  box-shadow: 0 30px 70px rgba(25, 44, 77, 0.12), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .services-page__header::before {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(40, 61, 96, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 61, 96, 0.055) 1px, transparent 1px);
}

html[data-ui-theme="light"] body.fintech-ui .services-page__proof {
  color: #6f7e93;
}

html[data-ui-theme="light"] body.fintech-ui .services-page__proof strong {
  color: #243552;
}

html[data-ui-theme="light"] body.fintech-ui .services-page__proof i {
  background: #a3afbf;
}

html[data-ui-theme="light"] body.fintech-ui .services-page__online {
  color: #27765b;
}

html[data-ui-theme="light"] body.fintech-ui .service-live-search::before {
  color: #718096;
}

html[data-ui-theme="light"] body.fintech-ui .service-live-search__icon {
  color: #6079ae;
}

html[data-ui-theme="light"] body.fintech-ui .service-live-search__input {
  border-color: rgba(49, 95, 219, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(25, 44, 77, 0.11), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .service-category {
  border-color: rgba(40, 61, 96, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.94));
  color: #111c30;
  box-shadow: 0 17px 38px rgba(25, 44, 77, 0.075), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .service-category::before {
  background: radial-gradient(circle at 12% 18%, rgba(49, 95, 219, 0.1), transparent 48%);
}

html[data-ui-theme="light"] body.fintech-ui .service-category:hover:not(:disabled),
html[data-ui-theme="light"] body.fintech-ui .service-category.is-active {
  border-color: rgba(49, 95, 219, 0.25);
  background: linear-gradient(145deg, #ffffff, #eef4fd);
  box-shadow: 0 24px 52px rgba(25, 44, 77, 0.12), 0 0 36px rgba(49, 95, 219, 0.045);
}

html[data-ui-theme="light"] body.fintech-ui .service-category__icon-wrap {
  border-color: rgba(49, 95, 219, 0.16);
  background: linear-gradient(145deg, rgba(49, 95, 219, 0.12), rgba(49, 95, 219, 0.04));
  color: #315fdb;
  box-shadow: 0 12px 25px rgba(49, 95, 219, 0.09), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .service-category__title,
html[data-ui-theme="light"] body.fintech-ui .service-item__name {
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui .service-category__hint,
html[data-ui-theme="light"] body.fintech-ui .service-item__desc {
  color: #6b7a90;
}

html[data-ui-theme="light"] body.fintech-ui .service-category__badge {
  border-color: rgba(184, 116, 18, 0.17);
  background: rgba(184, 116, 18, 0.07);
  color: #9b6415;
}

html[data-ui-theme="light"] body.fintech-ui .service-catalog__panel {
  border-color: rgba(40, 61, 96, 0.11);
  background:
    radial-gradient(circle at 85% 0, rgba(49, 95, 219, 0.065), transparent 30%),
    rgba(249, 251, 254, 0.86);
  box-shadow: 0 24px 55px rgba(25, 44, 77, 0.09), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .service-catalog__head {
  border-bottom-color: rgba(40, 61, 96, 0.09);
}

html[data-ui-theme="light"] body.fintech-ui .service-catalog__head h2 {
  color: #15243d;
}

html[data-ui-theme="light"] body.fintech-ui .service-item {
  border-color: rgba(40, 61, 96, 0.11);
  background: linear-gradient(145deg, #ffffff, #f7f9fc);
  color: #111c30;
  box-shadow: inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .service-item::after {
  background: radial-gradient(circle at 12% 10%, rgba(49, 95, 219, 0.08), transparent 46%);
}

html[data-ui-theme="light"] body.fintech-ui .service-item:hover {
  border-color: rgba(49, 95, 219, 0.22);
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(25, 44, 77, 0.11);
}

html[data-ui-theme="light"] body.fintech-ui .service-item__service-icon {
  border-color: rgba(49, 95, 219, 0.13);
  background: rgba(49, 95, 219, 0.06);
}

html[data-ui-theme="light"] body.fintech-ui .service-item__chip {
  border-color: rgba(49, 95, 219, 0.12);
  background: rgba(49, 95, 219, 0.05);
  color: #536da6;
}

html[data-ui-theme="light"] body.fintech-ui .service-item__price {
  color: #a76a12;
}

html[data-ui-theme="light"] body.fintech-ui .service-item__cta {
  border-color: rgba(49, 95, 219, 0.17);
  background: rgba(49, 95, 219, 0.07);
  color: #315fdb;
}

html[data-ui-theme="light"] body.fintech-ui .service-modal {
  background: rgba(37, 52, 76, 0.42);
}

html[data-ui-theme="light"] body.fintech-ui .service-modal__dialog,
html[data-ui-theme="light"] body.fintech-ui .order-modal__dialog,
html[data-ui-theme="light"] body.fintech-ui .announcement-modal__dialog {
  border-color: rgba(49, 95, 219, 0.17);
  background:
    radial-gradient(circle at 100% 0, rgba(49, 95, 219, 0.09), transparent 35%),
    linear-gradient(155deg, #ffffff, #f1f5fb 58%, #fbfcfe);
  color: #111c30;
  box-shadow: 0 40px 95px rgba(25, 44, 77, 0.24), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui .service-modal__header {
  border-bottom-color: rgba(40, 61, 96, 0.09);
}

html[data-ui-theme="light"] body.fintech-ui .service-modal__order,
html[data-ui-theme="light"] body.fintech-ui .service-modal__details {
  border-color: rgba(40, 61, 96, 0.11);
  background: rgba(245, 248, 252, 0.72);
}

html[data-ui-theme="light"] body.fintech-ui .service-modal__close {
  border-color: rgba(40, 61, 96, 0.14);
  background: #f3f6fa;
  color: #34445c;
}

/* Homepage light mode */
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .home-page {
  background:
    radial-gradient(circle at 50% 12%, rgba(60, 104, 214, 0.1), transparent 30rem),
    #f4f7fb;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero {
  background:
    radial-gradient(ellipse 45% 42% at 75% 28%, rgba(67, 111, 221, 0.15), transparent 70%),
    radial-gradient(ellipse 35% 30% at 8% 18%, rgba(30, 150, 174, 0.08), transparent 70%),
    linear-gradient(180deg, #fbfcff 0%, #f3f7fc 76%, #edf2f8 100%);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero__grid {
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(58, 80, 116, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 80, 116, 0.065) 1px, transparent 1px);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero__glow--blue {
  background: rgba(67, 111, 221, 0.12);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero__glow--gold {
  background: rgba(202, 135, 25, 0.07);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-eyebrow {
  border-color: rgba(49, 95, 219, 0.2);
  background: rgba(49, 95, 219, 0.07);
  color: #3155a8;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero h1 {
  color: #101b2e;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-gradient-text {
  background: linear-gradient(105deg, #315fdb 4%, #597edb 44%, #b87412 94%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero__lead {
  color: #65758c;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-btn--ghost {
  border-color: rgba(49, 95, 219, 0.2);
  background: rgba(255, 255, 255, 0.66);
  color: #294d9f;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero__trust {
  color: #56667d;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero-stats__item {
  border-color: rgba(40, 61, 96, 0.11);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero-stats__item strong {
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-hero-stats__item span {
  color: #68778c;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-console {
  border-color: rgba(49, 95, 219, 0.17);
  background:
    radial-gradient(circle at 85% 10%, rgba(49, 95, 219, 0.12), transparent 38%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 251, 0.96));
  box-shadow: 0 42px 95px rgba(25, 44, 77, 0.17), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-console__topbar,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-console__orders {
  border-color: rgba(40, 61, 96, 0.09);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-console__balance > strong,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-order-row strong {
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-chart {
  border-color: rgba(40, 61, 96, 0.1);
  background: rgba(244, 248, 252, 0.78);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-order-row {
  border-color: rgba(40, 61, 96, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-float {
  border-color: rgba(49, 95, 219, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #17243a;
  box-shadow: 0 18px 42px rgba(25, 44, 77, 0.13), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-proof {
  border-color: rgba(40, 61, 96, 0.1);
  background: rgba(240, 244, 250, 0.9);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-proof__items {
  color: #526278;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-flow {
  border-top-color: rgba(40, 61, 96, 0.08);
  background:
    radial-gradient(circle at 50% 0, rgba(60, 104, 214, 0.09), transparent 30rem),
    #edf2f8;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-flow__heading h2 {
  color: #111c30;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-flow__heading h2 span {
  color: #8390a2;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-flow__heading > p {
  color: #64748b;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step {
  border-color: rgba(40, 61, 96, 0.11);
  background: linear-gradient(155deg, #ffffff, #f4f7fb);
  box-shadow: 0 24px 55px rgba(25, 44, 77, 0.09), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step:hover {
  border-color: rgba(49, 95, 219, 0.22);
  box-shadow: 0 31px 68px rgba(25, 44, 77, 0.13);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__visual {
  border-color: rgba(40, 61, 96, 0.1);
  background:
    radial-gradient(circle at 50% 20%, rgba(49, 95, 219, 0.09), transparent 55%),
    rgba(239, 244, 250, 0.8);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__search,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__catalog-row,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__field {
  border-color: rgba(49, 95, 219, 0.13);
  background: rgba(255, 255, 255, 0.82);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__catalog-row b,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__field b,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__visual--result b,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__copy h3 {
  color: #1b2b46;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .fintech-step__copy p {
  color: #64748b;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .home-page > .section:not(.fintech-flow),
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .home-page > section.section {
  background: #f4f7fb;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .home-features {
  background: linear-gradient(180deg, #f4f7fb, #edf2f8 50%, #f4f7fb) !important;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .section-title {
  color: #111c30;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .feature-card,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .category-card,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .service-card {
  border-color: rgba(40, 61, 96, 0.11);
  background: linear-gradient(150deg, #ffffff, #f5f8fc);
  box-shadow: 0 21px 48px rgba(25, 44, 77, 0.08), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .feature-card:hover,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .category-card:hover,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .service-card:hover {
  border-color: rgba(49, 95, 219, 0.22);
  box-shadow: 0 28px 62px rgba(25, 44, 77, 0.12);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .feature-card h3,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .category-card h3,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .service-card h3 {
  color: #17243a;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .feature-card p,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .category-card p,
html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .service-card p {
  color: #68778c;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .ad-carousel-section {
  background: #f4f7fb;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .ad-carousel__viewport {
  border-color: rgba(40, 61, 96, 0.11);
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(25, 44, 77, 0.1);
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .cta-banner {
  border-color: rgba(49, 95, 219, 0.16);
  background:
    radial-gradient(circle at 15% 30%, rgba(55, 104, 244, 0.14), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(184, 116, 18, 0.09), transparent 30%),
    linear-gradient(145deg, #ffffff, #edf3fb 58%, #f8fafd);
  box-shadow: 0 32px 75px rgba(25, 44, 77, 0.13), inset 0 1px 0 #fff;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .cta-banner h2 {
  color: #111c30;
}

html[data-ui-theme="light"] body.fintech-ui.page-home-fintech .cta-banner__text {
  color: #66758b;
}

/* Public content pages */
html[data-ui-theme="light"] body.fintech-ui .blog-card,
html[data-ui-theme="light"] body.fintech-ui .blog-post,
html[data-ui-theme="light"] body.fintech-ui .support-ticket-header,
html[data-ui-theme="light"] body.fintech-ui .service-order-form-error {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.28);
  color: #b91c1c;
}

html[data-ui-theme="light"] body.fintech-ui code,
html[data-ui-theme="light"] body.fintech-ui pre {
  color: #2e4f94;
  background: #eef3fa;
}

@media (max-width: 960px) {
  body.fintech-ui .site-header .site-header__nav-desktop {
    display: none;
  }

  body.fintech-ui .site-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-header__nav-desktop .theme-switcher {
    display: none;
  }
}

@media (min-width: 961px) {
  body.fintech-ui .site-menu-toggle {
    display: none;
  }
}

@media (max-width: 520px) {
  .dash-mobile-bar__brand span {
    display: none;
  }

  .dash-mobile-bar__theme {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-switcher__option {
    transition: none;
  }
}
