@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");:root{--bg:#f5f5f5;--bg-card:#fff;--bg-dark:#1a1a1a;--bg-login:#0c0c0c;--gold:#b8860b;--gold-light:#d4a842;--gold-gradient:linear-gradient(135deg,#d4a842,#b8860b,#8b6914);--text:#1a1a1a;--text-muted:#777;--text-light:#999;--border:#e8e4df;--green:#16a34a;--red:#dc2626;--sidebar-width:240px;--sidebar-collapsed:68px}*{margin:0;padding:0;box-sizing:border-box}body,html{font-family:Outfit,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input:focus{border-color:var(--gold)!important;outline:none}button{cursor:pointer;font-family:Outfit,system-ui,sans-serif}button:hover{opacity:.9}::selection{background:rgba(184,134,11,.2)}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}@keyframes spin{to{transform:rotate(1turn)}}.spinner{width:20px;height:20px;border:2px solid rgba(184,134,11,.2);border-top:2px solid var(--gold);border-radius:50%;animation:spin .6s linear infinite;display:inline-block}.dashboard-shell{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);background:linear-gradient(180deg,#fafafa,#f2f2f2);border-right:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100;transition:width .25s ease;overflow:hidden}.sidebar-collapsed{width:var(--sidebar-collapsed)}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 12px;border-bottom:1px solid rgba(0,0,0,.05);min-height:64px}.sidebar-top-collapsed{flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 8px}.sidebar-logo{display:flex;align-items:center;gap:10px;overflow:hidden;white-space:nowrap}.sidebar-logo-label{font-size:13px;font-weight:500;color:#777}.sidebar-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid rgba(0,0,0,.06);background:#fff;color:#999;cursor:pointer;flex-shrink:0;transition:color .2s,border-color .2s}.sidebar-toggle:hover{color:#555;border-color:rgba(0,0,0,.12)}.sidebar-nav{flex:1 1;padding:12px 8px;display:flex;flex-direction:column;gap:2px;overflow-y:auto}.sidebar-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:500;color:#777;text-decoration:none;transition:all .15s ease;border:none;background:transparent;width:100%;cursor:pointer;white-space:nowrap;font-family:Outfit,system-ui,sans-serif}.sidebar-link:hover{color:#1a1a1a;background:rgba(0,0,0,.03)}.sidebar-link-active{color:#1a1a1a;background:rgba(184,134,11,.08);font-weight:600}.sidebar-link-active svg{color:#b8860b}.sidebar-bottom{padding:12px 8px 16px;border-top:1px solid rgba(0,0,0,.05);display:flex;flex-direction:column;gap:8px}.sidebar-user{gap:10px;padding:8px 12px;overflow:hidden}.sidebar-avatar,.sidebar-user{display:flex;align-items:center}.sidebar-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#d4a842,#b8860b);justify-content:center;color:#fff;font-size:12px;font-weight:700;flex-shrink:0}.sidebar-user-info{overflow:hidden}.sidebar-user-name{font-size:13px;font-weight:600;color:#1a1a1a}.sidebar-user-meta,.sidebar-user-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-meta{font-size:11px;color:#999}.sidebar-logout{color:#999}.sidebar-logout:hover{color:#dc2626;background:rgba(220,38,38,.04)}.dashboard-content{flex:1 1;margin-left:var(--sidebar-width);transition:margin-left .25s ease;min-height:100vh}.sidebar-collapsed~.dashboard-content{margin-left:var(--sidebar-collapsed)}.dash-main{max-width:1120px;margin:0 auto;padding:40px}.mobile-tabs{display:none}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px;margin-bottom:24px}.two-col{display:grid;grid-template-columns:1.2fr .8fr;grid-gap:24px;gap:24px}.dash-header{display:flex;justify-content:space-between;align-items:center;padding:14px 32px;border-bottom:1px solid rgba(0,0,0,.06);background:hsla(0,0%,100%,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 -1px 0 0 rgba(0,0,0,.03),0 1px 4px 0 rgba(0,0,0,.03);position:-webkit-sticky;position:sticky;top:0;z-index:50}.holdings-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}@media (min-width:1440px){.dash-main{max-width:1400px;padding:40px 48px}.stats-grid{gap:20px;margin-bottom:28px}.two-col{gap:28px}}@media (min-width:1800px){.dash-main{max-width:1600px;padding:48px 64px}}@media (max-width:1024px){.stats-grid,.two-col{grid-template-columns:1fr}}@media (max-width:768px){.sidebar{display:none}.dashboard-content{margin-left:0!important;padding-bottom:80px;overflow-x:hidden}.loading-container{height:160px!important}.loading-gif{height:120px!important}.mobile-tabs{position:fixed;bottom:0;left:0;right:0;z-index:100;background:linear-gradient(0deg,#fafafa,#f6f6f6);border-top:1px solid rgba(0,0,0,.06);box-shadow:0 -2px 12px rgba(0,0,0,.04);padding:6px 4px env(safe-area-inset-bottom,8px);justify-content:space-around;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.mobile-tab,.mobile-tabs{display:flex;align-items:center}.mobile-tab{flex-direction:column;gap:3px;padding:6px 4px;border-radius:8px;text-decoration:none;color:#999;font-size:10px;font-weight:500;transition:color .15s;min-width:0;flex:1 1}.mobile-tab span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56px;text-align:center}.mobile-tab-active{color:#b8860b;font-weight:600}.dash-header{padding:12px 16px;gap:8px}.dash-header .header-left{gap:8px}.dash-header .header-left img{height:32px!important}.dash-header .header-left .divider,.dash-header .header-left .label{display:none}.dash-header .header-right{gap:10px}.dash-header .header-right .user-info{display:none}.dash-main{padding:20px 14px}.dash-main .welcome-title{font-size:22px!important}.stats-grid{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.stat-card{padding:16px 14px!important}.stat-card .stat-value{font-size:20px!important}.stat-card .stat-sub{font-size:12px!important}.card-section{padding:16px 14px!important;border-radius:12px!important}.two-col{grid-template-columns:1fr;gap:16px}.chart-legend{display:none!important}.holdings-table{min-width:0!important}.invoice-card{padding:12px 14px!important}}@media (max-width:400px){.stats-grid{grid-template-columns:1fr}.dash-main .welcome-title{font-size:20px!important}.mobile-tab span{font-size:9px;max-width:48px}}