/* 最强集团安卓远控 V5 · 全局界面重构包 */
:root {
  --zq-bg0: #02050a;
  --zq-bg1: #06111b;
  --zq-panel: rgba(8, 14, 23, .76);
  --zq-panel-2: rgba(12, 20, 32, .82);
  --zq-border: rgba(20, 241, 149, .22);
  --zq-border-blue: rgba(0, 234, 255, .18);
  --zq-text: #edfdfa;
  --zq-muted: rgba(222, 245, 247, .62);
  --zq-accent: #38d5ff;
  --zq-cyan: #00eaff;
  --zq-purple: #7c3cff;
  --zq-red: #ff466d;
  --zq-amber: #ffb020;
  --zq-radius: 22px;
  --zq-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  --zq-glow: 0 0 28px rgba(20, 241, 149, .28);
  --zq-font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

html, body, #app {
  font-family: var(--zq-font) !important;
  background: var(--zq-bg0) !important;
  color: var(--zq-text) !important;
}

body.zq-v5-ready #app {
  background-image:
    radial-gradient(circle at 16% 15%, rgba(0, 234, 255, .16), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(124, 60, 255, .16), transparent 32%),
    linear-gradient(135deg, rgba(2, 5, 10, .86), rgba(3, 10, 18, .78)),
    url('/assets/login-zq-v5.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
}

body.zq-v5-ready #app::before {
  background-image:
    linear-gradient(rgba(20, 241, 149, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 234, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 28% 35%, rgba(20, 241, 149, .08), transparent 34%),
    radial-gradient(circle at 70% 74%, rgba(0, 234, 255, .06), transparent 36%) !important;
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100% !important;
  opacity: .9 !important;
}

body.zq-v5-ready #app::after {
  background: conic-gradient(from 120deg at 50% 50%, transparent, rgba(20, 241, 149, .05), transparent, rgba(0, 234, 255, .05), transparent) !important;
  animation: zqV5Spin 50s linear infinite !important;
}

@keyframes zqV5Spin { to { transform: rotate(360deg); } }

/* 统一玻璃主布局 */
.n-layout,
.n-layout-scroll-container,
.n-layout-content,
.n-layout-header,
.n-layout-footer,
.layout,
.layout-content,
.layout-default-background,
.tabs-view-dark-background {
  background: transparent !important;
}

.n-layout-sider,
.layout-sider {
  background:
    linear-gradient(180deg, rgba(5, 12, 20, .92), rgba(3, 7, 12, .88)) !important;
  border-right: 1px solid rgba(20, 241, 149, .18) !important;
  box-shadow: 18px 0 55px rgba(0, 0, 0, .42), inset -1px 0 rgba(255, 255, 255, .04) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
}

.n-layout-sider::before,
.layout-sider::before {
  content: "";
  position: absolute;
  inset: 14px 12px;
  border: 1px solid rgba(0, 234, 255, .09);
  border-radius: 24px;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(20, 241, 149, .06), transparent 32%),
    radial-gradient(circle at 10% 5%, rgba(0, 234, 255, .14), transparent 35%);
}

.logo,
.layout-header-left .logo {
  min-height: 84px !important;
  padding: 18px 22px !important;
  gap: 12px !important;
}

.logo img,
.layout-header-left .logo img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 16px rgba(20, 241, 149, .55)) !important;
}

.logo .title,
.layout-header-left .logo .title {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  line-height: 1.1 !important;
}

.logo .title::before,
.layout-header-left .logo .title::before {
  content: "最强集团安卓远控" !important;
  display: block !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: .5px !important;
  color: #fff !important;
  text-shadow: 0 0 18px rgba(20, 241, 149, .32) !important;
}

.logo .title::after,
.layout-header-left .logo .title::after {
  content: "V5 私有管理控制台" !important;
  display: block !important;
  margin: 5px 0 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2.8px !important;
  color: var(--zq-accent) !important;
  opacity: .9 !important;
}

/* 菜单重新排版 */
.n-menu {
  padding: 14px 20px !important;
}

.n-menu-item-content {
  height: 50px !important;
  margin: 8px 0 !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  border: 1px solid transparent !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.n-menu-item-content:hover {
  background: rgba(255, 255, 255, .055) !important;
  border-color: rgba(0, 234, 255, .18) !important;
  transform: translateX(4px) !important;
}

.n-menu-item-content--selected,
.n-menu-item-content--active,
.n-menu-item-content--selected::before,
.n-menu-item-content--active::before {
  background: linear-gradient(135deg, rgba(20, 241, 149, .20), rgba(0, 234, 255, .08)) !important;
  border-color: rgba(20, 241, 149, .34) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 12px 32px rgba(20, 241, 149, .12) !important;
}

.n-menu-item-content .n-menu-item-content-header,
.n-menu-item-content .n-icon {
  color: rgba(239, 253, 250, .82) !important;
}

.n-menu-item-content--selected .n-menu-item-content-header,
.n-menu-item-content--active .n-menu-item-content-header,
.n-menu-item-content--selected .n-icon,
.n-menu-item-content--active .n-icon {
  color: var(--zq-accent) !important;
  font-weight: 900 !important;
}

.sidebar-user-footer {
  margin: 0 18px 18px !important;
  border: 1px solid rgba(20, 241, 149, .18) !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(20, 241, 149, .08), rgba(0, 234, 255, .04)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* 顶栏 */
.n-layout-header,
.layout-header {
  min-height: 76px !important;
  background: rgba(3, 8, 14, .68) !important;
  border-bottom: 1px solid rgba(20, 241, 149, .12) !important;
  box-shadow: 0 15px 44px rgba(0, 0, 0, .28) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
}

.layout-header-right,
.n-layout-header [class*="right"] {
  gap: 14px !important;
}

.n-avatar,
.n-avatar img,
.layout-header-right img,
.layout-header img[src*="logo"],
img.zq-v5-avatar {
  border-radius: 16px !important;
  border: 1px solid rgba(20, 241, 149, .36) !important;
  box-shadow: 0 0 0 4px rgba(20, 241, 149, .08), 0 0 24px rgba(20, 241, 149, .28) !important;
  background: #06111b !important;
}

/* 标签栏 */
.n-tabs,
.n-tabs-nav,
.tabs-view {
  background: rgba(5, 9, 16, .58) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

.n-tabs-tab,
.n-tag {
  height: 36px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  color: rgba(239, 253, 250, .68) !important;
  margin: 0 4px !important;
}

.n-tabs-tab--active,
.n-tag--checked {
  color: var(--zq-accent) !important;
  border-color: rgba(20, 241, 149, .28) !important;
  background: rgba(20, 241, 149, .09) !important;
}

/* 内容区通用排版 */
.n-layout-content,
.layout-content {
  padding: 18px !important;
}

.n-card,
.proCard,
.app-download-card,
.apk-gen-card,
.apk-gen-section,
[class*="card"],
[class*="Card"] {
  border-radius: var(--zq-radius) !important;
  border: 1px solid rgba(255, 255, 255, .075) !important;
  background:
    linear-gradient(145deg, rgba(13, 20, 31, .86), rgba(7, 12, 21, .78)) !important;
  box-shadow: var(--zq-shadow) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
}

.n-card:hover,
.proCard:hover,
.app-download-card:hover,
.apk-gen-card:hover {
  border-color: rgba(20, 241, 149, .22) !important;
  box-shadow: 0 26px 80px rgba(0,0,0,.52), 0 0 34px rgba(20, 241, 149, .08) !important;
}

.n-card-header,
.n-card-header__main,
.n-card-header__title,
.table-toolbar-left-title,
.home-section-title,
.apk-gen-title,
[class*="title"] {
  color: var(--zq-text) !important;
}

.n-card-header__main,
.table-toolbar-left-title,
.home-section-title,
.apk-gen-title {
  font-weight: 900 !important;
  letter-spacing: .4px !important;
}

.n-card-header__main::before,
.home-section-title::before,
.apk-gen-title::before,
.table-toolbar-left-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--zq-accent), var(--zq-cyan));
  box-shadow: 0 0 14px rgba(20, 241, 149, .5);
}

/* 表格 */
.n-data-table,
.n-data-table-base-table,
.n-table {
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(5, 10, 18, .58) !important;
}

.n-data-table-th,
.n-data-table .n-data-table-th,
.n-table th {
  background: rgba(20, 241, 149, .08) !important;
  color: #dffff8 !important;
  font-weight: 800 !important;
  border-bottom: 1px solid rgba(20, 241, 149, .14) !important;
}

.n-data-table-td,
.n-table td {
  background: rgba(4, 8, 14, .44) !important;
  color: rgba(239, 253, 250, .78) !important;
  border-bottom: 1px solid rgba(255,255,255,.055) !important;
}

.n-data-table-tr:hover .n-data-table-td,
.n-table tr:hover td {
  background: rgba(20, 241, 149, .06) !important;
}

/* 表单 */
.n-input,
.n-input-wrapper,
.n-base-selection,
.n-base-selection-label,
.n-select,
.n-date-picker,
.n-input-number,
textarea,
input {
  border-radius: 14px !important;
  --n-color: rgba(255,255,255,.065) !important;
  --n-color-focus: rgba(255,255,255,.09) !important;
  --n-border: 1px solid rgba(255,255,255,.10) !important;
  --n-border-hover: 1px solid rgba(0,234,255,.30) !important;
  --n-border-focus: 1px solid rgba(20,241,149,.52) !important;
  --n-box-shadow-focus: 0 0 0 3px rgba(20,241,149,.14) !important;
}

.n-form-item-label,
.n-form-item-label__text,
label {
  color: rgba(239, 253, 250, .72) !important;
  font-weight: 800 !important;
}

/* 按钮 */
.n-button,
button {
  border-radius: 14px !important;
  font-weight: 850 !important;
  letter-spacing: .2px !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

.n-button:hover,
button:hover {
  transform: translateY(-1px) !important;
}

.n-button--primary-type,
.n-button[type="primary"],
button[class*="primary"],
.custom-logout-btn {
  background: linear-gradient(135deg, #38d5ff, #00c2ff) !important;
  border: none !important;
  color: #03100d !important;
  box-shadow: 0 14px 34px rgba(20, 241, 149, .24) !important;
}

.btn-dark-red,
.n-button--error-type,
.n-button--tertiary-type[style*="red"] {
  background: linear-gradient(135deg, rgba(255, 70, 109, .95), rgba(158, 35, 76, .95)) !important;
  border: none !important;
  color: #fff !important;
}

/* APK 构建/下载页面 */
body.zq-page-app-manage .n-layout-content,
body.zq-page-app-manage .layout-content {
  padding: 20px 24px !important;
}

body.zq-page-app-manage .apk-gen-layout,
body.zq-page-app-manage [class*="apk"] {
  scroll-behavior: smooth;
}

.app-download-card {
  width: 220px !important;
  min-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 24px 18px !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(20, 241, 149, .12), transparent 45%),
    linear-gradient(160deg, rgba(8, 15, 25, .92), rgba(3, 7, 12, .82)) !important;
}

.app-download-card img,
.app-download-card .n-image img,
.app-download-card [class*="icon"] img {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.32), 0 0 22px rgba(20, 241, 149, .18) !important;
}

.app-name-text {
  margin-top: 14px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #fff !important;
  text-align: center !important;
}

.app-info-item {
  color: rgba(239, 253, 250, .48) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.apk-gen-buildbar {
  position: sticky !important;
  top: 84px !important;
  z-index: 8 !important;
  background: rgba(4, 8, 14, .62) !important;
  border: 1px solid rgba(20, 241, 149, .12) !important;
  border-radius: 18px !important;
  padding: 12px !important;
  backdrop-filter: blur(14px) !important;
}

/* 首页 / 设备中心 */
.home-overview-card,
.home-section,
.device-card,
.stats-card {
  background: linear-gradient(135deg, rgba(20, 241, 149, .11), rgba(0, 234, 255, .045)) !important;
}

.home-overview-num,
.stats-num,
[class*="num"] {
  color: #fff !important;
  text-shadow: 0 0 20px rgba(20, 241, 149, .22) !important;
}

/* 首页数据态势中心 */
.zq-data-card {
  overflow: hidden !important;
  border: 1px solid rgba(20, 241, 149, .16) !important;
  background:
    radial-gradient(circle at 18% 15%, rgba(20, 241, 149, .16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(0, 234, 255, .13), transparent 30%),
    linear-gradient(135deg, rgba(5, 15, 22, .92), rgba(3, 8, 16, .88)) !important;
}

.zq-data-panel { padding: 6px 2px 4px; }

.zq-data-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.zq-data-title {
  margin-bottom: 5px !important;
  font-size: 17px !important;
  letter-spacing: .5px !important;
}

.zq-data-sub {
  color: rgba(226, 250, 246, .48);
  font-size: 12px;
}

.zq-data-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(226, 250, 246, .78);
  font-size: 12px;
  background: rgba(20, 241, 149, .08);
  border: 1px solid rgba(20, 241, 149, .18);
  box-shadow: inset 0 0 18px rgba(20, 241, 149, .06);
}

.zq-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38d5ff;
  box-shadow: 0 0 0 6px rgba(20, 241, 149, .12), 0 0 18px rgba(20, 241, 149, .9);
}

.zq-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.zq-kpi {
  position: relative;
  min-height: 104px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

.zq-kpi::after {
  content: "";
  position: absolute;
  inset: auto -28px -36px auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: currentColor;
  opacity: .12;
  filter: blur(2px);
}

.zq-kpi span {
  display: block;
  color: rgba(226, 250, 246, .6);
  font-size: 12px;
}

.zq-kpi strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .5px;
  text-shadow: 0 0 22px currentColor;
}

.zq-kpi em {
  display: block;
  margin-top: 10px;
  color: rgba(226, 250, 246, .44);
  font-size: 12px;
  font-style: normal;
}

.zq-kpi-green { color: #38d5ff; }
.zq-kpi-cyan { color: #38d5ff; }
.zq-kpi-violet { color: #9d8cff; }
.zq-kpi-orange { color: #ff9f43; }

.zq-data-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.zq-health-card,
.zq-chart-shell {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.zq-health-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
}

.zq-health-ring {
  --p: 0%;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(#38d5ff var(--p), rgba(255,255,255,.08) 0);
  box-shadow: 0 0 35px rgba(20, 241, 149, .12);
}

.zq-health-ring::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: rgba(5, 13, 19, .94);
  border: 1px solid rgba(255,255,255,.06);
}

.zq-health-ring b,
.zq-health-ring span {
  position: relative;
  z-index: 1;
}

.zq-health-ring b {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.zq-health-ring span {
  margin-top: 44px;
  position: absolute;
  color: rgba(226, 250, 246, .42);
  font-size: 10px;
  letter-spacing: 1.5px;
}

.zq-health-meta {
  text-align: center;
}

.zq-health-meta strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}

.zq-health-meta > span {
  display: block;
  color: rgba(226, 250, 246, .48);
  font-size: 12px;
  line-height: 1.55;
}

.zq-health-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.zq-health-tags i {
  padding: 4px 7px;
  border-radius: 999px;
  color: rgba(20, 241, 149, .9);
  font-size: 11px;
  font-style: normal;
  background: rgba(20, 241, 149, .08);
  border: 1px solid rgba(20, 241, 149, .14);
}

.zq-chart-shell {
  position: relative;
  min-height: 300px;
  padding: 22px 24px 48px 54px;
}

.zq-chart-axis {
  position: absolute;
  left: 16px;
  top: 22px;
  bottom: 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(226, 250, 246, .34);
  font-size: 11px;
}

.zq-chart-grid {
  height: 235px;
  display: grid;
  grid-template-columns: repeat(7, minmax(54px, 1fr));
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 100% 25%;
}

.zq-day-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.zq-bars {
  height: 205px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
}

.zq-bar {
  width: 9px;
  min-height: 2px;
  border-radius: 999px 999px 2px 2px;
  transition: height .35s ease, filter .2s ease;
  box-shadow: 0 0 16px currentColor;
}

.zq-bar:hover {
  filter: brightness(1.35);
}

.zq-bar.total { color: #38d5ff; background: linear-gradient(180deg, #38d5ff, #0aa86b); }
.zq-bar.online { color: #38d5ff; background: linear-gradient(180deg, #38d5ff, #1584ff); }
.zq-bar.new { color: #ff9f43; background: linear-gradient(180deg, #ffb45f, #ff7a18); }
.zq-bar.acc { color: #9d8cff; background: linear-gradient(180deg, #b6a6ff, #7c64ff); }

.zq-day-label {
  margin-top: 10px;
  text-align: center;
  color: rgba(226, 250, 246, .55);
  font-size: 12px;
  font-weight: 700;
}

.zq-chart-legend {
  position: absolute;
  left: 54px;
  right: 24px;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(226, 250, 246, .62);
  font-size: 12px;
}

.zq-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.zq-chart-legend span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.zq-chart-legend .total { color: #38d5ff; }
.zq-chart-legend .online { color: #38d5ff; }
.zq-chart-legend .new { color: #ff9f43; }
.zq-chart-legend .acc { color: #9d8cff; }

@media (max-width: 1200px) {
  .zq-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zq-data-body { grid-template-columns: 1fr; }
}

/* 详情页/弹窗 */
.n-modal,
.n-dialog,
.n-drawer,
.n-popover,
.n-dropdown-menu {
  border-radius: 22px !important;
  background: rgba(6, 12, 20, .92) !important;
  border: 1px solid rgba(20, 241, 149, .16) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.56) !important;
  backdrop-filter: blur(20px) saturate(155%) !important;
}

.n-dialog__title,
.n-modal .n-card-header__main,
.n-drawer-header__main {
  color: #fff !important;
  font-weight: 900 !important;
}

/* 登录页整体重排 */
body.zq-page-login .view-account {
  background-image: url('/assets/login-zq-v5.png') !important;
  background-size: cover !important;
  background-position: center !important;
}

body.zq-page-login .v3-left-bg-img {
  background-image: url('/assets/login-zq-v5.png') !important;
  opacity: 1 !important;
  filter: saturate(1.15) contrast(1.05) brightness(.86) !important;
}

body.zq-page-login .v3-left-content { display: none !important; }

body.zq-page-login .view-account-container {
  background:
    linear-gradient(180deg, rgba(2, 6, 12, .88), rgba(3, 8, 16, .82)) !important;
  border-left: 1px solid rgba(20, 241, 149, .18) !important;
}

body.zq-page-login .view-account-form {
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(6, 13, 22, .82), rgba(3, 8, 14, .74)) !important;
  border: 1px solid rgba(20, 241, 149, .18) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

body.zq-page-login .view-account-top-desc {
  font-size: 29px !important;
  font-weight: 950 !important;
  letter-spacing: .5px !important;
}

/* V5 动态增强脚本生成元素 */
.zq-v5-page-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px 22px;
  border: 1px solid rgba(20, 241, 149, .16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6, 14, 23, .78), rgba(2, 7, 13, .58));
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
}

.zq-v5-page-titlebar .zq-title {
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: .8px;
}

.zq-v5-page-titlebar .zq-subtitle {
  margin-top: 4px;
  color: rgba(239, 253, 250, .54);
  font-size: 12px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.zq-v5-page-titlebar .zq-badge {
  padding: 8px 14px;
  border-radius: 999px;
  color: #06110f;
  background: linear-gradient(135deg, var(--zq-accent), var(--zq-cyan));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(20, 241, 149, .22);
}

.zq-v5-watermark {
  position: fixed;
  right: 34px;
  bottom: 28px;
  z-index: 1;
  pointer-events: none;
  color: rgba(255,255,255,.05);
  font-size: 72px;
  font-weight: 950;
  letter-spacing: -2px;
}

.zq-v5-corner-line {
  position: fixed;
  inset: 96px 22px 22px 302px;
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(20, 241, 149, .08);
  border-radius: 30px;
}

@media (max-width: 1200px) {
  .n-layout-content, .layout-content { padding: 14px !important; }
  .zq-v5-page-titlebar { margin-bottom: 12px; }
  .v3-left-panel { display: none !important; }
  .view-account-container { min-width: 100vw !important; }
}

/* /list 设备列表：卡片式文字布局 */
.zq-device-card-panel {
  overflow: hidden !important;
  border: 1px solid rgba(20, 241, 149, .18) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 241, 149, .12), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(0, 234, 255, .10), transparent 32%),
    linear-gradient(145deg, rgba(5, 12, 22, .92), rgba(3, 7, 14, .88)) !important;
}

.zq-device-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 2px 2px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.zq-device-panel-title {
  color: #f4fffd;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .8px;
}

.zq-device-panel-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, #38d5ff, #00eaff);
  box-shadow: 0 0 16px rgba(20, 241, 149, .62);
}

.zq-device-panel-sub {
  margin-top: 5px;
  color: rgba(226, 250, 246, .48);
  font-size: 12px;
  letter-spacing: .4px;
}

.zq-device-toolbar-actions,
.zq-device-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.zq-device-refresh,
.zq-device-page-btn {
  min-width: 74px !important;
  height: 34px !important;
  border: 1px solid rgba(20, 241, 149, .28) !important;
  background: rgba(20, 241, 149, .08) !important;
  color: #dffff8 !important;
}

.zq-page-size-btn {
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.045) !important;
  color: rgba(226, 250, 246, .62) !important;
  font-size: 12px !important;
  cursor: pointer;
}

.zq-page-size-btn.is-active {
  color: #04110f !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #38d5ff, #00eaff) !important;
  box-shadow: 0 10px 24px rgba(20, 241, 149, .18) !important;
}

.zq-device-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
  gap: 16px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.zq-device-card {
  position: relative;
  min-height: 336px;
  padding: 14px 16px 15px;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  background:
    linear-gradient(90deg, rgba(20, 241, 149, .72), rgba(0, 234, 255, .2)) left top / 4px 100% no-repeat,
    radial-gradient(circle at 0 0, rgba(20, 241, 149, .14), transparent 28%),
    linear-gradient(160deg, rgba(18, 24, 35, .96), rgba(8, 12, 20, .94)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 48px rgba(0,0,0,.34) !important;
  overflow: hidden;
}

.zq-device-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(0, 234, 255, .10);
  filter: blur(6px);
  pointer-events: none;
}

.zq-device-card.is-disabled {
  opacity: .78;
  background:
    linear-gradient(90deg, rgba(255, 70, 109, .65), rgba(255, 176, 32, .18)) left top / 4px 100% no-repeat,
    linear-gradient(160deg, rgba(24, 24, 28, .95), rgba(10, 10, 14, .94)) !important;
}

.zq-device-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.zq-device-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 84px;
  color: #fff;
  font-weight: 950;
  font-size: 14px;
  letter-spacing: .5px;
}

.zq-device-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #38d5ff;
  box-shadow: 0 0 0 6px rgba(20, 241, 149, .10), 0 0 18px rgba(20, 241, 149, .9);
}

.zq-device-state.is-off .zq-device-dot {
  background: #ff466d;
  box-shadow: 0 0 0 6px rgba(255, 70, 109, .10), 0 0 18px rgba(255, 70, 109, .75);
}

.zq-device-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.zq-device-action {
  height: 30px !important;
  padding: 0 11px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.055) !important;
  color: #eafffb !important;
  box-shadow: none !important;
}

.zq-device-action--control { border-color: rgba(0, 234, 255, .38) !important; color: #65e8ff !important; }
.zq-device-action--assign { border-color: rgba(255, 176, 32, .40) !important; color: #ffc56c !important; }
.zq-device-action--remark { border-color: rgba(236, 72, 153, .38) !important; color: #ff8cc9 !important; }
.zq-device-action--enable { border-color: rgba(20, 241, 149, .38) !important; color: #7dffcc !important; }
.zq-device-action--delete { border-color: rgba(255, 70, 109, .42) !important; color: #ff8da4 !important; }

.zq-device-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.zq-device-visual {
  position: relative;
  min-height: 164px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(3, 8, 14, .72);
  box-shadow: inset 0 0 24px rgba(20, 241, 149, .08);
  overflow: visible;
}

.zq-device-wallpaper-img {
  display: block;
  width: 100%;
  height: 164px;
  object-fit: cover;
  border-radius: 18px;
  opacity: .78;
  filter: saturate(1.05) contrast(1.05);
}

.zq-device-screen {
  position: absolute;
  left: 50%;
  bottom: -23px;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(4, 9, 15, .94);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 10px 28px rgba(0,0,0,.38), 0 0 20px rgba(20, 241, 149, .12);
}

.zq-device-screen img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.zq-device-screen.is-on {
  border-color: rgba(20, 241, 149, .42);
}

.zq-device-battery {
  position: absolute;
  top: 9px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px 4px 29px;
  border-radius: 999px;
  color: #04110f;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(135deg, #38d5ff, #91ff6a);
  box-shadow: 0 8px 20px rgba(20, 241, 149, .18);
}

.zq-device-battery::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 12px;
  height: 7px;
  transform: translateY(-50%);
  border: 2px solid currentColor;
  border-radius: 3px;
  background: linear-gradient(90deg, currentColor 72%, transparent 72%);
  box-sizing: content-box;
}

.zq-device-battery::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 3px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 0 3px 3px 0;
  background: currentColor;
}

.zq-device-info {
  min-width: 0;
}

.zq-device-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.zq-device-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .3px;
}

.zq-device-country {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  color: #98fff0;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(20, 241, 149, .22);
  background: rgba(20, 241, 149, .08);
}

.zq-device-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(226, 250, 246, .45);
  font-size: 12px;
  margin-bottom: 9px;
}

.zq-device-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.zq-device-field {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.075);
}

.zq-device-field span {
  flex: none;
  color: rgba(226, 250, 246, .55);
  font-size: 12px;
  font-weight: 850;
}

.zq-device-field b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.zq-device-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.zq-device-remark-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(226, 250, 246, .52);
  font-size: 12px;
  font-weight: 850;
}

.zq-device-remark-line b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #38d5ff;
  font-size: 13px;
  font-weight: 950;
}

.zq-device-tags {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.zq-device-chip {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
}

.zq-device-chip.is-on {
  color: #78ffd0;
  border-color: rgba(20, 241, 149, .24);
  background: rgba(20, 241, 149, .08);
}

.zq-device-chip.is-warn {
  color: #ffd18a;
  border-color: rgba(255, 176, 32, .24);
  background: rgba(255, 176, 32, .08);
}

.zq-device-empty {
  padding: 58px 20px;
  border: 1px dashed rgba(20, 241, 149, .24) !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: none !important;
  color: rgba(226, 250, 246, .55);
  text-align: center;
  font-weight: 850;
}

.zq-device-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.zq-device-count {
  color: rgba(226, 250, 246, .55);
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .zq-device-toolbar,
  .zq-device-pager,
  .zq-device-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .zq-device-card-grid {
    grid-template-columns: 1fr;
  }
  .zq-device-main {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .zq-device-visual,
  .zq-device-wallpaper-img {
    height: 142px;
    min-height: 142px;
  }
  .zq-device-fields {
    grid-template-columns: 1fr;
  }
}


/* /info 设备详情页 · 极简统一配色重构 */
body.zq-page-info {
  --info-bg: #050810;
  --info-panel: rgba(12, 18, 28, .88);
  --info-panel-2: rgba(16, 24, 36, .92);
  --info-line: rgba(148, 163, 184, .18);
  --info-line-soft: rgba(148, 163, 184, .10);
  --info-text: #e5edf4;
  --info-muted: #8b98a8;
  --info-accent: #2dd4bf;
  --info-accent-2: #38bdf8;
  --info-radius: 18px;
  background:
    radial-gradient(circle at 18% 8%, rgba(45, 212, 191, .10), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, .08), transparent 34%),
    linear-gradient(135deg, #050810, #07111d 52%, #050810) !important;
}

body.zq-page-info .layout-content,
body.zq-page-info .n-layout-content {
  padding: 14px 18px 22px !important;
}

body.zq-page-info .zq-v5-page-titlebar {
  display: none !important;
}

body.zq-page-info .n-card.mt-4,
body.zq-page-info .mt-4.n-card,
body.zq-page-info .n-card[data-v-fc0266af] {
  border-radius: 22px !important;
  border: 1px solid var(--info-line) !important;
  background:
    linear-gradient(180deg, rgba(15, 23, 34, .94), rgba(8, 13, 22, .94)) !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34) !important;
  overflow: hidden !important;
}

body.zq-page-info .n-card.mt-4 > .n-card__content,
body.zq-page-info .mt-4.n-card > .n-card__content,
body.zq-page-info .n-card[data-v-fc0266af] > .n-card__content {
  padding: 14px !important;
}

/* 顶部设备状态栏 */
body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child {
  padding: 15px 18px !important;
  margin-bottom: 12px !important;
  border: 1px solid var(--info-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 0 0, rgba(45, 212, 191, .08), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 34, .88), rgba(8, 13, 22, .82)) !important;
  box-shadow: none !important;
}

body.zq-page-info .top-password-box {
  padding: 7px 9px !important;
  border: 1px solid var(--info-line) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.035) !important;
}

/* 所有按钮统一极简版本：同尺寸、同圆角、同颜色 */
body.zq-page-info .n-button,
body.zq-page-info button,
body.zq-page-info .image-box-group .n-button[data-v-fc0266af],
body.zq-page-info .tabs-wrapper .n-button[data-v-fc0266af],
body.zq-page-info .inner-sidebar .n-button[data-v-fc0266af],
body.zq-page-info .button-row .n-button[data-v-fc0266af],
body.zq-page-info .top-password-box .n-button--warning-type,
body.zq-page-info .n-descriptions .n-button--warning-type[data-v-fc0266af],
body.zq-page-info .n-button.reconnect-btn[data-v-fc0266af] {
  min-width: auto !important;
  height: 32px !important;
  padding: 0 13px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(45, 212, 191, .34) !important;
  background: rgba(45, 212, 191, .075) !important;
  box-shadow: none !important;
  color: var(--info-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
  text-shadow: none !important;
  transform: none !important;
}

body.zq-page-info .n-button .n-button__content,
body.zq-page-info button .n-button__content,
body.zq-page-info .top-password-box .n-button--warning-type .n-button__content,
body.zq-page-info .n-descriptions .n-button--warning-type[data-v-fc0266af] .n-button__content,
body.zq-page-info .n-button.reconnect-btn[data-v-fc0266af] .n-button__content {
  color: var(--info-accent) !important;
}

body.zq-page-info .n-button:hover,
body.zq-page-info button:hover,
body.zq-page-info .image-box-group .n-button[data-v-fc0266af]:hover,
body.zq-page-info .tabs-wrapper .n-button[data-v-fc0266af]:hover,
body.zq-page-info .inner-sidebar .n-button[data-v-fc0266af]:hover,
body.zq-page-info .button-row .n-button[data-v-fc0266af]:hover,
body.zq-page-info .top-password-box .n-button--warning-type:hover,
body.zq-page-info .n-descriptions .n-button--warning-type[data-v-fc0266af]:hover,
body.zq-page-info .n-button.reconnect-btn[data-v-fc0266af]:hover {
  border-color: rgba(45, 212, 191, .58) !important;
  background: rgba(45, 212, 191, .13) !important;
  color: #a7fff4 !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .08) !important;
  filter: none !important;
  transform: none !important;
}

body.zq-page-info .n-button--disabled,
body.zq-page-info .n-button[disabled],
body.zq-page-info button[disabled] {
  opacity: .42 !important;
  filter: grayscale(.25) !important;
}

/* 输入框/下拉统一 */
body.zq-page-info .n-input,
body.zq-page-info .n-base-selection,
body.zq-page-info .n-input-wrapper,
body.zq-page-info .n-base-selection-label {
  min-height: 32px !important;
  border-radius: 11px !important;
  --n-color: rgba(255,255,255,.045) !important;
  --n-color-focus: rgba(255,255,255,.07) !important;
  --n-border: 1px solid var(--info-line) !important;
  --n-border-hover: 1px solid rgba(45,212,191,.38) !important;
  --n-border-focus: 1px solid rgba(45,212,191,.62) !important;
  --n-box-shadow-focus: 0 0 0 3px rgba(45,212,191,.08) !important;
  color: var(--info-text) !important;
  background: rgba(255,255,255,.035) !important;
}

body.zq-page-info .n-input__input-el,
body.zq-page-info .n-base-selection-input,
body.zq-page-info .n-base-selection-placeholder {
  color: var(--info-text) !important;
}

/* 信息描述区从老式表格改为信息卡片 */
body.zq-page-info .n-descriptions,
body.zq-page-info .n-descriptions-table-wrapper,
body.zq-page-info .n-descriptions-table {
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .n-descriptions-table {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}

body.zq-page-info .n-descriptions-table tbody,
body.zq-page-info .n-descriptions-table tr {
  display: contents !important;
}

body.zq-page-info .n-descriptions-table td,
body.zq-page-info .n-descriptions-table th,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content,
body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  display: block !important;
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .n-descriptions-table td {
  min-height: 72px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--info-line-soft) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.035) !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  margin-bottom: 7px !important;
  color: var(--info-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content {
  color: var(--info-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  word-break: break-word !important;
}

/* 主内容布局：左侧投屏操控，右侧数据记录 */
body.zq-page-info .image-container[data-v-fc0266af],
body.zq-page-info .image-container {
  display: grid !important;
  grid-template-columns: minmax(650px, 1.04fr) minmax(560px, .96fr) !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  margin-top: 16px !important;
  box-sizing: border-box !important;
}

body.zq-page-info .image-box-group[data-v-fc0266af],
body.zq-page-info .image-box-group,
body.zq-page-info .tabs-wrapper[data-v-fc0266af],
body.zq-page-info .tabs-wrapper {
  margin: 0 !important;
  padding: 16px !important;
  border-radius: 22px !important;
  border: 1px solid var(--info-line) !important;
  background:
    linear-gradient(180deg, rgba(13, 20, 31, .92), rgba(7, 12, 20, .92)) !important;
  box-shadow: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.zq-page-info .image-box-group[data-v-fc0266af],
body.zq-page-info .image-box-group {
  display: grid !important;
  grid-template-columns: minmax(230px, 1fr) 92px minmax(230px, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  justify-content: stretch !important;
}

body.zq-page-info .image-box[data-v-fc0266af],
body.zq-page-info .image-box {
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
}

body.zq-page-info .image-box > .button-container:first-child::before,
body.zq-page-info .image-box > .button-container:first-child::before {
  content: "屏幕阅读";
  margin-right: auto;
  color: var(--info-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
}

body.zq-page-info .image-box:nth-of-type(2) > .button-container:first-child::before {
  content: "截图通道";
}

body.zq-page-info .button-container[data-v-fc0266af],
body.zq-page-info .button-container,
body.zq-page-info .screen-nav-row[data-v-fc0266af],
body.zq-page-info .screen-nav-row,
body.zq-page-info .image2-input-row[data-v-fc0266af],
body.zq-page-info .image2-input-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: 0 0 10px !important;
}

body.zq-page-info .screen-nav-row[data-v-fc0266af],
body.zq-page-info .screen-nav-row {
  margin-top: 12px !important;
}

body.zq-page-info .image-wrapper[data-v-fc0266af],
body.zq-page-info .image-wrapper {
  width: min(100%, 292px) !important;
  max-width: 292px !important;
  min-height: 520px !important;
  height: 520px !important;
  margin: 0 auto 12px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    #0a0f17 !important;
  box-shadow: inset 0 0 0 8px rgba(0,0,0,.22), 0 18px 40px rgba(0,0,0,.28) !important;
  overflow: hidden !important;
}

body.zq-page-info .image-slot[data-v-fc0266af],
body.zq-page-info .image-slot,
body.zq-page-info .screenlayers[data-v-fc0266af],
body.zq-page-info .screenlayers {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

body.zq-page-info .screenlayers img[data-v-fc0266af],
body.zq-page-info .screenlayers img {
  border-radius: 18px !important;
  filter: saturate(.94) contrast(1.02) !important;
}

/* 中间纵向控制区改成简约网格 */
body.zq-page-info .inner-sidebar[data-v-fc0266af],
body.zq-page-info .inner-sidebar {
  width: 92px !important;
  margin: 52px auto 0 !important;
  padding: 10px !important;
  gap: 8px !important;
  border-radius: 18px !important;
  border: 1px solid var(--info-line-soft) !important;
  background: rgba(255,255,255,.025) !important;
  display: flex !important;
  flex-direction: column !important;
}

body.zq-page-info .button-row[data-v-fc0266af],
body.zq-page-info .button-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
}

body.zq-page-info .inner-sidebar .n-button,
body.zq-page-info .button-row .n-button {
  width: 100% !important;
  height: 30px !important;
  padding: 0 6px !important;
  font-size: 12px !important;
}

body.zq-page-info .image2-input-wrapper[data-v-fc0266af],
body.zq-page-info .image2-input-wrapper {
  width: 100% !important;
  margin-top: 10px !important;
  justify-content: center !important;
}

body.zq-page-info .image2-input-row[data-v-fc0266af],
body.zq-page-info .image2-input-row {
  width: min(100%, 292px) !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
}

body.zq-page-info .image2-input-row .n-input,
body.zq-page-info .image2-input-row .n-input-wrapper,
body.zq-page-info .image2-input-row .n-base-selection {
  width: 100% !important;
}

body.zq-page-info .image2-input-row .n-button {
  width: auto !important;
  min-width: 76px !important;
}

/* 右侧 tabs/日志区域 */
body.zq-page-info .content-wrapper[data-v-fc0266af],
body.zq-page-info .content-wrapper {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.zq-page-info .tabs-wrapper[data-v-fc0266af],
body.zq-page-info .tabs-wrapper {
  min-height: 690px !important;
  height: 100% !important;
}

body.zq-page-info .tabs-wrapper .n-tabs,
body.zq-page-info .tabs-wrapper[data-v-fc0266af] .n-tabs {
  background: transparent !important;
  border: 0 !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-nav,
body.zq-page-info .tabs-wrapper .n-tabs-nav-scroll-content {
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-tab,
body.zq-page-info .tabs-wrapper[data-v-fc0266af] .n-tabs-tab {
  height: 34px !important;
  padding: 0 15px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.035) !important;
  color: var(--info-muted) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-tab--active,
body.zq-page-info .tabs-wrapper .n-tabs-tab:hover {
  border-color: rgba(45,212,191,.35) !important;
  background: rgba(45,212,191,.10) !important;
  color: var(--info-accent) !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-pane-wrapper {
  margin-top: 10px !important;
  border-radius: 18px !important;
  background: rgba(3, 7, 13, .40) !important;
  overflow: hidden !important;
}

body.zq-page-info .log-viewer[data-v-fc0266af],
body.zq-page-info .log-viewer,
body.zq-page-info .tabs-wrapper table,
body.zq-page-info .tabs-wrapper tbody,
body.zq-page-info .tabs-wrapper .n-data-table {
  border: 1px solid var(--info-line-soft) !important;
  border-radius: 16px !important;
  background: #070c14 !important;
  color: var(--info-text) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

body.zq-page-info .log-viewer[data-v-fc0266af],
body.zq-page-info .log-viewer {
  min-height: 510px !important;
  max-height: 610px !important;
  padding: 14px !important;
}

body.zq-page-info .log-line[data-v-fc0266af],
body.zq-page-info .log-line,
body.zq-page-info .file-item[data-v-fc0266af],
body.zq-page-info .file-item {
  border: 1px solid var(--info-line-soft) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.035) !important;
  color: var(--info-text) !important;
  box-shadow: none !important;
}

body.zq-page-info table,
body.zq-page-info th,
body.zq-page-info td {
  border-color: var(--info-line-soft) !important;
  color: var(--info-text) !important;
}

body.zq-page-info th {
  background: rgba(255,255,255,.04) !important;
  color: var(--info-muted) !important;
}

/* 顶部小快捷入口改成同色胶囊 */
body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child .n-button--tiny,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child .n-button--tiny {
  min-width: 42px !important;
  height: 30px !important;
  border-radius: 999px !important;
  background: rgba(45, 212, 191, .09) !important;
  color: var(--info-accent) !important;
  border-color: rgba(45, 212, 191, .22) !important;
}

/* 响应式避免小屏挤压 */
@media (max-width: 1440px) {
  body.zq-page-info .image-container[data-v-fc0266af],
  body.zq-page-info .image-container {
    grid-template-columns: 1fr !important;
  }
  body.zq-page-info .image-box-group[data-v-fc0266af],
  body.zq-page-info .image-box-group {
    grid-template-columns: minmax(230px, 1fr) 92px minmax(230px, 1fr) !important;
  }
}

@media (max-width: 980px) {
  body.zq-page-info .n-descriptions-table {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.zq-page-info .image-box-group[data-v-fc0266af],
  body.zq-page-info .image-box-group {
    grid-template-columns: 1fr !important;
  }
  body.zq-page-info .inner-sidebar[data-v-fc0266af],
  body.zq-page-info .inner-sidebar {
    width: 100% !important;
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* /info 设备详情页 · 参考图二：暗灰控制台布局 v2 */
body.zq-page-info {
  --ref-bg: #1f232b;
  --ref-bg-2: #181c24;
  --ref-panel: #222730;
  --ref-panel-2: #1b2028;
  --ref-panel-3: #252b35;
  --ref-line: #3b4350;
  --ref-line-soft: #303844;
  --ref-text: #f3f6fb;
  --ref-muted: #a9b3c2;
  --ref-blue: #1d8cff;
  --ref-blue-soft: rgba(29, 140, 255, .14);
  --ref-radius: 18px;
  background: var(--ref-bg) !important;
  color: var(--ref-text) !important;
}

body.zq-page-info::before,
body.zq-page-info::after,
body.zq-page-info #app::before,
body.zq-page-info #app::after {
  opacity: .18 !important;
}

body.zq-page-info .zq-v5-watermark,
body.zq-page-info .zq-v5-corner-line,
body.zq-page-info .zq-v5-page-titlebar {
  display: none !important;
}

body.zq-page-info .layout-content,
body.zq-page-info .n-layout-content {
  padding: 10px 12px 18px !important;
  background: var(--ref-bg) !important;
}

body.zq-page-info .n-card.mt-4,
body.zq-page-info .mt-4.n-card,
body.zq-page-info .n-card[data-v-fc0266af] {
  margin: 0 !important;
  border-radius: 16px !important;
  border: 1px solid var(--ref-line) !important;
  background: var(--ref-bg) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.zq-page-info .n-card.mt-4 > .n-card__content,
body.zq-page-info .mt-4.n-card > .n-card__content,
body.zq-page-info .n-card[data-v-fc0266af] > .n-card__content {
  display: grid !important;
  grid-template-columns: minmax(720px, .93fr) minmax(640px, 1.07fr) !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 10px !important;
  background: var(--ref-bg) !important;
}

/* 顶部左侧状态/快捷区 */
body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child {
  grid-column: 1 / 2 !important;
  min-height: 168px !important;
  height: 168px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 14px !important;
  background: var(--ref-panel) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child > div,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child > div {
  gap: 12px !important;
}

/* 顶部右侧设备信息改成参考图的紧凑胶囊 */
body.zq-page-info .n-descriptions {
  grid-column: 2 / 3 !important;
  min-height: 168px !important;
  height: 168px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 14px !important;
  background: var(--ref-panel) !important;
  overflow: hidden !important;
}

body.zq-page-info .n-descriptions-table-wrapper,
body.zq-page-info .n-descriptions-table {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .n-descriptions-table {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px 12px !important;
}

body.zq-page-info .n-descriptions-table tbody,
body.zq-page-info .n-descriptions-table tr {
  display: contents !important;
}

body.zq-page-info .n-descriptions-table td,
body.zq-page-info .n-descriptions-table th,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content,
body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  display: block !important;
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .n-descriptions-table td {
  min-height: 36px !important;
  height: 36px !important;
  padding: 8px 12px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 13px !important;
  background: var(--ref-panel-2) !important;
  overflow: hidden !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  float: left !important;
  margin: 0 10px 0 0 !important;
  color: var(--ref-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: var(--ref-text) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 18px !important;
}

body.zq-page-info .n-descriptions-table img {
  width: 26px !important;
  height: 26px !important;
  vertical-align: middle !important;
}

body.zq-page-info .top-password-box {
  padding: 6px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 13px !important;
  background: var(--ref-panel-2) !important;
}

/* 全部按钮改成参考图简约暗灰按钮，颜色统一 */
body.zq-page-info .n-button,
body.zq-page-info button,
body.zq-page-info .image-box-group .n-button[data-v-fc0266af],
body.zq-page-info .tabs-wrapper .n-button[data-v-fc0266af],
body.zq-page-info .inner-sidebar .n-button[data-v-fc0266af],
body.zq-page-info .button-row .n-button[data-v-fc0266af],
body.zq-page-info .top-password-box .n-button--warning-type,
body.zq-page-info .n-descriptions .n-button--warning-type[data-v-fc0266af],
body.zq-page-info .n-button.reconnect-btn[data-v-fc0266af] {
  height: 34px !important;
  min-width: 0 !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  border: 1px solid var(--ref-line) !important;
  background: var(--ref-panel-3) !important;
  box-shadow: none !important;
  color: var(--ref-text) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .1px !important;
  text-shadow: none !important;
  transform: none !important;
}

body.zq-page-info .n-button .n-button__content,
body.zq-page-info button .n-button__content,
body.zq-page-info .top-password-box .n-button--warning-type .n-button__content,
body.zq-page-info .n-descriptions .n-button--warning-type[data-v-fc0266af] .n-button__content,
body.zq-page-info .n-button.reconnect-btn[data-v-fc0266af] .n-button__content {
  color: var(--ref-text) !important;
}

body.zq-page-info .n-button:hover,
body.zq-page-info button:hover,
body.zq-page-info .image-box-group .n-button[data-v-fc0266af]:hover,
body.zq-page-info .tabs-wrapper .n-button[data-v-fc0266af]:hover,
body.zq-page-info .inner-sidebar .n-button[data-v-fc0266af]:hover,
body.zq-page-info .button-row .n-button[data-v-fc0266af]:hover {
  border-color: #556174 !important;
  background: #2b323e !important;
  color: #fff !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

body.zq-page-info .n-button--primary-type,
body.zq-page-info .n-button--success-type,
body.zq-page-info .n-button--warning-type,
body.zq-page-info .n-button--error-type,
body.zq-page-info .n-button--info-type {
  border-color: var(--ref-line) !important;
  background: var(--ref-panel-3) !important;
  color: var(--ref-text) !important;
}

body.zq-page-info .n-button--primary-type:hover,
body.zq-page-info .n-button--success-type:hover,
body.zq-page-info .n-button--warning-type:hover,
body.zq-page-info .n-button--error-type:hover,
body.zq-page-info .n-button--info-type:hover {
  border-color: var(--ref-blue) !important;
  background: var(--ref-blue-soft) !important;
  color: #fff !important;
}

body.zq-page-info .n-button--disabled,
body.zq-page-info .n-button[disabled],
body.zq-page-info button[disabled] {
  opacity: .42 !important;
  filter: grayscale(.4) !important;
}

/* 顶部快捷小按钮：灰色胶囊 */
body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child .n-button--tiny,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child .n-button--tiny {
  height: 32px !important;
  min-width: 42px !important;
  border-radius: 10px !important;
  color: #dce7f7 !important;
  background: #252b35 !important;
}

/* 输入框/下拉和参考图统一 */
body.zq-page-info .n-input,
body.zq-page-info .n-base-selection,
body.zq-page-info .n-input-wrapper,
body.zq-page-info .n-base-selection-label {
  min-height: 34px !important;
  border-radius: 10px !important;
  --n-color: #222831 !important;
  --n-color-focus: #252c36 !important;
  --n-border: 1px solid var(--ref-line) !important;
  --n-border-hover: 1px solid #556174 !important;
  --n-border-focus: 1px solid var(--ref-blue) !important;
  --n-box-shadow-focus: 0 0 0 2px rgba(29,140,255,.12) !important;
  background: #222831 !important;
  color: var(--ref-text) !important;
}

body.zq-page-info .n-input__input-el,
body.zq-page-info .n-base-selection-input,
body.zq-page-info .n-base-selection-placeholder {
  color: var(--ref-text) !important;
}

/* 主工作区：左屏幕区 + 右数据区，比例贴近参考图 */
body.zq-page-info .image-container[data-v-fc0266af],
body.zq-page-info .image-container {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(760px, .92fr) minmax(720px, 1.08fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
}

body.zq-page-info .image-box-group[data-v-fc0266af],
body.zq-page-info .image-box-group,
body.zq-page-info .tabs-wrapper[data-v-fc0266af],
body.zq-page-info .tabs-wrapper {
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 14px !important;
  background: var(--ref-panel) !important;
  box-shadow: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* 左侧参考图：两个手机并排，控制条在右侧 */
body.zq-page-info .image-box-group[data-v-fc0266af],
body.zq-page-info .image-box-group {
  display: grid !important;
  grid-template-columns: minmax(270px, 1fr) minmax(270px, 1fr) 118px !important;
  gap: 12px !important;
  align-items: start !important;
  justify-content: stretch !important;
}

body.zq-page-info .image-box-group > .image-box:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.zq-page-info .image-box-group > .image-box:not(:first-child) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.zq-page-info .image-box-group > .inner-sidebar {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.zq-page-info .image-box[data-v-fc0266af],
body.zq-page-info .image-box {
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
}

body.zq-page-info .image-box > .button-container:first-child {
  min-height: 42px !important;
  padding: 0 2px 8px !important;
  margin: 0 0 8px !important;
  border-bottom: 1px solid var(--ref-line-soft) !important;
}

body.zq-page-info .image-box > .button-container:first-child::before {
  content: "屏幕阅读";
  margin-right: auto;
  color: var(--ref-muted);
  font-size: 12px;
  font-weight: 900;
}

body.zq-page-info .image-box-group > .image-box:not(:first-child) > .button-container:first-child::before {
  content: "系统投屏";
}

body.zq-page-info .button-container[data-v-fc0266af],
body.zq-page-info .button-container,
body.zq-page-info .screen-nav-row[data-v-fc0266af],
body.zq-page-info .screen-nav-row,
body.zq-page-info .image2-input-row[data-v-fc0266af],
body.zq-page-info .image2-input-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

body.zq-page-info .image-wrapper[data-v-fc0266af],
body.zq-page-info .image-wrapper {
  position: relative !important;
  width: min(100%, 395px) !important;
  max-width: 395px !important;
  height: 690px !important;
  min-height: 690px !important;
  margin: 0 auto 12px !important;
  border: 4px solid #181a20 !important;
  border-radius: 40px !important;
  background: #20252e !important;
  box-shadow: inset 0 0 0 1px #313742, 0 18px 36px rgba(0,0,0,.36) !important;
  overflow: hidden !important;
}

body.zq-page-info .image-wrapper::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 50%;
  width: 76px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #0f1217;
  opacity: .85;
}

body.zq-page-info .image-slot[data-v-fc0266af],
body.zq-page-info .image-slot,
body.zq-page-info .screenlayers[data-v-fc0266af],
body.zq-page-info .screenlayers {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

body.zq-page-info .screenlayers img[data-v-fc0266af],
body.zq-page-info .screenlayers img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: #20252e !important;
}

body.zq-page-info .screen-nav-row[data-v-fc0266af],
body.zq-page-info .screen-nav-row {
  margin: 10px 0 10px !important;
}

/* 右侧竖向控制栏按参考图改为小按钮列表 */
body.zq-page-info .inner-sidebar[data-v-fc0266af],
body.zq-page-info .inner-sidebar {
  width: 118px !important;
  margin: 42px 0 0 !important;
  padding: 12px 10px !important;
  gap: 8px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 14px !important;
  background: var(--ref-panel-2) !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

body.zq-page-info .inner-sidebar::before {
  content: "📱 屏幕控制";
  display: block;
  padding: 2px 0 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ref-line-soft);
  color: var(--ref-text);
  font-size: 12px;
  font-weight: 900;
}

body.zq-page-info .button-row[data-v-fc0266af],
body.zq-page-info .button-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  width: 100% !important;
}

body.zq-page-info .inner-sidebar .n-button,
body.zq-page-info .button-row .n-button {
  width: 100% !important;
  height: 30px !important;
  padding: 0 7px !important;
  justify-content: center !important;
}

body.zq-page-info .image2-input-wrapper[data-v-fc0266af],
body.zq-page-info .image2-input-wrapper {
  width: 100% !important;
  margin: 8px 0 0 !important;
  justify-content: center !important;
}

body.zq-page-info .image2-input-row[data-v-fc0266af],
body.zq-page-info .image2-input-row {
  width: min(100%, 395px) !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
}

body.zq-page-info .image2-input-row .n-input,
body.zq-page-info .image2-input-row .n-input-wrapper,
body.zq-page-info .image2-input-row .n-base-selection {
  width: 100% !important;
}

body.zq-page-info .image2-input-row .n-button {
  width: auto !important;
  min-width: 78px !important;
}

/* 右侧功能区：参考图的导航和内容面板 */
body.zq-page-info .content-wrapper[data-v-fc0266af],
body.zq-page-info .content-wrapper {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.zq-page-info .tabs-wrapper[data-v-fc0266af],
body.zq-page-info .tabs-wrapper {
  min-height: 780px !important;
  height: 100% !important;
  padding: 12px !important;
}

body.zq-page-info .tabs-wrapper .n-tabs,
body.zq-page-info .tabs-wrapper[data-v-fc0266af] .n-tabs {
  background: transparent !important;
  border: 0 !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-nav,
body.zq-page-info .tabs-wrapper .n-tabs-nav-scroll-content,
body.zq-page-info .tabs-wrapper .n-tabs-nav-scroll-wrapper {
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-tab,
body.zq-page-info .tabs-wrapper[data-v-fc0266af] .n-tabs-tab {
  height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 11px !important;
  background: var(--ref-panel-3) !important;
  color: var(--ref-text) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  margin-right: 8px !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-tab--active,
body.zq-page-info .tabs-wrapper .n-tabs-tab:hover {
  border-color: #4c8ff7 !important;
  background: rgba(29,140,255,.14) !important;
  color: #fff !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-bar {
  background: var(--ref-blue) !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-pane-wrapper {
  margin-top: 12px !important;
  min-height: 690px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 14px !important;
  background: var(--ref-panel-2) !important;
  overflow: hidden !important;
}

body.zq-page-info .tabs-wrapper .n-tab-pane {
  padding: 14px !important;
}

body.zq-page-info .tabs-wrapper table,
body.zq-page-info .tabs-wrapper tbody,
body.zq-page-info .tabs-wrapper .n-data-table,
body.zq-page-info .log-viewer[data-v-fc0266af],
body.zq-page-info .log-viewer {
  border: 1px solid var(--ref-line-soft) !important;
  border-radius: 12px !important;
  background: #171c24 !important;
  color: var(--ref-text) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

body.zq-page-info .log-viewer[data-v-fc0266af],
body.zq-page-info .log-viewer {
  min-height: 560px !important;
  max-height: 640px !important;
  padding: 12px !important;
}

body.zq-page-info .log-line[data-v-fc0266af],
body.zq-page-info .log-line,
body.zq-page-info .file-item[data-v-fc0266af],
body.zq-page-info .file-item {
  border: 1px solid var(--ref-line-soft) !important;
  border-radius: 10px !important;
  background: var(--ref-panel-3) !important;
  color: var(--ref-text) !important;
  box-shadow: none !important;
}

body.zq-page-info table,
body.zq-page-info th,
body.zq-page-info td {
  border-color: var(--ref-line-soft) !important;
  color: var(--ref-text) !important;
}

body.zq-page-info th {
  background: var(--ref-panel-3) !important;
  color: var(--ref-muted) !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .n-card.mt-4 > .n-card__content,
  body.zq-page-info .mt-4.n-card > .n-card__content,
  body.zq-page-info .n-card[data-v-fc0266af] > .n-card__content {
    grid-template-columns: 1fr !important;
  }
  body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child,
  body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child,
  body.zq-page-info .n-descriptions {
    grid-column: 1 / -1 !important;
    height: auto !important;
    min-height: 130px !important;
  }
  body.zq-page-info .image-container[data-v-fc0266af],
  body.zq-page-info .image-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  body.zq-page-info .n-descriptions-table {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.zq-page-info .image-box-group[data-v-fc0266af],
  body.zq-page-info .image-box-group {
    grid-template-columns: 1fr !important;
  }
  body.zq-page-info .image-box-group > .image-box:first-child,
  body.zq-page-info .image-box-group > .image-box:not(:first-child),
  body.zq-page-info .image-box-group > .inner-sidebar {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  body.zq-page-info .inner-sidebar[data-v-fc0266af],
  body.zq-page-info .inner-sidebar {
    width: 100% !important;
    margin-top: 0 !important;
  }
}

/* /info 顶部设备信息显示不全修复：放开高度和省略号 */
body.zq-page-info .n-descriptions {
  height: auto !important;
  min-height: 210px !important;
  max-height: none !important;
  overflow: visible !important;
}

body.zq-page-info .n-descriptions-table-wrapper,
body.zq-page-info .n-descriptions-table,
body.zq-page-info .n-descriptions-table tbody,
body.zq-page-info .n-descriptions-table tr,
body.zq-page-info .n-descriptions-table td,
body.zq-page-info .n-descriptions-table th,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content,
body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  overflow: visible !important;
  max-height: none !important;
}

body.zq-page-info .n-descriptions-table {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-content: start !important;
}

body.zq-page-info .n-descriptions-table td {
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content span,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content div {
  white-space: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
  word-break: break-word !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content .n-input,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content .n-input-wrapper {
  max-width: 220px !important;
  vertical-align: middle !important;
}

body.zq-page-info .n-descriptions-table tr:last-child td,
body.zq-page-info .n-descriptions-table td:last-child {
  min-height: 58px !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .n-descriptions-table {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* /info 顶部快捷按钮补全名称与图标后的尺寸修复 */
body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child .n-button--tiny,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child .n-button--tiny {
  width: auto !important;
  min-width: 92px !important;
  height: 34px !important;
  padding: 0 12px !important;
  justify-content: center !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child .n-button--tiny .n-button__content,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child .n-button--tiny .n-button__content {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

/* 设备锁屏状态图标美化 */
.zq-device-screen img[src*="zq-screen-lock"] {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(40, 182, 255, .55)) !important;
}

.zq-device-screen:has(img[src*="zq-screen-lock"]) {
  background: radial-gradient(circle at 45% 28%, rgba(97,244,255,.18), rgba(7,19,27,.96) 58%) !important;
  border-color: rgba(56, 213, 255, .42) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.42), 0 0 26px rgba(40,182,255,.22) !important;
}

.n-descriptions-table img[src*="zq-screen-lock"],
.n-data-table img[src*="zq-screen-lock"] {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 8px rgba(40, 182, 255, .45)) !important;
}

/* 设备全部屏幕状态图标美化 */
.zq-device-screen img[src*="zq-screen-"] {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(40, 182, 255, .52)) !important;
}
.zq-device-screen:has(img[src*="zq-screen-"]) {
  background: radial-gradient(circle at 45% 28%, rgba(97,244,255,.16), rgba(7,19,27,.96) 58%) !important;
  border-color: rgba(56, 213, 255, .40) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.42), 0 0 26px rgba(40,182,255,.20) !important;
}
.zq-device-screen:has(img[src*="zq-screen-off"]) {
  border-color: rgba(148, 163, 184, .40) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.42), 0 0 18px rgba(148,163,184,.14) !important;
}
.zq-device-screen:has(img[src*="zq-screen-unknown"]) {
  border-color: rgba(255, 209, 102, .46) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.42), 0 0 22px rgba(255,209,102,.16) !important;
}
.n-descriptions-table img[src*="zq-screen-"],
.n-data-table img[src*="zq-screen-"] {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 8px rgba(40, 182, 255, .42)) !important;
}

/* /info 紧凑设备资料与结构化密码展示 */
body.zq-page-info .n-card.mt-4 > .n-card__content,
body.zq-page-info .mt-4.n-card > .n-card__content,
body.zq-page-info .n-card[data-v-fc0266af] > .n-card__content {
  align-items: stretch !important;
  grid-template-columns: minmax(680px, 1fr) minmax(680px, 1fr) !important;
}

body.zq-page-info .n-card.mt-4 > .n-card__content > div:first-child,
body.zq-page-info .mt-4.n-card > .n-card__content > div:first-child,
body.zq-page-info .n-descriptions {
  height: auto !important;
  min-height: 188px !important;
  max-height: none !important;
}

body.zq-page-info .n-descriptions {
  padding: 10px 12px !important;
  overflow: visible !important;
}

body.zq-page-info .n-descriptions-table {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

body.zq-page-info .n-descriptions-table td {
  height: auto !important;
  min-height: 34px !important;
  padding: 7px 9px !important;
  border-radius: 8px !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  margin-right: 7px !important;
  font-size: 11px !important;
  line-height: 18px !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content {
  font-size: 12px !important;
  line-height: 18px !important;
}

body.zq-page-info .n-descriptions-table img[src*="zq-screen-"] {
  width: 24px !important;
  height: 24px !important;
  filter: drop-shadow(0 0 7px rgba(40, 182, 255, .38)) !important;
}

body.zq-page-info .n-descriptions-table td:has(.zq-password-grid),
body.zq-page-info .n-descriptions-table .zq-password-description {
  grid-column: 1 / -1 !important;
  min-height: 48px !important;
  padding: 7px 9px !important;
  overflow: visible !important;
}

body.zq-page-info .n-descriptions-table td:has(.zq-password-grid) .n-descriptions-table-header {
  float: none !important;
  display: block !important;
  margin: 0 0 6px !important;
}

body.zq-page-info .n-descriptions-table td:has(.zq-password-grid) .n-descriptions-table-content {
  overflow: visible !important;
  white-space: normal !important;
}

.zq-password-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
}

.zq-password-chip {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 7px !important;
  row-gap: 1px !important;
  min-height: 40px !important;
  padding: 4px 8px !important;
  border: 1px solid rgba(92, 117, 146, .28) !important;
  border-radius: 7px !important;
  background: #171d25 !important;
}

.zq-password-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  background: rgba(45, 212, 191, .1) !important;
  color: #62e6d1 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
}

.zq-password-name {
  grid-column: 2 !important;
  grid-row: 1 !important;
  color: #8fa0b5 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.zq-password-value {
  grid-column: 2 !important;
  grid-row: 2 !important;
  overflow: hidden !important;
  color: #f2f6fb !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content .zq-password-name,
body.zq-page-info .n-descriptions-table .n-descriptions-table-content .zq-password-value {
  white-space: nowrap !important;
  word-break: normal !important;
}

.zq-password-empty {
  color: #7f8b9b !important;
  font-size: 12px !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .n-card.mt-4 > .n-card__content,
  body.zq-page-info .mt-4.n-card > .n-card__content,
  body.zq-page-info .n-card[data-v-fc0266af] > .n-card__content {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  body.zq-page-info .n-descriptions-table {
    grid-template-columns: 1fr !important;
  }
  .zq-password-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 设备卡片国家/地区统一显示中文全称 */
.zq-device-country {
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

/* 原生横向主导航：左侧菜单与顶栏位置互换 */
body.zq-v5-ready:not(.zq-page-login) #app .n-layout-header,
body.zq-v5-ready:not(.zq-page-login) #app .layout-header {
  width: 100% !important;
  min-width: 0 !important;
  height: 76px !important;
  min-height: 76px !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-layout-header {
  left: 0 !important;
  right: 0 !important;
  z-index: 40 !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 76px !important;
  overflow: hidden !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo {
  display: flex !important;
  flex: 0 0 252px !important;
  align-items: center !important;
  min-width: 252px !important;
  min-height: 76px !important;
  height: 76px !important;
  padding: 0 12px 0 2px !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo img {
  flex: none !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo .title {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo .title::before {
  content: "最强集团安卓远控" !important;
  display: block !important;
  overflow: hidden !important;
  color: #f4f8fb !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo .title::after {
  content: "V5 私有管理控制台" !important;
  display: block !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  color: #52d9c4 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .n-menu--horizontal {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 76px !important;
  padding: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .n-menu--horizontal::-webkit-scrollbar {
  display: none !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item {
  flex: 0 0 auto !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content {
  height: 40px !important;
  margin: 0 3px !important;
  padding: 0 13px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  transform: none !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content:hover {
  border-color: rgba(82, 217, 196, .28) !important;
  background: rgba(82, 217, 196, .07) !important;
  transform: none !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content--selected,
body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content--active {
  border-color: rgba(82, 217, 196, .24) !important;
  background: rgba(36, 178, 154, .14) !important;
  box-shadow: inset 0 -2px #28d6b8 !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content-header {
  font-size: 14px !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content__icon {
  width: 18px !important;
  height: 18px !important;
  margin-right: 7px !important;
  font-size: 18px !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-header-right {
  flex: 0 0 auto !important;
  gap: 8px !important;
  height: 76px !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .layout-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .zq-v5-page-titlebar {
  min-height: 34px !important;
  height: 34px !important;
  margin: 76px 0 6px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .zq-v5-page-titlebar .zq-title,
body.zq-v5-ready:not(.zq-page-login) #app .zq-v5-page-titlebar .zq-badge {
  display: none !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .zq-v5-page-titlebar .zq-subtitle {
  margin: 0 !important;
  color: rgba(196, 214, 225, .58) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2.4px !important;
  line-height: 32px !important;
}

body.zq-v5-ready:not(.zq-page-login) #app .tabs-view-fix {
  left: 0 !important;
  width: 100% !important;
}

/* 横向顶栏已经预留了导航高度，移除框架重复保留的 64px 空白。 */
body.zq-v5-ready:not(.zq-page-login) #app .layout-content-main,
body.zq-v5-ready:not(.zq-page-login) #app .layout-content-main-fix {
  padding-top: 0 !important;
}

/* 首页下方已有完整指标面板，隐藏重复的顶部概览卡片。 */
body.zq-page-dashboard .home-dashboard > .home-summary {
  display: none !important;
}

body.zq-page-dashboard .home-dashboard > .home-summary + .home-card.mt-3 {
  margin-top: 0 !important;
}

body.zq-v5-ready:not(.zq-page-login) .zq-v5-corner-line {
  inset: 96px 22px 22px !important;
}

@media (max-width: 1450px) {
  body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo {
    flex-basis: 210px !important;
    min-width: 210px !important;
  }
  body.zq-v5-ready:not(.zq-page-login) #app .n-menu--horizontal .n-menu-item-content {
    padding: 0 10px !important;
  }
}

@media (max-width: 1080px) {
  body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo {
    flex-basis: 52px !important;
    min-width: 52px !important;
    padding-right: 8px !important;
  }
  body.zq-v5-ready:not(.zq-page-login) #app .layout-header-left > .logo .title {
    display: none !important;
  }
  body.zq-v5-ready:not(.zq-page-login) #app .layout-header {
    padding: 0 10px !important;
    gap: 6px !important;
  }
}

/* 操作日志 */
body.zq-page-logs .main-view,
body.zq-page-logs .zq-operation-log-app {
  min-width: 0 !important;
}

.zq-operation-log-app {
  --op-bg: rgba(5, 11, 18, .76);
  --op-panel: rgba(12, 20, 29, .92);
  --op-panel-soft: rgba(17, 27, 38, .76);
  --op-line: rgba(151, 174, 190, .16);
  --op-line-strong: rgba(45, 212, 191, .28);
  --op-text: #edf6f7;
  --op-muted: #8497a5;
  width: 100%;
  min-height: calc(100vh - 178px);
  padding: 14px 10px 24px;
  box-sizing: border-box;
  color: var(--op-text);
  letter-spacing: 0;
}

.oplog-shell {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.oplog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.oplog-heading h1 {
  margin: 4px 0 0;
  color: var(--op-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.oplog-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7d95a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.oplog-eyebrow > span,
.oplog-sync > i {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 12px rgba(45, 212, 191, .62);
}

.oplog-sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(45, 212, 191, .18);
  border-radius: 6px;
  color: #9db0bb;
  background: rgba(9, 23, 29, .66);
  font-size: 11px;
  white-space: nowrap;
}

.oplog-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.oplog-metric {
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 13px 15px;
  overflow: hidden;
  border: 1px solid var(--op-line);
  border-radius: 8px;
  background: var(--op-panel-soft);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  box-sizing: border-box;
}

.oplog-metric::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #38bdf8;
}

.oplog-metric.is-today::before { background: #2dd4bf; }
.oplog-metric.is-success::before { background: #34d399; }
.oplog-metric.is-alert::before { background: #f59e0b; }

.oplog-metric > span,
.oplog-metric > small {
  display: block;
  color: var(--op-muted);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0;
}

.oplog-metric > strong {
  display: block;
  margin: 6px 0 4px;
  overflow: hidden;
  color: #f6fbfc;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.oplog-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 142px 180px 152px 36px 36px 36px 86px;
  align-items: end;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--op-line);
  border-radius: 8px;
  background: var(--op-bg);
  box-sizing: border-box;
}

.oplog-search,
.oplog-field {
  display: flex;
  min-width: 0;
}

.oplog-search {
  position: relative;
  align-items: center;
}

.oplog-search > span {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #6f8795;
  font-size: 18px;
  pointer-events: none;
}

.oplog-field {
  flex-direction: column;
  gap: 5px;
}

.oplog-field > span {
  color: #78909e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.oplog-search input,
.oplog-field input,
.oplog-field select,
.oplog-page-size select {
  min-width: 0;
  height: 36px;
  border: 1px solid rgba(151, 174, 190, .18);
  border-radius: 6px;
  outline: none;
  color: #dce8eb;
  background: rgba(16, 25, 35, .92);
  box-sizing: border-box;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0;
  transition: border-color .16s ease, background-color .16s ease;
  color-scheme: dark;
}

.oplog-search input {
  width: 100%;
  padding: 0 12px 0 36px;
}

.oplog-field input,
.oplog-field select {
  width: 100%;
  padding: 0 10px;
}

.oplog-search input:focus,
.oplog-field input:focus,
.oplog-field select:focus,
.oplog-page-size select:focus {
  border-color: rgba(45, 212, 191, .52);
  background: rgba(18, 31, 40, .98);
}

.oplog-search input::placeholder { color: #657985; }

.oplog-icon-btn,
.oplog-page-btn,
.oplog-row-open,
.oplog-drawer-panel header button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(151, 174, 190, .18);
  border-radius: 6px;
  color: #a9bbc4;
  background: rgba(16, 25, 35, .94);
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.oplog-icon-btn:hover,
.oplog-page-btn:hover:not(:disabled),
.oplog-row-open:hover,
.oplog-drawer-panel header button:hover {
  border-color: rgba(45, 212, 191, .45);
  color: #5eead4;
  background: rgba(22, 45, 50, .9);
}

.oplog-icon-btn:disabled,
.oplog-page-btn:disabled,
.oplog-clear-btn:disabled {
  cursor: default;
  opacity: .35;
}

.oplog-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 86px;
  padding: 0 13px;
  border: 1px solid rgba(251, 113, 133, .34);
  border-radius: 6px;
  color: #fecdd3;
  background: linear-gradient(135deg, rgba(159, 18, 57, .42), rgba(42, 18, 28, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  box-sizing: border-box;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.oplog-clear-btn:hover:not(:disabled) {
  border-color: rgba(251, 113, 133, .64);
  color: #fff1f2;
  background: linear-gradient(135deg, rgba(190, 18, 60, .56), rgba(57, 22, 35, .96));
  transform: translateY(-1px);
}

.zq-operation-log-app.is-loading [data-action="refresh"] {
  animation: oplog-spin .8s linear infinite;
}

@keyframes oplog-spin { to { transform: rotate(360deg); } }

.oplog-table-frame {
  overflow: hidden;
  border: 1px solid var(--op-line);
  border-radius: 8px;
  background: var(--op-bg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
}

.oplog-table-scroll {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: rgba(45, 212, 191, .26) transparent;
}

.oplog-table {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
  border-collapse: collapse;
  color: #dbe7ea;
  font-size: 12px;
}

.oplog-table th {
  height: 39px;
  padding: 0 12px;
  border-bottom: 1px solid var(--op-line);
  color: #718895;
  background: rgba(14, 23, 32, .94);
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  letter-spacing: 0;
}

.oplog-table th:nth-child(1) { width: 130px; }
.oplog-table th:nth-child(2) { width: 100px; }
.oplog-table th:nth-child(3) { width: 115px; }
.oplog-table th:nth-child(4) { width: 160px; }
.oplog-table th:nth-child(5) { width: auto; }
.oplog-table th:nth-child(6) { width: 100px; }
.oplog-table th:nth-child(7) { width: 92px; }
.oplog-table th:nth-child(8) { width: 48px; }

.oplog-table td {
  height: 57px;
  padding: 8px 12px;
  overflow: hidden;
  border-bottom: 1px solid rgba(151, 174, 190, .09);
  vertical-align: middle;
  box-sizing: border-box;
}

.oplog-table tbody tr {
  outline: none;
  cursor: pointer;
  transition: background-color .14s ease;
}

.oplog-table tbody tr:hover,
.oplog-table tbody tr:focus {
  background: rgba(45, 212, 191, .045);
}

.oplog-table tbody tr:last-child td { border-bottom: 0; }

.oplog-time strong,
.oplog-time span {
  display: block;
  line-height: 1.35;
}

.oplog-time strong {
  color: #c9d7db;
  font-size: 11px;
  font-weight: 650;
}

.oplog-time span { color: #6f8490; font-size: 10px; }

.oplog-operator {
  color: #f0f7f8;
  font-weight: 700;
}

.oplog-module,
.oplog-source {
  display: inline-block;
  max-width: 100%;
  padding: 4px 7px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 5px;
  color: #8fcce7;
  background: rgba(56, 189, 248, .06);
  font-size: 10px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oplog-source {
  border-color: rgba(148, 163, 184, .16);
  color: #91a3ad;
  background: rgba(148, 163, 184, .05);
}

.oplog-action {
  display: block;
  overflow: hidden;
  color: #dce8eb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oplog-detail-preview {
  display: block;
  overflow: hidden;
  color: #8296a1;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oplog-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  color: #8ea3ae;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.oplog-level i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}

.oplog-level.is-success { color: #6ee7b7; }
.oplog-level.is-success i { background: #34d399; box-shadow: 0 0 9px rgba(52, 211, 153, .55); }
.oplog-level.is-info { color: #7dd3fc; }
.oplog-level.is-info i { background: #38bdf8; }
.oplog-level.is-warning { color: #fbbf24; }
.oplog-level.is-warning i { background: #f59e0b; }
.oplog-level.is-error { color: #fb7185; }
.oplog-level.is-error i { background: #f43f5e; }

.oplog-row-open {
  width: 28px;
  height: 28px;
  font-size: 18px;
}

.oplog-pagination {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 7px 10px;
  border-top: 1px solid var(--op-line);
  color: #778b97;
  background: rgba(12, 20, 29, .88);
  box-sizing: border-box;
  font-size: 11px;
}

.oplog-auto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}

.oplog-auto input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.oplog-auto > span {
  position: relative;
  width: 28px;
  height: 16px;
  border: 1px solid rgba(151, 174, 190, .22);
  border-radius: 8px;
  background: rgba(71, 85, 105, .42);
  transition: background-color .16s ease, border-color .16s ease;
}

.oplog-auto > span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a7b4bb;
  transition: transform .16s ease, background-color .16s ease;
}

.oplog-auto input:checked + span {
  border-color: rgba(45, 212, 191, .36);
  background: rgba(20, 184, 166, .34);
}

.oplog-auto input:checked + span::after {
  transform: translateX(12px);
  background: #5eead4;
}

.oplog-audit-switch {
  margin-left: 14px;
}

.oplog-audit-switch em {
  color: #8ea3ae;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.oplog-audit-switch:not(.is-off) em {
  color: #75e6d4;
}

.oplog-page-summary { margin-left: auto; }

.oplog-page-size {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 16px;
}

.oplog-page-size select {
  width: 62px;
  height: 30px;
  padding: 0 6px;
}

.oplog-page-btn {
  width: 30px;
  height: 30px;
  margin-left: 6px;
  font-size: 19px;
}

.oplog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 220px;
  color: #788d98;
}

.oplog-empty strong { color: #b1c1c8; font-size: 13px; }
.oplog-empty span { font-size: 11px; }
.oplog-empty.is-error strong { color: #fb7185; }

.oplog-skeleton-row { cursor: default !important; }
.oplog-skeleton-row td { height: 57px; }
.oplog-skeleton-row span {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 4px;
  background: rgba(148, 163, 184, .08);
  animation: oplog-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes oplog-pulse { to { background: rgba(45, 212, 191, .12); } }

.oplog-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.oplog-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.oplog-drawer-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(1, 5, 10, .68);
  opacity: 0;
  cursor: default;
  transition: opacity .2s ease;
}

.oplog-drawer.is-open .oplog-drawer-shade { opacity: 1; }

.oplog-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, calc(100vw - 24px));
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid rgba(45, 212, 191, .2);
  background: #09111a;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .42);
  transform: translateX(100%);
  transition: transform .22s ease;
}

.oplog-drawer.is-open .oplog-drawer-panel { transform: translateX(0); }

.oplog-drawer-panel header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--op-line);
  background: rgba(9, 17, 26, .96);
  box-sizing: border-box;
}

.oplog-drawer-panel header span,
.oplog-drawer-panel header strong {
  display: block;
  letter-spacing: 0;
}

.oplog-drawer-panel header span { color: #6f8592; font-size: 10px; }
.oplog-drawer-panel header strong { margin-top: 5px; color: #ecf6f7; font-size: 16px; }
.oplog-drawer-panel header button { width: 32px; height: 32px; }

.oplog-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.oplog-detail-grid dl {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--op-line);
  border-radius: 7px;
  background: rgba(16, 25, 35, .72);
}

.oplog-detail-grid dl.is-wide { grid-column: 1 / -1; }
.oplog-detail-grid dt { margin-bottom: 7px; color: #728895; font-size: 10px; }
.oplog-detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #d6e3e6;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
}

.oplog-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 140;
  max-width: min(360px, calc(100vw - 48px));
  padding: 10px 14px;
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 7px;
  color: #bbf7d0;
  background: rgba(6, 30, 26, .96);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .34);
  font-size: 12px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.oplog-toast.is-error {
  border-color: rgba(244, 63, 94, .34);
  color: #fecdd3;
  background: rgba(46, 12, 21, .96);
}

.oplog-toast.is-show { opacity: 1; transform: translateY(0); }

@media (max-width: 1280px) {
  .oplog-toolbar {
    grid-template-columns: minmax(220px, 1fr) 130px 160px 140px 36px 36px 36px 86px;
  }
}

@media (max-width: 1040px) {
  .oplog-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oplog-toolbar { grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, .5fr)) repeat(3, 36px) 86px; }
  .oplog-search { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .zq-operation-log-app { padding: 10px 0 18px; }
  .oplog-heading { align-items: flex-start; }
  .oplog-sync { max-width: 48%; overflow: hidden; text-overflow: ellipsis; }
  .oplog-metrics { grid-template-columns: 1fr 1fr; gap: 7px; }
  .oplog-metric { min-height: 80px; padding: 11px 12px; }
  .oplog-metric > strong { font-size: 21px; }
  .oplog-toolbar { grid-template-columns: 1fr 1fr 36px 36px 36px 86px; }
  .oplog-search { grid-column: 1 / -1; }
  .oplog-field { grid-column: span 1; }
  .oplog-date { grid-column: 1 / -1; }
  .oplog-pagination { flex-wrap: wrap; gap: 8px; }
  .oplog-page-summary { order: 3; width: 100%; margin: 0; }
  .oplog-page-size { margin-left: auto; }
  .oplog-detail-grid { grid-template-columns: 1fr; }
  .oplog-detail-grid dl.is-wide { grid-column: auto; }
}

/* /info 顶部右侧设备资料区 · 高度紧凑修正 */
body.zq-page-info .n-card.mt-4 > .n-card__content,
body.zq-page-info .mt-4.n-card > .n-card__content,
body.zq-page-info .n-card[data-v-fc0266af] > .n-card__content {
  align-items: start !important;
}

body.zq-page-info .n-descriptions {
  align-self: start !important;
  height: auto !important;
  min-height: 132px !important;
  max-height: 188px !important;
  padding: 8px 10px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.zq-page-info .n-descriptions::-webkit-scrollbar {
  width: 4px !important;
}
body.zq-page-info .n-descriptions::-webkit-scrollbar-thumb {
  border-radius: 99px !important;
  background: rgba(148, 163, 184, .34) !important;
}

body.zq-page-info .n-descriptions-table-wrapper,
body.zq-page-info .n-descriptions-table {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.zq-page-info .n-descriptions-table {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px 7px !important;
  align-content: start !important;
}

body.zq-page-info .n-descriptions-table td {
  min-height: 28px !important;
  height: auto !important;
  padding: 5px 7px !important;
  border-radius: 7px !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-header {
  margin: 0 6px 0 0 !important;
  font-size: 10px !important;
  line-height: 16px !important;
}

body.zq-page-info .n-descriptions-table .n-descriptions-table-content {
  font-size: 11.5px !important;
  line-height: 16px !important;
}

body.zq-page-info .n-descriptions-table .n-input,
body.zq-page-info .n-descriptions-table .n-input-wrapper,
body.zq-page-info .n-descriptions-table .n-base-selection,
body.zq-page-info .n-descriptions-table .n-base-selection-label {
  min-height: 28px !important;
  height: 28px !important;
}

body.zq-page-info .n-descriptions-table .n-button {
  height: 28px !important;
  padding: 0 10px !important;
}

body.zq-page-info .n-descriptions-table td:has(.zq-password-grid),
body.zq-page-info .n-descriptions-table .zq-password-description {
  grid-column: 1 / -1 !important;
  min-height: 36px !important;
  padding: 5px 7px !important;
}

body.zq-page-info .n-descriptions-table td:has(.zq-password-grid) .n-descriptions-table-header {
  margin: 0 0 4px !important;
}

body.zq-page-info .n-descriptions-table img[src*="zq-screen-"] {
  width: 22px !important;
  height: 22px !important;
}

body.zq-page-info .zq-password-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 4px !important;
}

body.zq-page-info .zq-password-chip {
  min-height: 30px !important;
  padding: 3px 6px !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  column-gap: 5px !important;
}

body.zq-page-info .zq-password-icon {
  width: 18px !important;
  height: 18px !important;
  border-radius: 5px !important;
  font-size: 10px !important;
}

body.zq-page-info .zq-password-name {
  font-size: 10px !important;
}

body.zq-page-info .zq-password-value {
  font-size: 11px !important;
}

/* 同步降低右侧标签/日志面板的默认高度，避免右栏显得过高 */
body.zq-page-info .tabs-wrapper[data-v-fc0266af],
body.zq-page-info .tabs-wrapper {
  min-height: 620px !important;
}

body.zq-page-info .tabs-wrapper .n-tabs-pane-wrapper {
  min-height: 530px !important;
}

body.zq-page-info .log-viewer[data-v-fc0266af],
body.zq-page-info .log-viewer {
  min-height: 420px !important;
  max-height: 520px !important;
}

/* /info 右侧设备资料 · 内容文字重排版：标签和值成组对齐 */
body.zq-page-info .n-descriptions.zq-info-summary {
  height: auto !important;
  min-height: 138px !important;
  max-height: 176px !important;
  padding: 8px 10px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.zq-page-info .zq-info-summary .n-descriptions-table-wrapper,
body.zq-page-info .zq-info-summary .n-descriptions-table {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

body.zq-page-info .zq-info-summary-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.42fr) minmax(150px, .78fr) minmax(150px, .78fr) !important;
  gap: 6px 8px !important;
  align-content: start !important;
}

body.zq-page-info .zq-info-summary-grid tbody,
body.zq-page-info .zq-info-summary-grid tr {
  display: contents !important;
}

body.zq-page-info .zq-info-item {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 7px !important;
  min-height: 30px !important;
  height: auto !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

body.zq-page-info .zq-info-label,
body.zq-page-info .zq-info-summary .n-descriptions-table .n-descriptions-table-header {
  float: none !important;
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #a9b3c2 !important;
  font-size: 10.5px !important;
  font-weight: 850 !important;
  line-height: 16px !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body.zq-page-info .zq-info-value,
body.zq-page-info .zq-info-summary .n-descriptions-table .n-descriptions-table-content {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: 6px !important;
  color: #f4f8ff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 16px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.zq-page-info .zq-info-remark {
  grid-column: span 2 !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
}

body.zq-page-info .zq-info-remark .zq-info-value,
body.zq-page-info .zq-info-remark .n-descriptions-table-content {
  display: grid !important;
  grid-template-columns: minmax(44px, auto) minmax(128px, 1fr) auto !important;
  gap: 6px !important;
  align-items: center !important;
}

body.zq-page-info .zq-info-remark .n-input,
body.zq-page-info .zq-info-remark .n-input-wrapper {
  width: 100% !important;
  max-width: 200px !important;
  min-height: 28px !important;
  height: 28px !important;
}

body.zq-page-info .zq-info-remark .n-button {
  height: 28px !important;
  padding: 0 10px !important;
}

body.zq-page-info .zq-info-screen {
  grid-column: 3 !important;
  grid-row: span 2 !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  min-height: 66px !important;
}

body.zq-page-info .zq-info-screen .zq-info-value,
body.zq-page-info .zq-info-screen .n-descriptions-table-content {
  justify-content: center !important;
}

body.zq-page-info .zq-info-screen img,
body.zq-page-info .zq-info-summary img[src*="zq-screen-"] {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
}

body.zq-page-info .zq-info-password,
body.zq-page-info .zq-password-description {
  grid-column: 1 / -1 !important;
  display: block !important;
  min-height: 42px !important;
  padding: 6px 8px !important;
  overflow: visible !important;
}

body.zq-page-info .zq-info-password .zq-info-label,
body.zq-page-info .zq-info-password .n-descriptions-table-header {
  display: block !important;
  margin: 0 0 5px !important;
}

body.zq-page-info .zq-info-password .zq-info-value,
body.zq-page-info .zq-info-password .n-descriptions-table-content {
  display: block !important;
  overflow: visible !important;
  white-space: normal !important;
}

body.zq-page-info .zq-info-summary .zq-password-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)) !important;
  gap: 5px !important;
}

body.zq-page-info .zq-info-summary .zq-password-chip {
  min-height: 32px !important;
  padding: 3px 7px !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  border-radius: 7px !important;
  column-gap: 6px !important;
}

body.zq-page-info .zq-info-summary .zq-password-icon {
  width: 18px !important;
  height: 18px !important;
  border-radius: 5px !important;
  font-size: 10px !important;
}

body.zq-page-info .zq-info-summary .zq-password-name {
  font-size: 10px !important;
  line-height: 13px !important;
}

body.zq-page-info .zq-info-summary .zq-password-value {
  font-size: 11px !important;
  line-height: 14px !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .zq-info-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.zq-page-info .zq-info-remark,
  body.zq-page-info .zq-info-screen,
  body.zq-page-info .zq-info-password {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

/* /info 右侧设备资料 · 与左侧卡片等高的最终排版 */
body.zq-page-info .n-descriptions.zq-info-summary,
body.zq-page-info .n-descriptions {
  align-self: start !important;
  height: 195px !important;
  min-height: 195px !important;
  max-height: 195px !important;
  padding: 10px 12px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.zq-page-info .zq-info-summary .n-descriptions-table-wrapper,
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table-wrapper {
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.zq-page-info .zq-info-summary-grid,
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.zq-page-info .zq-info-summary-grid tbody,
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table tbody {
  display: block !important;
  height: 100% !important;
}

body.zq-page-info .zq-info-summary-grid tr,
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table tr {
  display: grid !important;
  grid-template-columns: 42px minmax(250px, 1.32fr) 42px 64px 62px minmax(142px, .86fr) !important;
  grid-template-rows: 34px 34px 86px !important;
  grid-auto-flow: row !important;
  gap: 6px 7px !important;
  align-items: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
}

body.zq-page-info .zq-info-summary-grid th,
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table th {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: #a9b3c2 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.zq-page-info .zq-info-summary-grid td,
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table td {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 9px !important;
  border: 1px solid rgba(71, 82, 98, .72) !important;
  border-radius: 8px !important;
  background: #1b2028 !important;
  overflow: hidden !important;
  color: #f4f8ff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  box-sizing: border-box !important;
}

body.zq-page-info .zq-info-summary-grid td:nth-of-type(1),
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table td:nth-of-type(1) {
  display: grid !important;
  grid-template-columns: auto minmax(120px, 1fr) auto !important;
  gap: 6px !important;
  align-items: center !important;
}

body.zq-page-info .zq-info-summary-grid td:nth-of-type(2),
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table td:nth-of-type(2) {
  justify-content: center !important;
  padding: 0 !important;
}

body.zq-page-info .zq-info-summary-grid td:nth-of-type(7),
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table td:nth-of-type(7) {
  grid-column: 2 / -1 !important;
  grid-row: 3 !important;
  display: block !important;
  padding: 7px 9px !important;
  overflow: hidden !important;
}

body.zq-page-info .zq-info-summary-grid th:nth-of-type(7),
body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table th:nth-of-type(7) {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-items: start !important;
  padding-top: 9px !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .n-input,
body.zq-page-info .n-descriptions.zq-info-summary .n-input-wrapper,
body.zq-page-info .n-descriptions.zq-info-summary .n-base-selection,
body.zq-page-info .n-descriptions.zq-info-summary .n-base-selection-label {
  min-height: 26px !important;
  height: 26px !important;
  border-radius: 7px !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .n-input {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .n-input__input-el,
body.zq-page-info .n-descriptions.zq-info-summary .n-input__placeholder {
  font-size: 11px !important;
  line-height: 26px !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .n-button {
  height: 26px !important;
  min-width: 46px !important;
  padding: 0 9px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
}

body.zq-page-info .zq-info-summary-grid td:nth-of-type(2) img,
body.zq-page-info .n-descriptions.zq-info-summary img[src*="zq-screen-"] {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .zq-password-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(174px, 1fr)) !important;
  gap: 6px !important;
  align-items: stretch !important;
  height: 100% !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .zq-password-chip {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  grid-template-rows: 15px 18px !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 4px 7px !important;
  border-radius: 7px !important;
  column-gap: 6px !important;
  row-gap: 0 !important;
  overflow: hidden !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .zq-password-icon {
  width: 20px !important;
  height: 20px !important;
  border-radius: 5px !important;
  font-size: 10px !important;
  grid-row: 1 / 3 !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .zq-password-name {
  font-size: 10px !important;
  line-height: 14px !important;
}

body.zq-page-info .n-descriptions.zq-info-summary .zq-password-value {
  font-size: 11.5px !important;
  line-height: 16px !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .n-descriptions.zq-info-summary,
  body.zq-page-info .n-descriptions {
    height: auto !important;
    min-height: 170px !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body.zq-page-info .zq-info-summary-grid tr,
  body.zq-page-info .n-descriptions.zq-info-summary .n-descriptions-table tr {
    grid-template-columns: 48px minmax(0, 1fr) 48px minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    grid-auto-rows: minmax(32px, auto) !important;
  }
  body.zq-page-info .zq-info-summary-grid th:nth-of-type(7),
  body.zq-page-info .zq-info-summary-grid td:nth-of-type(7) {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  body.zq-page-info .zq-info-summary-grid td:nth-of-type(7) {
    grid-column: 2 / -1 !important;
  }
}

/* /info 右侧资料卡片 · 自定义等高面板，文字与卡片高度完全贴合 */
body.zq-page-info .n-descriptions.zq-info-fit-host {
  height: 195px !important;
  min-height: 195px !important;
  max-height: 195px !important;
  padding: 10px 12px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.zq-page-info .zq-info-fit-host > .zq-info-source-hidden {
  display: none !important;
}

body.zq-page-info .zq-info-fit-panel {
  display: grid !important;
  grid-template-columns: minmax(340px, 1.42fr) minmax(112px, .42fr) minmax(260px, 1fr) !important;
  grid-template-rows: 34px 34px minmax(0, 1fr) !important;
  gap: 7px 9px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

body.zq-page-info .zq-fit-item {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 9px !important;
  border: 1px solid rgba(71, 82, 98, .72) !important;
  border-radius: 8px !important;
  background: #1b2028 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.zq-page-info .zq-fit-label {
  color: #a9b3c2 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body.zq-page-info .zq-fit-value {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #f5f8ff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.zq-page-info .zq-fit-remark { grid-column: 1; grid-row: 1; }
body.zq-page-info .zq-fit-screen { grid-column: 2; grid-row: 1; }
body.zq-page-info .zq-fit-version { grid-column: 3; grid-row: 1; }
body.zq-page-info .zq-fit-model { grid-column: 1; grid-row: 2; }
body.zq-page-info .zq-fit-battery { grid-column: 2; grid-row: 2; }
body.zq-page-info .zq-fit-accessibility { grid-column: 3; grid-row: 2; }
body.zq-page-info .zq-fit-password {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  align-items: start !important;
  padding: 7px 9px !important;
}

body.zq-page-info .zq-fit-password .zq-fit-label {
  padding-top: 8px !important;
}

body.zq-page-info .zq-fit-remark-value {
  display: grid !important;
  grid-template-columns: auto minmax(120px, 1fr) 48px !important;
  align-items: center !important;
  gap: 6px !important;
}

body.zq-page-info .zq-fit-remark-name {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.zq-page-info .zq-fit-remark-input {
  width: 100% !important;
  height: 24px !important;
  min-width: 0 !important;
  padding: 0 9px !important;
  border: 1px solid #3b4350 !important;
  border-radius: 7px !important;
  outline: none !important;
  background: #222831 !important;
  color: #f5f8ff !important;
  font-size: 11px !important;
  box-sizing: border-box !important;
}

body.zq-page-info .zq-fit-remark-btn {
  width: 48px !important;
  height: 24px !important;
  padding: 0 !important;
  border: 1px solid #7d6b3b !important;
  border-radius: 7px !important;
  background: #252b35 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body.zq-page-info .zq-fit-screen-node {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

body.zq-page-info .zq-fit-screen-node img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 7px rgba(40,182,255,.36)) !important;
}

body.zq-page-info .zq-fit-password-node {
  display: flex !important;
  align-items: stretch !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

body.zq-page-info .zq-fit-password-node .zq-password-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  align-content: start !important;
}

body.zq-page-info .zq-fit-password-node .zq-password-chip {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  grid-template-rows: 15px 18px !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 4px 7px !important;
  border: 1px solid rgba(92,117,146,.32) !important;
  border-radius: 7px !important;
  background: #171d25 !important;
  column-gap: 6px !important;
  row-gap: 0 !important;
  overflow: hidden !important;
}

body.zq-page-info .zq-fit-password-node .zq-password-icon {
  width: 20px !important;
  height: 20px !important;
  border-radius: 5px !important;
  font-size: 10px !important;
  grid-row: 1 / 3 !important;
}

body.zq-page-info .zq-fit-password-node .zq-password-name {
  font-size: 10px !important;
  line-height: 14px !important;
}

body.zq-page-info .zq-fit-password-node .zq-password-value {
  font-size: 11.5px !important;
  line-height: 16px !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .n-descriptions.zq-info-fit-host {
    height: auto !important;
    min-height: 180px !important;
    max-height: none !important;
  }
  body.zq-page-info .zq-info-fit-panel {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, 34px) auto !important;
  }
  body.zq-page-info .zq-fit-remark,
  body.zq-page-info .zq-fit-screen,
  body.zq-page-info .zq-fit-version,
  body.zq-page-info .zq-fit-model,
  body.zq-page-info .zq-fit-battery,
  body.zq-page-info .zq-fit-accessibility,
  body.zq-page-info .zq-fit-password {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  body.zq-page-info .zq-fit-password { grid-column: 1 / -1 !important; }
}

/* /info 自定义资料面板：强制隐藏原始 descriptions 表格，避免把新面板挤到下面 */
body.zq-page-info .n-descriptions.zq-info-fit-host > .n-descriptions-table-wrapper.zq-info-source-hidden,
body.zq-page-info .n-descriptions.zq-info-fit-host > .n-descriptions-table-wrapper.zq-info-source-hidden * {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.zq-page-info .n-descriptions.zq-info-fit-host > .zq-info-fit-panel {
  display: grid !important;
  margin: 0 !important;
}

/* 左/右滑动按钮：让投屏导航行容纳 5 个按钮 */
body.zq-page-info .screen-nav-row[data-v-fc0266af],
body.zq-page-info .screen-nav-row {
  gap: 4px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

body.zq-page-info .screen-nav-row .n-button[data-v-fc0266af],
body.zq-page-info .screen-nav-row .n-button {
  min-width: 50px !important;
  height: 28px !important;
  padding: 0 6px !important;
  margin: 0 1px !important;
  font-size: 12px !important;
}

body.zq-page-info .screen-nav-row .n-button__content[data-v-fc0266af],
body.zq-page-info .screen-nav-row .n-button__content {
  white-space: nowrap !important;
}

/* APK 应用生成页：布局美化 + 已选择资源预览 */
.apk-gen-main-grid {
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr) !important;
  gap: 20px !important;
}

.apk-gen-section,
.apk-gen-resource-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(20,241,149,.12), transparent 34%),
    linear-gradient(145deg, rgba(10,18,29,.92), rgba(6,11,20,.82)) !important;
  border: 1px solid rgba(20,241,149,.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

.apk-gen-section::after,
.apk-gen-resource-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,.045), transparent);
  opacity: .75;
}

.apk-gen-resource-grid {
  grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr) !important;
  gap: 22px !important;
}

.resource-item {
  min-width: 0;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 16px !important;
  background: rgba(3,8,14,.38) !important;
}

.resource-header {
  min-height: 34px;
  padding-bottom: 10px;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.resource-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
  color: #eefdf8;
}

.resource-status {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .2px;
}
.resource-status.is-empty {
  color: #ff7b8a !important;
  background: rgba(255,71,87,.12);
  border: 1px solid rgba(255,71,87,.28);
}
.resource-status.is-selected {
  color: #0b2118 !important;
  background: linear-gradient(135deg, #38d5ff, #00c2ff);
  border: 1px solid rgba(20,241,149,.38);
  box-shadow: 0 0 18px rgba(20,241,149,.22);
}
.resource-spec {
  color: rgba(239,253,250,.48);
  font-size: 11px;
  font-style: normal;
}

.resource-selected-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20,241,149,.22);
  background: linear-gradient(135deg, rgba(20,241,149,.10), rgba(0,194,255,.055));
}
.resource-selected-thumb {
  width: 58px !important;
  height: 58px !important;
  border-radius: 14px !important;
  object-fit: contain !important;
  background: #03070d !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.36);
}
.resource-selected-thumb.portrait {
  width: 46px !important;
  height: 76px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}
.resource-selected-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.resource-selected-meta strong {
  color: #dffff8;
  font-size: 13px;
  font-weight: 950;
}
.resource-selected-meta span {
  color: rgba(239,253,250,.58);
  font-size: 12px;
  word-break: break-all;
}

.resource-list {
  gap: 10px !important;
  min-height: 116px !important;
  padding: 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: rgba(0,0,0,.32) !important;
}
.resource-list.scroll-x {
  padding-bottom: 14px !important;
}
.img-wrapper {
  border-radius: 12px !important;
  border: 2px solid transparent !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  cursor: pointer;
}
.img-wrapper:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0,194,255,.55) !important;
}
.img-wrapper.selected {
  border-color: #38d5ff !important;
  box-shadow: 0 0 0 3px rgba(20,241,149,.16), 0 0 24px rgba(20,241,149,.28) !important;
}
.img-wrapper.selected::after {
  content: "已选择";
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 9;
  padding: 2px 7px;
  border-radius: 99px;
  color: #03100d;
  background: linear-gradient(135deg, #38d5ff, #00c2ff);
  font-size: 10px;
  font-weight: 950;
}
.resource-img-small {
  width: 68px !important;
  height: 68px !important;
  padding: 4px;
}
.resource-img-portrait {
  width: 92px !important;
  height: 150px !important;
  object-fit: cover !important;
}
.del-btn {
  background: linear-gradient(135deg, #ff496d, #9e234c) !important;
  box-shadow: 0 8px 18px rgba(255,73,109,.25);
}

@media (max-width: 1280px) {
  .apk-gen-main-grid,
  .apk-gen-resource-grid {
    grid-template-columns: 1fr !important;
  }
}

/* /info 投屏下方输入操作区：清晰对齐、完整显示文字 */
body.zq-page-info .image2-input-wrapper[data-v-fc0266af],
body.zq-page-info .image2-input-wrapper {
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
}

body.zq-page-info .image2-input-row[data-v-fc0266af],
body.zq-page-info .image2-input-row {
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  min-height: 38px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(118px, max-content) !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 auto !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  border-radius: 14px !important;
  background: rgba(8, 14, 22, .58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 22px rgba(0,0,0,.16) !important;
  box-sizing: border-box !important;
}

/* 第一块钓鱼文案是两个长输入框，左右均分，避免占用按钮位 */
body.zq-page-info .image-box:first-child .image2-input-wrapper:first-of-type .image2-input-row[data-v-fc0266af],
body.zq-page-info .image-box:first-child .image2-input-wrapper:first-of-type .image2-input-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

body.zq-page-info .image2-input-row .n-input,
body.zq-page-info .image2-input-row .n-input-wrapper,
body.zq-page-info .image2-input-row .n-base-selection {
  width: 100% !important;
  min-width: 0 !important;
}

body.zq-page-info .image2-input-row .n-input,
body.zq-page-info .image2-input-row .n-base-selection {
  height: 32px !important;
  --n-height: 32px !important;
  --n-border-radius: 10px !important;
  --n-color: rgba(255,255,255,.07) !important;
  --n-color-active: rgba(255,255,255,.09) !important;
  --n-border: 1px solid rgba(148,163,184,.18) !important;
  --n-border-hover: 1px solid rgba(0,194,255,.38) !important;
  --n-border-active: 1px solid rgba(20,241,149,.55) !important;
  --n-box-shadow-focus: 0 0 0 3px rgba(20,241,149,.13) !important;
}

body.zq-page-info .image2-input-row .n-input__input-el,
body.zq-page-info .image2-input-row .n-base-selection-label,
body.zq-page-info .image2-input-row .n-base-selection-input,
body.zq-page-info .image2-input-row .n-base-selection-placeholder,
body.zq-page-info .image2-input-row .n-base-selection-input__content {
  min-width: 0 !important;
  font-size: 12px !important;
  line-height: 32px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

body.zq-page-info .image2-input-row .n-input__placeholder,
body.zq-page-info .image2-input-row .n-base-selection-placeholder {
  color: rgba(229,237,244,.62) !important;
  opacity: 1 !important;
}

body.zq-page-info .image2-input-row .n-button {
  width: auto !important;
  min-width: 118px !important;
  height: 32px !important;
  padding: 0 14px !important;
  margin-left: 0 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  justify-self: stretch !important;
}

body.zq-page-info .image2-input-row .n-button__content {
  width: 100% !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* 黑屏背景下拉框也固定宽度，和按钮列统一对齐 */
body.zq-page-info .image2-input-row > .n-base-selection:last-child {
  min-width: 118px !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .image2-input-row[data-v-fc0266af],
  body.zq-page-info .image2-input-row {
    width: min(100%, 450px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(104px, max-content) !important;
    gap: 8px !important;
    padding: 7px 8px !important;
  }
  body.zq-page-info .image2-input-row .n-button,
  body.zq-page-info .image2-input-row > .n-base-selection:last-child {
    min-width: 104px !important;
  }
}

/* /info 输入框加长：输入列优先，按钮/下拉固定 */
body.zq-page-info .image2-input-row[data-v-fc0266af],
body.zq-page-info .image2-input-row {
  width: min(100%, 680px) !important;
  max-width: 680px !important;
  grid-template-columns: minmax(260px, 1fr) 118px !important;
}

body.zq-page-info .image-box:first-child .image2-input-wrapper:first-of-type .image2-input-row[data-v-fc0266af],
body.zq-page-info .image-box:first-child .image2-input-wrapper:first-of-type .image2-input-row {
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) !important;
}

body.zq-page-info .image2-input-row .n-input,
body.zq-page-info .image2-input-row .n-input-wrapper {
  min-width: 240px !important;
}

body.zq-page-info .image2-input-row .n-button,
body.zq-page-info .image2-input-row > .n-base-selection:last-child {
  min-width: 118px !important;
  max-width: 128px !important;
}

/* /info 输入区回调宽度并强制对齐：避免过长溢出 */
body.zq-page-info .image-box .image2-input-wrapper[data-v-fc0266af],
body.zq-page-info .image-box .image2-input-wrapper {
  padding: 0 !important;
  margin: 8px auto 0 !important;
  width: 100% !important;
  max-width: 395px !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

body.zq-page-info .image-box .image2-input-row[data-v-fc0266af],
body.zq-page-info .image-box .image2-input-row {
  width: 100% !important;
  max-width: 395px !important;
  min-height: 40px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 112px !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
  padding: 8px !important;
  border-radius: 13px !important;
  box-sizing: border-box !important;
}

/* 钓鱼界面标题/内容这一行：两个输入框均分，不再超长 */
body.zq-page-info .image-box:first-child .image2-input-wrapper:first-of-type .image2-input-row[data-v-fc0266af],
body.zq-page-info .image-box:first-child .image2-input-wrapper:first-of-type .image2-input-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

body.zq-page-info .image-box .image2-input-row .n-input,
body.zq-page-info .image-box .image2-input-row .n-input-wrapper,
body.zq-page-info .image-box .image2-input-row .n-base-selection {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin-left: 0 !important;
}

body.zq-page-info .image-box .image2-input-row .n-button,
body.zq-page-info .image-box .image2-input-row > .n-base-selection:last-child {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  margin-left: 0 !important;
  justify-self: end !important;
}

body.zq-page-info .image-box .image2-input-row .n-input__input-el,
body.zq-page-info .image-box .image2-input-row .n-input__placeholder,
body.zq-page-info .image-box .image2-input-row .n-base-selection-label,
body.zq-page-info .image-box .image2-input-row .n-base-selection-input__content,
body.zq-page-info .image-box .image2-input-row .n-base-selection-placeholder {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 1500px) {
  body.zq-page-info .image-box .image2-input-wrapper[data-v-fc0266af],
  body.zq-page-info .image-box .image2-input-wrapper,
  body.zq-page-info .image-box .image2-input-row[data-v-fc0266af],
  body.zq-page-info .image-box .image2-input-row {
    max-width: 330px !important;
  }
  body.zq-page-info .image-box .image2-input-row[data-v-fc0266af],
  body.zq-page-info .image-box .image2-input-row {
    grid-template-columns: minmax(0, 1fr) 96px !important;
    gap: 7px !important;
    padding: 7px !important;
  }
  body.zq-page-info .image-box .image2-input-row .n-button,
  body.zq-page-info .image-box .image2-input-row > .n-base-selection:last-child {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
  }
}

/* /info 顶部延时状态：设备延时 + 服务器延时 */
body.zq-page-info .zq-latency-badge[data-v-fc0266af],
body.zq-page-info .zq-latency-badge {
  flex: 1 1 300px !important;
  min-width: 260px !important;
  max-width: 420px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  margin: 0 14px !important;
  border: 1px solid rgba(20, 241, 149, .22) !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 18% 50%, rgba(20,241,149,.12), transparent 42%),
    linear-gradient(135deg, rgba(8,15,25,.86), rgba(12,20,32,.72)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 22px rgba(20,241,149,.08) !important;
  color: #dffff8 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;
  white-space: nowrap !important;
}

@media (max-width: 1280px) {
  body.zq-page-info .zq-latency-badge[data-v-fc0266af],
  body.zq-page-info .zq-latency-badge {
    order: 3 !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
  }
}


/* /info 屏幕阅读工具恢复：背景颜色 + 实时翻译 */
body.zq-page-info .screenlayers[data-v-fc0266af],
body.zq-page-info .screenlayers {
  background: var(--zq-screen-read-bg, #20252e) !important;
}
body.zq-page-info .screenlayers img[data-v-fc0266af],
body.zq-page-info .screenlayers img {
  background: var(--zq-screen-read-bg, #20252e) !important;
}
body.zq-page-info .zq-screen-read-color-control,
body.zq-page-info .zq-screen-read-btn {
  height: 30px !important;
  min-width: 58px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 1px solid rgba(125, 174, 255, .58) !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, rgba(42,52,68,.94), rgba(18,25,36,.92)) !important;
  color: #edf7ff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  user-select: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(0,0,0,.22) !important;
}
body.zq-page-info .zq-screen-read-color-control:hover,
body.zq-page-info .zq-screen-read-btn:hover {
  border-color: rgba(20,241,149,.75) !important;
  transform: translateY(-1px);
}
body.zq-page-info .zq-screen-read-color-control input[type="color"] {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.76) !important;
  border-radius: 5px !important;
  background: transparent !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  overflow: hidden !important;
}
body.zq-page-info .zq-screen-read-color-control input[type="color"]::-webkit-color-swatch-wrapper { padding: 0 !important; }
body.zq-page-info .zq-screen-read-color-control input[type="color"]::-webkit-color-swatch { border: 0 !important; border-radius: 4px !important; }
body.zq-page-info .zq-screen-read-color-control input[type="color"]::-moz-color-swatch { border: 0 !important; border-radius: 4px !important; }
body.zq-page-info .zq-screen-read-color-name { pointer-events: none !important; }
body.zq-page-info .zq-screen-read-translate-btn {
  border-color: rgba(20,241,149,.58) !important;
  color: #dcfff5 !important;
}
body.zq-page-info .zq-screen-read-translate-btn.is-active {
  border-color: rgba(20,241,149,.85) !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, rgba(14,118,84,.95), rgba(9,64,52,.94)) !important;
  box-shadow: 0 0 18px rgba(20,241,149,.18), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
body.zq-page-info .zq-screen-read-translate-btn.is-loading { min-width: 76px !important; }
body.zq-page-info .zq-screen-read-translate-btn.is-loading::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: zq-screen-read-spin .8s linear infinite;
}
@keyframes zq-screen-read-spin { to { transform: rotate(360deg); } }
body.zq-page-info .mousecanvas.zq-read-canvas-active[data-v-fc0266af],
body.zq-page-info .mousecanvas.zq-read-canvas-active {
  z-index: 4 !important;
  opacity: 1 !important;
  display: block !important;
  pointer-events: none !important;
}
body.zq-page-info .zq-screen-translate-result { display: none !important; }

/* /info 屏幕阅读线条颜色 + 去重复渲染最终修复 */
body.zq-page-info .screenlayers[data-v-fc0266af],
body.zq-page-info .screenlayers {
  position: relative !important;
  overflow: hidden !important;
  background: var(--zq-screen-read-bg, #20252e) !important;
}
body.zq-page-info .screenlayers .mousecanvas[data-v-fc0266af],
body.zq-page-info .screenlayers .mousecanvas {
  position: absolute !important;
  pointer-events: none !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
}
body.zq-page-info .mousecanvas.zq-read-canvas-active[data-v-fc0266af],
body.zq-page-info .mousecanvas.zq-read-canvas-active {
  z-index: 90 !important;
  opacity: 1 !important;
  display: block !important;
  pointer-events: none !important;
  mix-blend-mode: normal !important;
}
body.zq-page-info .zq-screen-read-line-control {
  border-color: rgba(20, 241, 149, .72) !important;
  color: #dffff6 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 16px rgba(20,241,149,.12) !important;
}
/* /info 屏幕阅读清晰版：canvas 替代原图，避免红绿/双层线条重叠 */
body.zq-page-info .screenlayers img.zq-read-image-replaced[data-v-fc0266af],
body.zq-page-info .screenlayers img.zq-read-image-replaced {
  opacity: 0 !important;
}
body.zq-page-info .zq-screen-read-line-control {
  border-color: rgba(56, 213, 255, .72) !important;
  color: #e7fbff !important;
}
/* /info 左右手机框对齐：屏幕阅读工具栏会换行，统一预留高度，避免左低右高 */
body.zq-page-info .image-box-group > .image-box[data-v-fc0266af],
body.zq-page-info .image-box-group > .image-box {
  display: grid !important;
  grid-template-rows: 78px auto auto auto auto !important;
  align-content: start !important;
  align-items: start !important;
}

body.zq-page-info .image-box-group > .image-box > .button-container:first-child[data-v-fc0266af],
body.zq-page-info .image-box-group > .image-box > .button-container:first-child {
  min-height: 70px !important;
  height: 70px !important;
  margin: 0 0 8px !important;
  padding: 0 2px 8px !important;
  align-content: center !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

body.zq-page-info .image-box-group > .image-box > .image-wrapper[data-v-fc0266af],
body.zq-page-info .image-box-group > .image-box > .image-wrapper {
  align-self: start !important;
  justify-self: center !important;
  width: min(100%, 395px) !important;
  max-width: 395px !important;
  height: 690px !important;
  min-height: 690px !important;
  margin: 0 auto 12px !important;
}

/* 应用下载：克制的产品库布局，避免页面区块与应用卡片重复套框 */
body.zq-page-app-manage .zq-download-panel {
  position: relative !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

body.zq-page-app-manage .zq-download-main {
  padding-top: 76px !important;
}

body.zq-page-app-manage .zq-download-shell-grid {
  column-gap: 0 !important;
}

body.zq-page-app-manage .zq-download-panel:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

body.zq-page-app-manage .zq-download-panel > .n-card-header {
  min-height: 44px !important;
  padding: 0 96px 13px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.zq-page-app-manage .zq-download-panel > .n-card-header .n-card-header__main {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

body.zq-page-app-manage .zq-download-panel > .n-card__content {
  padding: 16px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.zq-page-app-manage .zq-download-toolbar-grid {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  width: auto !important;
  display: block !important;
  margin: 0 !important;
}

body.zq-page-app-manage .zq-download-refresh {
  min-width: 72px !important;
  height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(91, 219, 166, .36) !important;
  border-radius: 6px !important;
  background: #10251f !important;
  color: #c8f6e3 !important;
  box-shadow: none !important;
}

body.zq-page-app-manage .zq-download-refresh:hover {
  border-color: rgba(91, 219, 166, .68) !important;
  background: #163229 !important;
}

body.zq-page-app-manage .zq-download-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 420px)) !important;
  justify-content: start !important;
  gap: 14px !important;
  row-gap: 14px !important;
  margin-top: 12px !important;
}

body.zq-page-app-manage .zq-download-grid > .zq-download-grid-item,
body.zq-page-app-manage .zq-download-grid > div {
  min-width: 0 !important;
}

body.zq-page-app-manage .app-download-card[data-zq-card="download"] {
  position: relative !important;
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  border: 1px solid #27323d !important;
  border-radius: 8px !important;
  background: #0b1118 !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .24) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

body.zq-page-app-manage .app-download-card[data-zq-card="download"]::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #2bbf82;
  pointer-events: none;
}

body.zq-page-app-manage .app-download-card[data-zq-card="download"]:hover {
  transform: translateY(-2px) !important;
  border-color: #3b4c58 !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .32) !important;
}

body.zq-page-app-manage .app-download-card[data-zq-card="download"] > .n-card__content {
  width: 100% !important;
  padding: 18px !important;
  box-sizing: border-box !important;
}

body.zq-page-app-manage .zq-download-content {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon name"
    "icon package"
    "icon date"
    "actions actions"
    "progress progress" !important;
  column-gap: 14px !important;
  row-gap: 4px !important;
  align-items: center !important;
}

body.zq-page-app-manage .zq-download-content > .zq-download-item,
body.zq-page-app-manage .zq-download-content > div[role="none"] {
  display: contents !important;
}

body.zq-page-app-manage .zq-download-content .app-icon-wrapper {
  grid-area: icon;
  align-self: start !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 14px !important;
  background: #111b24 !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .28) !important;
  overflow: hidden !important;
}

body.zq-page-app-manage .app-download-card[data-zq-card="download"] .app-icon-wrapper img {
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 13px !important;
  object-fit: cover !important;
  box-shadow: none !important;
}

body.zq-page-app-manage .zq-download-content .app-name-text {
  grid-area: name;
  min-width: 0 !important;
  margin: 0 !important;
  color: #f4f7f9 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.zq-page-app-manage .zq-download-content .app-info-item {
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  color: #83919d !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.zq-page-app-manage .zq-download-package { grid-area: package; }
body.zq-page-app-manage .zq-download-date { grid-area: date; }

body.zq-page-app-manage .zq-download-actions {
  grid-area: actions;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 58px 58px !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
}

body.zq-page-app-manage .zq-download-actions > .zq-download-action-item,
body.zq-page-app-manage .zq-download-actions > div[role="none"] {
  min-width: 0 !important;
  margin: 0 !important;
}

body.zq-page-app-manage .zq-download-actions .n-button {
  width: 100% !important;
  min-width: 58px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

body.zq-page-app-manage .zq-download-actions .btn-dark-green {
  border-color: #249c6d !important;
  background: #18845b !important;
  color: #ffffff !important;
}

body.zq-page-app-manage .zq-download-actions .btn-dark-green:hover {
  border-color: #34b982 !important;
  background: #20996a !important;
}

body.zq-page-app-manage .zq-download-actions .btn-dark-orange {
  border-color: #605b45 !important;
  background: #181a19 !important;
  color: #e4bd62 !important;
}

body.zq-page-app-manage .zq-download-actions .btn-dark-orange:hover {
  border-color: #9a844f !important;
  background: #24221d !important;
}

body.zq-page-app-manage .zq-download-actions .btn-dark-red {
  border-color: #5d3941 !important;
  background: transparent !important;
  color: #d88a98 !important;
}

body.zq-page-app-manage .zq-download-actions .btn-dark-red:hover {
  border-color: #9a5361 !important;
  background: #25151a !important;
  color: #f0a3b0 !important;
}

body.zq-page-app-manage .zq-download-progress {
  grid-area: progress;
  width: 100% !important;
  margin-top: 8px !important;
}

@media (max-width: 420px) {
  body.zq-page-app-manage .n-layout-content,
  body.zq-page-app-manage .layout-content {
    padding: 12px !important;
  }

  body.zq-page-app-manage .zq-download-panel > .n-card__content {
    padding-top: 14px !important;
  }

  body.zq-page-app-manage .app-download-card[data-zq-card="download"] > .n-card__content {
    padding: 15px !important;
  }

  body.zq-page-app-manage .zq-download-content {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    column-gap: 12px !important;
  }

  body.zq-page-app-manage .zq-download-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.zq-page-app-manage .app-download-card[data-zq-card="download"] {
    max-width: none !important;
  }

  body.zq-page-app-manage .zq-download-content .app-icon-wrapper,
  body.zq-page-app-manage .app-download-card[data-zq-card="download"] .app-icon-wrapper img {
    width: 58px !important;
    height: 58px !important;
  }

  body.zq-page-app-manage .zq-download-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.zq-page-app-manage .zq-download-actions > .zq-download-action-item:first-child,
  body.zq-page-app-manage .zq-download-actions > div[role="none"]:first-child {
    grid-column: 1 / -1 !important;
  }
}

/* 应用生成：国家语言转换下拉 */
.apk-lang-section {
  overflow: visible !important;
  z-index: 2;
}
.apk-lang-section .n-form-item {
  margin-bottom: 6px !important;
}
.apk-lang-section .n-select,
.apk-lang-section .n-base-selection {
  width: 100% !important;
}
.apk-lang-section .n-base-selection {
  min-height: 38px !important;
  border-radius: 12px !important;
}
.apk-lang-tip {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(239,253,250,.68);
  font-size: 12px;
  line-height: 1.55;
  background: rgba(0,194,255,.07);
  border: 1px solid rgba(0,194,255,.14);
}

/* ADB 控制台：左侧设备池 + 右侧操作工作台 */
body.zq-page-adb-control {
  background: linear-gradient(135deg, #070b10, #0b151c 52%, #071018) !important;
}

body.zq-page-adb-control .zq-v5-page-titlebar {
  display: none !important;
}

body.zq-page-adb-control .layout-content,
body.zq-page-adb-control .n-layout-content {
  padding: 14px 18px 22px !important;
}

.zq-adb-control-app {
  --adb-bg: #0a0f14;
  --adb-panel: rgba(13, 21, 29, .92);
  --adb-panel-soft: rgba(18, 29, 39, .78);
  --adb-line: rgba(152, 180, 201, .20);
  --adb-line-strong: rgba(152, 180, 201, .36);
  --adb-text: #eef5f8;
  --adb-muted: #8c9daa;
  --adb-dim: #647482;
  --adb-green: #55d49e;
  --adb-cyan: #6fc8ed;
  --adb-amber: #e7b968;
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: var(--adb-text);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.zq-adb-control-app *,
.zq-adb-control-app *::before,
.zq-adb-control-app *::after {
  box-sizing: border-box;
}

.adb-control-shell {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 154px);
  padding: 4px 2px 22px;
  color: var(--adb-text);
}

.adb-control-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
  padding: 0 4px;
}

.adb-heading-copy {
  min-width: 0;
}

.adb-eyebrow,
.adb-panel-kicker,
.adb-section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--adb-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.65px;
  line-height: 1.2;
  text-transform: uppercase;
}

.adb-eyebrow-dot,
.adb-discovery-state i,
.adb-connection-dot,
.adb-live-dot,
.adb-footer-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--adb-green);
  box-shadow: 0 0 0 3px rgba(85, 212, 158, .11), 0 0 14px rgba(85, 212, 158, .62);
}

.adb-control-heading h1 {
  margin: 5px 0 2px;
  color: #f8fbfc;
  font-size: clamp(23px, 2.25vw, 31px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.adb-control-heading p {
  margin: 0;
  color: var(--adb-muted);
  font-size: 12px;
  line-height: 1.4;
}

.adb-heading-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.adb-tool-btn,
.adb-scan-btn,
.adb-icon-tool,
.adb-mini-btn,
.adb-send-btn,
.adb-keyboard-row button,
.adb-action-btn {
  appearance: none;
  border: 1px solid var(--adb-line-strong);
  color: #d9e7ed;
  background: rgba(24, 37, 48, .72);
  cursor: pointer;
  font: inherit;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.adb-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.adb-tool-btn > span,
.adb-send-btn > span,
.adb-scan-btn > span {
  color: var(--adb-cyan);
  font-size: 14px;
  line-height: 1;
}

.adb-tool-btn:hover,
.adb-scan-btn:hover,
.adb-icon-tool:hover,
.adb-mini-btn:hover,
.adb-keyboard-row button:hover,
.adb-action-btn:hover {
  border-color: rgba(111, 200, 237, .72);
  color: #fff;
  background: rgba(35, 61, 76, .92);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
  transform: translateY(-1px);
}

.adb-tool-btn:focus-visible,
.adb-scan-btn:focus-visible,
.adb-icon-tool:focus-visible,
.adb-mini-btn:focus-visible,
.adb-send-btn:focus-visible,
.adb-keyboard-row button:focus-visible,
.adb-action-btn:focus-visible,
.adb-device-item:focus-visible {
  outline: 2px solid rgba(111, 200, 237, .85);
  outline-offset: 2px;
}

.adb-tool-primary {
  border-color: rgba(85, 212, 158, .48);
  color: #a3e8c8;
  background: rgba(33, 93, 73, .42);
}

.adb-tool-primary > span {
  color: var(--adb-green);
}

.adb-control-grid {
  display: grid;
  grid-template-columns: minmax(232px, 278px) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  min-height: 650px;
}

.adb-device-panel,
.adb-console-panel {
  min-width: 0;
  border: 1px solid var(--adb-line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 25, 34, .97), rgba(8, 14, 20, .95));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.adb-device-panel {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 16px;
}

.adb-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 13px;
}

.adb-panel-heading h2 {
  margin: 4px 0 0;
  color: #f0f7fa;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.adb-device-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(85, 212, 158, .28);
  border-radius: 5px;
  color: var(--adb-green);
  background: rgba(85, 212, 158, .08);
  font-size: 11px;
  font-weight: 800;
}

.adb-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 0 10px;
  border: 1px solid var(--adb-line);
  border-radius: 6px;
  color: var(--adb-dim);
  background: rgba(4, 10, 15, .62);
}

.adb-search-box:focus-within {
  border-color: rgba(111, 200, 237, .62);
  box-shadow: 0 0 0 3px rgba(111, 200, 237, .08);
}

.adb-search-box > span {
  color: var(--adb-cyan);
  font-size: 16px;
  line-height: 1;
}

.adb-search-box input,
.adb-command-bar input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--adb-text);
  background: transparent;
  font: inherit;
}

.adb-search-box input {
  font-size: 12px;
}

.adb-search-box input::placeholder,
.adb-command-bar input::placeholder {
  color: #62717c;
}

.adb-device-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  margin: 13px 0;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-color: rgba(111, 200, 237, .3) transparent;
  scrollbar-width: thin;
}

.adb-device-item {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 74px;
  padding: 9px 9px 9px 8px;
  border: 1px solid rgba(152, 180, 201, .16);
  border-radius: 7px;
  color: inherit;
  text-align: left;
  background: rgba(17, 28, 38, .66);
  cursor: pointer;
  font: inherit;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.adb-device-item:hover {
  border-color: rgba(111, 200, 237, .54);
  background: rgba(27, 45, 57, .76);
  transform: translateX(2px);
}

.adb-device-item.is-selected {
  border-color: rgba(85, 212, 158, .72);
  background: linear-gradient(135deg, rgba(31, 88, 70, .48), rgba(20, 53, 68, .46));
  box-shadow: 0 0 0 1px rgba(85, 212, 158, .11), 0 10px 23px rgba(0, 0, 0, .2);
}

.adb-device-item.is-offline {
  opacity: .68;
}

.adb-device-item-avatar,
.adb-device-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--device-accent, var(--adb-cyan)) 65%, transparent);
  color: var(--device-accent, var(--adb-cyan));
  background: color-mix(in srgb, var(--device-accent, var(--adb-cyan)) 14%, #0d1820);
  font-weight: 850;
}

.adb-device-item-avatar {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  font-size: 15px;
}

.adb-device-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.adb-device-item-copy strong,
.adb-device-item-copy small,
.adb-device-item-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-device-item-copy strong {
  color: #eef7f9;
  font-size: 12px;
  font-weight: 800;
}

.adb-device-item-copy small {
  color: var(--adb-cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.adb-device-item-copy em {
  color: var(--adb-dim);
  font-size: 10px;
  font-style: normal;
}

.adb-device-item-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  color: var(--adb-dim);
  font-size: 9px;
  white-space: nowrap;
}

.adb-device-item-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #727f89;
}

.adb-device-item-meta i.is-online {
  background: var(--adb-green);
  box-shadow: 0 0 7px rgba(85, 212, 158, .65);
}

.adb-device-item-meta i.is-offline {
  background: #7c8790;
}

.adb-device-item-meta b {
  color: #afbec7;
  font-size: 10px;
  font-weight: 700;
}

.adb-empty-devices {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-height: 180px;
  color: var(--adb-muted);
  text-align: center;
}

.adb-empty-devices > span {
  color: var(--adb-cyan);
  font-size: 22px;
}

.adb-empty-devices strong {
  color: #dce9ee;
  font-size: 12px;
}

.adb-empty-devices small {
  font-size: 10px;
}

.adb-device-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(152, 180, 201, .14);
}

.adb-discovery-state {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: var(--adb-muted);
  font-size: 10px;
}

.adb-discovery-state span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-scan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 5px;
  color: #bcebd6;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.zq-adb-control-app.is-scanning .adb-device-list {
  opacity: .55;
}

.adb-console-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.adb-console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--adb-line);
  background: rgba(9, 17, 24, .72);
}

.adb-selected-device {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.adb-device-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  font-size: 17px;
}

.adb-selected-device > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.adb-selected-device strong {
  overflow: hidden;
  color: #f2f8fa;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-selected-device span:not(.adb-device-avatar) {
  overflow: hidden;
  color: var(--adb-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-connection-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #abc0ca;
  font-size: 10px;
  white-space: nowrap;
}

.adb-connection-dot.is-offline {
  background: #7e8993;
  box-shadow: none;
}

.adb-icon-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border-radius: 5px;
  color: #a7bbc4;
  font-size: 14px;
}

.adb-console-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(205px, 244px);
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.adb-screen-workspace {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
  background: rgba(8, 14, 20, .47);
}

.adb-screen-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  width: 100%;
}

.adb-screen-toolbar > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.adb-screen-toolbar strong {
  overflow: hidden;
  color: #e4eff2;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-screen-toolbar-actions {
  display: flex;
  gap: 5px;
}

.adb-mini-btn {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 5px;
  color: var(--adb-muted);
  font-size: 10px;
  font-weight: 700;
}

.adb-mini-btn.is-active {
  border-color: rgba(85, 212, 158, .53);
  color: #a7e8ca;
  background: rgba(46, 112, 85, .37);
}

.adb-screen-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: min(300px, 100%);
  min-height: 0;
  aspect-ratio: 9 / 17;
  overflow: hidden;
  border: 1px solid rgba(152, 180, 201, .22);
  border-radius: 26px;
  background:
    linear-gradient(rgba(111, 200, 237, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 200, 237, .035) 1px, transparent 1px),
    #080d12;
  background-size: 28px 28px;
}

.adb-screen-stage::before {
  position: absolute;
  top: 13px;
  left: 15px;
  color: rgba(140, 157, 170, .55);
  content: "PHONE SCREEN / 01";
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 1.1px;
}

.adb-phone-frame {
  position: relative;
  z-index: 1;
  width: calc(100% - 24px);
  min-width: 0;
  height: calc(100% - 42px);
  max-height: none;
  aspect-ratio: auto;
  padding: 8px;
  border: 2px solid #55616b;
  border-radius: 30px;
  background: #151c22;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.adb-phone-camera {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 38px;
  height: 9px;
  border-radius: 0 0 8px 8px;
  background: #0a0e12;
  transform: translateX(-50%);
}

.adb-phone-screen {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, #18282f 0%, #111c25 45%, #0d151d 100%);
}

.adb-phone-status,
.adb-phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 7px;
  color: rgba(239, 247, 250, .82);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.adb-phone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  color: #e9f3f5;
  text-align: center;
}

.adb-phone-content strong {
  font-size: 12px;
  font-weight: 800;
}

.adb-phone-content > span {
  color: #8aa0aa;
  font-size: 9px;
}

.adb-phone-app-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 51px;
  margin-bottom: 5px;
  border: 1px solid rgba(85, 212, 158, .58);
  border-radius: 15px;
  color: #a8efd0;
  background: rgba(39, 116, 86, .38);
  box-shadow: 0 0 24px rgba(85, 212, 158, .16);
  font-size: 21px;
  font-weight: 850;
}

.adb-phone-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 20px);
  gap: 8px;
  margin-top: 15px;
}

.adb-phone-shortcuts i {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(111, 200, 237, .28);
  border-radius: 6px;
  background: rgba(111, 200, 237, .10);
}

.adb-phone-nav {
  padding: 7px 22px 14px;
  color: rgba(239, 247, 250, .65);
  font-size: 12px;
}

.adb-screen-caption {
  position: absolute;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8da0aa;
  font-size: 10px;
  text-align: center;
}

.adb-live-dot {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
  box-shadow: 0 0 8px rgba(85, 212, 158, .6);
}

.adb-screen-stage.is-log-view .adb-phone-frame {
  opacity: .18;
  filter: saturate(.25);
}

.adb-screen-stage.is-log-view::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: #b5c9d1;
  content: "本次会话暂无真实事件日志";
  font-size: 12px;
  transform: translate(-50%, -50%);
}

.adb-inline-log {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 40px;
  max-width: min(70%, 420px);
  padding: 7px 9px;
  border: 1px solid rgba(111, 200, 237, .25);
  border-radius: 5px;
  color: #b7ced7;
  background: rgba(5, 12, 18, .88);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.adb-inline-log.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.adb-command-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  margin-top: 10px;
  width: 100%;
  padding: 0 7px 0 11px;
  border: 1px solid var(--adb-line);
  border-radius: 6px;
  background: rgba(4, 10, 15, .75);
}

.adb-command-prefix {
  color: var(--adb-green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.adb-command-bar input {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.adb-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 58px;
  min-height: 27px;
  padding: 0 8px;
  border-color: rgba(85, 212, 158, .42);
  border-radius: 5px;
  color: #b6ebd3;
  background: rgba(37, 104, 77, .34);
  font-size: 10px;
  font-weight: 750;
}

.adb-send-btn > span {
  color: var(--adb-green);
}

.adb-keyboard-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.adb-keyboard-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 30px;
  padding: 0 5px;
  border-radius: 5px;
  color: #d1e0e5;
  font-size: 13px;
}

.adb-keyboard-row button span {
  overflow: hidden;
  color: var(--adb-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-action-rail {
  min-width: 0;
  padding: 12px;
  border-left: 1px solid var(--adb-line);
  background: rgba(13, 22, 30, .55);
}

.adb-rail-scroll {
  display: flex;
  max-height: 100%;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding-right: 1px;
  scrollbar-color: rgba(111, 200, 237, .28) transparent;
  scrollbar-width: thin;
}

.adb-action-group {
  padding: 9px;
  border: 1px solid rgba(152, 180, 201, .18);
  border-radius: 6px;
  background: rgba(8, 15, 22, .48);
}

.adb-action-group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #dbe8ec;
  font-size: 10px;
  font-weight: 800;
}

.adb-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(111, 200, 237, .32);
  border-radius: 4px;
  color: var(--adb-cyan);
  background: rgba(111, 200, 237, .08);
  font-size: 10px;
}

.adb-action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.adb-action-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 28px;
  gap: 5px;
  padding: 0 6px;
  border-color: rgba(152, 180, 201, .22);
  border-radius: 4px;
  color: #b8c8cf;
  background: rgba(20, 32, 42, .78);
  font-size: 9px;
  font-weight: 700;
  text-align: left;
}

.adb-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  flex: 0 0 13px;
  color: var(--adb-cyan);
  font-size: 11px;
  line-height: 1;
}

.adb-action-btn > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 15px;
  border-top: 1px solid var(--adb-line);
  color: var(--adb-muted);
  background: rgba(7, 13, 18, .72);
  font-size: 10px;
}

.adb-footer-status {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
}

.adb-footer-status span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adb-footer-pulse {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
}

.adb-footer-hint {
  color: #60727d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: .8px;
  white-space: nowrap;
}

.adb-footer-hint b {
  color: #8ca4ae;
  font-weight: 700;
}

.adb-toast {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 14px;
  border: 1px solid rgba(85, 212, 158, .38);
  border-radius: 6px;
  color: #d8f6e8;
  background: rgba(11, 35, 28, .95);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.adb-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.adb-toast.is-error {
  border-color: rgba(220, 123, 129, .48);
  color: #ffd9dc;
  background: rgba(55, 21, 27, .96);
}

@media (max-width: 1260px) {
  .adb-control-grid {
    grid-template-columns: minmax(218px, 252px) minmax(0, 1fr);
  }

  .adb-console-body {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 215px);
  }

  .adb-action-group {
    padding: 8px;
  }

  .adb-action-btn {
    font-size: 8px;
  }
}

@media (max-width: 1040px) {
  .adb-control-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .adb-heading-tools {
    justify-content: flex-start;
  }

  .adb-console-body {
    grid-template-columns: 1fr;
  }

  .adb-action-rail {
    border-top: 1px solid var(--adb-line);
    border-left: 0;
  }

  .adb-rail-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .adb-control-shell {
    padding-right: 0;
    padding-left: 0;
  }

  .adb-control-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .adb-device-panel {
    min-height: 0;
    max-height: 410px;
  }

  .adb-device-list {
    flex: 0 1 auto;
    max-height: 235px;
  }

  .adb-console-panel {
    min-height: 750px;
  }

  .adb-console-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .adb-connection-meta {
    width: 100%;
  }

  .adb-screen-stage {
    width: min(286px, 100%);
    aspect-ratio: 9 / 17;
  }

  .adb-rail-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .adb-control-heading {
    margin-bottom: 11px;
  }

  .adb-heading-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .adb-tool-btn {
    width: 100%;
    padding: 0 7px;
  }

  .adb-device-panel,
  .adb-screen-workspace,
  .adb-action-rail {
    padding: 11px;
  }

  .adb-screen-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .adb-screen-toolbar-actions {
    width: 100%;
  }

  .adb-mini-btn {
    flex: 1;
  }

  .adb-screen-stage {
    width: min(270px, 100%);
    aspect-ratio: 9 / 17;
  }

  .adb-phone-frame {
    width: calc(100% - 20px);
  }

  .adb-keyboard-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adb-keyboard-row button:nth-child(4),
  .adb-keyboard-row button:nth-child(5) {
    grid-column: span 1;
  }

  .adb-console-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* ADB 原图完整功能区 */
.adb-reference-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border: 1px solid var(--adb-line);
  border-radius: 8px;
  background: rgba(12, 20, 28, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.adb-reference-toolbar > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  color: #f1f7f9;
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.adb-reference-toolbar > strong i {
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--adb-cyan);
}

.adb-color-control,
.adb-font-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #c9d7dd;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.adb-color-control input[type="color"] {
  width: 34px;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--adb-line-strong);
  border-radius: 5px;
  background: #111920;
  cursor: pointer;
}

.adb-font-control {
  min-width: 190px;
}

.adb-font-control input[type="range"] {
  width: 120px;
  accent-color: var(--adb-cyan);
  cursor: pointer;
}

.adb-font-control output {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  border: 1px solid var(--adb-line);
  border-radius: 5px;
  color: var(--adb-cyan);
  background: rgba(111, 200, 237, .08);
  font-size: 12px;
  font-weight: 800;
}

.adb-reference-toolbar > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--adb-line-strong);
  border-radius: 6px;
  color: #d7e5ea;
  background: rgba(25, 39, 50, .80);
  cursor: pointer;
  font: 750 13px/1 "Segoe UI", "Microsoft YaHei", sans-serif;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.adb-reference-toolbar > button:hover,
.adb-reference-toolbar > button.is-active {
  border-color: rgba(111, 200, 237, .70);
  color: #fff;
  background: rgba(38, 67, 82, .92);
  transform: translateY(-1px);
}

.adb-toolbar-icon {
  color: var(--adb-cyan);
  font-size: 15px;
}

.adb-rail-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.adb-action-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.adb-action-group {
  min-width: 0;
  padding: 15px;
}

.adb-action-group-title {
  min-height: 26px;
  margin-bottom: 13px;
  font-size: 15px;
}

.adb-action-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.adb-action-btn {
  min-height: 44px;
  padding: 7px 12px;
  font-size: var(--adb-control-font-size, 14px);
  line-height: 1.3;
}

.adb-action-btn.is-active {
  border-color: rgba(85, 212, 158, .72);
  color: #dffbef;
  background: rgba(37, 104, 77, .56);
  box-shadow: inset 0 0 0 1px rgba(85, 212, 158, .12);
}

.adb-action-icon {
  width: 19px;
  flex-basis: 19px;
  font-size: 15px;
}

.adb-pin-field {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(152, 180, 201, .28);
  border-radius: 6px;
  background: rgba(7, 14, 20, .72);
}

.adb-pin-field:focus-within {
  border-color: rgba(111, 200, 237, .75);
  box-shadow: 0 0 0 3px rgba(111, 200, 237, .08);
}

.adb-pin-field > span {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 11px;
  border-right: 1px solid rgba(152, 180, 201, .18);
  color: var(--adb-cyan);
  background: rgba(111, 200, 237, .06);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 850;
}

.adb-pin-field input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 11px;
  border: 0;
  outline: 0;
  color: var(--adb-text);
  background: transparent;
  font: 700 var(--adb-control-font-size, 14px)/1 "Segoe UI", "Microsoft YaHei", sans-serif;
}

.adb-pin-field input::placeholder {
  color: #73838e;
}

.adb-volume-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 11px;
}

.adb-volume-row button,
.adb-dpad button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--adb-line-strong);
  border-radius: 6px;
  color: #dbe7eb;
  background: rgba(24, 38, 49, .82);
  cursor: pointer;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.adb-volume-row button {
  gap: 5px;
  font-size: 14px;
}

.adb-volume-row button span {
  color: var(--adb-cyan);
  font-size: 18px;
}

.adb-volume-row button b {
  color: #fff;
  font-size: 18px;
}

.adb-volume-row button em {
  color: #9badb6;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.adb-volume-row button:hover,
.adb-dpad button:hover {
  border-color: rgba(111, 200, 237, .72);
  color: #fff;
  background: rgba(36, 62, 77, .94);
  transform: translateY(-1px);
}

.adb-dpad {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 72px));
  grid-template-areas:
    ". up ."
    "left center right"
    ". down .";
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.adb-dpad button {
  min-height: 48px;
  font-size: 19px;
  font-weight: 800;
}

.adb-dpad button:nth-child(1) { grid-area: up; }
.adb-dpad button:nth-child(2) { grid-area: left; }
.adb-dpad > span { grid-area: center; }
.adb-dpad button:nth-child(4) { grid-area: right; }
.adb-dpad button:nth-child(5) { grid-area: down; }

.zq-adb-control-app.is-custom-appearance .adb-device-panel,
.zq-adb-control-app.is-custom-appearance .adb-console-panel,
.zq-adb-control-app.is-custom-appearance .adb-reference-toolbar {
  background: var(--adb-user-bg, #0d161e) !important;
}

.zq-adb-control-app.is-custom-appearance .adb-action-btn,
.zq-adb-control-app.is-custom-appearance .adb-pin-field input,
.zq-adb-control-app.is-custom-appearance .adb-selected-device strong,
.zq-adb-control-app.is-custom-appearance .adb-panel-heading h2 {
  color: var(--adb-text) !important;
}

.zq-adb-control-app.is-alt-palette {
  --adb-green: #f2c86b;
  --adb-cyan: #7db8ff;
  --adb-amber: #72dda2;
}

.zq-adb-control-app.is-mirror-closed .adb-phone-content,
.zq-adb-control-app.is-mirror-closed .adb-phone-status,
.zq-adb-control-app.is-mirror-closed .adb-phone-nav,
.zq-adb-control-app.is-screen-locked .adb-phone-content,
.zq-adb-control-app.is-screen-locked .adb-phone-status,
.zq-adb-control-app.is-screen-locked .adb-phone-nav {
  opacity: 0;
}

.zq-adb-control-app.is-mirror-closed .adb-phone-screen,
.zq-adb-control-app.is-screen-locked .adb-phone-screen {
  background: #030506;
}

.zq-adb-control-app.is-mirror-closed .adb-phone-frame::after,
.zq-adb-control-app.is-screen-locked .adb-phone-frame::after {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  color: #a9bbc3;
  content: "投屏已关闭";
  font-size: 14px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.zq-adb-control-app.is-screen-locked .adb-phone-frame::after {
  content: "屏幕已锁定";
}

.adb-phone-frame {
  transition: transform .24s ease, width .24s ease, height .24s ease;
}

.zq-adb-control-app.is-screen-rotated .adb-phone-frame {
  transform: rotate(90deg) scale(.78);
}

@media (max-width: 1540px) {
  .adb-reference-toolbar {
    gap: 9px;
  }

  .adb-reference-toolbar > button {
    padding: 0 11px;
  }

  .adb-font-control {
    min-width: 166px;
  }

  .adb-font-control input[type="range"] {
    width: 94px;
  }

  .adb-action-btn {
    font-size: var(--adb-control-font-size, 13px);
  }
}

@media (max-width: 1240px) {
  .adb-rail-scroll {
    grid-template-columns: 1fr;
  }

  .adb-action-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .adb-action-column .adb-action-group:first-child {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .adb-reference-toolbar {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .adb-reference-toolbar > strong,
  .adb-font-control {
    grid-column: 1 / -1;
  }

  .adb-color-control {
    justify-content: space-between;
  }

  .adb-reference-toolbar > button {
    min-height: 44px;
  }

  .adb-rail-scroll,
  .adb-action-column {
    display: flex;
    flex-direction: column;
  }

  .adb-action-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .adb-reference-toolbar {
    gap: 9px;
  }

  .adb-reference-toolbar > button,
  .adb-color-control {
    font-size: 12px;
  }

  .adb-action-group {
    padding: 13px;
  }

  .adb-action-group-title {
    font-size: 14px;
  }

  .adb-action-btn {
    min-height: 46px;
    padding: 7px 9px;
    font-size: var(--adb-control-font-size, 13px);
  }
}

/* ADB 控制台大尺寸布局：提升可读性并减少手机两侧无效空白 */
body.zq-page-adb-control .layout-content,
body.zq-page-adb-control .n-layout-content {
  padding: 18px 24px 28px !important;
}

.adb-control-shell {
  min-height: calc(100vh - 118px);
  padding-bottom: 28px;
}

.adb-control-heading {
  align-items: center;
  min-height: 72px;
  margin-bottom: 16px;
  padding: 2px 6px;
}

.adb-eyebrow,
.adb-panel-kicker,
.adb-section-label {
  font-size: 11px;
  letter-spacing: 1.3px;
}

.adb-control-heading h1 {
  margin-top: 7px;
  font-size: 34px;
}

.adb-control-heading p {
  margin-top: 4px;
  font-size: 14px;
}

.adb-heading-tools {
  gap: 10px;
}

.adb-tool-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 13px;
}

.adb-tool-btn > span,
.adb-send-btn > span,
.adb-scan-btn > span {
  font-size: 17px;
}

.adb-control-grid {
  grid-template-columns: minmax(286px, 316px) minmax(0, 1fr);
  gap: 16px;
  min-height: 870px;
}

.adb-device-panel,
.adb-console-panel {
  border-radius: 8px;
}

.adb-device-panel {
  min-height: 870px;
  padding: 20px;
}

.adb-panel-heading {
  margin-bottom: 17px;
}

.adb-panel-heading h2 {
  margin-top: 6px;
  font-size: 20px;
}

.adb-device-count {
  min-width: 48px;
  height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.adb-search-box {
  min-height: 44px;
  gap: 10px;
  padding: 0 13px;
  border-radius: 7px;
}

.adb-search-box > span {
  font-size: 19px;
}

.adb-search-box input {
  font-size: 13px;
}

.adb-device-list {
  gap: 11px;
  margin: 16px 0;
}

.adb-device-item {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 11px;
  min-height: 92px;
  padding: 12px 11px;
  border-radius: 7px;
}

.adb-device-item-avatar {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  font-size: 18px;
}

.adb-device-item-copy {
  gap: 3px;
}

.adb-device-item-copy strong {
  font-size: 14px;
}

.adb-device-item-copy small {
  font-size: 11px;
}

.adb-device-item-copy em {
  font-size: 11px;
}

.adb-device-item-meta {
  gap: 5px;
  font-size: 11px;
}

.adb-device-item-meta i {
  width: 8px;
  height: 8px;
}

.adb-device-item-meta b {
  font-size: 11px;
}

.adb-device-panel-footer {
  gap: 10px;
  padding-top: 16px;
}

.adb-discovery-state {
  gap: 8px;
  font-size: 12px;
}

.adb-scan-btn {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 12px;
}

.adb-console-toolbar {
  min-height: 82px;
  padding: 14px 18px;
}

.adb-selected-device {
  gap: 13px;
}

.adb-device-avatar {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 9px;
  font-size: 20px;
}

.adb-selected-device strong {
  font-size: 16px;
}

.adb-selected-device span:not(.adb-device-avatar) {
  font-size: 12px;
}

.adb-connection-meta {
  gap: 9px;
  font-size: 12px;
}

.adb-connection-dot {
  width: 8px;
  height: 8px;
  flex-basis: 8px;
}

.adb-icon-tool {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 17px;
}

.adb-console-body {
  grid-template-columns: minmax(470px, 500px) minmax(0, 1fr);
}

.adb-screen-workspace {
  justify-content: flex-start;
  padding: 18px;
}

.adb-screen-toolbar {
  align-items: center;
  margin-bottom: 14px;
}

.adb-screen-toolbar > div:first-child {
  gap: 6px;
}

.adb-screen-toolbar strong {
  font-size: 15px;
}

.adb-screen-toolbar-actions {
  gap: 7px;
}

.adb-mini-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 12px;
}

.adb-screen-stage {
  width: min(400px, 100%);
  aspect-ratio: 9 / 17;
  border-radius: 30px;
}

.adb-screen-stage::before {
  top: 16px;
  left: 18px;
  font-size: 10px;
}

.adb-phone-frame {
  width: calc(100% - 24px);
  height: calc(100% - 48px);
  padding: 9px;
  border-width: 3px;
  border-radius: 34px;
}

.adb-phone-camera {
  top: 13px;
  width: 46px;
  height: 10px;
}

.adb-phone-screen {
  border-radius: 24px;
}

.adb-phone-status,
.adb-phone-nav {
  padding: 18px 18px 8px;
  font-size: 10px;
}

.adb-phone-content {
  gap: 10px;
  padding: 20px;
}

.adb-phone-content strong {
  font-size: 16px;
}

.adb-phone-content > span {
  font-size: 12px;
}

.adb-phone-app-mark {
  width: 66px;
  height: 66px;
  margin-bottom: 7px;
  border-radius: 16px;
  font-size: 27px;
}

.adb-phone-shortcuts {
  grid-template-columns: repeat(4, 28px);
  gap: 10px;
  margin-top: 19px;
}

.adb-phone-shortcuts i {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.adb-phone-nav {
  padding: 9px 28px 18px;
  font-size: 15px;
}

.adb-screen-caption {
  right: 18px;
  bottom: 16px;
  left: 18px;
  gap: 8px;
  font-size: 12px;
}

.adb-live-dot {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
}

.adb-inline-log {
  right: 16px;
  bottom: 46px;
  max-width: calc(100% - 32px);
  padding: 9px 11px;
  font-size: 11px;
}

.adb-command-bar {
  min-height: 46px;
  margin-top: 13px;
  padding: 0 8px 0 13px;
  border-radius: 7px;
}

.adb-command-prefix {
  font-size: 16px;
}

.adb-command-bar input {
  font-size: 13px;
}

.adb-send-btn {
  min-width: 74px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
}

.adb-keyboard-row {
  gap: 8px;
  margin-top: 10px;
}

.adb-keyboard-row button {
  min-height: 42px;
  gap: 7px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 17px;
}

.adb-keyboard-row button span {
  font-size: 11px;
}

.adb-action-rail {
  padding: 18px;
}

.adb-rail-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  align-content: start;
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.adb-action-group {
  padding: 14px;
  border-radius: 7px;
}

.adb-action-group-title {
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.adb-group-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  font-size: 13px;
}

.adb-action-list {
  gap: 8px;
}

.adb-action-btn {
  min-height: 42px;
  gap: 8px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.25;
}

.adb-action-icon {
  width: 18px;
  flex-basis: 18px;
  font-size: 14px;
}

.adb-action-btn > span:last-child {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.adb-console-footer {
  min-height: 46px;
  padding: 0 18px;
  font-size: 12px;
}

.adb-footer-pulse {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
}

.adb-footer-hint {
  font-size: 10px;
}

.adb-toast {
  padding: 13px 17px;
  font-size: 13px;
}

@media (max-width: 1540px) {
  .adb-control-grid {
    grid-template-columns: minmax(270px, 292px) minmax(0, 1fr);
  }

  .adb-device-panel {
    padding: 17px;
  }

  .adb-console-body {
    grid-template-columns: minmax(390px, 420px) minmax(0, 1fr);
  }

  .adb-screen-stage {
    width: min(350px, 100%);
  }

  .adb-rail-scroll {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}

@media (max-width: 1240px) {
  body.zq-page-adb-control .layout-content,
  body.zq-page-adb-control .n-layout-content {
    padding: 16px !important;
  }

  .adb-control-grid {
    grid-template-columns: minmax(250px, 270px) minmax(0, 1fr);
  }

  .adb-console-body {
    grid-template-columns: minmax(370px, 400px) minmax(0, 1fr);
  }

  .adb-screen-stage {
    width: min(338px, 100%);
  }

  .adb-rail-scroll {
    grid-template-columns: 1fr;
  }

  .adb-action-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .adb-control-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .adb-device-panel {
    min-height: 0;
  }

  .adb-device-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .adb-console-body {
    grid-template-columns: minmax(370px, 430px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .adb-control-heading {
    align-items: flex-start;
    min-height: 0;
  }

  .adb-control-heading h1 {
    font-size: 30px;
  }

  .adb-heading-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .adb-device-list {
    display: flex;
    max-height: 330px;
    overflow-y: auto;
  }

  .adb-device-panel {
    max-height: 540px;
  }

  .adb-console-panel {
    min-height: 0;
  }

  .adb-console-body {
    grid-template-columns: 1fr;
  }

  .adb-screen-workspace {
    padding: 15px;
  }

  .adb-screen-stage {
    width: min(340px, 100%);
  }

  .adb-action-rail {
    padding: 15px;
  }

  .adb-rail-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adb-action-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body.zq-page-adb-control .layout-content,
  body.zq-page-adb-control .n-layout-content {
    padding: 12px !important;
  }

  .adb-tool-btn {
    min-height: 44px;
    font-size: 12px;
  }

  .adb-device-panel {
    padding: 15px;
  }

  .adb-device-item {
    grid-template-columns: 43px minmax(0, 1fr) auto;
    min-height: 88px;
  }

  .adb-device-item-avatar {
    width: 43px;
    height: 43px;
  }

  .adb-console-toolbar {
    padding: 14px;
  }

  .adb-connection-meta {
    flex-wrap: wrap;
  }

  .adb-screen-toolbar {
    gap: 10px;
  }

  .adb-screen-stage {
    width: min(326px, 100%);
  }

  .adb-keyboard-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adb-keyboard-row button:last-child {
    grid-column: 1 / -1;
  }

  .adb-rail-scroll {
    grid-template-columns: 1fr;
  }

  .adb-action-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adb-action-btn {
    min-height: 44px;
    font-size: 12px;
  }
}

