@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{color:#18213a;background:#f4f6fb;font-family:Inter,system-ui,sans-serif;font-size:13px}*{box-sizing:border-box}body{margin:0}.app-shell{min-height:100vh;display:flex}.sidebar{color:#dfe5ff;z-index:5;background:#101a42;flex-direction:column;width:250px;padding:18px 14px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;padding:4px 10px 18px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#6d4bf2,#9c7cff);border-radius:10px;place-items:center;width:34px;height:34px;font-size:21px;font-weight:800;display:grid}.brand strong{color:#fff;letter-spacing:1px;display:block}.brand span{color:#9da8ce;font-size:10px}.hospital-brand{background:#151f4c;border:1px solid #2b3767;border-radius:12px;align-items:center;gap:7px;margin:0 0 14px;padding:11px 10px;display:flex}.hospital-brand>b{font-size:18px}.hospital-brand>span{color:#ef5c62;font-weight:900}.hospital-brand div{border-left:1px solid #39446e;padding-left:8px}.hospital-brand strong{color:#fff;font-size:11px;display:block}.hospital-brand small{color:#8f9bc1;font-size:9px}.nav-item{color:#b9c2e3;cursor:pointer;text-align:left;width:100%;font:inherit;background:0 0;border:0;border-radius:9px;align-items:center;gap:11px;margin:2px 0;padding:10px 11px;display:flex}.nav-item:hover,.nav-item.active{color:#fff;background:#5a49dc}.nav-item i{text-align:center;width:18px;font-size:16px;font-style:normal}.nav-item span{flex:1}.nav-item em{color:#fff;background:#8c72ff;border-radius:5px;padding:2px 5px;font-size:8px;font-style:normal}.sidebar-bottom{color:#67d69b;border-top:1px solid #2c3766;margin-top:auto;padding:14px 8px;font-size:10px}.sidebar-bottom small{color:#7480a7;margin-top:4px;display:block}.main{width:calc(100% - 640px);min-width:700px;margin-left:250px;margin-right:390px}.topbar{z-index:3;background:#fff;border-bottom:1px solid #e8ebf3;justify-content:space-between;align-items:center;height:74px;padding:0 24px;display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:19px;font-weight:800}.topbar h1 b,.ai-head h2 b{color:#fff;vertical-align:middle;background:#7356e8;border-radius:5px;margin-left:4px;padding:3px 6px;font-size:9px}.topbar p,.content-head p{color:#7c849a;margin:4px 0 0;font-size:11px}.top-actions{align-items:center;gap:9px;display:flex}.btn,.period{font:inherit;cursor:pointer;background:#fff;border:1px solid #e4e7f0;border-radius:8px;padding:9px 13px;font-weight:600}.btn.primary{color:#fff;background:#5741db;border-color:#5741db}.bell{margin:0 4px;font-size:20px;position:relative}.bell i{background:#ef4d5c;border-radius:50%;width:6px;height:6px;position:absolute;top:1px;right:-1px}.avatar{color:#5a45d4;background:#ddd8ff;border-radius:50%;place-items:center;width:29px;height:29px;font-size:10px;font-weight:800;display:grid}.content{padding:18px 18px 30px}.content-head{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.content-head h2{margin:0;font-size:17px}.updated{color:#6e788e;font-size:10px}.updated:first-letter{color:#25a56a}.kpis{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.kpi{background:#fff;border:1px solid #e5e8f1;border-radius:12px;min-height:112px;padding:14px;position:relative}.kpi>span{color:#5c47db;font-size:19px;position:absolute;top:13px;right:14px}.kpi small{color:#68728a;margin-bottom:5px;display:block}.kpi strong{font-size:20px;display:block}.kpi b{color:#25a56a;margin-top:6px;font-size:10px;display:inline-block}.kpi label{color:#a0a7b8;margin-left:4px;font-size:9px}.kpi.danger>span,.kpi.danger b{color:#dc5261}.grid-top{grid-template-columns:1.05fr 1.35fr 1fr;gap:10px;margin-top:10px;display:grid}.panel{background:#fff;border:1px solid #e5e8f1;border-radius:12px;padding:14px}.panel h3{margin:0 0 13px;font-size:12px}.donut-wrap{align-items:center;gap:20px;display:flex}.donut{background:conic-gradient(#25a56a 0 82.4%,#3778df 82.4% 89.6%,#f4a62a 89.6% 93.7%,#dc5261 93.7% 96.7%,#7553e7 96.7% 100%);text-align:center;border-radius:50%;place-content:center;width:125px;height:125px;display:grid;position:relative}.donut:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:19px}.donut strong,.donut small{z-index:1;position:relative}.donut strong{font-size:18px}.donut small{color:#8a92a3;font-size:9px}.donut-panel ul{flex:1;margin:0;padding:0;list-style:none}.donut-panel li{color:#606a80;align-items:center;gap:6px;margin:8px 0;font-size:9px;display:flex}.donut-panel li b{color:#31394f;margin-left:auto;font-weight:600}.donut-panel li i{border-radius:2px;width:8px;height:8px}.green{background:#25a56a}.blue{background:#3778df}.orange{background:#f4a62a}.red{background:#dc5261}.purple{background:#7553e7}.chart{height:145px}.chart svg{width:100%;height:110px}.months{color:#9aa2b2;justify-content:space-between;font-size:8px;display:flex}.top-gap ol{margin:0;padding:0;list-style:none}.top-gap li{border-bottom:1px solid #f0f1f5;align-items:center;gap:8px;padding:9px 0;font-size:10px;display:flex}.top-gap li span{background:#f1f2f8;border-radius:50%;place-items:center;width:19px;height:19px;font-size:9px;display:grid}.top-gap li b{color:#d84e5b;margin-left:auto}.table-panel{margin-top:10px;padding:0;overflow:hidden}.tabs{border-bottom:1px solid #e9ebf2;align-items:center;padding:0 13px;display:flex}.tabs button{font:inherit;color:#7c8498;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:13px 10px;font-size:10px}.tabs button.sel{color:#4d3ad0;border-bottom-color:#6046e8;font-weight:700}.tabs a{color:#5a47d9;margin-left:auto;font-size:10px}.table-tools{justify-content:flex-end;gap:8px;padding:10px 13px;display:flex}.table-tools input{width:230px;font:inherit;border:1px solid #e0e4ed;border-radius:7px;padding:8px 10px;font-size:10px}.table-tools button{font:inherit;cursor:pointer;background:#fff;border:1px solid #dddff0;border-radius:7px;padding:7px 10px;font-size:10px}table{border-collapse:collapse;width:100%;font-size:9px}th{color:#8a92a5;text-align:left;background:#fafbfe;border-top:1px solid #eef0f5;border-bottom:1px solid #eef0f5;padding:8px 7px;font-size:8px;font-weight:700}td{white-space:nowrap;border-bottom:1px solid #f0f1f5;padding:9px 7px}.link{color:#5644d2;font-weight:600}.negative{color:#d94e5c}.status{border-radius:5px;padding:4px 7px;font-size:8px;font-weight:700;display:inline-block}.lunas{color:#238b59;background:#def7e9}.belum-dibayar{color:#c84656;background:#fee1e4}.kurang-bayar{color:#bb7212;background:#fff0d5}.lebih-bayar{color:#6044cf;background:#e8e1ff}.anomali{color:#bd3d62;background:#f6d9e4}.eye{cursor:pointer;color:#65708a;background:0 0;border:0}.table-foot{color:#8a92a5;justify-content:space-between;align-items:center;padding:10px 13px;font-size:9px;display:flex}.table-foot button{background:#fff;border:1px solid #e3e5ed;border-radius:5px;margin-left:3px;padding:5px 8px;font-size:9px}.table-foot .page{color:#fff;background:#5c45dc;border-color:#5c45dc}.ai-panel{z-index:4;background:#fff;border-left:1px solid #e3e6ee;flex-direction:column;width:390px;padding:18px 16px;display:flex;position:fixed;top:0;bottom:0;right:0}.ai-head{border-bottom:1px solid #eceef4;justify-content:space-between;padding-bottom:13px;display:flex}.ai-head h2{margin:0;font-size:16px}.ai-head p{color:#7d8598;max-width:285px;margin:6px 0 0;font-size:10px;line-height:1.5}.ai-head>button{color:#5d6578;background:0 0;border:0;font-size:21px}.messages{flex:1;padding:15px 0;overflow:auto}.message{gap:8px;margin:10px 0;display:flex}.message.user{justify-content:flex-end}.message.user .bubble{color:#4438a5;background:#eee9ff;border-radius:12px 12px 3px}.message.ai .bubble{color:#3e4658;background:#f7f8fc;border-radius:3px 12px 12px;line-height:1.6}.bubble{max-width:88%;padding:10px 12px;font-size:10px}.bot{color:#fff;background:#6952e8;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;display:grid}.ai-input{border:1px solid #dddff0;border-radius:9px;margin-top:10px;display:flex;overflow:hidden}.ai-input textarea{resize:none;min-height:55px;font:inherit;border:0;outline:0;flex:1;padding:10px;font-size:10px}.ai-input button{color:#fff;cursor:pointer;background:#6046e8;border:0;border-radius:7px;align-self:flex-end;width:29px;height:29px;margin:7px}.suggestions{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.suggestions small{color:#9299a9;width:100%;font-size:9px}.suggestions button{color:#566078;cursor:pointer;background:#fff;border:1px solid #e1e3ee;border-radius:12px;padding:6px 8px;font-size:9px}.placeholder{place-items:center;height:calc(100vh - 74px);display:grid}.empty{text-align:center;max-width:500px}.empty-icon{color:#6046e8;font-size:40px}.empty h2{font-size:22px}.empty p{color:#7b8498;line-height:1.6}.modal-backdrop{z-index:20;background:#10182b99;place-items:center;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:520px;padding:25px;position:relative;box-shadow:0 25px 70px #0003}.modal .close{background:0 0;border:0;font-size:22px;position:absolute;top:13px;right:15px}.upload-icon{color:#5e46d9;background:#eee9ff;border-radius:14px;place-items:center;width:52px;height:52px;font-size:25px;display:grid}.modal h2{margin:13px 0 5px}.modal p{color:#7b8498;font-size:11px}.dropzone{text-align:center;color:#777f93;border:1.5px dashed #c7cbe0;border-radius:12px;margin:18px 0;padding:30px;font-size:11px}.dropzone b{color:#5b47d5}.dropzone small{color:#a2a8b6;margin-top:7px;display:block}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.modal-actions button{font:inherit;background:#fff;border:1px solid #e1e4ec;border-radius:8px;padding:9px 13px;font-size:10px}.detail-head{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding-bottom:14px;display:flex}.detail-head small{color:#8a92a4;font-size:8px}.detail-head h2{margin:4px 0;font-size:20px}.detail-grid{grid-template-columns:1fr 1fr;gap:13px;padding:17px 0;display:grid}.detail-grid small{color:#8a92a4;font-size:8px;display:block}.detail-grid strong{margin-top:4px;font-size:11px;display:block}.ai-finding{background:#f4f1ff;border:1px solid #e5dfff;border-radius:10px;padding:12px}.ai-finding b{color:#5d45d5;font-size:10px}.ai-finding p{color:#555e72;margin:7px 0 0;font-size:10px;line-height:1.6}.toast{color:#fff;z-index:30;background:#16203f;border-radius:9px;padding:10px 15px;font-size:10px;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0003}@media (width<=1200px){.ai-panel{display:none}.main{width:calc(100% - 250px);margin-right:0}.kpis{grid-template-columns:repeat(2,1fr)}.grid-top{grid-template-columns:1fr 1fr}.top-gap{grid-column:span 2}}@media (width<=800px){.sidebar{width:70px}.sidebar .brand div:not(.brand-mark),.hospital-brand div,.nav-item span,.nav-item em,.sidebar-bottom{display:none}.hospital-brand{justify-content:center}.main{width:calc(100% - 70px);min-width:0;margin-left:70px}.topbar{padding:0 12px}.topbar .top-actions>span,.period{display:none}.content{padding:10px}.grid-top{grid-template-columns:1fr}.top-gap{grid-column:auto}.kpis{grid-template-columns:1fr}.table-panel{overflow:auto}.table-panel table{min-width:900px}}
