:root {
  --cyan: #19d5cf;
  --nav: #111326;
  --nav-muted: #b8bac8;
  --page-bg: #ededf2;
  --card-head: #f2f2f7;
  --line: #e1e1e8;
  --text: #35364f;
  --muted: #85879c;
  --purple-a: #4227a5;
  --purple-b: #10043b;
  --purple-c: #32218d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #e8e8ee;
  color: var(--text);
}

button {
  font: inherit;
  cursor: pointer;
}

.admin-frame {
  width: 1040px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--page-bg);
  position: relative;
}

.admin-topbar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  background: #fff;
}

.top-left,
.top-tools {
  display: flex;
  align-items: center;
}

.gl-logo {
  width: 62px;
  color: #45455b;
  font-size: 13px;
  font-weight: 700;
}

.gl-logo span {
  display: inline-block;
  width: 4px;
}

.top-separator {
  width: 1px;
  height: 20px;
  margin: 0 14px;
  background: #8b8b98;
}

.panel-title {
  color: #363646;
  font-size: 14px;
}

.panel-title small {
  color: #5e7ccf;
  font-size: 10px;
}

.top-tools {
  gap: 14px;
  color: #8c8d98;
}

.tool {
  width: 14px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.tool.cloud::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 9px;
  left: 0;
  top: 4px;
  border-radius: 10px;
  background: #8f9299;
}

.tool.cloud::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  background: #ffb323;
}

.tool.help {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #888a93;
  color: #fff;
  font-size: 11px;
  line-height: 15px;
  text-align: center;
  font-weight: 700;
}

.tool.power {
  border: 2px solid #8b8d97;
  border-top-color: transparent;
  border-radius: 50%;
}

.tool.power::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 8px;
  left: 4px;
  top: -3px;
  background: #8b8d97;
}

.tool.logout::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 8px;
  left: 0;
  top: 3px;
  border: 2px solid #8b8d97;
  border-right: 0;
}

.tool.logout::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 0;
  top: 3px;
  border-top: 2px solid #8b8d97;
  border-right: 2px solid #8b8d97;
  transform: rotate(45deg);
}

.tool.palette {
  border-radius: 50%;
  border: 2px solid #8b8d97;
}

.tool.palette::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  right: 0;
  bottom: 1px;
  border-radius: 50%;
  background: #fff;
}

.top-tools::before,
.top-tools::after {
  content: "";
  width: 1px;
  height: 17px;
  background: #8b8d97;
}

.lang-button {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 2px;
  background: #858891;
  color: #fff;
  font-size: 10px;
  line-height: 20px;
  padding: 0;
}

.admin-body {
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 180px 1fr;
}

.sidebar {
  background: var(--nav);
  min-height: calc(100vh - 40px);
}

.menu {
  padding-top: 10px;
}

.menu-item {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--nav-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  position: relative;
}

.menu-item.active {
  color: var(--cyan);
}

.menu-item.has-arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .65;
}

.menu-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  position: relative;
  color: currentColor;
}

.menu-icon.globe {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.menu-icon.globe::before,
.menu-icon.globe::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  border-radius: 50%;
}

.menu-icon.globe::after {
  inset: 6px 0;
  border: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.menu-icon.wifi::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 2px;
  border: 2px solid currentColor;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%;
}

.menu-icon.wifi::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 6px;
  bottom: 1px;
  border-radius: 50%;
  background: currentColor;
}

.menu-icon.clients::before,
.menu-icon.clients::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

.menu-icon.clients::before {
  width: 9px;
  height: 7px;
  left: 0;
  top: 4px;
}

.menu-icon.clients::after {
  width: 6px;
  height: 5px;
  right: 0;
  bottom: 3px;
}

.menu-icon.astromesh::before,
.menu-icon.astromesh::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

.menu-icon.astromesh::before {
  width: 12px;
  height: 6px;
  left: 2px;
  top: 2px;
  border-bottom: 0;
}

.menu-icon.astromesh::after {
  width: 6px;
  height: 8px;
  left: 5px;
  bottom: 1px;
  border-top: 0;
}

.menu-icon.cloud-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 9px;
  left: 0;
  top: 5px;
  border-radius: 12px;
  background: currentColor;
}

.menu-icon.shield::before {
  content: "";
  position: absolute;
  inset: 1px 2px;
  background: currentColor;
  clip-path: polygon(50% 0, 92% 18%, 84% 72%, 50% 100%, 16% 72%, 8% 18%);
}

.menu-icon.apps::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 1px;
  top: 1px;
  background: currentColor;
  box-shadow: 9px 0 currentColor, 0 9px currentColor, 9px 9px currentColor;
}

.menu-icon.network::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 6px;
  top: 1px;
  background: currentColor;
  box-shadow: -5px 10px currentColor, 5px 10px currentColor;
}

.menu-icon.network::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 10px;
  left: 1px;
  top: 5px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.menu-icon.flow::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.menu-icon.flow::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 11px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skewX(-16deg);
}

.menu-icon.security::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  left: 2px;
  top: 2px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.menu-icon.security::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 6px;
  top: 6px;
  background: currentColor;
  box-shadow: -4px -4px currentColor, 4px -4px currentColor, -4px 4px currentColor, 4px 4px currentColor;
}

.menu-icon.system::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 4px dotted currentColor;
  border-radius: 50%;
}

.main {
  min-width: 0;
  min-height: calc(100vh - 40px);
  position: relative;
  padding-bottom: 44px;
}

.page {
  display: none;
}

.page.is-visible {
  display: block;
}

.hero-map {
  height: 290px;
  background: #130743;
  overflow: hidden;
}

.hero-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-area {
  padding: 16px 16px 70px;
}

.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(38, 39, 57, .13);
  overflow: hidden;
}

.card-head {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: var(--card-head);
  border-bottom: 1px solid var(--line);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d5d5de;
}

.dot.active {
  background: var(--cyan);
}

.card h2 {
  margin: 0;
  color: #373850;
  font-size: 16px;
  font-weight: 700;
}

.wan-badge {
  height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background: #17b9d2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.gear {
  width: 17px;
  height: 17px;
  border: 0;
  background: transparent;
  position: relative;
}

.gear::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 4px dotted #8e9099;
  border-radius: 50%;
}

.ethernet-card {
  height: 270px;
}

.ethernet-body {
  height: 222px;
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  padding: 24px 40px 22px 28px;
}

.info-table {
  align-self: start;
  padding-top: 2px;
}

.info-table div {
  height: 37px;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  border-bottom: 1px solid #e5e5ec;
  color: #535671;
  font-size: 12px;
}

.info-table strong {
  font-weight: 700;
  text-align: right;
}

.modify-button {
  width: 100px;
  height: 30px;
  display: block;
  margin: 16px auto 0;
  border: 1px solid #62658d;
  border-radius: 18px;
  background: #fff;
  color: #43466d;
  font-size: 12px;
}

.ethernet-illustration {
  display: grid;
  place-items: center;
}

.port-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f0f0f6;
  position: relative;
}

.port-icon::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 48px;
  left: 43px;
  top: 28px;
  border: 5px solid #373860;
  border-radius: 3px 3px 9px 9px;
}

.port-icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 28px;
  left: 51px;
  top: 78px;
  border: 5px solid #373860;
  border-top: 0;
}

.small-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.small-card-grid.has-connecting-repeater {
  grid-template-columns: repeat(2, 1fr);
}

.small-card {
  height: 183px;
}

.small-body {
  height: 135px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #4c4f76;
  font-size: 12px;
  font-weight: 600;
}

.small-body p {
  margin: 0;
}

.repeater-card {
  border-radius: 4px;
}

.repeater-card .card-head {
  height: 48px;
  padding: 0 20px;
  background: #f3f3f7;
}

.repeater-card .card-title {
  gap: 13px;
}

.repeater-card .dot {
  width: 7px;
  height: 7px;
  background: #d3d3db;
}

.repeater-card h2 {
  color: #1f213f;
  font-size: 16px;
  font-weight: 500;
}

.repeater-card .gear {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #8e8f98;
}

.repeater-card .gear::before {
  content: "\2699";
  position: static;
  inset: auto;
  border: 0;
  border-radius: 0;
  font-size: 19px;
  line-height: 1;
}

.repeater-body {
  grid-template-columns: 78px 1fr;
  gap: 20px;
  padding: 0 20px;
  color: #25274d;
  font-size: 12px;
  font-weight: 500;
}

.repeater-body p {
  margin-top: 1px;
  line-height: 1.25;
}

.repeater-card.is-connecting {
  grid-column: 1 / -1;
  height: 216px;
}

.repeater-card.is-connected {
  grid-column: 1 / -1;
  height: 316px;
}

.repeater-card.is-connecting .card-head {
  height: 48px;
}

.repeater-card.is-connected .card-head {
  height: 56px;
}

.repeater-card.is-connecting .dot {
  background: #ffad20;
}

.repeater-card.is-connected .dot {
  background: #11c7bb;
}

.selected-band-badge {
  min-width: 48px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #343865;
  border-radius: 4px;
  color: #292d5f;
  font-size: 13px;
  line-height: 1;
}

.connected-band-badge {
  min-width: 48px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 4px;
  background: #14b8ce;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.connected-wifi-mark {
  width: 11px;
  height: 9px;
  display: inline-block;
  position: relative;
  color: #fff;
}

.connected-wifi-mark::before,
.connected-wifi-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 1px solid currentColor;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%;
  transform: translateX(-50%);
}

.connected-wifi-mark::before {
  top: 0;
  width: 11px;
  height: 11px;
}

.connected-wifi-mark::after {
  top: 4px;
  width: 6px;
  height: 6px;
}

.repeater-connecting-body {
  height: 168px;
  display: grid;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 24px;
  padding: 22px 44px 22px 24px;
}

.repeater-connecting-main {
  min-width: 0;
}

.repeater-connected-body {
  height: 260px;
  display: grid;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 24px;
  padding: 18px 44px 22px 24px;
}

.repeater-connected-main {
  min-width: 0;
}

.connected-info-table {
  padding-right: 4px;
}

.connected-info-table div {
  min-height: 36px;
  display: grid;
  grid-template-columns: 165px 1fr;
  align-items: center;
  border-bottom: 1px solid #e5e5ec;
  color: #535671;
  font-size: 12px;
}

.connected-info-table strong {
  color: #242643;
  font-weight: 700;
  text-align: right;
}

.connecting-alert {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 4px;
  background: #fff5e5;
  color: #ff9f1c;
  font-size: 12px;
  font-weight: 600;
}

.connecting-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.connected-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.abort-button {
  width: 100px;
  height: 30px;
  border: 0;
  border-radius: 18px;
  background: #e44582;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.switch-network-button {
  min-width: 116px;
  height: 30px;
  padding: 0 16px;
  border: 1px solid #62658d;
  border-radius: 18px;
  background: #fff;
  color: #43466d;
  font-size: 12px;
}

.repeater-connecting-icon {
  justify-self: center;
  width: 118px;
  height: 118px;
}

.repeater-connecting-icon.wifi-large::before {
  left: 26px;
  top: 53px;
  font-size: 28px;
}

.repeater-connecting-icon.wifi-large::after {
  width: 66px;
  height: 66px;
  left: 25px;
  top: 24px;
}

.round-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f0f0f6;
  position: relative;
}

.wifi-large::before {
  content: "Wi-Fi";
  position: absolute;
  left: 12px;
  top: 25px;
  color: #38395f;
  font-size: 15px;
  font-weight: 700;
}

.wifi-large::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  left: 13px;
  top: 12px;
  border: 3px solid #38395f;
  border-color: #38395f transparent transparent transparent;
  border-radius: 50%;
}

.usb-large::before,
.usb-large::after {
  content: "";
  position: absolute;
  border: 3px solid #38395f;
}

.usb-large::before {
  width: 15px;
  height: 28px;
  left: 16px;
  top: 18px;
  border-radius: 3px;
}

.usb-large::after {
  width: 15px;
  height: 34px;
  right: 15px;
  top: 14px;
  border-radius: 3px;
}

.tower-large::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  left: 16px;
  top: 16px;
  border: 4px solid #38395f;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.tower-large::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 34px;
  left: 29px;
  top: 17px;
  background: #38395f;
}

.outline-button {
  width: 100px;
  height: 30px;
  margin-top: 10px;
  border: 1px solid #62658d;
  border-radius: 18px;
  background: #fff;
  color: #43466d;
  font-size: 12px;
}

.repeater-card .outline-button {
  width: 100px;
  height: 30px;
  margin-top: 11px;
  border-color: #38395f;
  color: #25274d;
}

.wireless-content {
  width: 100%;
  max-width: 1035px;
  min-height: 1396px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 28px 20px 78px;
}

.wireless-title {
  margin: 0 0 16px 14px;
  color: #292b5c;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.wireless-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 13px rgba(38, 39, 57, .12);
}

.wireless-panel-head {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: #f3f3f7;
  border-bottom: 1px solid #e5e5ec;
}

.wireless-panel-head h2 {
  margin: 0;
  color: #171936;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.mlo-panel {
  aspect-ratio: 1051 / 319;
  height: auto;
  background: transparent;
  box-shadow: none;
  margin-bottom: 20px;
}

.mlo-full-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-network-panel {
  min-height: 668px;
  margin-bottom: 20px;
}

.wifi-card-list {
  display: grid;
  gap: 20px;
  padding: 20px;
}

.wifi-card {
  min-height: 177px;
  padding: 18px 16px 18px 32px;
  border: 1px solid #cfd0d8;
  border-radius: 4px;
  background: #fff;
}

.wifi-card-top {
  height: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #d7d8df;
}

.wifi-band {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #202248;
  font-size: 14px;
}

.wifi-dot {
  width: 24px;
  height: 24px;
  display: inline-block;
  border-radius: 50%;
  background: #10c3b7;
  position: relative;
}

.wifi-dot::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  left: 5px;
  top: 7px;
  border: 2px solid #fff;
  border-color: #fff transparent transparent transparent;
  border-radius: 50%;
}

.wifi-dot::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 10px;
  top: 13px;
  border-radius: 50%;
  background: #fff;
}

.wifi-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tiny-toggle {
  width: 36px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #cbd0d8;
  position: relative;
}

.tiny-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
}

.tiny-toggle.is-on {
  background: #10c3b7;
}

.tiny-toggle.is-on::after {
  transform: translateX(14px);
}

.tiny-gear {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  position: relative;
}

.tiny-gear::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 4px dotted #8b8d97;
  border-radius: 50%;
}

.wifi-card-body {
  display: grid;
  grid-template-columns: 1fr 240px 78px;
  align-items: center;
  gap: 24px;
  min-height: 102px;
  padding-top: 13px;
}

.wifi-card h3 {
  margin: 0 0 18px;
  color: #181a2f;
  font-size: 16px;
}

.wifi-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wifi-tags span {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 3px;
  background: #e4fbff;
  color: #00a4d6;
  font-size: 12px;
}

.wifi-tags span:nth-child(3) {
  background: #eceeff;
  color: #526cff;
}

.wifi-password {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #40425a;
  font-size: 12px;
}

.eye {
  width: 14px;
  height: 10px;
  border: 2px solid #8d9099;
  border-radius: 50%;
  position: relative;
}

.eye::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 3px;
  top: 1px;
  border-radius: 50%;
  background: #8d9099;
}

.qr-code {
  width: 73px;
  height: 73px;
  background: url("./assets/wifi-qr.svg") center / contain no-repeat;
  image-rendering: pixelated;
}

.halow-network-panel {
  min-height: 184px;
}

.network-empty {
  padding: 20px;
}

.halow-card-list {
  display: none;
  padding: 0 20px 20px;
}

.halow-network-panel.has-halow .network-empty {
  display: none;
}

.halow-network-panel.has-halow .halow-card-list {
  display: grid;
  padding-top: 20px;
}

.network-notice {
  min-height: 64px;
  display: grid;
  grid-template-columns: 18px 1fr 125px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 4px;
  background: #eef2ff;
}

.mlo-info {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #22346d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.network-notice p {
  margin: 0;
  color: #11235e;
  font-size: 14px;
  line-height: 1.45;
}

.add-button {
  width: 124px;
  height: 36px;
  border: 0;
  border-radius: 20px;
  background: #5572f5;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.drawer-layer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

.drawer-layer.is-open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.network-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 755px;
  max-width: calc(100vw - 220px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -5px 0 18px rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition: transform .18s ease;
}

.drawer-layer.is-open .network-drawer {
  transform: translateX(0);
}

.drawer-head {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 26px;
  background: #f6f6fb;
  border-bottom: 1px solid #e0e1e8;
}

.drawer-head h2 {
  margin: 0;
  color: #22243f;
  font-size: 20px;
  font-weight: 600;
}

.drawer-close {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  position: relative;
}

.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  width: 1px;
  height: 18px;
  background: #9a9ca8;
}

.drawer-close::before {
  transform: rotate(45deg);
}

.drawer-close::after {
  transform: rotate(-45deg);
}

.drawer-body {
  flex: 1;
  padding: 32px 46px 24px 32px;
}

.drawer-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  border-bottom: 1px solid #e6e7ee;
}

.drawer-row label {
  color: #35376a;
  font-size: 14px;
}

.drawer-row input,
.drawer-row select {
  width: 200px;
  height: 36px;
  justify-self: end;
  border: 1px solid #d7d8df;
  border-radius: 3px;
  background: #fff;
  color: #30324a;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0 14px;
}

.drawer-row select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #c4c6d1 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(135deg, #c4c6d1 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
    #fff;
}

.drawer-radios {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.radio-chip {
  width: 112px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d6d7df;
  border-radius: 4px;
  background: #fff;
  color: #36384f;
  font-size: 14px;
  font-weight: 600;
}

.radio-chip.active {
  border-color: #14b8ce;
  background: #e8fbff;
}

.radio-chip input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #14b8ce;
}

.password-field {
  justify-self: end;
  width: 200px;
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 36px;
}

.password-field .eye {
  position: absolute;
  right: 11px;
  top: 13px;
}

.drawer-toggle {
  justify-self: end;
}

.drawer-value {
  justify-self: end;
  color: #35376a;
  font-size: 14px;
}

.wifi-settings-layer {
  z-index: 46;
}

.wifi-settings-drawer {
  width: 608px;
  max-width: min(608px, calc(100vw - 220px));
  box-shadow: -4px 0 14px rgba(0, 0, 0, .16);
}

.wifi-settings-head {
  height: 48px;
  padding: 0 24px;
}

.wifi-settings-head h2 {
  font-size: 16px;
  font-weight: 500;
}

.wifi-settings-body {
  padding: 28px 26px 24px;
  overflow-y: auto;
}

.wifi-settings-body .drawer-row {
  min-height: 48px;
  grid-template-columns: 220px 1fr;
}

.wifi-settings-body .drawer-row label {
  color: #444979;
  font-size: 12px;
  font-weight: 600;
}

.wifi-settings-body .drawer-row input,
.wifi-settings-body .drawer-row select,
.wifi-settings-body .password-field {
  width: 160px;
}

.wifi-settings-body .drawer-row input,
.wifi-settings-body .drawer-row select {
  height: 30px;
  font-size: 12px;
  font-weight: 500;
  color: #33354a;
}

.wifi-settings-body .password-field .eye {
  top: 10px;
}

.disabled-band-chip {
  justify-self: end;
  min-width: 80px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #ededf2;
  color: #aaaebd;
  font-size: 12px;
  font-weight: 600;
}

.disabled-band-chip::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border-radius: 50%;
  border: 3px solid #d4d6df;
}

.radio-config-section {
  margin-top: 10px;
}

.radio-config-section h3 {
  height: 36px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  border-radius: 4px;
  background: #f0f1f6;
  color: #5d6070;
  font-size: 12px;
  font-weight: 700;
}

.radio-config-notice {
  min-height: 40px;
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #eef2ff;
}

.radio-config-notice p {
  margin: 0;
  color: #526085;
  font-size: 12px;
  font-weight: 600;
}

.drawer-actions {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid #e0e1e8;
  background: #f6f6fb;
}

.drawer-button {
  width: 125px;
  height: 36px;
  border-radius: 19px;
  font-size: 14px;
  font-weight: 600;
}

.drawer-button.cancel {
  border: 1px solid #323562;
  background: transparent;
  color: #333660;
}

.drawer-button.apply {
  border: 0;
  background: #5572f5;
  color: #fff;
}

.repeater-join-layer {
  z-index: 45;
}

.repeater-join-drawer {
  width: 608px;
  max-width: min(608px, calc(100vw - 220px));
  box-shadow: none;
}

.repeater-join-head {
  height: 48px;
  padding: 0 24px;
}

.repeater-join-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #20233d;
  font-size: 16px;
  font-weight: 500;
}

.verified-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  border-radius: 50%;
  background: #8d909d;
  position: relative;
}

.verified-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.drawer-exit,
.text-action {
  border: 0;
  background: transparent;
  color: #5572f5;
  font-size: 12px;
}

.drawer-exit {
  padding: 8px 0;
}

.repeater-join-body {
  flex: 1;
  padding: 26px 24px 0;
  background: #fff;
  overflow-y: auto;
}

.wifi-support-notice {
  min-height: 78px;
  display: grid;
  grid-template-columns: 16px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 4px;
  background: #eef1ff;
  color: #596083;
}

.notice-info {
  width: 11px;
  height: 11px;
  display: inline-grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  border-radius: 50%;
  background: #4a5682;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.wifi-support-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.band-pill {
  min-width: 44px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  padding: 0 8px;
  border: 1px solid #586192;
  border-radius: 4px;
  background: #f7f8ff;
  color: #2d315f;
  font-weight: 500;
  line-height: 1;
}

.notice-close {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  position: relative;
}

.notice-close::before,
.notice-close::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: #8b8d99;
}

.notice-close::before {
  transform: rotate(45deg);
}

.notice-close::after {
  transform: rotate(-45deg);
}

.wifi-scan-state {
  height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: #404678;
  font-size: 14px;
  font-weight: 600;
}

.wifi-scan-state p {
  margin: 0;
}

.scan-spinner {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #17bfd0 0 36deg, transparent 36deg 72deg, #17bfd0 72deg 108deg, transparent 108deg 144deg, #17bfd0 144deg 180deg, transparent 180deg 216deg, #17bfd0 216deg 252deg, transparent 252deg 288deg, #17bfd0 288deg 324deg, transparent 324deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 9px, #000 10px);
  mask: radial-gradient(circle, transparent 0 9px, #000 10px);
  animation: scan-spin 1s linear infinite;
}

@keyframes scan-spin {
  to {
    transform: rotate(360deg);
  }
}

.wifi-other-row {
  height: 66px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  border-bottom: 1px solid #e6e7ee;
  padding-bottom: 11px;
}

.available-networks {
  display: none;
  margin-top: 20px;
}

.repeater-join-layer.has-networks .wifi-scan-state,
.repeater-join-layer.has-networks .wifi-other-row {
  display: none;
}

.repeater-join-layer.has-networks .available-networks {
  display: block;
}

.available-head {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 4px;
  background: #f0f0f4;
}

.available-head h3 {
  margin: 0;
  color: #595a66;
  font-size: 14px;
  font-weight: 700;
}

.network-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.network-list li {
  min-height: 42px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  color: #14172e;
  font-size: 16px;
}

.network-wifi-icon {
  width: 22px;
  height: 18px;
  position: relative;
  display: inline-block;
  color: #08b7d0;
}

.network-wifi-icon::before,
.network-wifi-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid currentColor;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%;
  transform: translateX(-50%);
}

.network-wifi-icon::before {
  top: 0;
  width: 22px;
  height: 22px;
}

.network-wifi-icon::after {
  top: 6px;
  width: 13px;
  height: 13px;
}

.network-wifi-icon {
  background: radial-gradient(circle at 50% 92%, currentColor 0 3px, transparent 3.5px);
}

.network-band {
  min-width: 56px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #25295c;
  border-radius: 4px;
  color: #24275b;
  font-size: 14px;
  line-height: 1;
}

.repeater-join-actions {
  height: 52px;
}

.refresh-button {
  width: 124px;
  background: #5a72f6;
}

.copyright {
  position: absolute;
  right: 42px;
  bottom: 14px;
  color: #666986;
  font-size: 11px;
}

.copyright a {
  color: #5578ff;
  text-decoration: none;
}

.modal-layer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.modal-layer.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .54);
}

.repeater-modal {
  position: relative;
  width: 592px;
  height: 400px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
  overflow: hidden;
  color: #171a3c;
}

.modal-head {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #f6f6fb;
  border-bottom: 1px solid #e6e6ee;
}

.modal-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.modal-body {
  height: 290px;
  padding: 36px 24px 0;
}

.inline-info {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #353664;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  vertical-align: 2px;
}

.repeater-option-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.repeater-option-row label {
  color: #303165;
  font-size: 14px;
  line-height: 1.2;
}

.toggle-switch {
  justify-self: end;
  width: 36px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #d2d4dd;
  position: relative;
  padding: 0;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
  transition: transform .16s ease;
}

.toggle-switch.is-on {
  background: #10c3b7;
}

.toggle-switch.is-on::after {
  transform: translateX(14px);
}

.band-row-option {
  align-items: start;
}

.band-segment {
  width: 318px;
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.12fr;
  align-items: stretch;
  padding: 2px;
  border: 1px solid #cfd0d8;
  border-radius: 4px;
  background: #eeeef3;
}

.band-segment button {
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #17182f;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.band-segment button.active {
  background: #14b8ce;
  color: #fff;
}

.band-segment button[role="radio"]:focus-visible,
.toggle-switch:focus-visible {
  outline: 2px solid #526fff;
  outline-offset: 2px;
}

.modal-actions {
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #f2f2f7;
  border-top: 1px solid #e1e1e8;
}

.modal-button {
  width: 125px;
  height: 36px;
  border-radius: 19px;
  font-size: 14px;
}

.modal-button.cancel {
  border: 1px solid #30345f;
  background: transparent;
  color: #202449;
}

.modal-button.apply {
  border: 0;
  background: #5470f2;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .admin-frame {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .network-drawer,
  .repeater-join-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .repeater-join-body {
    padding: 20px 16px 0;
  }

  .wifi-support-notice {
    grid-template-columns: 16px 1fr 18px;
    align-items: start;
  }
}
