:root {
  --bg:#f5f7fb;
  --surface:#fff;
  --surface-2:#f8fafc;
  --text:#172338;
  --muted:#7b8597;
  --line:#eaf0f6;
  --primary:#3475fa;
  --primary-deep:#205ce3;
  --primary-soft:#edf3ff;
  --green:#13ad83;
  --shadow:0 12px 36px rgba(40,71,115,.055);
  --radius:18px;
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: .55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #90b6ff;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -.035em;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.8;
}
small {
  font-size: 12px;
}
img {
  max-width: 100%;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.compact {
  font-size: 12px;
  line-height: 1.8;
}
.wrap {
  max-width: 1160px;
  margin: auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform .18s,
    background .18s,
    box-shadow .18s;
  font-size: 13px;
}
.btn > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}
.btn.primary {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 5px 14px #3475fa25;
}
.btn.primary:hover {
  background: var(--primary-deep);
}
.btn.white {
  background: #fff;
  color: #2461e9;
  border-color: #fff;
  box-shadow: 0 8px 22px #163dae30;
}
.btn.small {
  padding: 7px 13px;
  min-height: 35px;
  font-size: 12px;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn.danger {
  background: #e95760;
  border-color: #e95760;
  color: #fff;
}
.btn.danger-quiet {
  color: #dc5961;
}
.icon-btn {
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  min-width: 38px;
  min-height: 38px;
}
.icon-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
.icon-btn > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.btn.pending:before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn.pending > .icon {
  display: none;
}
.text-link {
  color: var(--primary);
  font-size: 13px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-mark {
  width: 39px;
  height: 39px;
  background:
    linear-gradient(
      140deg,
      #3474ff,
      #56c2f9);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 10px #377efa25;
}
.brand-mark .icon {
  width: 26px;
  height: 26px;
}
.brand b {
  display: block;
  font-size: 17px;
  letter-spacing: .015em;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.9px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 650;
}
.public-header {
  height: 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.public-nav {
  display: flex;
  gap: 32px;
  margin-right: auto;
  margin-left: 42px;
  font-size: 13px;
  color: var(--muted);
}
.public-nav a:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.landing {
  background: var(--surface);
}
.hero {
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 79% 25%,
      #e4efff 0,
      transparent 47%),
    radial-gradient(
      ellipse at 45% 90%,
      #eefcff 0,
      transparent 51%),
    linear-gradient(
      115deg,
      #f7f9ff,
      #f5f9ff 40%,
      #eef4ff);
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 92px;
}
.eyebrow-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #ebf0fa;
  border-radius: 30px;
  padding: 6px 13px;
  font-size: 11px;
  color: #718096;
  box-shadow: 0 2px 6px #4674b409;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #16c992;
  box-shadow: 0 0 0 3px #16c99216;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  font-size: 60px;
  font-weight: 760;
  line-height: 1.23;
  letter-spacing: -2px;
  margin-top: 25px;
  margin-bottom: 22px;
  color: #172d55;
}
.gradient-text {
  background:
    linear-gradient(
      95deg,
      #234b97,
      #397cff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-description {
  font-size: 17px;
  color: #7a879f;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 33px;
}
.hero-btn {
  height: 48px;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 13px;
}
.hero-checks {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  color: #8a97aa;
  font-size: 10px;
  flex-wrap: wrap;
}
.hero-checks > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.hero-checks .icon {
  width: 12px;
  height: 12px;
  color: #17ba8b;
}
.hero-art {
  height: 360px;
  position: relative;
  min-width: 0;
  perspective: 1000px;
}
.art-orbit {
  position: absolute;
  border: 1px dashed #c5d9fd;
  border-radius: 50%;
  width: 480px;
  height: 330px;
  left: 5px;
  top: 28px;
  transform: rotate(-18deg);
  opacity: .6;
}
.orbit-two {
  width: 365px;
  height: 445px;
  left: 80px;
  top: -35px;
  transform: rotate(50deg);
}
.demo-window {
  position: absolute;
  top: 46px;
  left: 0;
  width: 92%;
  height: 282px;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  border: 6px solid white;
  border-radius: 15px;
  box-shadow: 0 25px 40px #31578920, 0 4px 15px #31578908;
  transform: rotateY(-6deg) rotateX(3deg);
  overflow: hidden;
}
.demo-title {
  height: 37px;
  background: #f8faff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid #f0f3fa;
  font-size: 10px;
  color: #8793a7;
}
.demo-title > small {
  margin-left: auto;
  color: #a9b4c5;
  font-size: 8px;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff9d94;
}
.window-dots i:nth-child(2) {
  background: #ffd783;
}
.window-dots i:nth-child(3) {
  background: #77d8af;
}
.demo-body {
  display: flex;
  height: 100%;
  color: #243856;
}
.demo-sidebar {
  width: 46px;
  border-right: 1px solid #eff3fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 19px;
  color: #c2ccdd;
}
.demo-sidebar .icon {
  width: 15px;
  height: 15px;
}
.demo-sidebar .icon:first-child {
  color: #4a82fd;
}
.demo-content {
  padding: 18px 20px;
  flex: 1;
  min-width: 0;
}
.demo-device-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 650;
}
.demo-device-name .badge {
  transform: scale(.85);
  transform-origin: right;
}
.demo-chart {
  height: 62px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-top: 16px;
  padding-bottom: 0;
  border-bottom: 1px solid #ecf1ff;
}
.demo-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#77a6ff, #e7f0ff);
}
.demo-stats {
  display: flex;
  gap: 47px;
  margin-top: 13px;
}
.demo-stats small {
  display: block;
  color: #96a2b5;
  font-size: 8px;
}
.demo-stats b {
  font-size: 10px;
}
.demo-enter {
  margin-top: 12px;
  padding: 6px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f5ff;
  color: #5688f5;
  font-size: 9px;
  border-radius: 5px;
}
.demo-enter .icon {
  height: 12px;
  width: 12px;
}
.router-body {
  width: 106px;
  height: 166px;
  background:
    linear-gradient(
      130deg,
      #fff,
      #f5f9ff);
  border: 5px solid white;
  position: absolute;
  top: -1px;
  right: -5px;
  transform: rotate(8deg);
  border-radius: 24px;
  box-shadow: 0 15px 28px #3767a526;
  animation: float 7s ease-in-out infinite;
}
.router-top {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  color: #a1b2cd;
  font-size: 9px;
  padding: 10px 0;
}
.router-dot {
  width: 3px;
  height: 3px;
  background: #63dabb;
  border-radius: 50%;
}
.router-display {
  height: 83px;
  margin: 0 11px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    linear-gradient(
      145deg,
      #e8f3ff,
      #d0e8ff);
  color: #5486c4;
}
.router-display .icon {
  width: 20px;
  height: 20px;
}
.router-display b {
  font-size: 25px;
  line-height: 1.4;
}
.router-display small {
  font-size: 6px;
}
.router-bottom {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 17px;
}
.router-bottom i {
  height: 2px;
  width: 9px;
  border-radius: 2px;
  background: #dfe7f3;
}
.floating-label {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 10px 22px #29497d0e;
  display: flex;
  gap: 10px;
  align-items: center;
}
.label-online {
  top: 5px;
  left: 21px;
  padding: 9px 14px;
  font-size: 9px;
  color: #7d8b9f;
  animation: float 8s ease-in-out infinite;
}
.label-safe {
  left: -29px;
  bottom: 2px;
  padding: 13px 17px;
  animation: float 7s 1s ease-in-out infinite;
}
.label-safe b {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.label-safe small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.soft-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.soft-icon.green {
  background: #eafaf6;
  color: #13b58e;
}
.soft-icon.purple {
  background: #f3eeff;
  color: #9868f7;
}
.soft-icon.cyan {
  background: #e9faff;
  color: #2eadd5;
}
.soft-icon.orange {
  background: #fff4e9;
  color: #edab62;
}
.label-safe .soft-icon {
  width: 35px;
  height: 35px;
  border-radius: 9px;
}
.label-safe .icon {
  width: 18px;
  height: 18px;
}
.value-strip {
  background: #fcfdff;
  border-top: 1px solid #eff4fb;
  border-bottom: 1px solid #edf2f9;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 26px;
  padding-bottom: 26px;
}
.value-grid > div {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #edf1f7;
}
.value-grid > div:last-child {
  border: 0;
}
.value-grid .icon {
  color: #819bc8;
  width: 22px;
  height: 22px;
}
.value-grid b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.value-grid small {
  display: block;
  color: #9aa5b6;
  font-size: 10px;
  margin-top: 3px;
}
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-heading {
  text-align: center;
  margin-bottom: 43px;
}
.eyebrow {
  display: block;
  color: var(--primary);
  font-weight: 650;
  font-size: 10px;
  letter-spacing: 1.3px;
  margin-bottom: 11px;
}
.section-heading h2 {
  font-size: 30px;
  letter-spacing: -.8px;
}
.section-heading p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 13px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 27px 27px 25px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card h3 {
  margin-top: 21px;
  font-size: 16px;
}
.feature-card p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.9;
}
.connect-section {
  padding: 78px 0;
  background:
    linear-gradient(
      110deg,
      var(--surface-2),
      #f4f8ff);
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 110px;
  align-items: center;
}
.connect-grid h2 {
  font-size: 34px;
  margin-bottom: 17px;
  line-height: 1.5;
}
.connect-grid > .muted,
.connect-grid > div > p {
  font-size: 13px;
  max-width: 360px;
  margin-bottom: 24px;
}
.steps {
  display: grid;
  gap: 17px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 21px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 15px;
}
.step-num {
  font-weight: 700;
  font-size: 19px;
  color: #94b7ff;
  line-height: 1.5;
}
.step h3 {
  font-size: 14px;
}
.step p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 7px;
}
.security-section {
  padding: 76px 0;
  background: #0e192d;
  color: #fff;
}
.security-section .eyebrow {
  color: #91b6ff;
}
.security-section .section-heading p {
  color: #93a0b7;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.security-grid article {
  background: #182237;
  border: 1px solid #ffffff08;
  border-radius: 15px;
  padding: 25px 21px;
}
.security-grid .soft-icon {
  background: #22324e;
  color: #91b4f0;
  width: 35px;
  height: 35px;
  border-radius: 9px;
}
.security-grid .icon {
  width: 18px;
  height: 18px;
}
.security-grid h3 {
  font-size: 14px;
  margin: 20px 0 9px;
  color: #eef3ff;
}
.security-grid p {
  font-size: 11px;
  color: #97a4bb;
  line-height: 1.9;
}
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.25fr;
  gap: 90px;
  align-items: start;
}
.faq-grid h2 {
  font-size: 30px;
  line-height: 1.5;
  margin: 8px 0 14px;
}
.faq-grid > .muted,
.faq-grid > div > p {
  font-size: 12px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px 21px;
  background: var(--surface);
  transition: box-shadow .2s;
}
.faq-list details[open] {
  box-shadow: var(--shadow);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  width: 15px;
  height: 15px;
  color: #a1acc0;
}
.faq-list details[open] summary .icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-list details p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
  line-height: 1.9;
}
.bottom-cta {
  padding-top: 0;
  padding-bottom: 82px;
}
.bottom-cta > div {
  padding: 42px 48px;
  border-radius: 23px;
  background:
    linear-gradient(
      105deg,
      #2859ed,
      #528cff 80%,
      #79acff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bottom-cta h2 {
  font-size: 24px;
  position: relative;
}
.bottom-cta p {
  font-size: 12px;
  color: #e1eaff;
  margin-top: 10px;
  position: relative;
}
.bottom-cta .btn {
  z-index: 1;
}
.cta-orbit {
  position: absolute;
  right: 90px;
  top: -140px;
  width: 410px;
  height: 410px;
  border: 1px solid #ffffff16;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #ffffff08, 0 0 0 110px #ffffff05;
}
.footer {
  padding-top: 42px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 42px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-grid > div > b {
  font-size: 11px;
  margin-bottom: 6px;
}
.footer-grid > div > a:not(:first-child),
.footer-grid p,
.footer-grid small {
  font-size: 11px;
  color: var(--muted);
}
.footer-grid p {
  margin-top: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a3adbc;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 20px;
  padding: 4px 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}
.badge i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.badge.online {
  background: #e9f9f3;
  color: #1aa47e;
}
.badge.offline,
.badge.disabled {
  background: var(--surface-2);
  color: #9ca6b4;
}
.badge.blue {
  background: var(--primary-soft);
  color: var(--primary);
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
}
.sidebar > .brand,
.sidebar > a:first-child {
  margin-left: 12px;
}
.workspace-label {
  font-size: 10px;
  color: #a3adbc;
  padding: 40px 14px 13px;
  letter-spacing: 1px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-link {
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 12px;
  border-radius: 10px;
}
.side-link > span {
  display: flex;
  align-items: center;
  gap: 13px;
}
.side-link .icon {
  width: 19px;
  height: 19px;
}
.side-link:hover {
  background: var(--surface-2);
  color: var(--text);
}
.side-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 650;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.sidebar-tip {
  margin: 17px 3px 0;
  padding: 16px 9px;
  background: var(--surface-2);
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
}
.sidebar-tip .icon {
  color: #77a0e7;
  width: 18px;
  height: 18px;
}
.sidebar-tip small {
  display: block;
  font-size: 9px;
  margin-top: 2px;
  color: #a1acbd;
}
.workspace-main {
  margin-left: 232px;
  min-width: 0;
  flex: 1;
}
.workspace-top {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
}
.breadcrumb {
  display: flex;
  gap: 13px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.breadcrumb .icon {
  width: 12px;
  height: 12px;
  color: #c1cbd9;
}
.breadcrumb > span {
  color: var(--text);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.free-tag {
  font-size: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: .5px;
}
.account-mini {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  max-width: 180px;
}
.account-mini > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 120px;
}
.avatar {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #dceaff,
      #d2f7f2);
  color: #6193cb;
  font-weight: 650;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.avatar.large {
  width: 74px;
  height: 74px;
  font-size: 26px;
}
.mobile-menu {
  display: none;
}
.workspace-content {
  padding: 35px 38px 50px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.5px;
}
.page-heading .eyebrow {
  font-size: 8px;
  color: #97aac5;
  letter-spacing: 1.5px;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.page-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.stats-grid:has(> .stat-card:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  padding: 23px;
}
.stat-card:nth-child(2) > .soft-icon {
  background: #e9f9f5;
  color: #30b494;
}
.stat-card:nth-child(3) > .soft-icon {
  background: #f3edff;
  color: #a27bea;
}
.stat-card:nth-child(4) > .soft-icon {
  background: #fff2e8;
  color: #db9f66;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -.8px;
}
.stat-card small {
  font-size: 9px;
  color: #a2adbd;
  display: block;
}
.device-toolbar {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 20px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0 13px;
  min-width: 0;
  max-width: 390px;
  flex: 1;
}
.search-box .icon {
  color: #a4afc0;
  width: 17px;
  height: 17px;
}
.search-box input {
  border: 0;
  background: transparent;
  outline: 0;
  min-width: 0;
  width: 100%;
  height: 41px;
  color: var(--text);
  font-size: 12px;
}
.search-box input::placeholder {
  color: #a6afbd;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box:focus-within {
  border-color: #9bbdfb;
  box-shadow: 0 0 0 3px #3475fa09;
}
select {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 100%;
  font-size: 12px;
}
.result-count {
  font-size: 11px;
  color: #9faabc;
  margin-left: auto;
}
.group-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}
.group-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.group-tab.active {
  background: #e8effc;
  border-color: #dfe8fa;
  color: #3979ee;
}
.group-tab:hover {
  color: var(--primary);
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.device-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 23px 22px 13px;
  min-width: 0;
  transition: box-shadow .18s, transform .18s;
}
.device-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.device-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.device-glyph {
  width: 45px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #6094e9;
  background:
    linear-gradient(
      145deg,
      #f0f6ff,
      #e7f0ff);
}
.device-glyph .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.3;
}
.device-card h3 {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.device-model {
  font-size: 10px;
  color: #9aa6b9;
  margin-top: 6px;
}
.device-meta {
  margin-top: 21px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #9aa5b6;
  font-size: 10px;
}
.device-meta > span {
  display: flex;
  gap: 7px;
  align-items: center;
  overflow-wrap: anywhere;
}
.device-meta .icon {
  width: 12px;
  height: 12px;
}
.device-card-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 19px;
  padding-top: 8px;
  gap: 7px;
}
.text-btn {
  background: transparent;
  border: 0;
  color: var(--primary);
  padding: 6px 0;
  font-size: 11px;
  font-weight: 600;
}
.text-btn:hover {
  background: transparent;
}
.device-card-footer .icon-btn .icon {
  width: 15px;
  height: 15px;
}
.empty-state {
  padding: 52px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  grid-column: 1/-1;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 16px;
}
.empty-icon {
  width: 65px;
  height: 65px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: #8baef0;
  margin-bottom: 19px;
}
.empty-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.3;
}
.empty-state h3 {
  font-size: 17px;
  margin-bottom: 9px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 460px;
  overflow-wrap: anywhere;
}
.empty-state .btn {
  margin-top: 21px;
}
.loading-block {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  color: var(--muted);
  font-size: 12px;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #dce7fb;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: inline-block;
}
.initial-loading,
.startup-error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
}
.startup-error > .empty-state {
  width: min(480px, 90%);
}
.surface {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 20px;
  min-width: 0;
}
.surface > h2 {
  font-size: 17px;
  margin-bottom: 23px;
}
.surface-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.surface .empty-state {
  border: 0;
}
.activity-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.activity-row:last-child {
  border: 0;
}
.activity-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #9bb4d7;
  background: var(--surface-2);
  border-radius: 11px;
}
.activity-icon .icon {
  width: 17px;
  height: 17px;
}
.activity-main {
  flex: 1;
  min-width: 0;
}
.activity-main b {
  font-size: 12px;
  font-weight: 600;
}
.activity-main p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.activity-end {
  text-align: right;
  flex-shrink: 0;
}
.activity-end small {
  display: block;
  font-size: 9px;
  color: #a0adbe;
  margin-top: 6px;
}
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.notice-card {
  padding: 27px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.notice-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}
.notice-heading h2 {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.notice-heading small {
  font-size: 10px;
  display: block;
  margin-top: 6px;
}
.notice-heading > .badge {
  margin-left: auto;
}
.notice-content {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  margin-top: 24px;
  color: var(--muted);
}
.notice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 35px;
}
.profile-card h2 {
  font-size: 21px;
  overflow-wrap: anywhere;
}
.profile-card p {
  font-size: 12px;
  margin: 6px 0 10px;
}
.account-details {
  max-width: 770px;
}
.info-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.info-row > span {
  color: var(--muted);
  flex-shrink: 0;
}
.info-row > strong {
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.account-details .alert {
  margin-top: 23px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.quick-link {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}
.quick-link > span {
  display: flex;
  gap: 13px;
  align-items: center;
}
.quick-link > span > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quick-link b {
  font-size: 12px;
  font-weight: 600;
}
.quick-link small {
  color: var(--muted);
  font-size: 10px;
}
.quick-link > .icon {
  width: 15px;
  height: 15px;
  color: #b3bfce;
}
.quick-link .soft-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.quick-link .soft-icon .icon {
  width: 17px;
  height: 17px;
}
.overview-grid .compact {
  margin-top: 22px;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.user-row:last-child {
  border: 0;
}
.user-main {
  min-width: 0;
  flex: 1;
}
.user-main b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.user-main small {
  display: block;
  color: #a6afbd;
  font-size: 9px;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
.user-role {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 190px;
}
.user-quota {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 3px;
  min-width: 95px;
}
.user-quota b {
  font-size: 12px;
  font-weight: 600;
}
.user-quota small {
  color: var(--muted);
  font-size: 9px;
}
.settings-form {
  max-width: 760px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-stack > h2 {
  margin-bottom: 1px;
  font-size: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field > span {
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  outline: 0;
  font-size: 12px;
  line-height: 1.7;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b0b9c6;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #8db6ff;
  box-shadow: 0 0 0 3px #3475fa0a;
}
.field textarea {
  resize: vertical;
}
.field small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 3px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.settings-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.settings-title h2 {
  font-size: 18px;
}
.callback-box {
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 15px;
  min-width: 0;
}
.callback-box span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.callback-box code {
  font-size: 11px;
  color: var(--primary);
  overflow-wrap: anywhere;
  word-break: break-all;
}
.alert {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px 17px;
  background: var(--primary-soft);
  color: #6b8cbe;
  border: 1px solid #dfeafa;
  border-radius: 11px;
  font-size: 11px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.alert .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.alert.error {
  background: #fff0f1;
  border-color: #f6d9dc;
  color: #c9656d;
}
.alert.success {
  background: #edfaf4;
  border-color: #d2f0df;
  color: #48a884;
}
.alert + .release-card {
  margin-top: 24px;
}
.release-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.release-heading h2 {
  font-size: 20px;
}
.release-heading small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.release-heading .badge {
  margin-left: auto;
}
.release-assets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 24px;
}
.back-link .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}
.detail-status {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 26px;
}
.remote-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 20px;
}
.remote-head {
  padding: 14px 19px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.remote-head > div:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.remote-head > div:first-child .icon {
  color: var(--primary);
  width: 17px;
  height: 17px;
}
.remote-actions {
  display: flex;
  gap: 8px;
}
.remote-body {
  height: max(560px, calc(100vh - 380px));
  position: relative;
  background: #f7f9fb;
}
.remote-body iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #fff;
}
.remote-body > .empty-state,
.remote-body > .loading-block {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.remote-panel:fullscreen {
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.remote-panel:fullscreen .remote-body {
  height: auto;
  flex: 1;
}
.setup-page,
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at 75% 10%,
      #eaf3ff,
      transparent 50%),
    var(--bg);
}
.setup-wrap {
  max-width: 720px;
  padding: 55px 24px 70px;
  margin: auto;
}
.setup-intro {
  text-align: center;
  margin-bottom: 30px;
}
.setup-intro > .soft-icon {
  margin-bottom: 20px;
}
.setup-intro h1 {
  font-size: 29px;
  margin-bottom: 14px;
}
.setup-intro > p {
  color: var(--muted);
  font-size: 12px;
}
.setup-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.setup-step > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.setup-step h2 {
  font-size: 17px;
  margin-top: 3px;
}
.setup-step p {
  font-size: 11px;
  margin-top: 5px;
}
.setup-wrap .surface {
  padding: 30px;
}
.login-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.login-card {
  max-width: 480px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 47px 40px;
  border-radius: 23px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.login-art {
  display: grid;
  place-items: center;
  width: 83px;
  height: 83px;
  border-radius: 25px;
  background:
    linear-gradient(
      150deg,
      #edf4ff,
      #dcf9ff);
  color: #649cf5;
  margin-bottom: 26px;
}
.login-art .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
}
.login-card .eyebrow {
  font-size: 8px;
  color: #99acc7;
}
.login-card h1 {
  font-size: 24px;
  margin: 7px 0 17px;
}
.login-card p {
  font-size: 12px;
  line-height: 1.9;
}
.login-qq {
  width: 100%;
  margin-top: 29px;
}
.login-note {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #a5b0c1;
  font-size: 10px;
  margin-top: 20px;
}
.login-note .icon {
  width: 12px;
  height: 12px;
}
.login-card > .text-link {
  margin-top: 26px;
  font-size: 11px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #17294266;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fade .15s ease-out;
}
.modal {
  width: 100%;
  max-width: 475px;
  max-height: calc(100dvh - 50px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 19px;
  box-shadow: 0 30px 80px #06173325;
  animation: modal-in .2s ease-out;
}
.modal.wide {
  max-width: 680px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 23px 17px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-head h2 {
  font-size: 18px;
}
.modal-head > .icon-btn {
  padding: 6px;
  min-height: 29px;
  min-width: 29px;
}
.modal-head > .icon-btn > .icon {
  width: 18px;
  height: 18px;
}
.modal-body {
  padding: 25px;
}
.modal-body > p {
  font-size: 12px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 23px;
  flex-wrap: wrap;
}
.modal-body.form-stack .modal-actions {
  padding-top: 4px;
}
.modal-body > .info-row:first-child {
  padding-top: 0;
}
.pair-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 10px;
  background: var(--primary-soft);
  border: 1px dashed #b6cdf9;
  border-radius: 13px;
  margin: 21px 0;
}
.pair-code > span {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.pair-code strong {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 29px;
  letter-spacing: 4px;
  margin: 8px 0;
  color: var(--primary);
  overflow-wrap: anywhere;
  max-width: 100%;
}
.pair-code small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #91a8cb;
}
.pair-code small .icon {
  width: 12px;
  height: 12px;
}
.pair-steps {
  padding-left: 21px;
  color: var(--muted);
  font-size: 11px;
  line-height: 2.15;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.pair-finish {
  margin-top: 15px;
  text-align: center;
}
.pair-finish > .btn {
  border: 0;
  font-size: 11px;
  color: var(--muted);
}
.clipboard-helper {
  position: fixed;
  left: -9999px;
}
#toast-region {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 36px);
  pointer-events: none;
}
.toast {
  padding: 13px 20px;
  border: 1px solid #d9eee5;
  box-shadow: 0 9px 30px #17355515;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  animation: modal-in .2s ease-out;
  overflow-wrap: anywhere;
}
.toast .icon {
  color: #20b286;
  width: 18px;
  height: 18px;
}
.toast.error {
  border-color: #f3d7da;
}
.toast.error .icon {
  color: #de777d;
}
.toast > span {
  min-width: 0;
}
.file-drop {
  padding: 20px;
  border: 1px dashed #b5c9ea;
  border-radius: 12px;
  background: var(--surface-2);
}
.file-drop input {
  width: 100%;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.agent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.agent-actions > span {
  font-size: 11px;
  color: var(--muted);
  margin-right: 3px;
}
.agent-actions .btn {
  font-size: 10px;
  min-height: 33px;
}
.release-upload {
  margin-bottom: 25px;
}
[data-theme=dark] {
  --bg:#0f1622;
  --surface:#172130;
  --surface-2:#1a2738;
  --text:#dce6f5;
  --muted:#8496b1;
  --line:#253346;
  --primary:#6d9bff;
  --primary-deep:#5187fb;
  --primary-soft:#223653;
  --shadow:0 12px 36px #00000020;
  color-scheme: dark;
}
[data-theme=dark] .hero {
  background:
    radial-gradient(
      ellipse at 79% 25%,
      #193453 0,
      transparent 50%),
    radial-gradient(
      ellipse at 35% 90%,
      #143746 0,
      transparent 60%),
    #101d30;
}
[data-theme=dark] .hero h1 {
  color: #e2edff;
}
[data-theme=dark] .gradient-text {
  background-image:
    linear-gradient(
      95deg,
      #99bdff,
      #59b7ff);
}
[data-theme=dark] .eyebrow-pill {
  background: #1f3048;
  border-color: #2e4665;
  color: #a0b2cf;
}
[data-theme=dark] .value-strip {
  background: #152031;
  border-color: var(--line);
}
[data-theme=dark] .value-grid > div {
  border-color: var(--line);
}
[data-theme=dark] .connect-section {
  background: #121e2e;
}
[data-theme=dark] .soft-icon.green,
[data-theme=dark] .stat-card:nth-child(2) > .soft-icon {
  background: #173e37;
  color: #6ac9ae;
}
[data-theme=dark] .soft-icon.purple,
[data-theme=dark] .stat-card:nth-child(3) > .soft-icon {
  background: #33294a;
  color: #b9a0f1;
}
[data-theme=dark] .soft-icon.cyan {
  background: #183b4e;
  color: #6dcbe9;
}
[data-theme=dark] .soft-icon.orange,
[data-theme=dark] .stat-card:nth-child(4) > .soft-icon {
  background: #443323;
  color: #e2b88e;
}
[data-theme=dark] .device-glyph {
  background:
    linear-gradient(
      145deg,
      #223952,
      #254161);
  color: #81b1f7;
}
[data-theme=dark] .badge.online {
  background: #1d3d36;
  color: #68c7a8;
}
[data-theme=dark] .alert {
  background: #1c304c;
  color: #98b4dd;
  border-color: #2b4569;
}
[data-theme=dark] .alert.error {
  background: #422a34;
  border-color: #613640;
  color: #e7a2ab;
}
[data-theme=dark] .alert.success {
  background: #1c3934;
  border-color: #2e5147;
  color: #90c6af;
}
[data-theme=dark] .group-tab.active {
  background: #213b60;
  border-color: #2a4974;
  color: #93b8fc;
}
[data-theme=dark] .setup-page,
[data-theme=dark] .login-page {
  background:
    radial-gradient(
      ellipse at 75% 10%,
      #182c43,
      transparent 55%),
    var(--bg);
}
[data-theme=dark] .login-art {
  background:
    linear-gradient(
      150deg,
      #243a5a,
      #204856);
}
[data-theme=dark] .art-orbit {
  border-color: #3a5c88;
}
[data-theme=dark] .pair-code {
  border-color: #416599;
}
[data-theme=dark] .demo-window {
  background: #eef4fd;
  border-color: #e4edf9;
}
[data-theme=dark] .demo-window .badge.online {
  background: #d7f3e9;
  color: #35a780;
}
[data-theme=dark] .btn.primary {
  color: #fff;
  background: #3976ed;
  border-color: #3976ed;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1650px) {
  .device-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) {
  .hero h1 {
    font-size: 52px;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero-art {
    transform: scale(.93);
    transform-origin: center right;
  }
  .public-nav {
    margin-left: 20px;
    gap: 23px;
  }
  .workspace-content {
    padding: 30px 25px;
  }
  .workspace-top {
    padding: 0 25px;
  }
  .sidebar {
    width: 212px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .workspace-main {
    margin-left: 212px;
  }
  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    padding: 19px 16px;
    gap: 13px;
  }
  .stat-card > .soft-icon {
    width: 35px;
    height: 35px;
  }
  .stats-grid:has(> .stat-card:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .connect-grid {
    gap: 65px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .page-actions .btn {
    padding: 8px 12px;
    font-size: 11px;
  }
  .user-row {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .public-nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 65px;
    padding-bottom: 75px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-art {
    transform: scale(.82);
    transform-origin: center left;
    width: 380px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-btn {
    font-size: 11px;
    padding: 10px 16px;
    height: 43px;
  }
  .hero-checks {
    gap: 11px;
    font-size: 9px;
  }
  .hero {
    min-height: 500px;
  }
  .hero-copy {
    z-index: 1;
  }
  .value-grid > div {
    gap: 8px;
  }
  .value-grid .icon {
    width: 18px;
    height: 18px;
  }
  .value-grid b {
    font-size: 11px;
  }
  .value-grid small {
    font-size: 9px;
  }
  .feature-grid {
    gap: 13px;
  }
  .feature-card {
    padding: 22px 20px;
  }
  .feature-card h3 {
    font-size: 14px;
  }
  .feature-card p {
    font-size: 11px;
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .connect-grid {
    gap: 45px;
  }
  .connect-grid h2 {
    font-size: 28px;
  }
  .faq-grid {
    gap: 50px;
  }
  .bottom-cta > div {
    padding: 35px 30px;
  }
  .bottom-cta h2 {
    font-size: 21px;
  }
  .workspace-top {
    height: 70px;
  }
  .sidebar {
    width: 190px;
    padding: 24px 11px;
  }
  .sidebar > .brand,
  .sidebar > a:first-child {
    margin-left: 7px;
  }
  .brand b {
    font-size: 15px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 2.7px;
  }
  .workspace-main {
    margin-left: 190px;
  }
  .workspace-content {
    padding: 28px 22px;
  }
  .top-actions {
    gap: 9px;
  }
  .account-mini > span:last-child {
    max-width: 90px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 190px;
  }
  .stats-grid {
    gap: 11px;
  }
  .stat-card {
    padding: 16px 12px;
    gap: 10px;
  }
  .stat-card > .soft-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }
  .stat-card > .soft-icon .icon {
    width: 17px;
    height: 17px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-card small {
    font-size: 8px;
  }
  .device-grid {
    gap: 14px;
  }
  .device-card {
    padding: 19px 17px 10px;
  }
  .device-toolbar {
    gap: 9px;
  }
  .result-count {
    display: none;
  }
  .user-row {
    flex-wrap: wrap;
  }
  .user-main {
    flex-basis: calc(100% - 60px);
  }
  .user-role {
    margin-left: 44px;
  }
  .user-quota {
    margin-left: auto;
  }
  .user-row > .btn {
    margin-left: auto;
  }
  .detail-status {
    gap: 12px;
  }
  .remote-head {
    padding: 12px;
  }
  .remote-head > div:first-child {
    font-size: 11px;
  }
  .remote-actions .btn {
    font-size: 10px;
    padding: 6px 9px;
    gap: 5px;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding-left: 21px;
    padding-right: 21px;
  }
  .public-header {
    height: 68px;
  }
  .header-inner {
    gap: 10px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions > .btn {
    font-size: 11px;
    padding: 6px 12px;
  }
  .header-actions .icon-btn {
    min-width: 32px;
    padding: 7px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
    padding-top: 46px;
    padding-bottom: 45px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -1.5px;
    margin-top: 22px;
  }
  .hero h1 br {
    display: none;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.9;
  }
  .hero-description br {
    display: none;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 25px;
  }
  .hero-checks {
    justify-content: center;
    margin-top: 19px;
    font-size: 9px;
    gap: 17px;
  }
  .hero-art {
    width: 100%;
    max-width: 455px;
    height: 310px;
    margin: auto;
    transform: none;
    text-align: left;
    scale: .93;
  }
  .demo-window {
    height: 270px;
    top: 25px;
    width: 90%;
    left: 3%;
  }
  .label-online {
    top: -4px;
    left: 15px;
    font-size: 8px;
  }
  .router-body {
    width: 90px;
    height: 143px;
    right: 0;
    top: -5px;
    border-radius: 20px;
  }
  .router-top {
    padding: 7px 0;
  }
  .router-display {
    height: 73px;
    margin: 0 8px;
    border-radius: 10px;
  }
  .router-display b {
    font-size: 22px;
  }
  .router-display small {
    font-size: 5px;
  }
  .router-bottom {
    margin-top: 13px;
  }
  .label-safe {
    left: -2px;
    bottom: -3px;
    padding: 10px 14px;
  }
  .art-orbit {
    left: -10px;
    top: 0;
    width: calc(100% + 20px);
    height: 300px;
  }
  .orbit-two {
    width: 75%;
    height: 340px;
    left: 40px;
    top: -30px;
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .value-grid > div {
    gap: 12px;
    justify-content: flex-start;
    padding-left: 16px;
  }
  .value-grid > div:nth-child(2) {
    border: 0;
  }
  .value-grid b {
    font-size: 11px;
  }
  .value-grid small {
    font-size: 9px;
  }
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .section-heading {
    margin-bottom: 29px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading p {
    font-size: 11px;
    margin-top: 11px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature-card {
    padding: 21px 16px;
  }
  .feature-card h3 {
    font-size: 13px;
    margin-top: 17px;
  }
  .feature-card p {
    font-size: 10px;
    line-height: 1.9;
  }
  .feature-card .soft-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .feature-card .icon {
    width: 18px;
    height: 18px;
  }
  .connect-section {
    padding: 52px 0;
  }
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .connect-grid h2 {
    font-size: 28px;
  }
  .connect-grid h2 br {
    display: none;
  }
  .connect-grid > div > p {
    font-size: 11px;
  }
  .step {
    gap: 18px;
    padding: 20px;
  }
  .security-section {
    padding: 55px 0;
  }
  .security-grid {
    gap: 12px;
  }
  .security-grid article {
    padding: 20px 16px;
  }
  .security-grid h3 {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 15px;
  }
  .security-grid p {
    font-size: 10px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-grid h2 {
    font-size: 25px;
    margin-bottom: 11px;
  }
  .faq-grid h2 br {
    display: none;
  }
  .faq-list details {
    padding: 17px 16px;
  }
  .faq-list summary {
    font-size: 11px;
  }
  .faq-list details p {
    font-size: 10px;
  }
  .bottom-cta {
    padding-bottom: 48px;
  }
  .bottom-cta > div {
    padding: 31px 23px;
    flex-direction: column;
    text-align: center;
    gap: 23px;
    border-radius: 18px;
  }
  .bottom-cta h2 {
    font-size: 21px;
  }
  .bottom-cta p {
    font-size: 11px;
  }
  .footer {
    padding-top: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 10px;
    padding-bottom: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div {
    gap: 7px;
  }
  .footer-grid > div > b {
    font-size: 10px;
  }
  .footer-grid > div > a:not(:first-child),
  .footer-grid p,
  .footer-grid small {
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 17px;
    padding-bottom: 20px;
  }
  .sidebar {
    left: 0;
    width: 222px;
    transform: translateX(-100%);
    transition: transform .2s;
    box-shadow: 12px 0 35px #13284420;
    padding-top: 85px;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar > a:first-child {
    display: none;
  }
  .workspace-label {
    padding-top: 0;
  }
  .workspace-main {
    margin-left: 0;
  }
  .workspace-top {
    height: 65px;
    padding: 0 18px;
    position: relative;
    z-index: 30;
    gap: 8px;
  }
  .mobile-menu {
    display: inline-flex;
    margin-left: -7px;
  }
  .breadcrumb {
    margin-right: auto;
    gap: 8px;
    font-size: 10px;
  }
  .breadcrumb > a {
    display: none;
  }
  .breadcrumb > .icon {
    display: none;
  }
  .free-tag {
    display: none;
  }
  .account-mini {
    gap: 7px;
  }
  .account-mini > span:last-child {
    max-width: 68px;
    font-size: 10px;
  }
  .top-actions {
    gap: 6px;
  }
  .top-actions .icon-btn {
    padding: 6px;
    min-width: 31px;
    min-height: 33px;
  }
  .top-actions .icon-btn .icon {
    width: 18px;
    height: 18px;
  }
  .avatar {
    width: 29px;
    height: 29px;
  }
  .workspace-content {
    padding: 25px 18px 38px;
  }
  .page-heading {
    gap: 13px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    margin-bottom: 8px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 245px;
    margin-top: 7px;
  }
  .page-actions {
    gap: 6px;
    max-width: 130px;
    padding-top: 19px;
  }
  .page-actions .btn {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 34px;
    gap: 5px;
  }
  .page-actions .btn .icon {
    width: 13px;
    height: 13px;
  }
  .page-actions > .btn:first-child:not(.primary) {
    padding: 7px;
    min-width: 31px;
  }
  .page-actions > .btn:first-child:not(.primary) > span {
    display: none;
  }
  .stats-grid {
    gap: 9px;
    margin-bottom: 22px;
  }
  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 13px;
    border-radius: 12px;
  }
  .stat-card .soft-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .stat-card > div {
    width: 100%;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-card strong {
    font-size: 25px;
    line-height: 1.3;
    margin-top: 5px;
  }
  .stat-card small {
    font-size: 8px;
    line-height: 1.6;
    margin-top: 3px;
  }
  .device-toolbar {
    margin-bottom: 17px;
  }
  .search-box {
    padding: 0 10px;
    gap: 7px;
  }
  .search-box input {
    font-size: 10px;
    height: 37px;
  }
  .search-box .icon {
    width: 15px;
    height: 15px;
  }
  .device-toolbar > select {
    padding: 9px 7px;
    font-size: 10px;
    width: 89px;
  }
  .group-tabs {
    gap: 5px;
    margin-bottom: 17px;
  }
  .group-tab {
    padding: 5px 9px;
    font-size: 10px;
  }
  .device-grid {
    gap: 11px;
  }
  .device-card {
    border-radius: 13px;
    padding: 17px 13px 8px;
  }
  .device-card-top {
    margin-bottom: 16px;
    gap: 6px;
  }
  .device-glyph {
    width: 34px;
    height: 38px;
    border-radius: 10px;
  }
  .device-glyph .icon {
    width: 22px;
    height: 22px;
  }
  .device-card .badge {
    font-size: 8px;
    padding: 3px 6px;
    gap: 4px;
  }
  .device-card .badge i {
    width: 4px;
    height: 4px;
  }
  .device-card h3 {
    font-size: 13px;
    line-height: 1.55;
  }
  .device-model {
    font-size: 9px;
    margin-top: 5px;
  }
  .device-meta {
    font-size: 8px;
    margin-top: 17px;
    gap: 6px;
  }
  .device-meta .icon {
    width: 10px;
    height: 10px;
  }
  .device-meta > span {
    gap: 5px;
  }
  .device-card-footer {
    margin-top: 16px;
    padding-top: 5px;
  }
  .device-card-footer .text-btn {
    font-size: 9px;
    gap: 4px;
    min-height: 32px;
  }
  .device-card-footer .text-btn > span {
    gap: 4px;
  }
  .device-card-footer .text-btn .icon {
    width: 12px;
    height: 12px;
  }
  .device-card-footer .icon-btn {
    min-width: 26px;
    min-height: 30px;
    padding: 5px;
  }
  .device-card-footer .icon-btn .icon {
    width: 13px;
    height: 13px;
  }
  .surface {
    padding: 21px 18px;
    border-radius: 13px;
  }
  .surface > h2 {
    font-size: 16px;
  }
  .surface-toolbar {
    gap: 10px;
    margin-bottom: 10px;
  }
  .surface-toolbar > .btn {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 36px;
  }
  .activity-row {
    gap: 11px;
    flex-wrap: wrap;
    padding: 17px 0;
  }
  .activity-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .activity-main b {
    font-size: 11px;
  }
  .activity-main p {
    font-size: 9px;
  }
  .activity-end {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: flex-end;
  }
  .activity-end small {
    margin-top: 0;
    font-size: 9px;
  }
  .activity-end .badge {
    font-size: 8px;
  }
  .notice-card {
    padding: 22px 19px;
  }
  .notice-heading {
    gap: 11px;
    flex-wrap: wrap;
  }
  .notice-heading h2 {
    font-size: 15px;
  }
  .notice-heading .soft-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .notice-heading .soft-icon .icon {
    width: 17px;
    height: 17px;
  }
  .notice-heading small {
    font-size: 9px;
  }
  .notice-content {
    font-size: 12px;
    margin-top: 20px;
  }
  .profile-card {
    padding: 26px 20px;
    gap: 18px;
  }
  .profile-card h2 {
    font-size: 19px;
  }
  .avatar.large {
    width: 61px;
    height: 61px;
  }
  .profile-card p {
    font-size: 11px;
  }
  .info-row {
    font-size: 11px;
    gap: 15px;
  }
  .info-row > strong {
    font-size: 10px;
  }
  .overview-grid {
    gap: 0;
  }
  .user-role {
    margin-left: 0;
    max-width: none;
  }
  .user-row > .btn {
    font-size: 10px;
    min-height: 32px;
    padding: 6px 9px;
  }
  .user-row {
    gap: 12px 10px;
  }
  .user-quota {
    min-width: 65px;
  }
  .user-quota b {
    font-size: 10px;
  }
  .user-quota small {
    font-size: 8px;
  }
  .user-role .badge {
    font-size: 8px;
  }
  .form-stack {
    gap: 20px;
  }
  .field > span {
    font-size: 11px;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 12px;
    padding: 10px 11px;
  }
  .field small {
    font-size: 9px;
  }
  .form-two {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .form-footer > .btn {
    font-size: 11px;
  }
  .alert {
    font-size: 10px;
    padding: 13px;
    gap: 8px;
  }
  .alert .icon {
    width: 15px;
    height: 15px;
    margin-top: 2px;
  }
  .settings-title h2 {
    font-size: 16px;
  }
  .callback-box code {
    font-size: 10px;
  }
  .release-assets .btn {
    font-size: 10px;
    padding: 8px 11px;
    min-height: 35px;
  }
  .release-heading {
    gap: 11px;
    flex-wrap: wrap;
  }
  .release-heading .soft-icon {
    width: 35px;
    height: 35px;
  }
  .release-heading h2 {
    font-size: 17px;
  }
  .back-link {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .detail-status {
    font-size: 9px;
    gap: 10px 13px;
    margin-top: -6px;
    margin-bottom: 20px;
  }
  .detail-status .badge {
    font-size: 9px;
  }
  .remote-head {
    gap: 8px;
    padding: 10px;
  }
  .remote-head > div:first-child {
    gap: 5px;
    font-size: 10px;
  }
  .remote-head > div:first-child > .icon {
    width: 14px;
    height: 14px;
  }
  .remote-actions {
    gap: 5px;
  }
  .remote-actions .btn {
    font-size: 9px;
    gap: 4px;
    padding: 6px 7px;
    min-height: 30px;
  }
  .remote-actions .btn .icon {
    width: 12px;
    height: 12px;
  }
  .remote-body {
    height: 680px;
  }
  .agent-actions {
    gap: 6px;
    margin-bottom: 18px;
  }
  .agent-actions > span {
    font-size: 9px;
  }
  .agent-actions .btn {
    font-size: 9px;
    gap: 5px;
    padding: 6px 8px;
  }
  .agent-actions .btn .icon {
    width: 12px;
    height: 12px;
  }
  .setup-wrap {
    padding: 38px 18px 45px;
  }
  .setup-intro h1 {
    font-size: 25px;
  }
  .setup-intro > p {
    font-size: 11px;
  }
  .setup-wrap .surface {
    padding: 24px 19px;
  }
  .setup-step h2 {
    font-size: 16px;
  }
  .setup-step p {
    font-size: 10px;
  }
  .setup-intro {
    margin-bottom: 25px;
  }
  .login-wrap {
    padding: 40px 18px;
    min-height: calc(100vh - 68px);
  }
  .login-card {
    padding: 36px 25px;
    border-radius: 19px;
  }
  .login-card h1 {
    font-size: 22px;
  }
  .login-card p {
    font-size: 11px;
  }
  .login-note {
    font-size: 9px;
  }
  .modal-overlay {
    padding: 16px;
  }
  .modal {
    max-height: calc(100dvh - 32px);
    border-radius: 16px;
  }
  .modal-head {
    padding: 17px 19px;
  }
  .modal-head h2 {
    font-size: 16px;
  }
  .modal-body {
    padding: 21px 19px;
  }
  .modal-body > p {
    font-size: 11px;
  }
  .modal-actions {
    gap: 8px;
  }
  .modal-actions > .btn {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 37px;
  }
  .pair-code strong {
    font-size: 24px;
    letter-spacing: 3px;
  }
  .pair-code small {
    font-size: 9px;
  }
  .pair-steps {
    font-size: 10px;
  }
  .toast {
    padding: 12px 15px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding-left: 17px;
    padding-right: 17px;
  }
  .brand {
    gap: 8px;
  }
  .brand b {
    font-size: 14px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .header-actions .btn .icon {
    display: none;
  }
  .header-actions > .btn {
    font-size: 10px;
    padding: 6px 10px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-btn {
    font-size: 10px;
    padding: 9px 13px;
    gap: 6px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-checks {
    gap: 10px;
    font-size: 8px;
  }
  .hero-art {
    height: 286px;
    scale: .92;
  }
  .demo-content {
    padding: 15px 11px;
  }
  .demo-window {
    width: 94%;
    left: 1%;
    height: 252px;
  }
  .demo-stats {
    gap: 32px;
  }
  .demo-chart {
    gap: 5px;
  }
  .router-body {
    right: -5px;
    top: -10px;
    width: 79px;
    height: 132px;
  }
  .router-display {
    height: 66px;
  }
  .label-safe {
    bottom: 0;
  }
  .feature-card {
    padding: 18px 13px;
  }
  .feature-card h3 {
    font-size: 12px;
  }
  .feature-card p {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .workspace-content {
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace-top {
    padding: 0 14px;
  }
  .top-actions {
    gap: 3px;
  }
  .account-mini > span:last-child {
    max-width: 52px;
    font-size: 9px;
  }
  .page-heading {
    gap: 9px;
  }
  .page-heading h1 {
    font-size: 21px;
  }
  .page-actions {
    max-width: 124px;
    gap: 5px;
  }
  .page-actions .btn {
    font-size: 9px;
    padding: 7px 8px;
  }
  .stat-card {
    padding: 12px 10px;
  }
  .device-card {
    padding: 15px 11px 8px;
  }
  .device-card h3 {
    font-size: 12px;
  }
  .device-card-top {
    gap: 4px;
  }
  .device-glyph {
    width: 29px;
    height: 34px;
  }
  .device-card .badge {
    font-size: 7px;
    padding: 3px 5px;
  }
  .device-meta {
    font-size: 7px;
  }
  .device-card-footer .text-btn {
    font-size: 8px;
  }
  .device-card-footer .icon-btn {
    min-width: 23px;
  }
  .remote-head > div:first-child .icon {
    display: none;
  }
  .remote-actions .btn .icon {
    display: none;
  }
  .remote-actions .btn {
    font-size: 8px;
  }
  .agent-actions > span {
    width: 100%;
  }
  .user-role {
    gap: 5px;
  }
  .user-role .badge {
    padding: 4px 6px;
    font-size: 7px;
  }
  .user-quota {
    min-width: 53px;
  }
  .user-quota small {
    font-size: 7px;
  }
  .user-row > .btn {
    padding: 5px 7px;
    font-size: 9px;
  }
  .pair-code strong {
    font-size: 21px;
    letter-spacing: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.brand b {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.platform-notice {
  margin-bottom: 24px;
}
.public-notice {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  padding: 11px 0;
}
.public-notice > .wrap {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  overflow-wrap: anywhere;
}
.public-notice .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.pair-code strong {
  font-size: clamp(13px, 4.25vw, 20px);
  letter-spacing: .7px;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .brand b {
    max-width: 110px;
  }
}
@media (max-width: 360px) {
  .brand b {
    max-width: 90px;
  }
}

.demo-bar-35{height:35%}
.demo-bar-52{height:52%}
.demo-bar-43{height:43%}
.demo-bar-68{height:68%}
.demo-bar-55{height:55%}
.demo-bar-81{height:81%}
.demo-bar-65{height:65%}
.demo-bar-92{height:92%}
.demo-bar-79{height:79%}
.demo-bar-87{height:87%}
.demo-bar-66{height:66%}
.demo-bar-100{height:100%}
.demo-bar-88{height:88%}
.demo-bar-94{height:94%}

/* Loading evidence is separate from the device's websocket online state. */
.remote-load-status { display:flex; align-items:flex-start; gap:8px; padding:11px 18px; border-bottom:1px solid var(--line); background:var(--surface-2); color:var(--muted); font-size:11px; line-height:1.8; }
.remote-load-status[hidden] { display:none; }
.remote-load-status > .icon { width:16px; height:16px; margin-top:2px; color:var(--primary); }
.remote-load-status[data-state="error"] { background:#fff1f2; color:#bc5862; border-bottom-color:#f2dadd; }
.remote-load-status[data-state="error"] > .icon { color:#cb6972; }
.remote-load-status[data-state="timeout"] { background:#fff7e9; color:#a78142; border-bottom-color:#f3e7ce; }
.remote-load-status[data-state="timeout"] > .icon { color:#bd9556; }
[data-theme="dark"] .remote-load-status[data-state="error"] { background:#3b2935; color:#e4a6af; border-bottom-color:#583645; }
[data-theme="dark"] .remote-load-status[data-state="timeout"] { background:#39332a; color:#d7bb89; border-bottom-color:#504735; }
@media(max-width:680px) { .remote-load-status { font-size:10px; padding:10px 12px; gap:7px; } }
