/* 个人中心相关页面使用全局橙红主题，与系统保持统一 */
#pageMy,
#pageAccountSettings,
#pageAssetAdd,
#pageAssetDetail,
#pageAssetFields,
#pageAboutSystem,
#pageUserAgreement,
#pagePrivacyPolicy,
#pageOpenApi,
#pageVersionUpdate {
  --primary-color: #f56351;
  --primary-dark: #e05341;
  --primary-rgb: 245, 99, 81;
}

#pageMy .banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
#pageMy .banner .my-profile {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 52px 0 0 !important;
  gap: 14px;
}
#pageMy .banner .profile-info {
  min-width: 0;
  flex: 1;
}
#pageMy .banner .profile-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#pageMy .banner .profile-uid {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
body:not(.is-authenticated) #pageMy .banner .profile-uid {
  display: none;
}
#pageMy .banner .profile-avatar {
  width: 68px;
  height: 68px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.65);
}
#pageMy .banner .profile-name {
  font-size: 20px;
  letter-spacing: 0.5px;
}
#pageMy .banner .profile-phone {
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* 名称行：姓名 + 会员标识 */
#pageMy .banner .profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#pageMy .banner .profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}
body:not(.is-authenticated) #pageMy .banner .profile-badge {
  display: none;
}

/* 编辑资料按钮 */
#pageMy .banner .profile-edit-btn {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
#pageMy .banner .profile-edit-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.32);
}
body:not(.is-authenticated) #pageMy .banner .profile-edit-btn {
  display: none;
}

/* 头部下方快捷入口 */
#pageMy .banner .profile-quick-row {
  position: relative;
  z-index: 2;
  margin: clamp(12px, 3.5vw, 18px) 0 0;
  padding: clamp(10px, 3vw, 14px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
#pageMy .banner .pq-company {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
#pageMy .banner .pq-company-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
#pageMy .banner .pq-company-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#pageMy .banner .pq-company-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 12px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}
#pageMy .banner .pq-company-switch i {
  font-size: 10px;
  transition: transform var(--transition-fast);
}
#pageMy .banner .pq-company:hover .pq-company-switch {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.5);
}
#pageMy .banner .pq-company:hover .pq-company-switch i {
  transform: translateX(2px);
}
#pageMy .banner .pq-company:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.28);
}
#pageMy .banner .pq-company:active .pq-company-switch {
  background: rgba(255, 255, 255, 0.42);
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

#pageAssetAdd .detail-header {
  margin: 0 0 18px;
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: none;
}

#pageAssetAdd .detail-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
}

#pageAssetAdd .detail-back-btn {
  width: 36px;
  height: 36px;
}

#pageAssetAdd .page-content-inner {
  padding: 16px;
  box-shadow: none;
}

.asset-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
  gap: 12px;
}

.asset-list-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.asset-list-head h3 {
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
}

.asset-search-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  padding: 0;
  color: var(--primary-color, #f56351);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.asset-search-btn:active {
  background: transparent;
}

.asset-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: #f5f6f8;
  border-radius: 10px;
  border: 1px solid #ececec;
}

.asset-search-bar.is-hidden {
  display: none;
}

.asset-search-bar-icon {
  flex: 0 0 auto;
  color: #999;
}

.asset-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 24px;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  -webkit-appearance: none;
  appearance: none;
}

.asset-search-input::-webkit-search-cancel-button,
.asset-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.asset-search-input::placeholder {
  color: #bbb;
}

.asset-search-clear {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.asset-search-clear:active {
  transform: scale(0.9);
}

.asset-search-cancel {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  padding: 0 2px 0 4px;
  font-size: 14px;
  color: var(--primary-color, #f56351);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.asset-setting-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  padding: 0;
  color: #222429;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-header-setting {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.asset-setting-icon {
  width: 28px;
  height: 28px;
}

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asset-list-item {
  padding: 12px;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  background: #fbfcfc;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.asset-list-item:active {
  background: #f2f4f6;
  border-color: #dde1e5;
}

.asset-list-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asset-list-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.asset-list-top strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-primary);
  word-break: break-all;
}

.asset-list-code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-secondary);
}

.asset-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
}

.asset-info-item {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-secondary);
}

.asset-info-item em {
  margin-right: 5px;
  color: var(--text-light);
  font-style: normal;
}

.asset-status {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.14);
}

/* 自定义状态颜色 - 使用配置中的 className */
.asset-status.completed {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.14);
}

.asset-status.pending {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.14);
}

.asset-status.processing {
  color: #3498db;
  background: rgba(52, 152, 219, 0.14);
}

.asset-status.dispatched {
  color: #8e44ad;
  background: rgba(142, 68, 173, 0.14);
}

.asset-status.cancelled {
  color: #999;
  background: rgba(153, 153, 153, 0.16);
}

.asset-status.warning {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.14);
}

.asset-status.idle {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.14);
}

.asset-status.repair {
  color: #3498db;
  background: rgba(52, 152, 219, 0.14);
}

.asset-status.transfer {
  color: #8e44ad;
  background: rgba(142, 68, 173, 0.14);
}

.asset-status.scrapped {
  color: #999;
  background: rgba(153, 153, 153, 0.16);
}

.asset-status.teal {
  color: #00BCD4;
  background: rgba(0, 188, 212, 0.14);
}

.asset-status.purple {
  color: #AB47BC;
  background: rgba(171, 71, 188, 0.14);
}

.asset-status.indigo {
  color: #5C6BC0;
  background: rgba(92, 107, 192, 0.14);
}

.asset-status.pink {
  color: #EC407A;
  background: rgba(236, 64, 122, 0.14);
}

.asset-status.brown {
  color: #8D6E63;
  background: rgba(141, 110, 99, 0.14);
}

.asset-status.lime {
  color: #9CCC65;
  background: rgba(156, 204, 101, 0.14);
}

.asset-empty {
  padding: 18px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

.banner .profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.banner .profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.banner .profile-avatar:active {
  transform: scale(0.98);
}

/* 添加透明覆盖层 - 仅用于未登录状态 */
.banner .profile-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.banner .profile-avatar img,
.banner .profile-avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.banner .profile-avatar svg path {
  pointer-events: none;
}

.banner .profile-info .avatar-login-tip {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  display: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.banner .profile-info .avatar-login-tip:hover {
  opacity: 0.8;
}

.banner .profile-info {
  display: flex;
  flex-direction: column;
}

.banner .profile-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.banner .profile-phone {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 4px 0 0 0;
  display: none;
}

.banner .profile-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 4px 0 0 0;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.banner .profile-subtitle:hover {
  opacity: 0.7;
}

.my-menu {
  background: #fff;
  margin: 0 12px 16px;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.my-menu .menu-item.logout {
  padding: 18px 20px;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.06), rgba(255, 71, 87, 0.04));
}

.my-menu .menu-item.logout:active {
  background: rgba(255, 107, 107, 0.12);
}

.my-menu .menu-item.logout .menu-item-left span {
  font-size: 16px;
  font-weight: 600;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:active {
  background: #f8f9fa;
}

.menu-item span {
  font-size: 15px;
  color: var(--text-primary);
}

.menu-item svg {
  width: 20px;
  height: 20px;
}

.menu-item.logout span {
  color: var(--secondary-color);
}

.my-back-btn svg {
  width: 20px;
  height: 20px;
}

.my-title {
  margin: 0;
  margin-left: 12px;
  font-size: 18px;
  font-weight: 600;
}

/* 统计区域样式 */
.my-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  padding: 14px 16px;
  margin: 12px 16px 12px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 2px 0;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.stat-item:active {
  transform: scale(0.96);
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
}

/* 常用工具模块样式 —— 列表卡片式（图标 + 名称 + 右箭头） */
.tools-section {
  background: transparent;
  margin: 0 16px 16px;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding: 0 4px;
}

.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* 隐藏占位 span 不参与布局 */
.tools-grid > [hidden] {
  display: none !important;
}

.tool-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f2f3f5;
  cursor: pointer;
  transition: background var(--transition-fast);
  position: relative;
}

.tool-item:last-child {
  border-bottom: none;
}

.tool-item:active {
  background: #f8f9fa;
}

.tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon svg {
  width: 22px;
  height: 22px;
}

.tool-name {
  flex: 1;
  font-size: 15px;
  color: var(--text-primary);
  text-align: left;
}

/* 右侧箭头 */
.tool-item::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #c8c9cc;
  border-right: 1.5px solid #c8c9cc;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-right: 4px;
}

/* 每项图标背景色差异化（按可见顺序） */
#toolNewbieGuide .tool-icon      { background: rgba( 64, 158, 255, 0.12); }
#toolContact .tool-icon          { background: rgba(103, 194, 58, 0.14); }
#toolClearCache .tool-icon       { background: rgba(245, 108, 108, 0.12); }
#toolOpenApi .tool-icon          { background: rgba(144, 97, 249, 0.14); }
#toolUserAgreement .tool-icon    { background: rgba( 64, 158, 255, 0.12); }
#toolPrivacyPolicy .tool-icon    { background: rgba( 78, 205, 196, 0.16); }

/* 技术支持样式 */
.tech-support {
  text-align: center;
  padding: 20px 0 28px;
  margin-bottom: 80px;
  font-size: 12px;
  color: #b5bdc8;
  letter-spacing: 0.5px;
}

/* 菜单项样式 */
.menu-item-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.menu-icon {
  width: 24px;
  height: 24px;
}

.menu-arrow {
  width: 16px;
  height: 16px;
}

.menu-item-left span {
  font-size: 18px;
  color: var(--text-primary);
}

.menu-item.logout .menu-item-left span {
  color: var(--secondary-color);
}

.form-bg-container {
  min-height: auto;
  background: transparent;
}

.form-bg-header {
  display: none;
}

.form-bg-content {
  margin-top: 0;
  margin-bottom: 0;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  min-height: auto;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.profile-name[title*="点击登录"] {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.profile-name[title*="点击登录"]:hover {
  color: var(--primary-dark);
}

.about-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 26px 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--primary-rgb), 0.04) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.about-hero::after {
  content: '';
  position: absolute;
  right: -46px;
  top: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
}

.about-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.22);
  overflow: hidden;
}

.about-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.about-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about-version {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* 点击版本号进入版本更新页面 */
.about-version-clickable {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, transform 0.15s;
}

.about-version-clickable:hover {
  background: rgba(var(--primary-rgb), 0.24);
}

.about-version-clickable:active {
  transform: scale(0.96);
}

.about-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-section {
  position: relative;
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #edf1f3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.about-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.about-section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fbfb;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  font-size: 13px;
}

.about-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.about-contact-section,
.about-system-info-section {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
}

.about-contact-section::after,
.about-system-info-section::after {
  content: '';
  position: absolute;
  right: -34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.07);
  pointer-events: none;
}

.about-contact-section .about-info-list,
.about-system-info-section .about-info-list {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-info-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(248, 251, 251, 0.88);
  border: 1px solid #eef4f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 13px;
  color: var(--text-light);
}

.about-info-row span {
  width: 100%;
  font-size: 12px;
  color: var(--text-light);
  text-align: left;
}

.about-info-row strong {
  width: 100%;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  word-break: break-all;
}

.about-contact-section .about-info-row:nth-child(1),
.about-contact-section .about-info-row:nth-child(2) {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.13), rgba(var(--primary-rgb), 0.04));
  border-color: rgba(var(--primary-rgb), 0.2);
}

.about-contact-section .about-info-row:nth-child(1) strong,
.about-contact-section .about-info-row:nth-child(2) strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.about-contact-section .about-info-row:nth-child(5) {
  grid-column: 1 / -1;
}

@media (max-width: 360px) {
  .about-contact-section .about-info-list,
  .about-system-info-section .about-info-list {
    grid-template-columns: 1fr;
  }
}

.about-footer-text {
  margin-top: 16px;
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
}

.settings-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.settings-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.settings-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-form .form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.settings-form .form-item label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: left;
}

.settings-form .form-input {
  padding: 10px 12px;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  transition: all var(--transition-fast);
}

.settings-form .form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.settings-btn {
  margin-top: 20px;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.settings-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* 登录提示样式 */
.login-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.login-prompt .icon {
  margin-bottom: 16px;
}

.prompt-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.prompt-hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.settings-btn.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.settings-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 8px;
}

.about-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.about-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.company-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.company-modal {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  transition: all var(--transition-normal);
  margin: auto;
  align-self: center;
}

.company-modal-overlay.show .company-modal {
  transform: scale(1);
  margin: auto;
  align-self: center;
}

.company-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 16px 16px 0 0;
}

.company-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.company-modal-close:hover {
  background: #f5f5f5;
  transform: rotate(90deg);
}

.company-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.company-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row .form-item.full-width {
  grid-column: 1 / -1;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-item label.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-item label.form-label .required {
  color: var(--secondary-color);
}

.form-item input.form-input,
.form-item select.form-select,
.form-item textarea.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  transition: all var(--transition-fast);
  outline: none;
}

.form-item input.form-input:focus,
.form-item select.form-select:focus,
.form-item textarea.form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-item input.form-input::placeholder,
.form-item textarea.form-textarea::placeholder {
  color: #999;
}

.form-item select.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-item select.form-select:hover {
  border-color: var(--primary-color);
}

.image-upload-area {
  position: relative;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #fafafa;
}

.image-upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.05);
}

.image-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.image-upload-placeholder svg {
  opacity: 0.5;
}

.upload-tip {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-light);
}

.image-preview {
  position: relative;
  display: inline-block;
}

.image-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.image-remove-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.company-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #eee;
  background: #fafafa;
  border-radius: 0 0 16px 16px;
}

/* 企业列表容器 */
.company-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

/* 企业列表 */
.company-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 企业列表项 */
.company-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.company-item:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.05);
}

.company-item.selected {
  border-color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.1);
}

.company-item.selected::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-right: 12px;
}

.company-item-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
}

.company-item-id {
  font-size: 12px;
  color: var(--text-light);
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: var(--text-light);
}

.empty-state svg {
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 14px;
}

/* 空状态提示 */
.empty-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.empty-tip svg {
  display: none;
}

.empty-tip p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* 按钮禁用状态 */
.company-modal-btn:disabled {
  background: #e8e8e8 !important;
  color: #999 !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.company-modal-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.company-modal-btn.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.company-modal-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.account-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.account-info-item:last-child {
  border-bottom: none;
}

.account-info-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.account-info-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.about-page-content .about-section {
  position: relative;
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #edf1f3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.about-page-content .about-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.about-page-content .about-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about-page-content .about-version {
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
}

.about-page-content .about-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: left;
}

@media (max-width: 440px) {
  .feedback-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.settings-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.settings-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-user-info {
  flex: 1;
  min-width: 0;
}

.settings-username {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-phone {
  font-size: 13px;
  color: var(--text-secondary);
}

.settings-edit-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.settings-edit-btn:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

.settings-list {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.settings-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid #f5f5f5;
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item:hover {
  background: #fafafa;
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.settings-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-item-text {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.settings-arrow {
  flex-shrink: 0;
}

.settings-logout-section {
  margin-top: 24px;
}

.settings-logout-btn {
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid #ffe0e0;
  border-radius: 12px;
  color: #ff6b6b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.settings-logout-btn:hover {
  background: #fff5f5;
  border-color: #ffcccc;
}

.settings-logout-btn:active {
  transform: scale(0.98);
}

.about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.02));
  border: 1px solid rgba(var(--primary-rgb), 0.14);
}

.about-contact-label {
  flex: 0 0 72px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.about-contact-value {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-contact-section .about-info-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.about-contact-section .about-info-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.02));
  border-color: rgba(var(--primary-rgb), 0.14);
}

.about-contact-section .about-info-row span,
.about-contact-section .about-info-row strong {
  width: auto;
  text-align: left;
}

.about-contact-section .about-info-row strong {
  font-size: 14px;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-contact-section .about-info-row:nth-child(1),
.about-contact-section .about-info-row:nth-child(2),
.about-contact-section .about-info-row:nth-child(5) {
  grid-column: auto;
}

#aboutSystemContent {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

#aboutSystemContent .about-hero {
  padding: 28px 16px 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(255, 255, 255, 0.96) 58%, rgba(var(--primary-rgb), 0.08) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.12);
}

#aboutSystemContent .about-hero::after {
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  background: rgba(var(--primary-rgb), 0.12);
}

#aboutSystemContent .about-logo {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.24);
}

#aboutSystemContent .about-title,
#aboutSystemContent .about-version,
#aboutSystemContent .about-desc {
  position: relative;
  z-index: 1;
}

#aboutSystemContent .about-title {
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 10px;
}

#aboutSystemContent .about-version {
  margin-bottom: 14px;
  background: rgba(var(--primary-rgb), 0.16);
}

#aboutSystemContent .about-desc {
  max-width: 100%;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.75;
}

#aboutSystemContent .about-section {
  margin-top: 14px;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #edf4f4;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.045);
}

#aboutSystemContent .about-section-title {
  margin-bottom: 14px;
  font-size: 16px;
}

#aboutSystemContent .about-feature-grid {
  gap: 12px;
}

#aboutSystemContent .about-feature-item {
  min-height: 52px;
  padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fdfd 0%, #ffffff 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#aboutSystemContent .about-feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

#aboutSystemContent .about-contact-list {
  gap: 10px;
}

#aboutSystemContent .about-contact-item {
  padding: 14px;
  border-radius: 14px;
  background: #f8fbfb;
  border: 1px solid #edf4f4;
}

#aboutSystemContent .about-contact-label {
  flex-basis: 70px;
  color: var(--text-light);
}

#aboutSystemContent .about-contact-value {
  color: var(--text-primary);
}

#aboutSystemContent .about-footer {
  margin-top: 18px;
  padding: 8px 0 4px;
}

#aboutSystemContent .about-footer-text {
  margin: 4px 0;
  line-height: 1.6;
}

@media (max-width: 360px) {
  #aboutSystemContent .about-feature-grid {
    grid-template-columns: 1fr;
  }

  #aboutSystemContent .about-contact-item {
    flex-direction: column;
    gap: 4px;
  }

  #aboutSystemContent .about-contact-label {
    flex-basis: auto;
  }
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.16) 0%, rgba(var(--primary-rgb), 0.04) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  margin-bottom: 14px;
}

.policy-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  z-index: 0;
}

.policy-hero-privacy {
  background: linear-gradient(135deg, rgba(56, 128, 255, 0.14) 0%, rgba(56, 128, 255, 0.04) 100%);
  border-color: rgba(56, 128, 255, 0.2);
}

.policy-hero-privacy::after {
  background: rgba(56, 128, 255, 0.12);
}

.policy-hero-title {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  margin-bottom: 8px;
}

.policy-hero-sub {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  margin-bottom: 12px;
}

.policy-hero-meta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  color: var(--text-secondary, #6b7280);
  font-weight: 500;
}

.policy-hero-meta .policy-dot {
  color: #cbd5e1;
}

.policy-notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8e6;
  border: 1px solid #fde68a;
  margin-bottom: 14px;
}

.policy-notice-title {
  font-size: 14px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 6px;
}

.policy-notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #78350f;
}

.policy-section {
  padding: 16px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #edf1f3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 12px;
}

.policy-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  margin-bottom: 10px;
}

.policy-section-title::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-color, var(--primary-color)), var(--primary-dark, var(--primary-dark)));
}

.policy-section-body p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #4b5563;
  text-align: justify;
}

.policy-section-body p:last-child {
  margin-bottom: 0;
}

.policy-section-body strong {
  color: var(--text-primary, #1f2937);
  font-weight: 600;
}

.policy-footer {
  text-align: center;
  padding: 18px 0 4px;
  font-size: 12px;
  color: #9ca3af;
}

.policy-footer p {
  margin: 0;
}

.dev-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  text-align: center;
  margin-bottom: 14px;
}

.dev-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.35) 0%, transparent 70%);
}

.dev-hero::after {
  content: '{ }';
  position: absolute;
  left: 20px;
  bottom: 8px;
  font-family: 'Consolas', monospace;
  font-size: 42px;
  font-weight: 700;
  color: rgba(var(--primary-rgb), 0.12);
  letter-spacing: 4px;
}

.dev-hero-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}

.dev-hero-title {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.dev-hero-sub {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.dev-hero-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.dev-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.18);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.dev-section {
  padding: 16px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #edf1f3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 12px;
}

.dev-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 14px;
}

.dev-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.dev-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dev-feature-item {
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbfb 0%, #f0f9f8 100%);
  border: 1px solid #e5eeed;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.dev-feature-item:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15);
}

.dev-feature-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.dev-feature-name {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2px;
}

.dev-feature-desc {
  font-size: 11px;
  color: #6b7280;
}

.dev-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dev-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dev-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.16) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Consolas', monospace;
}

.dev-step-content {
  flex: 1;
  padding-top: 2px;
}

.dev-step-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 3px;
}

.dev-step-desc {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.6;
}

.dev-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dev-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f5;
}

.dev-info-label {
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
}

.dev-info-value {
  font-size: 12.5px;
  color: #1f2937;
  font-weight: 600;
  font-family: 'Consolas', 'PingFang SC', monospace;
  word-break: break-all;
  text-align: right;
  max-width: 65%;
}

code.dev-info-value {
  padding: 3px 8px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4f46e5;
}

.dev-code-block {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1e293b;
  background: #0f172a;
}

.dev-code-block:first-child {
  margin-top: 0;
}

.dev-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.dev-code-label {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}

.dev-code-method {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'Consolas', monospace;
}

.dev-code-method-post {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.dev-code-method-ok {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.dev-code-body {
  margin: 0;
  padding: 12px 14px;
  overflow-x: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.dev-code-body code {
  font-family: inherit;
  color: inherit;
  background: transparent;
  padding: 0;
}

.dev-error-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.dev-error-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  align-items: center;
  padding: 10px 12px;
  font-size: 12.5px;
  border-bottom: 1px solid #f1f5f9;
}

.dev-error-row:last-child {
  border-bottom: none;
}

.dev-error-head {
  background: #f8fafc;
  font-weight: 700;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.dev-error-code {
  font-family: 'Consolas', monospace;
  font-weight: 600;
  color: #dc2626;
}

.dev-error-head .dev-error-code {
  color: #64748b;
}

.dev-error-desc {
  color: #4b5563;
}

.dev-error-http {
  text-align: right;
  font-family: 'Consolas', monospace;
  color: #6b7280;
  font-weight: 600;
}

.dev-tips-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dev-tips-item {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9e7 100%);
  border: 1px solid #fde68a;
  font-size: 12.5px;
  line-height: 1.7;
  color: #78350f;
}

.dev-tips-dot {
  color: #d97706;
  font-weight: 700;
  flex-shrink: 0;
}

.dev-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dev-support-item {
  padding: 12px;
  border-radius: 10px;
  background: #f8fbfb;
  border: 1px solid #e5eeed;
}

.dev-support-label {
  font-size: 11.5px;
  color: #6b7280;
  margin-bottom: 4px;
}

.dev-support-value {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  word-break: break-all;
}

.dev-actions {
  display: flex;
  gap: 10px;
}

.dev-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.dev-btn:active {
  transform: scale(0.98);
}

.dev-btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.dev-btn-secondary {
  background: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
/* ============= 版本更新 ============= */
#versionUpdateContent {
  padding: 14px 16px 32px;
}

.ver-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.14) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  border: 1px solid rgba(74, 222, 128, 0.25);
  margin-bottom: 12px;
}

.ver-hero-status {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.ver-hero-text {
  flex: 1;
  min-width: 0;
}

.ver-hero-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.ver-hero-desc {
  font-size: 12.5px;
  color: #16a34a;
  font-weight: 500;
}

.ver-hero-version {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.18);
  color: #16a34a;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Consolas', monospace;
}

.ver-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.ver-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ver-btn:active {
  transform: scale(0.98);
}

.ver-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ver-btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.ver-btn-secondary {
  background: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.ver-btn .loading-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: verSpin 0.8s linear infinite;
}

@keyframes verSpin {
  to { transform: rotate(360deg); }
}

.ver-section {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #edf1f3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 12px;
}

.ver-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 14px;
}

.ver-section-bar {
  width: 4px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}

.ver-timeline {
  position: relative;
  padding-left: 6px;
}

.ver-item {
  position: relative;
  padding: 0 0 20px 24px;
}

.ver-item:last-child {
  padding-bottom: 0;
}

.ver-item-line {
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #e5e7eb 0%, #e5e7eb 100%);
}

.ver-item:last-child .ver-item-line {
  display: none;
}

.ver-item-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #d1d5db;
  z-index: 1;
}

.ver-item-current .ver-item-dot {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.16);
  animation: verPulse 2s ease-in-out infinite;
}

@keyframes verPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(var(--primary-rgb), 0.08); }
}

.ver-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.ver-item-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ver-item-num {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  font-family: 'Consolas', monospace;
}

.ver-item-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ver-item-badge-current {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.ver-item-badge-history {
  background: #f1f5f9;
  color: #64748b;
}

.ver-item-date {
  font-size: 12px;
  color: #9ca3af;
  font-family: 'Consolas', monospace;
}

.ver-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

.ver-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f5;
}

.ver-item-current .ver-item-body {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, rgba(var(--primary-rgb), 0.02) 100%);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.ver-log-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.7;
}

.ver-log-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 36px;
  justify-content: center;
  margin-top: 3px;
}

.ver-log-tag-feat {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.ver-log-tag-opt {
  background: rgba(var(--primary-rgb), 0.12);
  color: #0d9488;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.ver-log-tag-fix {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.ver-log-tag-sec {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.ver-log-text {
  flex: 1;
  font-size: 13px;
  color: #4b5563;
}

.ver-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ver-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f5;
  font-size: 12px;
  color: #6b7280;
}

.asset-detail-modal .asset-detail-page-inner {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px;
  background: #f5f6f8;
  overflow-y: auto;
}

/* 弹窗底部操作栏 */
.asset-detail-footer {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid #f0f2f5;
}

.asset-detail-action-btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 0 4px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.asset-detail-action-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.asset-detail-action-btn svg {
  flex-shrink: 0;
}

.asset-detail-action-btn.edit {
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--primary-color, var(--primary-color));
}

.asset-detail-action-btn.save {
  background: var(--primary-color, var(--primary-color));
  color: #fff;
}

.asset-detail-action-btn.inspect {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.asset-detail-action-btn.print {
  background: #f5f6f8;
  color: #4a5060;
  border: 1px solid #e5e7eb;
}

.asset-detail-action-btn.delete {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.asset-detail-action-btn.setting {
  background: #eef4ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

/* 编辑态输入控件 */
.asset-edit-input,
.asset-edit-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid #dcdfe3;
  border-radius: 6px;
  background: #fff;
  font-size: 13.5px;
  color: var(--text-primary, #222);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.asset-edit-input:focus,
.asset-edit-textarea:focus {
  border-color: var(--primary-color, var(--primary-color));
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

.asset-edit-textarea {
  min-height: 72px;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
}

/* 编辑模式下的资产编号取消特殊颜色 */
.asset-detail-modal.is-editing .detail-info-item.order-no .info-value {
  color: var(--text-primary, #222);
}

/* 内容卡片 */
.asset-detail-page-inner .detail-content {
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.asset-detail-page-inner .detail-section {
  margin-bottom: 18px;
}

.asset-detail-page-inner .detail-section:last-child {
  margin-bottom: 0;
}

.asset-detail-page-inner .detail-section-header {
  margin-bottom: 12px;
}

.asset-detail-page-inner .detail-section-title {
  font-size: 15px;
}

.asset-detail-page-inner .detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.asset-detail-page-inner .detail-info-item {
  padding: 10px 12px;
}

.asset-detail-page-inner .info-label {
  margin-bottom: 4px;
}

.asset-detail-page-inner .info-value {
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
}

.asset-detail-page-inner .detail-description {
  font-size: 13.5px;
  line-height: 1.7;
  padding: 12px 14px;
}

@media (max-width: 320px) {
  .asset-detail-page-inner .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

/* 资产图片区块 */
.asset-images-section .detail-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.asset-images-hint {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light, #a3adbb);
  font-weight: 400;
}

.asset-images-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.asset-image-preview {
  width: 88px;
  height: 88px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #f5f6f8;
}

.asset-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-image-preview .image-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.asset-image-upload-btn {
  width: 88px;
  height: 88px;
  border: 2px dashed #e0e0e0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fafafa;
  color: var(--text-light, #a3adbb);
  transition: all 0.15s ease;
}

.asset-image-upload-btn:active {
  transform: scale(0.96);
  border-color: var(--primary-color, var(--primary-color));
  color: var(--primary-color, var(--primary-color));
}

.asset-image-upload-btn svg {
  width: 28px;
  height: 28px;
}

.asset-image-upload-btn .upload-text {
  margin-top: 4px;
  font-size: 12px;
}

.asset-images-empty {
  width: 100%;
  padding: 12px;
  text-align: center;
  color: var(--text-light, #a3adbb);
  font-size: 13px;
  background: #f8f9fa;
  border-radius: 12px;
}

/* 资产二维码区块 */
.asset-qr-section .detail-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.asset-detail-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}

.asset-detail-qr {
  width: 160px;
  height: 160px;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-detail-qr img,
.asset-detail-qr canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.asset-detail-qr-tip {
  font-size: 12px;
  color: var(--text-light, #a3adbb);
}

.asset-qr-empty {
  font-size: 12px;
  color: var(--text-light, #a3adbb);
}

/* ====== 资产检修登记 ====== */
.asset-inspect-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.asset-inspect-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.asset-inspect-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  animation: assetPrintSlideUp 0.25s ease-out;
}

.asset-inspect-topbar {
  flex-shrink: 0;
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f5;
}

.asset-inspect-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.asset-inspect-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.asset-inspect-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.asset-inspect-target {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f6f8;
}

.asset-inspect-target strong {
  font-size: 15px;
  color: var(--text-primary);
}

.asset-inspect-target span {
  font-size: 12px;
  color: var(--text-light);
}

.asset-inspect-radios {
  display: flex;
  gap: 8px;
}

.asset-inspect-radio {
  flex: 1 1 0;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.asset-inspect-radio.active {
  border-color: #059669;
  background: #ecfdf5;
  color: #059669;
  font-weight: 600;
}

.asset-inspect-actions {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef2f5;
}

.asset-inspect-btn {
  flex: 1 1 0;
  height: 42px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.asset-inspect-btn.secondary {
  background: #f5f6f8;
  color: #4a5060;
  border: 1px solid #e5e7eb;
}

.asset-inspect-btn.primary {
  background: var(--primary-color);
  color: #fff;
}

.asset-inspect-btn:active {
  transform: scale(0.98);
}

/* ====== 资产打印预览 ====== */
body.asset-print-open {
  overflow: hidden;
}

.asset-print-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.asset-print-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.asset-print-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  background: #f5f6f8;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  animation: assetPrintSlideUp 0.25s ease-out;
}

@keyframes assetPrintSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.asset-print-topbar {
  flex-shrink: 0;
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f5;
  background: #fff;
  border-radius: 16px 16px 0 0;
}

.asset-print-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.asset-print-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.asset-print-scroll {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 18px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.asset-print-swiper {
  flex: 1 1 auto;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.asset-print-swiper::-webkit-scrollbar {
  display: none;
}

.asset-print-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  box-sizing: border-box;
}

.asset-print-dots {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 0 4px;
}

.asset-print-dot {
  min-width: 56px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.asset-print-dot.active {
  background: #0f766e;
  color: #fff;
}

.asset-print-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.asset-print-stage-tip {
  font-size: 12px;
  color: #8b93a1;
}

/* 标签纸 70×50mm 实际尺寸（1mm ≈ 3.78px） */
.asset-label-80x50 {
  box-sizing: border-box;
  width: 265px;   /* 70mm */
  height: 189px;  /* 50mm */
  padding: 11px 12px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border: 1px dashed #d5d9df;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  color: #000;
  overflow: hidden;
}

.asset-label-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  overflow: hidden;
}

.asset-label-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.asset-label-side {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.asset-label-qr {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-label-qr img,
.asset-label-qr canvas {
  width: 88px;
  height: 88px;
  display: block;
}

.asset-label-scan {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
}

/* 竖版标签纸 50×80mm：内容仍是 80×50 布局，向右旋转 90° */
.asset-label-rotated-wrap {
  box-sizing: border-box;
  width: 189px;   /* 50mm */
  height: 302px;  /* 80mm */
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border: 1px dashed #d5d9df;
  overflow: hidden;
  position: relative;
}

.asset-label-rotated {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
  /* 保持内部 80×50 版式尺寸不变 */
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.asset-label-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asset-label-brand {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  letter-spacing: 2px;
  color: #8b93a1;
  text-transform: uppercase;
  font-weight: 600;
}

.asset-label-brand i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0f766e;
  margin-right: 4px;
}

.asset-label-status {
  font-size: 9px;
  color: #0f766e;
  background: #e6faf7;
  border: 1px solid #0f766e;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 600;
}

.asset-label-title-line {
  width: 100%;
  margin-top: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #d5d9df;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.asset-label-title-name {
  width: 100%;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-label-title-no {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0f766e;
  font-family: 'Consolas', 'Menlo', monospace;
}

.asset-label-rows {
  width: 100%;
  flex: 0 0 auto;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.asset-label-row {
  display: flex;
  align-items: center;
  font-size: 11px;
  line-height: 1.35;
  color: #222;
  overflow: hidden;
}

.asset-label-row span {
  flex: 0 0 38px;
  color: #8b93a1;
}

.asset-label-row b {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-print-actions {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #eef2f5;
}

.asset-print-btn {
  flex: 1 1 0;
  height: 42px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.asset-print-btn.secondary {
  background: #f5f6f8;
  color: #4a5060;
  border: 1px solid #e5e7eb;
}

.asset-print-btn.primary {
  background: var(--primary-color, var(--primary-color));
  color: #fff;
}

.asset-print-btn:active {
  transform: scale(0.98);
}

@media (max-width: 340px) {
  .asset-label-80x50 {
    transform: scale(0.9);
    transform-origin: top center;
  }
}

/* ==================================================================
   巡检管理样式（维修端独有）
   ================================================================== */
.inspection-page .page-content-inner {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

@media (prefers-color-scheme: dark) {
  .inspection-page .page-content-inner {
    background: transparent;
  }

  .inspection-item {
    background: #1e1e32;
  }

  .inspection-empty {
    background: #1e1e32;
  }
}

.inspection-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inspection-empty {
  padding: 40px 0;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
}

.inspection-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.inspection-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inspection-item-head strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspection-item-result {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.inspection-item-result.normal {
  background: rgba(32, 201, 151, 0.15);
  color: #12b886;
}

.inspection-item-result.repaired {
  background: rgba(59, 130, 246, 0.14);
  color: #2563eb;
}

.inspection-item-result.abnormal {
  background: rgba(255, 71, 87, 0.14);
  color: #e53e3e;
}

.inspection-item-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #eaecef;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspection-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  border-top: none;
  padding-top: 0;
}

.inspection-item-grid .inspection-item-row {
  flex-direction: column;
  gap: 2px;
}

.inspection-item-grid .inspection-item-row em {
  width: auto;
  font-size: 12px;
}

.inspection-item-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.inspection-item-row em {
  flex-shrink: 0;
  width: 58px;
  font-style: normal;
  color: var(--text-light);
}

.inspection-item-row span {
  flex: 1;
  min-width: 0;
  color: var(--text-primary);
  word-break: break-all;
}

.inspection-item-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #eaecef;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.inspection-item-btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.inspection-item-btn.edit {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-color);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.inspection-item-btn.delete {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.inspection-item-btn:active {
  transform: scale(0.96);
}

