/* =============================================================
   摄影师约拍管理后台 · 共享样式表
   风格：简约 ins 风 · 米色 + 浅灰
   说明：买家可直接修改下方 :root 里的配色变量来换肤。
   ============================================================= */

:root {
  /* ===== 配色变量（买家改这里即可换配色） ===== */
  --color-bg: #F6F2EC;          /* 页面背景 · 米色 */
  --color-surface: #FFFFFF;     /* 卡片 / 面板 · 白 */
  --color-surface-2: #FBF9F5;   /* 次级面板 · 浅米 */
  --color-border: #E7E1D8;      /* 边框 · 浅灰米 */
  --color-text: #4A443E;        /* 主文字 · 深灰褐 */
  --color-text-soft: #9A9088;   /* 次级文字 · 浅灰 */
  --color-accent: #C2A68A;      /* 强调色 · 暖驼 */
  --color-accent-soft: #EFE7DD; /* 强调浅底色 */
  --color-danger: #C98B7E;      /* 删除 / 取消 · 柔红 */
  --color-danger-soft: #F6E4E0; /* 删除浅底色 */

  /* 订单状态配色（背景 / 文字） */
  --st-pending-bg: #EDEAE4;     --st-pending-fg: #8A8178;   /* 待确认 */
  --st-deposit-bg: #E4ECF2;     --st-deposit-fg: #6E8AA0;   /* 已付定金 */
  --st-shoot-bg: #EFE7DD;       --st-shoot-fg: #B08A63;     /* 待拍摄 */
  --st-edit-bg: #ECE6F0;        --st-edit-fg: #947FB0;      /* 后期修图中 */
  --st-done-bg: #E3EEE6;        --st-done-fg: #6E9A7C;      /* 成片交付完成 */
  --st-cancel-bg: #F6E4E0;      --st-cancel-fg: #C58A7D;    /* 客户取消 */

  /* 尺寸 */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 6px 24px rgba(120, 105, 85, 0.08);
  --shadow-sm: 0 2px 8px rgba(120, 105, 85, 0.06);
  --maxw: 1100px;
}

/* ===== 基础重置 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ===== 底部版权条 / 版权水印 ===== */
.site-footer {
  margin-top: 48px;
  padding: 18px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-soft);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  letter-spacing: .3px;
}
.site-footer span { color: var(--color-accent); font-weight: 600; }
.copyright-watermark {
  position: fixed;
  right: 12px;
  bottom: 12px;
  font-size: 11px;
  color: rgba(74, 68, 62, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 60;
  letter-spacing: .5px;
  font-weight: 600;
}

/* ===== 布局 ===== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px; }

.app-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 20;
}
.app-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.app-header__title { font-size: 18px; font-weight: 600; letter-spacing: .5px; }
.app-header__title small { display: block; font-size: 12px; color: var(--color-text-soft); font-weight: 400; letter-spacing: 0; }

/* ===== 顶部标签导航（电脑/手机通用，可横向滚动） ===== */
.tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px 0;
  max-width: var(--maxw); margin: 0 auto;
  scrollbar-width: thin;
}
.tabs__item {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px;
  color: var(--color-text-soft); font-size: 14px; white-space: nowrap;
  border: 1px solid transparent; transition: .2s; background: transparent;
}
.tabs__item:hover { color: var(--color-text); background: var(--color-surface-2); }
.tabs__item.is-active {
  color: var(--color-text); background: var(--color-accent-soft);
  border-color: var(--color-border); font-weight: 600;
}
.tabs__item .dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--color-danger); margin-left:6px; vertical-align: middle; }

/* ===== 卡片 ===== */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 18px; }
.card--publish { background: var(--color-accent-soft); border-color: var(--color-accent); }
.card--publish code { background: rgba(255,255,255,.65); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.card__title { font-size: 16px; font-weight: 600; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: var(--color-surface); color: var(--color-text); font-size: 14px; transition: .18s;
}
.btn:hover { background: var(--color-surface-2); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.04); background: var(--color-accent); }
.btn--ghost { background: transparent; }
.btn--danger { color: var(--color-danger); border-color: var(--color-danger-soft); }
.btn--danger:hover { background: var(--color-danger-soft); }
.btn--sm { padding: 6px 12px; font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }

/* ===== 表单 ===== */
.field { margin-bottom: 14px; }
.field > label, .field > .field-glabel { display: block; font-size: 13px; color: var(--color-text-soft); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: var(--color-surface-2);
  color: var(--color-text); font-size: 14px; font-family: inherit; transition: .18s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--color-accent); background: #fff;
}
.textarea { resize: vertical; min-height: 72px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ===== 徽章 / 状态 ===== */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; line-height: 1.6; white-space: nowrap;
}
.badge--pending { background: var(--st-pending-bg); color: var(--st-pending-fg); }
.badge--deposit { background: var(--st-deposit-bg); color: var(--st-deposit-fg); }
.badge--shoot   { background: var(--st-shoot-bg);   color: var(--st-shoot-fg); }
.badge--edit    { background: var(--st-edit-bg);    color: var(--st-edit-fg); }
.badge--done    { background: var(--st-done-bg);    color: var(--st-done-fg); }
.badge--cancel  { background: var(--st-cancel-bg);  color: var(--st-cancel-fg); }

/* ===== 工具栏（筛选 / 搜索） ===== */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .input, .toolbar .select { width: auto; min-width: 140px; }
.toolbar__spacer { flex: 1; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 6px 12px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-soft);
}
.chip.is-active { background: var(--color-accent-soft); color: var(--color-text); border-color: var(--color-border); }
.chip--sm { padding: 2px 8px; font-size: 11px; }

/* 多选标签组（拍摄风格等） */
.chk-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chk {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1px solid var(--color-border); border-radius: 999px; font-size: 13px;
  background: var(--color-surface-2); cursor: pointer; user-select: none; transition: .15s;
}
.chk input { display: none; }
.chk.is-on { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-text); font-weight: 600; }

/* 蜜罐（防垃圾提交，对正常用户隐藏但保留在 DOM） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 后台口令门禁 */
.lock { position: fixed; inset: 0; background: var(--color-bg); display: none; align-items: center; justify-content: center; z-index: 100; }
.lock__box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; width: 320px; max-width: 90vw; text-align: center; box-shadow: var(--shadow); }
.lock__err { min-height: 1em; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.table th { color: var(--color-text-soft); font-weight: 500; font-size: 13px; background: var(--color-surface-2); }
.table tbody tr:hover { background: var(--color-surface-2); }
.table .row-actions { display: flex; gap: 8px; }

/* ===== 统计卡 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 768px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 16px 18px;
}
.stat__label { font-size: 13px; color: var(--color-text-soft); }
.stat__value { font-size: 24px; font-weight: 600; margin-top: 6px; }
.stat__value small { font-size: 13px; color: var(--color-text-soft); font-weight: 400; }

/* ===== 日历 ===== */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-size: 16px; font-weight: 600; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow { text-align: center; font-size: 12px; color: var(--color-text-soft); padding: 4px 0; }
.cal__cell {
  aspect-ratio: 1 / 1; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface-2); padding: 6px; font-size: 13px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; transition: .15s;
}
.cal__cell.is-empty { background: transparent; border: none; }
.cal__cell.is-today { border-color: var(--color-accent); }
.cal__cell.has-order { background: var(--color-accent-soft); cursor: pointer; }
.cal__cell.has-order:hover { filter: brightness(.98); }
.cal__cell .cal__num { font-weight: 600; }
.cal__cell .cal__tag { font-size: 11px; color: var(--color-accent); }
.cal__legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--color-text-soft); }
.cal__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ===== 网格（作品集 / 套餐） ===== */
.grid { display: grid; gap: 14px; }
.grid--portfolio { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grid--pkg { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
}
.tile__media { aspect-ratio: 4 / 3; background: var(--color-surface-2); position: relative; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding: 12px 14px; }
.tile__name { font-weight: 600; font-size: 14px; }
.tile__meta { font-size: 12px; color: var(--color-text-soft); margin-top: 4px; }
.tile__foot { display: flex; gap: 8px; padding: 0 14px 14px; }
.tile__del {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.85); color: var(--color-danger); font-size: 16px; line-height: 1;
}

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0; background: rgba(74, 68, 62, 0.35);
  display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50;
}
.modal-mask.is-open { display: flex; }
.modal {
  background: var(--color-surface); border-radius: var(--radius); width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow); padding: 22px;
}
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal__title { font-size: 17px; font-weight: 600; }
.modal__close { border: none; background: transparent; font-size: 22px; color: var(--color-text-soft); line-height: 1; }
.modal__foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

/* ===== 提示条 toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: var(--color-text); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 空状态 ===== */
.empty { text-align: center; color: var(--color-text-soft); padding: 40px 10px; font-size: 14px; }

/* ===== 预约页专用 ===== */
.booking-hero { text-align: center; padding: 40px 20px 24px; }
.booking-hero h1 { font-size: 26px; font-weight: 600; letter-spacing: 1px; }
.booking-hero p { color: var(--color-text-soft); margin-top: 8px; }
.booking-form-card { max-width: 560px; margin: 0 auto; }
/* 作品预览：按原比例显示 + 自动横向滚动播放（鼠标悬停暂停，尊重「减少动态」偏好） */
.gallery { position: relative; margin-top: 14px; overflow: hidden; border-radius: var(--radius-sm);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery__track { display: flex; gap: 12px; width: max-content; animation: gallery-scroll 40s linear infinite; }
.gallery.is-auto:hover .gallery__track { animation-play-state: paused; }
.gallery img { flex: 0 0 auto; height: clamp(180px, 34vw, 300px); width: auto; max-width: 88vw;
  object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--color-border); background: rgba(0,0,0,.04); }
@keyframes gallery-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gallery { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .gallery__track { animation: none; width: auto; }
}

/* 作品集加载状态提示（发布数据异步加载 / 失败可见提示） */
.publish-note { margin-top: 10px; font-size: 13px; padding: 8px 12px; border-radius: 8px; }
.publish-note.is-loading { color: var(--color-text-soft); background: var(--color-bg-soft); }
.publish-note.is-error { color: #8a4b00; background: #fff5e6; border: 1px solid #ffd9a0; }

/* 顶部视图切换（填写预约 / 我的预约） */
.view-switch { display: flex; gap: 8px; justify-content: center; margin: 18px auto 0; max-width: 560px; }
.view-switch__btn { flex: 1; padding: 10px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-soft); font-size: 14px; transition: .18s; }
.view-switch__btn.is-active { background: var(--color-accent-soft); color: var(--color-text); border-color: var(--color-border); font-weight: 600; }
.view { display: none; }
.view.is-active { display: block; }

/* 分行字段（起止时间） */
.field-row { display: flex; gap: 10px; align-items: center; }
.field-row .input { flex: 1; }
.field-row .arrow { color: var(--color-text-soft); flex: 0 0 auto; }

/* 分段控件（室内/室外） */
.seg { display: flex; gap: 8px; }
.seg__opt { flex: 1; text-align: center; padding: 11px 8px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-2); cursor: pointer; font-size: 13px; color: var(--color-text-soft); transition: .15s; }
.seg__opt.is-on { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }

/* 步进器（拍摄人数） */
.stepper { display: flex; align-items: center; justify-content: space-between; height: 44px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-2); padding: 0 14px; }
.stepper__btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--color-border); background: #fff; font-size: 18px; line-height: 1; color: var(--color-text); }
.stepper__num { font-size: 15px; font-weight: 600; }

/* 开关（简单妆造） */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.switch { position: relative; width: 46px; height: 26px; border-radius: 13px; background: var(--color-border); transition: .2s; flex: 0 0 auto; cursor: pointer; }
.switch.is-on { background: var(--color-accent); }
.switch__dot { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch.is-on .switch__dot { left: 23px; }

/* 实时费用卡 */
.fee { background: var(--color-accent-soft); border-radius: var(--radius); padding: 16px; margin-top: 4px; }
.fee__line { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-text-soft); margin: 5px 0; }
.fee__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--color-border); }
.fee__deposit { color: var(--color-danger); font-weight: 700; font-size: 15px; }
.fee__hint { font-size: 12px; color: var(--color-text-soft); margin-top: 8px; }
/* 费用卡置顶跟随：填写长表单时始终可见，费用随选择实时变化 */
.fee--sticky { position: sticky; top: 8px; z-index: 5; box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.fee__title { font-size: 12px; color: var(--color-text-soft); margin-bottom: 6px; letter-spacing: .04em; }

/* 支付弹窗（定金） */
.pay-amount { text-align: center; font-size: 34px; font-weight: 700; color: var(--color-danger); margin: 6px 0; }
.pay-detail { text-align: center; font-size: 13px; color: var(--color-text-soft); margin-bottom: 4px; }
.pay-balance-note { text-align: center; font-size: 13px; color: var(--color-text); background: var(--color-surface-2); border-radius: var(--radius-sm); padding: 10px; margin: 10px 0; }

/* 时段冲突提示条 */
.conflict-bar { background: #FCF1E3; color: #B5793B; border: 1px solid #F0D9BE; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 14px; line-height: 1.6; }

/* 支付方式选择（微信 / 支付宝） */
.pay-methods { display: flex; gap: 10px; margin: 6px 0 14px; }
.pay-method { flex: 1; padding: 11px 8px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-2); color: var(--color-text-soft); font-size: 14px; transition: .15s; }
.pay-method.is-on { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-text); font-weight: 600; }

/* 支付弹窗：品牌头 */
.pay-modal__brand { font-size: 16px; font-weight: 700; padding: 8px 0; border-radius: var(--radius-sm); margin-bottom: 6px; }
.pay-modal__brand.wechat { background: #E8F8EC; color: #1AAD19; }
.pay-modal__brand.alipay { background: #E8F2FB; color: #1677FF; }
.pay-modal__amount { font-size: 30px; font-weight: 700; color: var(--color-danger); margin: 6px 0 12px; }

/* 收款码设置（后台） */
.paycode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .paycode-grid { grid-template-columns: 1fr; } }
.paycode-slot { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px; text-align: center; background: var(--color-surface-2); }
.paycode-slot__title { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.paycode-slot__img { width: 160px; height: 160px; margin: 0 auto 10px; border-radius: 10px; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.paycode-slot__img img { width: 100%; height: 100%; object-fit: contain; }
.paycode-slot__empty { font-size: 12px; color: var(--color-text-soft); }
.paycode-slot .btn { margin: 2px 3px 0; }

/* 收款码展示（预约页支付弹窗） */
.paycode-view { width: 180px; height: 180px; margin: 4px auto 10px; border-radius: 10px; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px; }
.paycode-view img { width: 100%; height: 100%; object-fit: contain; }

/* 付款凭证上传 / 预览（预约页） */
.proof-upload { margin-top: 12px; }
.proof-preview { margin-top: 10px; }
.proof-preview img { max-width: 100%; max-height: 180px; border-radius: 8px; border: 1px solid var(--color-border); margin: 0 auto; }

/* 后台订单：收款凭证与确认 */
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .proof-row { grid-template-columns: 1fr; } }
.proof-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px; text-align: center; background: var(--color-surface-2); }
.proof-item__title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.proof-item__img { width: 120px; height: 120px; margin: 0 auto 8px; border-radius: 8px; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proof-item__img img { width: 100%; height: 100%; object-fit: contain; }
.chk-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-text); cursor: pointer; }

/* 我的预约 */
.myorder { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px; background: var(--color-surface); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.myorder__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.myorder__name { font-weight: 600; font-size: 15px; }
.myorder__meta { font-size: 13px; color: var(--color-text-soft); margin-top: 6px; line-height: 1.7; }
.myorder__money { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.myorder__money b { font-size: 15px; }
.myorder__actions { margin-top: 12px; display: flex; gap: 10px; }
.myorder__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; margin-top: 12px; }
.myorder__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--color-border); }
.myorder__locked { margin-top: 12px; text-align: center; font-size: 13px; color: var(--color-text-soft); background: var(--color-surface-2); border-radius: var(--radius-sm); padding: 12px; }

.section { margin-top: 30px; }
.section__title { font-size: 16px; font-weight: 600; margin-bottom: 10px; text-align: center; }

/* 小屏微调 */
@media (max-width: 560px) {
  .wrap { padding: 0 14px 50px; }
  .app-header__inner { padding: 14px; }
  .stat__value { font-size: 20px; }
}

/* 客户身份条（提交预约后自动记录，我的预约只显示本人） */
.idbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--color-accent-soft); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 14px; }
.idbar__txt { font-size: 13px; color: var(--color-text); }
.idbar__logout { background: transparent; border: none; color: var(--color-accent); font-size: 13px; cursor: pointer; text-decoration: underline; }

/* 分享按钮 + 二维码弹窗 */
.share-row { display: flex; justify-content: center; margin: 14px 0 0; }
.share-qr { width: 240px; height: 240px; margin: 14px auto; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.share-qr img { width: 100%; height: 100%; object-fit: contain; }
.share-url { font-size: 12px; color: var(--color-text-soft); word-break: break-all; text-align: center; margin: 4px 0 14px; }

/* 支付弹窗内「个人微信（加好友）」区 */
.pay-extra { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--color-border); }
.pay-extra__title { font-size: 13px; color: var(--color-text-soft); margin-bottom: 8px; }
.pay-extra img { width: 160px; height: 160px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--color-border); }
