:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#eef4ff;background:#091624;font-synthesis:none;--navy:#0c1b2e;--deep:#081321;--blue:#173350;--sky:#64bceb;--teal:#33d3bd;--muted:#9eb3ca;--white:#f5f9ff;--edge:rgba(196,224,250,.15);--pane:rgba(20,42,66,.78)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse 65% 35% at 50% 16%,rgba(21,90,137,.36),transparent 72%),linear-gradient(125deg,#0a1626,#0b1d2f 55%,#0b1829);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:#88d4fa}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px clamp(18px,4vw,60px);border-bottom:1px solid var(--edge);background:rgba(7,16,27,.77);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:white;font-size:17px;font-weight:800;letter-spacing:.025em;border:0;background:none;text-align:left;padding:0}.brand small{display:block;font-weight:450;font-size:10px;color:var(--muted);letter-spacing:.09em;text-transform:uppercase;margin-top:3px}.brand-symbol{width:42px;height:42px;display:grid;place-items:center;border:1px solid #315f87;background:#112b44;border-radius:14px;color:#f8bd51;font-size:26px}.top-actions{display:flex;gap:16px;align-items:center}.who{font-size:12px;color:#b7d0e4}.btn-ghost{color:#d8e8f7;border:1px solid var(--edge);background:#1a2e45;border-radius:10px;padding:9px 14px}main{width:min(1180px,94%);flex:1;margin:0 auto;padding:28px 0 42px}.hidden{display:none!important}.intro-screen{min-height:380px;display:grid;place-content:center;gap:18px;color:var(--muted);text-align:center}.loader{width:32px;height:32px;border:3px solid #214663;border-top-color:#60c5ee;border-radius:50%;animation:spin 1s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}footer{font-size:11px;color:#7891a7;padding:20px 4%;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.page-header{display:flex;justify-content:space-between;gap:16px;align-items:start;margin:8px 0 22px;flex-wrap:wrap}.eyebrow{text-transform:uppercase;color:var(--teal);letter-spacing:.19em;font-size:10px;font-weight:800}.page-header h1{margin:7px 0;font-size:clamp(25px,4.2vw,40px);font-weight:780;line-height:1.13}.page-header p{color:var(--muted);margin:0;font-size:13px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #245780;background:linear-gradient(110deg,#195279,#156689);color:#fff;padding:10px 15px;border-radius:11px;font-size:13px;font-weight:650;min-height:40px}.btn:hover{filter:brightness(1.11)}.btn.secondary{background:#182d43;border-color:#365169}.btn.danger{background:#653344;border-color:#91516c}.btn.small{font-size:12px;min-height:32px;padding:6px 10px}.panel{background:var(--pane);border:1px solid var(--edge);box-shadow:0 8px 34px #0001;border-radius:17px;padding:20px;margin:18px 0}.panel h2{margin:0 0 14px;font-size:17px}.muted{color:var(--muted);font-size:13px}.hint{border-left:3px solid #4db8e7;background:#0d2e4a;padding:11px 13px;color:#c7e2f1;font-size:12px;border-radius:0 9px 9px 0}.warning{border-left-color:#ffc56d;background:#3f3024}.grid{display:grid;gap:16px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi{background:linear-gradient(145deg,rgba(29,63,97,.95),rgba(16,36,59,.9));border:1px solid var(--edge);border-radius:16px;padding:17px}.kpi .num{font-size:31px;line-height:1.1;font-weight:780;margin:12px 0 7px}.kpi .lab{font-size:12px;color:#a5bfd6}.dot{color:var(--teal)}.orbit-wrap{position:relative;min-height:510px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--edge);border-radius:25px;background:radial-gradient(circle at 50% 49%,#164364 0,#102c48 27%,#0f2237 52%,#0b1c2f 100%);box-shadow:inset 0 2px 50px #0004}.orbit-ring{width:min(450px,80vw);aspect-ratio:1;border:1px dashed rgba(103,189,228,.33);border-radius:100%;position:absolute}.orbit-ring.inner{width:min(340px,62vw);opacity:.35}.hub{width:190px;height:190px;border-radius:50%;border:5px solid rgba(99,211,240,.24);background:linear-gradient(135deg,#153b5a,#0a1c32);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 20px 65px #0006,0 0 0 14px #4cc5e510}.hub .logo{font-size:64px;color:#ffc46a;line-height:1}.hub img{width:124px;height:124px;object-fit:contain;border-radius:100%}.hub b{font-size:19px;letter-spacing:.09em}.hub small{color:#abcce1;letter-spacing:.12em;font-size:9px;margin-top:5px}.bubble{position:absolute;z-index:2;width:132px;height:132px;border-radius:50%;background:linear-gradient(155deg,#215477,#12314f);border:2px solid rgba(111,200,242,.45);box-shadow:0 13px 25px #0005,inset 0 2px 13px rgba(160,227,255,.08);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8px;color:#fff;text-align:center;font-weight:730;font-size:13px;line-height:1.25;padding:14px}.bubble .emoji{font-size:30px;line-height:1}.bubble:hover{transform:scale(1.06);border-color:#b3e7ff;background:linear-gradient(155deg,#28668f,#144768)}.bubble.agents{top:7%;left:21%}.bubble.interventions{top:7%;right:21%}.bubble.rpl{left:8%;top:52%}.bubble.stats{right:8%;top:52%}.bubble.admin{bottom:5%;left:calc(50% - 66px)}.navline{display:flex;gap:7px;margin-bottom:15px;flex-wrap:wrap}.navline button{color:#b6d0e0;border:1px solid var(--edge);background:#10263c;border-radius:20px;padding:7px 13px;font-size:12px}.navline button.active{background:#2b5e7c;color:white}.tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.search{background:#081c2c;color:white;border:1px solid #31516e;outline:none;border-radius:9px;padding:10px 12px;min-width:min(320px,100%);flex:1}.table-wrap{overflow-x:auto;border:1px solid var(--edge);border-radius:11px}table{border-collapse:collapse;width:100%;min-width:640px;font-size:12px;text-align:left}thead{background:#183b57;color:#d1e8f7}th{font-weight:720;letter-spacing:.025em}th,td{padding:12px 13px;border-bottom:1px solid var(--edge)}tbody tr:hover{background:rgba(90,162,208,.09)}tbody tr:last-child td{border-bottom:0}.chip{font-size:11px;border-radius:20px;padding:4px 9px;background:#24445c;color:#b9d6e8;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.chip.green{background:#174a4b;color:#a2f6d9}.chip.amber{background:#5a4728;color:#ffd488}.chip.red{background:#5e343b;color:#ffbac4}.link-button{background:none;border:0;color:#7ed1ff;padding:2px 0;text-decoration:underline;text-underline-offset:4px;text-align:left}.empty{text-align:center;color:var(--muted);padding:35px 20px;font-size:13px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#c3d7e5}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{background:#091e31;color:#eaf7ff;border:1px solid #3a5870;border-radius:9px;padding:11px 12px;min-width:0;width:100%}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #459bbb;outline-offset:1px}.field textarea{resize:vertical;min-height:78px}.form-bottom{display:flex;gap:10px;justify-content:end;margin-top:18px;flex-wrap:wrap}.modal{position:fixed;inset:0;background:#010a16dd;z-index:30;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(6px)}.modal-panel{width:min(690px,100%);max-height:91vh;overflow:auto;background:#132b42;border:1px solid #39617a;border-radius:18px;box-shadow:0 25px 95px #0009;padding:23px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal-head h2{font-size:20px;margin:0}.icon-button{border:1px solid #365b79;background:#1b3d59;color:white;width:34px;height:34px;border-radius:9px;font-size:22px}.toast{position:fixed;bottom:22px;right:22px;z-index:50;background:#1e5b57;border:1px solid #77ddc3;padding:13px 19px;border-radius:12px;max-width:360px;box-shadow:0 14px 35px #0005;font-size:13px}.toast.error{background:#6d343d;border-color:#ef858e}.login-shell{width:min(480px,100%);margin:35px auto}.login-shell h1{font-size:29px;margin:5px 0 8px}.login-shell .panel{padding:28px}.login-symbol{font-size:60px;color:#ffc268;text-align:center}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-pair{display:flex;justify-content:space-between;border-bottom:1px solid var(--edge);padding:11px 0;font-size:13px;gap:18px}.detail-pair b{text-align:right}.underlined{border-bottom:1px solid #4caccd;padding-bottom:3px}.subtle{color:#89a8bd}.small-note{font-size:11px;color:#9db7c8}.loans-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--edge)}.loans-card:last-child{border-bottom:0}.desktop-only{display:initial}@media (max-width:740px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hub{width:148px;height:148px}.hub .logo{font-size:46px}.hub b{font-size:15px}.orbit-wrap{min-height:580px}.orbit-ring{width:330px}.orbit-ring.inner{width:250px}.bubble{width:113px;height:113px;font-size:11px}.bubble .emoji{font-size:25px}.bubble.agents{top:3%;left:11%}.bubble.interventions{top:3%;right:11%}.bubble.rpl{left:2%;top:60%}.bubble.stats{right:2%;top:60%}.bubble.admin{bottom:4%;left:calc(50% - 56px)}.form-grid,.split{grid-template-columns:1fr}.field.full{grid-column:1}.who{display:none}.topbar{padding:12px 16px}.page-header h1{font-size:27px}.panel{padding:15px}.desktop-only{display:none}}@media (max-width:380px){.bubble{width:99px;height:99px}.bubble.agents{left:5%}.bubble.interventions{right:5%}.bubble.admin{left:calc(50% - 49px)}.hub{width:132px;height:132px}}
