*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F2F4F7;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1A202C;
  --muted: #718096;
  --green: #276749;
  --green-light: #EBF8F1;
  --blue: #2B6CB0;
  --blue-light: #EBF4FF;
  --red: #C53030;
  --red-light: #FFF5F5;
  --amber: #B7791F;
  --amber-light: #FFFBEB;
  --purple: #6B46C1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow: 0 4px 14px rgba(0,0,0,.08);
  --radius: 14px;
  --sidebar: 320px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
}

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--green);
  color: white;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
}
.topbar h1 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 2px;
}
.total-box { text-align: right; }
.total-box span { font-size: 11px; opacity: .7; display: block; }
.total-box strong { font-size: 28px; font-weight: 800; display: block; }
.total-box small { font-size: 12px; opacity: .8; }

/* ── WORKSPACE ───────────────────────────────────────────── */
.workspace {
  display: flex;
  height: calc(100vh - 70px);
  overflow: hidden;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.control-panel {
  width: var(--sidebar);
  min-width: var(--sidebar);
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  scrollbar-width: thin;
}
.panel-section {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.panel-section h2 {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title h2 { margin-bottom: 0; }

/* ── FORMS ───────────────────────────────────────────────── */
.stack { display: flex; flex-direction: column; gap: 10px; }

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

input[type="number"],
input[type="text"],
input[type="file"],
select,
textarea {
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39,103,73,.12);
}
textarea { resize: vertical; }
input[type="file"] { padding: 6px 10px; font-size: 13px; cursor: pointer; }

.primary-btn {
  padding: 10px 16px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.primary-btn:hover { opacity: .88; }
.primary-btn:active { transform: scale(.98); }

.ghost-btn {
  padding: 5px 11px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.ghost-btn:hover { background: var(--bg); }
.ghost-btn.danger { color: var(--red); border-color: #FEB2B2; }
.ghost-btn.danger:hover { background: var(--red-light); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented button {
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.segmented button[data-action="deposit"]:hover { background: var(--green-light); border-color: var(--green); color: var(--green); }
.segmented button[data-action="withdraw"]:hover { background: var(--red-light); border-color: var(--red); color: var(--red); }

.status-line { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.receipt-preview {
  width: 100%;
  border-radius: 8px;
  margin-top: 4px;
  object-fit: cover;
  max-height: 150px;
}

/* ── PRESET ROW ──────────────────────────────────────────── */
.preset-row { display: flex; gap: 6px; margin-bottom: 12px; }
.preset-row button {
  flex: 1;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.preset-row button:hover { background: var(--green); color: white; border-color: var(--green); }

/* ── SETTINGS ─────────────────────────────────────────────── */
.settings-list { display: flex; flex-direction: column; gap: 8px; }
.setting-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.jar-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.setting-row > span:nth-child(2) { flex: 1; font-weight: 500; }
.setting-row input { width: 58px; flex-shrink: 0; text-align: right; padding: 5px 8px; }
.setting-row > span:last-child { font-size: 12px; color: var(--muted); }

/* ── BANK SIDEBAR ────────────────────────────────────────── */
.demo-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--amber-light);
  color: var(--amber);
  border-radius: 99px;
  border: 1px solid #F6D860;
}

/* ── DASHBOARD ───────────────────────────────────────────── */
.dashboard {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
}

/* ── SUMMARY STRIP ───────────────────────────────────────── */
.summary-strip {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.summary-strip > div {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
}
.summary-strip > div:last-child { border-right: none; }
.summary-strip span { font-size: 11px; color: var(--muted); display: block; margin-bottom: 2px; }
.summary-strip strong { font-size: 20px; font-weight: 700; }

/* ── MENTOR STRIP ────────────────────────────────────────── */
.mentor-strip { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
.mentor-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.mentor-card.featured { background: var(--green); color: white; }
.mentor-card span {
  font-size: 10px;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 6px;
}
.mentor-card h2 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.mentor-card p { font-size: 13px; opacity: .85; line-height: 1.4; }

/* ── BANK BOARD ──────────────────────────────────────────── */
.bank-board {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.bank-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 12px 0 8px;
}
.bank-accounts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
.bank-empty { font-size: 13px; color: var(--muted); padding: 6px 0; }
.bank-account-card {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}
.bank-account-card .ba-bank { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.bank-account-card .ba-type { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.bank-account-card .ba-balance { font-size: 22px; font-weight: 800; }
.bank-account-card .ba-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.bank-account-card .ba-alert {
  font-size: 11px;
  color: var(--amber);
  font-weight: 600;
  margin-top: 4px;
  background: var(--amber-light);
  border-radius: 5px;
  padding: 2px 6px;
  display: inline-block;
}

.bank-transactions { display: flex; flex-direction: column; gap: 6px; max-height: 230px; overflow-y: auto; }
.bank-tx {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--bg);
  border-radius: 9px;
  font-size: 13px;
}
.bank-tx .tx-icon { font-size: 17px; flex-shrink: 0; }
.bank-tx .tx-body { flex: 1; min-width: 0; }
.bank-tx .tx-body strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bank-tx .tx-body span { font-size: 11px; color: var(--muted); }
.bank-tx .tx-amount { font-weight: 700; white-space: nowrap; }
.bank-tx .tx-amount.credit { color: var(--green); }
.bank-tx .tx-amount.debit { color: var(--red); }
.bank-import-info { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ── VARIABLE BOARD ──────────────────────────────────────── */
.variable-board, .daily-board, .habit-board,
.mindset-board, .history-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.variable-metrics, .daily-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.variable-metrics > div, .daily-metrics > div {
  background: var(--bg);
  border-radius: 9px;
  padding: 10px 12px;
}
.variable-metrics span, .daily-metrics span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.variable-metrics strong, .daily-metrics strong {
  font-size: 16px;
  font-weight: 700;
  display: block;
}
.variable-bar {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.variable-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--green);
  transition: width .4s, background .3s;
}
.variable-alert {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 10px;
}
.variable-list, .daily-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.variable-item, .daily-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
}
.cat-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--border);
  white-space: nowrap;
  font-weight: 500;
}
.var-note { flex: 1; color: var(--text); }
.var-amount { font-weight: 700; color: var(--red); white-space: nowrap; }
.var-date { font-size: 11px; color: var(--muted); white-space: nowrap; }
.var-delete {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 0 2px;
  opacity: .5;
  transition: opacity .15s;
}
.var-delete:hover { opacity: 1; color: var(--red); }

/* ── DAILY BOARD ─────────────────────────────────────────── */
.category-insights { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cat-chip {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 99px;
  background: var(--bg);
  border: 1px solid var(--border);
}

/* ── HABIT BOARD ─────────────────────────────────────────── */
.habit-list { display: flex; flex-direction: column; gap: 8px; }
.habit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--bg);
}
.habit-text { flex: 1; font-size: 13px; }
.habit-days { display: flex; gap: 4px; }
.habit-day {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all .15s;
  flex-shrink: 0;
}
.habit-day:hover { border-color: var(--green); color: var(--green); }
.habit-day.done { background: var(--green); color: white; border-color: var(--green); }

/* ── MINDSET BOARD ───────────────────────────────────────── */
.blueprint-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.blueprint-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--bg);
  cursor: pointer;
  transition: background .15s;
}
.blueprint-row:hover { background: var(--green-light); }
.blueprint-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.blueprint-row span { font-size: 13px; flex: 1; transition: color .15s; }
.blueprint-row.checked span { text-decoration: line-through; color: var(--muted); }
.decision-box {
  background: var(--green-light);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.decision-box > div { flex: 1; }
.decision-box span { font-size: 10px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 4px; }
.decision-box p { font-size: 13px; color: var(--text); line-height: 1.4; }

/* ── WEALTH BOARD ─────────────────────────────────────────── */
.wealth-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.wealth-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.wealth-card span { font-size: 11px; color: var(--muted); display: block; margin-bottom: 4px; }
.wealth-card strong { font-size: 20px; font-weight: 800; display: block; }

/* ── JAR GRID ─────────────────────────────────────────────── */
.jar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.jar-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--green);
  transition: transform .15s, box-shadow .15s;
}
.jar-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.jar-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.jar-icon { font-size: 26px; }
.jar-head h3 { font-size: 14px; font-weight: 700; }
.jar-head p { font-size: 11px; color: var(--muted); }
.jar-balance { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.progress-track { height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.progress-fill { height: 100%; border-radius: 99px; transition: width .4s; }
.jar-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.jar-guidance { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; }
.goal-input { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-direction: row; }
.goal-input input { flex: 1; padding: 5px 8px; font-size: 12px; }

/* ── HISTORY ──────────────────────────────────────────────── */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 9px;
  font-size: 13px;
}
.history-icon { font-size: 18px; flex-shrink: 0; }
.history-body { flex: 1; min-width: 0; }
.history-body strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-body span { font-size: 11px; color: var(--muted); }
.history-amount { font-weight: 700; white-space: nowrap; }
.history-amount.income { color: var(--green); }
.history-amount.expense { color: var(--red); }

/* ── EMPTY STATES ─────────────────────────────────────────── */
.empty-msg { font-size: 13px; color: var(--muted); padding: 8px 0; }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ── REPORT BAR ───────────────────────────────────────────── */
.report-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
}
.report-bar span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: capitalize;
}
.report-btn {
  padding: 7px 14px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.report-btn:hover { opacity: .85; }

/* ── MENU TOGGLE (mobile) ─────────────────────────────────── */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.18);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle:hover { background: rgba(255,255,255,.28); }

/* ── SIDEBAR OVERLAY (mobile) ─────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99;
}

/* ── ANÁLISE / CHARTS ─────────────────────────────────────── */
.analysis-board {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.analysis-month {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: capitalize;
}
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}
.chart-card {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 16px;
}
.chart-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.chart-wrap {
  position: relative;
  height: 220px;
}
.chart-card-wide {
  margin-top: 16px;
}
.chart-wrap-tall {
  height: 260px;
}
.chart-empty {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

/* ── MOBILE ───────────────────────────────────────────────── */
@media (max-width: 720px) {
  .menu-toggle { display: flex; }

  .topbar { padding: 12px 14px; gap: 10px; }
  .topbar h1 { font-size: 14px; }
  .total-box strong { font-size: 22px; }
  .total-box small { display: none; }

  .workspace { flex-direction: column; height: auto; overflow: visible; }

  .control-panel {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    width: 85%;
    max-width: 320px;
    z-index: 100;
    transition: left .28s ease;
    overflow-y: auto;
  }
  .control-panel.open { left: 0; }
  .sidebar-overlay.visible { display: block; }

  .dashboard {
    padding: 12px;
    gap: 12px;
    overflow: visible;
    height: auto;
  }

  .summary-strip { flex-wrap: wrap; }
  .summary-strip > div { flex: 1 1 30%; border-bottom: 1px solid var(--border); }

  .mentor-strip { grid-template-columns: 1fr; }

  .variable-metrics,
  .daily-metrics { grid-template-columns: 1fr 1fr; }

  .wealth-board { grid-template-columns: 1fr 1fr; }

  .jar-grid { grid-template-columns: 1fr 1fr; }

  .charts-grid { grid-template-columns: 1fr; }
  .chart-wrap { height: 200px; }

  .bank-accounts { grid-template-columns: 1fr; }

  .history-list { max-height: none; }
  .variable-list,
  .daily-list,
  .bank-transactions { max-height: none; }

  .habit-days .habit-day { width: 24px; height: 24px; font-size: 9px; }
}

@media (max-width: 400px) {
  .jar-grid { grid-template-columns: 1fr; }
  .wealth-board { grid-template-columns: 1fr; }
}

/* ── RECORRENTES ──────────────────────────────────────────── */
.recorrentes-board {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.recorrentes-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.recorrentes-kpis > div {
  background: var(--bg);
  border-radius: 9px;
  padding: 10px 12px;
}
.recorrentes-kpis span { font-size: 11px; color: var(--muted); display: block; margin-bottom: 2px; }
.recorrentes-kpis strong { font-size: 16px; font-weight: 700; display: block; }
.recorrentes-week {
  font-size: 13px;
  color: var(--amber);
  background: var(--amber-light);
  border-radius: 8px;
  padding: 9px 13px;
  margin-bottom: 12px;
}
.recorrentes-list { display: flex; flex-direction: column; gap: 8px; }
.recorrente-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 13px;
  transition: opacity .2s;
}
.recorrente-item.r-paid { opacity: .6; }
.r-info { flex: 1; min-width: 0; }
.r-info strong { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-info span   { font-size: 12px; color: var(--muted); }
.r-pay-btn {
  padding: 5px 12px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
  font-family: inherit;
}
.r-pay-btn:hover { opacity: .82; }
.r-paid-mark { font-size: 16px; color: var(--green); font-weight: 700; padding: 0 6px; }

/* Sidebar list */
.recorrente-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.r-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 13px;
  gap: 8px;
}
.r-sidebar-item div { flex: 1; min-width: 0; }
.r-sidebar-item strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-sidebar-item span   { font-size: 11px; color: var(--muted); }

@media (max-width: 720px) {
  .recorrentes-kpis { grid-template-columns: 1fr 1fr; }
}

/* ── GOAL PANEL ───────────────────────────────────────────── */
.goal-panel { margin-top: 10px; }
.goal-fields { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.goal-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.goal-label {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.goal-label input {
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.goal-label input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(39,103,73,.1); }
.goal-status-box { margin-top: 6px; }
.goal-calc-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 3px; }
.goal-chip {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px; white-space: nowrap;
}
.goal-chip-ok      { background: var(--green-light); color: var(--green); }
.goal-chip-warn    { background: var(--amber-light); color: var(--amber); }
.goal-chip-bad     { background: var(--red-light);   color: var(--red); }
.goal-chip-neutral { background: var(--border);       color: var(--muted); }
.goal-calc-info    { font-size: 11px; color: var(--muted); }
.goal-calc-info strong { color: var(--text); font-weight: 700; }
.goal-calc-sub     { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }

/* ── ONBOARDING ───────────────────────────────────────────── */
.ob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 18, .84);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: ob-fade-in .3s ease;
}
.ob-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 28px 64px rgba(0,0,0,.3);
  animation: ob-slide-up .32s ease;
}
.ob-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 28px; }
.ob-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all .25s;
}
.ob-dot-active { width: 28px; border-radius: 99px; background: var(--green); }
.ob-dot-done { background: var(--green); opacity: .45; }

.ob-hero { font-size: 56px; text-align: center; margin-bottom: 12px; line-height: 1; }
.ob-heading {
  font-size: 26px; font-weight: 600;
  line-height: 1.22; text-align: center; margin-bottom: 8px;
}
.ob-heading strong { font-weight: 800; color: var(--green); }
.ob-desc {
  font-size: 14px; color: var(--muted);
  text-align: center; line-height: 1.5; margin-bottom: 22px;
}
.ob-tip-box {
  background: var(--green-light); color: var(--green);
  border-radius: 10px; padding: 11px 14px;
  text-align: left; margin-bottom: 18px;
}
.ob-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.ob-label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.ob-input {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 16px; color: var(--text);
  background: var(--bg);
  width: 100%; outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.ob-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(39,103,73,.12); }
.ob-currency { position: relative; }
.ob-currency > span {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px; font-weight: 700;
  color: var(--muted); pointer-events: none;
}
.ob-input-money { padding-left: 34px; }

.ob-next {
  width: 100%; padding: 14px;
  background: var(--green); color: white;
  border: none; border-radius: 11px;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: opacity .15s, transform .1s;
  font-family: inherit;
}
.ob-next:hover { opacity: .88; }
.ob-next:active { transform: scale(.98); }
.ob-finish { background: linear-gradient(135deg, #276749, #1a9960); }

.ob-row { display: flex; gap: 10px; align-items: center; }
.ob-row .ob-next { flex: 1; padding: 12px; font-size: 15px; }
.ob-back {
  padding: 12px 14px;
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: background .15s; font-family: inherit;
}
.ob-back:hover { background: var(--bg); }

.ob-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.ob-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 11px; cursor: pointer;
  text-align: left; transition: all .15s;
  font-family: inherit; width: 100%;
}
.ob-option:hover { border-color: var(--green); background: var(--green-light); }
.ob-option-sel { border-color: var(--green); background: var(--green-light); }
.ob-opt-icon { font-size: 22px; flex-shrink: 0; }
.ob-opt-text { flex: 1; }
.ob-opt-text strong { display: block; font-size: 14px; color: var(--text); }
.ob-opt-text span { font-size: 12px; color: var(--muted); }
.ob-check {
  color: var(--green); font-weight: 700; font-size: 15px;
  opacity: 0; transition: opacity .15s;
}
.ob-option-sel .ob-check { opacity: 1; }

.ob-jars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.ob-jar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ob-jar-name { min-width: 92px; font-weight: 500; }
.ob-jar-track {
  flex: 1; height: 7px;
  background: var(--border); border-radius: 99px; overflow: hidden;
}
.ob-jar-fill { height: 100%; border-radius: 99px; transition: width .45s; }
.ob-jar-val { font-size: 12px; color: var(--muted); min-width: 68px; text-align: right; }
.ob-income-note { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 14px; }

.ob-textarea {
  width: 100%; resize: none; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 14px; font-size: 14px;
  font-family: inherit; line-height: 1.5; color: var(--text);
  background: var(--bg); transition: border-color .15s;
  display: block;
}
.ob-textarea:focus { border-color: var(--green); outline: none; }
.ob-emocao-msg {
  font-size: 14px; font-weight: 600; color: var(--green);
  background: var(--green-light); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 14px; line-height: 1.4;
}
.ob-options-sm .ob-option { padding: 9px 12px; }
.ob-options-sm .ob-opt-icon { font-size: 18px; }
.ob-next:disabled { opacity: .45; cursor: not-allowed; }

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #1A202C; color: white;
  padding: 12px 22px; border-radius: 99px;
  font-size: 14px; font-weight: 500;
  z-index: 9999; opacity: 0;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  pointer-events: none;
}
.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── ANIMAÇÕES ────────────────────────────────────────────── */
@keyframes ob-fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ob-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ob-slide-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ob-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-7px); }
  40%     { transform: translateX(7px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}

@media (max-width: 720px) {
  .ob-card { padding: 28px 20px 22px; border-radius: 18px; }
  .ob-heading { font-size: 22px; }
  .ob-jar-name { min-width: 76px; }
  .ob-jar-val { display: none; }
}

/* ── INSTALL BANNER ───────────────────────────────────────── */
.install-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f1923;
  color: #e8f0f8;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.45;
  position: sticky;
  top: 0;
  z-index: 200;
}
.install-banner-icon { font-size: 22px; flex-shrink: 0; }
.install-banner-text { flex: 1; }
.install-banner-text strong { display: block; font-size: 13px; margin-bottom: 2px; color: #fff; }
.install-banner-text span { font-size: 12px; color: #aabbc8; }
.install-banner-text span strong { display: inline; color: #5dba84; font-size: 12px; margin-bottom: 0; }
.install-banner-close {
  background: none; border: none; color: #aabbc8;
  font-size: 16px; cursor: pointer; padding: 4px 6px;
  flex-shrink: 0; line-height: 1;
}

/* ── FEEDBACK FAB ──────────────────────────────────────────── */
.feedback-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  text-decoration: none;
  z-index: 300;
  transition: transform .15s, box-shadow .15s;
}
.feedback-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
}

/* ── ESPELHO FINANCEIRO ───────────────────────────────────── */
.espelho-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.espelho-vazio {
  text-align: center;
  padding: 32px 24px;
}
.espelho-mirror-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.espelho-mirror-icon-sm { font-size: 22px; line-height: 1; }
.espelho-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.espelho-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}
.espelho-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
  display: block;
}
.espelho-identidade {
  background: linear-gradient(135deg, #0f1923 0%, #1a2f20 100%);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.espelho-id-label {
  font-size: 10px;
  font-weight: 700;
  color: #7eb89a;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.espelho-id-text {
  font-size: 16px;
  color: #e8f0e8;
  line-height: 1.5;
  font-style: normal;
  margin: 0;
}
.espelho-id-text strong {
  color: #5dba84;
}
.espelho-sinais {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.espelho-sinal {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg);
  border-radius: 10px;
  padding: 11px 14px;
}
.espelho-sinal-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.espelho-sinal-text {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}
.espelho-padrao {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}
.espelho-padrao-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}
.espelho-padrao-msg {
  font-size: 12.5px;
  color: #555;
  line-height: 1.55;
}
.espelho-padrao-msg em {
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}
.espelho-empty-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 10px;
}
.espelho-empty-hint {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

/* ── MICRO-INSIGHTS ───────────────────────────────────────── */
.insight-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f1923;
  color: #e8f0f8;
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 340px;
  width: calc(100% - 32px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 9999;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.insight-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.insight-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.insight-text {
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

/* ── CALENDÁRIO FINANCEIRO ────────────────────────────────── */
.cal-board {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cal-header h2 { font-size: 15px; font-weight: 700; }
.cal-month-label { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-day-name {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-align: center; padding: 4px 0 6px;
}
.cal-cell {
  min-height: 44px; border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 4px 2px; gap: 3px;
  transition: background .1s;
  cursor: default;
}
.cal-cell:not(.cal-empty):hover { background: var(--bg); }
.cal-empty { background: transparent; }
.cal-today {
  background: var(--green-light) !important;
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.cal-past { opacity: .55; }
.cal-day-num { font-size: 13px; font-weight: 500; line-height: 1; }
.cal-today .cal-day-num { font-weight: 800; color: var(--green); }
.cal-dots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.cal-dot {
  width: 6px; height: 6px;
  border-radius: 50%; display: inline-block; flex-shrink: 0;
}
.cal-legend {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 12px; font-size: 12px; color: var(--muted);
}
.cal-legend span { display: flex; align-items: center; gap: 5px; }

@media (max-width: 720px) {
  .cal-cell { min-height: 36px; }
  .cal-day-num { font-size: 12px; }
}

/* ── SIMULADOR DE SONHOS ──────────────────────────────────── */
.sim-trigger-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}
.sim-trigger-btn {
  padding: 11px 22px;
  background: linear-gradient(135deg, #276749, #1a9960);
  color: white;
  border: none;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(39,103,73,.25);
  transition: transform .15s, box-shadow .15s;
}
.sim-trigger-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(39,103,73,.35); }
.sim-trigger-btn:active { transform: translateY(0); }
.sim-trigger-btn-blue {
  background: linear-gradient(135deg, #2B6CB0, #1a4e8f);
  box-shadow: 0 4px 14px rgba(43,108,176,.25);
}
.sim-trigger-btn-blue:hover { box-shadow: 0 6px 18px rgba(43,108,176,.35); }

.sonho-overlay {
  position: fixed; inset: 0;
  background: rgba(10,28,18,.82);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: ob-fade-in .25s ease;
}
.sonho-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 32px 28px 26px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 56px rgba(0,0,0,.28);
  position: relative;
  animation: ob-slide-up .28s ease;
}
.sonho-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  font-size: 22px; color: var(--muted);
  cursor: pointer; line-height: 1;
  padding: 4px 8px; border-radius: 6px;
  transition: background .15s;
  font-family: inherit;
}
.sonho-close:hover { background: var(--bg); }
.sonho-hero { font-size: 52px; text-align: center; margin-bottom: 10px; line-height: 1; }
.sonho-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.sonho-desc { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 22px; }
.sonho-form { display: flex; flex-direction: column; gap: 14px; }
.sonho-label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sonho-input {
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px; color: var(--text);
  background: var(--bg); outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.sonho-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(39,103,73,.1); }
.sonho-btn {
  width: 100%; padding: 13px;
  background: var(--green); color: white;
  border: none; border-radius: 11px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: opacity .15s;
  margin-top: 4px;
}
.sonho-btn:hover { opacity: .88; }
.sonho-btn-sec {
  background: var(--green-light);
  color: var(--green);
  margin-top: 14px;
  font-size: 14px;
}
.sonho-result { margin-top: 4px; }
.sonho-sep { height: 1px; background: var(--border); margin: 18px 0 16px; }
.sonho-res-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.sonho-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.sonho-kpi {
  background: var(--bg); border-radius: 10px;
  padding: 10px 12px; text-align: center;
}
.sonho-kpi span { font-size: 10px; color: var(--muted); display: block; margin-bottom: 3px; }
.sonho-kpi strong { font-size: 15px; font-weight: 800; display: block; }
.sonho-destaque {
  background: var(--green-light);
  border-radius: 12px; padding: 14px 18px;
  text-align: center; margin-bottom: 10px;
}
.sonho-destaque strong { font-size: 28px; font-weight: 800; color: var(--green); display: block; margin-bottom: 2px; }
.sonho-destaque span { font-size: 12px; color: var(--muted); }
.sonho-info-row {
  font-size: 13px; color: var(--muted);
  background: var(--bg); border-radius: 9px;
  padding: 9px 13px; margin-bottom: 6px;
}
.sonho-info-row strong { color: var(--text); }
.sonho-aviso {
  font-size: 13px; color: var(--amber);
  background: var(--amber-light);
  border-radius: 9px; padding: 10px 14px;
}

.sonho-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.invest-bar-wrap {
  display: flex; height: 12px;
  border-radius: 6px; overflow: hidden;
  margin: 12px 0 6px;
}
.invest-bar-labels {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.invest-milestones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 6px; margin-top: 12px;
}
.invest-milestone {
  background: var(--bg); border-radius: 8px;
  padding: 8px 6px; text-align: center;
}
.invest-milestone span { font-size: 11px; color: var(--muted); display: block; margin-bottom: 3px; }
.invest-milestone strong { font-size: 12px; font-weight: 700; color: var(--green); display: block; }

.import-label {
  display: block;
  margin-top: 10px; padding: 10px 14px;
  background: var(--bg); border: 1.5px dashed var(--border);
  border-radius: 9px; font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer; text-align: center;
  transition: border-color .15s, color .15s;
}
.import-label:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 480px) {
  .sonho-card { padding: 26px 18px 22px; border-radius: 18px; }
  .sonho-kpis { grid-template-columns: 1fr 1fr; }
  .sonho-form-row { grid-template-columns: 1fr; }
  .invest-milestones { grid-template-columns: repeat(3, 1fr); }
}

/* ── SCORE FINANCEIRO ─────────────────────────────────────── */
.score-board {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.score-header h2 { font-size: 15px; font-weight: 700; }
.score-badge {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
}
.score-main {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}
.score-gauge-wrap { display: flex; justify-content: center; }
.score-gauge { width: 100%; max-width: 160px; }
.score-breakdown { display: flex; flex-direction: column; gap: 9px; }
.score-row { display: flex; align-items: center; gap: 8px; }
.score-row-label { font-size: 12px; color: var(--muted); min-width: 140px; }
.score-row-bar {
  flex: 1; height: 7px;
  background: var(--border); border-radius: 99px; overflow: hidden;
}
.score-row-fill { height: 100%; border-radius: 99px; transition: width .5s ease; }
.score-row-pts { font-size: 12px; font-weight: 700; min-width: 36px; text-align: right; }
.score-row-pts small { font-weight: 400; color: var(--muted); }
.score-tips {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 7px;
}
.score-tip {
  font-size: 12px; color: var(--text);
  background: var(--amber-light); color: var(--amber);
  border-radius: 8px; padding: 8px 12px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .score-main { grid-template-columns: 1fr; }
  .score-gauge { max-width: 140px; margin: 0 auto; }
  .score-row-label { min-width: 110px; }
}

/* ── NOTIFICAÇÕES ─────────────────────────────────────────── */
.notif-section { display: flex; flex-direction: column; gap: 10px; }
.notif-enable-btn {
  width: 100%; padding: 10px 14px;
  background: var(--green); color: white;
  border: none; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: opacity .15s;
}
.notif-enable-btn:hover { opacity: .85; }
.notif-enable-btn.notif-granted {
  background: var(--green-light); color: var(--green);
  cursor: default;
}
.notif-label {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 9px 11px;
  background: var(--bg); border-radius: 9px;
  font-size: 13px; cursor: pointer;
}
.notif-label span { color: var(--text); }
.notif-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--green);
  cursor: pointer; flex-shrink: 0;
}
.notif-input {
  width: 72px; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: 7px;
  font-size: 13px; text-align: center;
  background: var(--bg); color: var(--text);
  font-family: inherit; outline: none; flex-shrink: 0;
}
.notif-input:focus { border-color: var(--green); }
.notif-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 99px; background: var(--green-light); color: var(--green);
  margin-bottom: 4px;
}
.notif-payday-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.notif-payday-row input[type="number"] {
  width: 60px; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: 7px;
  font-size: 13px; text-align: center;
  background: var(--bg); color: var(--text);
  font-family: inherit; outline: none;
}
.notif-payday-row input:focus { border-color: var(--green); }
