:root{--teal:#2f7373;--teal-dark:#275f5f;--blue:#2563eb;--ink:#0f172a;--body:#475569;--muted:#94a3b8;--line:#e6ebf0;--bg:#f5f7fa;--card:#fff;--shadow:0 18px 48px rgba(15,23,42,.07)}*{box-sizing:border-box}#__next,body,html{height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}.app{display:flex;min-height:100vh;align-items:flex-start}.sidebar{width:240px;height:100vh;position:-webkit-sticky;position:sticky;top:0;background:#071120;color:#cbd5e1;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid hsla(0,0%,100%,.06);overflow:hidden}.sidebarTop{padding:28px 22px 0}.sidebarMenuButton{width:40px;height:40px;border:1px solid hsla(0,0%,100%,.08);background:hsla(0,0%,100%,.045);color:#cbd5e1;border-radius:12px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;margin:0 0 28px}.sidebarMenuButton:hover{background:hsla(0,0%,100%,.08);color:#fff}.sidebarMenuButton span{width:15px;height:2px;border-radius:99px;background:currentColor;display:block}.sidebarBrand{gap:12px;margin-bottom:34px}.sidebarBrand,.sidebarLogoWrap{display:flex;align-items:center}.sidebarLogoWrap{width:48px;height:48px;border-radius:12px;justify-content:center;overflow:hidden;background:#fff;flex-shrink:0;box-shadow:0 12px 28px rgba(0,0,0,.22)}.sidebarLogo{max-width:36px;max-height:36px;width:36px;height:36px;display:block;object-fit:contain;flex-shrink:0}.sidebarBrandCopy{min-width:0;display:flex;flex-direction:column;justify-content:center}.sidebarBrandName{font-size:14px;line-height:1.1;font-weight:800;color:#fff;white-space:nowrap}.sidebarBrandSub{margin-top:5px;font-size:12px;line-height:1.2;font-weight:700;color:#67e8f9;white-space:nowrap}.sidebarSectionLabel{margin:0 0 10px;font-size:11px;line-height:1;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#718096}.sidebarNav{display:grid;grid-gap:4px;gap:4px}.sidebarNavItem{width:146px;min-height:46px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:10px;color:#9aa7b8;font-weight:650;font-size:13.5px;cursor:pointer;position:relative}.sidebarNavItem svg{color:#64748b;flex-shrink:0}.sidebarNavItem:hover{background:hsla(0,0%,100%,.055);color:#fff}.sidebarNavItem:hover svg{color:#bfdbfe}.sidebarNavItem.active{background:rgba(47,115,115,.24);color:#fff;box-shadow:inset 0 0 0 1px rgba(125,211,252,.12)}.sidebarNavItem.active:before{content:"";position:absolute;left:-10px;top:11px;bottom:11px;width:3px;border-radius:99px;background:#2dd4bf}.sidebarNavItem.active svg{color:#5eead4}.sidebarFooter{margin-top:auto;border-top:1px solid hsla(0,0%,100%,.08);padding:12px 22px 28px}.sidebarWorkspace{width:146px;color:#94a3b8;background:hsla(0,0%,100%,.05);border:1px solid hsla(0,0%,100%,.07);border-radius:10px;padding:10px 12px;font-size:12px;font-weight:700;margin-bottom:8px}.sidebarLogout{margin-bottom:0}.main{flex:1 1;min-width:0}.topbar{background:hsla(0,0%,100%,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:13px 24px;display:flex;align-items:center;justify-content:space-between;position:-webkit-sticky;position:sticky;top:0;z-index:10}.topbar h1{font-size:18px;margin:0;font-weight:800;color:#111827}.content{padding:22px 24px 30px;max-width:1480px}.sidebar-collapsed .sidebar{width:76px}.sidebar-collapsed .sidebarTop{padding-left:14px;padding-right:14px}.sidebar-collapsed .sidebarMenuButton{margin-left:0;align-self:center}.sidebar-collapsed .sidebarBrand{justify-content:center;margin-bottom:34px}.sidebar-collapsed .sidebarLogoWrap{width:48px;height:48px}.sidebar-collapsed .sidebarBrandCopy,.sidebar-collapsed .sidebarNavItem span,.sidebar-collapsed .sidebarSectionLabel,.sidebar-collapsed .sidebarWorkspace{display:none}.sidebar-collapsed .sidebarNavItem{width:48px;justify-content:center;padding:11px 0}.sidebar-collapsed .sidebarNavItem.active:before{left:-4px}.sidebar-collapsed .sidebarFooter{padding-top:10px;padding-left:14px;padding-right:14px}.grid{display:grid;grid-gap:16px;gap:16px}.kpis{grid-template-columns:repeat(4,1fr)}.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:18px;box-shadow:0 1px 2px rgba(15,23,42,.03)}.kpi .label{color:var(--body);font-size:13px;font-weight:600}.kpi .value{font-size:28px;font-weight:850;letter-spacing:-.5px;margin-top:4px}.kpi .value.accent{color:var(--teal)}.pipeline{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}.stage{background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px 14px;min-width:120px}.stage .n{font-size:22px;font-weight:800}.stage .s{font-size:12px;color:var(--muted);font-weight:600}.table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.table th{text-align:left;background:#fafcfc;color:var(--body);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:12px 14px;border-bottom:1px solid var(--line)}.table td{padding:13px 14px;border-bottom:1px solid #f1f5f9;font-size:14px}.table tr:last-child td{border-bottom:none}.table tr:hover td{background:#fafcfc}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700}.b-grey{background:#f1f5f9;color:#64748b}.b-blue{background:#e0f2fe;color:#0369a1}.b-teal{background:rgba(47,115,115,.12);color:var(--teal)}.b-amber{background:#fef3c7;color:#b45309}.b-green{background:#dcfce7;color:#15803d}.b-red{background:#fee2e2;color:#b91c1c}.btn{background:var(--teal);color:#fff;border:1px solid var(--teal);padding:10px 18px;border-radius:9px;font-weight:700;font-size:14px;cursor:pointer}.btn:hover{background:var(--teal-dark);border-color:var(--teal-dark)}.btn.ghost{background:#fff;color:var(--teal);border:1.5px solid #cbd5e1}.btn.ghost:hover{border-color:var(--teal);background:#f1f5f9}.btn:disabled{opacity:.55;cursor:default}.btn.sm{padding:7px 13px;font-size:13px}.inp{width:100%;border:1.5px solid #d8e0e8;border-radius:9px;padding:10px 12px;font-size:14px;font-family:inherit}.inp:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(47,115,115,.13)}select.inp{background:#fff}.overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);display:flex;align-items:center;justify-content:center;padding:18px;z-index:50}.modal{background:#fff;border-radius:16px;padding:24px;width:100%;max-width:460px;max-height:90vh;overflow:auto}.modal h3{margin:0 0 16px}.field{margin-bottom:12px}.field label{display:block;font-size:12.5px;font-weight:700;color:var(--body);margin-bottom:5px}.row{display:flex;gap:10px}.row>*{flex:1 1}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg)}.login-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;width:100%;max-width:380px}.login-card h2{margin:0 0 6px}.login-card p{color:var(--body);margin:0 0 20px;font-size:14px}.err{color:#b91c1c;font-size:13.5px;font-weight:600;margin-top:10px}.command-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-gap:16px;gap:16px;align-items:stretch;margin-bottom:16px}.action-center,.command-copy{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.command-copy{padding:18px 20px}.eyebrow{color:var(--teal);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.command-copy h2{margin:4px 0 5px;font-size:25px;line-height:1.15;letter-spacing:0}.command-copy p{margin:0;color:var(--body);max-width:760px;line-height:1.55;font-size:14px}.action-center{padding:15px 16px;display:flex;flex-direction:column;gap:7px}.action-top{display:flex;align-items:center;gap:8px;color:var(--body);font-size:12.5px;font-weight:800;text-transform:uppercase}.status-dot{width:8px;height:8px;border-radius:999px;display:inline-block;background:#f59e0b}.status-dot.ok{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}.status-dot.warn{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.14)}.action-center b{color:var(--ink);font-size:16px;line-height:1.35}.action-center p{color:var(--body);font-size:13px;line-height:1.45;margin:0}.setup-alert{margin-bottom:18px;border-color:#fbbf24;background:#fffbeb}.setup-alert div{color:#92400e;font-size:13.5px;margin-top:6px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:16px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;box-shadow:0 10px 28px rgba(15,23,42,.045)}.metric-card.accent{border-color:rgba(47,115,115,.32)}.metric-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.metric-card-top span{color:#64748b;font-size:12px;font-weight:700}.metric-icon{width:30px;height:30px;border-radius:9px;background:rgba(47,115,115,.1);position:relative}.metric-icon:after{content:"";position:absolute;inset:8px;border-radius:4px;border:2px solid var(--teal)}.metric-icon-exposure{background:rgba(37,99,235,.1)}.metric-icon-exposure:after{border-color:var(--blue);transform:rotate(45deg)}.metric-icon-recovery{background:rgba(20,184,166,.12)}.metric-icon-recovery:after{border-color:transparent #14b8a6 #14b8a6 transparent}.metric-icon-fees{background:rgba(15,23,42,.08)}.metric-icon-fees:after{border-color:#0f172a;border-radius:99px}.metric-label{color:var(--body);font-size:12.5px;font-weight:750}.metric-value{font-size:30px;font-weight:850;margin-top:3px;letter-spacing:0}.metric-context{color:#94a3b8;font-size:12.5px;margin-top:3px;line-height:1.35}.dashboard-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start}.dash-main,.dashboard-grid{display:grid;grid-gap:16px;gap:16px}.chart-split{display:grid;grid-template-columns:1.2fr .8fr;grid-gap:16px;gap:16px}.chart-card,.rail-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:0 10px 32px rgba(15,23,42,.045)}.chart-head,.rail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.chart-head h3,.rail-head h3{margin:0;font-size:16px;letter-spacing:0}.chart-head p{margin:3px 0 0;color:#94a3b8;font-size:12.5px}.rail-head button{background:transparent;border:0;color:var(--teal);font-weight:800;cursor:pointer}.funnel{display:grid;grid-gap:9px;gap:9px}.funnel-row{display:grid;grid-template-columns:148px minmax(0,1fr) 28px;grid-gap:12px;gap:12px;align-items:center;font-size:13px}.funnel-label{color:var(--body);font-weight:700;display:flex;align-items:center;gap:8px}.funnel-label span{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;background:#f1f5f9;color:#64748b;font-size:11px}.funnel-track{height:12px;background:#eef2f7;border-radius:999px;overflow:hidden}.funnel-track div{height:100%;border-radius:inherit;background:#2f7373}.funnel-row:nth-child(2) .funnel-track div{background:#2563eb}.funnel-row:nth-child(3) .funnel-track div{background:#14b8a6}.funnel-row:nth-child(4) .funnel-track div{background:#0891b2}.funnel-row:nth-child(5) .funnel-track div{background:#0d9488}.funnel-row:nth-child(6) .funnel-track div{background:#64748b}.funnel-row:nth-child(7) .funnel-track div{background:#16a34a}.trend-chart svg{width:100%;height:176px;display:block}.trend-chart .line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.trend-chart .claimed{stroke:#2563eb}.trend-chart .recovered{stroke:#14b8a6}.trend-chart text{fill:#94a3b8;font-size:10px;text-anchor:middle}.chart-legend{display:flex;align-items:center;gap:8px;color:#64748b;font-size:12px;font-weight:700}.chart-legend span{width:8px;height:8px;border-radius:99px;display:inline-block}.chart-legend .claimed{background:#2563eb}.chart-legend .recovered{background:#14b8a6}.fee-bars{display:grid;grid-gap:16px;gap:16px;padding-top:6px}.fee-bar-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--body);margin-bottom:6px}.fee-bar-row b{color:var(--ink)}.fee-track{height:11px;background:#eef2f7;border-radius:999px;overflow:hidden}.fee-track div{height:100%;border-radius:inherit;background:#2f7373}.fee-bar-row:nth-child(2) .fee-track div{background:#14b8a6}.fee-bar-row:nth-child(3) .fee-track div{background:#f59e0b}.status-chart{display:grid;grid-template-columns:180px minmax(0,1fr);grid-gap:18px;gap:18px;align-items:center}.status-donut{width:158px;height:158px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;margin:0 auto}.status-donut:after{content:"";position:absolute;inset:18px;background:#fff;border-radius:inherit}.status-donut b,.status-donut span{position:relative;z-index:1}.status-donut b{font-size:28px}.status-donut span{color:#94a3b8;font-size:12px;font-weight:800}.status-list{display:grid;grid-gap:8px;gap:8px}.status-row{display:grid;grid-template-columns:10px 1fr auto;grid-gap:9px;gap:9px;align-items:center;font-size:13px}.status-row span:nth-child(2){color:var(--body);font-weight:700}.status-swatch{width:9px;height:9px;border-radius:99px;background:#2f7373}.status-swatch.s1{background:#2563eb}.status-swatch.s2{background:#14b8a6}.status-swatch.s3{background:#f59e0b}.status-swatch.s4{background:#64748b}.status-swatch.s5{background:#16a34a}.dash-rail{display:grid;grid-gap:14px;gap:14px}.next-action-card{display:grid;grid-gap:8px;gap:8px}.next-action-card span{color:var(--teal);font-size:12px;font-weight:850;text-transform:uppercase}.next-action-card b{font-size:16px;line-height:1.35}.next-action-card p{color:var(--body);font-size:13px;line-height:1.5;margin:0}.summary-row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #f1f5f9;font-size:13.5px}.summary-row span{color:var(--body);font-weight:700}.summary-row b{color:var(--ink)}.summary-row b.highlight{color:var(--teal)}.activity-feed{display:grid;grid-gap:12px;gap:12px}.activity-item{display:grid;grid-template-columns:10px 1fr;grid-gap:10px;gap:10px}.activity-item>span{width:8px;height:8px;border-radius:99px;background:var(--teal);margin-top:6px}.activity-item b{display:block;font-size:13px}.activity-item p{margin:2px 0 0;color:#94a3b8;font-size:12px}.empty-feed,.muted-small{color:#94a3b8;font-size:13px;line-height:1.45}@media (max-width:920px){.chart-split,.command-hero,.dashboard-grid,.status-chart{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}