*{box-sizing:border-box}body{margin:0;background:#07101d;color:#dbe7f3;font:13px Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.login-screen{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 10%,#10283f 0,#07101d 48%,#040a12 100%)}.login-bg{position:absolute;inset:0;opacity:.35;background-image:linear-gradient(#1b3850 1px,transparent 1px),linear-gradient(90deg,#1b3850 1px,transparent 1px);background-size:55px 55px;mask-image:linear-gradient(to bottom,#000,transparent 85%)}.login-card{position:relative;width:min(430px,calc(100% - 32px));padding:34px;background:rgba(9,20,34,.92);border:1px solid #233b52;border-radius:18px;box-shadow:0 30px 100px #0008;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:10px;padding:20px 18px}.brand.big{padding:0 0 30px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:linear-gradient(135deg,#1ed3a0,#1475ff);font-weight:900;color:#fff;box-shadow:0 0 25px #16cfa455}.brand b{display:block;letter-spacing:2px;color:#fff}.brand small{display:block;color:#6f879e;font-size:9px;letter-spacing:1.4px;margin-top:2px}.login-title{font-size:25px;font-weight:800;color:#fff}.login-sub{color:#7890a7;line-height:1.6;margin:8px 0 26px}.login-card label{display:block;color:#90a7bc;font-size:11px;text-transform:uppercase;letter-spacing:1px;margin:15px 0}.login-card input{display:block;width:100%;margin-top:7px;padding:13px 14px;border-radius:9px;border:1px solid #263f55;background:#071522;color:#fff;outline:none}.login-card input:focus{border-color:#20c99d;box-shadow:0 0 0 3px #20c99d18}.login-btn{width:100%;border:0;border-radius:9px;padding:14px;background:linear-gradient(90deg,#16b889,#1689d8);color:#fff;font-weight:800;margin-top:12px;display:flex;justify-content:space-between}.login-error{min-height:20px;color:#ff7f7f;text-align:center;margin-top:12px}.login-foot{margin-top:24px;color:#60778e;text-align:center;font-size:11px}.login-foot span{color:#20c99d}
.app{display:flex;min-height:100vh}.sidebar{width:252px;background:#081320;border-right:1px solid #182b3d;position:fixed;inset:0 auto 0 0;z-index:10;display:flex;flex-direction:column}.nav-scroll{overflow:auto;padding:5px 12px 15px}.nav-section{font-size:9px;color:#4d657c;letter-spacing:1.5px;font-weight:800;padding:17px 10px 7px}.nav-item{width:100%;display:flex;align-items:center;gap:10px;border:0;background:none;color:#7890a6;text-align:left;padding:10px 11px;border-radius:7px;margin:2px 0}.nav-item i{font-style:normal;width:18px;text-align:center;color:#66829b}.nav-item:hover{background:#102235;color:#dceaf6}.nav-item.active{background:linear-gradient(90deg,#10352f,#102537);color:#fff;box-shadow:inset 2px 0 #20c99d}.nav-item.active i{color:#20c99d}.side-foot{margin-top:auto;border-top:1px solid #182b3d;padding:14px 18px;display:flex;gap:10px;align-items:center}.side-foot small{display:block;color:#5f7890;font-size:10px;margin-top:2px}.collector-dot{width:8px;height:8px;background:#20c99d;border-radius:50%;box-shadow:0 0 10px #20c99d}.main{margin-left:252px;width:calc(100% - 252px)}.topbar{height:64px;border-bottom:1px solid #182b3d;background:#091522eF;backdrop-filter:blur(10px);display:flex;align-items:center;padding:0 24px;position:sticky;top:0;z-index:8}.breadcrumbs{display:flex;gap:10px;align-items:center}.breadcrumbs span{font-size:10px;color:#557087;letter-spacing:1.5px}.breadcrumbs b{color:#30475c}.breadcrumbs strong{color:#fff}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.live{font-size:10px;font-weight:800;color:#20c99d;display:flex;gap:6px;align-items:center}.live span{width:6px;height:6px;border-radius:50%;background:#20c99d;box-shadow:0 0 8px #20c99d}.icon-btn,.btn{background:#0d1c2b;border:1px solid #22394e;color:#8ea5b9;border-radius:7px;padding:8px 10px}.icon-btn:hover,.btn:hover{border-color:#31536d;color:#fff}.notification{position:relative}.notification em{position:absolute;top:-5px;right:-5px;background:#ef6262;color:white;border-radius:10px;font-size:8px;padding:2px 5px;font-style:normal}.user-chip{position:relative;display:flex;gap:8px;align-items:center;padding:5px 8px;border:1px solid transparent;border-radius:9px;cursor:pointer}.user-chip:hover{background:#0e1e2e;border-color:#20384d}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#17334a;color:#72b7ed;font-size:10px;font-weight:800}.user-chip b{display:block;color:#dbe7f3;font-size:11px}.user-chip small{display:block;color:#607991;font-size:9px}.user-menu{position:absolute;right:0;top:45px;width:160px;background:#0b1826;border:1px solid #263e53;border-radius:9px;box-shadow:0 20px 50px #0009;padding:6px;display:none}.user-menu.show{display:block}.user-menu button{width:100%;border:0;background:none;color:#9ab0c3;text-align:left;padding:9px;border-radius:6px}.user-menu button:hover{background:#132638;color:#fff}.mobile-menu{display:none}.content{padding:24px;max-width:1800px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.eyebrow{font-size:9px;color:#20c99d;letter-spacing:1.6px;font-weight:800}.page-head h1{margin:5px 0 5px;font-size:25px;color:#fff}.sub{color:#688198}.actions{display:flex;gap:8px}.primary{background:#16a982;border-color:#16a982;color:#fff}.grid{display:grid;gap:14px}.stats{grid-template-columns:repeat(6,1fr)}.two{grid-template-columns:2fr 1fr}.three{grid-template-columns:repeat(3,1fr)}.stat,.card{background:#0a1725;border:1px solid #1a3043;border-radius:10px}.stat{padding:17px}.stat-label{font-size:10px;color:#668096;text-transform:uppercase;letter-spacing:1px}.stat-value{font-size:26px;font-weight:800;color:#fff;margin:8px 0}.stat-meta{font-size:10px}.up{color:#20c99d!important}.down{color:#ff6e78!important}.warn{color:#f2b45c!important}.card{overflow:hidden}.card-head{min-height:50px;padding:13px 15px;border-bottom:1px solid #182d40;display:flex;align-items:center;justify-content:space-between}.card-head h3{font-size:10px;letter-spacing:1px;margin:0;color:#b9c9d7}.card-head small{font-size:10px;color:#597188}.card-body{padding:15px}.chart svg{width:100%;height:240px}.gridline{stroke:#1c3244;stroke-width:1}.chart-fill{fill:url(#fill);opacity:.16}.chart-path{fill:none;stroke:#20c99d;stroke-width:3}.chart-dot{fill:#20c99d}.chart-label{fill:#536d83;font-size:10px;text-anchor:middle}.ring{margin:10px auto 18px;width:160px;height:160px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#20c99d 0 98.2%,#f2b45c 98.2% 99%,#294052 99%);position:relative}.ring:after{content:"";position:absolute;width:124px;height:124px;background:#0a1725;border-radius:50%}.ring strong{position:relative;z-index:1;font-size:25px;color:#fff}.legend{display:flex;justify-content:center;gap:14px;color:#6c8297;font-size:10px}.legend .i{color:#f2b45c}.legend .u{color:#8294a6}.event{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #14283a}.event:last-child{border-bottom:0}.event-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#11283a;color:#20c99d}.event b{font-size:11px;color:#dce8f1;margin-right:7px}.event small{display:block;color:#5e768c;font-size:10px;margin-top:3px}.pill{display:inline-block;border:1px solid #294155;background:#112638;color:#91a6b8;padding:3px 6px;border-radius:12px;font-size:9px;text-transform:uppercase}.pill.up,.pill.valid{color:#20c99d;border-color:#1a5a4b;background:#0d2a27}.pill.down,.pill.critical,.pill.invalid{color:#ff6e78;border-color:#5b2930;background:#2a1319}.pill.warning,.pill.warn{color:#f2b45c;border-color:#5a4526;background:#2b2111}.pill.info{color:#6db5ed}.progress-row{margin:13px 0}.progress-row .top{display:flex;justify-content:space-between;color:#7890a5;font-size:10px;margin-bottom:6px}.bar{height:5px;background:#15293a;border-radius:5px;overflow:hidden}.bar span{display:block;height:100%;background:#20c99d;border-radius:5px}.metric-row{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #14283a;color:#7d94a8}.metric-row b{color:#dce7f1}.topology{padding:8px}.topology svg{width:100%;min-height:300px}.link{stroke:#254057;stroke-width:2}.link-live{stroke:#20c99d;stroke-width:2;stroke-dasharray:7 7}.node{fill:#102638;stroke:#20c99d;stroke-width:2}.node-down{stroke:#ff6e78}.node-label{fill:#a9bdcd;font-size:12px;text-anchor:middle}.filterbar{display:flex;gap:8px;margin-bottom:12px}.filterbar input,.filterbar select,.field input,.field select,.field textarea{background:#071521;border:1px solid #20384d;color:#dbe7f3;border-radius:7px;padding:10px;outline:0}.filterbar input{flex:1}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:750px}th{font-size:9px;color:#5e778d;text-align:left;text-transform:uppercase;letter-spacing:1px;background:#091522;padding:12px;border-bottom:1px solid #1b3043}td{padding:12px;border-bottom:1px solid #14283a;color:#a5b7c6;font-size:11px}tr:hover td{background:#0c1b2a}.row-actions{display:flex;gap:5px}.row-actions button{font-size:9px;padding:5px 7px;background:#0c1b2a;border:1px solid #20394e;color:#7d95a9;border-radius:5px}.row-actions button:hover{color:#fff;border-color:#41647f}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mini{padding:13px;background:#0c1b2a;border:1px solid #1a3144;border-radius:8px}.mini small{display:block;color:#587087;font-size:9px}.mini b{display:block;margin-top:6px;color:#fff}.code{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;background:#06111c;border:1px solid #172d40;border-radius:7px;padding:13px;color:#8eb0c8;line-height:1.7}.modal{position:fixed;inset:0;background:#0009;display:grid;place-items:center;z-index:50;padding:20px}.modal-box{width:min(650px,100%);max-height:90vh;overflow:auto;background:#0a1725;border:1px solid #29445b;border-radius:12px;box-shadow:0 30px 100px #000c}.modal-head{display:flex;justify-content:space-between;padding:17px;border-bottom:1px solid #1b3043}.modal-head small{font-size:9px;color:#20c99d;letter-spacing:1px}.modal-head h2{margin:4px 0 0;color:#fff;font-size:19px}.modal-head button{border:0;background:none;color:#7891a7;font-size:25px}.form-grid{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.field label{display:block;color:#7e95a9;font-size:10px;text-transform:uppercase;margin-bottom:6px}.field input,.field select,.field textarea{width:100%}.field textarea{min-height:100px;resize:vertical}.full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;border-top:1px solid #1b3043}.toast{position:fixed;right:22px;bottom:22px;background:#102536;border:1px solid #2a4a62;color:#dceaf4;padding:11px 15px;border-radius:8px;opacity:0;transform:translateY(10px);transition:.2s;z-index:100}.toast.show{opacity:1;transform:none}
@media(max-width:1100px){.stats{grid-template-columns:repeat(3,1fr)}.two,.three{grid-template-columns:1fr}.sidebar{width:225px}.main{margin-left:225px;width:calc(100% - 225px)}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.main{margin-left:0;width:100%}.mobile-menu{display:block;background:none;border:0;color:#9bb0c1;font-size:22px;margin-right:10px}.topbar{padding:0 12px}.user-chip>div:not(.user-menu){display:none}.content{padding:15px}.stats{grid-template-columns:1fr 1fr}.page-head{flex-direction:column}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}}

/* ======================= V3 INTELLIGENCE UI ======================= */
.intel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;margin:14px 0;background:linear-gradient(135deg,rgba(20,35,55,.9),rgba(11,20,33,.9));border:1px solid #1e334a;border-radius:12px}.intel-toolbar b{display:block;color:#d9e8f5;font-size:12px;letter-spacing:.12em}.intel-toolbar span{display:block;color:#678198;font-size:11px;margin-top:4px}.asn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.asn-card,.provider-card{background:linear-gradient(180deg,#101d2d,#0b1522);border:1px solid #1d3248;border-radius:14px;box-shadow:0 12px 28px rgba(0,0,0,.18)}.asn-card{padding:16px}.asn-card-head{display:flex;align-items:center;gap:12px}.asn-logo{width:48px;height:48px;border-radius:12px;box-shadow:0 5px 15px rgba(0,0,0,.25)}.asn-name{color:#eef7ff;font-weight:800;font-size:13px;line-height:1.25}.asn-code{color:#6f8ba2;font-size:11px;margin-top:4px}.live-dot{width:9px;height:9px;margin-left:auto;border-radius:50%;background:#20c99d;box-shadow:0 0 0 4px rgba(32,201,157,.1),0 0 16px rgba(32,201,157,.5)}.live-dot.bad{background:#ff5571;box-shadow:0 0 0 4px rgba(255,85,113,.1)}.asn-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:16px 0}.asn-metrics>div,.provider-metric{background:#0a1420;border:1px solid #172a3e;border-radius:9px;padding:10px}.asn-metrics small,.provider-metric small{display:block;color:#587087;font-size:9px;letter-spacing:.12em}.asn-metrics b,.provider-metric b{display:block;color:#dbeaf5;font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asn-actions{display:flex;gap:7px;flex-wrap:wrap}.btn.danger{color:#ff8092;border-color:#5a2632}.btn.danger:hover{background:#32151d}.empty-intel{grid-column:1/-1;text-align:center;padding:70px 20px;border:1px dashed #29445e;border-radius:14px;background:rgba(10,20,32,.55)}.empty-icon{width:50px;height:50px;display:grid;place-items:center;margin:0 auto 12px;border-radius:14px;background:#15304a;color:#73c9ff;font-weight:900;font-size:20px}.empty-intel h3{color:#eaf5ff;margin:0 0 7px}.empty-intel p{color:#617b92;font-size:12px}.hint-box{padding:12px;border:1px solid #1b3850;background:#0a1827;border-radius:9px;color:#7390a8;font-size:11px;line-height:1.6}.traffic-bars{padding:17px}.traffic-bar-row{margin-bottom:15px}.tb-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-end}.tb-top span{min-width:0}.tb-top b{display:block;color:#dbeaf5;font-size:12px}.tb-top small{display:block;color:#617b92;font-size:10px;margin-top:3px}.tb-top strong{color:#52d8b0;font-size:12px;white-space:nowrap}.tb-track{height:7px;background:#0a1420;border:1px solid #172b3f;border-radius:99px;overflow:hidden;margin-top:7px}.tb-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#2e88ff,#25d5aa);box-shadow:0 0 12px rgba(37,213,170,.22)}.event-filter{display:flex;gap:7px;margin-bottom:12px}.event-filter .btn.active{background:#143451;border-color:#2d6e9f;color:#bfe4ff}.prepend-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:99px;background:#3a2410;color:#ffc56a;border:1px solid #6b4317;font-size:10px;font-weight:800}.provider-card{display:grid;grid-template-columns:44px 1fr 100px 90px;align-items:center;gap:12px;padding:13px}.provider-icon{width:42px;height:42px;border-radius:11px;background:#18334d;color:#76c9ff;display:grid;place-items:center;font-size:11px;font-weight:900}.provider-main b{display:block;color:#eaf5ff;font-size:13px}.provider-main small{display:block;color:#627c93;font-size:10px;margin-top:4px}.route-health{display:flex;align-items:center;gap:8px;margin-top:15px;padding:10px 12px;border-radius:9px;background:#0a1724;border:1px solid #173149}.route-health span{width:8px;height:8px;border-radius:50%;background:#20c99d;box-shadow:0 0 10px #20c99d}.route-health b{font-size:11px;color:#b9cede}.route-health small{color:#5f7890;font-size:10px}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;color:#a9c1d3;font-size:11px}.source-list{display:flex;flex-wrap:wrap;gap:8px}.source-list span{padding:7px 10px;background:#0b1826;border:1px solid #1a3045;border-radius:8px;color:#7ea0b9;font-size:10px}.metric-row small{display:block;color:#5f7890;font-size:9px;margin-top:3px}.metric-row strong{color:#53dcb3}.prefix-detail h4{font-size:10px;letter-spacing:.12em;color:#6f899f;margin:18px 0 9px}.prefix-detail .event{border-bottom:1px solid #172b3f;padding:9px 0}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.status,.pill.announcement{color:#4fd6b0}.pill.withdrawal{color:#ff7e94}.pill.up{color:#4fd6b0}.pill.down{color:#ff6f86}.pill.valid{color:#4fd6b0}.pill.invalid,.pill.invalid_asn,.pill.invalid_length{color:#ff6f86}.pill.unknown{color:#d1a867}
@media(max-width:900px){.provider-card{grid-template-columns:42px 1fr 90px}.provider-card .provider-metric:last-child{display:none}.feature-list{grid-template-columns:1fr}.asn-metrics{grid-template-columns:1fr 1fr}.asn-metrics>div:last-child{grid-column:1/-1}}

/* ======================= V4 VISUAL SYSTEM ======================= */
.family-v4,.family-v6{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.04em}.family-v4{color:#72c7ff;background:#102c45;border:1px solid #214d70}.family-v6{color:#b69cff;background:#2a1b48;border:1px solid #563a87}.danger-mini{color:#ff8192!important;border-color:#642735!important}.provider-icon-img{width:42px;height:42px;border-radius:11px;box-shadow:0 5px 14px rgba(0,0,0,.2)}
.map-toolbar{display:flex;gap:10px;margin:0 0 14px}.map-toolbar>div{min-width:150px;padding:12px 14px;border:1px solid #1c3349;border-radius:10px;background:#0b1928}.map-toolbar b{display:block;color:#fff;font-size:16px}.map-toolbar span{display:block;color:#678198;font-size:9px;margin-top:3px;text-transform:uppercase;letter-spacing:.1em}.network-map{position:relative;min-height:660px;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(22,67,88,.28),transparent 32%),linear-gradient(180deg,#091725,#07111d)}.network-map:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(46,91,120,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(46,91,120,.09) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at center,#000,transparent 78%)}.map-center{position:absolute;left:50%;top:12%;transform:translate(-50%,-50%);z-index:4;text-align:center}.center-ring{width:94px;height:94px;border-radius:50%;display:grid;place-items:center;margin:auto;background:radial-gradient(circle,#1b4054,#0b1b2a);border:2px solid #25d3aa;box-shadow:0 0 0 10px rgba(37,211,170,.06),0 0 45px rgba(37,211,170,.18);color:#fff;font-weight:900}.map-center b{display:block;margin-top:8px;color:#dcebf5;font-size:10px;letter-spacing:.1em}.map-center small{display:block;color:#5d778e;font-size:9px;margin-top:3px}.map-node{position:absolute;z-index:5;transform:translate(-50%,-50%);width:138px;min-height:84px;border:1px solid #25445d;border-radius:12px;background:linear-gradient(180deg,#102335,#0a1724);color:#dcebf5;padding:9px 8px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;box-shadow:0 12px 25px rgba(0,0,0,.22);transition:.18s}.map-node:hover{border-color:#2bd8b0;transform:translate(-50%,-50%) scale(1.05);box-shadow:0 0 0 1px #2bd8b044,0 15px 38px rgba(0,0,0,.38);z-index:20}.map-node img{width:34px;height:34px;border-radius:9px;grid-row:1/3}.map-node span{font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.map-node small{font-size:8px;color:#648198;text-align:left}.map-node:after{content:attr(data-tip);white-space:pre-line;position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%) translateY(5px);width:250px;opacity:0;pointer-events:none;background:#07121e;border:1px solid #2b4d68;color:#cfe1ee;border-radius:9px;padding:10px;text-align:left;font-size:10px;line-height:1.55;box-shadow:0 15px 40px rgba(0,0,0,.45);transition:.15s}.map-node:hover:after{opacity:1;transform:translateX(-50%) translateY(0)}.map-lines{position:absolute;inset:0;z-index:1}.map-line{position:absolute;height:1px;background:linear-gradient(90deg,#25d3aa55,#2a6b8c);transform-origin:left center;box-shadow:0 0 8px #25d3aa22}.map-line:after{content:"";position:absolute;right:0;top:-2px;width:5px;height:5px;border-radius:50%;background:#25d3aa;box-shadow:0 0 10px #25d3aa}
.light-theme{background:#f4f7fb;color:#243447}.light-theme .sidebar{background:#fff;border-color:#dbe4ee}.light-theme .topbar{background:#ffffffeb;border-color:#dbe4ee}.light-theme .nav-item{color:#64758a}.light-theme .nav-item:hover{background:#eef5fb;color:#1d3449}.light-theme .nav-item.active{background:#e7f7f2;color:#12352e}.light-theme .brand b,.light-theme .page-head h1,.light-theme .stat-value,.light-theme .asn-name,.light-theme .provider-main b{color:#16283a}.light-theme .brand small,.light-theme .sub,.light-theme .stat-label,.light-theme .stat-meta,.light-theme .asn-code,.light-theme .provider-main small{color:#71849a}.light-theme .card,.light-theme .stat,.light-theme .asn-card,.light-theme .provider-card,.light-theme .intel-toolbar,.light-theme .map-toolbar>div{background:#fff;border-color:#dbe5ef;box-shadow:0 8px 22px rgba(36,59,83,.07)}.light-theme .card-head{border-color:#e2e9f0}.light-theme th{background:#f4f7fa;color:#708196;border-color:#dfe7ef}.light-theme td{color:#465b70;border-color:#e7edf3}.light-theme tr:hover td{background:#f5f9fc}.light-theme .filterbar input,.light-theme .filterbar select,.light-theme .field input,.light-theme .field select,.light-theme .field textarea{background:#fff;color:#243447;border-color:#cdd9e5}.light-theme .btn,.light-theme .icon-btn{background:#fff;color:#60758a;border-color:#cad8e5}.light-theme .btn:hover,.light-theme .icon-btn:hover{color:#16324a;background:#f2f7fb}.light-theme .modal-box{background:#fff;border-color:#cddae7}.light-theme .modal-head{border-color:#e2e9f0}.light-theme .modal-head h2{color:#1c3043}.light-theme .code{background:#f5f8fb;color:#49647b;border-color:#dbe5ef}.light-theme .mini{background:#f6f9fc;border-color:#dbe5ef}.light-theme .mini b{color:#1c3449}.light-theme .hint-box{background:#f3f8fc;border-color:#d5e2ed;color:#60778d}.light-theme .network-map{background:radial-gradient(circle at 50% 50%,#e6f4f5,transparent 32%),linear-gradient(180deg,#f7fbfd,#eef4f8);border-color:#d8e3ec}.light-theme .network-map:before{background-image:linear-gradient(rgba(78,121,149,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(78,121,149,.09) 1px,transparent 1px)}.light-theme .map-node{background:#fff;border-color:#c9d8e5;color:#23384b;box-shadow:0 10px 24px rgba(37,62,86,.12)}.light-theme .map-node:hover{border-color:#17a982}.light-theme .map-node:after{background:#fff;color:#334d62;border-color:#b9ccdb}.light-theme .map-center b{color:#274158}.light-theme .center-ring{background:radial-gradient(circle,#e8f7f5,#fff);color:#1b4250}.light-theme .map-toolbar>div{background:#fff}.light-theme .traffic-bars{background:transparent}.light-theme .tb-track{background:#edf3f7;border-color:#d8e3eb}.light-theme .event{border-color:#e5edf3}.light-theme .metric-row{border-color:#e5edf3}.light-theme .metric-row b{color:#2b4054}
@media(max-width:900px){.map-toolbar{overflow:auto}.map-toolbar>div{min-width:120px}.network-map{min-height:820px}.map-node{width:125px}.map-node:nth-of-type(4n){display:none}}

.password-wrap{display:flex;gap:8px;align-items:stretch}.password-wrap input{flex:1;min-width:0}.password-toggle{border:1px solid var(--border,#243447);background:var(--panel,#0b1724);color:var(--text,#dce8f2);border-radius:10px;padding:0 13px;cursor:pointer}.check{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer}.check input{width:18px;height:18px;accent-color:#20c99d}

/* ================= V5.2 LIGHT / COMPONENT POLISH ================= */
.field-help{display:block;margin-top:5px;color:#70859a;font-size:10px;line-height:1.4}
.light-theme{background:#f1f5f9;color:#24364a}
.light-theme .main{background:linear-gradient(180deg,#f7fafc 0,#eef3f7 100%);min-height:100vh}
.light-theme .sidebar{background:linear-gradient(180deg,#ffffff,#f7fafc);box-shadow:4px 0 22px rgba(30,55,80,.05)}
.light-theme .brand{border-bottom:1px solid #edf1f5}
.light-theme .brand b{color:#142a3d!important}
.light-theme .brand small{color:#8192a3!important}
.light-theme .nav-section{color:#8b9bad}
.light-theme .nav-item{color:#60758a}
.light-theme .nav-item i{color:#8ba0b2}
.light-theme .nav-item:hover{background:#eef5fb;color:#18354c}
.light-theme .nav-item.active{background:linear-gradient(90deg,#e4f8f1,#edf6fb);color:#14384a;box-shadow:inset 3px 0 #12b98c,0 2px 8px rgba(31,100,113,.05)}
.light-theme .nav-item.active i{color:#0aa981}
.light-theme .side-foot{border-color:#e5ebf1;background:#fbfdfe}
.light-theme .side-foot b{color:#30495e}
.light-theme .side-foot small{color:#8091a2}
.light-theme .topbar{background:rgba(255,255,255,.92);box-shadow:0 1px 0 #e2e9ef,0 5px 18px rgba(40,62,82,.04)}
.light-theme .breadcrumbs span{color:#7f91a2}
.light-theme .breadcrumbs b{color:#b4c0cb}
.light-theme .breadcrumbs strong{color:#20384e}
.light-theme .live{color:#0b9e7a}
.light-theme .live span{background:#10b98b;box-shadow:0 0 8px rgba(16,185,139,.35)}
.light-theme .user-chip:hover{background:#f2f7fb;border-color:#dce6ee}
.light-theme .user-chip b{color:#20374c}
.light-theme .user-chip small{color:#7b8da0}
.light-theme .avatar{background:linear-gradient(135deg,#e7f3fb,#dff6ef);color:#22617b;border:1px solid #d3e3ec}
.light-theme .user-menu{background:#fff;border-color:#d5e0e9;box-shadow:0 18px 45px rgba(32,52,72,.15)}
.light-theme .user-menu button{color:#526a7f}
.light-theme .user-menu button:hover{background:#eef5f9;color:#17364c}
.light-theme .page-head h1{color:#152b40!important}
.light-theme .eyebrow{color:#08a27e}
.light-theme .sub{color:#71859a!important}
.light-theme .actions .btn{box-shadow:0 2px 7px rgba(42,68,90,.05)}
.light-theme .primary{background:linear-gradient(135deg,#13b68a,#119f86);border-color:#0eaa82;color:#fff;box-shadow:0 5px 14px rgba(17,159,134,.18)}
.light-theme .btn,.light-theme .icon-btn{background:#fff;color:#50677c;border-color:#cbd9e5}
.light-theme .btn:hover,.light-theme .icon-btn:hover{background:#f4f8fb;border-color:#9db4c5;color:#17364d}
.light-theme .stat,.light-theme .card,.light-theme .asn-card,.light-theme .provider-card,.light-theme .intel-toolbar{background:linear-gradient(145deg,#fff,#f9fbfd);border-color:#d8e2ea;box-shadow:0 8px 24px rgba(37,60,82,.065)}
.light-theme .stat{position:relative;overflow:hidden}
.light-theme .stat:after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#b9c9d6}
.light-theme .stat:nth-child(1):after{background:#18b890}.light-theme .stat:nth-child(2):after{background:#4388e8}.light-theme .stat:nth-child(3):after{background:#7a6de0}.light-theme .stat:nth-child(4):after{background:#e36a78}.light-theme .stat:nth-child(5):after{background:#e1a63f}.light-theme .stat:nth-child(6):after{background:#39a6a2}
.light-theme .stat-label{color:#71869a!important}
.light-theme .stat-value{color:#142c41!important}
.light-theme .stat-meta{color:#8193a4!important}
.light-theme .stat-meta.up{color:#0b9d78!important}.light-theme .stat-meta.down{color:#d84f62!important}.light-theme .stat-meta.warn{color:#bb7b18!important}
.light-theme .card-head{background:linear-gradient(180deg,#fff,#fbfcfd);border-color:#e2e8ee}
.light-theme .card-head h3{color:#40596e}
.light-theme .card-head small{color:#8293a4}
.light-theme .card-body{color:#50667a}
.light-theme .metric-row{color:#5f7488;border-color:#e7edf2}
.light-theme .metric-row b{color:#233d53!important}
.light-theme .event{border-color:#e5ecf2}
.light-theme .event b{color:#29445a}
.light-theme .event small{color:#8192a2}
.light-theme .event-icon{background:#edf7f5;color:#0a9e7b;border:1px solid #d4eee7}
.light-theme .filterbar input,.light-theme .filterbar select,.light-theme .field input,.light-theme .field select,.light-theme .field textarea{background:#fff;color:#253b50;border-color:#cbd9e5;box-shadow:inset 0 1px 2px rgba(30,55,80,.025)}
.light-theme .filterbar input:focus,.light-theme .filterbar select:focus,.light-theme .field input:focus,.light-theme .field select:focus,.light-theme .field textarea:focus{border-color:#63b7a4;box-shadow:0 0 0 3px rgba(18,185,140,.1)}
.light-theme .filterbar input::placeholder,.light-theme .field input::placeholder{color:#a0adba}
.light-theme table{background:#fff}
.light-theme th{background:linear-gradient(180deg,#f6f9fb,#eef3f7);color:#6b8094;border-color:#dce5ec}
.light-theme td{color:#4a6074;border-color:#e7edf2}
.light-theme td b{color:#29445a}
.light-theme tr:nth-child(even) td{background:#fbfcfd}
.light-theme tr:hover td{background:#eef7fb}
.light-theme .row-actions button{background:#fff;color:#557086;border-color:#cad9e5}
.light-theme .row-actions button:hover{background:#edf5fa;color:#1d4158;border-color:#94afc1}
.light-theme .danger-mini{color:#d95367!important;border-color:#e2aeb8!important;background:#fff7f8!important}
.light-theme .pill{background:#f2f6f9;border-color:#ccd9e4;color:#5d7387}
.light-theme .pill.up,.light-theme .pill.valid{background:#e9f8f3;border-color:#bfe8db;color:#078e6e}
.light-theme .pill.down,.light-theme .pill.critical,.light-theme .pill.invalid{background:#fff0f2;border-color:#efc4ca;color:#c94559}
.light-theme .pill.warning,.light-theme .pill.warn{background:#fff7e8;border-color:#ecd8aa;color:#a36c16}
.light-theme .pill.info{background:#edf5ff;border-color:#c7dbf2;color:#3575af}
.light-theme .mini{background:#f7fafc;border-color:#dbe5ed}
.light-theme .mini small{color:#7b8e9f}
.light-theme .mini b{color:#203b52}
.light-theme .code{background:#f5f8fb;color:#46647b;border-color:#d7e2ea}
.light-theme .hint-box{background:linear-gradient(135deg,#f0f8fb,#f5fbfa);border-color:#cfe1e8;color:#60778b}
.light-theme .asn-card{border-top:3px solid #1ab990}.light-theme .asn-card:nth-child(3n+2){border-top-color:#568fe5}.light-theme .asn-card:nth-child(3n){border-top-color:#8a72dc}
.light-theme .asn-metrics>div{background:#f6f9fb;border-color:#dbe5ed}
.light-theme .asn-metrics small,.light-theme .provider-metric small{color:#7b8e9f}
.light-theme .asn-metrics b,.light-theme .provider-metric b{color:#263f55}
.light-theme .provider-card{border-top:3px solid #16b38a}.light-theme .provider-card:nth-child(3n+2){border-top-color:#4b8fe9}.light-theme .provider-card:nth-child(3n){border-top-color:#9a72dc}
.light-theme .provider-icon-img,.light-theme .provider-icon{background:#eef5fa}
.light-theme .provider-main b{color:#1c354a!important}
.light-theme .provider-main small{color:#7890a2!important}
.light-theme .provider-metric{background:#f6f9fc;border-color:#dce6ed}
.light-theme .empty-intel{background:linear-gradient(145deg,#fbfdfe,#f3f8fb);border-color:#cbdbe6}
.light-theme .empty-intel h3{color:#27445a}.light-theme .empty-intel p{color:#778b9d}
.light-theme .empty-icon{background:#e7f5f2;color:#0b9e7a;border:1px solid #cdebe3}
.light-theme .map-toolbar>div{background:linear-gradient(145deg,#fff,#f5f9fb);border-color:#d5e1e9}
.light-theme .map-toolbar b{color:#213b51}.light-theme .map-toolbar span{color:#8092a3}
.light-theme .network-map{box-shadow:inset 0 0 0 1px #dce7ed,0 8px 24px rgba(37,60,82,.05)}
.light-theme .map-center small{color:#7990a2}.light-theme .map-center b{color:#28465d}
.light-theme .map-node span{color:#213c52}.light-theme .map-node small{color:#71879a}
.light-theme .map-node:after{box-shadow:0 12px 30px rgba(34,59,78,.16)}
.light-theme .map-line{background:linear-gradient(90deg,#18b99066,#528caf)}
.light-theme .map-line:after{background:#17b58b;box-shadow:0 0 8px rgba(23,181,139,.3)}
.light-theme .tb-top b{color:#29455b}.light-theme .tb-top small{color:#7c90a1}.light-theme .tb-top strong{color:#0a9d79}
.light-theme .tb-track{background:#edf3f7;border-color:#d5e1e9}
.light-theme .route-health{background:#f3f8fa;border-color:#d6e3ea}.light-theme .route-health b{color:#39536a}.light-theme .route-health small{color:#7d91a1}
.light-theme .source-list span{background:#f4f8fb;border-color:#d6e2ea;color:#557188}
.light-theme .feature-list{color:#506a7f}
.light-theme .prepend-badge{background:#fff6e7;color:#9c691b;border-color:#ead09b}
.light-theme .modal{background:rgba(20,38,54,.42);backdrop-filter:blur(3px)}
.light-theme .modal-box{background:#fff;border-color:#cddae6;box-shadow:0 30px 90px rgba(26,48,67,.24)}
.light-theme .modal-head{background:linear-gradient(180deg,#fff,#f9fbfc);border-color:#e1e8ee}
.light-theme .modal-head small{color:#0b9f7a}.light-theme .modal-head h2{color:#19344b!important}
.light-theme .modal-head button{color:#6b8194}
.light-theme .password-toggle{background:#f4f8fa;color:#456178;border-color:#cbd9e5}
.light-theme .password-toggle:hover{background:#eaf3f7;color:#173b54;border-color:#9eb5c5}
.light-theme .check{color:#4d667b}
.light-theme .field-help{color:#8294a5}
.light-theme .login-screen{background:radial-gradient(circle at 50% 10%,#e4f5f2 0,#f5f8fb 45%,#eaf0f5 100%)}
.light-theme .login-bg{opacity:.28;background-image:linear-gradient(#b9cedb 1px,transparent 1px),linear-gradient(90deg,#b9cedb 1px,transparent 1px)}
.light-theme .login-card{background:rgba(255,255,255,.94);border-color:#d5e1e9;box-shadow:0 25px 70px rgba(36,59,82,.14)}
.light-theme .login-title{color:#18344b}.light-theme .login-sub{color:#71869a}.light-theme .login-card label{color:#61788d}.light-theme .login-card input{background:#fff;color:#20394f;border-color:#cad9e4}
@media(max-width:900px){.light-theme .stats{grid-template-columns:repeat(2,1fr)}.light-theme .provider-card{grid-template-columns:42px 1fr 90px}.light-theme .provider-card .provider-metric:last-of-type{display:none}}

/* ================= V5.4 ROUTE VIEWER / KENTIK-LIKE VISUAL LANGUAGE ================= */
.route-viewer-page{max-width:1500px}
.route-search{display:flex;gap:10px;align-items:center;margin:16px 0}
.route-search input{flex:1;min-width:220px;height:46px;border:1px solid var(--border,#1b3550);border-radius:10px;background:var(--panel,#0a1928);color:var(--heading,#fff);padding:0 14px;font-size:14px;outline:none}
.route-search input:focus{border-color:#20c99d;box-shadow:0 0 0 3px rgba(32,201,157,.10)}
.route-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px;margin-bottom:14px}
.route-card{background:var(--panel,#0a1928);border:1px solid var(--border,#19344d);border-radius:14px;overflow:hidden;margin-top:14px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.route-card-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid var(--border,#19344d);background:linear-gradient(180deg,rgba(255,255,255,.025),transparent)}
.route-card-head h3{margin:0;font-size:13px;letter-spacing:.12em;color:var(--heading,#fff)}
.route-card-head small{display:block;margin-top:4px;color:var(--muted,#7d94aa)}
.route-source{font-size:10px;letter-spacing:.08em;color:#18c59b;border:1px solid rgba(24,197,155,.25);padding:6px 8px;border-radius:7px;background:rgba(24,197,155,.06)}
.timeline-chart{height:145px;padding:20px 18px 4px;display:flex;align-items:flex-end;gap:3px;border-bottom:1px solid var(--border,#19344d);background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,rgba(120,150,175,.08) 36px)}
.timeline-bar{flex:1;min-width:2px;position:relative;display:flex;align-items:flex-end;justify-content:center;max-width:16px}
.timeline-bar i{display:block;width:100%;height:100%;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#25cda2,#168b77)}
.timeline-bar i.withdraw{background:linear-gradient(180deg,#ef7786,#a73f50)}
.timeline-axis{display:flex;justify-content:space-between;padding:7px 18px 10px;color:var(--muted,#7189a0);font-size:10px}
.timeline-chart:empty{display:none}
.route-graph{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 20%,rgba(32,201,157,.05),transparent 38%),linear-gradient(180deg,rgba(4,15,26,.5),rgba(4,15,26,.2));min-height:420px}
.route-graph svg{position:absolute;inset:0;width:100%;height:100%;color:#8198ac}
.route-edge{fill:none;stroke:#8298aa;stroke-width:1.8;opacity:.65;marker-end:url(#routeArrow)}
.route-flow-dot{fill:#1bc39a;filter:drop-shadow(0 0 5px rgba(27,195,154,.65))}
.route-node{position:absolute;transform:translate(-50%,-50%);width:160px;min-height:58px;padding:8px 10px;border:1px solid #5b91a2;border-radius:4px;background:linear-gradient(180deg,#8bc0bb,#75aeb0);color:#17343e;text-align:left;cursor:pointer;box-shadow:0 5px 14px rgba(0,0,0,.12);z-index:2}
.route-node:hover{transform:translate(-50%,-50%) scale(1.04);box-shadow:0 10px 28px rgba(0,0,0,.25);filter:saturate(1.08)}
.route-node-icon{float:left;margin-right:8px;font-size:15px;line-height:22px}.route-node b{display:block;font-size:12px}.route-node small{display:block;margin-top:2px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-placeholder,.route-loading,.route-empty,.route-timeline-empty{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed var(--border,#23405a);border-radius:12px;background:rgba(10,25,40,.4);padding:30px}
.route-placeholder h3,.route-empty{color:var(--heading,#fff)}.route-placeholder p,.route-empty{color:var(--muted,#7891a8)}
.route-loading{flex-direction:row;gap:10px;min-height:150px;color:var(--muted,#8ca1b5)}
.route-loading span{width:16px;height:16px;border:2px solid #20c99d;border-right-color:transparent;border-radius:50%;animation:routeSpin .8s linear infinite}@keyframes routeSpin{to{transform:rotate(360deg)}}
.route-evidence .metric-row small{display:block}.route-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 2px;color:var(--muted,#7891a8);font-size:11px}

.light-theme .route-search input{background:#fff;color:#20384e;border-color:#cbd9e5}
.light-theme .route-card{background:linear-gradient(145deg,#fff,#f8fbfd);border-color:#d7e2ea;box-shadow:0 10px 28px rgba(37,60,82,.055)}
.light-theme .route-card-head{background:linear-gradient(180deg,#fff,#f8fafc);border-color:#e1e8ee}.light-theme .route-card-head h3{color:#304b60}.light-theme .route-card-head small{color:#7e92a3}
.light-theme .route-graph{background:radial-gradient(circle at 50% 18%,rgba(30,168,139,.08),transparent 35%),linear-gradient(180deg,#f8fbfc,#f1f6f8)}
.light-theme .route-edge{stroke:#8096a5}.light-theme .route-node{background:linear-gradient(180deg,#c4dfdb,#afd2d0);border-color:#77a8a5;color:#203e46}.light-theme .route-node:hover{box-shadow:0 10px 26px rgba(44,75,90,.18)}
.light-theme .route-placeholder,.light-theme .route-loading,.light-theme .route-empty,.light-theme .route-timeline-empty{background:#f9fbfc;border-color:#cbdbe5}.light-theme .route-placeholder h3,.light-theme .route-empty{color:#29455a}.light-theme .route-placeholder p{color:#778b9d}
.light-theme .timeline-chart{background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,rgba(85,116,139,.10) 36px);border-color:#dce6ec}.light-theme .timeline-axis{color:#7b8e9f}
@media(max-width:1100px){.route-summary-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.route-summary-grid{grid-template-columns:repeat(2,1fr)}.route-search{flex-wrap:wrap}.route-search input{width:100%}.route-node{width:125px}.route-footer{flex-direction:column;align-items:flex-start}}

.add-center{padding:18px}.add-center-intro{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.add-center-intro b{font-size:15px;color:#dce8f2}.add-center-intro span{font-size:11px;color:#71879a;line-height:1.5}.add-choice{width:100%;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:12px;text-align:left;background:#0b1a29;border:1px solid #20394e;border-radius:10px;padding:13px;margin:8px 0;color:#dce8f2;cursor:pointer}.add-choice:hover{border-color:#20c99d;background:#0d2232}.add-choice-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#10352f;color:#20c99d;font-weight:800}.add-choice b{display:block;font-size:12px}.add-choice small{display:block;color:#71879a;font-size:10px;margin-top:3px;line-height:1.4}.add-choice>span{font-size:18px;color:#20c99d;text-align:center}.add-center-note{margin-top:12px;padding:11px;border:1px dashed #29455b;border-radius:8px;color:#6f8498;font-size:10px;line-height:1.5}.light-theme .add-center-intro b{color:#1b3449}.light-theme .add-choice{background:#fff;border-color:#d2dee8;color:#263e52}.light-theme .add-choice:hover{background:#f3faf8;border-color:#20a989}.light-theme .add-choice small,.light-theme .add-center-intro span,.light-theme .add-center-note{color:#71849a}.light-theme .add-center-note{border-color:#cbd9e4}

/* ======================= KENTIK-STYLE FLOW VISUALIZATION ======================= */
.traffic-grid{align-items:stretch}.traffic-card{min-height:100%}.traffic-card .card-head{background:linear-gradient(135deg,rgba(16,35,54,.92),rgba(9,22,35,.82))}.traffic-card .card-head h3{color:#e6f1f8}.traffic-card .card-head small{display:block;color:#668299;font-size:10px;margin-top:4px}.source-badge{display:inline-flex;align-items:center;gap:6px;color:#65dcb9;font-size:9px;font-weight:800;letter-spacing:.08em;white-space:nowrap}.source-badge i{width:6px;height:6px;border-radius:50%;background:#20c99d;box-shadow:0 0 10px #20c99d;display:inline-block}.flow-list{padding:12px 15px}.flow-row{padding:10px 0;border-bottom:1px solid #162d40}.flow-row:last-child{border-bottom:0}.flow-row-head{display:flex;align-items:center;gap:8px}.flow-row-head b{color:#dcebf4;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.flow-row-head strong{color:#54d9b2;font-size:11px;white-space:nowrap}.flow-rank{color:#48677f;font:10px ui-monospace,SFMono-Regular,Consolas,monospace}.flow-row-meta{display:flex;justify-content:space-between;gap:8px;margin:4px 0 6px 25px;color:#607b91;font-size:9px}.flow-row-meta small{color:#8ba5b8}.flow-track{height:5px;margin-left:25px;background:#12283a;border:1px solid #1b3549;border-radius:99px;overflow:hidden}.flow-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#287eff,#22d1aa);box-shadow:0 0 12px rgba(34,209,170,.24)}.mix-list{padding:15px}.mix-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #162d40;color:#9db3c2;font-size:11px}.mix-row:last-child{border-bottom:0}.mix-row span{display:flex;align-items:center;gap:8px}.mix-row i{display:block;width:8px;height:8px;border-radius:2px;background:linear-gradient(135deg,#3186ff,#23d2ab);box-shadow:0 0 9px rgba(35,210,171,.28)}.mix-row b{color:#dcebf4}.traffic-empty{display:flex;gap:10px;align-items:center;min-height:130px;color:#607a90}.traffic-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#102b43;color:#71c9ff;font-size:20px}.traffic-empty b{display:block;color:#b9ccda;font-size:11px}.traffic-empty small{display:block;margin-top:4px;font-size:10px}.protocol-chip{display:inline-block;padding:3px 7px;border-radius:99px;background:#102b43;border:1px solid #214766;color:#8dc6e9;font:10px ui-monospace,SFMono-Regular,Consolas,monospace}.traffic-card+.traffic-card{min-width:0}.light-theme .traffic-card .card-head{background:linear-gradient(135deg,#f8fbfd,#f1f7f9)}.light-theme .traffic-card .card-head h3{color:#29475c}.light-theme .flow-row,.light-theme .mix-row{border-color:#e4edf2}.light-theme .flow-row-head b{color:#29475c}.light-theme .flow-row-head strong,.light-theme .source-badge{color:#0b9f79}.light-theme .flow-row-meta{color:#7b8f9e}.light-theme .flow-track{background:#edf3f7;border-color:#d6e2e9}.light-theme .mix-row{color:#60788a}.light-theme .mix-row b{color:#29475c}.light-theme .protocol-chip{background:#eef6fb;border-color:#cfe0eb;color:#397397}.light-theme .traffic-empty>span{background:#e9f5f8;color:#2782aa}.light-theme .traffic-empty b{color:#31536a}@media(max-width:1100px){.traffic-grid{grid-template-columns:1fr 1fr}.traffic-grid .card:last-child{grid-column:1/-1}}@media(max-width:700px){.traffic-grid{grid-template-columns:1fr}.traffic-grid .card:last-child{grid-column:auto}.flow-row-head strong{font-size:10px}}

/* Device connection port selector */
.port-selector>label{display:flex;justify-content:space-between;align-items:center;color:#80a0b6}.port-selector>label small{font-size:10px;color:#5d7890;font-weight:400;letter-spacing:0}.port-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.port-option{display:grid;grid-template-columns:16px 1fr 78px;align-items:center;gap:7px;padding:9px 10px;border:1px solid #1b3549;border-radius:8px;background:#0b1a29;color:#aec3d1;font-size:11px}.port-option input[type=checkbox]{accent-color:#19bf99}.port-option .port-number,.port-option input[type=text]{width:100%;min-width:0;padding:6px 7px;font-size:11px}.port-option.custom-port{grid-template-columns:16px 1fr 100px 78px;grid-column:1/-1}.light-theme .port-option{background:#f5f9fb;border-color:#d7e4ec;color:#466176}.light-theme .port-selector>label{color:#5c7487}.light-theme .port-option .port-number,.light-theme .port-option input[type=text]{background:#fff}@media(max-width:700px){.port-grid{grid-template-columns:1fr}.port-option.custom-port{grid-column:auto}}
