#financeView .staff-header,#financeView .finance-wrap{box-sizing:border-box;max-width:1400px;width:calc(100% - 32px);margin-left:auto;margin-right:auto}
#financeView .staff-header p{margin:7px 0 0;color:#d4c8b5;font-size:15px}
.finance-wrap{display:grid;gap:22px;margin-bottom:38px;color:#f2e8d8}
.finance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.finance-kpis article{box-sizing:border-box;min-width:0;display:grid;gap:10px;min-height:116px;padding:18px;border:1px solid #665943;border-radius:13px;background:#292c28}
.finance-kpis span,.finance-kpis small{color:#d7cbb6}
.finance-kpis b{font-size:clamp(23px,2.5vw,35px);color:#f6dcab}
.finance-kpis .finance-profit{border-color:#c79b5d;background:#332b24}
.finance-warning{padding:12px 15px;border-left:5px solid #d3a45f;background:#352d24;line-height:1.6;color:#f0d9b2}
.finance-tables{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.finance-tables section,.finance-section{min-width:0;border:1px solid #625946;border-radius:13px;background:#242925;padding:17px}
.finance-tables h2{margin:0 0 10px;font-size:23px;color:#f5e1bf}
.finance-tables p,.finance-section p{color:#c8bfad;line-height:1.5}
.finance-item-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.finance-item-heading h2{margin-bottom:0}
.finance-item-heading label{display:flex;align-items:center;gap:8px;color:#d7cbb6;font-size:14px}
.finance-item-heading select{min-height:39px;max-width:100%;padding:6px 9px;border:1px solid #b99769;border-radius:7px;background:#171d1b;color:#f5eee1;font:inherit}
.finance-tables .finance-item-note{margin:5px 0 9px;color:#e9c997}
.finance-table-scroll{min-width:0;overflow-x:auto}
.finance-table-scroll table{width:100%;border-collapse:collapse;min-width:560px}
.finance-table-scroll th,.finance-table-scroll td{padding:10px 9px;border-bottom:1px solid #4e514a;text-align:left;white-space:nowrap}
.finance-table-scroll th{color:#eac99a}
.finance-estimate-mark{display:block;margin-top:3px;color:#eac99a;font-size:12px;font-weight:700}
.finance-table-scroll input{width:90px;max-width:100%;font:inherit;padding:7px;border:1px solid #767368;border-radius:6px;background:#171d1b;color:#f5eee1}
.finance-table-scroll button,.finance-cost-row button,.finance-expense-row button,.finance-expense-form button{min-height:37px;border:1px solid #b99769;border-radius:7px;background:#343a34;color:#f8e2bb;padding:5px 11px;font:inherit;cursor:pointer}
.finance-section summary{font-size:23px;font-weight:800;color:#f5d9ad;cursor:pointer}
.finance-section[open] summary{margin-bottom:10px}
.finance-cost-rows section{padding:8px 0}
.finance-cost-rows h3{margin:12px 0 7px;color:#ddc39c}
.finance-cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.finance-cost-row{display:grid;grid-template-columns:minmax(120px,1fr) 135px auto auto;align-items:end;gap:8px;padding:10px;border:1px solid #4e514a;border-radius:8px}
.finance-cost-row span{font-weight:700;line-height:1.4}
.finance-cost-row small{display:block;color:#c2b9a8;font-weight:400}
.finance-cost-row label{display:grid;gap:4px;font-size:13px;color:#d5c8b1}
.finance-cost-row input{width:100%;padding:7px;border:1px solid #767368;border-radius:6px;background:#171d1b;color:#f5eee1;font:inherit}
.finance-expense-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 18px}
.finance-expense-form label{display:grid;gap:5px}
.finance-expense-form input,.finance-expense-form select{width:100%;min-height:42px;padding:7px;border:1px solid #767368;border-radius:7px;background:#171d1b;color:#f5eee1;font:inherit}
.finance-expense-form button{align-self:end;min-height:42px}
.finance-expense-row{display:flex;align-items:center;gap:14px;padding:10px;border-top:1px solid #4e514a}
.finance-expense-row span{flex:1}
.finance-expense-row small{display:block;color:#c2b9a8}
.finance-monthly h2,.finance-monthly h3{margin:0;color:#f5e1bf}
.finance-monthly-heading{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.finance-monthly-heading>div{flex:1 1 320px}
.finance-monthly-heading label{display:grid;gap:5px;color:#d5c8b1}
.finance-monthly-heading input{min-height:40px;padding:7px;border:1px solid #767368;border-radius:7px;background:#171d1b;color:#f5eee1;font:inherit}
.finance-monthly-heading button{min-height:42px;padding:6px 14px;border:1px solid #b99769;border-radius:7px;background:#343a34;color:#f8e2bb;font:inherit}
.finance-monthly-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:15px 0}
.finance-monthly-kpis article{display:grid;gap:5px;padding:13px;border:1px solid #625946;border-radius:9px;background:#292c28}
.finance-monthly-kpis span,.finance-monthly-kpis small{color:#d7cbb6}
.finance-monthly-kpis b{font-size:clamp(19px,2vw,26px);color:#f6dcab}
.finance-monthly-kpis .finance-month-profit{border-color:#c79b5d;background:#332b24}
.finance-monthly-kpis .negative{color:#ff9990}
.finance-month-warning{border-left:4px solid #d3a45f;padding:8px 11px;background:#332d26}
.finance-month-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:9px}
.finance-month-group{padding:12px;border:1px solid #625946;border-radius:9px;background:#1b211f}
.finance-month-group h4{display:flex;justify-content:space-between;gap:8px;margin:0 0 9px;color:#f3ddba}
.finance-month-group h4 small{font-weight:500;color:#d0c3b0}
.finance-month-group p{display:flex;justify-content:space-between;gap:8px;margin:5px 0}
.checkout-finance-fields{display:grid;gap:11px;margin:20px 0}
.checkout-finance-fields p{display:flex;justify-content:space-between;gap:12px;margin:0;color:#e9dbc6}
.checkout-finance-fields label{display:grid;gap:5px;color:#e9dbc6}
.checkout-finance-fields input{width:100%;min-height:44px;padding:8px;border:1px solid #767368;border-radius:8px;background:#171d1b;color:#fff;font:inherit}
.checkout-finance-fields .checkout-actual{padding:12px;border:1px solid #b99769;border-radius:8px;font-size:20px}
.staff-page .status-actions button.checkout-adjust{border:1px solid #7f7463;background:#252a27;color:#d7c9b6;font-size:13px}
@media(max-width:950px){.finance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-tables,.finance-cost-grid{grid-template-columns:1fr}.finance-monthly-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-month-groups{grid-template-columns:1fr}}
@media(max-width:600px){.finance-kpis,.finance-expense-form,.finance-monthly-kpis{grid-template-columns:1fr}.finance-cost-row{grid-template-columns:1fr 120px auto auto}.finance-cost-row button{padding:5px 8px}.finance-expense-row{flex-wrap:wrap}}
