:root{--ink:#182137;--muted:#8a93a5;--muted2:#637087;--bg:#f7f8fc;--card:#fff;--line:#e9edf3;--nav:#111e32;--violet:#625ce9;--violet2:#847aff;--green:#179977;--darkgreen:#087960;--radius:18px;--shadow:0 8px 30px rgba(28,40,70,.035)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:DM Sans,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased}body{overflow-x:hidden}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand,strong{font-family:Manrope,DM Sans,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b2aaff;outline-offset:2px}input,select,textarea{min-width:0}svg{display:block}h1{letter-spacing:-1.45px}h2{letter-spacing:-.65px}::selection{background:#dcd8ff;color:#39356b}.app-layout{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;flex:none;width:268px;height:100vh;background:#111c30;color:#fff;padding:30px 16px 18px;z-index:90;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#33415a transparent}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;color:#fff}.brand-logo{width:40px;height:40px;border-radius:10px;object-fit:contain;flex:none;background:#fff;box-shadow:0 4px 14px #0000002e;border:1px solid rgba(255,255,255,.18);display:block}.brand-login .brand-logo{width:44px;height:44px;border-radius:11px}.brand-mark{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#9180fc,#6153ec);box-shadow:0 6px 18px #6559de4f;color:#fff;flex:none}.brand strong{display:block;font-size:15px;font-weight:800;letter-spacing:.7px;line-height:1.25}.brand small{font-size:9px;letter-spacing:1.8px;color:#9faac4;font-weight:800;display:block;margin-top:3px}.sidebar-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.sidebar-close-btn{display:none!important}.sidebar-header-row .brand{margin-bottom:0}.nav{display:flex;flex-direction:column;gap:4px;flex:1}.nav-label{padding:0 17px;color:#74849f;letter-spacing:1.35px;font-size:10px;font-weight:800;margin:0 0 13px}.nav-group-label{margin:30px 0 10px}.nav a{padding:13px 15px;display:flex;align-items:center;gap:13px;color:#a9b6ca;font-size:13px;font-weight:600;border-radius:10px;transition:.2s ease;position:relative}.nav a:hover{background:#202f47;color:#fff}.nav a.active{background:linear-gradient(90deg,#4c438fb0,#272b58a8);color:#fefeff}.nav a.active:before{content:"";position:absolute;left:-16px;top:9px;bottom:9px;width:3px;background:#9e90ff;border-radius:0 3px 3px 0}.nav a.active app-icon{color:#ae9ffc}.side-bottom{margin-top:22px}.side-profile{display:flex;align-items:center;gap:10px;padding:16px 6px 1px;border-top:1px solid #2c3850}.side-avatar,.topbar-avatar{width:36px;height:36px;border-radius:11px;background:#dfd8ff;color:#4d3cbd;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;flex:none}.side-avatar{background:#655ade;color:#fff}.side-profile-text{min-width:0;flex:1}.side-profile-text strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}.side-profile-text span{display:block;color:#8c9bb5;font-size:9px;letter-spacing:.7px;margin-top:3px}.logout-btn{border:none;background:transparent;color:#aab5ce;padding:7px;border-radius:8px}.logout-btn:hover{color:#fff;background:#ffffff19}.app-body{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:84px;flex:none;background:#fff;border-bottom:1px solid #eef0f6;padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:13px}.topbar-left{font-size:13px;color:#a0a8b7}.topbar-left strong{color:#30394b;font-size:13px;font-weight:800}.topbar-right{font-size:12px}.topbar-live{display:flex;gap:7px;align-items:center;color:#657386;font-size:11px;font-weight:600}.topbar-live i{display:block;background:#1cb287;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #24b9891b}.topbar-divider{height:23px;width:1px;background:#e7eaf1;margin:0 7px}.topbar-user{font-weight:700;color:#3a455a}.topbar-avatar{width:33px;height:33px;font-size:11px}.page-container{padding:38px 42px 60px;width:100%;max-width:1700px;margin:0 auto;flex:1}.app-footer{display:flex;justify-content:space-between;align-items:center;padding:0 42px 24px;color:#9ea7b5;font-size:10px;gap:20px}.mobile-menu{display:none!important}.sidebar-screen{display:none}.page-enter{animation:up .28s ease both}@keyframes up{0%{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#7f76dd;font-weight:800;margin:0 0 10px}.eyebrow-dot{padding:0 5px;color:#adb5c5}.muted{color:var(--muted2);font-size:13px;line-height:1.6;margin:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;flex-wrap:wrap}.page-heading h1{font-size:30px;font-weight:800;margin:0 0 6px;line-height:1.3}.page-heading .muted{color:#8993a4}.wave{font-size:24px;color:#9385eb;display:inline-block;vertical-align:2px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:24px 0 14px}.section-heading h2{font-size:21px;margin:0 0 5px}.btn{border-radius:10px;border:1px solid transparent;padding:12px 17px;display:inline-flex;gap:9px;justify-content:center;align-items:center;font-weight:800;font-size:12px;transition:.2s ease;white-space:nowrap;box-shadow:none;min-height:42px}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{color:#fff;background:var(--violet);box-shadow:0 4px 12px #5754dc2e}.btn-primary:hover:not(:disabled){background:#514bd4}.btn-outline{color:#3b4660;background:#fff;border-color:#e0e5ef}.btn-outline:hover:not(:disabled){background:#f7f7ff;border-color:#cbc9ef}.btn-tint{background:#ebe9ff;color:#6255d7;border-color:#e0ddff}.btn-small{font-size:11px;padding:7px 11px;min-height:32px}.btn-icon-only{padding:11px;min-width:42px}.icon-button{border:1px solid transparent;background:transparent;min-width:35px;min-height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:#8090a6}.icon-button:hover:not(:disabled){background:#f1f2fb;color:var(--violet)}.text-icon-button{border:0;background:transparent;color:#77839a;padding:7px;display:inline-flex;border-radius:7px}.text-icon-button:hover{background:#edecff;color:var(--violet)}.small-link,.panel-link{font-size:12px;font-weight:800;color:#6557df;display:inline-flex;align-items:center;gap:7px}.panel-link{margin-top:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow);min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:18px}.panel-heading h2{font-size:17px;font-weight:800;margin:0 0 6px}.panel-heading .eyebrow{margin-bottom:8px}.panel-heading .muted{font-size:12px;color:#929bae}.panel-icon{border:1px solid #e9e9f6;border-radius:10px;width:41px;height:41px;display:flex;justify-content:center;align-items:center;color:#796de2;background:#f8f7ff;flex:none}.alert{display:flex;align-items:center;gap:11px;padding:13px 15px;border-radius:10px;font-size:12px;font-weight:600;margin:10px 0 19px;line-height:1.5}.error-alert{background:#fff3f2;border:1px solid #f9d9d6;color:#bf433f}.success-alert{background:#eefaef;border:1px solid #c3ead5;color:#15835c}.skeleton{border-radius:14px;background:linear-gradient(100deg,#f0f1f7 18%,#fbfcff,#f0f1f7 70%);background-size:220% 100%;animation:shimmer 1.5s linear infinite;margin-bottom:16px}@keyframes shimmer{to{background-position-x:-220%}}.empty-state{padding:48px 16px;display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;color:#a5aec0}.empty-state strong{color:#364057;font-size:15px}.empty-state span{max-width:340px;line-height:1.6;font-size:12px}.large-empty{border:1px dashed #dce2ee;background:#fff;border-radius:16px;padding:85px 15px;gap:13px}.large-empty .btn{margin-top:8px}.empty-circle{background:#efedff;border-radius:100%;color:var(--violet);padding:20px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8e98a9;font-size:12px;margin:20px 0 0}.pagination-actions{display:flex;gap:6px}.pagination .icon-button{background:#fff;border:1px solid #e7eaf2}.pagination .icon-button:disabled{background:#f7f7fb}.pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800;letter-spacing:.1px;border-radius:6px;padding:6px 9px;text-transform:capitalize;white-space:nowrap}.pill-green{color:#158b6e;background:#e7f7ef}.pill-gray{color:#7b879a;background:#eff2f6}.pill-purple{color:#7160ca;background:#f0edff}.status-dot{width:5px;height:5px;background:currentColor;border-radius:50%}.avatar,.mini-avatar,.investor-avatar,.profile-avatar{display:flex;align-items:center;justify-content:center;flex:none;font-weight:800}.avatar{width:42px;height:42px;border-radius:13px;font-size:12px}.mini-avatar{width:35px;height:35px;border-radius:10px;font-size:11px}.investor-avatar{height:50px;width:50px;border-radius:15px;font-size:16px}.profile-avatar{height:75px;width:75px;border-radius:20px;font-size:23px}.c0{background:#eae5ff!important;color:#8062db!important}.c1{background:#e1f5ec!important;color:#23a077!important}.c2{background:#e3edff!important;color:#4879d2!important}.c3{background:#fff0df!important;color:#cc913b!important}.c4{background:#ffe6ed!important;color:#d66b88!important}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0 20px}.metric-card{padding:18px 20px 17px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);min-width:0}.metric-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.metric-icon{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex:none}.metric-icon.purple{background:#efedff;color:#7662d9}.metric-icon.green{background:#e2f7ee;color:#1a9972}.metric-icon.amber{background:#fff0dc;color:#d59134}.metric-icon.blue{background:#e9f1ff;color:#4d83de}.metric-corner{color:#b8c0cf}.metric-title{font-size:12px;font-weight:600;color:#8590a0;display:block}.metric-card strong{font-weight:800;font-size:24px;display:block;margin:8px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.7px}.metric-foot{color:#a4aab8;font-size:10px}.dashboard-lower{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px}.allocation-row{margin:14px 0 16px}.allocation-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.allocation-top div{display:flex;align-items:center;gap:9px}.allocation-top strong{font-weight:700}.allocation-top>span{font-weight:800;font-size:12px}.allocation-square{width:9px;height:9px;background:#8273ec;border-radius:3px;display:inline-block}.allocation-square.c1{background:#2abc94!important}.allocation-square.c2{background:#5794ea!important}.allocation-square.c3{background:#efb055!important}.allocation-square.c4{background:#e787ac!important}.progress-bg{height:7px;width:100%;border-radius:8px;background:#f1f2f7;overflow:hidden;margin:10px 0 8px}.progress-value{height:100%;border-radius:9px;background:#8374ed}.progress-value.c1{background:#2abc94!important}.progress-value.c2{background:#5794ea!important}.progress-value.c3{background:#efb055!important}.progress-value.c4{background:#e787ac!important}.allocation-foot{display:flex;justify-content:space-between;color:#a0a9ba;font-size:10px}.recent-person{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f1f5}.recent-person:last-child{border-bottom:0}.recent-person-main{flex:1;min-width:0}.recent-person-main strong,.recent-person-main small{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.recent-person-main strong{font-size:12px;margin-bottom:4px}.recent-person-main small{color:#a1aabb;font-size:10px}.recent-person-value{font-size:12px;font-weight:800;white-space:nowrap}.recent-person>app-icon{color:#a4aebb}.recent-person:hover .recent-person-main strong{color:var(--violet)}.page-toolbar,.directory-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 18px;border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:20px;box-shadow:0 2px 8px #111c3005}.toolbar-left{display:flex;align-items:center;gap:12px;flex:1;min-width:0;flex-wrap:wrap}.toolbar-right{display:flex;align-items:center;gap:10px;flex:none}.page-toolbar .search-field,.directory-toolbar .search-field{display:flex;align-items:center;gap:9px;border:1px solid #e2e8f0;padding:0 14px;border-radius:10px;width:100%;max-width:380px;min-width:240px;color:#94a3b8;background:#f8fafc;height:42px;min-height:42px;transition:all .15s ease}.page-toolbar .search-field:focus-within,.directory-toolbar .search-field:focus-within{background:#fff;border-color:#6355ec;box-shadow:0 0 0 3px #6355ec1f;color:#6355ec}.page-toolbar .search-field input,.directory-toolbar .search-field input{border:0;outline:0!important;font-size:13px;width:100%;background:transparent;color:#1e293b}.page-toolbar .search-field input::placeholder,.directory-toolbar .search-field input::placeholder{color:#94a3b8}.search-clear-btn{background:none;border:none;font-size:18px;line-height:1;color:#94a3b8;cursor:pointer;padding:2px 4px}.search-clear-btn:hover{color:#334155}.page-toolbar .filter-field{display:flex;align-items:center;gap:8px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:0 12px;height:42px;min-height:42px;color:#64748b;font-size:13px;transition:all .15s ease}.page-toolbar .filter-field:focus-within{background:#fff;border-color:#6355ec;box-shadow:0 0 0 3px #6355ec1f}.page-toolbar .filter-field select{background:none;border:none;outline:none!important;font-size:13px;color:#1e293b;min-width:140px;cursor:pointer}.toolbar-count-badge{display:inline-flex;align-items:center;font-size:11.5px;font-weight:700;color:#64748b;background:#f1f5f9;padding:5px 11px;border-radius:8px;white-space:nowrap;letter-spacing:.2px}.toolbar-stat-pill{display:inline-flex;align-items:center;gap:6px;background:#f0fdf4;border:1px solid #dcfce7;border-radius:8px;padding:5px 11px;font-size:12px;color:#166534;white-space:nowrap}.toolbar-stat-pill strong{color:#15803d;font-weight:700}.toolbar-title{display:flex;align-items:center;gap:12px}.toolbar-icon{background:#efeefe;color:#7465d9;padding:12px;border-radius:12px;display:inline-flex}.toolbar-title strong,.toolbar-title span{display:block}.toolbar-title strong{font-size:14px;font-weight:800}.toolbar-title div span{font-size:11px;color:#98a2b1;margin-top:4px}.toolbar-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.search-field{display:flex;align-items:center;gap:9px;border:1px solid #e8eaf0;padding:0 13px;border-radius:9px;min-width:280px;color:#a0a9b8;background:#fff;height:42px}.search-field:focus-within{border-color:#a49bec}.search-field input{border:0;outline:0!important;font-size:12px;width:100%;background:transparent}.search-field input::placeholder{color:#b4bac6}.investor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(295px,325px));gap:16px;justify-content:start}.investor-card{display:block;background:#fff;border:1px solid #e9ecf3;box-shadow:var(--shadow);border-radius:14px;min-width:0;max-width:325px;padding:14px 16px;transition:.22s ease}.investor-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #23255c12;border-color:#ccc7fb}.investor-card-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.investor-card-name{margin:15px 0}.investor-card-name h3{font-size:16px;font-weight:800;margin:0 0 4px}.investor-card-name span{font-size:10px;color:#9ca6b6;letter-spacing:.3px}.investor-card-divider{height:1px;background:#f0f1f6;margin-bottom:15px}.investor-card-amount>span,.investor-card-amount>strong{display:block}.investor-card-amount span{font-size:11px;color:#9aa5b6;margin-bottom:6px}.investor-card-amount strong{font-size:19px;letter-spacing:-.6px}.investor-card-bottom{display:flex;gap:12px;flex-wrap:wrap;margin-top:17px}.investor-card-bottom span{display:flex;align-items:center;gap:5px;font-size:10px;color:#8995a7}.investor-card-bottom span:last-child{color:#1d9978}.investor-card-link{display:inline-flex;align-items:center;gap:4px;color:#6355ec;font-weight:700;font-size:11.5px;text-decoration:none;border:none;padding:0;margin:0}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#8491a3;font-weight:700;margin:0 0 24px}.back-link:hover{color:var(--violet)}.profile-header{background:#fff;border:1px solid var(--line);padding:28px;display:flex;align-items:center;gap:20px;border-radius:17px}.profile-main{flex:1;min-width:0}.profile-name-row{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.profile-name-row h1{font-size:25px;margin:0 0 6px}.profile-code{font-size:11px;font-weight:700;color:#9da5b5}.profile-contact{display:flex;gap:20px;margin-top:13px;flex-wrap:wrap}.profile-contact span{display:flex;align-items:center;gap:7px;color:#8390a2;font-size:11px}.profile-edit{align-self:flex-start}.detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:19px 0}.detail-stat{border:1px solid var(--line);border-radius:15px;background:#fff;padding:20px}.stat-heading{display:flex;align-items:center;gap:11px;margin-bottom:14px}.stat-heading .metric-icon{width:39px;height:39px}.stat-heading>span:last-child{font-size:10px;font-weight:800;color:#9ca3b1;letter-spacing:.9px}.detail-stat>strong{display:block;font-size:24px;font-weight:800;margin-bottom:6px;letter-spacing:-.7px}.detail-stat small{font-size:11px;color:#9ca7b6}.dept-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dept-summary-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.dept-summary-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dept-symbol{width:39px;height:39px;border-radius:11px;background:#ebecff;color:#695ed9;display:inline-flex;align-items:center;justify-content:center;flex:none}.small-muted{color:#a1aabb;font-size:10px}.dept-summary-card h3{font-size:14px;margin:0 0 18px}.dept-amount-title{color:#a0a9b5;font-size:11px;margin-bottom:6px}.dept-summary-card>strong{display:block;font-size:21px;letter-spacing:-.5px}.dept-summary-profit{border-top:1px solid #f0f1f5;margin-top:19px;padding-top:15px;display:flex;justify-content:space-between;gap:6px;align-items:center;font-size:11px;color:#9ea8b7}.dept-summary-profit b{color:#17a07c;white-space:nowrap}.investor-record-panel{margin-top:27px}.record-count{font-size:10px;font-weight:800;color:#989fb3;letter-spacing:.9px}.investment-accordion{border:1px solid #e9edf4;border-radius:12px;margin:11px 0;overflow:hidden}.investment-row{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;gap:12px}.investment-row-main{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;border:0;background:none;padding:0;color:inherit}.investment-row-label{flex:1;min-width:0}.investment-row-label strong,.investment-row-label small{display:block}.investment-row-label strong{font-size:12px;margin-bottom:5px}.investment-row-label small{font-size:10px;color:#99a4b5}.investment-row-numbers{text-align:right;margin-right:12px}.investment-row-numbers strong,.investment-row-numbers small{display:block;white-space:nowrap}.investment-row-numbers strong{font-size:13px}.investment-row-numbers small{font-size:10px;color:#299b79;margin-top:5px}.dot-success{display:inline-block;border-radius:50%;background:#27b188;width:5px;height:5px;vertical-align:2px}.investment-row-main>app-icon{color:#a2aec0}.investment-actions{display:flex;align-items:center;gap:4px;border-left:1px solid #eef0f5;padding-left:8px}.investment-expanded{background:#fbfcfe;border-top:1px solid #e9edf4;padding:17px 17px 20px}.investment-meta{display:flex;gap:17px;flex-wrap:wrap;font-size:11px;color:#99a2b1;margin-bottom:20px}.payment-header{display:flex;justify-content:space-between;margin-bottom:11px;color:#364057;font-size:12px}.payment-header span{color:#a1abba;font-size:10px}.payment-empty{font-size:11px;color:#aab3c0;margin:0;padding:9px 0}.notes-panel{padding:22px 26px;background:#fff;border:1px solid var(--line);border-radius:15px;margin-top:20px}.notes-panel h3{font-size:14px;margin:0 0 11px}.notes-panel p{font-size:12px;color:#748095;margin:8px 0;white-space:pre-wrap}.department-list{display:flex;flex-direction:column}.department-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #f0f1f5}.department-item:last-child{border:0}.department-icon{display:inline-flex;align-items:center;justify-content:center;width:49px;height:49px;border-radius:12px;background:#e8e9ff;color:#7269db;flex:none}.department-info{flex:1;min-width:0}.department-info strong{display:block;font-size:13px;margin-bottom:6px}.department-info span{font-size:11px;color:#9da5b4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;max-width:280px}.department-finance{margin-right:12px;text-align:right}.department-finance small{display:block;color:#9ca6b8;font-size:9px;font-weight:800;letter-spacing:.7px;margin-bottom:6px}.department-finance strong{font-size:14px;white-space:nowrap}.department-item>.pill{margin-right:5px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #f1f2f6;padding:6px 0 19px;margin-bottom:4px}.filter-field{display:flex;align-items:center;gap:8px;border:1px solid #e5e9f1;color:#8f99ac;border-radius:9px;padding:0 13px;min-height:39px}.filter-field select{background:none;border:none;outline:none!important;font-size:12px;color:#4c596e;min-width:150px}.table-count,.soft-note{font-size:11px;color:#99a4b4}.soft-note{display:flex;align-items:center;gap:6px}.table-scroll{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}.data-table th{color:#9ba5b6;font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:800;padding:17px 13px;border-bottom:1px solid #edf0f5}.data-table td{padding:17px 13px;border-bottom:1px solid #f0f1f5;color:#718096}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:#fbfbff}.data-table td.value-bold{font-weight:800;color:#2d374c}.data-table .right{text-align:right}.data-table .amount-positive{color:#199773}.table-person{display:flex;align-items:center;gap:10px}.table-person strong,.table-person small{display:block}.table-person strong{color:#333c4f;font-size:12px}.table-person small{font-size:10px;color:#a5afbd;margin-top:4px}.table-dept{font-weight:700;color:#5b6480}.capitalize{text-transform:capitalize}.compact-table th,.compact-table td{padding:12px 11px}.role-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.role-card{display:flex;gap:13px;align-items:flex-start;padding:19px;background:#fff;border:1px solid var(--line);border-radius:14px}.role-card .metric-icon{width:40px;height:40px}.role-card strong{display:block;margin-bottom:6px}.role-card p{margin:0;font-size:11px;line-height:1.6;color:#99a4b4}.role-select{border:1px solid #e5e9f1;border-radius:8px;padding:9px 28px 9px 12px;background:#fff;color:#4f5b72;font-size:12px}.admin-only{display:flex;align-items:center;gap:8px;border:1px solid #e4dfff;color:#7867d8;background:#f0edff;padding:10px 14px;border-radius:8px;font-size:10px;letter-spacing:.5px;font-weight:800}.audit-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid #f0f1f5;padding:16px 0}.audit-row:last-child{border:0}.audit-icon{background:#eeeaff;color:#7767d5;padding:10px;border-radius:11px}.audit-text{flex:1}.audit-text strong{display:block;color:#344057;font-size:12px;margin-bottom:6px}.audit-text strong span{font-weight:600;color:#727c90}.audit-text small{color:#9fa9b7;font-size:10px}.audit-id{font-size:10px;color:#a0abbb}body.modal-open{overflow:hidden!important}.page-enter:has(.modal-backdrop){transform:none!important;animation:none!important}.modal-backdrop{position:fixed;inset:0;width:100vw;height:100vh;z-index:9999;background:#0f172aa6;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:24px 16px;overflow:hidden;animation:modalBackdropFade .2s cubic-bezier(.16,1,.3,1) forwards}@keyframes modalBackdropFade{0%{opacity:0}to{opacity:1}}.modal,.modal-dialog{background:#fff;border-radius:20px;max-width:620px;width:100%;max-height:min(90vh,860px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(226,232,240,.9);box-shadow:0 25px 60px -15px #0f172a47,0 0 0 1px #0f172a0a,0 10px 24px -6px #0f172a14;animation:modalDialogPop .22s cubic-bezier(.16,1,.3,1) forwards}@keyframes modalDialogPop{0%{opacity:0;transform:scale(.95) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-head,.modal-header{padding:22px 28px 18px;border-bottom:1px solid #f1f5f9;background:#fff;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none}.modal-head h2,.modal-title{margin:0;font-size:20px;font-weight:800;letter-spacing:-.3px;color:#0f172a;line-height:1.3}.modal-head .eyebrow,.modal-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#6355ec;text-transform:uppercase;margin:0 0 5px;display:inline-flex;align-items:center;gap:6px}.modal-subtitle{font-size:13px;font-weight:500;color:#64748b;margin:5px 0 0;line-height:1.45}.modal-content,.modal-body{padding:26px 28px;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.modal-content::-webkit-scrollbar,.modal-body::-webkit-scrollbar{width:6px}.modal-content::-webkit-scrollbar-thumb,.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.modal-close-btn{flex:none;width:36px;height:36px;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease-in-out;padding:0}.modal-close-btn:hover{background:#f1f5f9;color:#0f172a;border-color:#cbd5e1;transform:scale(1.05)}.modal-close-btn:focus-visible{outline:2px solid #6355ec;outline-offset:2px}.modal-form{display:flex;flex-direction:column}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.field{display:flex;flex-direction:column;gap:7px}.field>span{font-size:12px;font-weight:700;color:#334155;display:flex;align-items:center;justify-content:space-between}.field .req{color:#ef4444;margin-left:2px;font-weight:800}.field input,.field textarea,.field select{width:100%;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-height:44px;padding:0 14px;color:#0f172a;font-size:13px;font-weight:500;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.field input:hover,.field textarea:hover,.field select:hover{border-color:#94a3b8}.field textarea{padding:11px 14px;resize:vertical;min-height:84px;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6355ec;box-shadow:0 0 0 3px #6355ec26;background:#fff}.field input::placeholder,.field textarea::placeholder{color:#94a3b8;font-weight:400}.field input:disabled,.field select:disabled,.field textarea:disabled,.field-disabled{background:#f8fafc!important;color:#64748b!important;border-color:#e2e8f0!important;cursor:not-allowed}.span-2{grid-column:span 2}.check-row{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600;margin-top:18px;color:#334155;padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.check-row:hover{background:#f1f5f9;border-color:#cbd5e1}.check-row input{accent-color:#6355ec;width:17px;height:17px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 28px;background:#f8fafc;border-top:1px solid #f1f5f9;margin:24px -28px -26px;position:sticky;bottom:-26px;z-index:10;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.modal-actions .btn{min-height:42px;padding:0 22px;border-radius:10px;font-size:13px}.btn-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:btnSpin .7s linear infinite;display:inline-block;flex:none}.btn-outline .btn-spinner{border-color:#6355ec40;border-top-color:#6355ec}@keyframes btnSpin{to{transform:rotate(360deg)}}.btn-danger{color:#fff!important;background:#dc2626!important;border-color:#dc2626!important;box-shadow:0 4px 12px #dc262638}.btn-danger:hover:not(:disabled){background:#b91c1c!important;border-color:#b91c1c!important;transform:translateY(-1px)}.btn-danger:disabled{opacity:.65;cursor:not-allowed}.btn-danger-outline{color:#dc2626!important;background:#fff!important;border-color:#fca5a5!important}.btn-danger-outline:hover:not(:disabled){background:#fef2f2!important;border-color:#ef4444!important;color:#b91c1c!important}.icon-button.btn-danger-action:hover:not(:disabled),.text-icon-button.btn-danger-action:hover:not(:disabled){background:#fef2f2!important;color:#dc2626!important}.btn-card-delete:hover:not(:disabled){background:#fef2f2!important;color:#dc2626!important;border-color:#fca5a5!important}.table-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.dept-code-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:7px;background:#f0edff;color:#6355ec;font-weight:800;font-size:11px;letter-spacing:.5px}.dept-name-cell{font-size:13px;font-weight:700;color:#1e293b}.dept-desc-cell{color:#64748b;font-size:12px;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-hint{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:12px 14px;border-radius:10px;margin:16px 0 0;line-height:1.5}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.02fr .98fr;background:#fff}.login-brand-panel{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:100vh;background:#141c37;overflow-y:auto;overflow-x:hidden;padding:clamp(32px,4vh,48px) clamp(36px,5vw,68px) clamp(24px,3vh,36px);color:#fff;box-sizing:border-box;row-gap:clamp(20px,3vh,36px)}.login-brand-panel:after{content:"";position:absolute;width:750px;height:750px;right:-500px;top:5%;border-radius:50%;border:1px solid #ffffff17;box-shadow:0 0 0 80px #ffffff06,0 0 0 160px #ffffff04;pointer-events:none}.brand-login{padding:0}.login-hero{position:relative;z-index:2;align-self:center;justify-self:start;max-width:480px;width:100%;margin:0}.login-kicker{display:flex;align-items:center;gap:9px;color:#d0c9ff;font-size:10px;font-weight:800;letter-spacing:1.5px;margin-bottom:14px}.login-hero h1{font-size:clamp(32px,3.2vw,44px);line-height:1.15;letter-spacing:-1.3px;margin:0 0 14px;font-weight:800}.login-hero h1 em{font-style:normal;color:#a89cff}.login-hero>p{color:#aab3ca;max-width:440px;line-height:1.65;font-size:13.5px;margin:0 0 24px}.login-visual{border:1px solid #ffffff27;background:#ffffff0c;border-radius:17px;padding:22px;max-width:440px;box-shadow:0 16px 50px #00000018}.login-visual-top{display:flex;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#bbc1e2}.login-mini-bars{height:100px;display:flex;align-items:end;gap:13px;margin:22px 0 18px}.login-mini-bars span{flex:1;min-width:12px;background:linear-gradient(#998cfc,#5d5ed6);border-radius:6px 6px 0 0;opacity:.85}.login-mini-bars span:nth-child(2n){opacity:.48}.login-visual-footer{display:flex;justify-content:space-between;font-size:10px;color:#c0c2d9}.login-visual-footer span:last-child{color:#79e2c0;display:flex;align-items:center;gap:6px}.login-panel-foot{position:relative;z-index:2;align-self:end;display:flex;justify-content:space-between;color:#65728f;font-size:11px;letter-spacing:.3px;width:100%;max-width:480px;margin:0}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:45px;min-height:100vh}.login-form-wrap{width:100%;max-width:390px}.login-icon{width:57px;height:57px;background:#edebff;border-radius:16px;color:#7060dd;display:flex;align-items:center;justify-content:center;margin-bottom:25px}.login-form-wrap h2{font-size:28px;letter-spacing:-1.1px;line-height:1.25;margin:0 0 12px}.login-intro{margin-bottom:34px;font-size:12px;line-height:1.9}.login-form-wrap form{display:flex;flex-direction:column;gap:21px}.login-form-wrap .field span{font-size:12px}.input-with-icon{display:flex;align-items:center;gap:11px;padding:0 13px;color:#a8b1c1;border:1px solid #dfe5ee;border-radius:10px;min-height:50px}.input-with-icon:focus-within{border-color:#a69af5;box-shadow:0 0 0 3px #655ce911}.input-with-icon input{flex:1;border:0;outline:0!important;padding:12px 0;background:transparent;color:#344057;font-size:13px;min-width:0}.input-with-icon input::placeholder{color:#b0b9c7}.field-trailing{border:0;background:none;color:#99a4b5;padding:4px}.btn-login{width:100%;min-height:52px;margin-top:2px;font-size:13px;justify-content:space-between;padding:0 19px}.login-note{display:flex;gap:12px;color:#9ba4b4;font-size:11px;line-height:1.7;border-top:1px solid #eef0f4;margin-top:35px;padding-top:24px}.login-note app-icon{color:#8d80e7;flex:none}@media(max-width:1450px){.metrics-grid,.dept-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:240px}.page-container{padding:30px 24px 48px}.topbar{padding:0 24px;height:72px}.app-footer{padding:0 24px 20px}.dashboard-lower,.role-cards{grid-template-columns:1fr}}@media(max-width:850px){.sidebar{position:fixed;top:0;left:0;bottom:0;height:100vh;height:100dvh;width:min(290px,85vw);z-index:1000;transform:translate(-105%);transition:transform .28s cubic-bezier(.16,1,.3,1);box-shadow:none}.sidebar.sidebar-open{transform:translate(0);box-shadow:12px 0 40px #00000080}.sidebar-screen{display:block;position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;background:#0f172aa6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:999;animation:modalBackdropFade .2s ease forwards}.sidebar-close-btn{display:inline-flex!important;width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:#ffffff14;color:#e2e8f0;align-items:center;justify-content:center;cursor:pointer;padding:0}.mobile-menu{display:inline-flex!important;width:40px;height:40px;min-width:40px;min-height:40px;border-radius:9px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;align-items:center;justify-content:center;cursor:pointer}.topbar{height:62px;padding:0 18px}.topbar-live,.topbar-divider{display:none!important}.page-container{padding:24px 18px 40px}.app-footer{padding:0 18px 18px}.detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.page-heading{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:16px}.page-heading h1{font-size:24px;letter-spacing:-.6px;line-height:1.25;margin-bottom:4px}.page-heading .muted{font-size:12px}.topbar{height:58px;padding:0 14px}.topbar-path,.topbar-chevron{display:none!important}.topbar-title{font-size:14.5px;font-weight:800;color:#0f172a;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-user{display:none!important}.topbar-avatar{width:32px;height:32px;font-size:11px;border-radius:9px}.page-container{padding:16px 14px 32px}.app-footer{padding:0 14px 16px;font-size:9.5px;flex-direction:column;align-items:center;gap:4px;text-align:center}.page-toolbar,.directory-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px;margin-bottom:16px}.page-toolbar .toolbar-left,.directory-toolbar .toolbar-left{display:flex;flex-direction:column;width:100%;gap:10px}.page-toolbar .search-field,.directory-toolbar .search-field,.page-toolbar .filter-field,.directory-toolbar .filter-field{width:100%;max-width:100%;min-width:0;height:42px}.toolbar-count-badge{align-self:flex-start}.page-toolbar .toolbar-right,.directory-toolbar .toolbar-right{display:flex;width:100%;gap:8px}.page-toolbar .toolbar-right .btn-primary,.directory-toolbar .toolbar-right .btn-primary{flex:1;justify-content:center;min-height:42px}.page-toolbar .toolbar-right .btn-icon-only,.directory-toolbar .toolbar-right .btn-icon-only{flex:none;min-width:42px;min-height:42px}.metrics-grid,.investor-grid,.detail-metrics,.dept-summary-grid{grid-template-columns:1fr!important;gap:12px}.metric-card{padding:15px 16px}.metric-card strong{font-size:21px;margin:6px 0 8px}.investor-card,.dept-summary-card{max-width:100%!important;width:100%}.profile-header{padding:16px;flex-direction:column;align-items:flex-start;gap:14px;border-radius:14px}.profile-avatar{width:52px;height:52px;font-size:17px;border-radius:14px}.profile-name-row h1{font-size:20px;margin:0}.profile-edit{width:100%;justify-content:center;min-height:42px}.section-heading{flex-direction:column;align-items:flex-start;gap:10px;margin:20px 0 12px}.section-heading .btn{width:100%;justify-content:center}.panel{padding:14px;border-radius:14px}.panel-heading{margin-bottom:14px}.panel-heading h2{font-size:16px}.table-scroll{margin:0 -14px;padding:0 14px;width:calc(100% + 28px);overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table th,.data-table td{padding:12px 10px}.department-item{display:grid!important;grid-template-columns:44px 1fr auto!important;grid-template-areas:"icon info action" "finance finance finance"!important;gap:10px!important;padding:12px 0!important;align-items:center!important}.department-icon{grid-area:icon;width:44px;height:44px;border-radius:11px}.department-info{grid-area:info;min-width:0}.department-info strong{font-size:13.5px;margin-bottom:2px;line-height:1.3}.department-info span{font-size:11px;max-width:100%}.department-item>.icon-button{grid-area:action;justify-self:end;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:8px;background:#f1f2f8}.department-finance{grid-area:finance;display:flex!important;justify-content:space-between!important;align-items:center!important;background:#f8fafc;border:1px solid #eef2f7;padding:8px 12px!important;border-radius:9px;margin:2px 0 0!important;text-align:left!important}.department-finance small{margin:0!important;font-size:10px!important;color:#64748b}.department-finance strong{font-size:14px!important;color:#1e293b}.modal,.modal-dialog{max-height:94vh!important;max-height:94dvh!important;border-radius:20px 20px 0 0!important;width:100%!important}.modal-head,.modal-header{padding:16px 18px 12px}.modal-content,.modal-body{padding:16px 18px}.form-grid{grid-template-columns:1fr!important;gap:12px!important}.span-2{grid-column:span 1!important}.field input,.field select,.field textarea{min-height:46px!important;font-size:14px!important}.modal-actions{margin:16px -18px -16px!important;padding:14px 18px max(14px,env(safe-area-inset-bottom))!important;flex-direction:column-reverse!important;gap:8px!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;position:sticky;bottom:-16px;z-index:10}.modal-actions .btn{width:100%!important;justify-content:center!important;min-height:46px!important;font-size:14px!important}.audit-row{padding:12px 0;gap:10px}}@media(max-width:430px){.page-container{padding:12px 10px 24px}.topbar{padding:0 10px;height:56px}.topbar-left{gap:8px}.topbar-title{max-width:130px;font-size:14px}.panel{padding:12px 10px;border-radius:12px}.table-scroll{margin:0 -10px;padding:0 10px;width:calc(100% + 20px)}.btn{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
