/* Phase 1: apply the Subscribers/NOC window language to older Network pages only. */
body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard){
  --ua-net-bg:rgba(5,13,25,.78);
  --ua-net-card:rgba(8,19,35,.86);
  --ua-net-card-2:rgba(11,25,45,.78);
  --ua-net-line:rgba(255,210,92,.18);
  --ua-net-line-soft:rgba(95,219,255,.14);
  --ua-net-gold:#ffd45a;
  --ua-net-cyan:#57dcff;
  --ua-net-text:#eef7ff;
  --ua-net-muted:rgba(222,237,255,.68);
  --ua-net-shadow:0 18px 46px rgba(0,0,0,.26);
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .content-wrapper{
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
  max-width:none !important;
  direction:rtl !important;
  text-align:right !important;
  border:1px solid rgba(255,210,92,.13) !important;
  border-radius:18px !important;
  background:
    radial-gradient(circle at 88% -10%, rgba(87,220,255,.09), transparent 32%),
    linear-gradient(180deg, rgba(8,19,35,.84), rgba(3,10,20,.72)) !important;
  box-shadow:var(--ua-net-shadow) !important;
  color:var(--ua-net-text) !important;
  overflow:hidden !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .content{
  padding:16px 18px 24px !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .content-header{
  margin:0 !important;
  padding:14px 18px !important;
  min-height:58px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,210,92,.14) !important;
  border-radius:0 !important;
  background:
    linear-gradient(90deg, rgba(4,15,29,.24), rgba(20,84,102,.13), rgba(4,15,29,.24)),
    linear-gradient(180deg, rgba(12,28,49,.82), rgba(6,17,31,.70)) !important;
  box-shadow:none !important;
  overflow:visible !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .content-header::after{
  content:"" !important;
  position:absolute !important;
  left:18px !important;
  right:18px !important;
  bottom:0 !important;
  height:1px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg, transparent, rgba(255,212,90,.72), rgba(87,220,255,.34), transparent) !important;
  box-shadow:0 0 16px rgba(255,194,62,.20) !important;
  pointer-events:none !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .content-header .container-fluid{
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .content-header :where(h1,h2,h3){
  margin:0 !important;
  color:#fff !important;
  font-size:20px !important;
  line-height:1.35 !important;
  font-weight:950 !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.text-muted, small, .small){
  color:var(--ua-net-muted) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.box,.card,.panel,.callout,.well):not(.ua-keep-plain){
  border:1px solid var(--ua-net-line) !important;
  border-radius:16px !important;
  background:linear-gradient(180deg, var(--ua-net-card), rgba(5,14,27,.78)) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.22) !important;
  color:var(--ua-net-text) !important;
  overflow:hidden !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.box-header,.card-header,.panel-heading){
  min-height:48px !important;
  padding:12px 15px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.box-title,.card-title,.panel-title,.box h1,.box h2,.box h3,.box h4,.card h1,.card h2,.card h3,.card h4){
  margin:0 !important;
  color:#f8fbff !important;
  font-weight:950 !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.box-body,.card-body,.panel-body){
  padding:15px !important;
  color:var(--ua-net-text) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .row{
  row-gap:14px !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.form-control,.form-select,input[type="text"],input[type="password"],input[type="number"],input[type="date"],input[type="email"],select,textarea){
  min-height:40px !important;
  border-radius:12px !important;
  border:1px solid rgba(255,210,92,.22) !important;
  background:rgba(8,20,36,.88) !important;
  color:#f7fbff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(select option){
  color:#07111f !important;
  background:#eef7ff !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.form-control,.form-select,input,select,textarea):focus{
  border-color:rgba(87,220,255,.62) !important;
  box-shadow:0 0 0 .16rem rgba(87,220,255,.10), inset 0 1px 0 rgba(255,255,255,.06) !important;
  outline:none !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) label{
  color:#f1f8ff !important;
  font-weight:900 !important;
  margin-bottom:6px !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) input[type="checkbox"]{
  accent-color:#ffd45a;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn,.ua-btn){
  min-height:36px !important;
  border-radius:11px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  padding:8px 13px !important;
  font-size:12.5px !important;
  line-height:1.1 !important;
  font-weight:950 !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.18) !important;
  transition:transform .14s ease, filter .14s ease, border-color .14s ease !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn:hover,.ua-btn:hover){
  transform:translateY(-1px) !important;
  filter:brightness(1.06) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn-xs,.btn-sm){
  min-height:30px !important;
  padding:6px 10px !important;
  border-radius:9px !important;
  font-size:11.5px !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn-primary,.btn-info,.btn-outline-primary,.btn-outline-info){
  background:linear-gradient(180deg, rgba(23,150,190,.98), rgba(8,92,130,.98)) !important;
  color:#fff !important;
  border-color:rgba(87,220,255,.34) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn-success,.btn-outline-success){
  background:linear-gradient(180deg, rgba(34,174,101,.98), rgba(16,121,65,.98)) !important;
  color:#fff !important;
  border-color:rgba(103,255,181,.30) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn-warning,.btn-outline-warning){
  background:linear-gradient(180deg, #ffdb62, #e7a80f) !important;
  color:#141006 !important;
  border-color:rgba(255,224,112,.76) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn-danger,.btn-outline-danger){
  background:linear-gradient(180deg, #ff5f6a, #d93442) !important;
  color:#fff !important;
  border-color:rgba(255,126,136,.34) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.btn-default,.btn-secondary,.btn-light,.btn-outline-secondary){
  background:rgba(18,35,58,.94) !important;
  color:#eef7ff !important;
  border-color:rgba(255,255,255,.15) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .btn-block{
  width:100% !important;
  display:flex !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.table-responsive,.box-body.table-responsive,.card-body.table-responsive){
  border:1px solid rgba(255,210,92,.12) !important;
  border-radius:14px !important;
  background:rgba(5,14,27,.62) !important;
  overflow:auto !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) table.table{
  margin:0 !important;
  color:var(--ua-net-text) !important;
  border-color:rgba(145,180,45,.28) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) table.table > :not(caption) > * > *{
  background:rgba(9,22,39,.58) !important;
  color:var(--ua-net-text) !important;
  border-color:rgba(145,180,45,.24) !important;
  text-align:center !important;
  vertical-align:middle !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) table.table thead th{
  background:linear-gradient(180deg, rgba(17,35,60,.98), rgba(10,24,43,.98)) !important;
  color:#fff !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) table.table tbody tr:hover > *{
  background:rgba(87,220,255,.075) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.alert,.callout){
  border-radius:14px !important;
  border-width:1px !important;
  color:var(--ua-net-text) !important;
  background:linear-gradient(180deg, rgba(12,26,46,.92), rgba(6,16,29,.82)) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.16) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .alert-info{
  border-color:rgba(87,220,255,.28) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .alert-success{
  border-color:rgba(103,255,181,.28) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .alert-warning{
  border-color:rgba(255,212,90,.34) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) .alert-danger{
  border-color:rgba(255,126,136,.34) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.modal-content){
  border:1px solid rgba(255,210,92,.25) !important;
  border-radius:18px !important;
  background:linear-gradient(180deg, rgba(9,20,36,.98), rgba(4,12,23,.98)) !important;
  color:var(--ua-net-text) !important;
  box-shadow:0 26px 90px rgba(0,0,0,.56) !important;
  overflow:hidden !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.modal-header,.modal-footer){
  border-color:rgba(255,210,92,.16) !important;
  background:rgba(255,255,255,.03) !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) :where(.form-inline,.d-flex.gap-2){
  gap:8px !important;
  align-items:center !important;
  flex-wrap:wrap !important;
}

body.ua-shell-chrome:where(
  .ua-p-routers,
  .ua-p-sectors,
  .ua-p-subscribers-distribution,
  .ua-p-customer-connect,
  .ua-p-wizard-network,
  .ua-p-mikrotik,
  .ua-p-mikrotik-import
):not(.ua-page-dashboard) hr{
  border-color:rgba(255,210,92,.13) !important;
  opacity:1 !important;
}

@media (max-width:900px){
  body.ua-shell-chrome:where(
    .ua-p-routers,
    .ua-p-sectors,
    .ua-p-subscribers-distribution,
    .ua-p-customer-connect,
    .ua-p-wizard-network,
    .ua-p-mikrotik,
    .ua-p-mikrotik-import
  ):not(.ua-page-dashboard) .content{
    padding:12px !important;
  }
  body.ua-shell-chrome:where(
    .ua-p-routers,
    .ua-p-sectors,
    .ua-p-subscribers-distribution,
    .ua-p-customer-connect,
    .ua-p-wizard-network,
    .ua-p-mikrotik,
    .ua-p-mikrotik-import
  ):not(.ua-page-dashboard) .content-header{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
}

.ua-net-window{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483000 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  background:rgba(0,0,0,.62) !important;
  direction:rtl !important;
}
.ua-net-window.is-open{
  display:flex !important;
}
.ua-net-window__box{
  width:min(1040px,96vw) !important;
  height:min(780px,92vh) !important;
  display:flex !important;
  flex-direction:column !important;
  border:1px solid rgba(255,210,92,.34) !important;
  border-radius:18px !important;
  background:linear-gradient(180deg, rgba(8,19,35,.98), rgba(3,10,20,.98)) !important;
  box-shadow:0 26px 90px rgba(0,0,0,.58) !important;
  color:#eef7ff !important;
  overflow:hidden !important;
}
.ua-net-window.is-max .ua-net-window__box{
  width:calc(100vw - 28px) !important;
  height:calc(100vh - 28px) !important;
  border-radius:14px !important;
}
.ua-net-window__head{
  height:42px !important;
  min-height:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:0 0 0 10px !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.035) !important;
}
.ua-net-window__title{
  min-width:0 !important;
  padding-inline:12px !important;
  color:#ffd45a !important;
  font-weight:950 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.ua-net-window__controls{
  display:flex !important;
  align-items:stretch !important;
  align-self:stretch !important;
  direction:ltr !important;
}
.ua-net-window__btn{
  width:46px !important;
  height:42px !important;
  border:0 !important;
  border-radius:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:transparent !important;
  color:rgba(255,255,255,.84) !important;
  font-size:16px !important;
  line-height:1 !important;
  cursor:pointer !important;
}
.ua-net-window__btn:hover{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}
.ua-net-window__btn--close:hover{
  background:#c42b1c !important;
}
.ua-net-window__body{
  flex:1 1 auto !important;
  min-height:0 !important;
  background:#f5f7fb !important;
}
.ua-net-window__frame{
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
  background:#f5f7fb !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav{
  margin:0 0 12px !important;
  padding:10px 12px !important;
  border-radius:16px !important;
  border:1px solid rgba(255,210,92,.16) !important;
  background:linear-gradient(180deg, rgba(10,24,43,.92), rgba(5,15,29,.84)) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.20) !important;
  color:#eef7ff !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-head{
  color:#ffd45a !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-items{
  gap:7px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-link{
  min-height:34px !important;
  border-radius:11px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.055) !important;
  color:#eaf6ff !important;
  font-size:12px !important;
  font-weight:900 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-link:hover{
  background:rgba(87,220,255,.10) !important;
  border-color:rgba(87,220,255,.22) !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-link.is-active{
  background:linear-gradient(180deg, rgba(255,212,90,.18), rgba(87,220,255,.10)) !important;
  border-color:rgba(255,212,90,.34) !important;
  color:#fff !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-link i{
  color:#ffd45a !important;
}

/* Network management redesign: compact operational shell for the MTK section. */
body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard){
  --ua-net-ink:#f6fbff;
  --ua-net-soft:rgba(226,238,255,.70);
  --ua-net-surface:rgba(8,18,32,.92);
  --ua-net-surface-2:rgba(12,27,47,.94);
  --ua-net-border:rgba(255,215,92,.18);
  --ua-net-blue:#36b7e8;
  --ua-net-green:#35c47a;
  --ua-net-gold:#f1bd3a;
  --ua-net-red:#ee5b66;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav{
  display:grid !important;
  grid-template-columns:auto 1fr !important;
  align-items:center !important;
  gap:10px !important;
  min-height:52px !important;
  border-radius:8px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-head{
  min-height:32px !important;
  padding:0 10px !important;
  border-radius:8px !important;
  background:rgba(241,189,58,.10) !important;
  border:1px solid rgba(241,189,58,.16) !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-items{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  overflow-x:auto !important;
  padding-bottom:2px !important;
  scrollbar-width:thin !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav-link{
  flex:0 0 auto !important;
  border-radius:8px !important;
  padding:7px 10px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-network-admin-page .ua-net-hero{
  min-height:92px !important;
  padding:16px 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  border-radius:8px 8px 0 0 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-hero__main{
  min-width:0 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-kicker{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  margin-bottom:5px !important;
  color:var(--ua-net-gold) !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:0 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-hero h1{
  font-size:22px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-hero p{
  max-width:760px !important;
  margin:6px 0 0 !important;
  line-height:1.75 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-hero__actions{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-action{
  min-height:36px !important;
  padding:8px 12px !important;
  border-radius:8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  background:var(--ua-net-blue) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.14) !important;
  text-decoration:none !important;
  font-size:12px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-action--ghost{
  background:rgba(255,255,255,.08) !important;
  color:var(--ua-net-ink) !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stats{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  margin:0 0 12px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat{
  min-height:70px !important;
  padding:12px !important;
  border-radius:8px !important;
  display:grid !important;
  grid-template-columns:34px 1fr auto !important;
  align-items:center !important;
  gap:10px !important;
  border:1px solid var(--ua-net-border) !important;
  background:var(--ua-net-surface-2) !important;
  box-shadow:0 10px 22px rgba(0,0,0,.18) !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat i{
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(54,183,232,.12) !important;
  color:var(--ua-net-blue) !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat span{
  min-width:0 !important;
  color:var(--ua-net-soft) !important;
  font-size:12px !important;
  font-weight:900 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat strong{
  color:#fff !important;
  font-size:22px !important;
  font-weight:950 !important;
  line-height:1 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat.is-green i{background:rgba(53,196,122,.12) !important;color:var(--ua-net-green) !important;}
body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat.is-cyan i{background:rgba(54,183,232,.12) !important;color:var(--ua-net-blue) !important;}
body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stat.is-gold i{background:rgba(241,189,58,.13) !important;color:var(--ua-net-gold) !important;}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-layout{
  align-items:flex-start !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-panel{
  border-radius:8px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-panel .box-header{
  min-height:44px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-table{
  min-width:760px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-table tbody td:first-child{
  color:var(--ua-net-gold) !important;
  font-weight:950 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-actions{
  min-width:220px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-actions form,
body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-actions .btn{
  margin:2px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-form-panel{
  position:sticky !important;
  top:12px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-form{
  display:grid !important;
  gap:10px !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-form .form-group{
  margin-bottom:0 !important;
}

body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-form .btn-block + .btn-block{
  margin-top:0 !important;
}

@media (max-width:1100px){
  body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:820px){
  body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-subnav,
  body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-network-admin-page .ua-net-hero{
    grid-template-columns:1fr !important;
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-stats{
    grid-template-columns:1fr !important;
  }

  body.ua-shell-chrome.ua-sec-mtk:not(.ua-page-dashboard) .ua-net-form-panel{
    position:static !important;
  }
}
