:root {
  color-scheme: light;
  --navy: #13243a;
  --ink: #17263b;
  --muted: #758197;
  --muted-dark: #59677c;
  --line: #e8ecf2;
  --canvas: #f5f7fb;
  --white: #fff;
  --blue: #3769d8;
  --blue-dark: #2858c1;
  --blue-soft: #edf3ff;
  --green: #1f9a6b;
  --green-soft: #e9f7f1;
  --amber: #bc7a18;
  --amber-soft: #fff5df;
  --red: #d64f57;
  --red-soft: #fff0f0;
  --shadow: 0 8px 24px rgba(20, 42, 72, .045);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; }
.sidebar { width: 252px; position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; padding: 24px 16px 18px; background: #fff; border-right: 1px solid #edf0f5; }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 32px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border-radius: 13px; background: var(--blue); box-shadow: 0 6px 14px rgba(55,105,216,.2); }
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 15px; letter-spacing: -.25px; color: var(--navy); }
.brand-copy small { color: #8994a5; font-size: 11px; }
.nav-label { margin: 0 11px 10px; color: #a2aabb; font-size: 10px; font-weight: 700; letter-spacing: 1.15px; }
.main-nav { display: grid; gap: 5px; }
.nav-link { display: flex; align-items: center; min-height: 45px; gap: 12px; padding: 0 11px; border-radius: 10px; color: #68758a; text-decoration: none; font-weight: 550; font-size: 13px; transition: color .15s ease, background .15s ease; }
.nav-link:hover { color: var(--blue); background: #f7f9fd; }
.nav-link.active { color: var(--blue); background: var(--blue-soft); font-weight: 700; }
.nav-icon { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; }
.nav-icon svg { width: 19px; height: 19px; }
.nav-count { margin-left: auto; min-width: 23px; padding: 3px 6px; border-radius: 7px; background: #fff; color: #758197; text-align: center; font-size: 10px; font-weight: 700; }
.sidebar-spacer { flex: 1; min-height: 24px; }
.sidebar-note { display: flex; gap: 10px; padding: 13px 12px; margin: 0 0 13px; border: 1px solid #e8f0fd; border-radius: 12px; background: #f7faff; }
.note-icon { flex: 0 0 27px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #e7efff; color: var(--blue); }
.note-icon svg { width: 16px; height: 16px; }
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { margin: 1px 0 4px; color: #324562; font-size: 11px; }
.sidebar-note small { color: #8290a4; font-size: 10px; line-height: 1.45; }
.settings-link { margin-bottom: 10px; }
.sidebar-footer { padding: 12px 8px 0; border-top: 1px solid #eff1f5; color: #a1aab8; font-size: 10px; }
.sidebar-footer span { margin: 0 4px; }

.main-area { min-height: 100vh; margin-left: 252px; padding: 0 36px 18px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; border-bottom: 1px solid #e9edf3; }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 18px; }
.eyebrow { margin: 0 0 6px; color: #a0a9b7; font-size: 9px; font-weight: 750; letter-spacing: 1.3px; }
h1 { margin: 0; color: var(--navy); font-size: 24px; letter-spacing: -.7px; line-height: 1.15; }
.date-chip { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #e9edf3; border-radius: 9px; background: #fff; color: #738095; font-size: 11px; white-space: nowrap; }
.date-dot { width: 7px; height: 7px; border-radius: 50%; background: #51b889; box-shadow: 0 0 0 3px #e9f7f1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; font-weight: 650; font-size: 12px; text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 5px 11px rgba(55,105,216,.14); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: #526176; border-color: #e2e7ef; background: #fff; }
.button-secondary:hover { border-color: #cbd5e3; background: #fbfcfe; }
.button-danger { color: var(--red); border-color: #f4d6d8; background: #fff; }
.button-danger:hover { background: var(--red-soft); }
.button-small { min-height: 32px; padding: 0 10px; font-size: 11px; }
.button .plus { font-size: 19px; font-weight: 400; line-height: 0; margin-top: -2px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e8ecf2; border-radius: 9px; background: #fff; color: #596a82; }
.icon-button:hover { color: var(--blue); background: var(--blue-soft); }
.icon-button svg { width: 18px; height: 18px; }
.mobile-menu { display: none; }
.page-content { max-width: 1440px; margin: 0 auto; padding: 26px 0 35px; }
.app-footer { max-width: 1440px; margin: 0 auto; padding: 11px 0 3px; border-top: 1px solid #e9edf3; color: #a0a9b7; font-size: 10px; }
.app-footer span { margin: 0 3px; }

.welcome-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 20px; }
.welcome-row h2 { margin: 0 0 7px; color: var(--navy); font-size: 18px; letter-spacing: -.3px; }
.welcome-row p { max-width: 670px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.quiet-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 11px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.quiet-link svg { width: 14px; height: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 18px; }
.metric-card { min-height: 127px; padding: 17px 17px 14px; border: 1px solid #e9edf3; border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric-label { color: #768297; font-size: 11px; font-weight: 550; }
.metric-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--blue); background: var(--blue-soft); }
.metric-icon svg { width: 16px; height: 16px; }
.metric-icon.green { color: var(--green); background: var(--green-soft); }
.metric-icon.amber { color: var(--amber); background: var(--amber-soft); }
.metric-icon.red { color: var(--red); background: var(--red-soft); }
.metric-value { margin: 13px 0 4px; color: var(--navy); font-size: 21px; font-weight: 750; letter-spacing: -.65px; line-height: 1.1; }
.metric-value.is-text { font-size: 17px; letter-spacing: -.25px; }
.metric-sub { color: #9ba5b3; font-size: 10px; line-height: 1.45; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.9fr); gap: 17px; align-items: stretch; margin-bottom: 18px; }
.panel { min-width: 0; border: 1px solid #e9edf3; border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 17px 18px 13px; }
.panel-header h3 { margin: 0 0 4px; color: var(--navy); font-size: 13px; letter-spacing: -.1px; }
.panel-header p { margin: 0; color: #99a3b1; font-size: 10px; }
.panel-body { padding: 0 18px 17px; }
.flow-panel { min-height: 290px; }
.flow-legend { display: flex; align-items: center; gap: 14px; color: #8994a5; font-size: 10px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; border-radius: 2px; background: #5683e1; }
.legend-dot.expense { background: #b9c6db; }
.flow-chart { display: grid; gap: 11px; padding-top: 2px; }
.flow-row { display: grid; grid-template-columns: 58px minmax(0,1fr) 110px; align-items: center; gap: 12px; min-height: 30px; }
.flow-month { color: #758197; font-size: 10px; }
.flow-bars { display: grid; gap: 4px; }
.flow-bar { height: 7px; min-width: 2px; border-radius: 20px; background: #5683e1; }
.flow-bar.expense { background: #b9c6db; }
.flow-numbers { display: flex; justify-content: flex-end; gap: 9px; color: #929cad; font-size: 9px; white-space: nowrap; }
.flow-empty { display: grid; place-items: center; min-height: 172px; padding: 18px; color: #909bad; text-align: center; font-size: 11px; line-height: 1.6; }
.action-panel { padding-bottom: 6px; }
.action-list { display: grid; gap: 0; }
.action-item { display: flex; align-items: flex-start; gap: 11px; padding: 12px 18px; border-top: 1px solid #f0f2f6; }
.action-check { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; background: #f2f5fa; color: #8794a9; }
.action-check svg { width: 13px; height: 13px; }
.action-check.done { color: var(--green); background: var(--green-soft); }
.action-copy { flex: 1; min-width: 0; }
.action-copy strong { display: block; margin: 1px 0 4px; color: #45546a; font-size: 11px; }
.action-copy small { display: block; color: #9aa5b4; font-size: 10px; line-height: 1.5; }
.action-go { margin-top: 3px; color: #9ba5b3; font-size: 17px; line-height: 1; text-decoration: none; }
.action-go:hover { color: var(--blue); }

.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 22px 0 12px; }
.section-heading h3 { margin: 0; color: var(--navy); font-size: 14px; }
.section-heading p { margin: 4px 0 0; color: #98a2b0; font-size: 10px; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 11px 14px; border-top: 1px solid #f0f2f6; border-bottom: 1px solid #eef1f5; background: #fbfcfe; color: #929dad; font-size: 9px; font-weight: 700; letter-spacing: .55px; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid #f1f3f7; color: #526176; font-size: 11px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #fcfdff; }
.table-title { color: #33445b; font-weight: 650; }
.table-sub { display: block; margin-top: 4px; color: #a0a9b7; font-size: 9px; }
.amount { color: #33445b !important; font-weight: 700; white-space: nowrap; }
.amount.income { color: var(--green) !important; }
.amount.expense { color: #526176 !important; }
.amount.debt { color: var(--blue) !important; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 6px; color: #66748a; background: #f1f4f8; font-size: 9px; font-weight: 650; white-space: nowrap; }
.badge.blue { color: #3864c1; background: #edf3ff; }
.badge.green { color: #18885e; background: #e9f7f1; }
.badge.amber { color: #a87019; background: #fff5df; }
.badge.red { color: #c34850; background: #fff0f0; }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; }
.action-header { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; }
.table-checkbox { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; min-height: 24px; cursor: pointer; }
.table-checkbox input, .action-header input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.table-checkbox input:disabled { cursor: not-allowed; opacity: .4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.action-text { padding: 5px 7px; border: 0; border-radius: 6px; background: transparent; color: #7f8ca0; font-size: 10px; font-weight: 650; }
.action-text:hover { color: var(--blue); background: var(--blue-soft); }
.action-text.danger:hover { color: var(--red); background: var(--red-soft); }
.action-text:disabled { color: #c0c7d1; cursor: not-allowed; background: transparent; }
.empty-state { display: grid; place-items: center; min-height: 220px; padding: 24px; text-align: center; }
.empty-illustration { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 12px; border-radius: 17px; color: var(--blue); background: var(--blue-soft); }
.empty-illustration svg { width: 24px; height: 24px; }
.empty-state h3 { margin: 0 0 6px; color: #3e4e63; font-size: 13px; }
.empty-state p { max-width: 390px; margin: 0 0 15px; color: #929dad; font-size: 10px; line-height: 1.6; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #eff1f5; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 9px; }
.bulk-actions { display: flex; align-items: center; gap: 8px; }
.search-box { display: flex; align-items: center; gap: 7px; min-width: 220px; height: 34px; padding: 0 10px; border: 1px solid #e7ebf1; border-radius: 8px; background: #fff; color: #9ba5b3; }
.search-box svg { width: 15px; height: 15px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: #46566b; font-size: 10px; }
.search-box input::placeholder { color: #a9b1bd; }
.select-control, .input-control { min-height: 35px; padding: 0 10px; border: 1px solid #e4e9f0; border-radius: 8px; outline: none; background: #fff; color: #56657a; font-size: 11px; }
.select-control:focus, .input-control:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: #8caaf0; box-shadow: 0 0 0 3px rgba(55,105,216,.1); }
.debt-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 0 0 16px; }
.small-stat { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 13px 14px; border: 1px solid #e9edf3; border-radius: 11px; background: #fff; }
.small-stat-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; color: var(--blue); background: var(--blue-soft); }
.small-stat-icon svg { width: 16px; height: 16px; }
.small-stat small { display: block; margin-bottom: 5px; color: #8c97a8; font-size: 9px; }
.small-stat strong { display: block; color: #34455b; font-size: 13px; }
.page-banner { display: flex; align-items: flex-start; gap: 12px; padding: 14px 15px; margin-bottom: 16px; border: 1px solid #e5edf9; border-radius: 11px; background: #f8faff; }
.banner-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; color: var(--blue); background: #eaf1ff; }
.banner-icon svg { width: 15px; height: 15px; }
.page-banner strong { display: block; margin: 2px 0 4px; color: #3c506c; font-size: 11px; }
.page-banner p { margin: 0; color: #7f8ca0; font-size: 10px; line-height: 1.55; }

.planner-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 16px; align-items: start; }
.planner-controls { padding: 17px; }
.planner-controls h3 { margin: 0 0 5px; color: var(--navy); font-size: 13px; }
.planner-controls > p { margin: 0 0 16px; color: #929dad; font-size: 10px; line-height: 1.55; }
.planner-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.planner-result { padding: 17px; background: linear-gradient(145deg,#1d3658,#142a48); color: #fff; }
.planner-result h3 { margin: 0 0 5px; font-size: 13px; }
.planner-result p { margin: 0; color: #b6c7dc; font-size: 10px; line-height: 1.55; }
.planner-result .result-number { margin: 18px 0 3px; font-size: 24px; font-weight: 750; letter-spacing: -.7px; }
.planner-result .result-caption { color: #b6c7dc; font-size: 10px; }
.result-divider { height: 1px; margin: 14px 0; background: rgba(255,255,255,.14); }
.result-row { display: flex; justify-content: space-between; gap: 12px; margin: 9px 0; color: #ccdae9; font-size: 10px; }
.result-row strong { color: #fff; font-size: 10px; }
.simulation-note { padding: 11px 13px; margin-top: 14px; border-radius: 8px; background: rgba(255,255,255,.08); color: #d3deeb; font-size: 9px; line-height: 1.55; }
.settings-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 16px; align-items: start; }
.settings-card { padding: 17px; }
.settings-card h3 { margin: 0 0 5px; color: var(--navy); font-size: 13px; }
.settings-card > p { margin: 0 0 16px; color: #929dad; font-size: 10px; line-height: 1.55; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.source-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 13px 0 15px; }
.source-stat { padding: 11px; border: 1px solid #edf0f5; border-radius: 9px; background: #fbfcfe; }
.source-stat small { display: block; margin-bottom: 5px; color: #929dad; font-size: 9px; }
.source-stat strong { color: #405169; font-size: 12px; }
.source-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 10px; font-weight: 650; text-decoration: none; }
.source-link svg { width: 14px; height: 14px; }
.settings-danger { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eff1f5; }
.settings-danger strong { display: block; margin-bottom: 6px; color: #536176; font-size: 11px; }
.settings-danger p { margin: 0 0 11px; color: #929dad; font-size: 10px; line-height: 1.55; }

.modal-root:empty { display: none; }
.modal-root { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(15,27,45,.46); backdrop-filter: blur(3px); }
.modal-card { width: min(100%, 520px); max-height: min(90vh, 780px); overflow: auto; border: 1px solid #e9edf3; border-radius: 15px; background: #fff; box-shadow: 0 24px 70px rgba(10,28,54,.25); animation: modal-in .17s ease-out; }
@keyframes modal-in { from { opacity: .55; transform: translateY(6px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 19px 20px 14px; border-bottom: 1px solid #eff1f5; }
.modal-header h2 { margin: 0 0 5px; color: var(--navy); font-size: 17px; letter-spacing: -.3px; }
.modal-header p { margin: 0; color: #919cac; font-size: 10px; line-height: 1.5; }
.modal-close { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 0; border-radius: 8px; background: #f4f6f9; color: #738095; font-size: 19px; }
.modal-close:hover { color: #3d4c61; background: #e9edf3; }
.modal-form { padding: 16px 20px 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1/-1; }
.field label { color: #657389; font-size: 10px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid #e4e9f0; border-radius: 8px; outline: none; background: #fff; color: #44546a; font-size: 11px; }
.field textarea { min-height: 72px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #aab3bf; }
.field-hint { color: #9aa5b4; font-size: 9px; line-height: 1.4; }
.form-error { display: none; padding: 9px 10px; margin-top: 12px; border-radius: 8px; background: var(--red-soft); color: #bd4750; font-size: 10px; }
.form-error.show { display: block; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 17px; margin-top: 16px; border-top: 1px solid #eff1f5; }
.toast-region { position: fixed; right: 22px; bottom: 20px; z-index: 90; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 220px; max-width: min(380px,calc(100vw - 40px)); padding: 12px 14px; border: 1px solid #dcefe5; border-radius: 10px; background: #fff; box-shadow: 0 10px 32px rgba(18,42,71,.12); color: #426151; font-size: 11px; animation: toast-in .18s ease-out; }
.toast.error { border-color: #f1dadd; color: #a3464e; }
.toast-mark { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; }
.toast.error .toast-mark { background: var(--red-soft); color: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.progress-track { overflow: hidden; height: 7px; border-radius: 12px; background: #edf1f6; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7ca1f0,#3769d8); }
.progress-copy { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; color: #99a4b3; font-size: 9px; }
.loading-state { display: grid; place-items: center; min-height: 40vh; color: #8c98a9; font-size: 12px; }

@media (max-width: 1180px) {
  .main-area { padding-right: 24px; padding-left: 24px; }
  .metric-grid, .debt-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); }
  .flow-row { grid-template-columns: 52px minmax(0,1fr) 96px; gap: 8px; }
  .flow-numbers { gap: 5px; font-size: 8px; }
}
@media (max-width: 900px) {
  .sidebar { width: 220px; }
  .main-area { margin-left: 220px; padding-right: 20px; padding-left: 20px; }
  .dashboard-grid, .planner-grid, .settings-grid { grid-template-columns: 1fr; }
  .welcome-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .sidebar { width: 270px; transform: translateX(-100%); box-shadow: 8px 0 28px rgba(20,42,72,.1); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; padding-right: 16px; padding-left: 16px; }
  .topbar { min-height: 78px; }
  .topbar-left { gap: 11px; }
  .mobile-menu { display: grid; }
  h1 { font-size: 20px; }
  .eyebrow { font-size: 8px; }
  .topbar-actions { gap: 8px; }
  .date-chip { display: none; }
  .topbar .button { min-height: 36px; padding: 0 10px; font-size: 10px; }
  .page-content { padding-top: 19px; }
  .metric-grid { gap: 9px; }
  .metric-card { min-height: 114px; padding: 13px; }
  .metric-value { font-size: 17px; }
  .metric-value.is-text { font-size: 14px; }
  .dashboard-grid { gap: 12px; }
  .panel-header { padding: 14px 14px 11px; }
  .panel-body { padding: 0 14px 14px; }
  .flow-row { grid-template-columns: 48px minmax(0,1fr); }
  .flow-numbers { display: none; }
  .debt-summary-grid { gap: 9px; }
  .small-stat { min-height: 65px; padding: 10px; gap: 8px; }
  .small-stat strong { font-size: 11px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-left, .toolbar-right { width: 100%; }
  .toolbar-right > .button, .bulk-actions { margin-left: auto; }
  .search-box { flex: 1; min-width: 0; }
  .data-table th, .data-table td { padding: 10px 11px; }
  .hide-mobile { display: none; }
  .section-heading { margin-top: 18px; }
  .planner-form-row { grid-template-columns: 1fr; }
  .app-footer { font-size: 9px; }
}
@media (max-width: 420px) {
  .brand { padding-bottom: 25px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-label { font-size: 10px; }
  .metric-icon { width: 26px; height: 26px; }
  .metric-value { margin-top: 12px; font-size: 15px; }
  .metric-sub { font-size: 9px; }
  .topbar .button .plus { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .modal-root { padding: 10px; }
  .modal-card { max-height: 94vh; border-radius: 12px; }
  .modal-header, .modal-form { padding-right: 15px; padding-left: 15px; }
}

/* Futuristic night interface */
:root {
  color-scheme: dark;
  --navy: #e4f4ff;
  --ink: #d7e8f5;
  --muted: #91a9bf;
  --muted-dark: #b0c4d7;
  --line: #20364c;
  --canvas: #07111e;
  --white: #0d1a2a;
  --blue: #39d5ff;
  --blue-dark: #16a9e0;
  --blue-soft: rgba(57, 213, 255, .12);
  --green: #54e6ad;
  --green-soft: rgba(84, 230, 173, .12);
  --amber: #ffc36b;
  --amber-soft: rgba(255, 195, 107, .13);
  --red: #ff7887;
  --red-soft: rgba(255, 120, 135, .12);
  --shadow: 0 12px 34px rgba(0, 0, 0, .22), inset 0 1px rgba(181, 226, 255, .025);
  --glow: 0 0 24px rgba(57, 213, 255, .13);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 78% -18%, rgba(24, 114, 172, .2), transparent 42%),
    radial-gradient(ellipse at 5% 68%, rgba(34, 79, 142, .1), transparent 35%),
    var(--canvas);
  color: var(--ink);
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(115, 179, 218, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 179, 218, .028) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 88%);
  pointer-events: none;
}

.sidebar {
  background: linear-gradient(180deg, rgba(12, 26, 43, .98), rgba(7, 17, 30, .98));
  border-right-color: #1b344a;
  box-shadow: 12px 0 42px rgba(0, 0, 0, .14);
}
.brand-mark {
  background: linear-gradient(145deg, #21bce9, #536cff);
  box-shadow: 0 0 26px rgba(57, 213, 255, .24), inset 0 1px rgba(255,255,255,.32);
}
.brand-copy strong { color: #e9f8ff; }
.brand-copy small, .sidebar-note small { color: #90a9bf; }
.nav-label { color: #68849d; }
.nav-link {
  position: relative;
  overflow: hidden;
  color: #9bb1c5;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-link:hover { color: #d9f7ff; background: rgba(57, 213, 255, .075); transform: translateX(3px); }
.nav-link.active {
  color: #71e4ff;
  background: linear-gradient(100deg, rgba(57, 213, 255, .16), rgba(57, 213, 255, .045));
  box-shadow: inset 2px 0 #39d5ff, inset 0 0 24px rgba(57, 213, 255, .045);
}
.nav-count { background: #13283b; color: #a9c2d6; }
.sidebar-note { border-color: #1c3a52; background: linear-gradient(130deg, rgba(28, 68, 99, .38), rgba(13, 30, 48, .56)); }
.note-icon { background: rgba(57, 213, 255, .14); color: #54dfff; }
.sidebar-note strong { color: #d9efff; }
.sidebar-footer { border-top-color: #1b344a; color: #7790a6; }
.main-area { background: transparent; }
.topbar { border-bottom-color: #1b344a; }
.eyebrow { color: #6f93ae; }
h1, .welcome-row h2, .section-heading h3 { color: #e6f5ff; }
.date-chip { border-color: #29465d; background: rgba(12, 29, 47, .78); color: #aec3d5; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.date-dot { background: #52e1a4; box-shadow: 0 0 0 3px rgba(82, 225, 164, .12), 0 0 14px rgba(82, 225, 164, .7); animation: status-pulse 2.4s ease-in-out infinite; }
.app-footer { border-top-color: #1b344a; color: #6f879c; }

.button, .icon-button { position: relative; overflow: hidden; }
.button-primary {
  color: #04131d;
  background: linear-gradient(110deg, #37d6f5, #57a8ff);
  box-shadow: 0 0 22px rgba(57, 213, 255, .18), inset 0 1px rgba(255,255,255,.45);
}
.button-primary:hover { background: linear-gradient(110deg, #69e5ff, #74bcff); box-shadow: 0 0 28px rgba(57, 213, 255, .3); }
.button-secondary, .icon-button { border-color: #29465d; background: #102239; color: #c0d6e8; }
.button-secondary:hover, .icon-button:hover { border-color: #3b8bad; background: #15314a; color: #6ce4ff; box-shadow: 0 0 20px rgba(57, 213, 255, .1); }
.button-danger { border-color: rgba(255, 120, 135, .32); background: rgba(54, 25, 38, .8); color: #ff98a3; }
.button-danger:hover { background: rgba(98, 37, 52, .7); }
.button:active, .icon-button:active { transform: scale(.97); }
.click-pulse { position: relative; overflow: hidden; animation: control-tap .5s cubic-bezier(.2,.8,.2,1); }
.click-pulse::after {
  position: absolute;
  top: var(--tap-y, 50%);
  left: var(--tap-x, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .44);
  content: "";
  pointer-events: none;
  animation: ripple-flash .48s ease-out forwards;
}

.page-content.menu-reveal { animation: interface-enter .42s cubic-bezier(.2,.75,.2,1) both; }
.metric-card, .panel, .small-stat, .settings-card, .planner-controls {
  border-color: #1e374d;
  background: linear-gradient(145deg, rgba(16, 32, 51, .94), rgba(10, 24, 40, .96));
  box-shadow: var(--shadow);
}
.metric-card, .small-stat, .panel { transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.metric-card:hover, .small-stat:hover { transform: translateY(-2px); border-color: #315c75; box-shadow: var(--shadow), var(--glow); }
.metric-label, .section-heading p, .metric-sub { color: #91a9bf; }
.metric-icon { color: #67e4ff; background: rgba(57, 213, 255, .12); }
.metric-icon.green { color: var(--green); background: var(--green-soft); }
.metric-icon.amber { color: var(--amber); background: var(--amber-soft); }
.metric-icon.red { color: var(--red); background: var(--red-soft); }
.metric-value { color: #ecf8ff; text-shadow: 0 0 22px rgba(57, 213, 255, .08); }
.panel-header h3, .planner-controls h3, .settings-card h3 { color: #dceeff; }
.panel-header p, .planner-controls > p, .settings-card > p { color: #8da5ba; }
.flow-legend, .flow-month { color: #92a9bc; }
.legend-dot, .flow-bar { background: linear-gradient(90deg, #448cff, #45dcff); box-shadow: 0 0 12px rgba(57, 213, 255, .2); }
.legend-dot.expense, .flow-bar.expense { background: linear-gradient(90deg, #667b99, #98acc3); box-shadow: none; }
.flow-numbers { color: #8ea6ba; }
.action-item { border-top-color: #1c3348; }
.action-check { background: #172a3e; color: #9ab0c3; }
.action-check.done { color: var(--green); background: var(--green-soft); }
.action-copy strong { color: #d1e5f5; }
.action-copy small { color: #8da4b9; }
.action-go { display: inline-block; position: relative; overflow: hidden; color: #7c9bb1; }
.action-header, .table-checkbox { position: relative; overflow: hidden; }
.table-wrap { scrollbar-color: #33536c #0a1726; scrollbar-width: thin; }
.data-table th { border-color: #1c3348; background: #0b1929; color: #83a1b9; }
.data-table td { border-bottom-color: #1a3044; color: #b0c3d4; }
.data-table tr:hover td { background: rgba(57, 213, 255, .045); }
.table-title, .amount { color: #d2e8f8 !important; }
.table-sub { color: #829db3; }
.amount.income { color: #64e6b2 !important; }
.amount.expense { color: #c3d2df !important; }
.amount.debt { color: #67ddff !important; }
.badge { background: #182b40; color: #b0c4d6; }
.badge.blue { color: #79ddff; background: rgba(57, 172, 255, .13); }
.badge.green { color: #68e5b2; background: rgba(84, 230, 173, .12); }
.badge.amber { color: #ffd18b; background: rgba(255, 195, 107, .12); }
.badge.red { color: #ff9aa4; background: rgba(255, 120, 135, .12); }
.table-checkbox input, .action-header input { accent-color: #39d5ff; }
.action-text { color: #9db3c6; }
.action-text:hover { color: #6ce4ff; background: rgba(57, 213, 255, .1); }
.action-text.danger:hover { color: #ff8c99; background: rgba(255, 120, 135, .12); }
.empty-illustration { color: #68dfff; background: rgba(57, 213, 255, .13); }
.empty-state h3 { color: #d8eafa; }
.empty-state p, .flow-empty { color: #8da4b9; }

.toolbar { border-bottom-color: #1b3348; }
.search-box, .select-control, .input-control, .field input, .field select, .field textarea {
  border-color: #29445b;
  background: #0a1929;
  color: #d3e5f3;
}
.search-box:focus-within, .select-control:focus, .input-control:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: #36bfe7; box-shadow: 0 0 0 3px rgba(57, 213, 255, .12), 0 0 18px rgba(57, 213, 255, .07); }
.search-box input { background: transparent; color: #d3e5f3; }
.search-box input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #6f879d; }
.small-stat-icon { color: #67ddff; background: rgba(57, 213, 255, .12); }
.small-stat small { color: #8da5ba; }
.small-stat strong { color: #dceeff; }
.page-banner { border-color: #274861; background: linear-gradient(100deg, rgba(20, 55, 80, .65), rgba(12, 29, 47, .86)); }
.banner-icon { color: #63dcff; background: rgba(57, 213, 255, .13); }
.page-banner strong { color: #d9efff; }
.page-banner p { color: #9bb1c3; }
.planner-result { border-color: #26516a; background: radial-gradient(ellipse at 100% 0%, rgba(37, 151, 196, .27), transparent 55%), linear-gradient(145deg, #102b43, #101d35); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04); }
.planner-result p, .planner-result .result-caption, .result-row { color: #b1c8da; }
.planner-result .result-number { color: #6ee2ff; text-shadow: 0 0 24px rgba(57, 213, 255, .22); }
.result-divider { background: rgba(190, 226, 250, .15); }
.simulation-note { background: rgba(0, 0, 0, .2); color: #b7cbdc; }
.source-stat { border-color: #20384d; background: #0b1929; }
.source-stat small { color: #90a8bd; }
.source-stat strong { color: #d8eaf7; }
.settings-danger { border-top-color: #243a4e; }
.settings-danger strong { color: #c6d8e7; }
.settings-danger p { color: #91a8bc; }
.progress-track { background: #1a2c40; }
.progress-fill { background: linear-gradient(90deg, #4a8cff, #40d9ff); box-shadow: 0 0 14px rgba(57, 213, 255, .32); }
.progress-copy { color: #88a0b6; }
.loading-state { color: #a0b6c8; }

.modal-root { background: rgba(2, 8, 16, .76); backdrop-filter: blur(10px); }
.modal-card { border-color: #2b4b63; background: linear-gradient(145deg, #102238, #0a1727); box-shadow: 0 28px 90px rgba(0,0,0,.55), 0 0 35px rgba(57,213,255,.09); }
.modal-header, .modal-footer { border-color: #21394e; }
.modal-header h2 { color: #e6f4ff; }
.modal-header p, .field-hint { color: #91a9be; }
.modal-close { background: #1a3045; color: #b4cada; }
.modal-close:hover { background: #24435d; color: #70e1ff; }
.field label { color: #b8cede; }
.form-error { background: rgba(255, 120, 135, .12); color: #ff9ca5; }
.toast { border-color: #285b55; background: #102a2c; box-shadow: 0 14px 40px rgba(0,0,0,.3), 0 0 22px rgba(84,230,173,.08); color: #b9f1dc; }
.toast.error { border-color: #663541; background: #301b29; color: #ffc0c4; }
.toast-mark { background: rgba(84,230,173,.15); color: #6ce8b5; }
.toast.error .toast-mark { background: rgba(255,120,135,.15); color: #ff98a1; }

@keyframes interface-enter {
  from { opacity: 0; transform: translateY(10px) scale(.995); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes control-tap {
  0% { transform: scale(1); }
  35% { transform: scale(.96); }
  72% { transform: scale(1.025); }
  100% { transform: scale(1); }
}
@keyframes ripple-flash {
  from { opacity: .75; transform: translate(-50%, -50%) scale(0); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(82,225,164,.12), 0 0 10px rgba(82,225,164,.55); }
  50% { box-shadow: 0 0 0 5px rgba(82,225,164,.045), 0 0 18px rgba(82,225,164,.8); }
}

@media (max-width: 700px) {
  .sidebar { box-shadow: 14px 0 48px rgba(0,0,0,.45); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Clear, confident typography with larger reading and touch sizes */
:root {
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body { font-size: 16px; line-height: 1.55; }
.brand-copy strong { font-size: 16px; font-weight: 750; }
.brand-copy small { font-size: 13px; }
.nav-label { font-size: 11px; }
.nav-link { min-height: 49px; font-size: 15px; font-weight: 650; }
.sidebar-note strong { font-size: 13px; }
.sidebar-note small { font-size: 12px; line-height: 1.5; }
.sidebar-footer, .app-footer { font-size: 12px; }
.eyebrow { font-size: 11px; }
h1 { font-size: 28px; font-weight: 750; }
.date-chip { min-height: 42px; font-size: 13px; }
.button { min-height: 44px; padding-inline: 16px; font-size: 14px; font-weight: 700; }
.button-small { min-height: 40px; padding-inline: 12px; font-size: 13px; }
.topbar .button { min-height: 44px; font-size: 14px; }
.welcome-row h2 { font-size: 21px; font-weight: 750; }
.welcome-row p { font-size: 15px; line-height: 1.65; }
.quiet-link { font-size: 14px; }
.metric-card { min-height: 140px; padding: 19px; }
.metric-label { font-size: 14px; }
.metric-value { font-size: 25px; font-weight: 800; }
.metric-value.is-text { font-size: 21px; }
.metric-sub { font-size: 13px; }
.panel-header h3, .planner-controls h3, .settings-card h3 { font-size: 16px; font-weight: 750; }
.panel-header p, .planner-controls > p, .settings-card > p { font-size: 13px; line-height: 1.55; }
.flow-legend { font-size: 13px; }
.flow-month { font-size: 13px; }
.flow-numbers { font-size: 11px; }
.action-item { padding-block: 15px; }
.action-copy strong { font-size: 14px; font-weight: 700; }
.action-copy small { font-size: 13px; line-height: 1.55; }
.section-heading h3 { font-size: 17px; font-weight: 750; }
.section-heading p { font-size: 13px; }
.data-table th { font-size: 11px; letter-spacing: .65px; }
.data-table td { font-size: 13px; }
.table-title { font-weight: 700; }
.table-sub { font-size: 12px; }

/* Password gate and local data controls */
.auth-gate[hidden], .app-shell[hidden] { display: none !important; }
.auth-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(100%, 440px);
  padding: clamp(26px, 6vw, 42px);
  border: 1px solid #24455d;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(16, 37, 58, .98), rgba(8, 22, 38, .98));
  box-shadow: 0 28px 90px rgba(0,0,0,.42), 0 0 54px rgba(57,213,255,.09), inset 0 1px rgba(255,255,255,.05);
  animation: interface-enter .5s cubic-bezier(.2,.75,.2,1) both;
}
.auth-brand-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(114,225,255,.35);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(57,213,255,.18), rgba(83,108,255,.17));
  color: #6fe7ff;
  box-shadow: 0 0 32px rgba(57,213,255,.15), inset 0 1px rgba(255,255,255,.12);
}
.auth-brand-mark svg { width: 52px; height: 52px; }
.auth-eyebrow { margin: 0 0 8px; color: #77cce7; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.auth-card h1 { margin: 0; color: #e8f7ff; font-size: clamp(27px, 6vw, 34px); line-height: 1.2; font-weight: 800; }
.auth-copy { margin: 11px 0 26px; color: #a1b8ca; font-size: 16px; line-height: 1.55; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { color: #c4d7e6; font-size: 14px; font-weight: 700; }
.auth-form input {
  min-height: 54px;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #31516b;
  border-radius: 12px;
  outline: none;
  background: #081827;
  color: #eef9ff;
  font: inherit;
  font-size: 20px;
  letter-spacing: .18em;
}
.auth-form input:focus { border-color: #43cdec; box-shadow: 0 0 0 4px rgba(57,213,255,.12), 0 0 22px rgba(57,213,255,.08); }
.auth-submit { min-height: 52px; margin-top: 7px; justify-content: center; gap: 11px; font-size: 16px; }
.auth-hint { margin: 17px 0 0; color: #8fa8bc; font-size: 13px; line-height: 1.6; }
.auth-hint strong { color: #cde8f8; }
.auth-lock-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; padding-top: 18px; border-top: 1px solid #203a50; color: #86a5ba; font-size: 12px; }
.auth-lock-note span { color: #55e5ae; font-size: 11px; text-shadow: 0 0 12px rgba(85,229,174,.55); }
.auth-form .form-error { margin-top: 1px; }
.settings-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.security-note { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid #20384d; font-size: 12px !important; }

@media (max-width: 480px) {
  .auth-gate { padding: 18px; }
  .auth-card { border-radius: 20px; }
}
.badge { padding: 5px 8px; font-size: 12px; }
.action-text { padding: 7px 9px; font-size: 13px; }
.empty-state h3 { font-size: 16px; }
.empty-state p { font-size: 13px; line-height: 1.6; }
.toolbar { padding-block: 15px; }
.search-box { min-height: 42px; }
.search-box input, .select-control, .input-control { font-size: 14px; }
.select-control, .input-control { min-height: 42px; }
.small-stat { min-height: 82px; padding: 15px; }
.small-stat small, .source-stat small { font-size: 12px; }
.small-stat strong { font-size: 15px; font-weight: 750; }
.page-banner { padding: 16px; }
.page-banner strong { font-size: 14px; }
.page-banner p { font-size: 13px; line-height: 1.6; }
.planner-controls, .settings-card, .planner-result { padding: 20px; }
.planner-result h3 { font-size: 17px; }
.planner-result p, .planner-result .result-caption, .result-row { font-size: 13px; }
.planner-result .result-number { font-size: 28px; font-weight: 800; }
.result-row strong { font-size: 13px; }
.simulation-note { font-size: 12px; line-height: 1.6; }
.source-stat { padding: 13px; }
.source-stat strong { font-size: 15px; }
.source-link { font-size: 13px; }
.settings-danger strong { font-size: 14px; }
.settings-danger p { font-size: 13px; line-height: 1.6; }
.progress-copy { font-size: 12px; }
.modal-header h2 { font-size: 21px; font-weight: 800; }
.modal-header p { font-size: 13px; line-height: 1.55; }
.modal-close { width: 38px; height: 38px; flex-basis: 38px; font-size: 24px; }
.modal-form { padding: 19px 22px 22px; }
.field { gap: 8px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 44px; font-size: 15px; }
.field-hint { font-size: 12px; line-height: 1.5; }
.form-error { font-size: 13px; line-height: 1.5; }
.toast { font-size: 13px; }

@media (max-width: 700px) {
  h1 { font-size: 25px; }
  .welcome-row h2 { font-size: 19px; }
  .welcome-row p { font-size: 14px; }
  .metric-card { min-height: 132px; padding: 15px; }
  .metric-label { font-size: 13px; }
  .metric-value { font-size: 22px; }
  .metric-value.is-text { font-size: 18px; }
  .metric-sub { font-size: 12px; }
  .small-stat { min-height: 76px; padding: 12px; }
  .small-stat strong { font-size: 14px; }
  .data-table th, .data-table td { padding: 12px 10px; }
  .data-table td { font-size: 12px; }
  .table-sub { font-size: 11px; }
  .modal-header, .modal-form { padding-right: 17px; padding-left: 17px; }
}


/* Tab masuk / daftar akun */
.auth-form[hidden] { display: none !important; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 0 20px; border: 1px solid #203a50; border-radius: 12px; background: rgba(7, 19, 32, .7); }
.auth-tab { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: #8fa8bc; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.auth-tab.active { background: linear-gradient(135deg, rgba(57,213,255,.22), rgba(102,237,187,.14)); color: #e8f7ff; box-shadow: inset 0 0 0 1px rgba(67,205,236,.35); }
.auth-tab:focus-visible { outline: 2px solid #43cdec; outline-offset: 2px; }
.auth-field-hint { margin-top: -4px; color: #7f98ac; font-size: 12px; }
.account-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(57,213,255,.12); color: #bfeeff; font-weight: 700; }
