/* ============================================================
   三安报销 —— 员工 H5 报销端样式（移动端优先，蓝色主题 #409eff）
   v1.0.451：整体按微信小程序（WeUI）视觉与交互习惯改造
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #f5f7fa;
  color: #303133;
  font-size: 16px;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
}

/* ==================== 通用 ==================== */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}

.btn {
  display: block;
  width: 100%;
  height: 46px;
  line-height: 46px;
  border: none;
  border-radius: 8px;
  background: #409eff;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:active {
  opacity: 0.85;
}

.btn:disabled {
  background: #a0cfff;
  cursor: not-allowed;
}

/* 次按钮：浅灰底黑字（微信风格） */
.btn.plain {
  background: #f2f3f5;
  color: #303133;
  border: none;
}

/* 危险按钮：确认驳回等 */
.btn.danger {
  background: #f56c6c;
  color: #fff;
}

.btn.danger:disabled {
  background: #f8b4b4;
}

.btn.small {
  width: auto;
  height: 44px;
  line-height: 44px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 6px;
}

.link-btn {
  background: none;
  border: none;
  color: #409eff;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}

/* ==================== 顶部栏（微信风格：白底黑字 + 底部发丝线） ==================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: env(safe-area-inset-top, 0px) 12px 0;
  background: #fff;
  color: #303133;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* 0.5px 发丝线（transform scaleY 实现） */
.navbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #e5e5e5;
  transform: scaleY(0.5);
  transform-origin: bottom;
}

.navbar .nav-title {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 0;
  height: 52px;
  line-height: 52px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #303133;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.navbar .nav-side {
  position: relative;
  z-index: 1;
  height: 52px;
  display: flex;
  align-items: center;
  min-width: 48px;
  font-size: 14px;
  color: #606266;
}

.navbar .nav-right {
  justify-content: flex-end;
}

.navbar .link-btn {
  color: #303133;
  font-size: 15px;
}

.page-body {
  flex: 1;
  padding: 16px;
}

/* ==================== 登录页 ==================== */
.login-page {
  background: linear-gradient(180deg, #409eff 0%, #66b1ff 220px, #f5f7fa 220px);
  padding: 0 24px;
}

.login-logo {
  text-align: center;
  color: #fff;
  padding: 72px 0 32px;
}

.login-logo .logo-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.login-logo .logo-sub {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.85;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px 28px;
  box-shadow: 0 4px 20px rgba(64, 158, 255, 0.12);
}

.login-card .btn {
  margin-top: 22px;
}

/* ==================== 表单（块式，calc.js 与费用明细行沿用） ==================== */
.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.form-item {
  margin-bottom: 18px;
}

.form-item:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 15px;
  color: #606266;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-label .required {
  color: #f56c6c;
  margin-right: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid #dcdfe6;
  border-radius: 10px;
  padding: 0 14px;
  height: 48px;
  font-size: 16px;
  background: #fff;
  color: #303133;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23909399' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #409eff;
}

/* ==================== 微信 cell 表单（登录 / 新建付款申请 / 弹层表单） ==================== */
/* label 左 90px、输入右、输入框无边框、行间 0.5px 分隔线 */
.wx-cells .form-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 12px 0;
}

.wx-cells .form-item + .form-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: #ebeef5;
  transform: scaleY(0.5);
  transform-origin: top;
}

.wx-cells .form-label {
  flex-shrink: 0;
  width: 90px;
  margin-bottom: 0;
  font-size: 15px;
  color: #303133;
}

.wx-cells .form-input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
  height: auto;
  min-height: 24px;
  padding: 0;
  background: transparent;
}

/* select 保留原生控件，样式融入 cell（右侧箭头保留下拉指示） */
.wx-cells select.form-input {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23909399' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 22px;
}

.wx-cells .form-input:disabled {
  color: #909399;
}

/* textarea / 附件等块式独占行 */
.wx-cells .form-item.block {
  display: block;
}

.wx-cells .form-item.block .form-label {
  width: auto;
  display: block;
  margin-bottom: 8px;
}

.wx-cells textarea.form-input {
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  padding: 10px 12px;
  height: auto;
  min-height: 88px;
  line-height: 1.5;
  resize: none;
}

/* ==================== 费用明细行（#/submit） ==================== */
.items-loading {
  color: #909399;
  font-size: 14px;
  padding: 12px 0;
  text-align: center;
}

.item-row {
  border: 1px solid #ebeef5;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fafafa;
}

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

.item-row-head .item-row-title {
  font-size: 14px;
  font-weight: 600;
  color: #409eff;
}

.item-row-head .item-del {
  border: none;
  background: none;
  color: #f56c6c;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
}

.add-item-btn {
  height: 44px;
  line-height: 42px;
  font-size: 15px;
}

.items-total {
  margin-top: 12px;
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  color: #303133;
}

/* 多笔明细展开（#/list） */
.items-toggle {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #409eff;
  cursor: pointer;
}

.items-toggle .items-toggle-arrow {
  float: right;
}

.item-detail {
  background: #fafafa;
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 6px;
}

.item-detail-row {
  padding: 8px 0;
  border-bottom: 1px solid #ebeef5;
}

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

.item-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.item-detail-head .item-detail-type {
  color: #303133;
  font-weight: 500;
}

.item-detail-head .item-detail-amount {
  color: #303133;
  font-weight: 600;
}

.item-detail-meta {
  font-size: 12px;
  color: #909399;
  margin-top: 2px;
  word-break: break-all;
}

/* ==================== 附件上传 ==================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-card {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card .photo-file {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #606266;
  padding: 4px;
  text-align: center;
  word-break: break-all;
}

.photo-card .photo-file .file-icon {
  font-size: 26px;
  margin-bottom: 4px;
}

.photo-card .photo-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  color: #606266;
  gap: 6px;
}

.photo-card .photo-mask.error {
  color: #f56c6c;
}

.photo-card .photo-retry {
  border: 1px solid #409eff;
  color: #409eff;
  background: #fff;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 12px;
}

.photo-card .photo-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  font-size: 15px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}

.photo-add {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 10px;
  border: 1px dashed #c0c4cc;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-add .photo-add-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #909399;
  font-size: 12px;
  gap: 4px;
}

.photo-add .photo-add-inner .plus {
  font-size: 30px;
  line-height: 1;
  color: #c0c4cc;
}

.photo-add input[type="file"] {
  display: none;
}

/* spinner */
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #d9ecff;
  border-top-color: #409eff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ==================== 底部 Tab（内联 SVG 图标，激活态实心品牌蓝） ==================== */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 20;
}

/* 顶部发丝线 */
.tabbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: #e5e5e5;
  transform: scaleY(0.5);
  transform-origin: top;
}

.tabbar .tab-item {
  flex: 1;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #909399;
  font-size: 12px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tabbar .tab-item .tab-icon {
  width: 24px;
  height: 24px;
  line-height: 0;
}

.tabbar .tab-item .tab-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.tabbar .tab-item.active {
  color: #409eff;
  font-weight: 600;
}

/* ==================== 筛选 chips ==================== */
.chips-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 16px;
  background: #fff;
  position: sticky;
  top: calc(52px + env(safe-area-inset-top, 0px));
  z-index: 9;
  -webkit-overflow-scrolling: touch;
}

.chips-bar::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  height: 34px;
  line-height: 32px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #606266;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.chip.active {
  background: #409eff;
  border-color: #409eff;
  color: #fff;
  font-weight: 600;
}

.list-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 0;
}

.list-tools .refresh-btn {
  background: none;
  border: 1px solid #dcdfe6;
  color: #606266;
  border-radius: 8px;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  cursor: pointer;
}

/* ==================== 报销单卡片 ==================== */
.order-list {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-no {
  font-size: 12px;
  color: #909399;
}

.order-amount {
  font-size: 22px;
  font-weight: 700;
  color: #303133;
  margin-bottom: 6px;
}

.order-amount .currency {
  font-size: 14px;
  font-weight: 500;
  margin-right: 2px;
}

.order-desc {
  font-size: 14px;
  color: #606266;
  line-height: 1.5;
  margin-bottom: 6px;
  word-break: break-all;
}

.order-meta {
  font-size: 13px;
  color: #909399;
  line-height: 1.7;
}

.status-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.status-tag.pending {
  background: #fdf6ec;
  color: #e6a23c;
}

.status-tag.manager_approved {
  background: #e6f4ff;
  color: #1677ff;
}

.status-tag.approved {
  background: #f0f9eb;
  color: #67c23a;
}

.status-tag.rejected {
  background: #fef0f0;
  color: #f56c6c;
}

.status-tag.paid {
  background: #ecf5ff;
  color: #409eff;
}

.pay-channel-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
  background: #f0f9eb;
  color: #67c23a;
  border: 1px solid #b3e19d;
}

.head-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding-left: 8px;
}

.reject-reason {
  margin-top: 8px;
  background: #fef0f0;
  color: #f56c6c;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 8px;
}

.attach-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.attach-row::-webkit-scrollbar {
  display: none;
}

.attach-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  cursor: pointer;
  padding: 0;
}

.attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.attach-thumb .attach-file {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #606266;
  padding: 2px;
  word-break: break-all;
  text-align: center;
}

.attach-thumb .attach-file .file-icon {
  font-size: 20px;
}

/* ==================== 空状态 / 加载更多 ==================== */
.empty-state {
  text-align: center;
  padding: 70px 0 40px;
  color: #909399;
}

.empty-state .empty-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.empty-state .empty-text {
  font-size: 15px;
}

.empty-state .spinner {
  margin: 0 auto 12px;
}

.load-more {
  padding: 4px 16px 20px;
}

.load-more .btn {
  height: 44px;
  line-height: 44px;
  font-size: 15px;
}

.load-more .no-more {
  text-align: center;
  color: #909399;
  font-size: 13px;
  padding: 10px 0;
}

/* ==================== Toast（微信风格：居中深色方块 + 圆图标） ==================== */
.toast-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  width: 100%;
  max-width: 480px;
}

.toast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 76%;
  padding: 18px 24px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  animation: toast-in 0.2s ease-out;
  word-break: break-all;
}

.toast .toast-icon {
  width: 40px;
  height: 40px;
  line-height: 0;
}

.toast .toast-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.toast.out {
  opacity: 0;
  transition: opacity 0.3s;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== Lightbox ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: 96%;
  max-height: 90%;
  object-fit: contain;
}


/* ==================== 手机版付款申请（payreq.js） ==================== */
.status-tag.reviewed {
  background: #e6f4ff;
  color: #1677ff;
}

.pr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ebeef5;
}

.pr-actions .btn.small {
  flex: 1;
  min-width: 100px;
  height: 38px;
  line-height: 36px;
  font-size: 14px;
}

.btn.small.success {
  background: #67c23a;
  color: #fff;
}

.chip-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 16px;
  border-radius: 8px;
  background: #c0c4cc;
  color: #fff;
}

.chip.active .chip-badge {
  background: #409eff;
}


/* ==================== 微信 cell 列表（首页模块 / 二级菜单） ==================== */
.home-greet {
  padding: 2px 2px 12px;
  font-size: 15px;
  color: #606266;
}

.cell-group {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: #303133;
}

.cell:active {
  background: #f2f3f5;
}

/* 行间发丝线（对齐标题左缘） */
.cell + .cell::after {
  content: '';
  position: absolute;
  left: 64px;
  right: 0;
  top: 0;
  height: 1px;
  background: #ebeef5;
  transform: scaleY(0.5);
  transform-origin: top;
}

.cell-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cell-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cell-title {
  font-size: 16px;
  font-weight: 500;
}

.cell-desc {
  font-size: 13px;
  color: #909399;
}

/* 右侧 › 箭头 */
.cell-arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #c0c4cc;
  border-right: 1.5px solid #c0c4cc;
  transform: rotate(45deg);
}

/* ==================== 半屏弹层（驳回 / 打款，微信小程序交互） ==================== */
.sheet-root {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s;
}

.sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  transform: translate(-50%, 100%);
  transition: transform 0.28s ease;
}

.sheet-root.open .sheet-mask {
  opacity: 1;
}

.sheet-root.open .sheet {
  transform: translate(-50%, 0);
}

.sheet-head {
  position: relative;
  flex-shrink: 0;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.sheet-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ebeef5;
  transform: scaleY(0.5);
  transform-origin: bottom;
}

.sheet-title {
  position: absolute;
  left: 70px;
  right: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #303133;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sheet-cancel {
  position: relative;
  z-index: 1;
  border: none;
  background: none;
  font-size: 15px;
  color: #909399;
  padding: 6px 4px;
  cursor: pointer;
}

.sheet-body {
  padding: 14px 16px;
  overflow-y: auto;
  max-height: 70vh;
  -webkit-overflow-scrolling: touch;
}

/* 工程名称内联模糊搜索下拉（v1.0.453，payreq.js：输入框直接键入关键字，下方实时出匹配列表） */
.ac-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.ac-wrap .form-input {
  width: 100%;
}
.ac-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 264px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 0.5px solid #e5e5ea;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  z-index: 60;
}
.ac-item {
  padding: 12px 14px;
  font-size: 16px;
  color: #303133;
  border-bottom: 0.5px solid #f2f2f7;
  cursor: pointer;
}
.ac-item:last-child {
  border-bottom: none;
}
.ac-item:active {
  background: #f2f3f5;
}
.ac-item.none {
  color: #909399;
}
.ac-empty {
  padding: 18px 14px;
  text-align: center;
  color: #909399;
  font-size: 14px;
}

.sheet-footer {
  flex-shrink: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}

/* ==================== 利润计算（塔吊费用计算器，v1.0.422） ==================== */
.pc-card-title { font-size: 14px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1.5px solid #edf0f5; }
.pc-unit { font-size: 12px; color: #aaa; margin-left: 6px; flex-shrink: 0; width: 24px; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pc-table th, .pc-table td { padding: 6px 3px; text-align: center; border-bottom: 1px solid #f2f3f5; }
.pc-table th { background: #f9fafc; color: #666; font-weight: 600; white-space: nowrap; }
.pc-table input.pc-adj { width: 100%; min-width: 52px; padding: 4px 2px; border: 1px solid #e2e5ea; border-radius: 4px; font-size: 12px; text-align: center; background: #fff; }
.pc-total td { font-weight: 700; color: #d93025; font-size: 13px; background: #fefbfb; }
.pc-commission td { color: #555; font-weight: 600; }
.pc-profit td { padding: 8px 4px; }
.pc-profit td:first-child { color: #555; }
.pc-num { font-weight: 600; }
.pc-num-strong { color: #188038; font-weight: 700; font-size: 14px; }
.pc-tip { text-align: center; font-size: 11px; color: #aaa; margin: 4px 0 16px; }
.form-item { position: relative; }

/* 利润分析分隔条（与电脑端一致） */
.pc-divider td { text-align: center; font-size: 11px; color: #aaa; padding: 8px 0 4px; border: none; letter-spacing: 1px; }
.pc-divider td span { display: inline-block; padding: 3px 14px; background: #f7f8fa; border-radius: 10px; font-weight: 500; }

/* ==================== 强制改密弹窗（v1.0.455） ==================== */
/* 全屏不可关闭遮罩：初始密码/弱密码账号须先改成合规密码 */
.fcp-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.fcp-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px 18px;
  box-sizing: border-box;
}

.fcp-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  color: #303133;
}

.fcp-tip {
  font-size: 13px;
  color: #606266;
  line-height: 1.6;
  margin-bottom: 8px;
}

.fcp-rules {
  font-size: 13px;
  color: #e6a23c;
  background: #fdf6ec;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.fcp-card .btn {
  width: 100%;
  margin-top: 14px;
}
