.gastos-page{max-width:1500px;margin:0 auto;padding:8px 4px 32px;color:var(--text,#eaf0f8)}
.gastos-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:6px 0 24px}
.gastos-eyebrow{margin:0 0 6px;color:#7aaeff;font-size:11px;font-weight:700;letter-spacing:.14em}
.gastos-header h1{margin:0;font-size:30px;letter-spacing:-.03em}
.gastos-subtitle{margin:7px 0 0;color:var(--muted,#9aa9bd);font-size:14px}
.gastos-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.gastos-live{color:#98a9bf;font-size:12px;white-space:nowrap}.gastos-live i{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#35c58a;box-shadow:0 0 10px #35c58a66}
.gastos-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border:1px solid #344863;border-radius:9px;background:#132238;color:#dce8f6;text-decoration:none;font:600 13px inherit;cursor:pointer}
.gastos-btn:hover{border-color:#4788d8}.gastos-primary{background:#176ad2;border-color:#176ad2;color:white}
.gastos-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.gastos-metrics article{min-height:92px;padding:18px 20px;border:1px solid #263a55;border-radius:14px;background:linear-gradient(135deg,#142943,#101e31)}
.gastos-metrics span{display:block;color:#9fb0c5;font-size:12px}.gastos-metrics strong{display:block;margin-top:10px;color:#f2f7ff;font-size:24px;line-height:1.25}
.gastos-total strong{font-size:18px}
.gastos-toolbar{display:flex;align-items:center;gap:12px;margin:18px 0;color:#9fb0c5;font-size:12px}.gastos-toolbar label{font-weight:600;color:#ccd8e7}.gastos-search{width:min(360px,40vw);height:38px;padding:0 12px;border:1px solid #334966;border-radius:9px;background:#0e1a2b;color:#f0f5fb;outline:none}.gastos-search:focus{border-color:#4688dc}.gastos-toolbar span{margin-left:auto}
.gastos-panel{margin-top:16px;border:1px solid #263a55;border-radius:14px;background:#101d2e;overflow:hidden}.gastos-panel-title{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #263a55}.gastos-panel-title h2{margin:0;font-size:16px}.gastos-panel-title p{margin:5px 0 0;color:#91a3ba;font-size:12px}
.gastos-table-wrap{overflow:auto}.gastos-table{width:100%;border-collapse:collapse;min-width:760px}.gastos-table th,.gastos-table td{padding:12px 14px;border-bottom:1px solid #21334b;text-align:left;font-size:12px;vertical-align:middle}.gastos-table th{position:sticky;top:0;background:#14253b;color:#99abc1;font-size:10px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.gastos-table td{color:#dce5f0}.gastos-table td small{display:block;margin-top:4px;color:#91a3ba}.gastos-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.gastos-table tbody tr:hover{background:#15263b}.gastos-quote{font-weight:700;color:#83b7ff}.gastos-status{display:inline-block;padding:4px 8px;border-radius:999px;background:#334155;color:#d0d9e5;font-size:10px;font-weight:700}.gastos-status.is-open{background:#0e4a3a;color:#8eebc4}.gastos-status.is-closed{background:#3a4250;color:#c4ceda}.gastos-empty{text-align:center!important;color:#91a3ba!important;padding:28px!important}.gastos-error{margin:12px 0;padding:11px 14px;border:1px solid #784548;border-radius:10px;background:#351f29;color:#ffc5c9;font-size:13px}.gastos-footnote{margin:14px 2px;color:#90a2b9;font-size:12px}
@media(max-width:850px){.gastos-header{align-items:flex-start;flex-direction:column}.gastos-actions{justify-content:flex-start}.gastos-metrics{grid-template-columns:1fr}.gastos-toolbar{align-items:flex-start;flex-direction:column}.gastos-toolbar span{margin:0}.gastos-search{width:100%}}
