:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e8eef8;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#09111f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 0 0,#4573ff47,#0000 34rem),radial-gradient(circle at 100% 0,#11c5a02e,#0000 30rem),linear-gradient(135deg,#08111f 0%,#0d1729 48%,#101827 100%);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.shell{width:min(1480px,100% - 32px);margin:0 auto;padding:32px 0 44px}.hero{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:linear-gradient(135deg,#0f172ae0,#1e293bb8),#0f172ab8;border:1px solid #94a3b82e;border-radius:28px;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;padding:28px;display:flex;box-shadow:0 24px 80px #0000004d}.hero h1{letter-spacing:-.07em;margin:10px 0 8px;font-size:clamp(2.1rem,4vw,4.4rem);line-height:.94}.hero p,.panel-heading p,.client-detail p,.empty-state p{color:#94a3b8;margin:0}.eyebrow{color:#93c5fd;letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:8px;font-size:.83rem;font-weight:800;display:inline-flex}.hero-actions,.filters,.mini-stats{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.status,.ghost-button,.settings-button,.settings-panel button{color:#e2e8f0;background:#0f172ab8;border:1px solid #94a3b838;border-radius:14px;align-items:center;gap:8px;min-height:42px;padding:0 14px;display:inline-flex}.status span{background:#f59e0b;border-radius:999px;width:9px;height:9px;box-shadow:0 0 20px #f59e0b8c}.status.online span{background:#22c55e;box-shadow:0 0 20px #22c55ea6}.status.offline span{background:#ef4444;box-shadow:0 0 20px #ef4444a6}.ghost-button:hover,.settings-button:hover,.settings-panel button:hover{background:#1e293bf5;border-color:#93c5fd9e}.settings-button,.settings-panel button{color:#06101f;background:linear-gradient(135deg,#8bd3ff,#52f0c7);border:0;font-weight:800}.settings-panel{background:#080f1dc7;border:1px solid #7dd3fc2e;border-radius:22px;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr) auto;gap:14px;margin-bottom:20px;padding:18px;display:grid}.settings-panel.fx-settings{grid-template-columns:1fr;max-width:520px}.settings-panel.fx-settings h3{color:#e2e8f0;margin:0 0 4px;font-size:1rem}.settings-panel label,.search-box{color:#cbd5e1;gap:8px;font-size:.83rem;font-weight:700;display:grid}.settings-panel input,.search-box input,.filters select{color:#e5eefb;background:#0f172ad1;border:1px solid #94a3b82e;border-radius:14px;outline:none;width:100%;height:44px}.settings-panel input{padding:0 12px}.error-banner{color:#fecaca;background:#7f1d1d52;border:1px solid #f8717159;border-radius:18px;margin-bottom:20px;padding:14px 16px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.view-tabs{background:#080f1d8f;border:1px solid #94a3b824;border-radius:18px;flex-wrap:wrap;gap:10px;margin-bottom:18px;padding:8px;display:flex}.view-tabs button{color:#cbd5e1;background:0 0;border:1px solid #0000;border-radius:13px;min-height:42px;padding:0 15px;font-weight:800}.view-tabs button:hover,.view-tabs button.active{color:#06101f;background:linear-gradient(135deg,#8bd3ff,#52f0c7);border-color:#7dd3fc5c}.stat-card{background:#0f172ab8;border:1px solid #94a3b829;border-radius:24px;gap:14px;min-height:126px;padding:20px;display:flex;box-shadow:0 20px 60px #0000002e}.stat-card.success{background:linear-gradient(135deg,#065f466b,#0f172ab8)}.stat-card.warning{background:linear-gradient(135deg,#92400e59,#0f172ab8)}.stat-card.balance-pos strong{color:#f87171}.stat-card.balance-neg strong{color:#4ade80}.stat-icon{color:#bfdbfe;background:#3b82f629;border-radius:16px;place-items:center;width:46px;height:46px;display:grid}.stat-card p,.stat-card span,td small,.muted{color:#94a3b8}.stat-card p{letter-spacing:.08em;text-transform:uppercase;margin:1px 0 7px;font-size:.82rem;font-weight:800}.stat-card strong{letter-spacing:-.04em;margin-bottom:4px;font-size:clamp(1.35rem,2vw,2rem);display:block}.workspace{grid-template-columns:380px minmax(0,1fr);gap:18px;display:grid}.panel{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#080f1dbd;border:1px solid #94a3b829;border-radius:26px;box-shadow:0 24px 80px #0003}.clients-panel{align-self:start;max-height:calc(100vh - 36px);padding:18px;position:sticky;top:18px;overflow:hidden}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.panel-heading h2,.client-detail h2{letter-spacing:-.03em;margin:0 0 4px;font-size:1.25rem}.search-box{margin-bottom:12px;position:relative}.search-box svg{color:#64748b;position:absolute;bottom:13px;left:13px}.search-box input{padding:0 14px 0 40px}.toggle-row{color:#a7b2c4;align-items:center;gap:9px;margin:8px 0 14px;font-size:.92rem;display:flex}.client-list{gap:8px;max-height:calc(100vh - 236px);padding-right:4px;display:grid;overflow:auto}.client-row{color:#e2e8f0;text-align:left;background:#0f172a94;border:1px solid #0000;border-radius:18px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px;display:grid}.client-row:hover,.client-row.active{background:#1e293beb;border-color:#7dd3fc61}.avatar{color:#07111f;background:linear-gradient(135deg,#bae6fd,#5eead4);border-radius:16px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.client-main{min-width:0}.client-main strong,td strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.client-main small,td small{margin-top:4px;display:block}.balance,.amount{white-space:nowrap;font-weight:900}.balance.negative,.amount.negative,.big-balance.negative{color:#fca5a5}.amount.positive,.big-balance{color:#86efac}.content-column{gap:18px;min-width:0;display:grid}.client-detail,.ledger-panel{padding:22px}.detail-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.business-day-summary{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:8px;display:flex}.business-day-summary-title{flex:0 220px;min-width:0}.business-day-summary-title h2{margin:6px 0 0}.business-day-summary-metrics{flex:520px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0;display:grid}.business-day-metric{background:#0f172a94;border:1px solid #94a3b829;border-radius:18px;flex-direction:column;gap:8px;min-width:0;padding:14px 16px;display:flex}.business-day-metric-label{letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;font-size:.72rem;font-weight:800;line-height:1.25}.business-day-metric-value{letter-spacing:-.03em;color:#e2e8f0;word-break:break-word;font-size:clamp(1.05rem,1.5vw,1.4rem);font-weight:900;line-height:1.2}.business-day-metric-highlight{background:linear-gradient(135deg,#065f4647,#0f172ab8);border-color:#7dd3fc52}.business-day-metric-highlight .business-day-metric-value{color:#86efac}.register-day-section{margin-bottom:22px}.register-day-section:last-child{margin-bottom:0}.register-day-title{letter-spacing:-.02em;color:#cbd5e1;margin:0 0 10px;font-size:1.05rem;font-weight:800}@media (width<=1100px){.business-day-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.business-day-summary-metrics{grid-template-columns:1fr}}.muted-label{color:#64748b}.big-balance{letter-spacing:-.06em;font-size:clamp(1.8rem,3vw,3.2rem)}.mini-stats{margin-bottom:16px}.mini-stats span{color:#cbd5e1;background:#0f172ab8;border-radius:999px;align-items:center;gap:7px;padding:8px 10px;display:inline-flex}.ledger-heading{align-items:center}.filters select{width:auto;min-width:150px;padding:0 38px 0 12px}.table-wrap{border:1px solid #94a3b81f;border-radius:20px;overflow:auto}table{border-collapse:collapse;width:100%;min-width:860px}.compact-table table{min-width:640px}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #94a3b81a;padding:15px 16px}th{z-index:1;color:#94a3b8;letter-spacing:.1em;text-transform:uppercase;background:#0f172af5;font-size:.74rem;position:sticky;top:0}tbody tr:hover{background:#3341553d}.clickable-row{cursor:pointer}.clickable-row:focus-visible{outline-offset:-2px;outline:2px solid #7dd3fcb8}tbody tr:last-child td{border-bottom:0}.entry-time{white-space:nowrap;font-weight:800}.pill,.direction{border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:.78rem;font-weight:900;display:inline-flex}.pill.kassa{color:#dbeafe;background:#2563eb3d}.pill.usdt{color:#ccfbf1;background:#0d94883d}.direction.input{color:#bbf7d0;background:#16a34a2e}.direction.output{color:#fed7aa;background:#ea580c2e}.empty-state{text-align:center;place-items:center;padding:34px 18px;display:grid}.empty-icon{color:#93c5fd;background:#3b82f624;border-radius:21px;place-items:center;width:58px;height:58px;margin-bottom:14px;display:grid}.empty-state h3{margin:0 0 7px}@media (width<=1120px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:1fr}.clients-panel{max-height:none;position:static}.client-list{max-height:420px}}@media (width<=760px){.shell{width:min(100% - 20px,1480px);padding-top:12px}.hero,.detail-header,.ledger-heading{display:grid}.settings-panel,.stats-grid{grid-template-columns:1fr}.hero{padding:22px}}.login-shell{justify-content:center;align-items:center;min-height:calc(100vh - 64px);display:flex}.login-panel{background:linear-gradient(135deg,#0f172aeb,#1e293bc7),#0f172ad9;border:1px solid #94a3b838;border-radius:24px;width:min(420px,100%);padding:28px;box-shadow:0 24px 80px #00000059}.login-panel h1{letter-spacing:-.04em;margin:0 0 8px;font-size:1.65rem}.login-panel label{color:#cbd5e1;gap:8px;margin-top:16px;font-size:.88rem;display:grid}.login-panel input{color:#f8fafc;background:#0f172aa6;border:1px solid #94a3b847;border-radius:14px;width:100%;padding:12px 14px}.login-panel button[type=submit]{color:#f8fafc;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:14px;width:100%;margin-top:22px;padding:12px 16px;font-weight:700}.login-panel button[type=submit]:hover{filter:brightness(1.06)}.login-error{color:#fca5a5;margin:12px 0 0;font-size:.9rem}.settings-area{flex-direction:column;align-items:stretch;gap:10px;max-width:520px;margin-bottom:18px;display:flex}.settings-reset-bar{justify-content:flex-end;display:flex}.btn-reset-db{letter-spacing:.02em;color:#fecdd3;background:linear-gradient(#470f16f2,#2d0a0eeb);border:1px solid #f871716b;border-radius:10px;padding:7px 14px;font-size:.8125rem;font-weight:700;box-shadow:inset 0 1px #ffffff0f,0 8px 20px #00000040}.btn-reset-db:hover{color:#fff1f2;background:linear-gradient(#64161efa,#3c0e12f2);border-color:#fca5a58c}.btn-reset-db:active{transform:translateY(1px)}.danger-button{color:#fecaca;background:linear-gradient(#7f1d1d8c,#5b1212bf);border:1px solid #f8717180;border-radius:12px;padding:10px 16px;font-size:.875rem;font-weight:700;box-shadow:inset 0 1px #ffffff0d}.danger-button:hover:not(:disabled){background:linear-gradient(#991b1ba6,#6e1616d9);border-color:#fca5a58c}.danger-button:disabled{opacity:.65;cursor:not-allowed}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#020617b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-backdrop--result{z-index:90}.modal-result-text{color:#e2e8f0;margin:0 0 18px;font-size:.95rem;line-height:1.5}.modal-result--success{border-color:#4ade806b}.modal-result--error{border-color:#f871717a}.modal-result--error .modal-result-text{color:#fecaca}.modal-ok-button{color:#06101f;cursor:pointer;background:linear-gradient(135deg,#8bd3ff,#52f0c7);border:none;border-radius:14px;min-width:120px;padding:11px 22px;font-weight:800}.modal-ok-button:hover{filter:brightness(1.06)}.modal-panel{background:linear-gradient(135deg,#0f172af5,#1e293be6),#0f172aeb;border:1px solid #94a3b838;border-radius:22px;width:min(440px,100%);padding:24px 26px;box-shadow:0 28px 90px #00000073}.modal-panel h3{margin:0 0 10px;font-size:1.25rem}.modal-panel label{color:#cbd5e1;gap:8px;margin-top:16px;font-size:.88rem;display:grid}.modal-panel input{color:#f8fafc;background:#0f172aa6;border:1px solid #94a3b847;border-radius:14px;width:100%;padding:12px 14px}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.table-pagination{border-top:1px solid #94a3b824;justify-content:center;align-items:center;gap:14px;margin-top:14px;padding-top:12px;display:flex}.table-pagination-page{text-align:center;min-width:5.5rem;font-size:.88rem;font-weight:600}
