body {
  margin: 0;
  padding: 0;
  background: var(--app-side-bg, #ebebeb);
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
#app {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--app-max-width, 1190px);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
  min-height: 100vh;
  background: var(--dm-bg, #f5f5f5);
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
.el-button--primary {
  background: var(--dm-btn-grad);
  border-color: var(--dm-primary-dark);
}
.el-button--primary:focus,
.el-button--primary:hover {
  background: linear-gradient(135deg, #6ed48a 0%, var(--dm-primary-dark) 100%);
  border-color: var(--dm-primary-dark);
  color: #fff;
}
/**
 * 多米设计令牌 — 与微信小程序 styles/design-tokens.wxss 对齐
 * H5 使用 px；小程序使用 rpx（约 2:1）
 */
:root {
  --dm-primary: #3a9e56;
  --dm-primary-dark: #2d8a47;
  --dm-primary-light: #5cc97a;
  --dm-primary-pale: #e8f7ec;
  --dm-primary-border: #a8e4b8;
  --dm-accent: #ff8c00;
  --dm-danger: #cf1322;
  --dm-danger-bg: #fff2f0;
  --dm-text: #222222;
  --dm-text-secondary: #666666;
  --dm-text-muted: #999999;
  --dm-text-placeholder: #bbbbbb;
  --dm-bg: #f5f5f5;
  --dm-card-bg: #ffffff;
  --dm-radius-sm: 6px;
  --dm-radius-md: 8px;
  --dm-radius-lg: 12px;
  --dm-radius-pill: 999px;
  --dm-shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.04);
  --dm-shadow-md: 0 2px 10px rgba(0, 0, 0, 0.06);
  --dm-space-page: 12px;
  --dm-font-title: 17px;
  --dm-font-body: 14px;
  --dm-font-caption: 12px;
  --dm-btn-grad: linear-gradient(135deg, #5cc97a 0%, #3a9e56 100%);
  --dm-btn-grad-soft: linear-gradient(135deg, #d8f4e0 0%, #b8e8c8 100%);

  /* 兼容既有 H5 变量名 */
  --mt-green: var(--dm-primary);
  --mt-green-dark: var(--dm-primary-dark);
  --mt-green-light: var(--dm-primary-light);
  --mt-green-soft: var(--dm-primary-pale);
  --mt-green-border: var(--dm-primary-border);
  --mt-accent: var(--dm-accent);
  --mt-btn-grad: var(--dm-btn-grad);
  --mt-btn-grad-soft: var(--dm-btn-grad-soft);
  --mt-bg: var(--dm-bg);
  --mt-card: var(--dm-card-bg);
  --mt-text: var(--dm-text);
  --mt-sub: var(--dm-text-secondary);
  --mt-border: #eeeeee;
}

@media (min-width: 768px) {
  :root {
    --dm-space-page: 16px;
  }
}

@media (min-width: 992px) {
  :root {
    --dm-space-page: 24px;
  }
}

/**
 * 全站页面顶部绿色渐变 — 对齐小程序 styles/page-top-gradient.wxss
 */
.green-top-gradient {
  background: linear-gradient(
    180deg,
    #3a9e56 0%,
    #4cb86a 44px,
    #8fd4a4 80px,
    #e8f7ec 120px,
    #f5f5f5 150px
  );
}

.green-nav-head {
  background: linear-gradient(180deg, #3a9e56 0%, #4cb86a 100%);
  color: #222;
}

/* 移动端业务页：与小程序 page 全局背景一致 */
@media (max-width: 991px) {
  html.dm-mobile-gradient {
    background-color: #f5f5f5;
    background-image: linear-gradient(
      180deg,
      #3a9e56 0%,
      #4cb86a 80px,
      #a8e4b8 120px,
      #e8f7ec 160px,
      #f5f5f5 200px
    );
    background-repeat: no-repeat;
    background-size: 100% 200px;
  }
}

/**
 * 商家 onboarding / 协议页内 Element 表单 — 对齐小程序 dm-input 风格
 */
.dm-onboard-page {
  padding-bottom: 32px;
}

.dm-onboard-card {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.dm-onboard-card .dm-merchant-form {
  width: 100%;
}

.dm-onboard-status {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.dm-onboard-status.pending {
  color: var(--dm-accent);
  background: #fff7e6;
}

.dm-onboard-status.ok {
  color: #2e7d32;
  background: var(--dm-primary-pale);
}

.dm-onboard-status.err {
  color: var(--dm-danger);
  background: var(--dm-danger-bg);
}

.dm-merchant-form .el-form-item__label {
  color: var(--dm-text-secondary);
  font-weight: 600;
  line-height: 1.4;
}

.dm-merchant-form .el-input__inner,
.dm-merchant-form .el-textarea__inner {
  border-radius: 10px;
  background: #f8f9fa;
  border-color: #eef0f2;
}

.dm-merchant-form .el-input__inner:focus,
.dm-merchant-form .el-textarea__inner:focus {
  border-color: var(--dm-primary);
}

.dm-merchant-form .el-button--primary {
  border-radius: 999px;
  font-weight: 700;
  height: 44px;
}

.dm-merchant-form .el-button--success {
  border-radius: 999px;
  font-weight: 700;
  height: 44px;
  background: var(--dm-btn-grad) !important;
  border-color: var(--dm-primary) !important;
}

.dm-merchant-form .el-button--text,
.dm-merchant-form .blueColor {
  color: var(--dm-primary) !important;
}

.dm-merchant-form .el-upload--picture-card {
  border-color: var(--dm-primary-border);
  border-radius: 10px;
}

.dm-merchant-form .el-upload--picture-card:hover {
  border-color: var(--dm-primary);
  color: var(--dm-primary);
}

.dm-agreement-page .dm-agreement-body {
  max-height: 60vh;
  overflow-y: auto;
  padding: 4px 2px 8px;
  font-size: 14px;
  color: var(--dm-text);
  line-height: 1.65;
}

.dm-agreement-page .dm-agreement-body h2,
.dm-agreement-page .dm-agreement-body h3 {
  color: var(--dm-text);
  font-weight: 700;
}

.dm-agreement-page .dm-agreement-body h2 {
  font-size: 17px;
  text-align: center;
  margin: 8px 0 12px;
}

.dm-agreement-page .dm-agreement-body h3 {
  font-size: 15px;
  margin: 16px 0 10px;
}

.dm-agreement-page .dm-agreement-body p {
  margin: 0 0 10px;
  color: var(--dm-text-secondary);
}

.dm-agreement-page .auth-h5-submit {
  max-width: 280px;
  margin: 20px auto 8px;
  display: block;
}

@media (max-width: 768px) {
  .dm-onboard-card {
    padding: 16px 12px 18px;
  }

  .dm-merchant-form .el-form-item__label {
    float: none;
    display: block;
    text-align: left;
    padding-bottom: 6px;
  }

  .dm-merchant-form.el-form--label-left .el-form-item__content {
    margin-left: 0 !important;
  }
}

html, body, div, label, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
pre, code, form, fieldset, legend, p, blockquote, th, td, img, textarea
{
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}
img {
  display: inline-block;
}
:focus {
  outline: 0;
}
li {
  display: list-item;
  text-align: -webkit-match-parent;
}
em, i, u {
  font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}
input, button, textarea, select {
  *font-size: 100%;
}
ol, ul {
  list-style: none outside none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:link, :visited, ins {
  text-decoration: none;
}
a {
  color: #666;
  text-decoration: none;
}
a:hover {
  color: #c40000;
  border: none;
}
a:visited {
  border: none;
  width: auto;
}
html, body {
  margin: 0;
  padding: 0;
  color: var(--dm-text);
  font-size: var(--dm-font-body);
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
  height: 100%;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.clearfix:after, .p-price:after, ul:after, li:after {
  display: block;
  content: ".";
  height: 0;
  visibility: hidden;
  clear: both;
  font-size: 0;
  line-height: 0;
}
.ellipsis {overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}

/* 京东式居中栏：宽屏左右留白（与用户 H5 / 小程序一致） */
:root {
  --app-max-width: 1190px;
  --page-gutter: 12px;
  --app-side-bg: #ebebeb;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-h: 56px;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 16px;
  }
}

@media (min-width: 992px) {
  :root {
    --page-gutter: 24px;
  }
}

html {
  background: var(--app-side-bg);
}

#app {
  left: 0;
  right: 0;
  max-width: var(--app-max-width);
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
  min-height: 100vh;
  background: var(--dm-bg);
}

.el-button--primary {
  background: var(--dm-btn-grad) !important;
  border-color: var(--dm-primary) !important;
}

.el-button--primary:focus,
.el-button--primary:hover {
  background: linear-gradient(135deg, #6ed48a 0%, #2d8a47 100%) !important;
  border-color: var(--dm-primary-dark) !important;
}

.app-fixed-x {
  left: 50% !important;
  right: auto !important;
  width: min(100vw, var(--app-max-width)) !important;
  max-width: var(--app-max-width);
  transform: translateX(-50%);
  box-sizing: border-box;
}

.app-fixed-bottom {
  bottom: 0;
}

/* 骑手 H5 — 对齐微信小程序骑手端视觉 */
.rider-page {
  min-height: 100vh;
  background: #f2f4f5;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.rider-page--sub {
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.rider-header {
  background: linear-gradient(145deg, #2a8f48 0%, #3a9e56 42%, #52c97a 78%, #8fd4a4 100%);
  padding: 8px 16px 20px;
  color: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 5px 14px rgba(42, 143, 72, 0.28);
}

.rider-greet-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.rider-greet-sub { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.rider-geo-line { margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.5); line-height: 1.45; }
.rider-geo-line.ok { color: rgba(255, 255, 255, 0.92); }
.rider-geo-line.warn { color: #fff3cd; }
.rider-geo-retry { margin-left: 6px; color: #fff; font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; font-size: inherit; }

.rider-shop-chip {
  margin: -6px 12px 0; padding: 9px 12px; background: #fff; border-radius: 8px;
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: #333;
  box-shadow: 0 3px 10px rgba(58, 158, 86, 0.12); position: relative; z-index: 2;
}
.rider-shop-chip.warn { background: #fff8e6; color: #8a6d00; }
.rider-shop-dot { width: 6px; height: 6px; border-radius: 50%; background: #3a9e56; flex-shrink: 0; }
.rider-shop-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rider-tabs {
  display: flex; margin: 10px 12px 0; background: #fff; border-radius: 8px 8px 0 0;
  padding: 0 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); overflow-x: auto;
}
.rider-tab {
  flex: 1; min-width: 0; text-align: center; padding: 14px 2px 12px; font-size: 13px;
  color: #666; position: relative; background: none; border: none; cursor: pointer; white-space: nowrap;
}
.rider-tab.on { color: #2d8f47; font-weight: 700; }
.rider-tab.on::after {
  content: ''; position: absolute; left: 22%; right: 22%; bottom: 4px; height: 3px;
  background: #3a9e56; border-radius: 2px;
}
.rider-tab-badge {
  margin-left: 3px; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px;
  font-size: 10px; font-weight: 700; color: #fff; background: #3a9e56; border-radius: 8px;
  display: inline-block; vertical-align: middle;
}

.rider-list-wrap, .msg-list-wrap {
  margin: 0 12px; padding: 8px 0 12px; background: #fff; border-radius: 0 0 8px 8px; min-height: 120px;
}
.rider-state, .state { text-align: center; padding: 40px 20px; font-size: 14px; color: #666; }
.rider-state.muted, .state.muted { color: #999; }

.rider-offline-hero { padding: 24px 16px 32px; text-align: center; background: #fff; }
.rider-offline-title { font-size: 16px; font-weight: 700; color: #333; }
.rider-offline-mega {
  margin: 16px auto 0; width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(145deg, #52c97a 0%, #3a9e56 55%, #2d8f47 100%);
  box-shadow: 0 8px 24px rgba(58, 158, 86, 0.4); display: flex; align-items: center;
  justify-content: center; font-size: 22px; font-weight: 800; color: #fff; cursor: pointer; border: none;
}
.rider-offline-hint { margin-top: 16px; font-size: 13px; color: #999; line-height: 1.55; }

.rider-order-card { margin: 0 10px 10px; padding: 12px; background: #fafafa; border-radius: 8px; border: 1px solid #eee; }
.rider-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rider-order-meta { flex: 1; min-width: 0; }
.rider-order-shop { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.rider-order-dist { margin-top: 4px; font-size: 12px; color: #3a9e56; font-weight: 600; }
.rider-order-dist.muted { color: #999; font-weight: 400; }
.rider-order-income { flex-shrink: 0; text-align: right; }
.rider-income-num { font-size: 20px; font-weight: 800; color: #1a1a1a; line-height: 1.1; }
.rider-income-label { margin-top: 2px; font-size: 11px; color: #999; }
.rider-order-status { flex-shrink: 0; font-size: 13px; font-weight: 700; color: #2d8f47; }

.rider-addr-block { margin-top: 10px; padding: 8px 10px; background: #fff; border-radius: 6px; }
.rider-addr-block.compact { margin-top: 8px; }
.rider-addr-row { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.45; color: #333; }
.rider-addr-row + .rider-addr-row { margin-top: 8px; }
.rider-addr-tag {
  flex-shrink: 0; width: 20px; height: 20px; line-height: 20px; text-align: center;
  border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff;
}
.rider-addr-tag.pick { background: #3a9e56; }
.rider-addr-tag.send { background: #2d8f47; }
.rider-addr-text { flex: 1; min-width: 0; }
.rider-order-foot { margin-top: 8px; font-size: 11px; color: #999; }

.rider-quick-msg, .rider-quick-call { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.rider-msg-chip, .rider-call-chip {
  color: #2d8f47; font-size: 12px; font-weight: 600; padding: 5px 10px;
  border: 1px solid #3a9e56; border-radius: 999px; background: #fff; cursor: pointer;
}

.rider-actions { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.rider-btn-primary {
  min-width: 100px; height: 36px; padding: 0 16px; background: linear-gradient(90deg, #3a9e56, #5cc97a);
  color: #fff; border: none; font-size: 14px; font-weight: 700; border-radius: 6px;
  box-shadow: 0 3px 8px rgba(58, 158, 86, 0.35); cursor: pointer;
}
.rider-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.rider-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; height: 36px;
  font-size: 13px; background: #fff; color: #3a9e56; border: 1px solid #3a9e56; border-radius: 6px; cursor: pointer;
}
.rider-btn-dark {
  min-width: 100px; height: 36px; padding: 0 16px; background: #2d8f47; color: #fff; border: none;
  font-size: 14px; font-weight: 700; border-radius: 6px; cursor: pointer;
}
.rider-btn-dark:disabled { opacity: 0.6; cursor: not-allowed; }

.rider-tab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: flex; background: #fff;
  border-top: 1px solid #e8ecea; padding-bottom: env(safe-area-inset-bottom, 0px);
  max-width: var(--app-max-width, 1190px); margin: 0 auto;
  box-shadow: 0 -3px 12px rgba(42, 143, 72, 0.08);
}

.rider-tab-bar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 0 8px; color: #999; text-decoration: none; font-size: 11px; position: relative;
  cursor: pointer; background: none; border: none;
}

.rider-tab-bar-item.on { color: #3a9e56; font-weight: 700; }

.rider-tab-bar-icon-wrap {
  position: relative; width: 24px; height: 24px; margin-bottom: 2px;
}

.rider-tab-bar-icon {
  display: block; width: 24px; height: 24px; color: #bbb; position: relative; box-sizing: border-box;
}

.rider-tab-bar-item.on .rider-tab-bar-icon { color: #3a9e56; }

.rider-tab-bar-icon--orders {
  border: 2px solid currentColor; border-radius: 5px;
}

.rider-tab-bar-icon--orders::before,
.rider-tab-bar-icon--orders::after {
  content: ''; position: absolute; left: 6px; width: 10px; height: 2px;
  background: currentColor; border-radius: 1px;
}

.rider-tab-bar-icon--orders::before { top: 7px; }
.rider-tab-bar-icon--orders::after { top: 12px; box-shadow: 0 5px 0 currentColor; }

.rider-tab-bar-icon--messages {
  border: 2px solid currentColor; border-radius: 7px;
}

.rider-tab-bar-icon--messages::before {
  content: ''; position: absolute; left: 5px; top: 6px; width: 10px; height: 2px;
  background: currentColor; border-radius: 1px; box-shadow: 0 4px 0 currentColor;
}

.rider-tab-bar-icon--messages::after {
  content: ''; position: absolute; left: 7px; bottom: 3px; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.rider-tab-bar-icon--mine {
  border: 2px solid currentColor; border-radius: 50%; width: 10px; height: 10px;
  margin: 2px auto 0;
}

.rider-tab-bar-icon--mine::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: 1px; height: 9px;
  border: 2px solid currentColor; border-top: none; border-radius: 0 0 7px 7px;
}

.rider-tab-bar-text { font-size: 11px; line-height: 1.2; }

.rider-tab-bar-badge {
  position: absolute; top: -4px; right: -10px; min-width: 16px; height: 16px;
  line-height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; color: #fff;
  background: #e53935; border-radius: 8px; text-align: center; border: 1px solid #fff;
  box-sizing: border-box;
}

.rider-sub-header {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  background: linear-gradient(145deg, #2a8f48, #3a9e56); color: #fff;
}
.rider-sub-back {
  background: rgba(255, 255, 255, 0.2); border: none; color: #fff; width: 32px; height: 32px;
  border-radius: 8px; font-size: 18px; cursor: pointer; line-height: 1;
}
.rider-sub-title { font-size: 16px; font-weight: 700; }

.msg-main-tabs { display: flex; margin: 10px 12px 0; background: #fff; border-radius: 8px; overflow: hidden; }
.msg-main-tab { flex: 1; text-align: center; padding: 12px; font-size: 14px; color: #666; background: none; border: none; cursor: pointer; }
.msg-main-tab.on { color: #2d8f47; font-weight: 700; background: #e8f7ec; }
.msg-card { margin: 0 10px 10px; padding: 12px; background: #fafafa; border-radius: 8px; border: 1px solid #eee; }
.msg-top { font-size: 13px; font-weight: 600; color: #333; }
.msg-from { color: #3a9e56; margin-right: 4px; }
.msg-body { margin-top: 6px; font-size: 13px; color: #555; line-height: 1.5; }
.msg-time { margin-top: 6px; font-size: 11px; color: #999; }

.mine-page { background: #f2f4f5; }

.mine-hero {
  padding: 6px 0 12px;
  background: linear-gradient(145deg, #2a8f48 0%, #3a9e56 42%, #52c97a 78%, #8fd4a4 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 5px 14px rgba(42, 143, 72, 0.22);
}

.mine-wallet {
  margin: 0 12px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: #fff;
  box-shadow: none;
}

.profile-row {
  display: flex; justify-content: flex-start; align-items: center; gap: 10px;
}

.profile-avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #2d8f47;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-main { flex: 1; min-width: 0; }
.profile-main .name { font-size: 17px; font-weight: 800; line-height: 1.3; }
.profile-main .phone { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.88); }
.profile-main .shop-line { margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, 0.72); line-height: 1.4; }

.logout-btn {
  flex-shrink: 0; margin-left: auto; padding: 5px 12px; font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px; cursor: pointer;
}

.wallet-income-block {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mine-wallet .rider-wallet-label { font-size: 11px; color: rgba(255, 255, 255, 0.78); }
.mine-wallet .rider-wallet-amount { margin-top: 4px; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; }

.wallet-stats { display: flex; margin-top: 10px; gap: 6px; }
.wallet-stat {
  flex: 1; min-width: 0; text-align: center; padding: 8px 4px;
  background: rgba(255, 255, 255, 0.14); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-stat-val { display: block; font-size: 13px; font-weight: 800; color: #fff; line-height: 1.2; }
.wallet-stat-label { display: block; margin-top: 3px; font-size: 10px; color: rgba(255, 255, 255, 0.75); line-height: 1.3; }

.mine-withdraw-cta {
  display: flex; align-items: center; gap: 8px; margin: 10px 12px 0; width: calc(100% - 24px);
  padding: 11px 14px; background: linear-gradient(180deg, #fff 0%, #f6fbf7 100%);
  border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.mine-withdraw-cta-icon {
  width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%;
  font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, #3aad5c 0%, #1f7a3d 100%);
}

.mine-withdraw-cta-text { flex: 1; text-align: left; font-size: 15px; font-weight: 700; color: #1a1a1a; }
.mine-withdraw-cta-arrow { font-size: 18px; color: #3a9e56; font-weight: 700; line-height: 1; }

.mine-actions {
  margin: 10px 12px 0; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); overflow: hidden;
}

.mine-action-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 14px;
  background: none; border: none; border-bottom: 1px solid #f2f4f5; cursor: pointer; text-align: left;
}

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

.mine-action-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; position: relative;
}

.mine-action-icon.wallet {
  background: linear-gradient(145deg, #e8f7ec 0%, #d4f0dc 100%);
}

.mine-action-icon.wallet::before {
  content: '\A5'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #2d8f47;
}

.mine-action-icon.orders {
  background: linear-gradient(145deg, #eef5ff 0%, #dce9ff 100%);
}

.mine-action-icon.orders::before {
  content: ''; position: absolute; left: 11px; top: 10px; width: 16px; height: 18px;
  border: 2px solid #4a7fd4; border-radius: 3px;
}

.mine-action-icon.orders::after {
  content: ''; position: absolute; left: 14px; top: 15px; width: 10px; height: 2px;
  background: #4a7fd4; box-shadow: 0 4px 0 #4a7fd4, 0 8px 0 #4a7fd4;
}

.mine-action-body { flex: 1; min-width: 0; }
.mine-action-title { display: block; font-size: 14px; font-weight: 700; color: #222; }
.mine-action-desc { display: block; margin-top: 2px; font-size: 11px; color: #999; }
.mine-action-arrow { flex-shrink: 0; font-size: 18px; color: #ccc; line-height: 1; }

.mine-panel {
  margin: 10px 12px 12px; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); overflow: hidden;
}

.mine-panel-head {
  padding: 12px 14px 8px; font-size: 15px; font-weight: 700; color: #2d8f47;
  border-bottom: 1px solid #f5f6f7;
}

.mine-page .list-wrap { margin: 0; padding: 4px 0 12px; background: #fff; }
.mine-page .state { padding: 28px 20px; }

.mine-empty { padding: 28px 20px 32px; text-align: center; }

.mine-empty-icon {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 12px;
  background: #f2f4f5; position: relative;
}

.mine-empty-icon::before {
  content: ''; position: absolute; left: 14px; top: 12px; width: 18px; height: 22px;
  border: 2px solid #ccc; border-radius: 3px;
}

.mine-empty-icon::after {
  content: ''; position: absolute; left: 17px; top: 18px; width: 12px; height: 2px;
  background: #ccc; box-shadow: 0 5px 0 #ccc;
}

.mine-empty-title { margin-top: 10px; font-size: 14px; font-weight: 600; color: #666; }
.mine-empty-desc { margin-top: 4px; font-size: 12px; color: #aaa; line-height: 1.5; }

.mine-card {
  margin: 0 10px 10px; padding: 12px; background: #fafafa; border-radius: 8px; border: 1px solid #eef0ee;
}

.mine-card .card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mine-card .shop { font-weight: 700; font-size: 14px; color: #2d8f47; }
.mine-card .status {
  font-size: 12px; color: #3a9e56; font-weight: 700; padding: 2px 8px;
  background: #e8f7ec; border-radius: 6px; flex-shrink: 0;
}

.mine-card .meta {
  margin-top: 8px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #666;
}

.mine-card .money { color: #2d8f47; font-weight: 800; font-size: 15px; }
.mine-card .tap-hint { font-size: 11px; color: #999; }

.rider-modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.45);
  display: flex; align-items: flex-end; justify-content: center;
}
.rider-modal-sheet {
  width: 100%; max-width: var(--app-max-width, 1190px); max-height: 85vh; overflow-y: auto;
  background: #fff; border-radius: 14px 14px 0 0;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
}
.rider-modal-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.rider-detail-row { display: flex; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.rider-detail-k { width: 72px; flex-shrink: 0; color: #999; }
.rider-detail-v { flex: 1; color: #333; }

.wallet-page {
  background: #f5f6f7;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.wallet-hero {
  position: relative;
  overflow: hidden;
  padding: 4px 14px 18px;
  background: linear-gradient(155deg, #1f7a3d 0%, #2f9a4a 38%, #45b764 72%, #7fd49a 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 20px rgba(31, 122, 61, 0.28);
  margin: 0;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-deco-a { width: 140px; height: 140px; top: -40px; right: -30px; }
.hero-deco-b { width: 80px; height: 80px; bottom: 10px; left: -20px; }

.wallet-hero-inner { position: relative; z-index: 1; padding: 10px 4px 4px; }

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

.hero-label { font-size: 13px; color: rgba(255, 255, 255, 0.88); }
.hero-tag {
  padding: 3px 8px; font-size: 10px; color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.18); border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-amount {
  margin-top: 6px; font-size: 36px; font-weight: 800; color: #fff; line-height: 1.1;
}

.hero-stats {
  display: flex; align-items: center; margin-top: 14px; padding: 10px 12px;
  background: rgba(255, 255, 255, 0.14); border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat { flex: 1; text-align: center; }
.hero-stat-divider { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.25); }
.hero-stat-val { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.hero-stat-lbl { display: block; margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, 0.72); }

.hero-withdraw-btn {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; width: 100%;
  height: 46px; padding: 0 10px 0 8px; background: linear-gradient(180deg, #fff 0%, #f6fbf7 100%);
  border-radius: 23px; box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.95); cursor: pointer;
}

.hero-withdraw-icon-wrap {
  flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
  background: linear-gradient(145deg, #3aad5c 0%, #1f7a3d 100%);
  box-shadow: 0 2px 6px rgba(31, 122, 61, 0.35);
}

.hero-withdraw-icon { font-size: 14px; font-weight: 800; color: #fff; line-height: 1; }
.hero-withdraw-label { flex: 1; text-align: left; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.hero-withdraw-go {
  flex-shrink: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(45, 143, 71, 0.1); font-size: 12px; font-weight: 600; color: #1f7a3d;
}

.hero-withdraw-hint {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin-top: 10px; padding: 9px 12px; font-size: 12px; color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12); border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-hint-dot { font-size: 16px; line-height: 1; opacity: 0.7; }

.wallet-body { padding: 0 12px; margin-top: -4px; }

.wallet-card {
  background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.chart-card { padding: 14px 12px 10px; margin-bottom: 10px; }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.wallet-card-title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.card-sub { margin-top: 4px; font-size: 12px; color: #888; }

.chart-tip {
  margin-bottom: 8px; padding: 8px 10px; font-size: 12px; color: #888;
  background: #f8faf8; border-radius: 6px; text-align: center;
}

.chart-tip.light { padding: 5px 8px; font-size: 11px; color: #aaa; background: transparent; }

.chart-wrap { margin-top: 4px; }

.chart-bars {
  display: flex; align-items: flex-end; width: 100%; min-height: 120px; padding: 4px 0 0;
}

.chart-col {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center;
  padding: 2px 0; cursor: pointer;
}

.chart-bar-area {
  height: 90px; width: 100%; display: flex; align-items: flex-end; justify-content: center;
}

.chart-bar {
  width: 10px; min-height: 6px; background: #e8ece9;
  border-radius: 8px 8px 3px 3px; transition: height 0.3s ease;
}

.chart-col.selected .chart-month,
.chart-col.current .chart-month { color: #1f7a3d; font-weight: 700; }

.chart-col.selected .chart-val,
.chart-col.current .chart-val { color: #1f7a3d; font-weight: 600; }

.chart-col.selected .chart-bar,
.chart-col.current .chart-bar {
  width: 12px;
  background: linear-gradient(180deg, #6dd48f 0%, #1f7a3d 100%);
  box-shadow: 0 2px 6px rgba(45, 143, 71, 0.35);
}

.chart-col.dimmed .chart-bar { background: #e8ece9 !important; box-shadow: none !important; width: 10px !important; }
.chart-col.dimmed .chart-val { color: #ccc !important; font-weight: 400; }
.chart-col.dimmed .chart-month { color: #ccc !important; font-weight: 400; }
.chart-col.muted-bar .chart-bar { background: #dfe5e1; box-shadow: none; }
.chart-col.muted-bar .chart-val { color: #999; font-weight: 400; }
.chart-col.muted-bar .chart-month { color: #999; font-weight: 400; }

.chart-val {
  margin-top: 4px; font-size: 9px; color: #555; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}

.chart-val.muted { color: #bbb; }
.chart-month { margin-top: 1px; font-size: 10px; color: #999; white-space: nowrap; }

.chart-skeleton {
  display: flex; align-items: flex-end; justify-content: space-around;
  height: 100px; padding: 10px 0;
}

.sk-bar {
  width: 16px; height: 40px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%; border-radius: 4px;
  animation: wallet-shimmer 1.2s infinite;
}

@keyframes wallet-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.wallet-tab-bar {
  display: flex; margin: 14px 0 10px; background: #fff; border-radius: 10px;
  padding: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.wallet-tab-item {
  flex: 1; position: relative; text-align: center; padding: 11px 0 9px;
  font-size: 14px; color: #888; background: none; border: none; cursor: pointer;
}

.wallet-tab-item.active { color: #1f7a3d; font-weight: 700; }

.wallet-tab-line {
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px; background: #2d8f47; border-radius: 2px;
}

.month-filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px; padding: 10px 12px; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.month-filter-title { display: block; font-size: 15px; font-weight: 700; color: #1a1a1a; }
.month-filter-sub { display: block; margin-top: 3px; font-size: 12px; color: #888; }
.month-filter-clear {
  flex-shrink: 0; font-size: 12px; color: #2d8f47; background: none; border: none; cursor: pointer;
  padding: 4px 0 4px 8px;
}

.wallet-empty-box { padding: 24px 16px 28px; text-align: center; }
.wallet-empty-box.compact {
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 10px;
}

.wallet-empty-icon { font-size: 28px; line-height: 1; opacity: 0.85; }
.wallet-empty-title { margin-top: 10px; font-size: 15px; font-weight: 600; color: #444; }
.wallet-empty-desc { margin-top: 6px; font-size: 12px; color: #aaa; line-height: 1.5; }

.wallet-empty-action {
  margin-top: 14px; padding: 8px 20px; font-size: 13px; font-weight: 600; color: #1f7a3d;
  background: #e8f7ec; border: 1px solid #3a9e56; border-radius: 999px; cursor: pointer;
}

.wallet-list-loading { text-align: center; padding: 24px; font-size: 14px; color: #999; }

.wallet-record-list { padding-bottom: 8px; }

.wallet-record-item {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px;
  padding: 12px; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.wallet-record-icon {
  flex-shrink: 0; width: 36px; height: 36px; line-height: 36px; text-align: center;
  font-size: 14px; font-weight: 700; border-radius: 10px; color: #2d8f47;
  background: rgba(45, 143, 71, 0.1);
}

.wallet-record-icon.in { color: #2d8f47; background: rgba(45, 143, 71, 0.12); }
.wallet-record-icon.out { color: #e67e22; background: rgba(230, 126, 34, 0.1); }
.wallet-record-icon.withdraw { color: #1677ff; background: rgba(22, 119, 255, 0.1); }

.wallet-record-main { flex: 1; min-width: 0; }
.wallet-record-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wallet-record-row.sub { margin-top: 5px; }
.wallet-record-title { font-size: 14px; font-weight: 600; color: #222; }
.wallet-record-amt { font-size: 16px; font-weight: 800; flex-shrink: 0; }
.wallet-record-amt.in { color: #2d8f47; }
.wallet-record-amt.out { color: #e67e22; }
.wallet-record-desc {
  margin-top: 4px; font-size: 12px; color: #999;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wallet-record-time { margin-top: 4px; font-size: 11px; color: #ccc; }
.wallet-record-no { font-size: 11px; color: #bbb; }

.status-pill {
  display: inline-block; padding: 2px 7px; font-size: 11px; font-weight: 600; border-radius: 4px;
}

.status-pill.pending { color: #d48806; background: #fff7e6; }
.status-pill.success { color: #389e0d; background: #f6ffed; }
.status-pill.reject { color: #cf1322; background: #fff1f0; }

/* ---------- 提现页 ---------- */
.withdraw-page {
  background: #f5f6f7;
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

.withdraw-balance-banner {
  padding: 18px 16px 22px;
  background: linear-gradient(155deg, #1f7a3d 0%, #2f9a4a 50%, #45b764 100%);
  color: #fff;
}

.withdraw-balance-label { font-size: 13px; color: rgba(255, 255, 255, 0.88); }

.withdraw-balance-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-top: 8px;
}

.withdraw-balance-amount { font-size: 34px; font-weight: 800; line-height: 1.1; flex: 1; min-width: 0; }

.withdraw-all-btn {
  flex-shrink: 0; padding: 7px 16px; font-size: 13px; font-weight: 700; color: #1f7a3d;
  background: #fff; border: none; border-radius: 999px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.withdraw-all-btn:disabled {
  color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.22);
  box-shadow: none; cursor: not-allowed;
}

.withdraw-form-section { padding: 0 12px; margin-top: -10px; }

.withdraw-section {
  background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.withdraw-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}

.withdraw-section-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px;
}

.withdraw-section-head .withdraw-section-title { margin-bottom: 0; }

.withdraw-amount-inp {
  display: flex; align-items: center; gap: 4px; padding: 6px 0 10px;
  border-bottom: 2px solid #eee;
}

.amount-prefix { font-size: 26px; font-weight: 700; color: #1a1a1a; line-height: 1; }

.withdraw-amount-inp input {
  flex: 1; border: none; outline: none; font-size: 30px; font-weight: 800;
  min-width: 0; color: #1a1a1a; background: transparent;
}

.withdraw-amount-inp input::placeholder { color: #ddd; font-weight: 400; }

.mode-row { display: flex; gap: 10px; margin-top: 2px; }

.mode-item {
  flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 10px; text-align: center; border: 2px solid #e8ece9; border-radius: 10px;
  cursor: pointer; font-size: 13px; color: #666; background: #fff;
}

.mode-item.active {
  border-color: #2d8f47; background: rgba(45, 143, 71, 0.06); color: #1f7a3d; font-weight: 700;
}

.mode-icon {
  width: 36px; height: 36px; line-height: 36px; border-radius: 10px;
  font-size: 15px; font-weight: 800;
}

.mode-icon.bank { color: #e67e22; background: rgba(230, 126, 34, 0.12); }

.mode-label { line-height: 1.2; }

.withdraw-hint {
  margin: 12px 0 0; padding: 8px 10px; font-size: 12px; color: #888; line-height: 1.5;
  background: #f8faf8; border-radius: 8px;
}

.save-chip {
  padding: 5px 12px; font-size: 12px; font-weight: 600; border-radius: 999px;
  border: none; cursor: pointer; line-height: 1.3;
}

.save-chip.saved { color: #52a068; background: rgba(45, 143, 71, 0.12); }
.save-chip.dirty {
  color: #fff; background: linear-gradient(90deg, #1f7a3d, #3a9e56);
  box-shadow: 0 2px 6px rgba(31, 122, 61, 0.25);
}
.save-chip.loading { color: #888; background: #f0f0f0; cursor: wait; }
.save-chip:disabled { cursor: default; }

.field-list {
  border-radius: 8px; overflow: hidden; background: #f8faf8;
}

.field-row {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px;
  border-bottom: 1px solid #eef1ee; gap: 10px;
}

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

.field-label { width: 72px; flex-shrink: 0; font-size: 14px; color: #666; }

.field-input {
  flex: 1; border: none; outline: none; font-size: 14px; min-width: 0;
  color: #1a1a1a; background: transparent; text-align: right; height: 48px;
}

.field-input::placeholder { color: #c8ccc8; }

.hint-box {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px;
  font-size: 12px; color: #888; background: #f8faf8; border-radius: 8px; line-height: 1.5;
}

.hint-box.warn { background: #fffbe6; color: #ad8b00; }

.hint-icon {
  flex-shrink: 0; width: 18px; height: 18px; line-height: 18px; text-align: center;
  font-size: 11px; font-weight: 800; color: #2d8f47; background: rgba(45, 143, 71, 0.12);
  border-radius: 50%;
}

.hint-box.warn .hint-icon { color: #d48806; background: rgba(212, 136, 6, 0.12); }

.withdraw-tip-banner {
  margin-bottom: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45;
}

.withdraw-tip-banner.ok { background: #f6ffed; color: #389e0d; }
.withdraw-tip-banner.err { background: #fff1f0; color: #cf1322; }

.withdraw-submit-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.withdraw-submit-dock-inner {
  max-width: var(--app-max-width, 1190px); margin: 0 auto;
  padding: 10px 12px 12px;
}

.dock-summary { margin-bottom: 10px; padding: 0 2px; }

.dock-summary-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dock-summary-label { font-size: 13px; color: #666; }
.dock-summary-amount { font-size: 18px; font-weight: 800; color: #1f7a3d; }
.dock-summary-sub { display: block; margin-top: 4px; font-size: 11px; color: #999; line-height: 1.45; }
.dock-summary-hint { font-size: 12px; color: #999; line-height: 1.45; }

.withdraw-submit-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 48px; border: none; border-radius: 24px; cursor: pointer;
  background: linear-gradient(135deg, #1f7a3d 0%, #2f9a4a 45%, #45b764 100%);
  box-shadow: 0 5px 14px rgba(31, 122, 61, 0.35);
  transition: opacity 0.2s, transform 0.15s;
}

.withdraw-submit-btn.disabled {
  background: #e8ece9; box-shadow: none; cursor: not-allowed;
}

.withdraw-submit-btn.loading { opacity: 0.88; cursor: wait; }

.submit-btn-inner { display: flex; align-items: center; justify-content: center; gap: 8px; }

.submit-btn-icon {
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  font-size: 12px; font-weight: 800; color: #1f7a3d; background: #fff; border-radius: 50%;
}

.submit-btn-text { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 0.5px; }

.withdraw-submit-btn.disabled .submit-btn-text { color: #aaa; }
.withdraw-submit-btn.disabled .submit-btn-icon { color: #bbb; }



.chat-page { display: flex; flex-direction: column; height: 100vh; background: #f2f4f5; }
.chat-messages { flex: 1; overflow-y: auto; padding: 12px; }
.chat-bubble { max-width: 80%; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.chat-bubble.me { margin-left: auto; background: #3a9e56; color: #fff; }
.chat-bubble.other { background: #fff; color: #333; }
.chat-input-bar {
  display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid #eee;
}
.chat-input { flex: 1; height: 38px; padding: 0 12px; border: 1px solid #eee; border-radius: 8px; font-size: 14px; }
.chat-send { height: 38px; padding: 0 16px; background: #3a9e56; color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }
.chat-send:disabled { opacity: 0.5; }

