:root {
  color-scheme: dark;
  --navy-950: #050e1e;
  --navy-900: #07162e;
  --navy-850: #091b37;
  --navy-800: #0c2141;
  --navy-700: #12315b;
  --blue-500: #3783dc;
  --gold-500: #d4a335;
  --gold-300: #f5c75e;
  --green-400: #36c995;
  --red-400: #fb7185;
  --text-100: #f5f7fb;
  --text-300: #a7b3c7;
  --text-500: #72819a;
  --line: rgba(165, 184, 213, 0.13);
  --surface: rgba(12, 31, 59, 0.82);
  --surface-raised: #0d2342;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text-100); background: var(--navy-950); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 252px; flex-direction: column;
  padding: 23px 15px 17px; border-right: 1px solid var(--line); background: #07162e;
}
.brand { display: flex; align-items: center; justify-content: flex-start; gap: 11px; height: 72px; margin: 0 5px 25px; }
.brand img { display: block; width: 53px; height: 53px; border-radius: 12px; object-fit: contain; }
.brand-name { display: grid; gap: 2px; color: #f3f5f8; font-family: Manrope, "Segoe UI", sans-serif; line-height: 1; }
.brand-name b { font-size: 15px; font-weight: 800; letter-spacing: 1px; }
.brand-name small { color: #e7bd53; font-size: 9px; font-weight: 700; letter-spacing: 2.7px; }
.workspace-label, .eyebrow { color: #8292ac; font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.workspace-label { padding: 0 14px; margin-bottom: 12px; }
.navigation { display: grid; gap: 5px; }
.nav-link { position: relative; display: flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 13px; border: 1px solid transparent; border-radius: 10px; color: #9eacc2; font-size: 13px; transition: 180ms ease; }
.nav-link:hover { color: var(--text-100); background: rgba(255,255,255,.035); }
.nav-link.active { border-color: rgba(212, 163, 53, .16); color: #f7d889; background: linear-gradient(90deg, rgba(212,163,53,.15), rgba(212,163,53,.035)); }
.nav-link.active::before { position: absolute; top: 10px; bottom: 10px; left: -1px; width: 2px; border-radius: 3px; background: var(--gold-300); content: ""; }
.nav-icon { display: inline-grid; width: 21px; place-items: center; color: #899bb5; font-size: 19px; line-height: 1; }
.nav-link.active .nav-icon { color: var(--gold-300); }
.nav-divider { height: 1px; margin: 13px 10px; background: var(--line); }
.nav-link-disabled { cursor: default; opacity: .48; }
.nav-link-disabled small { margin-left: auto; color: #77869b; font-size: 9px; }
.sidebar-bottom { margin-top: auto; }
.secure-note { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-top: 1px solid var(--line); color: #778ba6; font-size: 10px; line-height: 1.55; }
.secure-note b { color: #b7c5d8; font-size: 11px; font-weight: 600; }
.secure-dot, .live-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 11px rgba(54,201,149,.4); }
.profile { display: flex; align-items: center; gap: 10px; padding: 12px 9px 2px; border-top: 1px solid var(--line); }
.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(245,199,94,.28); border-radius: 11px; color: var(--gold-300); background: linear-gradient(145deg,#173861,#0c1e39); font-size: 12px; font-weight: 700; }
.profile-copy { display: grid; min-width: 0; gap: 3px; }
.profile-copy b { overflow: hidden; color: #dbe3ee; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy span { color: #73849d; font-size: 10px; }
.profile-lock { margin-left: auto; color: #7287a2; font-size: 11px; }

.main-content { min-height: 100vh; margin-left: 252px; padding: 0 39px 24px; background: radial-gradient(ellipse at 70% 0%, rgba(19,53,95,.29), transparent 40%), var(--navy-950); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; min-height: 73px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: rgba(5,14,30,.88); backdrop-filter: blur(18px); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #7d8ca2; font-size: 12px; }
.breadcrumb b { color: #e2e8f1; font-weight: 600; }
.breadcrumb-separator { color: #475b77; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.period-control { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: #bac6d8; font-size: 11px; }
.period-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); }
.chevron { margin-left: 8px; color: #8293ac; font-size: 15px; }
.icon-button { display: inline-grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #b4c1d4; background: rgba(255,255,255,.025); cursor: pointer; transition: 160ms ease; }
.icon-button:hover { border-color: rgba(245,199,94,.35); color: var(--gold-300); background: rgba(245,199,94,.06); }
.primary-button, .secondary-button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 700; cursor: pointer; transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease; }
.primary-button { color: #111a29; background: linear-gradient(120deg,#f5cf72,#d7a639); box-shadow: 0 5px 17px rgba(212,163,53,.15); }
.primary-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.primary-button span { font-size: 17px; font-weight: 400; line-height: .8; }
.secondary-button { border-color: rgba(199,214,234,.17); color: #d0d9e7; background: rgba(255,255,255,.035); }
.secondary-button:hover { border-color: rgba(245,199,94,.35); background: rgba(255,255,255,.06); }
.compact { min-height: 36px; padding: 0 12px; font-size: 10px; }
.compact span { font-size: 15px; }
.page-view { max-width: 1440px; margin: 0 auto; padding-top: 32px; }
.welcome-row, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #8193ad; }
.live-dot { width: 6px; height: 6px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: #f4f6fb; font-family: Manrope, "Segoe UI", sans-serif; font-size: clamp(22px,2.4vw,29px); font-weight: 700; letter-spacing: -.75px; }
h1 span { color: var(--gold-300); }
.page-subtitle { margin-bottom: 0; color: #8291a7; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 16px; }
.metric-card { position: relative; min-height: 142px; overflow: hidden; padding: 17px 18px 15px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg,rgba(16,39,73,.93),rgba(9,26,50,.94)); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.balance-card { border-color: rgba(212,163,53,.25); background: linear-gradient(145deg,rgba(18,45,82,.98),rgba(10,27,51,.98)); }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric-label { color: #a9b5c8; font-size: 11px; }
.metric-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; font-size: 15px; font-weight: 700; }
.metric-icon.gold { color: var(--gold-300); background: rgba(212,163,53,.11); }
.metric-icon.green { color: var(--green-400); background: rgba(54,201,149,.1); }
.metric-icon.red { color: var(--red-400); background: rgba(251,113,133,.1); }
.metric-icon.blue { color: #63a8f5; background: rgba(55,131,220,.12); }
.metric-value { position: relative; z-index: 1; display: block; margin: 13px 0 10px; color: #f4f6fb; font-family: Manrope, "Segoe UI", sans-serif; font-size: clamp(20px,2.05vw,27px); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.8px; white-space: nowrap; }
.balance-card .metric-value { color: #f4d57f; }
.metric-count { font-size: 27px; }
.metric-foot { display: flex; align-items: center; gap: 6px; color: #778aa4; font-size: 10px; }
.metric-foot-icon { color: var(--green-400); font-size: 14px; }
.card-glow { position: absolute; top: 42px; right: 12px; width: 90px; height: 70px; border-radius: 50%; background: rgba(212,163,53,.08); filter: blur(27px); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(285px,.92fr); gap: 14px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.chart-panel, .accounts-panel, .activity-panel { padding: 17px 19px 15px; }
.panel-header { display: flex; min-height: 43px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-header h2, .insight-panel h2 { margin: 0 0 5px; color: #e8edf5; font-family: Manrope, "Segoe UI", sans-serif; font-size: 13px; font-weight: 700; }
.panel-header p { margin: 0; color: #7789a2; font-size: 10px; }
.legend { display: flex; align-items: center; gap: 5px; color: #8899b0; font-size: 9px; white-space: nowrap; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend-income { margin-left: 3px; background: var(--gold-300); }
.legend-expense { margin-left: 5px; background: #488bd4; }
.chart-area { height: 182px; padding: 10px 0 0; border-bottom: 1px solid rgba(163,180,205,.12); background: repeating-linear-gradient(to top,transparent 0,transparent 44px,rgba(156,177,207,.075) 45px,transparent 46px); }
.chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-label { fill: #73849b; font-family: "DM Sans", "Segoe UI", sans-serif; font-size: 10px; text-anchor: middle; }
.chart-income-bar { fill: #d4a335; }
.chart-expense-bar { fill: #3783dc; }
.chart-axis { display: flex; justify-content: space-between; padding-top: 10px; color: #65768e; font-size: 9px; }
.empty-chart { display: grid; height: 194px; place-items: center; color: #8091a8; font-size: 11px; text-align: center; }
.text-link { color: #d8b962; font-size: 10px; white-space: nowrap; }
.text-link span, .text-button span { margin-left: 3px; font-size: 14px; }
.account-list, .recent-list { display: grid; }
.account-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid rgba(163,180,205,.09); }
.account-row:first-child { margin-top: 4px; }
.account-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(245,199,94,.16); border-radius: 10px; color: var(--gold-300); background: rgba(212,163,53,.08); font-size: 15px; }
.account-copy { display: grid; min-width: 0; gap: 4px; }
.account-copy b { overflow: hidden; color: #dbe3ee; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.account-copy span { overflow: hidden; color: #75869e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.account-amount { margin-left: auto; color: #e5eaf2; font-size: 10px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.activity-panel { grid-column: 1 / -1; }
.activity-panel .panel-header { margin-bottom: 8px; }
.recent-list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; }
.recent-row { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(163,180,205,.09); }
.transaction-mark { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 10px; font-size: 15px; font-weight: 700; }
.transaction-mark.income { color: var(--green-400); background: rgba(54,201,149,.1); }
.transaction-mark.expense { color: #f58b9b; background: rgba(251,113,133,.1); }
.transaction-copy { display: grid; min-width: 0; gap: 4px; }
.transaction-copy b { overflow: hidden; color: #dce4ef; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.transaction-copy span { overflow: hidden; color: #74869f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.transaction-amount { margin-left: auto; font-size: 10px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.transaction-amount.income { color: var(--green-400); }
.transaction-amount.expense { color: #f58b9b; }
.insight-panel { display: flex; min-height: 120px; grid-column: 1 / -1; align-items: center; gap: 16px; padding: 19px 22px; border-color: rgba(57,114,174,.22); background: linear-gradient(100deg,rgba(16,45,79,.73),rgba(10,29,53,.72)); }
.insight-emblem { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(245,199,94,.23); border-radius: 14px; color: var(--gold-300); background: rgba(212,163,53,.07); font-size: 24px; }
.insight-panel .eyebrow { margin-bottom: 5px; font-size: 9px; }
.insight-panel h2 { margin-bottom: 4px; font-size: 14px; }
.insight-panel p { max-width: 670px; margin: 0; color: #8d9cb2; font-size: 10px; line-height: 1.6; }
.empty-state { display: grid; min-height: 195px; align-content: center; justify-items: center; padding: 20px; color: #8494aa; text-align: center; }
.empty-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 11px; border: 1px solid rgba(245,199,94,.17); border-radius: 13px; color: var(--gold-300); background: rgba(212,163,53,.08); font-size: 20px; }
.empty-state b { margin-bottom: 6px; color: #dce4ef; font-size: 11px; }
.empty-state span { max-width: 260px; color: #8291a7; font-size: 10px; line-height: 1.5; }
.compact-empty { min-height: 186px; }
.text-button { margin-top: 12px; border: 0; color: #e5c76e; background: none; font-size: 10px; cursor: pointer; }
.app-footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 25px; color: #61728a; font-size: 9px; }
.app-footer .secure-dot { width: 6px; height: 6px; margin-right: 5px; }
.notice { margin: -5px 0 16px; padding: 12px 14px; border: 1px solid rgba(251,113,133,.3); border-radius: 9px; color: #ffc0c9; background: rgba(123,36,55,.15); font-size: 11px; }
.notice button { margin-left: 9px; border: 0; color: #f5d485; background: none; text-decoration: underline; cursor: pointer; }

.section-heading { align-items: center; margin-bottom: 21px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h1 { margin-bottom: 6px; }
.table-panel { overflow: hidden; }
.table-toolbar { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 17px; border-bottom: 1px solid var(--line); }
.search-field { display: flex; width: min(290px,100%); align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(165,184,213,.13); border-radius: 8px; color: #8193ad; background: rgba(0,0,0,.09); }
.search-field span { font-size: 18px; }
.search-field input { width: 100%; border: 0; outline: 0; color: #e5eaf2; background: transparent; font-size: 10px; }
.search-field input::placeholder { color: #6f8097; }
.filter-group { display: flex; gap: 4px; }
.filter-button { padding: 7px 10px; border: 1px solid transparent; border-radius: 7px; color: #8291a7; background: transparent; font-size: 10px; cursor: pointer; }
.filter-button.selected { border-color: rgba(212,163,53,.17); color: #f3d37e; background: rgba(212,163,53,.08); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 13px 14px; color: #6e8098; font-size: 9px; font-weight: 700; letter-spacing: .65px; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 19px; }
td { padding: 12px 14px; border-top: 1px solid rgba(163,180,205,.08); color: #9aa8bb; font-size: 10px; white-space: nowrap; }
td b { color: #dce4ef; font-size: 10px; font-weight: 600; }
.table-description { display: flex; align-items: center; gap: 9px; }
.table-description .transaction-mark { width: 29px; height: 29px; font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 20px; color: #94a4b9; background: rgba(148,164,185,.08); font-size: 9px; }
.status-pill.settled { color: #61d4a7; background: rgba(54,201,149,.09); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #e8ae43; }
.status-pill.settled .status-dot { background: var(--green-400); }
.amount-column, td.amount-column { text-align: right; }
td.amount-column { font-variant-numeric: tabular-nums; font-weight: 600; }
td.amount-column.income { color: var(--green-400); }
td.amount-column.expense { color: #f58b9b; }
.delete-button { width: 27px; height: 27px; border: 1px solid transparent; border-radius: 7px; color: #76869b; background: transparent; cursor: pointer; }
.delete-button:hover { border-color: rgba(251,113,133,.17); color: #fb8b9b; background: rgba(251,113,133,.08); }
.table-empty { min-height: 240px; }
.account-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.account-detail-card { padding: 18px; }
.account-detail-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.account-detail-name { display: flex; align-items: center; gap: 11px; }
.account-detail-name b { display: block; margin-bottom: 4px; color: #e3eaf3; font-size: 12px; }
.account-detail-name span { color: #7889a1; font-size: 10px; }
.account-detail-balance { display: block; margin: 23px 0 7px; color: #f0d47e; font-family: Manrope,sans-serif; font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.account-detail-label { color: #7789a2; font-size: 10px; }
.account-detail-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: #74869e; font-size: 9px; }
.delete-account { border: 0; color: #8f9eb2; background: transparent; font-size: 10px; cursor: pointer; }
.delete-account:hover { color: #fb8b9b; }
.page-empty { min-height: 300px; }
.page-empty .primary-button { margin-top: 16px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow-y: auto; padding: 18px; background: rgba(1,7,17,.76); backdrop-filter: blur(6px); }
.modal { width: min(100%,460px); padding: 21px; border: 1px solid rgba(179,197,221,.18); border-radius: 16px; background: linear-gradient(155deg,#102849,#09182e); box-shadow: 0 25px 85px rgba(0,0,0,.55); animation: modal-in 170ms ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.modal-header .eyebrow { margin-bottom: 6px; font-size: 9px; }
.modal-header h2 { margin: 0; color: #f0f3f8; font-family: Manrope,sans-serif; font-size: 19px; }
.modal-close { width: 30px; height: 30px; font-size: 21px; }
.modal-form { display: grid; gap: 13px; }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.1); }
.type-option { min-height: 32px; border: 0; border-radius: 6px; color: #8292a8; background: transparent; font-size: 10px; cursor: pointer; }
.type-option.selected { color: #f1d27b; background: rgba(212,163,53,.13); }
.form-field { display: grid; gap: 7px; color: #b9c5d6; font-size: 10px; font-weight: 600; }
.form-field > span { display: flex; justify-content: space-between; }
.form-field small { color: #76879e; font-size: 9px; font-weight: 400; }
.form-field input, .form-field select { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid rgba(165,184,213,.15); border-radius: 8px; outline: none; color: #e8edf5; background-color: #0a1a31; font-size: 11px; }
.form-field input::placeholder { color: #63748b; }
.form-field input:focus, .form-field select:focus { border-color: rgba(245,199,94,.56); }
.form-field select option { background: #0a1a31; }
.form-field > small { margin-top: -3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.currency-input { display: flex; min-height: 39px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid rgba(165,184,213,.15); border-radius: 8px; color: #8e9db1; background: #0a1a31; }
.currency-input:focus-within { border-color: rgba(245,199,94,.56); }
.currency-input span { font-size: 10px; }
.currency-input input { min-width: 0; min-height: 36px; padding: 0; border: 0; background: transparent; }
.form-error { margin: 0; padding: 9px 10px; border: 1px solid rgba(251,113,133,.25); border-radius: 8px; color: #ffafb9; background: rgba(123,36,55,.16); font-size: 10px; line-height: 1.5; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 3px; padding-top: 5px; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; width: min(360px,calc(100vw - 32px)); gap: 8px; }
.toast { padding: 12px 14px; border: 1px solid rgba(54,201,149,.27); border-radius: 10px; color: #c8f3e2; background: #0c302c; box-shadow: var(--shadow); font-size: 11px; animation: modal-in 180ms ease-out; }
.toast.error { border-color: rgba(251,113,133,.28); color: #ffd2d8; background: #391d2a; }

body.light-theme {
  color-scheme: light; --text-100: #15243b; --text-300: #66758b; --text-500: #8592a4; --line: rgba(23,47,82,.12);
  --surface: rgba(255,255,255,.88); --surface-raised: #fff; --shadow: 0 14px 38px rgba(24,43,70,.09);
  background: #f4f7fc; color: #17263d;
}
.light-theme .sidebar { border-color: rgba(23,47,82,.1); background: #fff; }
.light-theme .brand-name { color: #0c2344; }
.light-theme .main-content { background: radial-gradient(ellipse at 70% 0%,rgba(72,121,180,.08),transparent 40%),#f4f7fc; }
.light-theme .topbar { background: rgba(248,250,253,.9); }
.light-theme .breadcrumb b, .light-theme h1, .light-theme .metric-value, .light-theme .panel-header h2, .light-theme .insight-panel h2 { color: #17263d; }
.light-theme h1 span { color: #a57918; }
.light-theme .metric-card, .light-theme .balance-card { border-color: rgba(25,58,98,.1); background: linear-gradient(145deg,#fff,#f8faff); }
.light-theme .balance-card .metric-value { color: #966b08; }
.light-theme .metric-label, .light-theme .metric-foot, .light-theme .page-subtitle, .light-theme .panel-header p { color: #6e7c91; }
.light-theme .panel { border-color: rgba(23,47,82,.1); background: rgba(255,255,255,.86); }
.light-theme .account-copy b, .light-theme .transaction-copy b, .light-theme .empty-state b, .light-theme .account-detail-name b, .light-theme td b { color: #1d2c43; }
.light-theme .account-amount, .light-theme .transaction-amount:not(.income):not(.expense), .light-theme td { color: #596a81; }
.light-theme .insight-panel { background: linear-gradient(100deg,#edf4fc,#fff); }
.light-theme .insight-panel p { color: #69798f; }
.light-theme .search-field { background: #f8faff; }
.light-theme .search-field input { color: #1d2c43; }
.light-theme .modal { border-color: rgba(23,47,82,.15); background: #fff; }
.light-theme .modal-header h2 { color: #17263d; }
.light-theme .form-field input, .light-theme .form-field select, .light-theme .currency-input { border-color: rgba(23,47,82,.16); color: #17263d; background-color: #f8faff; }
.light-theme .form-field select option { background: #fff; }

@media (min-width: 1500px) { .main-content { padding-right: 55px; padding-left: 55px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
