body.module-context-bank [data-real-nav="contributions"],
body.module-context-bank [data-nav="excedentes"],
body.module-context-bank [data-surplus-nav],
body.module-context-bank .sidebar .annual-only { display: none !important; }

body.module-context-bank .page-content { background: radial-gradient(circle at 92% 5%, rgba(193, 225, 205, .45), transparent 28%), #f8f7f0; }
body:has(#view-root [data-savings-view]) .sidebar { display: flex !important; }
body:has(#view-root [data-savings-view]) .sidebar .nav-item { display: none !important; }
body:has(#view-root [data-savings-view]) .sidebar [data-module-scope="global"],
body:has(#view-root [data-savings-view]) .sidebar [data-module-scope="bank"] { display: flex !important; }
body:has(#view-root [data-savings-view]) .page-content { background: radial-gradient(circle at 92% 5%, rgba(193, 225, 205, .45), transparent 28%), #f8f7f0; }
.savings-page { max-width: 1500px; margin: 0 auto; padding: 48px 44px 72px; color: #173b35; font-family: Manrope, sans-serif; }
.savings-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.savings-hero h1 { margin: 8px 0 7px; color: #123d35; font: 400 clamp(38px, 4vw, 62px)/.98 "DM Serif Display", serif; letter-spacing: -.035em; }
.savings-hero p { max-width: 760px; margin: 0; color: #6c817c; font-size: 15px; line-height: 1.65; }
.savings-kicker { color: #087767; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.savings-hero-actions, .savings-modal footer, .approval-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.savings-btn { min-height: 44px; border: 1px solid transparent; border-radius: 13px; padding: 0 18px; background: #086657; color: #fff; font: 800 13px Manrope, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(5, 82, 70, .13); }
.savings-btn:hover { transform: translateY(-1px); }
.savings-btn.secondary { border-color: #c7d8d3; background: #fff; color: #155c50; box-shadow: none; }
.savings-btn.danger { background: #d75e47; }
.savings-btn.lime { background: #dafa68; color: #164a40; }
.savings-btn.link { min-height: 32px; padding: 0; background: transparent; color: #12695c; box-shadow: none; }
.savings-btn.small { min-height: 34px; padding: 0 12px; border-radius: 9px; font-size: 11px; box-shadow: none; }
.savings-btn.danger-outline { border-color: #efc4bb; background: #fff; color: #c94e39; box-shadow: none; }
.savings-loading { display: grid; min-height: 320px; place-items: center; border: 1px solid #d4dfdb; border-radius: 24px; background: rgba(255,255,255,.72); color: #66817b; }
.savings-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.savings-metric { min-height: 150px; border: 1px solid #d0ddd8; border-radius: 22px; padding: 24px; background: rgba(255,255,252,.9); box-shadow: 0 14px 34px rgba(23, 70, 61, .06); }
.savings-metric span, .closing-sheet span { display: block; color: #627a74; font-size: 12px; font-weight: 700; }
.savings-metric strong { display: block; margin: 18px 0 8px; color: #163c35; font: 400 32px/1 "DM Serif Display", serif; }
.savings-metric small, .closing-sheet small { color: #82938f; font-size: 11px; }
.savings-metric.featured { border-color: #126758; background: linear-gradient(135deg, #0d5c4f, #1f765f); }
.savings-metric.featured span, .savings-metric.featured strong, .savings-metric.featured small { color: #fff; }
.savings-metric.warning { background: #fff8e4; }
.savings-dashboard-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(280px, .8fr); gap: 18px; }
.savings-panel { overflow: hidden; border: 1px solid #d0ddd8; border-radius: 22px; background: rgba(255,255,252,.94); box-shadow: 0 16px 38px rgba(23, 70, 61, .07); }
.savings-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #dce5e1; }
.savings-panel h2, .savings-side-panel h2, .approval-card h2, .group-account-card h2 { margin: 0; color: #173c35; font-size: 16px; }
.savings-panel header p { margin: 4px 0 0; color: #7a8d88; font-size: 11px; }
.savings-side-panel { border-radius: 22px; padding: 28px; background: #103f37; color: #fff; box-shadow: 0 18px 40px rgba(11, 71, 60, .15); }
.savings-side-panel h2 { margin: 18px 0 12px; color: #fff; font: 400 28px/1.12 "DM Serif Display", serif; }
.savings-side-panel p { margin: 0 0 28px; color: #c3d5d0; font-size: 13px; line-height: 1.65; }
.savings-table-wrap { overflow-x: auto; }
.savings-table-wrap table { width: 100%; border-collapse: collapse; min-width: 780px; }
.savings-table-wrap th { padding: 14px 18px; background: #f7f9f6; color: #718781; font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.savings-table-wrap td { padding: 15px 18px; border-top: 1px solid #e2e8e5; color: #314c46; font-size: 12px; vertical-align: middle; }
.savings-table-wrap td strong { display: block; color: #183b35; }
.savings-table-wrap td small { display: block; margin-top: 4px; color: #84938f; font-size: 10px; }
.savings-table-wrap td.actions { display: flex; gap: 7px; justify-content: flex-end; }
.savings-table-wrap td.money { font-weight: 800; white-space: nowrap; }
.money.positive { color: #08705f; }.money.negative { color: #c9503c; }
.savings-type, .savings-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 9px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.savings-type.deposit, .savings-status.success { background: #e4f5ef; color: #08705f; }
.savings-type.withdrawal { background: #ffebe7; color: #bd4d39; }
.savings-status.warning { background: #fff0c4; color: #9b6700; }
.savings-status.neutral { background: #edf1ef; color: #667a75; }
.savings-empty { display: grid; min-height: 190px; place-items: center; align-content: center; gap: 7px; padding: 26px; text-align: center; color: #71827e; }
.savings-empty span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 16px; background: #e6f4ef; color: #08705f; font-size: 20px; }
.savings-empty strong { color: #21423c; font-size: 14px; }.savings-empty p { margin: 0; font-size: 12px; }
.savings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; border-bottom: 1px solid #dce5e1; color: #71847f; font-size: 11px; }
.savings-search { display: flex; align-items: center; width: min(520px, 100%); min-height: 44px; gap: 9px; border: 1px solid #ccd9d5; border-radius: 12px; padding: 0 14px; background: #fff; }
.savings-search input { width: 100%; border: 0; outline: 0; color: #173d36; font: 500 13px Manrope, sans-serif; }
.savings-muted { color: #81928e; }.accounts-panel { min-height: 400px; }
.group-account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.group-account-card { display: flex; align-items: flex-end; justify-content: space-between; min-height: 190px; border: 1px solid #cbdad5; border-radius: 22px; padding: 28px; background: #fff; }
.group-account-card h2 { margin-top: 18px; font: 400 28px "DM Serif Display", serif; }.group-account-card p { color: #738681; }.group-account-card > strong { font: 400 30px "DM Serif Display", serif; }

.group-account-card { align-items: stretch; gap: 28px; background: linear-gradient(135deg, #fffef9 0%, #f3faf6 100%); }
.group-account-card-main { min-width: 0; flex: 1; }
.group-account-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.group-account-card-top small { color: #698078; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.group-account-card h2 { margin: 18px 0 7px; color: #173d35; }
.group-account-card p { min-height: 18px; margin: 0; font-size: 12px; }
.group-account-card dl { display: grid; gap: 10px; margin: 24px 0 0; }
.group-account-card dl > div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid #dbe6e1; }
.group-account-card dt { color: #71847d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.group-account-card dd { margin: 0; color: #21463e; font-size: 12px; font-weight: 800; }
.group-account-card dd small { display: block; margin-top: 3px; color: #788984; font-weight: 600; }
.group-account-card-balance { min-width: 170px; display: grid; align-content: end; justify-items: end; padding-left: 24px; border-left: 1px solid #dbe6e1; }
.group-account-card-balance span { color: #71847d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.group-account-card-balance strong { margin-top: 8px; color: #0d5549; font: 400 31px "DM Serif Display", serif; }
.group-account-card-balance small { max-width: 155px; margin-top: 8px; color: #b26b18; font-size: 10px; font-weight: 800; text-align: right; }
.group-account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.group-account-actions .savings-btn[disabled], .savings-modal .savings-btn[disabled] { cursor: not-allowed; opacity: .45; transform: none; }
.group-account-empty { grid-column: 1 / -1; display: grid; justify-items: center; padding-bottom: 30px; border: 1px dashed #b7cec5; border-radius: 22px; background: rgba(255,255,255,.72); }
.group-account-empty .savings-empty { min-height: 155px; }
.group-account-form .group-optional { justify-self: start; border-radius: 999px; padding: 3px 7px; color: #55736a; background: #e9f2ee; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.group-field-help { color: #758984; font-size: 10px; font-weight: 600; line-height: 1.45; }
.group-responsible-results { display: grid; max-height: 230px; overflow: auto; gap: 7px; margin-top: -7px; }
.group-responsible-results:empty { display: none; }
.group-responsible-results > p { margin: 0; padding: 12px 14px; border: 1px dashed #c8d8d2; border-radius: 11px; color: #71847f; font-size: 11px; text-align: center; }
.group-responsible-results button { display: grid; gap: 3px; width: 100%; border: 1px solid #d1ded9; border-radius: 11px; padding: 11px 13px; color: #21463e; background: #fff; text-align: left; cursor: pointer; }
.group-responsible-results button:hover { border-color: #6da595; background: #edf8f3; }
.group-responsible-results strong { font-size: 12px; }.group-responsible-results small { color: #70847d; font-size: 10px; }
.group-responsible-selected { display: grid; gap: 3px; margin-top: -7px; border: 1px solid #8ebbad; border-radius: 12px; padding: 12px 14px; background: #e9f6f0; }
.group-responsible-selected span { color: #4f7167; font-size: 9px; font-weight: 800; text-transform: uppercase; }.group-responsible-selected strong { color: #17463c; font-size: 13px; }.group-responsible-selected small { color: #668078; font-size: 10px; }
.payment-method-fieldset[hidden] { display: none; }
.group-detail-summary { display: grid; grid-template-columns: minmax(180px,.65fr) 1fr; gap: 16px; }
.group-detail-summary > div { display: grid; align-content: center; min-height: 120px; border-radius: 17px; padding: 20px; color: #fff; background: #0d5d50; }
.group-detail-summary > div span { font-size: 10px; font-weight: 800; text-transform: uppercase; }.group-detail-summary > div strong { margin-top: 8px; font: 400 31px "DM Serif Display", serif; }
.group-detail-summary dl { display: grid; margin: 0; border: 1px solid #d4e0db; border-radius: 17px; padding: 8px 17px; }
.group-detail-summary dl > div { display: grid; align-content: center; gap: 4px; padding: 10px 0; }.group-detail-summary dl > div + div { border-top: 1px solid #dce5e1; }
.group-detail-summary dt { color: #71847e; font-size: 10px; font-weight: 800; text-transform: uppercase; }.group-detail-summary dd { margin: 0; color: #22463e; font-size: 12px; font-weight: 800; }
.group-detail-members, .group-detail-history { margin-top: 22px; }.group-detail-members h3, .group-detail-history h3 { margin: 0 0 10px; color: #21443d; font-size: 13px; }
.group-detail-members > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.group-detail-members > div > div { display: grid; gap: 3px; border: 1px solid #d7e2de; border-radius: 12px; padding: 12px 14px; background: #fbfdfb; }
.group-detail-members span { color: #55746b; font-size: 9px; font-weight: 800; text-transform: uppercase; }.group-detail-members strong { color: #20463d; font-size: 11px; }.group-detail-members small { color: #748780; font-size: 9px; }
.group-detail-history .savings-table-wrap { max-height: 300px; border: 1px solid #d7e2de; border-radius: 13px; }.group-detail-history table { min-width: 580px; }

@media (max-width: 720px) {
  .group-account-grid { grid-template-columns: 1fr; }
  .group-account-card { flex-direction: column; }
  .group-account-card-balance { min-width: 0; justify-items: start; padding: 16px 0 0; border-top: 1px solid #dbe6e1; border-left: 0; }
  .group-account-card-balance small { text-align: left; }
  .group-detail-summary { grid-template-columns: 1fr; }
  .group-detail-members > div { grid-template-columns: 1fr; }
}
.approval-list { display: grid; gap: 14px; }.approval-card { display: flex; justify-content: space-between; gap: 30px; border: 1px solid #d3ddd9; border-left: 4px solid #e0a71c; border-radius: 18px; padding: 22px; background: #fff; }
.approval-card h2 { margin-top: 14px; }.approval-card p, .approval-card small { color: #778985; }.approval-card > div:last-child { text-align: right; }.approval-card > div:last-child > strong { display: block; margin-bottom: 18px; font: 400 28px "DM Serif Display", serif; }
.closing-sheet { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #cddbd6; border-radius: 22px; background: #fff; }.closing-sheet > div { min-height: 190px; padding: 30px; border-right: 1px solid #dce4e1; }.closing-sheet > div:last-child { border: 0; }.closing-sheet strong { display: block; margin: 34px 0 10px; font: 400 32px "DM Serif Display", serif; }.closing-sheet .net { background: #123f37; }.closing-sheet .net span,.closing-sheet .net strong,.closing-sheet .net small { color: #fff; }
.savings-notice { margin-top: 16px; border: 1px dashed #bdcec8; border-radius: 15px; padding: 16px 18px; color: #607773; font-size: 12px; }
.savings-modal-backdrop { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5, 39, 34, .66); backdrop-filter: blur(5px); }
.savings-modal { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 24px; background: #fffef9; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.savings-modal > header { display: flex; justify-content: space-between; gap: 20px; padding: 24px 26px 19px; border-bottom: 1px solid #dce5e1; }.savings-modal h2 { margin: 6px 0 4px; color: #173c35; font: 400 30px "DM Serif Display", serif; }.savings-modal header p { margin: 0; color: #758782; font-size: 12px; }.modal-close { width: 38px; height: 38px; border: 0; border-radius: 12px; background: #edf3f0; color: #315b52; font-size: 22px; cursor: pointer; }
.savings-modal-body { padding: 24px 26px; }.savings-modal footer { justify-content: flex-end; padding: 17px 26px 23px; border-top: 1px solid #e0e7e4; }
.savings-form { display: grid; gap: 16px; }.savings-form label { display: grid; gap: 7px; color: #23473f; font-size: 12px; font-weight: 800; }.savings-form input,.savings-form select,.savings-form textarea { width: 100%; min-height: 48px; box-sizing: border-box; border: 1px solid #c7d6d1; border-radius: 12px; padding: 10px 13px; background: #fff; color: #183c35; font: 600 13px Manrope, sans-serif; }.savings-form textarea { min-height: 90px; resize: vertical; }
.open-account-summary { display: grid; gap: 8px; border: 1px solid #ccdad5; border-radius: 18px; padding: 22px; background: #f5f9f6; }.open-account-summary span { color: #08705f; font-size: 11px; font-weight: 800; }.open-account-summary strong { font-size: 17px; }.open-account-summary p { margin: 0; color: #71837e; font-size: 12px; }
.receipt-card { border: 1px solid #bed2cb; border-radius: 18px; padding: 22px; background: #f7faf7; }.receipt-card > span { color: #08705f; font-size: 11px; font-weight: 800; }.receipt-card h3 { margin: 8px 0 18px; font: 400 25px "DM Serif Display", serif; }.receipt-card dl { margin: 0; }.receipt-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid #dce5e1; }.receipt-card dt { color: #6d817b; }.receipt-card dd { margin: 0; font-weight: 800; text-align: right; }
@media (max-width: 1100px) { .savings-metrics { grid-template-columns: repeat(2, 1fr); }.savings-dashboard-grid { grid-template-columns: 1fr; }.group-account-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .savings-page { padding: 28px 16px 60px; }.savings-hero { align-items: flex-start; flex-direction: column; }.savings-hero-actions { width: 100%; }.savings-hero-actions .savings-btn { flex: 1; }.savings-metrics { grid-template-columns: 1fr; }.savings-metric { min-height: 120px; }.closing-sheet { grid-template-columns: 1fr; }.closing-sheet > div { min-height: 140px; border-right: 0; border-bottom: 1px solid #dce4e1; }.approval-card { flex-direction: column; }.approval-card > div:last-child { text-align: left; }.savings-toolbar { align-items: flex-start; flex-direction: column; } }

.savings-metric.yield { background: linear-gradient(145deg, #eef8e7, #fbfff7); border-color: #bfd9af; }
.savings-metric.yield strong, .yield-money { color: #287348; }
.total-money { color: #083e35; font-weight: 800; }
.savings-yield-strip { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; align-items: center; gap: 24px; margin: 18px 0; padding: 20px 22px; border: 1px solid #bdd6c7; border-radius: 20px; background: linear-gradient(110deg, #f9fcf4 0%, #e5f3e9 100%); box-shadow: 0 14px 34px rgba(13,72,61,.08); }
.savings-yield-strip h2 { margin: 4px 0 5px; color: #0b4238; font: 700 22px/1.15 Georgia, serif; }
.savings-yield-strip p { max-width: 760px; margin: 0; color: #5b726c; line-height: 1.5; }
.savings-yield-strip-stats { display: grid; gap: 3px; padding-left: 20px; border-left: 1px solid #c8dcd2; white-space: nowrap; }
.savings-yield-strip-stats span { color: #6c827c; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.savings-table-note { padding: 13px 18px; border-top: 1px solid #e0e9e4; color: #5a716b; font-size: 12px; line-height: 1.45; background: #f7faf8; }
.yield-settings-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.yield-settings-summary > div { display: grid; gap: 5px; padding: 15px; border: 1px solid #d3e1da; border-radius: 14px; background: #f8fbf9; }
.yield-settings-summary span { color: #6c807a; font-size: 11px; font-weight: 700; }
.yield-settings-summary strong { color: #103f37; font-size: 18px; }
.yield-rate-form { grid-template-columns: minmax(160px,.65fr) minmax(240px,1.35fr); }
.yield-rate-form p { grid-column: 1/-1; margin: -4px 0 0; color: #687d77; font-size: 12px; }
.yield-history { margin-top: 20px; }
.yield-history h3 { margin: 0 0 10px; color: #173f38; font-size: 14px; }
.yield-history .savings-table-wrap { max-height: 190px; border: 1px solid #d8e4de; border-radius: 13px; }
.yield-history table { font-size: 12px; }
.yield-settlement-note { margin-top: 18px; padding: 15px 17px; border-left: 4px solid #e2ac1a; border-radius: 10px; background: #fff8df; }
.yield-settlement-note strong { color: #5d4909; }
.yield-settlement-note p { margin: 4px 0 0; color: #75672f; line-height: 1.45; }
@media (max-width: 980px) { .savings-yield-strip { grid-template-columns: 1fr; }.savings-yield-strip-stats { padding: 12px 0 0; border-left: 0; border-top: 1px solid #c8dcd2; } }
@media (max-width: 640px) { .yield-settings-summary, .yield-rate-form { grid-template-columns: 1fr; } }

.payment-method-fieldset { margin: 0; border: 0; padding: 0; }
.payment-method-fieldset legend { margin-bottom: 9px; color: #23473f; font-size: 12px; font-weight: 800; }
.payment-method-fieldset legend strong { color: #b34d39; font-size: 10px; text-transform: uppercase; }
.payment-method-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.payment-method-options label { position: relative; cursor: pointer; }
.payment-method-options input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method-options span { display: grid; min-height: 70px; align-content: center; gap: 4px; box-sizing: border-box; border: 1px solid #cbd9d4; border-radius: 14px; padding: 13px 15px; background: #fbfdfb; transition: border-color .15s, background .15s, box-shadow .15s; }
.payment-method-options b { color: #173f37; font-size: 14px; }
.payment-method-options small { color: #71847f; font-size: 10px; }
.payment-method-options input:checked + span { border-color: #08705f; background: #e7f5ef; box-shadow: inset 0 0 0 1px #08705f, 0 8px 18px rgba(8,112,95,.1); }
.payment-method-options input:focus-visible + span { outline: 3px solid rgba(8,112,95,.2); outline-offset: 2px; }
.payment-method-label { margin-top: 5px !important; color: #42655d !important; font-weight: 800; text-transform: uppercase; }
.payment-closing { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1150px) { .payment-closing { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .payment-method-options, .payment-closing { grid-template-columns: 1fr; } }
