/* AMNET shared product language. Operational color meanings remain unchanged. */
:root{--amnet-app-bg:#0d141c;--amnet-app-surface:#17232e;--amnet-app-raised:#1d2c39;--amnet-app-border:#2a3c4b;--amnet-app-text:#edf4f9;--amnet-app-muted:#a2b5c6;--amnet-app-brand:#68d9ad;--amnet-app-action:#28765a;--amnet-app-radius:16px;--amnet-app-focus:#80e6bd}
body:not(.light-theme){background:var(--amnet-app-bg);color:var(--amnet-app-text)}
body:not(.light-theme) .main-content{background:var(--amnet-app-bg)}
body:not(.light-theme) .card,body:not(.light-theme) .isp-stat-card,body:not(.light-theme) .metric,body:not(.light-theme) .resource-device{background:var(--amnet-app-surface)!important;border:1px solid var(--amnet-app-border)!important;border-radius:var(--amnet-app-radius)!important;box-shadow:0 7px 22px #00000012!important;transform:none!important}
.main-content{font-family:'Segoe UI',sans-serif;line-height:1.55}.main-content h1{font-weight:700;letter-spacing:-.7px}.main-content h2,.main-content h3,.card-title{font-weight:650;letter-spacing:-.25px}.card-header{border-bottom-color:var(--amnet-app-border)!important;padding:18px 20px}.card-body{padding:20px}.card{overflow:visible}.isp-stat-label{font-size:11px!important;letter-spacing:.2px!important;color:var(--amnet-app-muted)!important;text-transform:none!important}.isp-stat-value{font:650 clamp(25px,3vw,34px)/1.2 'Segoe UI',sans-serif!important;letter-spacing:-.8px!important;color:var(--amnet-app-text)!important}.isp-stat-card{padding:20px!important;transition:border-color .15s!important}.isp-stat-card:hover{border-color:#466578!important}.card-title{font-size:16px!important;color:var(--amnet-app-text)!important}.card-title>i{color:var(--amnet-app-brand)!important;opacity:.8;font-size:14px!important;margin-right:8px}.btn{font-family:inherit!important;letter-spacing:0!important;text-transform:none!important;border-radius:9px!important;box-shadow:none!important;font-weight:600!important;min-height:38px}.btn-primary{background:var(--amnet-app-action)!important;border:1px solid #438e70!important;color:white!important}.btn-primary:hover{background:#328767!important}.btn-secondary{background:#22323f!important;border:1px solid #3b5163!important;color:#d7e5f0!important}.btn-secondary:hover{background:#2d4455!important}.btn-danger{background:#572e3a!important;border:1px solid #8b5262!important;color:#ffced7!important}.btn-sm{font-size:12px!important;min-height:34px;padding:7px 11px!important}.form-label{font-size:12px!important;font-weight:600!important;color:var(--amnet-app-muted)!important;margin-bottom:7px!important}.form-control{border-radius:9px!important;min-height:43px;font-size:14px!important;box-shadow:none!important}.form-control:focus{border-color:var(--amnet-app-brand)!important;outline:2px solid #68d9ad33!important;outline-offset:1px}.form-control:not(:disabled){background:#101d27!important;border:1px solid #354d60!important;color:#ecf4fa!important}input::placeholder,textarea::placeholder{color:#849aab!important}table{border-collapse:collapse}table th{font-size:10px!important;font-weight:650!important;letter-spacing:.8px!important;color:#a1b8ca!important;background:#14212b!important;border-bottom:1px solid #324958!important;padding:13px 15px!important}table td{padding:13px 15px!important;font-size:13px!important;border-bottom-color:#283a48!important;color:#d3e0eb}table tbody tr:hover td{background:#20334145!important}table td strong{font-weight:600}.badge{border-radius:6px!important;font-size:10px!important;font-weight:600!important;letter-spacing:.1px;padding:5px 8px!important}.badge-success{background:#214a3c!important;color:#9ae5bf!important;border:1px solid #37654e!important}.badge-danger{background:#4c2e39!important;color:#ffb3c1!important;border:1px solid #754655!important}.badge-warning{background:#493b24!important;color:#f0d397!important;border:1px solid #70613b!important}.main-content a:not(.btn):focus-visible,.main-content button:focus-visible{outline:3px solid var(--amnet-app-focus);outline-offset:3px}.sidebar{background:#101b25!important;border-right:1px solid #273b4b!important}.sidebar .menu-item{border-radius:9px!important;font-size:13px!important}.sidebar .menu-item.active,.sidebar .menu-item:hover{background:#244838!important;color:#9aebc6!important;box-shadow:none!important}.header,.topbar{background:#111d28!important;border-bottom-color:#293d4b!important;box-shadow:none!important}.chart-container,.mikhmon-traffic-container{background:transparent!important}.network-session{font-size:11px!important;line-height:1.5}.main-content .alert{border-radius:11px!important;box-shadow:none!important}.light-theme .isp-stat-label,.light-theme .card-title{color:#304c60!important}.light-theme .isp-stat-value{color:#153144!important}.light-theme table td{color:#1e3949}.light-theme table th{background:#edf3f6!important;color:#466278!important}.light-theme .form-control:not(:disabled){background:#fff!important;color:#203b4d!important;border-color:#b6c9d5!important}@media(max-width:760px){.main-content{padding:18px 14px!important}.card{border-radius:14px!important}.card-header,.card-body{padding:16px!important}.isp-stat-card{padding:16px!important}.btn:not(.btn-sm){min-height:42px}.main-content h1{font-size:25px}.main-content .card:has(>table),.main-content .card:has(>.data-table){overflow-x:auto}table th,table td{padding:12px!important}.form-control{font-size:16px!important}.vb-launch{bottom:82px}}@media(prefers-reduced-motion:reduce){.isp-stat-card{transition:none!important}}@media print{body,.main-content,.card{background:white!important;color:black!important;box-shadow:none!important}.vb-launch,.vb-editor{display:none!important}}

/* AMNET ecosystem v2: financial workspace, light by default; explicit dark supported. */
body{--amnet-app-brand:#405ee8;--amnet-app-action:#405ee8;--amnet-app-focus:#7189ff;--amnet-app-radius:12px;--amnet-primary:#405ee8;--amnet-info:#405ee8;--amnet-app-raised:#202126}
body.light-theme{color-scheme:light;--amnet-app-bg:#f6f8fc;--amnet-app-surface:#fff;--amnet-app-raised:#f1f4fa;--amnet-app-border:#e0e5ef;--amnet-app-text:#1a2440;--amnet-app-muted:#5b6780;--amnet-bg:#f6f8fc;--amnet-surface:#fff;--amnet-nav:#fff;--amnet-ink:#1a2440;--amnet-muted:#5b6780;--amnet-border:#e0e5ef;--amnet-scroll:#b6bfd3;--amnet-primary:#405ee8;--amnet-success:#16704b;--amnet-info:#3657ce;--amnet-warning:#87610f;--amnet-danger:#b82b46;--neon-cyan:#405ee8!important;--neon-purple:#405ee8!important;background:var(--amnet-app-bg);color:var(--amnet-app-text)}
body.light-theme .main-content{background:var(--amnet-app-bg)}
body.light-theme .card,body.light-theme .isp-stat-card,body.light-theme .stat-card,body.light-theme .resource-device,body.light-theme .modal-content{background:#fff!important;border:1px solid var(--amnet-app-border)!important;border-radius:12px!important;box-shadow:0 2px 6px #1b315306!important;transform:none!important}
body .main-content,body .sidebar,body .header{font-family:'Segoe UI',sans-serif!important}
body.light-theme .sidebar,body.light-theme .bottom-nav,body.light-theme .mobile-bottom-nav,body.light-theme .navbar{background:#fff!important;border-color:var(--amnet-app-border)!important;color:var(--amnet-app-text)!important}
body.light-theme .header,body.light-theme .topbar{background:#fff!important;border-color:var(--amnet-app-border)!important;color:var(--amnet-app-text)!important}
body.light-theme .sidebar .menu-item{color:#526078!important;font-weight:500}
body.light-theme .sidebar .menu-item.active,body.light-theme .sidebar .menu-item:hover,body.light-theme .mobile-nav-item.active{background:#edf1ff!important;color:#304ecb!important;border-color:#405ee8!important}
body.light-theme .sidebar-logo,body.light-theme .logo-text{color:#202d4b!important;-webkit-text-fill-color:#202d4b!important;font-size:22px;letter-spacing:-.6px}
body.light-theme .card-title,body.light-theme .isp-stat-label{color:var(--amnet-app-muted)!important}
body.light-theme .card-title>i{color:#405ee8!important}
body.light-theme .isp-stat-value{color:var(--amnet-app-text)!important;font-variant-numeric:tabular-nums;letter-spacing:-1px!important}
body.light-theme .card-header{background:#fff!important;border-color:var(--amnet-app-border)!important}
body.light-theme table th{background:#f7f9fd!important;color:#626e86!important;border-color:var(--amnet-app-border)!important;font-size:10px!important}
body.light-theme table td{color:#34405a!important;border-color:#edf0f5!important;font-variant-numeric:tabular-nums}
body.light-theme table tbody tr:hover td{background:#f7f9ff!important}
body.light-theme .form-label{color:#526078!important}
body.light-theme .form-control:not(:disabled){background:#fff!important;border-color:#cfd7e6!important;color:#26334d!important}
body.light-theme input::placeholder,body.light-theme textarea::placeholder{color:#737f96!important}
body .btn-primary,body button[type=submit]:not(.btn-danger):not(.btn-secondary):not(.btn-warning){background:#405ee8!important;border-color:#405ee8!important;color:#fff!important}
body .btn-primary:hover{background:#304bc7!important}
body.light-theme .btn-secondary{background:#fff!important;border-color:#d5ddea!important;color:#35445f!important}
body.light-theme .btn-danger{background:#fff1f3!important;border-color:#efc4cd!important;color:#ae2541!important}
body.light-theme .badge-success,body.light-theme .alert-success{background:#e9f7ef!important;color:#16663f!important;border-color:#c1e4cf!important}
body.light-theme .badge-warning,body.light-theme .alert-warning{background:#fff8e7!important;color:#7b580f!important;border-color:#eddaad!important}
body.light-theme .badge-danger,body.light-theme .alert-danger{background:#fff0f2!important;color:#a62641!important;border-color:#edc4cd!important}
body.light-theme .badge-info,body.light-theme .alert-info{background:#eef2ff!important;color:#3653b8!important;border-color:#d6defb!important}
body.light-theme .menu-card:hover{background:#f4f6ff!important}
body.light-theme a:not(.btn):not(.menu-item):not(.mobile-nav-item){color:#3653c7}
body.light-theme .vb-launch{background:#405ee8;border-color:#304ecb;color:white}
body.light-theme .vb-editor{background:#fff;color:#1a2440;border-color:#d7dfed;box-shadow:0 12px 50px #23335125}
body.light-theme .vb-editor button,body.light-theme .vb-editor select{background:#f2f5fc!important;color:#283b60!important;border-color:#d5ddec!important}
body.light-theme .vb-editor p,body.light-theme .vb-editor label{color:#5b6780}
body .btn,body .form-control{border-radius:8px!important}
body.light-theme .card,.main-content .card{scroll-margin-top:20px}
@media print{body.light-theme .main-content{background:#fff!important}body.light-theme table th,body.light-theme table td{color:#111!important}}
/* Legacy metric content uses white inline text; surface adapters must own foreground too. */
body.light-theme .main-content div[style*="background: linear-gradient"] > div[style*="color: #fff"]{color:#26334e!important;font-variant-numeric:tabular-nums}
body.light-theme .main-content div[style*="background: linear-gradient"] > div[style*="color: rgba(255"]{color:#5b6780!important}
body.light-theme .main-content div[style*="background: linear-gradient"] > i[style*="color: #fff"]{color:#405ee8!important}
body.light-theme .network-online{color:#176843!important}body.light-theme .network-offline{color:#aa2d43!important}body.light-theme .network-unknown{color:#80600f!important}
/* Public sign-in and private PSB tracking use the same light financial shell. */
body.light-theme .login-container{background:radial-gradient(ellipse at top,#e9efff,transparent 70%),#f7f9ff!important;overflow:visible}
body.light-theme .login-card{background:#fff!important;border:1px solid #dae2f1!important;border-radius:18px!important;padding:34px!important;width:100%;max-width:440px;box-shadow:0 15px 45px #2137650a!important;transform:none!important;animation:none!important}
body.light-theme .login-card::before,body.light-theme .login-card::after{display:none!important}
body.light-theme .login-title{color:#1a2440!important;font:700 26px/1.3 'Segoe UI',sans-serif!important;letter-spacing:-.6px;text-shadow:none!important;-webkit-text-fill-color:#1a2440!important;background:none!important}
body.light-theme .login-subtitle,body.light-theme .login-help,body.light-theme .login-footer{color:#5b6780!important;font-family:'Segoe UI',sans-serif!important}
body.light-theme .login-header-icon{color:#405ee8!important;font-size:32px!important;text-shadow:none!important}
body.light-theme .btn-login{background:#405ee8!important;border-color:#405ee8!important;box-shadow:none!important;border-radius:9px!important;font:600 14px 'Segoe UI',sans-serif!important;min-height:46px}
body.light-theme .amnet-public{font-family:'Segoe UI',sans-serif;line-height:1.7}
body.light-theme .amnet-public .card{padding:26px!important}
body.light-theme .amnet-public h1{font-size:26px;color:#1a2440}
@media(max-width:480px){body.light-theme .login-card{padding:25px!important}body.light-theme .login-container{padding:18px!important}}
body.light-theme .login-header-icon{background:none!important;-webkit-text-fill-color:#405ee8!important}
body.light-theme .login-help{padding:14px!important;margin-top:24px!important;background:#f2f5fd!important;border:1px solid #dde5f4!important;border-radius:10px!important}
body.light-theme .login-footer{margin-top:22px!important;padding-top:20px!important;font-size:12px!important}
body.light-theme .login-card .form-group{margin-bottom:20px!important}

/* Unified navy: latest explicit operator choice, shared with monitoring and phone apps. */
body:not(.light-theme){color-scheme:dark;--amnet-bg:#0b1220;--amnet-surface:#142035;--amnet-nav:#0f192b;--amnet-ink:#edf3fc;--amnet-muted:#a7b8d0;--amnet-border:#2a3b55;--amnet-scroll:#476184;--amnet-primary:#405ee8;--amnet-app-bg:#0b1220;--amnet-app-surface:#142035;--amnet-app-raised:#1b2b44;--amnet-app-border:#2a3b55;--amnet-app-text:#edf3fc;--amnet-app-muted:#a7b8d0;--amnet-app-brand:#a5b8ff;--amnet-app-action:#405ee8}
body:not(.light-theme) .sidebar,body:not(.light-theme) .bottom-nav,body:not(.light-theme) .mobile-bottom-nav{background:#0f192b!important;border-color:#2a3b55!important}
body:not(.light-theme) .sidebar .menu-item.active,body:not(.light-theme) .sidebar .menu-item:hover{background:#24345b!important;color:#c3d1ff!important;border-color:#718bdf!important}
body:not(.light-theme) .header,body:not(.light-theme) .topbar{background:#101d31!important;border-color:#2a3b55!important}
body:not(.light-theme) table th{background:#17263e!important;color:#a4b8d5!important;border-color:#304664!important}
body:not(.light-theme) table td{color:#d2dff1;border-color:#283d5b!important}
body:not(.light-theme) .form-control:not(:disabled){background:#0e192c!important;border-color:#344b6c!important;color:#edf3fc!important}
body:not(.light-theme) .btn-secondary{background:#1b2b44!important;border-color:#3c5274!important;color:#d3e1f5!important}
body:not(.light-theme) a:not(.btn):not(.menu-item):not(.mobile-nav-item){color:#a5b8ff}
body:not(.light-theme) .vb-launch{background:#405ee8;border-color:#7891ea;color:#fff}
body:not(.light-theme) .vb-editor{background:#142035;color:#edf3fc;border-color:#3b5175}
body:not(.light-theme) .login-container{background:radial-gradient(ellipse at top,#192c4a,transparent 75%),#0b1220!important}
body:not(.light-theme) .login-card{background:#142035!important;border:1px solid #2e4261!important;border-radius:18px!important;padding:32px!important;max-width:440px;box-shadow:none!important;transform:none!important}
body:not(.light-theme) .login-card::before,body:not(.light-theme) .login-card::after{display:none!important}
body:not(.light-theme) .login-title{background:none!important;-webkit-text-fill-color:#edf3fc!important;color:#edf3fc!important;font:700 25px/1.35 'Segoe UI',sans-serif!important;letter-spacing:-.5px;text-shadow:none!important}
body:not(.light-theme) .login-header-icon{background:none!important;-webkit-text-fill-color:#a5b8ff!important;color:#a5b8ff!important;font-size:32px!important}
body:not(.light-theme) .login-help{padding:14px!important;margin-top:24px!important;background:#192a43!important;border:1px solid #344b6c!important;border-radius:10px!important;color:#adbfda!important}
body:not(.light-theme) .login-footer{margin-top:22px!important;padding-top:18px!important;font-size:12px!important}
body:not(.light-theme) .login-card .form-group{margin-bottom:20px!important}

/* Live status panels update without entrance/fade effects. */
.main-content .card,.main-content .card *:not(.amnet-live-flow),.main-content .isp-stat-card,.main-content table *{animation:none!important;transition:none!important}.main-content td,.main-content strong{font-variant-numeric:tabular-nums}
