.portal-card { max-width: 460px; background: #fff; border: 1px solid #dfe5e8; border-radius: 14px; padding: 28px; }
.portal-card form { display: grid; gap: 10px; }
.portal-card label { font-weight: 700; }
.portal-card input { width: 100%; font: inherit; padding: 12px; border: 2px solid #9fb0bc; border-radius: 10px; background: #fff; }
.portal-help { margin: 18px 0 0; font-size: 0.95rem; }
.portal-msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; }
.portal-msg.err { background: #fbe3e0; border: 1px solid #e09a92; }
.portal h2 { margin-top: 1.6em; }
.sumar { margin-bottom: 8px; }
.sumar .item h3 { font-size: 1.5rem; margin-bottom: 2px; }
table.num td:not(:first-child):not(:nth-child(2)), table.num th:not(:first-child):not(:nth-child(2)) { text-align: right; white-space: nowrap; }
form.inline { display: inline; }
@media print {
  .topline, .top, .foot, .cookie, .no-print, .burger { display: none !important; }
  .page-head, .sec { padding: 12px 0; background: #fff; }
}
.pay-form { max-width: 520px; margin-bottom: 24px; }
.pay-grid { display: grid; gap: 12px; max-width: 640px; margin: 8px 0 20px; }
.pay-grid > div { background: #fff; border: 1px solid #dfe5e8; border-radius: 12px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pay-grid span { flex: 1 0 100%; font-size: 0.85rem; color: #55636f; }
.pay-grid b { font-size: 1.15rem; word-break: break-all; }
.pay-grid .ref b { font-size: 1.5rem; letter-spacing: 0.05em; }
.copy { background: #fff; border: 1px solid #9fb0bc; border-radius: 8px; padding: 4px 12px; font: inherit; cursor: pointer; margin-left: auto; }

/* adăugați la sfârșitul assets/css/portal.css */
table.num tr.viitor td { color: var(--muted); opacity: .8; }
table.num tr.viitor td b { font-weight: 600; }
table.num tr.curent td { background: #f5eee0; }
table.num tr.curent td small { color: var(--brass-d); font-weight: 700; }