:root{--bg:#f5f7fb;--surface:#fff;--ink:#172235;--muted:#778397;--line:#e8edf3;--navy:#0b1220;--navy2:#121e31;--green:#16856b;--green-soft:#e7f5f0;--amber:#b7791f;--amber-soft:#fff5df;--red:#bd4b50;--red-soft:#fff0ef;--blue:#4569c8;--blue-soft:#edf2ff;--shadow:0 10px 30px rgba(18,35,60,.05)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;background:var(--navy);color:#e9eef8;padding:26px 17px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;color:white;text-decoration:none;font:800 22px Manrope,sans-serif;letter-spacing:-1px;padding:0 8px 43px}.brand small{display:block;font:600 8px 'DM Sans';letter-spacing:2px;color:#7e8da7;margin-top:3px}.brand-mark{height:37px;width:37px;border-radius:12px;background:#c5f1df;color:#0e4a3d;display:grid;place-items:center;font:800 22px Manrope}.workspace-label{font-size:9px;letter-spacing:1.8px;color:#74839b;padding:0 10px 12px;font-weight:700}nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#9eabc0;padding:12px 11px;border-radius:9px;text-align:left;font:500 13px 'DM Sans';cursor:pointer;display:flex;gap:12px;align-items:center}.nav-item span{width:18px;text-align:center;font-size:16px}.nav-item.active,.nav-item:hover{background:#1a2a40;color:#fff}.sidebar-bottom{margin-top:auto}.network-pill{border:1px solid #26364d;border-radius:10px;padding:11px;display:flex;align-items:center;gap:10px;margin-bottom:18px}.network-pill i{height:8px;width:8px;background:#31bd8e;border-radius:50%;box-shadow:0 0 0 4px #1b3d3b}.network-pill b,.profile b{font-size:11px;display:block}.network-pill small,.profile small{font-size:10px;color:#8492a8;display:block;margin-top:3px}.profile{display:flex;align-items:center;gap:10px;padding:12px 4px 0;border-top:1px solid #26364d}.avatar{width:33px;height:33px;border-radius:50%;background:#d7e6ff;color:#2b4c85;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.dots{margin-left:auto;color:#8290a4;font-size:22px}.main{flex:1;min-width:0;padding:30px 42px 18px;max-width:1600px;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#99a4b4;font-weight:700;margin-bottom:7px}h1,h2,h3,p{margin-top:0}h1{font:700 25px Manrope;margin-bottom:0;letter-spacing:-.8px}.top-actions{display:flex;align-items:center;gap:14px}.role-switch{display:flex;background:#e9edf4;padding:4px;border-radius:9px}.role-switch button{border:0;padding:8px 14px;border-radius:7px;color:#778397;background:transparent;font-size:11px;font-weight:700;cursor:pointer}.role-switch button.active{background:#fff;color:#1a2a40;box-shadow:0 2px 7px #15243b12}.icon-btn{position:relative;border:1px solid var(--line);background:white;border-radius:9px;height:36px;width:36px;font-size:18px;color:#65738a}.notification-dot{position:absolute;right:8px;top:7px;width:5px;height:5px;border-radius:50%;background:#e36d6d}.top-avatar{width:35px;height:35px}footer{border-top:1px solid var(--line);margin-top:35px;padding:17px 0;color:#9aa4b3;font-size:10px}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.welcome h2{font:700 17px Manrope;margin-bottom:5px}.welcome p{font-size:12px;color:var(--muted);margin:0}.btn{border:0;border-radius:8px;padding:11px 15px;font:700 11px 'DM Sans';cursor:pointer;transition:.15s}.btn-primary{background:#153e35;color:white}.btn-primary:hover{background:#205c4d}.btn-light{background:#f0f3f8;color:#304056}.btn-outline{background:white;border:1px solid var(--line);color:#304056}.btn-danger{background:#fff0ef;color:#ae4448}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat,.panel,.hero-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat{padding:17px 18px}.stat-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px;font-weight:600}.stat-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f1f4f8;color:#53627a;font-size:14px}.stat-value{font:700 23px Manrope;letter-spacing:-.8px;margin:12px 0 5px}.stat-foot{font-size:10px;color:#9aa4b3}.positive{color:var(--green)}.negative{color:var(--red)}.content-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin-bottom:16px}.panel{padding:19px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.panel-title{font:700 13px Manrope;margin:0}.panel-sub{font-size:10px;color:var(--muted);margin-top:4px}.text-link{font-size:10px;color:#2d695a;font-weight:700;border:0;background:none;cursor:pointer}.chart{height:165px;display:flex;align-items:end;gap:12px;padding:8px 5px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 40px,#f0f3f7 41px)}.bar-col{height:100%;flex:1;display:flex;align-items:end;gap:5px;justify-content:center;position:relative}.bar{width:12px;border-radius:4px 4px 0 0;background:#b7d9cd}.bar.dark{background:#286c59}.bar-labels{display:flex;justify-content:space-around;font-size:9px;color:#9aa4b3;margin-top:9px}.activity{display:grid;gap:14px}.activity-row{display:flex;align-items:center;gap:10px}.activity-icon{height:30px;width:30px;border-radius:9px;background:#edf5f1;color:#28745d;display:grid;place-items:center}.activity-copy{flex:1}.activity-copy b{font-size:10px;display:block}.activity-copy small{font-size:9px;color:#9aa4b3}.activity-amount{font-size:10px;font-weight:700}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;color:#98a2b1;font-size:9px;letter-spacing:.5px;font-weight:700;padding:10px 9px;border-bottom:1px solid var(--line)}.data-table td{padding:13px 9px;border-bottom:1px solid #f0f2f6;font-size:10px}.data-table tr:last-child td{border-bottom:0}.company{display:flex;align-items:center;gap:8px}.company-logo{width:27px;height:27px;border-radius:8px;background:#edf1f7;display:grid;place-items:center;color:#53647c;font-size:10px;font-weight:700}.company b{font-size:10px;display:block}.company small{font-size:9px;color:#9aa4b3}.rating{font-size:9px;font-weight:800;border-radius:5px;padding:5px 7px;display:inline-block;background:var(--green-soft);color:var(--green)}.rating.aa,.rating.a{background:#edf4ff;color:#4469ad}.rating.bbbplus{background:var(--amber-soft);color:#a46d1c}.rating.bbb{background:var(--red-soft);color:var(--red)}.status{font-size:9px;font-weight:700}.status.open{color:var(--green)}.status.review{color:var(--amber)}.status.late{color:var(--red)}.progress{height:5px;background:#edf0f4;border-radius:5px;overflow:hidden}.progress span{height:100%;display:block;background:#3c9278;border-radius:5px}.risk-legend{display:flex;gap:12px;flex-wrap:wrap}.risk-legend span{font-size:9px;color:#778397}.risk-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:700;color:#536176}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5ed;border-radius:8px;padding:11px 12px;background:#fff;font:11px 'DM Sans';color:var(--ink);outline:none}.field input:focus,.field select:focus{border-color:#7db6a4;box-shadow:0 0 0 3px #dff2e9}.hint{font-size:9px;color:#9aa4b3;line-height:1.5}.upload-box{border:1px dashed #cbd5e1;border-radius:9px;padding:18px;text-align:center;color:#778397;font-size:10px;background:#fafbfd}.upload-box input{margin-top:9px;font-size:10px}.risk-card{padding:17px;border-radius:11px;background:#f7faf9;border:1px solid #e2eee9}.risk-score{font:800 27px Manrope;color:#26765d}.allocation{display:grid;gap:13px}.allocation-row{display:grid;grid-template-columns:90px 1fr 45px;align-items:center;gap:9px;font-size:10px}.allocation-track{height:9px;border-radius:9px;background:#edf0f4;overflow:hidden}.allocation-track span{height:100%;display:block;border-radius:9px}.wallet-hero{background:linear-gradient(120deg,#102d29,#1b5144);color:#fff;border-radius:13px;padding:22px;position:relative;overflow:hidden}.wallet-hero:after{content:'';position:absolute;width:230px;height:230px;border:1px solid #ffffff20;border-radius:50%;right:-55px;top:-130px;box-shadow:0 0 0 25px #ffffff08,0 0 0 55px #ffffff05}.wallet-hero .muted{color:#a8c9be;font-size:10px}.wallet-balance{font:800 30px Manrope;margin:8px 0 18px}.wallet-actions{display:flex;gap:8px}.wallet-actions .btn{background:#ffffff18;color:#fff;border:1px solid #ffffff30}.waterfall-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.waterfall-bar{height:14px;display:flex;border-radius:10px;overflow:hidden;margin:15px 0}.waterfall-bar .safe{width:85%;background:#23866b}.waterfall-bar .yield{width:15%;background:#d69b43}.waterfall-legend{display:flex;justify-content:space-between;font-size:10px}.callout{border-radius:9px;padding:12px;background:#f4f7fb;color:#65738a;font-size:10px;line-height:1.6}.callout.warn{background:#fff7e7;color:#94641e}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.empty{padding:28px;text-align:center;color:#96a1b1;font-size:11px}.modal-card{border:0;border-radius:14px;padding:25px;width:min(520px,calc(100vw - 30px));box-shadow:0 25px 80px #0b122044}.modal-card::backdrop{background:#0b122077}.modal-close{float:right;border:0;background:#f0f3f7;border-radius:50%;width:28px;height:28px;font-size:18px;cursor:pointer}.modal-card h2{font:700 18px Manrope}.modal-card p{font-size:11px;color:var(--muted);line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;bottom:22px;right:22px;background:#142c27;color:white;padding:12px 17px;border-radius:9px;font-size:11px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;box-shadow:0 10px 30px #0b122033}.toast.show{opacity:1;transform:translateY(0)}.section-gap{margin-top:16px}.inline-actions{display:flex;gap:7px}.pill{padding:5px 8px;border-radius:20px;background:#f0f3f7;color:#6c7a8f;font-size:9px}.fine-print{font-size:9px;color:#9aa4b3;line-height:1.6}.hide{display:none!important}
@media(max-width:1050px){.main{padding:25px 24px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{width:65px;padding:20px 9px}.brand{padding:0 4px 35px}.brand>span:not(.brand-mark),.workspace-label,.nav-item .nav-text,.sidebar-bottom .network-pill span,.profile>div:not(.avatar),.dots{display:none}.nav-item{justify-content:center;padding:12px 4px}.network-pill{justify-content:center;padding:12px 0}.profile{justify-content:center}.main{padding:22px 14px}.topbar{align-items:flex-start;gap:10px}.top-actions{gap:7px}.role-switch button{padding:8px}.content-grid,.two-col{grid-template-columns:1fr}.stats{gap:9px}.stat{padding:13px}.stat-value{font-size:20px}.welcome{align-items:flex-start;gap:10px}.welcome .btn{white-space:nowrap}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}h1{font-size:21px}.top-avatar{display:none}}