/* 新零售商城系统 - 商户后台 - 红 + 白 + 浅灰 */
:root {
  --pt-red: #e60012;
  --pt-red-dark: #c4000f;
  --pt-red-light: #fff1f0;
  --pt-text: #333;
  --pt-muted: #999;
  --pt-border: #e8e8e8;
  --pt-bg: #f5f5f5;
  --pt-sidebar: #fafafa;
}

* { box-sizing: border-box; }
body.pt-body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--pt-text); background: var(--pt-bg); }

/* ========== 登录/注册 ========== */
.pt-auth-page { min-height: 100vh; display: flex; background: linear-gradient(135deg, #fff 0%, #fafafa 50%, #fff5f5 100%); }
.pt-auth-left { flex: 1; padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.pt-auth-left::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(230,0,18,.08) 0%, transparent 70%); top: 10%; left: 10%; }
.pt-auth-brand { font-size: 36px; font-weight: 700; color: #111; letter-spacing: 2px; position: relative; }
.pt-auth-sub { margin-top: 12px; color: var(--pt-muted); font-size: 16px; position: relative; }
.pt-auth-visual { margin-top: 48px; width: 280px; height: 280px; background: linear-gradient(145deg, var(--pt-red-light), #fff); border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 80px; color: var(--pt-red); box-shadow: 0 20px 60px rgba(230,0,18,.12); position: relative; }
.pt-auth-right { width: 480px; min-width: 420px; display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,.04); }
.pt-auth-card { width: 100%; max-width: 380px; }
.pt-auth-tabs { display: flex; border-bottom: 1px solid var(--pt-border); margin-bottom: 32px; }
.pt-auth-tab { flex: 1; text-align: center; padding: 12px 0; color: var(--pt-muted); cursor: pointer; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
.pt-auth-tab.active { color: var(--pt-red); border-bottom-color: var(--pt-red); font-weight: 600; }
.pt-field { margin-bottom: 20px; }
.pt-field label { display: block; font-size: 13px; color: #666; margin-bottom: 8px; }
.pt-field label .req { color: var(--pt-red); }
.pt-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--pt-border); border-radius: 4px; font-size: 14px; outline: none; transition: border .2s; }
.pt-input:focus { border-color: var(--pt-red); }
.pt-input-row { display: flex; gap: 10px; }
.pt-input-row .pt-input { flex: 1; }
.pt-btn-red { width: 100%; height: 44px; background: var(--pt-red); color: #fff; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; transition: background .2s; }
.pt-btn-red:hover { background: var(--pt-red-dark); }
.pt-btn-outline { height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--pt-red); color: var(--pt-red); border-radius: 4px; cursor: pointer; white-space: nowrap; font-size: 13px; }
.pt-auth-links { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; }
.pt-auth-links a { color: var(--pt-red); text-decoration: none; }
.pt-alert { padding: 10px 14px; background: var(--pt-red-light); color: var(--pt-red); border-radius: 4px; margin-bottom: 20px; font-size: 13px; }
.pt-checkbox { font-size: 12px; color: var(--pt-muted); margin-top: 16px; }
.pt-checkbox a { color: var(--pt-red); }
.pt-auth-onboard { margin-top: 24px; padding: 16px; background: var(--pt-red-light); border-radius: 8px; text-align: center; }
.pt-auth-onboard-title { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #333; }
.pt-auth-onboard-steps { margin: 0 0 12px; font-size: 12px; color: #666; }
.pt-auth-onboard .pt-btn-outline { display: inline-block; line-height: 42px; text-decoration: none; }
.pt-tag { display: inline-block; padding: 2px 10px; background: var(--pt-red-light); color: var(--pt-red); border-radius: 4px; font-size: 13px; }

/* ========== 会员中心布局 ========== */
.pt-layout { display: flex; min-height: 100vh; }
.pt-sidebar { width: 236px; background: var(--pt-sidebar); border-right: 1px solid var(--pt-border); flex-shrink: 0; display: flex; flex-direction: column; }
.pt-sidebar-head { height: 60px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--pt-border); flex-shrink: 0; }
.pt-sidebar-logo { font-size: 16px; font-weight: 700; color: var(--pt-red); }
.pt-sidebar-logo span { color: #333; font-weight: 500; margin-left: 6px; font-size: 14px; }
.pt-sidebar-nav-wrap { flex: 1; overflow-x: hidden; overflow-y: auto; padding: 8px 0 16px; }
.pt-sidebar-nav-wrap::-webkit-scrollbar { width: 4px; }
.pt-sidebar-nav-wrap::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.12); border-radius: 4px; }

/* 侧栏导航 */
.pt-nav { list-style: none; margin: 0; padding: 4px 10px; }
.pt-nav-item,
.pt-nav-group { margin-bottom: 2px; }

.pt-nav-link,
.pt-nav-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #666;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-align: left;
  font-family: inherit;
  box-sizing: border-box;
}

.pt-nav-link:hover,
.pt-nav-group__head:hover {
  color: var(--pt-red);
  background: var(--pt-red-light);
}

.pt-nav-link.active,
.pt-nav-group.open > .pt-nav-group__head {
  color: var(--pt-red);
  background: var(--pt-red-light);
  font-weight: 600;
}

.pt-nav-sub .pt-nav-link {
  min-height: 38px;
  padding-left: 42px;
  font-size: 13px;
  font-weight: normal;
  border-radius: 6px;
}

.pt-nav-sub .pt-nav-link.active {
  color: var(--pt-red);
  background: var(--pt-red-light);
  position: relative;
}

.pt-nav-sub .pt-nav-link.active::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--pt-red);
}

.pt-nav-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-nav-arrow {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 2px solid #bbb;
  border-bottom: 2px solid #bbb;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.15s ease;
  margin-right: 2px;
}

.pt-nav-group.open > .pt-nav-group__head .pt-nav-arrow {
  transform: rotate(-135deg);
  border-color: var(--pt-red);
}

.pt-nav-sub-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.pt-nav-group.open > .pt-nav-sub-wrap {
  grid-template-rows: 1fr;
}

.pt-nav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}

.pt-nav-group.open > .pt-nav-sub-wrap > .pt-nav-sub {
  padding: 2px 0 6px;
}

.pt-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.88;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.pt-nav-icon--home {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 01-1 1h-5v-6H9v6H4a1 1 0 01-1-1v-9.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 01-1 1h-5v-6H9v6H4a1 1 0 01-1-1v-9.5z'/%3E%3C/svg%3E");
}

.pt-nav-icon--site {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-8 0 15.3 15.3 0 014-10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-8 0 15.3 15.3 0 014-10z'/%3E%3C/svg%3E");
}

.pt-nav-icon--race {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}

.pt-nav-icon--enroll {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3C/svg%3E");
}

.pt-nav-icon--finance {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}

.pt-nav-icon--users {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2M9 11a4 4 0 100-8 4 4 0 000 8zm10 10v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2M9 11a4 4 0 100-8 4 4 0 000 8zm10 10v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E");
}

.pt-nav-icon--plugin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.pt-nav-icon--bonus {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M9 10c0-1.5 1.5-2 3-2s3 .5 3 2-1.5 2-3 2-3 .5-3 2 1.5 2 3 2 3-.5 3-2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M9 10c0-1.5 1.5-2 3-2s3 .5 3 2-1.5 2-3 2-3 .5-3 2 1.5 2 3 2 3-.5 3-2'/%3E%3C/svg%3E");
}

.pt-nav-icon--sys {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
}

.pt-nav-icon--cert {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .pt-nav-sub-wrap,
  .pt-nav-arrow {
    transition: none;
  }
}

/* 认证流程等仍使用 plain <a> 的侧栏 */
.pt-nav > li > a:not(.pt-nav-link) {
  display: block;
  padding: 12px 20px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  margin: 0 10px 2px;
}
.pt-nav > li > a:not(.pt-nav-link):hover {
  color: var(--pt-red);
  background: var(--pt-red-light);
}
.pt-nav > li > a:not(.pt-nav-link).active {
  color: var(--pt-red);
  background: var(--pt-red-light);
  font-weight: 600;
}

.pt-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pt-header { height: 56px; background: #fff; border-bottom: 1px solid var(--pt-border); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.pt-breadcrumb { font-size: 13px; color: var(--pt-muted); }
.pt-breadcrumb b { color: var(--pt-text); font-weight: 500; }
.pt-header-right { display: flex; align-items: center; flex-shrink: 0; }
.pt-header-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  font-size: 12px;
  line-height: 1.2;
  color: #666;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--pt-border);
  border-radius: 6px;
  transition: color .15s, border-color .15s, background .15s;
}
.pt-header-cert__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.9;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.pt-header-cert__text { white-space: nowrap; }
.pt-header-cert:hover { color: var(--pt-red); border-color: rgba(230, 0, 18, 0.35); background: var(--pt-red-light); }
.pt-header-cert.active { color: var(--pt-red); border-color: rgba(230, 0, 18, 0.45); background: var(--pt-red-light); font-weight: 600; }
.pt-header-user { font-size: 13px; color: #666; white-space: nowrap; }
.pt-header-user a { color: var(--pt-red); margin-left: 12px; text-decoration: none; }
.pt-content { flex: 1; padding: 24px; }

/* ========== 服务大厅首页 ========== */
.pt-hall-title { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.pt-notice { background: #fff; border: 1px solid var(--pt-border); border-radius: 8px; padding: 14px 20px; margin-bottom: 32px; font-size: 13px; color: #666; display: flex; align-items: center; gap: 10px; }
.pt-notice-icon { color: var(--pt-red); font-size: 18px; }
.pt-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; }
.pt-service-card { background: var(--pt-red); border-radius: 12px; padding: 40px 28px; color: #fff; text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s; text-decoration: none; display: block; min-height: 220px; }
.pt-service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(230,0,18,.3); color: #fff; }
.pt-service-card .icon { font-size: 48px; margin-bottom: 16px; opacity: .9; }
.pt-service-card h3 { font-size: 18px; margin: 0 0 12px; font-weight: 600; }
.pt-service-card p { font-size: 13px; opacity: .85; line-height: 1.6; margin: 0; }

/* ========== 三步认证 ========== */
.pt-steps { display: flex; align-items: center; justify-content: center; max-width: 640px; margin: 0 auto 40px; }
.pt-step { display: flex; align-items: center; color: var(--pt-muted); font-size: 14px; }
.pt-step-num { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--pt-border); display: flex; align-items: center; justify-content: center; margin-right: 8px; font-size: 14px; }
.pt-step.done { color: var(--pt-text); }
.pt-step.done .pt-step-num { background: var(--pt-red); border-color: var(--pt-red); color: #fff; }
.pt-step.active { color: var(--pt-red); font-weight: 600; }
.pt-step.active .pt-step-num { border-color: var(--pt-red); color: var(--pt-red); }
.pt-step-line { width: 80px; height: 2px; background: var(--pt-border); margin: 0 16px; }
.pt-step-line.done { background: var(--pt-red); }
.pt-form-card { background: #fff; border-radius: 8px; padding: 32px 40px; max-width: 900px; margin: 0 auto; border: 1px solid var(--pt-border); }
.pt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.pt-form-grid .full { grid-column: 1 / -1; }
.pt-form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--pt-border); }
.pt-btn-gray { height: 40px; padding: 0 24px; background: #fff; border: 1px solid var(--pt-border); border-radius: 4px; cursor: pointer; font-size: 14px; color: #666; text-decoration: none; line-height: 38px; }
.pt-btn-red-sm { height: 40px; padding: 0 32px; background: var(--pt-red); color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }
.pt-textarea { width: 100%; min-height: 100px; padding: 10px 14px; border: 1px solid var(--pt-border); border-radius: 4px; font-size: 14px; resize: vertical; font-family: inherit; }
.pt-upload-box { border: 1px dashed var(--pt-border); border-radius: 8px; padding: 24px; text-align: center; color: var(--pt-muted); font-size: 13px; cursor: pointer; }
.pt-upload-box img { max-width: 200px; max-height: 120px; margin-top: 8px; }
.pt-pending-box { max-width: 520px; margin: 80px auto; text-align: center; background: #fff; padding: 48px; border-radius: 12px; border: 1px solid var(--pt-border); }
.pt-pending-box .icon { font-size: 64px; color: var(--pt-red); margin-bottom: 20px; }
.pt-pending-box h2 { font-size: 20px; margin-bottom: 12px; }
.pt-pending-box p { color: var(--pt-muted); font-size: 14px; line-height: 1.8; }
.pt-alert { padding: 10px 14px; background: var(--pt-red-light); color: var(--pt-red); border-radius: 4px; font-size: 13px; }

@media (max-width: 960px) {
  .pt-auth-page { flex-direction: column; }
  .pt-auth-left { display: none; }
  .pt-auth-right { width: 100%; min-width: auto; }
  .pt-service-grid { grid-template-columns: 1fr; }
  .pt-form-grid { grid-template-columns: 1fr; }
  .pt-sidebar { display: none; }
}

/* ========== 图片上传组件 ========== */
.pt-upload-wrap { margin-bottom: 8px; }
.pt-upload-preview {
  width: 100%;
  min-height: 160px;
  border: 1px dashed var(--pt-border);
  border-radius: 8px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
  margin-top: 8px;
}
.pt-upload-preview:hover { border-color: var(--pt-red); }
.pt-upload-empty { text-align: center; padding: 24px; }
.pt-upload-icon {
  display: block;
  width: 48px;
  height: 48px;
  line-height: 44px;
  margin: 0 auto 12px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  font-size: 28px;
  color: #bbb;
}
.pt-upload-tip { font-size: 12px; color: var(--pt-muted); line-height: 1.6; }
.pt-upload-img { max-width: 100%; max-height: 200px; object-fit: contain; display: block; padding: 12px; }
.pt-upload-repick { font-size: 12px; color: var(--pt-red); padding-bottom: 12px; text-align: center; display: block; }
.pt-upload-trigger {
  margin-top: 10px;
  height: 36px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--pt-red);
  color: var(--pt-red);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.pt-cert-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pt-detail-img { max-width: 280px; max-height: 180px; border: 1px solid var(--pt-border); border-radius: 4px; margin: 8px 8px 8px 0; vertical-align: top; }
@media (max-width: 640px) { .pt-cert-imgs { grid-template-columns: 1fr; } }
