:root{
  --header-back:#f0f2f5; --grid-line:#e6e9ef; --sel-back:#e6f0fe;
  --row-cash:#fff7e6;      /* softer amber background */
  --row-card:#eaf4ff;      /* softer blue background  */
  --row-cash-border:#ffb74d; /* amber 300/400 */
  --row-card-border:#64b5f6; /* blue 300 */
}

body { background:#fafbfc; }
.navbar { backdrop-filter: saturate(1.2) blur(6px); }
.container { max-width: 1200px; }

.table tr.row-cash{ background:var(--row-cash); border-left:4px solid var(--row-cash-border); }
.table tr.row-card{ background:var(--row-card); border-left:4px solid var(--row-card-border); }

.modern-table thead th { background:#fff; }
.summary { margin-top:.25rem; }
.summary-card.cash{ border-top:3px solid var(--row-cash-border); }
.summary-card.cardpay{ border-top:3px solid var(--row-card-border); }
.summary-card.all{ border-top:3px solid #6c757d; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.uid { max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.btn-outline-warning { --bs-btn-color:#c57200; --bs-btn-border-color:#ff9800; --bs-btn-hover-bg:#ffedd5; }
.btn-outline-primary { --bs-btn-color:#0b63c2; --bs-btn-border-color:#0b63c2; --bs-btn-hover-bg:#e7f0ff; }

@media (max-width: 576px){
  .container { padding-left:.75rem; padding-right:.75rem; }
  .uid { max-width: 180px; }
  .col-net, .col-vat { display:none; }
  .summary { margin-top:.25rem; }
  .summary .card-body { padding: .5rem .75rem; }
}

/* Visual polish */
.summary .card{ border-radius:16px; }
.table-responsive{ border-radius:16px; }
.badge.text-bg-light{ background:#f3f4f6; color:#111827; }

/* Alternate shades for 'complete months' cards */
.summary-card.cash-alt{ border-top:3px solid #ffd180; }   /* lighter amber */
.summary-card.cardpay-alt{ border-top:3px solid #90caf9; }/* lighter blue  */

/* Button palette to match */
.btn-outline-warning { --bs-btn-color:#cc7a00; --bs-btn-border-color:#ffb74d; --bs-btn-hover-bg:#fff1e0; }
.btn-outline-primary { --bs-btn-color:#1a73e8; --bs-btn-border-color:#64b5f6; --bs-btn-hover-bg:#eaf4ff; }
