:root{--brand:#00b85c;--brand-light:#e5f8ec;--ink:#172b25;--muted:#75837e;--line:#e1e8e4;--bg:#f4f7f5;--side:#0b2119;--radius:12px;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);min-height:38px;padding:8px 13px}button:hover{border-color:var(--brand);background:var(--brand-light)}button.primary{background:var(--brand);border-color:var(--brand);color:#071b11;font-weight:650}button.danger{color:#b73442}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--side);color:#afc2b9;padding:32px 18px;display:flex;flex-direction:column;z-index:30}.brand{padding:0 14px 28px}.brand img{max-width:152px;height:60px;object-fit:contain}.brand small{display:block;font-size:12px;letter-spacing:2.5px;color:#78aa90;margin-top:4px}.nav-label{font-size:11px;font-weight:650;letter-spacing:1.5px;padding:28px 14px 12px;color:#729987}.nav-item{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;padding:13px 15px;border-radius:7px;margin:3px 0;font-size:14px;position:relative}.nav-item:hover{background:#17372a;color:white}.nav-item.active{color:#90ffc0;background:#1b4030}.nav-item.active:before{content:'';position:absolute;left:-18px;top:12px;bottom:12px;width:3px;border-radius:2px;background:#36ef86}.sidebar-footer{margin-top:auto;padding:22px 12px 0;border-top:1px solid #254133;font-size:12px;line-height:1.8}.sidebar-footer strong{color:#e5f5ec;display:block}.workspace{margin-left:230px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:16px}.crumb{font-size:13px;color:var(--muted)}.crumb b{color:var(--ink);font-weight:500;margin-left:10px}.top-actions{display:flex;align-items:center;gap:18px}.tenant-select{border:1px solid var(--line);background:#f8faf9;max-width:280px}.avatar{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#dbf4e4;color:#13643a;font-size:12px;font-weight:750}.profile{display:flex;gap:10px;align-items:center;font-size:13px}.profile small{display:block;color:var(--muted);font-size:11px}.content{padding:26px 32px 40px;max-width:1920px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}h1{font-size:27px;font-weight:650;letter-spacing:-.7px;margin:0 0 5px}h2{font-size:15px;font-weight:650;margin:0}h3{font-size:16px;margin:0 0 16px}p{line-height:1.6}.subheading{font-size:13px;color:var(--muted);margin:0}.heading-title{display:flex;align-items:center;gap:12px}.heading-title>.icon{color:var(--brand);width:25px;height:25px}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:26px;overflow:auto}.tabs button{border:0;border-radius:0;background:none;white-space:nowrap;font-size:14px;padding:0 0 16px;color:var(--muted)}.tabs button.active{border-bottom:3px solid var(--brand);color:var(--ink);font-weight:650}.filters{display:flex;align-items:flex-end;gap:14px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:22px;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:7px;min-width:150px;flex:1}.field label{font-size:12px;color:var(--muted)}input,select{border:1px solid var(--line);border-radius:6px;padding:10px 12px;min-height:40px;background:#fff;min-width:0;color:var(--ink)}input::placeholder{color:#909b96;font-size:13px}.period{margin-left:auto;flex:0 0 175px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px 8px}.card-title small{color:var(--muted);font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.stat{padding:19px 21px}.stat-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.stat-header .icon{color:var(--brand)}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin:9px 0 4px;font-weight:650}.stat small{font-size:12px;color:var(--muted)}.stat strong span{font-size:14px;font-weight:400;letter-spacing:0;color:var(--muted)}.grid-main{display:grid;grid-template-columns:300px 1fr;gap:20px;margin-bottom:22px}.grid-right{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.chart{height:280px;width:100%}.chart.large{height:370px}.chart.map{height:300px}.chart.fullmap{height:430px}.talkers{padding:16px 18px}.talker{position:relative;margin-bottom:12px;border:1px solid var(--line);border-radius:7px;padding:12px 10px;overflow:hidden;min-height:61px;display:flex;gap:9px;align-items:center;font-size:12px}.talker:before{content:'';position:absolute;inset:0 auto 0 0;width:var(--width);background:linear-gradient(90deg,#e9f9ef,#c5efd6);border-right:2px solid var(--brand)}.talker>*{position:relative}.talker .rank{color:#789087}.talker b{font-size:12px}.talker small{display:block;font-size:11px;color:#62836f;margin-top:5px;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.talker .value{margin-left:auto;white-space:nowrap;font-size:11px}.pill{border-radius:12px;display:inline-block;padding:4px 9px;background:#ecf7f0;color:#14734a;font-size:12px;white-space:nowrap}.pill.red{background:#fff0f0;color:#c0464c}.pill.gray{background:#edf0ef;color:#6a7770}.pill.blue{background:#e9f0ff;color:#476eae}.pill.yellow{background:#fff6dd;color:#957112}.segmented{display:flex;padding:3px;background:#f0f4f2;border-radius:7px;gap:2px}.segmented button{min-height:26px;border:0;background:none;font-size:11px;padding:5px 10px}.segmented button.active{background:white;box-shadow:0 1px 4px #00000010}.table-tools{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;gap:15px;flex-wrap:wrap}.search{width:min(340px,100%)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th{background:#eff4f1;color:#738279;font-size:11px;letter-spacing:.6px;text-align:left;font-weight:600;padding:16px 18px}td{padding:17px 18px;border-bottom:1px solid #edf1ee}tbody tr:hover{background:#f9fcfa}td.mono{font-family:Consolas,monospace;font-size:12px}.pagination{padding:18px 22px;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.pagination select{min-height:32px;padding:6px}.page-buttons{margin-left:auto;display:flex;gap:5px}.page-buttons button{border:0;min-width:31px;min-height:31px;padding:6px}.page-buttons button.active{background:var(--brand);color:#082315;border-radius:50%}.empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.empty .icon{width:32px;height:32px;margin-bottom:10px}.banner{padding:11px 18px;font-size:13px;border:1px solid #eadfa9;border-radius:8px;background:#fffbea;color:#796022;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.banner button{font-size:12px;min-height:28px}.notice{background:#eff7f2;padding:13px 18px;border-radius:8px;font-size:13px;color:#547862;line-height:1.6;margin-bottom:18px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:22px}.padded{padding:24px}.rank-list{padding:6px 22px 22px}.rank-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;font-size:13px;border-bottom:1px solid #f0f4f2}.rank-row span{color:var(--muted)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:#0c251b;color:#eafff0;display:flex;flex-direction:column;justify-content:center;padding:12%;position:relative;overflow:hidden}.login-art img{width:210px;margin-bottom:70px}.login-art h1{font-size:44px;line-height:1.15;max-width:430px}.login-art p{color:#87b39b;font-size:16px;max-width:380px}.login-art .icon{width:100px;height:100px;color:#35d97a;margin-bottom:30px}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:35px}.login-form{width:370px;max-width:100%}.login-form h1{margin-bottom:10px}.login-form .field{margin:22px 0}.login-form button{width:100%;margin-top:12px}.login-form p{color:var(--muted);font-size:14px}.error{color:#b73d43;font-size:13px;margin:10px 0}.loading{padding:80px;text-align:center}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(1150px,94vw);max-height:91vh;color:var(--ink)}dialog::backdrop{background:#061c1588;backdrop-filter:blur(3px)}.modal-heading{padding:22px 26px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.modal-content{padding:26px;overflow:auto}.modal-content form{max-width:650px;margin:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.checklist{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0;font-size:14px}.checklist label{display:flex;align-items:center;gap:7px}.checklist input{min-height:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#toast{position:fixed;bottom:25px;right:30px;max-width:450px;padding:14px 22px;background:#143d29;color:white;border-radius:9px;box-shadow:0 6px 30px #0002;z-index:100;display:none}.demo-tag{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#a47e20}.brand-preview{padding:28px;background:#0b2119;border-radius:10px;color:white;margin-top:20px}.brand-preview img{height:60px;max-width:200px;object-fit:contain}.mobile-menu{display:none}.row-actions{display:flex;gap:5px}.row-actions button{padding:5px 8px;min-height:30px}.row-actions .icon{width:16px;height:16px}.integration-state{font-size:12px;color:#a17b24}.chart-image{width:100%;height:280px;object-fit:contain}.disabled-panel{padding:60px 25px;text-align:center;color:var(--muted)}@media(min-width:1600px){.grid-main{grid-template-columns:340px 1fr}.chart{height:300px}}@media(max-width:1150px){.sidebar{width:190px}.workspace{margin-left:190px}.content{padding:24px 20px}.topbar{padding:0 20px}.grid-main{grid-template-columns:260px 1fr}.grid-right{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.profile-text{display:none}.three-col{grid-template-columns:1fr}}@media(max-width:800px){.sidebar{display:none}.sidebar.open{display:flex;width:230px;box-shadow:0 0 0 100vw #0005}.workspace{margin-left:0}.mobile-menu{display:block}.crumb{display:none}.content{padding:20px 14px}.topbar{height:65px;padding:0 14px}.top-actions{gap:10px}.tenant-select{max-width:190px}.stats{grid-template-columns:1fr 1fr}.grid-main,.two-col,.grid-right{grid-template-columns:1fr}.grid-main>.card:first-child{order:2}.page-heading{align-items:flex-start}h1{font-size:23px}.filters{padding:14px;gap:10px}.field{min-width:130px}.period{margin-left:0;flex:1}.login-shell{grid-template-columns:1fr}.login-art{display:none}.form-grid{grid-template-columns:1fr}.pagination{flex-wrap:wrap}.pagination>span{font-size:11px}.banner{align-items:flex-start}.tabs{gap:22px}.chart.fullmap{height:300px}}@media print{.sidebar,.topbar,.filters,button,.banner,.tabs{display:none!important}.workspace{margin:0}.content{padding:0}.card{break-inside:avoid}dialog{position:static;width:100%;max-height:none}dialog::backdrop{background:white}}
:root{--profile-gap:24px}.profile-hero{display:flex;align-items:center;gap:26px;padding:30px;margin-bottom:24px}.profile-avatar{width:100px;height:100px;background:var(--brand-light);color:var(--brand);border-radius:50%;display:grid;place-items:center;flex-shrink:0}.profile-avatar .icon{width:56px;height:56px}.profile-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.profile-form{margin-top:34px}.profile-form>.field,.profile-form>.form-grid{margin-bottom:24px}.profile-form hr{border:0;border-top:1px solid var(--line);margin:24px 0}.password-field{display:flex;border:1px solid var(--line);border-radius:7px}.password-field input{border:0;flex:1;width:100%}.password-field button{border:0;background:transparent}.profile-company{background:#f7faf8;border:1px solid var(--line);border-radius:9px;padding:22px;margin-top:22px}.profile-company p{font-size:14px;color:var(--muted)}input:disabled{background:#eef2f0;color:#7c8881}.profile[role=button]:focus-visible{outline:2px solid var(--brand)}@media(max-width:600px){.profile-hero{padding:22px;gap:16px}.profile-avatar{width:65px;height:65px}.profile-avatar .icon{width:38px;height:38px}.profile-hero h1{font-size:19px}.profile-hero .subheading{word-break:break-all}}
.topbar .top-actions{gap:10px}.topbar .tenant-select{max-width:220px}@media(max-width:1100px){.topbar .crumb{display:none}.topbar .tenant-select{max-width:180px}}@media(max-width:600px){.topbar{height:auto;min-height:65px;padding-block:10px;align-items:flex-start}.topbar .top-actions{flex-wrap:wrap;justify-content:flex-end}.topbar .tenant-select{max-width:160px;font-size:12px}.topbar .profile{margin-left:auto}}
/* The network scope remains visible while reading charts and paginated tables. */
.network-filters{position:sticky;top:0;z-index:20;box-shadow:0 6px 18px #12352412;border-top:3px solid var(--brand)}
@media(max-width:800px){.network-filters{flex-wrap:nowrap;overflow-x:auto;padding:10px;gap:10px;border-radius:0}.network-filters .field{flex:0 0 165px}.network-filters button{flex-shrink:0}.network-filters .period{flex:0 0 165px}}
