.team-app .team-finance{--surface:#101416;--surface-hover:#191e21;--border-soft:#292e33;--text-primary:#f4f6f8;--text-secondary:#b1b8c0;--text-muted:#969ea8;--primary:#ff294d;--primary-strong:#ed1740;--primary-soft:rgba(255,41,77,.08);--button-primary-text:#fff;--input-bg:#0c1013;--danger:#ff7188;--warning:#edbd68;--tertiary:#7acaa1;--shadow-color:rgba(0,0,0,.15);min-width:0}
.team-app .team-finance [hidden]{display:none!important}
.team-app .team-finance-modes{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-bottom:16px;border-bottom:1px solid var(--border-soft);padding-bottom:12px}
.team-app .team-finance-modes>select{width:220px;max-width:100%;height:40px;flex:none;margin:0;font:inherit;font-size:13px}
.team-app .team-finance-navigation{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.team-app .team-finance-navigation .pro-finance-tabs{order:0;flex:1;flex-wrap:wrap;gap:4px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;width:auto}
.team-app .team-finance-navigation .pro-finance-tabs button{min-height:40px;padding:8px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;font-weight:500}
.team-app .team-finance-navigation .pro-finance-tabs button:hover{background:var(--surface-hover)}
.team-app .team-finance-navigation .pro-finance-tabs button.active{border-bottom-color:var(--primary);color:var(--text-primary);font-weight:600}
.team-app .team-finance-refresh{order:1;display:flex;justify-content:flex-end;margin:0;flex:none}
.team-app .team-finance-refresh button{height:36px;width:36px;padding:7px}
.team-app .team-finance .pro-primary{background:var(--primary-strong);color:#fff;border:1px solid transparent}
.team-app .team-finance .pro-secondary{background:var(--surface);border:1px solid var(--border-soft);color:var(--text-primary)}
.team-app .team-finance .pro-panel{border-top:1px solid var(--border-soft);background:transparent;min-width:0}
.team-app .team-finance .pro-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.team-app .team-finance .pro-section-head h2{font-size:18px;margin:4px 0}
.team-app .team-finance .pro-empty{padding:24px 12px;text-align:center;color:var(--text-secondary)}
.team-app .team-finance .pro-finance-hero{justify-content:flex-end;padding:0;border:0;border-radius:0;background:none}
.team-app .team-finance .pro-finance-hero>div{display:none}
.team-app .team-finance .pro-finance-hero>[data-finance-new]{margin-left:auto}
.team-app .team-finance .pro-finance-hero h2{font-size:20px}
.team-app .team-finance .pro-finance-hero p{display:none}
.team-app .team-finance .pro-finance-stat:after{display:none}
.team-app .team-finance .pro-finance-stat strong,.team-app .team-finance .pro-finance-stat span{letter-spacing:0;overflow-wrap:anywhere}
.team-app .team-finance .pro-finance-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.team-app .team-finance .pro-finance-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-app .team-finance .pro-finance-dialog{z-index:120;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;color:var(--text-primary)}
.team-app .team-finance .pro-finance-dialog>header>button{align-self:flex-start;flex:none;width:32px;height:32px;min-height:32px;padding:0}
.team-app .team-finance .pro-panel:before,.team-app .team-finance .pro-panel:after{display:none}
.team-app .team-finance .pro-finance-backdrop{z-index:119}
.team-app .team-finance .pro-finance-dialog input,.team-app .team-finance .pro-finance-dialog select,.team-app .team-finance .pro-finance-dialog textarea{min-width:0;max-width:100%;box-sizing:border-box}
.team-app .team-finance .pro-alert{padding:12px;color:var(--danger);border:1px solid var(--border-soft);margin-bottom:12px}
.team-app .team-finance button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.team-app .team-finance select:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.team-app .team-finance .pro-loading{padding:32px;text-align:center}
@media(max-width:1000px){.team-app .team-finance .pro-finance-dashboard-grid,.team-app .team-finance .pro-finance-dashboard-grid.secondary{grid-template-columns:1fr}}
@media(max-width:780px){.team-app .team-finance-navigation{flex-basis:100%}.team-app .team-finance-navigation .pro-finance-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.team-app .team-finance-navigation .pro-finance-tabs button{padding:8px 4px;white-space:normal}}
@media(max-width:540px){.team-app .team-finance .pro-finance-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-app .team-finance .pro-finance-hero{align-items:flex-start;gap:12px}.team-app .team-finance .pro-finance-dialog{inset:12px;max-width:none;width:auto;border-radius:8px}}
@media(max-width:380px){.team-app .team-finance-navigation .pro-finance-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
