@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.stat-card,.panel { background:#fff; border:1px solid #e2e8f0; border-radius:16px; }
.stat-card { padding:20px; }
.stat-label { color:#64748b; font-size:13px; font-weight:600; }
.stat-value { margin-top:9px; font-size:clamp(1.35rem,2.5vw,1.9rem); font-weight:800; letter-spacing:-.04em; }
.stat-foot { margin-top:4px; color:#94a3b8; font-size:12px; }
.panel { padding:22px; }
.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.panel-title { font-size:18px; font-weight:700; letter-spacing:-.02em; }
.panel-subtitle { color:#64748b; font-size:12px; margin-top:4px; }
.chart { width:100%; height:300px; margin-top:12px; }
.field-label { display:block; margin-bottom:7px; color:#475569; font-size:12px; font-weight:700; }
.field { width:100%; border:1px solid #cbd5e1; border-radius:9px; background:white; padding:11px 12px; outline:none; font-size:14px; }
.field:focus { border-color:#0891b2; box-shadow:0 0 0 3px #cffafe; }
table th { padding:11px 12px; color:#64748b; background:#f8fafc; text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; }
table td { padding:14px 12px; border-top:1px solid #f1f5f9; white-space:nowrap; }
table tbody tr:hover { background:#f8fafc; }
.debtor-link { color:#0f172a; font-weight:700; text-align:left; }
.debtor-link:hover { color:#0891b2; text-decoration:underline; }
.page-btn { border:1px solid #cbd5e1; border-radius:8px; padding:7px 11px; font-size:12px; font-weight:600; }
.page-btn:disabled { opacity:.35; cursor:not-allowed; }
.debtor-dialog { width:min(680px,calc(100% - 28px)); max-height:85vh; border:0; border-radius:18px; padding:0; box-shadow:0 25px 80px #0f172a40; }
.debtor-dialog::backdrop { background:#0f172a99; backdrop-filter:blur(3px); }
.dialog-inner { padding:26px; }
.detail-row { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid #f1f5f9; font-size:13px; }
.detail-row span:first-child { color:#64748b; }
.detail-row strong { text-align:right; }
@media(max-width:640px){.panel{padding:16px}.chart{height:280px}table td,table th{padding:11px 8px}}
