/* Identidade FinanceFlow. */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #636568;
  --primary: #1f7a5a;
  --primary-rgb: 31,122,90;
  --primary-hover: #176044;
  --positive: #176b4b;
  --negative: #a63c46;
  --negative-hover: #862c35;
  --line: #e3e4e5;
  --soft: #eaf3ee;
  --row-pressed: #d7eadf;
  --neutral-soft: #eff0f1;
  --negative-soft: #f8edef;
  --focus: #287a58;
  --focus-border: #72a58c;
  --graphite: #292d2b;
  --graphite-deep: #1d211f;
  --on-dark-muted: #d4ded8;
  --on-dark-line: #ffffff38;
  --on-dark-accent: #96d4ae;
  --track: #e7ece9;
  --nav-bg: #ffffffed;
  --shadow-soft: #1d211f0a;
  --shadow-action: #1f7a5a20;
  --shadow-strong: #1d211f30;
  --backdrop: #1d211f66;
  --allocation-1: #1f7a5a;
  --allocation-2: #916617;
  --allocation-3: #7656a8;
  --allocation-4: #596875;
  --bs-primary: var(--primary);
  --bs-primary-rgb: var(--primary-rgb);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--primary-hover);
  --bs-focus-ring-color: var(--shadow-action);
}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Montserrat,system-ui,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button{cursor:pointer}
a{color:var(--primary);text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px}
button{border:0}
.app-shell{max-width:1060px;margin:auto;padding:25px 32px 128px}
.app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:36px}
.brand{font-size:17px;letter-spacing:-.6px;font-weight:800;color:var(--ink)}
.brand i{color:var(--primary);margin-right:5px}
.demo-label{font-size:10px;color:var(--muted)}
h1{font-size:30px;font-weight:700;letter-spacing:-1px;margin:4px 0 0}
h2{font-size:17px;font-weight:700;letter-spacing:-.3px;margin:0}
p{margin:0}
.page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 25px;gap:10px}
.eyebrow{color:var(--muted);font-size:12px}
.avatar{width:42px;height:42px;background:var(--soft);border-radius:50%;color:var(--primary);font-size:21px;display:grid;place-items:center}
.home-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:28px}
.balance{background:var(--primary);border-radius:23px;padding:28px;color:var(--surface)}
.balance-label{color:var(--on-dark-muted);font-size:13px}
.balance-value{font-size:39px;font-weight:600;letter-spacing:-1.5px;line-height:1.3;margin:8px 0 25px;font-variant-numeric:tabular-nums}
.balance-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--on-dark-line);padding-top:19px}
.balance-details span{display:block;font-size:11px;color:var(--on-dark-muted);margin-bottom:6px}
.balance-details strong{font-weight:600;font-size:17px}
.spend-line{display:flex;justify-content:space-between;padding:17px 4px 0;font-size:12px}
.spend-line strong{color:var(--primary);font-weight:600}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}
.section-heading a{font-size:12px;font-weight:600;min-height:36px;display:flex;align-items:center}
.cards-scroll{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.bank-card{flex:1;min-width:180px;background:var(--surface);text-align:left;padding:20px;border-radius:18px;color:var(--ink);scroll-snap-align:start}
.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.card-top i{font-size:22px;color:var(--primary)}
.card-mark{font-size:10px;letter-spacing:1px;color:var(--muted);font-weight:700}
.bank-card strong{font-size:12px;font-weight:600}
.card-amount{font-size:11px;margin:9px 0 13px;white-space:nowrap;color:var(--muted)}
.card-amount b{font-weight:600;color:var(--ink)}
.progress-track{height:4px;background:var(--track);border-radius:8px;overflow:hidden}
.progress-track span{display:block;height:100%;background:var(--primary);border-radius:8px}
.wealth-link{display:flex;align-items:center;gap:12px;margin-top:16px;padding:16px 3px;min-height:56px;color:var(--ink)}
.wealth-link i:first-child{font-size:22px;color:var(--primary)}
.wealth-link strong{font-size:13px;font-weight:600}
.wealth-link small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.wealth-link .bi-chevron-right{margin-left:auto;color:var(--muted)}
.movements-section{margin-top:28px}
.list-surface{background:var(--surface);border-radius:20px;padding:0 20px}
.movement{display:flex;align-items:center;position:relative;border-bottom:1px solid var(--line);gap:12px;padding:17px 0}
.movement:last-child{border:0}
.movement-main{display:flex;align-items:center;gap:12px;background:transparent;text-align:left;width:100%;min-width:0;padding:0;color:var(--ink);min-height:44px}
.category-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-size:18px;background:var(--soft);color:var(--primary);flex-shrink:0}
.category-icon.expense{background:var(--negative-soft);color:var(--negative)}
.movement-copy{flex:1;min-width:0}
.movement-copy strong{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.movement-copy small{display:block;font-size:11px;color:var(--muted);margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.movement-value{font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}
.movement-value small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:5px}
.income{color:var(--positive)}
.expense-value{color:var(--negative)}
.desktop-actions{display:flex;opacity:0;gap:3px;transition:opacity .15s}
.movement:hover .desktop-actions,.movement:focus-within .desktop-actions{opacity:1}
.icon-button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--neutral-soft);color:var(--muted);flex-shrink:0}
.danger{color:var(--negative)}
.bottom-nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:10;width:min(610px,calc(100% - 40px));height:77px;background:var(--nav-bg);backdrop-filter:blur(18px);border-radius:23px;box-shadow:0 6px 35px var(--shadow-soft);display:grid;grid-template-columns:1fr 1fr 68px 1fr 1fr;align-items:center;padding:0 14px}
.bottom-nav a{color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:500;min-height:60px}
.bottom-nav a i{font-size:21px;line-height:1}
.bottom-nav a[aria-current=page]{color:var(--primary);font-weight:700}
.add-button{width:52px;height:52px;border-radius:18px;background:var(--primary);color:var(--surface);font-size:26px;margin:auto;box-shadow:0 4px 12px var(--shadow-action)}
.filter-bar{display:flex;gap:14px;align-items:center;margin-bottom:20px;flex-wrap:wrap}
.search-box{position:relative;flex:1;min-width:180px}
.search-box i{position:absolute;top:13px;left:14px;color:var(--muted)}
.search-box input{padding-left:40px!important}
.form-control,.form-select{border-color:var(--line);min-height:46px;border-radius:12px;font-size:13px;color:var(--ink)}
.segments{display:flex;background:var(--neutral-soft);padding:4px;border-radius:12px}
.segments button{padding:9px 13px;background:transparent;border-radius:9px;color:var(--muted);font-size:12px;font-weight:600;min-height:36px}
.segments button[aria-pressed=true]{background:var(--surface);color:var(--primary);box-shadow:0 2px 4px var(--shadow-soft)}
.month-select{max-width:165px}
.date-group{font-size:11px;color:var(--muted);font-weight:600;margin:22px 3px 10px}
.planning-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px}
.forecast{background:var(--surface);border-radius:19px;padding:23px}
.forecast span{display:block;color:var(--muted);font-size:12px}
.forecast strong{display:block;font-size:23px;font-weight:600;letter-spacing:-.8px;margin-top:14px}
.forecast:first-child{background:var(--surface)}
.forecast:first-child strong{color:var(--primary)}
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.menu-group{margin-bottom:25px}
.menu-group h2{font-size:12px;color:var(--muted);margin:0 14px 9px}
.menu-list{background:var(--surface);border-radius:18px;overflow:hidden}
.menu-row{display:flex;align-items:center;gap:14px;width:100%;padding:17px 18px;background:transparent;color:var(--ink);border-bottom:1px solid var(--line);text-align:left;min-height:54px}
.menu-row:last-child{border:0}
.menu-row>i:first-child{color:var(--primary);font-size:19px;width:22px}
.menu-row span{flex:1;font-size:13px;font-weight:500}
.menu-row .bi-chevron-right{font-size:12px;color:var(--muted)}
.wealth-hero{padding:30px 0 24px}
.wealth-hero h1{font-size:40px;margin:8px 0 25px}
.wealth-stats{display:flex;gap:45px}
.wealth-stats small{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}
.wealth-stats strong{font-size:19px;font-weight:600}
.allocation-bar{display:flex;height:9px;border-radius:10px;overflow:hidden;margin:20px 0}
.allocation-bar span{height:100%}
.allocation-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:12px}
.allocation-legend i{margin-right:5px}
.empty{padding:28px;color:var(--muted);text-align:center;font-size:13px}
.back-link{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}
.detail-value{font-size:33px;font-weight:600;letter-spacing:-1px;margin:20px 0}
.detail-rows{margin:20px 0}
.detail-rows div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.detail-rows dt{font-weight:400;color:var(--muted)}
.detail-rows dd{text-align:right;font-weight:500;margin:0;overflow-wrap:anywhere}
.action-row{display:flex;gap:10px;flex-wrap:wrap}
.btn{border-radius:12px;font-size:13px;padding:13px 17px;font-weight:600}
.btn-primary{background:var(--primary);border-color:var(--primary)}
.btn-light{background:var(--soft);color:var(--primary)}
dialog{border:0;border-radius:24px;width:min(480px,calc(100% - 32px));max-height:90dvh;padding:24px;color:var(--ink);box-shadow:0 20px 90px var(--shadow-strong);margin:auto}
dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(3px)}
.sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:8px}
.sheet-heading h2{font-size:21px}
.sheet-handle{display:none}
.quick-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}
.quick-option{background:var(--soft);color:var(--primary);border-radius:18px;min-height:130px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:23px;gap:12px;font-weight:600}
.quick-option i{font-size:29px}
.quick-option.out{color:var(--negative);background:var(--negative-soft)}
.category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 20px}
.category-chips button{border-radius:12px;background:var(--neutral-soft);color:var(--muted);padding:10px 12px;font-size:11px;min-height:40px;border:1px solid transparent}
.category-chips button i{margin-right:6px}
.category-chips button[aria-pressed=true]{background:var(--soft);color:var(--primary);border-color:var(--focus-border);font-weight:600}
.quick-form .form-label{font-size:12px;font-weight:500;margin-bottom:7px}
.quick-form .field{margin-bottom:15px}
.quick-form .field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.quick-form .money-input{font-size:28px;letter-spacing:-1px;font-weight:600;padding:13px 15px;min-height:65px}
.future-hint{color:var(--primary);font-size:11px;margin-top:7px}
.quick-form details{margin:5px 0 20px}
.quick-form summary{font-size:12px;color:var(--muted)}
.quick-form textarea{margin-top:10px}
.quick-form .submit{width:100%}
#feedback{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);border-radius:14px;padding:13px 20px;z-index:40;font-size:12px;box-shadow:0 6px 25px var(--shadow-strong);max-width:calc(100% - 30px);text-align:center}
#feedback:empty{display:none}
.skip-link{position:fixed;top:-60px;left:16px;background:var(--surface);padding:12px;z-index:100}
.skip-link:focus{top:8px}
.inline-note{font-size:11px;color:var(--muted);margin:14px 0}
.screen-enter{animation:appear .18s ease-out}
@keyframes appear{from{opacity:.6;transform:translateY(4px)}
to{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}
}
@media(max-width:700px){.app-shell{padding:19px 20px 116px}
.app-header{margin-bottom:25px}
.brand{font-size:15px}
.demo-label{font-size:8px;max-width:125px;text-align:right}
.page-heading{margin-bottom:20px}
h1{font-size:27px}
.home-grid{grid-template-columns:1fr;gap:24px}
.balance{padding:24px;border-radius:21px}
.balance-value{font-size:35px;margin:8px 0 23px}
.balance-details strong{font-size:16px}
.bank-card{min-width:215px;padding:19px}
.card-top{margin-bottom:21px}
.cards-scroll{margin-right:-1px}
.wealth-link{margin-top:6px;padding-bottom:0}
.movements-section{margin-top:24px}
.list-surface{padding:0 14px}
.movement{gap:8px;padding:15px 0}
.movement-main{gap:10px}
.movement-copy strong{font-size:12px}
.movement-copy small{font-size:10px}
.movement-value{font-size:12px}
.category-icon{width:35px;height:35px;font-size:16px;border-radius:11px}
.desktop-actions{display:none}
.bottom-nav{bottom:0;width:100%;height:calc(76px + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom);border-radius:20px 20px 0 0;grid-template-columns:1fr 1fr 59px 1fr 1fr}
.bottom-nav a{font-size:8px;gap:7px}
.add-button{width:48px;height:48px;border-radius:16px}
.planning-grid{grid-template-columns:1fr;gap:11px}
.forecast{display:flex;align-items:center;justify-content:space-between;padding:22px}
.forecast strong{font-size:22px;margin:0}
.two-columns{grid-template-columns:1fr;gap:23px}
.wealth-hero{padding:10px 0 26px}
.wealth-hero h1{font-size:34px}
.wealth-stats{gap:25px}
.wealth-stats strong{font-size:17px}
.allocation-legend{gap:12px;font-size:11px}
.filter-bar{gap:12px}
.search-box{flex-basis:100%}
.segments{flex:1}
.segments button{padding:8px 10px;font-size:10px;flex:1}
.month-select{width:115px;font-size:11px}
.menu-group{margin-bottom:22px}
dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:94dvh;border-radius:24px 24px 0 0;padding:12px 22px calc(22px + env(safe-area-inset-bottom))}
.sheet-handle{display:block;width:33px;height:4px;background:var(--line);border-radius:5px;margin:0 auto 16px}
.sheet-heading{margin-bottom:18px}
.sheet-heading h2{font-size:20px}
.quick-option{min-height:122px}
.category-chips{gap:7px;margin-bottom:17px}
.category-chips button{padding:9px 10px}
.quick-form .field{margin-bottom:12px}
.quick-form .money-input{font-size:27px;min-height:59px}
.quick-form .field-row{gap:10px}
.quick-form .form-control,.quick-form .form-select{font-size:16px}
.quick-form select{font-size:12px!important}
#feedback{bottom:calc(92px + env(safe-area-inset-bottom))}
}
@media(min-width:701px){.movements-section .list-surface{padding:0 24px}
.page-heading .eyebrow{font-size:13px}
}

.home-grid>*,.two-columns>*{min-width:0}
.app-shell{width:100%}
.quick-form .field-row>*{min-width:0}


@media(max-width:700px){.quick-form .field-row{grid-template-columns:1fr}
}


/* Only the destination heading receives programmatic navigation focus. */
main:focus,.screen-title:focus { outline: none; }

.screen-title { scroll-margin-top: 24px; }

.balance { position: relative; }

.balance-main { display: block; color: var(--surface); }

.balance-main::after { content: ''; position: absolute; inset: 0; border-radius: 23px; }

.balance-main .balance-label { display: flex; justify-content: space-between; }

.balance-main .balance-value { display: block; }

.balance-details a { position: relative; z-index: 1; color: var(--surface); border-radius: 8px; padding: 4px; }

.balance-details a i { color: var(--on-dark-accent); margin-left: 4px; font-size: 9px; }

.balance-details a:focus-visible { outline-color: var(--on-dark-accent)!important; }

.balance-main:focus-visible { outline-color: var(--on-dark-accent)!important; }

.section-destination { display: flex!important; justify-content: space-between; width: 100%; color: var(--ink); }

.entity-actions { display: flex; gap: 8px; }

.entity-row { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }

.entity-row:last-child { border-bottom: 0; }

.entity-main { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: 1; min-width: 0; padding: 20px 0; min-height: 72px; }

.entity-main>.bi { color: var(--primary); }

.entity-main>.bi-chevron-right { font-size: 11px; }

.entity-row .movement-value { font-size: 12px; }

.summary-surface { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px; margin: 8px 0 28px; background: var(--surface); border-radius: 18px; color: var(--ink); }

.summary-surface strong { font-size: 24px; }

.summary-surface>span { color: var(--muted); }

.wealth-total { font-size: clamp(28px,6vw,40px); letter-spacing: -1px; font-weight: 700; margin: 8px 0 24px; }

.wealth-stats a { display: block; color: var(--ink); border-radius: 8px; padding: 6px 0; }

.allocation-legend a { color: var(--ink); padding: 8px 0; }

.allocation-0 { background: var(--allocation-1); }
.allocation-1 { background: var(--allocation-2); }
.allocation-2 { background: var(--allocation-3); }
.allocation-3 { background: var(--allocation-4); }

.allocation-legend .class-0 { color: var(--allocation-1); }
.allocation-legend .class-1 { color: var(--allocation-2); }
.allocation-legend .class-2 { color: var(--allocation-3); }
.allocation-legend .class-3 { color: var(--allocation-4); }

.limit-total { font-size: .6em; color: var(--muted); white-space: nowrap; }


.menu-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; line-height: 1.7; }

.menu-row strong { font-size: 13px; font-weight: 600; }

.form-control:focus,.form-select:focus { border-color: var(--focus-border); box-shadow: 0 0 0 3px var(--shadow-action); }

input,select,textarea { accent-color: var(--primary); }

.btn-primary { --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary-hover); --bs-btn-hover-border-color: var(--primary-hover); --bs-btn-active-bg: var(--primary-hover); --bs-btn-active-border-color: var(--primary-hover); --bs-btn-focus-shadow-rgb: var(--primary-rgb); }

.btn-danger { --bs-btn-bg: var(--negative); --bs-btn-border-color: var(--negative); --bs-btn-hover-bg: var(--negative-hover); --bs-btn-hover-border-color: var(--negative-hover); --bs-btn-active-bg: var(--negative-hover); --bs-btn-active-border-color: var(--negative-hover); }

.btn-light.danger { color: var(--negative); }

a,button { -webkit-tap-highlight-color: transparent; }

a:active,button:active { filter: brightness(.94); }

@media(hover:hover) and (pointer:fine) {
  .bank-card:hover,.menu-row:hover,.entity-row:hover,.movement:hover,.wealth-link:hover,.summary-surface:hover,.spend-line:hover,.forecast:hover { background: var(--soft); }

  .balance:hover { filter: brightness(1.06); }

  .balance-details a:hover { background: var(--on-dark-line); }

  .icon-button:hover { background: var(--neutral-soft); color: var(--primary); }

  .bottom-nav a:hover { color: var(--primary); }

}

@media(max-width:700px) {
  .entity-main { gap: 8px; }

  .entity-row { gap: 6px; }

  .entity-row .icon-button { width: 36px; height: 40px; }

  .entity-row .movement-value { font-size: 11px; }

  .summary-surface { flex-wrap: wrap; padding: 20px; }

  .summary-surface strong { font-size: 23px; }

  .entity-actions .icon-button { width: 36px; }

  .page-heading h1 { overflow-wrap: anywhere; }

}

.alert-warning {
  --bs-alert-color: var(--negative);
  --bs-alert-bg: var(--negative-soft);
  --bs-alert-border-color: var(--line);
}

/* The external row owns the interaction background. */
.entity-main,.movement-main,.menu-row { background: transparent; }
.bank-card,.forecast { background: var(--surface); color: var(--ink); }

.allocation-bar { gap: 3px; }
.allocation-legend a { font-weight: 600; }
.horizon-filter { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; }
.horizon-filter .form-select { width: 116px; flex-shrink: 0; }
.horizon-filter>span { font-size: 12px; color: var(--muted); }
.horizon-filter strong { color: var(--ink); margin-left: 8px; white-space: nowrap; }
@media(max-width:700px) {
  .horizon-filter { gap: 12px; }
  .horizon-filter strong { display: block; margin: 4px 0 0; }
}

/* No group padding: the row background reaches the rounded clipping edge. */
.list-surface,.movements-section .list-surface { padding: 0; overflow: hidden; }
.list-surface>.movement,.list-surface>.entity-row { padding-left: 20px; padding-right: 20px; }
.list-surface>.movement:first-child,.list-surface>.entity-row:first-child { border-top-left-radius: 20px; border-top-right-radius: 20px; }
.list-surface>.movement:last-child,.list-surface>.entity-row:last-child { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
.entity-row .icon-button,.movement .icon-button { background: transparent; }
.entity-main:active,.movement-main:active { filter: none; }
html[data-input-method=keyboard] :is(.entity-row,.movement):has(:focus-visible),
html[data-input-method=keyboard] :is(.menu-row,.bank-card,.summary-surface,.wealth-link,.forecast):focus-visible { background: var(--soft); }
.entity-row:active,.movement:active,.menu-row:active,.bank-card:active { background: var(--row-pressed); }
.list-surface :is(a,button):focus-visible,.menu-list :is(a,button):focus-visible { outline-offset: -3px; border-radius: 8px; }
#folha-titulo:focus { outline: none; }
html[data-input-method=pointer] :is(a,button,input,select,textarea,summary):focus { outline: none!important; }
html[data-input-method=pointer] dialog :is(.form-control,.form-select):focus { box-shadow: none; border-color: var(--line); }
@media(min-width:701px) { .movements-section .list-surface>.movement { padding-left: 24px; padding-right: 24px; } }
@media(max-width:700px) { .list-surface>.movement,.list-surface>.entity-row { padding-left: 14px; padding-right: 14px; } }

/* Shell compartilhado pelas operações reais. */
#conteudo>.container{padding-left:0;padding-right:0;max-width:none}
#conteudo p{margin-bottom:.65rem}.action-row{flex-wrap:wrap}
.balance-label,.balance-details span{color:#fff}
.bottom-nav .add-button{display:grid;place-items:center;color:white}
.form-page{max-width:560px;margin:auto}.form-page form>p{margin:16px 0}
.form-page label{display:block;margin-bottom:6px}.errorlist{color:var(--negative);padding-left:20px}
.form-page .helptext{font-size:12px;color:var(--muted)}
.entity-row{min-width:0}.entity-main{min-width:0}.entity-main strong{overflow-wrap:anywhere}
.menu-row{display:flex;gap:12px;padding:18px;color:var(--ink)}
.table{--bs-table-bg:var(--surface);--bs-table-hover-bg:var(--soft)}
.card{border-radius:20px}.forecast{display:block}.empty{padding:24px;color:var(--muted)}
.allocation-bar{display:flex;height:10px;overflow:hidden;border-radius:8px;margin:22px 0}
.allocation-bar span{height:100%;min-width:0}.allocation-legend{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.allocation-renda_fixa,.allocation-titulo_publico,.allocation-titulo_privado{--allocation-color:var(--allocation-1)}
.allocation-acao,.allocation-bdr{--allocation-color:var(--allocation-2)}
.allocation-fundo,.allocation-fii,.allocation-fiagro,.allocation-etf,.allocation-previdencia{--allocation-color:var(--allocation-3)}
.allocation-bar span{background:var(--allocation-color,var(--allocation-4))}
.allocation-legend a{color:var(--allocation-color,var(--allocation-4));font-size:12px}
.balance-value{overflow-wrap:anywhere}.bottom-nav a{min-width:0}
@media(max-width:430px){.movement{gap:4px}.movement-main{gap:8px}.movement-value{font-size:11px}.movement .icon-button{width:30px}.category-icon{width:32px;height:34px}.entity-value{font-size:12px}}
