/* 0104 finance/accounts/advances cleanup */
.hp-account-tabs{display:flex;gap:.45rem;flex-wrap:wrap;margin:.35rem 0 1rem;border-bottom:1px solid #dfe8d7;padding-bottom:.55rem}
.hp-account-tab{display:inline-flex;align-items:center;gap:.35rem;border:1px solid #b8c9ad;background:#fff;color:#3f6335;text-decoration:none;border-radius:999px;padding:.42rem .9rem;font-weight:700;box-shadow:0 2px 8px rgba(48,83,40,.05)}
.hp-account-tab:hover{background:#f4faef;border-color:#7fa768;color:#2c5727}.hp-account-tab.is-active{background:linear-gradient(180deg,#eaf6df,#d8ebc7);border-color:#6fa052;color:#234c20;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 4px 14px rgba(67,111,51,.13)}
.hp-bank-ledger-account-groups-tabbed{margin-top:.25rem}.hp-bank-ledger-account-group>h2{margin:.35rem 0 .75rem;color:#2f5129}.hp-bank-account-card{border-color:#d5dfce}.hp-bank-account-card.active{border-color:#70a24d;box-shadow:0 0 0 3px rgba(112,162,77,.17)}.hp-account-card-category-credit .money,.hp-account-card-category-credit .money.negative{color:#c92929}.hp-account-card-category-giro .money.positive,.hp-account-card-category-savings .money.positive,.hp-account-card-category-cash .money.positive{color:#009b55}
.hp-section-spaced{margin-top:2rem}.hp-forecast-outgoing .money,.hp-forecast-outgoing .money.positive{color:#c92929;font-weight:800}.hp-forecast-rules-card{margin-top:1.35rem;border:1px solid #dfe8d7;border-radius:16px;background:#fbfdf9;padding:1rem 1.1rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}.hp-forecast-rules-card h2{margin:0}.hp-forecast-rules-card p{margin:.2rem 0 0}.hp-check-line{display:flex!important;align-items:center;gap:.5rem}.hp-check-line input{width:auto!important}
.hp-advances-card .page-head.compact{margin-bottom:.5rem}.hp-advance-total-pill{display:inline-flex;align-items:center;border:1px solid #dbe6d3;background:#f4faef;border-radius:999px;padding:.45rem .8rem;color:#314f2d}.hp-advance-subtotal td{background:#fff6da;font-weight:800}.hp-check-inline{white-space:nowrap}.hp-table-scroll{max-height:70vh;overflow:auto}.hp-table-sticky thead th{box-shadow:0 1px 0 #dfe8d7}.hp-status-dot.pending{background:#d89423}.hp-status-dot.confirmed{background:#3a8f3a}.hp-status-dot.open{background:#c46f00}
.button.danger,.hp-btn.danger,button.danger,a.danger{background:#fff2f0!important;border:1px solid #d9897f!important;color:#a6281d!important}.button.danger:hover,.hp-btn.danger:hover,button.danger:hover,a.danger:hover{background:#ffe3df!important;color:#841e16!important}.hp-danger-card{border-color:#e0a39a;background:#fffaf9}.hp-form-card input,.hp-form-card select,.hp-form-card textarea{width:100%}
@media(max-width:760px){.hp-forecast-rules-card{display:block}.hp-forecast-rules-card .button{margin-top:.75rem}.hp-account-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:.8rem}.hp-account-tab{white-space:nowrap}.hp-table-scroll{max-height:none}}
