/* Village Gateway card screen. Layout only; colours and type come from village-tokens.css. */
.vgb-options { display: grid; gap: var(--s-2, 8px); margin: var(--s-2, 8px) 0; }
.vgb-option { display: flex; align-items: center; gap: var(--s-3, 12px); min-height: 44px; }
.vgb-option input { width: 1.25rem; height: 1.25rem; flex: none; }
.vgb-total { font-weight: 600; margin: var(--s-3, 12px) 0 0; }
.vgb-card-box { min-height: 7.5rem; border: 1px solid var(--border-strong); border-radius: var(--r-md, 8px); padding: var(--s-4, 16px); margin: var(--s-3, 12px) 0; background: var(--raised); }
.vgb-auth { margin: var(--s-3, 12px) 0; }
.vgb-invoices-scroll { overflow-x: auto; margin: var(--s-3, 12px) 0; }
.vgb-invoices { width: 100%; border-collapse: collapse; }
.vgb-invoices[hidden] { display: none; }
.vgb-invoices th, .vgb-invoices td { text-align: left; padding: var(--s-2, 8px); border-bottom: 1px solid var(--border-strong); }
.vgb-invoices th, .vgb-invoices td.vgb-num, .vgb-invoices td:first-child, .vgb-invoices button { white-space: nowrap; }
.vgb-invoices td.vgb-num { text-align: right; font-variant-numeric: tabular-nums; }
.vgb-invoice-panel { margin: var(--s-3, 12px) 0; padding: var(--s-3, 12px); border: 1px solid var(--border-strong); }
.vgb-invoice-panel[hidden] { display: none; }
.vgb-invoice-panel dt { font-weight: 600; }
.vgb-invoice-panel dd { margin: 0 0 var(--s-2, 8px); overflow-wrap: anywhere; }
.vgb-invoice-lines { width: 100%; border-collapse: collapse; margin: var(--s-3, 12px) 0; display: block; overflow-x: auto; }
.vgb-invoice-lines th, .vgb-invoice-lines td { text-align: left; padding: var(--s-2, 8px); border-bottom: 1px solid var(--border-strong); }
.vgb-invoice-lines th, .vgb-invoice-lines td.vgb-num { white-space: nowrap; }
.vgb-invoice-lines td.vgb-num { text-align: right; font-variant-numeric: tabular-nums; }
.vgb-invoice-lines td { overflow-wrap: anywhere; }
.vgb-invoice-lines td.vgb-num { overflow-wrap: normal; }
.vgb-invoices th:first-child, .vgb-invoices td:first-child { position: sticky; left: 0; background: var(--raised, #fff); }
.vgb-invoice-lines th:last-child { text-align: right; }
