* {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  width: 100%;
  height: 100%;
}

body {
  overflow-x: hidden;
  font-size: 16px;
}

uni-app,
uni-page,
uni-page-wrapper,
uni-page-body {
  display: block;
  box-sizing: border-box;
  width: 100%;
}

uni-page-wrapper {
  position: relative;
}

#app,
uni-app,
uni-page,
uni-page-wrapper {
  height: 100%;
}

/* toast,modal,actionSheet,picker,layout */
.uni-mask {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* toast,modal,actionSheet,picker */
.uni-fade-enter-active,
.uni-fade-leave-active {
  transition-duration: 0.25s;
  transition-property: opacity;
  transition-timing-function: ease;
}

.uni-fade-enter-from,
.uni-fade-leave-active {
  opacity: 0;
}

.uni-loading,
uni-button[loading]:before {
  background-color: transparent;
  background-image: url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=');
  background-repeat: no-repeat;
}

.uni-loading {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  animation: uni-loading 1s steps(12, end) infinite;
  background-size: 100%;
}

@keyframes uni-loading {
  0% {
    transform: rotate3d(0, 0, 1, 0deg);
  }

  100% {
    transform: rotate3d(0, 0, 1, 360deg);
  }
}

html {
  /* --UI-BG-0: #ededed; */
  --primary-color: #007aff;
  --UI-BG: #fff;
  --UI-BG-1: #f7f7f7;
  --UI-BG-2: #fff;
  --UI-BG-3: #f7f7f7;
  --UI-BG-4: #4c4c4c;
  --UI-BG-5: #fff;
  --UI-FG: #000;
  --UI-FG-0: rgba(0, 0, 0, 0.9);
  --UI-FG-HALF: rgba(0, 0, 0, 0.9);
  --UI-FG-1: rgba(0, 0, 0, 0.5);
  --UI-FG-2: rgba(0, 0, 0, 0.3);
  --UI-FG-3: rgba(0, 0, 0, 0.1);
}

uni-page[data-type] uni-page-body {
  background-color: transparent;
}
body::after {
  position: fixed;
  content: '';
  left: -1000px;
  top: -1000px;
  animation: shadow-preload 0.1s;
  animation-delay: 3s;
}

@keyframes shadow-preload {
  0% {
    background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
  }
  100% {
    background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
  }
}
.uni-async-error {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  color: #999;
  padding: 100px 10px;
  text-align: center;
}
.uni-async-loading {
  box-sizing: border-box;
  width: 100%;
  padding: 50px;
  text-align: center;
}

.uni-async-loading .uni-loading {
  width: 30px;
  height: 30px;
}
uni-page-head {
  display: block;
  box-sizing: border-box;
}

.uni-page-head {
  position: fixed;
  left: var(--window-left);
  right: var(--window-right);
  height: 44px;
  height: calc(44px + constant(safe-area-inset-top));
  height: calc(44px + env(safe-area-inset-top));
  padding: 7px 3px;
  padding-top: calc(7px + constant(safe-area-inset-top));
  padding-top: calc(7px + env(safe-area-inset-top));
  display: flex;
  overflow: hidden;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 998;
  color: #fff;
  background-color: #000;
  transition-property: all;
}

.uni-page-head * {
  box-sizing: border-box;
}

.uni-page-head .uni-btn-icon {
  overflow: hidden;
  min-width: 1em;
  font-style: normal;
}

.uni-page-head-titlePenetrate,
.uni-page-head-titlePenetrate .uni-page-head-bd,
.uni-page-head-titlePenetrate .uni-page-head-bd * {
  pointer-events: none;
}

.uni-page-head-titlePenetrate * {
  pointer-events: auto;
}

.uni-page-head.uni-page-head-transparent .uni-page-head-ft > div {
  justify-content: center;
}

.uni-page-head ~ .uni-placeholder {
  width: 100%;
  height: 44px;
  height: calc(44px + constant(safe-area-inset-top));
  height: calc(44px + env(safe-area-inset-top));
}

.uni-placeholder-titlePenetrate {
  pointer-events: none;
}

.uni-page-head-hd {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.uni-page-head-bd {
  position: absolute;
  left: 70px;
  right: 70px;
  min-width: 0;
  -webkit-user-select: auto;
     -moz-user-select: auto;
          user-select: auto;
}

.uni-page-head-btn {
  position: relative;
  width: auto;
  margin: 0 2px;
  word-break: keep-all;
  white-space: pre;
  cursor: pointer;
  font-size: 0px;
}

/* .uni-page-head-btn svg {
} */

.uni-page-head-transparent .uni-page-head-btn {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

.uni-page-head-btn-red-dot::after {
  content: attr(badge-text);
  position: absolute;
  right: 0;
  top: 0;
  background-color: red;
  color: white;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 18px;
  overflow: hidden;
  transform: scale(0.5) translate(40%, -40%);
  transform-origin: 100% 0;
}

.uni-page-head-btn-red-dot[badge-text]::after {
  font-size: 12px;
  width: auto;
  min-width: 18px;
  max-width: 42px;
  text-align: center;
  padding: 0 3px;
  transform: scale(0.7) translate(40%, -40%);
}

.uni-page-head-btn-select svg {
  vertical-align: middle;
  margin-left: 2px;
  transform: rotate(270deg) scale(0.8);
}

.uni-page-head-search {
  position: relative;
  display: flex;
  flex: 1;
  margin: 0 2px;
  line-height: 30px;
  font-size: 15px;
}

.uni-page-head-search-input {
  width: 100%;
  height: 100%;
  padding-left: 34px;
  text-align: left;
}

.uni-page-head-search-input .uni-input-input:disabled {
  pointer-events: none;
}

.uni-page-head-search-placeholder {
  position: absolute;
  max-width: 100%;
  height: 100%;
  padding-left: 34px;
  overflow: hidden;
  word-break: keep-all;
  white-space: pre;
}

.uni-page-head-search-placeholder-right {
  right: 0;
}

.uni-page-head-search-placeholder-center {
  left: 50%;
  transform: translateX(-50%);
}

.uni-page-head-search-icon {
  position: absolute;
  top: 0;
  left: 2px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uni-page-head-ft {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  font-size: 13px;
}

.uni-page-head__title {
  font-weight: bold;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.uni-page-head__title .uni-loading {
  width: 16px;
  height: 16px;
  margin-top: -3px;
}

.uni-page-head__title .uni-page-head__title_image {
  width: auto;
  height: 26px;
  vertical-align: middle;
}

.uni-page-head-shadow {
  overflow: visible;
}

.uni-page-head-shadow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 5px;
  background-size: 100% 100%;
}

uni-page-head[uni-page-head-type='default'] ~ uni-page-wrapper {
  height: calc(100% - 44px);
  height: calc(100% - 44px - constant(safe-area-inset-top));
  height: calc(100% - 44px - env(safe-area-inset-top));
}

.uni-page-head-shadow-grey::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-grey.png');
}

.uni-page-head-shadow-blue::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-blue.png');
}

.uni-page-head-shadow-green::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-green.png');
}

.uni-page-head-shadow-orange::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-orange.png');
}

.uni-page-head-shadow-red::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-red.png');
}

.uni-page-head-shadow-yellow::after {
  background-image: url('https://cdn.dcloud.net.cn/img/shadow-yellow.png');
}
            
uni-tabbar {
  display: block;
  box-sizing: border-box;
  width: 100%;
  z-index: 998;
}

.uni-tabbar {
  display: flex;
  z-index: 998;
  box-sizing: border-box;
}

.uni-tabbar-top,
.uni-tabbar-bottom,
.uni-tabbar-top .uni-tabbar,
.uni-tabbar-bottom .uni-tabbar {
  position: fixed;
  left: var(--window-left);
  right: var(--window-right);
}

.uni-app--showlayout + .uni-tabbar-top,
.uni-app--showlayout + .uni-tabbar-bottom,
.uni-app--showlayout + .uni-tabbar-top .uni-tabbar,
.uni-app--showlayout + .uni-tabbar-bottom .uni-tabbar {
  left: var(--window-margin);
  right: var(--window-margin);
}

.uni-tabbar-bottom .uni-tabbar {
  bottom: 0;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.uni-tabbar ~ .uni-placeholder {
  width: 100%;
  margin-bottom: 0;
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
}

.uni-tabbar * {
  box-sizing: border-box;
}

.uni-tabbar__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  font-size: 0;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.uni-tabbar__bd {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.uni-tabbar__icon {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.uni-tabbar__icon.uni-tabbar__icon__diff {
  margin-top: 0px;
  width: 34px;
  height: 34px;
}

.uni-tabbar__icon img {
  width: 100%;
  height: 100%;
}

.uni-tabbar__iconfont {
  font-family: 'UniTabbarIconFont';
}

.uni-tabbar__label {
  position: relative;
  text-align: center;
  font-size: 10px;
}

.uni-tabbar-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  transform: scaleY(0.5);
}

.uni-tabbar__reddot {
  position: absolute;
  top: 2px;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f43530;
  color: #ffffff;
  transform: translate(40%, 0%);
}

.uni-tabbar__badge {
  width: auto;
  height: 16px;
  line-height: 16px;
  border-radius: 16px;
  min-width: 16px;
  padding: 0 2px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.uni-tabbar__mid {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  background-size: 100% 100%;
}

.uni-app--showtabbar uni-page-wrapper {
  display: block;
  height: calc(100% - var(--tab-bar-height));
  height: calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));
  height: calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom));
}
uni-page[data-type] uni-page-wrapper {
  height: 100%;
}
.uni-app--showtabbar uni-page-wrapper::after {
  content: '';
  display: block;
  width: 100%;
  height: var(--tab-bar-height);
  height: calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));
  height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
}
.uni-app--showtabbar
  uni-page-head[uni-page-head-type='default']
  ~ uni-page-wrapper {
  height: calc(100% - 44px - var(--tab-bar-height));
  height: calc(
    100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) -
      constant(safe-area-inset-bottom)
  );
  height: calc(
    100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) -
      env(safe-area-inset-bottom)
  );
}
uni-page-refresh {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  display: block;
  box-sizing: border-box;
}

.uni-page-refresh {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),
    0 1px 4px rgba(0, 0, 0, 0.117647);
  display: none;
  z-index: 997;
}

.uni-page-refresh-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.uni-page-refresh--pulling .uni-page-refresh,
.uni-page-refresh--aborting .uni-page-refresh,
.uni-page-refresh--reached .uni-page-refresh,
.uni-page-refresh--refreshing .uni-page-refresh,
.uni-page-refresh--restoring .uni-page-refresh {
  display: flex;
}

.uni-page-refresh--pulling .uni-page-refresh__spinner,
.uni-page-refresh--aborting .uni-page-refresh__spinner,
.uni-page-refresh--reached .uni-page-refresh__spinner,
.uni-page-refresh--refreshing .uni-page-refresh__icon,
.uni-page-refresh--restoring .uni-page-refresh__icon {
  display: none;
}

.uni-page-refresh--refreshing .uni-page-refresh__spinner {
  transform-origin: center center;
  animation: uni-page-refresh-rotate 2s linear infinite;
}

.uni-page-refresh--refreshing .uni-page-refresh__path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: uni-page-refresh-dash 1.5s ease-in-out infinite,
    uni-page-refresh-colorful 6s ease-in-out infinite;
}

@keyframes uni-page-refresh-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes uni-page-refresh-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
/*
   易家装修 APP - 全局样式
   设计主题：现代简约 · 紫色渐变
   */
/* 设计变量 */
uni-page-body {
  /* 主色 - 蓝紫渐变 */
  --primary-start: #667eea;
  --primary-end: #764ba2;
  --color-primary: #667eea;
  /* 功能色（固定不变） */
  --color-success: #52c41a;
  --color-warning: #fa8c16;
  --color-error: #ff4757;
  --color-info: #1890ff;
  /* 兼容旧变量名 */
  --success: #52c41a;
  --warning: #fa8c16;
  --error: #ff4757;
  --info: #1890ff;
  /* 文字颜色 */
  --text-primary: #333;
  --text-secondary: #666;
  --text-tertiary: #999;
  --text-placeholder: #ccc;
  /* 背景颜色 */
  --bg-page: #f5f5f5;
  --bg-card: #fff;
  --bg-light: #f5f5f5;
  /* 边框颜色 */
  --border-light: #f0f0f0;
  --border-medium: #e8e8e8;
  /* 字体大小（单位统一 rpx） */
  --font-xs: 0.6875rem;
  --font-sm: 0.75rem;
  --font-base: 0.8125rem;
  --font-md: 0.8125rem;
  --font-lg: 0.875rem;
  --font-xl: 1rem;
  --font-xxl: 1.125rem;
  --font-xxxl: 1.125rem;
  /* 圆角 */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-round: 50%;
  /* 间距 */
  --spacing-xs: 0.3125rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.625rem;
  --spacing-lg: 0.9375rem;
  --spacing-xl: 1.25rem;
  --spacing-xxl: 0.9375rem;
  /* 阴影 */
  --shadow-light: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.10);
  --shadow-heavy: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

/* 通用容器 */
.container {
  min-height: 100vh;
  background-color: var(--bg-page);
}
.page-padding {
  padding: 0 var(--spacing-xl);
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
}
.gradient-bg-light {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* 卡片样式 */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xxl);
  box-shadow: var(--shadow-light);
}
.card-light {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

/* 按钮样式 */
.btn {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-lg);
  border-radius: var(--radius-md);
  border: none;
  font-weight: 500;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  color: #fff;
  box-shadow: 0 0.125rem 0.375rem rgba(102, 126, 234, 0.3);
}
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-warning {
  background: var(--warning);
  color: #fff;
}
.btn-error {
  background: var(--error);
  color: #fff;
}
.btn-default {
  background: var(--bg-light);
  color: var(--text-secondary);
}
.btn-outline {
  background: transparent;
  border: 0.0625rem solid var(--primary-start);
  color: var(--primary-start);
}
.btn-block {
  width: 100%;
}
.btn-round {
  border-radius: var(--radius-round);
}

/* 文字样式 */
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-tertiary {
  color: var(--text-tertiary);
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-bold {
  font-weight: bold;
}
.text-sm {
  font-size: var(--font-sm);
}
.text-md {
  font-size: var(--font-md);
}
.text-lg {
  font-size: var(--font-lg);
}
.text-xl {
  font-size: var(--font-xl);
}

/* 间距工具类 */
.mt-xs {
  margin-top: var(--spacing-xs);
}
.mt-sm {
  margin-top: var(--spacing-sm);
}
.mt-md {
  margin-top: var(--spacing-md);
}
.mt-lg {
  margin-top: var(--spacing-lg);
}
.mt-xl {
  margin-top: var(--spacing-xl);
}
.mb-xs {
  margin-bottom: var(--spacing-xs);
}
.mb-sm {
  margin-bottom: var(--spacing-sm);
}
.mb-md {
  margin-bottom: var(--spacing-md);
}
.mb-lg {
  margin-bottom: var(--spacing-lg);
}
.mb-xl {
  margin-bottom: var(--spacing-xl);
}
.pl-xs {
  padding-left: var(--spacing-xs);
}
.pl-sm {
  padding-left: var(--spacing-sm);
}
.pl-md {
  padding-left: var(--spacing-md);
}
.pl-lg {
  padding-left: var(--spacing-lg);
}
.pl-xl {
  padding-left: var(--spacing-xl);
}
.pr-xs {
  padding-right: var(--spacing-xs);
}
.pr-sm {
  padding-right: var(--spacing-sm);
}
.pr-md {
  padding-right: var(--spacing-md);
}
.pr-lg {
  padding-right: var(--spacing-lg);
}
.pr-xl {
  padding-right: var(--spacing-xl);
}

/* Flex 布局 */
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-1 {
  flex: 1;
}
.flex-wrap {
  flex-wrap: wrap;
}

/* 状态标签 */
.tag {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  font-size: var(--font-xs);
  border-radius: var(--radius-sm);
}
.tag-primary {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-start);
}
.tag-success {
  background: rgba(82, 196, 26, 0.1);
  color: var(--success);
}
.tag-warning {
  background: rgba(250, 140, 22, 0.1);
  color: var(--warning);
}
.tag-error {
  background: rgba(255, 71, 87, 0.1);
  color: var(--error);
}

/* 分割线 */
.divider {
  height: 0.03125rem;
  background: var(--border-light);
  margin: var(--spacing-md) 0;
}
.divider-vertical {
  width: 0.03125rem;
  height: 100%;
  background: var(--border-light);
  margin: 0 var(--spacing-md);
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.75rem 1.25rem;
}
.empty-icon {
  font-size: 3.125rem;
  margin-bottom: var(--spacing-xl);
}
.empty-text {
  font-size: var(--font-lg);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-xl);
}

/* 加载状态 */
.loading-state {
  padding: var(--spacing-xl);
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-md);
}

/* 底部操作栏 */
/*
 * 高度由内部元素叠加决定，栏本身仅保留上下各 12rpx 内边距 + safe-area 适配
 * 参考规范：padTop(12) + 内容 + padBottom(12) + safe-area → 总高由内容决定
 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 1.25rem calc(0.375rem + env(safe-area-inset-bottom));
  background: var(--bg-card);
  border-top: 0.03125rem solid var(--border-light);
  z-index: 100;
}

/* 徽章 */
.badge {
  display: inline-block;
  background: var(--error);
  color: #fff;
  font-size: var(--font-xs);
  padding: 0.0625rem 0.25rem;
  border-radius: 0.375rem;
  min-width: 0.875rem;
  text-align: center;
}
.badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--error);
  display: inline-block;
}

/* 头像 */
.avatar {
  border-radius: var(--radius-round);
  background: var(--bg-light);
}
.avatar-sm {
  width: 1.5rem;
  height: 1.5rem;
}
.avatar-md {
  width: 2.25rem;
  height: 2.25rem;
}
.avatar-lg {
  width: 3rem;
  height: 3rem;
}
.avatar-xl {
  width: 3.75rem;
  height: 3.75rem;
}

/* 输入框 */
.input-group {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
}
.input-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  border-bottom: 0.03125rem solid var(--border-light);
}
.input-item:last-child {
  border-bottom: none;
}
.input-icon {
  font-size: var(--font-xl);
  margin-right: var(--spacing-md);
}
.input-field {
  flex: 1;
  font-size: var(--font-lg);
  color: var(--text-primary);
}

/* 列表项 */
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 0.03125rem solid var(--border-light);
}
.list-item:last-child {
  border-bottom: none;
}
.list-item:active {
  background: var(--bg-light);
}

/* 动画 */
@keyframes fadeIn {
from {
    opacity: 0;
    transform: translateY(0.625rem);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
@keyframes slideIn {
from {
    transform: translateX(-100%);
}
to {
    transform: translateX(0);
}
}
@keyframes slideInRight {
from {
    transform: translateX(100%);
}
to {
    transform: translateX(0);
}
}
@keyframes slideUp {
from {
    transform: translateY(100%);
    opacity: 0;
}
to {
    transform: translateY(0);
    opacity: 1;
}
}
@keyframes slideDown {
from {
    transform: translateY(-100%);
    opacity: 0;
}
to {
    transform: translateY(0);
    opacity: 1;
}
}
@keyframes scaleIn {
from {
    transform: scale(0.8);
    opacity: 0;
}
to {
    transform: scale(1);
    opacity: 1;
}
}
@keyframes scaleInCenter {
from {
    transform: scale(0.9);
    opacity: 0;
}
to {
    transform: scale(1);
    opacity: 1;
}
}
@keyframes pulse {
0%, 100% {
    transform: scale(1);
}
50% {
    transform: scale(1.05);
}
}
@keyframes bounceIn {
0% {
    transform: scale(0.3);
    opacity: 0;
}
50% {
    transform: scale(1.05);
}
70% {
    transform: scale(0.9);
}
100% {
    transform: scale(1);
    opacity: 1;
}
}
@keyframes shake {
0%, 100% {
    transform: translateX(0);
}
10%, 30%, 50%, 70%, 90% {
    transform: translateX(-0.15625rem);
}
20%, 40%, 60%, 80% {
    transform: translateX(0.15625rem);
}
}
.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}
.animate-slide-in {
  animation: slideIn 0.3s ease-out;
}
.animate-slide-in-right {
  animation: slideInRight 0.3s ease-out;
}
.animate-slide-up {
  animation: slideUp 0.35s ease-out;
}
.animate-slide-down {
  animation: slideDown 0.35s ease-out;
}
.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}
.animate-scale-in-center {
  animation: scaleInCenter 0.25s ease-out;
}
.animate-pulse {
  animation: pulse 2s infinite;
}
.animate-bounce-in {
  animation: bounceIn 0.5s ease-out;
}
.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* 安全区域 */
.safe-area-bottom {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
.safe-area-top {
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}

/* TabBar 样式 */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: var(--spacing-md) 0;
  padding-bottom: calc(var(--spacing-md) + constant(safe-area-inset-bottom));
  padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom));
  background: var(--bg-card);
  border-top: 0.03125rem solid var(--border-light);
  z-index: 100;
}
.tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tabbar-icon {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}
.tabbar-text {
  font-size: var(--font-xs);
  color: var(--text-tertiary);
}
.tabbar-item.active .tabbar-text {
  color: var(--primary-start);
}

/* 状态颜色 */
.status-pending {
  color: var(--warning);
  background: #fff7e6;
}
.status-paid {
  color: var(--success);
  background: #f6ffed;
}
.status-construction {
  color: var(--info);
  background: #e8f4ff;
}
.status-inspection {
  color: var(--primary-start);
  background: #f0f5ff;
}
.status-warranty {
  color: #eb2f96;
  background: #fff0f6;
}
.status-finished {
  color: var(--text-tertiary);
  background: #f5f5f5;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

/* 占位图 */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-tertiary);
  font-size: var(--font-md);
}

/* 图片样式 */
.img-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.img-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.img-fill {
  -o-object-fit: fill;
     object-fit: fill;
}

/* 文本省略 */
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-ellipsis-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
uni-page-body {
    --text-primary: #fff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-placeholder: rgba(255, 255, 255, 0.4);
    --bg-page: #1a1a1a;
    --bg-card: #2d2d2d;
    --bg-light: #242424;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.15);
}
.gradient-bg-light {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}
.card {
    box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.3);
}
.btn-default {
    background: var(--bg-light);
    color: var(--text-secondary);
}
.tabbar {
    background: var(--bg-card);
    border-top: 0.03125rem solid var(--border-light);
}
.bottom-bar {
    background: var(--bg-card);
    border-top: 0.03125rem solid var(--border-light);
}
.list-item:active {
    background: var(--bg-light);
}
.input-group {
    background: var(--bg-light);
}
.status-finished {
    background: var(--bg-light);
}
.quick-item {
    background: var(--bg-light);
    color: var(--text-secondary);
}
.placeholder {
    background: var(--bg-light);
    color: var(--text-tertiary);
}
}
uni-page-body {
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
  background-color: #f5f5f5;
}

/* H5端宽屏适配 */
/* 手机上全宽显示，电脑浏览器上内容居中（最大520px），两边留白；大屏时上下也留白 */
html, body {
  background-color: #eeeeee;
  margin: 0;
  padding: 0;
  min-height: 100%;
}
#app {
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: #f5f5f5;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* 电脑浏览器高度 > 1000px 时，内容区限制为手机比例（520×800），上下留白 */
@media (min-height: 1000px) {
#app {
    min-height: 800px;
    max-height: 800px;
    overflow-y: auto;
    margin: 20px auto;
    border-radius: 8px;
}
}
/* uni-app 框架渲染的系统导航栏，限制宽度并居中 */
.uni-page-head {
  max-width: 520px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
}

/* Tab 栏同样居中显示 */
.uni-tabbar,
.uni-tabbar-top,
.uni-tabbar-bottom {
  max-width: 520px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
}

/* 大屏时导航栏也上下留白 */
@media (min-height: 1000px) {
.uni-page-head {
    top: 20px !important;
}
}
/* fixed 底部操作栏/标题栏/弹窗/遮罩宽屏居中（参照 tab 主页面 520px 限制） */
.bottom-bar, .footer-bar, .action-bar, .bottom-actions, .bottom-pay,
.submit-wrapper, .submit-section, .action-section, .footer,
.btn-submit, .step-footer, .fixed-header, .navbar,
.chat-container, .floating-wrapper, .floating-container,
.agreement-sign-container, .activity-footer, .pay-button,
.content-wrapper, .header-bar, .page-header, .top-bar, .title-bar,
.search-bar, .tab-header, .sticky-header, .nav-header,
.modal, .modal-mask, .modal-overlay, .dialog-mask,
.picker-mask, .picker-panel, .sku-picker, .sku-picker-mask,
.red-modal, .success-modal, .adjust-modal, .tabbar {
  left: 0 !important;
  right: 0 !important;
  max-width: 520px !important;
  margin: 0 auto !important;
}

/* 原生App端（iOS / Android / 鸿蒙）折叠屏适配 */
/* 普通手机（屏幕 ≤ 540px）：全宽正常显示；大屏折叠屏展开后：内容居中，最大宽度 540px，两边留白 */
.app {
  min-height: 100vh;
}