:root{--bg:#070b14;--surface:rgba(255,255,255,.035);--surface-2:rgba(255,255,255,.055);--border:rgba(255,255,255,.08);--border-strong:rgba(255,255,255,.14);--text:#e8eefb;--muted:#8b9ab1;--faint:#5d6b83;--accent:#5b8cff;--cyan:#22d3ee;--violet:#a855f7;--green:#34d399;--amber:#fbbf24;--red:#fb7185;--radius:18px;--shadow:0 20px 45px -22px rgba(0,0,0,.9)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(1100px 620px at 8% -12%,rgba(91,140,255,.2),transparent 62%),radial-gradient(900px 520px at 92% -6%,rgba(168,85,247,.16),transparent 60%),radial-gradient(900px 640px at 50% 112%,rgba(34,211,238,.1),transparent 62%),var(--bg);background-attachment:fixed;-webkit-font-smoothing:antialiased;overflow-x:hidden}button,input{font:inherit}.orb{position:fixed;z-index:0;pointer-events:none;border-radius:50%;filter:blur(90px);opacity:.27}.orb-a{width:420px;height:420px;top:-170px;left:-160px;background:#3b6bff}.orb-b{width:390px;height:390px;right:-190px;top:30%;background:#a855f7;opacity:.17}.orb-c{width:360px;height:360px;left:35%;bottom:-220px;background:#22d3ee;opacity:.14}.app-shell{position:relative;z-index:1;display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:25px 16px 15px;background:linear-gradient(180deg,rgba(12,18,32,.88),rgba(8,12,22,.76));border-right:1px solid var(--border);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 22px}.brand-mark{width:42px;height:42px;flex:none;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#5b8cff,#a855f7 55%,#22d3ee);box-shadow:0 10px 26px -8px rgba(91,140,255,.78);position:relative}.brand-mark:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(255,255,255,.5),transparent 55%);opacity:.35}.brand-mark svg{width:23px;height:23px;position:relative;z-index:1}.brand-copy{min-width:0}.brand-copy b{display:block;font-size:13.5px;letter-spacing:.15px}.brand-copy span{display:block;margin-top:3px;font-size:9.5px;letter-spacing:1.35px;text-transform:uppercase;color:var(--muted)}.icon-button{border:1px solid var(--border);background:rgba(255,255,255,.035);color:var(--muted);display:grid;place-items:center;cursor:pointer;transition:.2s}.icon-button:hover{color:#fff;background:rgba(255,255,255,.09);border-color:var(--border-strong)}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-close{display:none;margin-left:auto;width:32px;height:32px;border-radius:10px;font-size:22px}.module-nav{overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.13) transparent;padding:0 2px 15px}.nav-section{margin:13px 0 9px;padding:0 11px;color:#5d6b83;font-size:9px;font-weight:700;letter-spacing:1.55px;text-transform:uppercase}.nav-link{display:flex;align-items:center;gap:11px;min-height:39px;padding:8px 10px;margin:2px 0;border-radius:11px;color:var(--muted);font-size:12px;font-weight:500;text-decoration:none;position:relative;transition:.2s}.nav-link:hover{color:var(--text);background:rgba(255,255,255,.045)}.nav-link.active{color:#fff;background:linear-gradient(90deg,rgba(91,140,255,.22),rgba(91,140,255,.045));box-shadow:inset 0 0 0 1px rgba(91,140,255,.23)}.nav-link.active:before{content:"";position:absolute;left:-12px;top:50%;transform:translateY(-50%);width:3px;height:21px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#5b8cff,#22d3ee);box-shadow:0 0 12px rgba(91,140,255,.75)}.nav-icon{width:19px;height:19px;flex:none;display:grid;place-items:center;color:currentColor}.nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav-count{margin-left:auto;min-width:22px;text-align:center;padding:2px 6px;border-radius:20px;background:rgba(255,255,255,.06);color:#8292aa;font-size:9px}.sidebar-bottom{margin-top:auto}.source-card{padding:12px 12px 11px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.025)}.source-card-head{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.source-light{width:7px;height:7px;border-radius:50%;background:#738097;box-shadow:0 0 0 3px rgba(115,128,151,.12)}.source-card[data-state=connected] .source-light{background:var(--green);box-shadow:0 0 0 3px rgba(52,211,153,.12)}.source-card[data-state=error] .source-light{background:var(--red);box-shadow:0 0 0 3px rgba(251,113,133,.13)}.source-card>b{display:block;margin:9px 0 3px;font-size:11px;font-weight:600}.source-card small{color:#687791;font-size:9.5px}.sidebar-user{display:flex;align-items:center;gap:9px;padding:15px 5px 2px}.avatar,.top-avatar{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;font-size:10px;font-weight:700;color:#fff;background:linear-gradient(135deg,#5b8cff,#a855f7)}.sidebar-user-meta{min-width:0;flex:1}.sidebar-user-meta b{display:block;font-size:10.5px}.sidebar-user-meta span{display:block;margin-top:3px;font-size:9px;color:var(--muted)}.more{color:#61708a;font-size:12px;letter-spacing:1px}.main-panel{display:flex;flex-direction:column;min-width:0}.topbar{position:sticky;top:0;z-index:20;min-height:69px;display:flex;align-items:center;gap:18px;padding:12px 30px;background:rgba(7,11,20,.7);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}.menu-toggle{display:none;width:38px;height:38px;border-radius:11px}.crumb{display:flex;align-items:center;gap:9px;min-width:max-content;font-size:11px;color:#64738c}.crumb i{font-style:normal;color:#354158}.crumb b{font-weight:600;color:#c8d4e8}.global-search{position:relative;display:flex;align-items:center;gap:8px;height:39px;width:min(360px,35vw);margin-left:auto;padding:0 10px;border:1px solid var(--border);border-radius:11px;background:rgba(255,255,255,.035);color:#5d6b83}.global-search>svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.global-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:11px}.global-search input::placeholder{color:#64738c}.global-search kbd{padding:3px 5px;border-radius:5px;border:1px solid rgba(255,255,255,.08);font:9px Inter,sans-serif;color:#687791}.top-actions{display:flex;align-items:center;gap:12px}.notification{position:relative;width:37px;height:37px;border-radius:11px}.notification>span{position:absolute;right:9px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px #0a0f1b}.top-avatar{width:32px;height:32px}.content-area{flex:1;padding:27px 30px 26px;display:flex;flex-direction:column;gap:21px;min-width:0}.page-heading{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}.page-heading h1{margin:0;font-size:25px;font-weight:800;letter-spacing:-.65px;line-height:1.15;background:linear-gradient(90deg,#fff,#9fb6dd);-webkit-background-clip:text;background-clip:text;color:transparent}.page-heading p{margin:6px 0 0;color:var(--muted);font-size:11.5px;line-height:1.6}.heading-actions{margin-left:auto;display:flex;gap:9px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#8091ad;font-size:9px;font-weight:700;letter-spacing:1.25px;text-transform:uppercase}.eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--cyan);box-shadow:0 0 10px rgba(34,211,238,.75)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 13px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.045);color:var(--text);font-size:10.5px;font-weight:600;cursor:pointer;text-decoration:none;transition:.2s}.button:hover{background:rgba(255,255,255,.09);border-color:var(--border-strong);transform:translateY(-1px)}.button.primary{border-color:transparent;background:linear-gradient(135deg,#5b8cff,#7c5cff);box-shadow:0 10px 24px -13px rgba(91,140,255,.85)}.button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.grid{display:grid;gap:15px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card{min-width:0;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--shadow)}.metric-card{padding:16px 17px 14px}.metric-card:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(255,255,255,.055),transparent 52%);pointer-events:none}.metric-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.metric-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(91,140,255,.18);border-radius:10px;background:rgba(91,140,255,.09);color:#83a9ff}.metric-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.metric-value{margin-top:15px;font-size:25px;font-weight:750;letter-spacing:-.8px;color:#eef3ff}.metric-caption{margin-top:5px;color:#73829b;font-size:9.5px}.metric-caption .live-dot{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#526079;vertical-align:1px}.metric-caption .live-dot.live{background:var(--green);box-shadow:0 0 8px rgba(52,211,153,.7)}.overview-grid{grid-template-columns:minmax(0,1.4fr) minmax(270px,.9fr)}.section-card{padding:17px 18px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.card-title{margin:0;font-size:12px;font-weight:650}.card-subtitle{margin:5px 0 0;color:#73829b;font-size:9.5px;line-height:1.5}.card-tag{white-space:nowrap;padding:5px 8px;border:1px solid var(--border);border-radius:20px;color:#8190a9;font-size:8.5px}.scope-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.scope-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.018)}.scope-icon{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:9px;background:rgba(255,255,255,.045);color:#8ca8d9}.scope-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.scope-copy{min-width:0;flex:1}.scope-copy b{display:block;font-size:9.5px;font-weight:600}.scope-copy span{display:block;margin-top:3px;color:#687791;font-size:8px}.scope-count{color:#bbc8dd;font-size:10px;font-weight:650;white-space:nowrap}.table-card{padding:0}.table-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.table-wrap{overflow:auto;max-height:430px}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.data-table th{position:sticky;top:0;padding:10px 16px;background:#0d1422;color:#71819d;font-size:8.5px;font-weight:650;letter-spacing:.6px;text-transform:uppercase}.data-table td{padding:10px 16px;border-top:1px solid rgba(255,255,255,.045);color:#b5c2d6;font-size:9.5px}.data-table tr:hover td{background:rgba(255,255,255,.025)}.data-table td:last-child,.data-table th:last-child{text-align:right}.table-name{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#d9e4f7!important;font-size:9px!important}.schema-pill{padding:3px 6px;border:1px solid rgba(91,140,255,.16);border-radius:6px;color:#88a8f0;font-size:8px}.empty-state{padding:24px;color:#8796ae;font-size:10px;line-height:1.7}.notice{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid rgba(251,191,36,.17);border-radius:12px;background:rgba(251,191,36,.045);color:#b8a97c;font-size:9.5px;line-height:1.6}.notice-icon{width:17px;height:17px;flex:none;color:var(--amber)}.notice-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notice strong{color:#e5cc80;font-weight:650}.module-detail{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:15px}.detail-panel{padding:20px}.detail-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(91,140,255,.21);border-radius:14px;background:rgba(91,140,255,.1);color:#89a9ff}.detail-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.detail-panel h2{margin:14px 0 6px;font-size:15px}.detail-panel p{margin:0;color:#8998b0;font-size:10px;line-height:1.7}.detail-meta{display:grid;gap:8px;margin-top:18px}.detail-meta-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.055);font-size:9px}.detail-meta-row span{color:#75849d}.detail-meta-row b{color:#cbd6e9;font-weight:550;text-align:right}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid rgba(251,191,36,.2);border-radius:20px;background:rgba(251,191,36,.055);color:#d8bc66;font-size:8px}.status-pill:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--amber)}.empty-workspace{min-height:170px;display:grid;place-items:center;text-align:center;padding:25px}.empty-workspace .empty-symbol{width:39px;height:39px;margin:0 auto 10px;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.035);color:#7386a5}.empty-workspace .empty-symbol svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.empty-workspace b{display:block;color:#c5d1e5;font-size:10px}.empty-workspace p{max-width:350px;margin:6px auto 0;color:#73829b;font-size:9px;line-height:1.6}.inventory-list{display:grid;gap:8px}.inventory-item{display:flex;align-items:center;gap:9px;padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:10px;color:#b7c5db;font-size:9.5px}.inventory-item svg{width:14px;height:14px;flex:none;color:#72a0ff;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.inventory-item span{margin-left:auto;color:#71819a;font-size:8px}.page-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 30px 16px;border-top:1px solid rgba(255,255,255,.045);color:#56647b;font-size:8.5px}.loading-state{min-height:60vh;display:flex;align-items:center;justify-content:center;gap:10px;color:#8998b0;font-size:11px}.loader{width:17px;height:17px;border:2px solid rgba(255,255,255,.12);border-top-color:#78a0ff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-scrim{display:none}
@media(max-width:1150px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr)}.content-area{padding-left:22px;padding-right:22px}.topbar{padding-left:22px;padding-right:22px}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;width:275px;transform:translateX(-102%);transition:transform .25s ease;box-shadow:20px 0 50px rgba(0,0,0,.45)}.sidebar.open{transform:translateX(0)}.sidebar-close,.menu-toggle{display:grid}.mobile-scrim.open{display:block;position:fixed;inset:0;z-index:25;background:rgba(0,0,0,.56);backdrop-filter:blur(3px)}.topbar{gap:11px}.crumb{font-size:10px}.crumb>span{display:none}.global-search{width:min(330px,45vw)}.overview-grid,.module-detail{grid-template-columns:1fr}}
@media(max-width:560px){.topbar{min-height:60px;padding:10px 13px;gap:9px}.crumb{display:none}.global-search{width:auto;flex:1;margin-left:0;height:36px}.global-search kbd{display:none}.top-actions{gap:7px}.notification{width:34px;height:34px}.top-avatar{width:29px;height:29px}.content-area{padding:21px 13px 20px;gap:15px}.page-heading{align-items:flex-start}.page-heading h1{font-size:21px}.page-heading p{font-size:10px}.heading-actions{width:100%;margin:0}.metric-grid{gap:9px}.metric-card{padding:13px}.metric-value{font-size:22px}.metric-top{font-size:9px}.metric-icon{width:27px;height:27px}.scope-list{grid-template-columns:1fr}.section-card{padding:14px}.page-footer{padding:12px 13px;flex-direction:column}.table-head{padding:14px}.data-table th,.data-table td{padding:9px 11px}.detail-panel{padding:16px}}
