    /* ===== 通用占位页 ===== */
    .placeholder-page {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      min-height: 400px; color: var(--text-muted); gap: 12px;
    }
    .ph-icon { font-size: 48px; opacity: .3; }
    .ph-title { font-size: 16px; font-weight: 500; color: var(--text-secondary); }
    .ph-desc { font-size: 13px; }

    /* ===== 通用组件 ===== */
    .tag {
      display: inline-flex; align-items: center;
      padding: 2px 8px; border-radius: 10px; font-size: 12px;
    }
    .tag-green  { background: #e8f5ee; color: #3a9a6a; }
    .tag-orange { background: #fff5e6; color: #c87d00; }
    .tag-red    { background: #fff0f0; color: #c53030; }
    .tag-blue   { background: #e8f0fb; color: #2a6bc4; }
    .tag-gray   { background: #f2f4f3; color: var(--text-muted); }

    /* ===== 弹窗 ===== */
    .modal-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,.4);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .modal-box {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 30px rgba(0,0,0,.15);
      overflow: hidden;
    }
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-light);
    }
    .modal-title { font-size: 15px; font-weight: 500; color: var(--text-primary); }
    .modal-close {
      width: 24px; height: 24px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      font-size: 14px;
      color: var(--text-muted);
      cursor: pointer;
      transition: all .15s;
    }
    .modal-close:hover { background: var(--border-light); color: var(--text-primary); }
    .modal-body { padding: 20px; }
    .modal-footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      padding: 14px 20px;
      border-top: 1px solid var(--border-light);
    }
    .modal-btn {
      padding: 7px 20px;
      border-radius: var(--radius-sm);
      font-size: 13px;
      cursor: pointer;
      transition: all .15s;
    }
    .modal-btn-cancel {
      background: #fff;
      color: var(--text-secondary);
      border: 1px solid var(--border);
    }
    .modal-btn-cancel:hover { border-color: var(--text-muted); color: var(--text-primary); }
    .modal-btn-confirm {
      background: var(--brand);
      color: #fff;
      border: 1px solid var(--brand);
    }
    .modal-btn-confirm:hover { background: var(--brand-dark); }
    .modal-btn-danger {
      background: var(--red);
      color: #fff;
      border: 1px solid var(--red);
    }
    .modal-btn-danger:hover { background: #d04040; }

    /* ===== 系统付费订单 ===== */
    .sys-pay-page {
      min-height: 100%;
      background: #f4f6f8;
      color: #1f2a37;
    }
    .sys-pay-topbar {
      height: 58px;
      background: #f8fbff;
      border-bottom: 1px solid #e5edf3;
      box-shadow: 0 1px 6px rgba(20, 40, 70, .06);
      display: flex;
      align-items: center;
      padding: 0 24px;
      gap: 10px;
      position: sticky;
      top: 0;
      z-index: 5;
    }
    .sys-pay-logo {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #45c58b, #2fac70);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      font-weight: 800;
      box-shadow: 0 4px 10px rgba(47, 172, 112, .22);
      flex-shrink: 0;
    }
    .sys-pay-title { font-size: 15px; font-weight: 700; color: #13202d; }
    .sys-pay-spacer { flex: 1; }
    .sys-pay-back,
    .sys-pay-action,
    .sys-pay-order-btn,
    .plan-modal-pay-btn {
      font-family: inherit;
      cursor: pointer;
    }
    .sys-pay-back {
      height: 34px;
      padding: 0 18px;
      border: none;
      border-radius: 18px;
      background: linear-gradient(135deg, #7ed9aa, #48b778);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      box-shadow: 0 4px 10px rgba(47, 172, 112, .18);
    }
    .sys-pay-main { padding: 24px 42px 46px; }
    .sys-pay-hero {
      min-height: 206px;
      border: 1px solid #d9ece9;
      border-radius: 8px;
      overflow: hidden;
      background:
        radial-gradient(circle at 86% 28%, rgba(55, 190, 159, .22), transparent 14%),
        radial-gradient(circle at 91% 74%, rgba(110, 223, 163, .18), transparent 10%),
        linear-gradient(112deg, #effaf6 0%, #eefaf8 43%, #dff8f9 68%, #c8eff2 100%);
      box-shadow: 0 2px 8px rgba(20, 40, 70, .08);
      display: grid;
      grid-template-columns: minmax(520px, 46%) 1fr;
      position: relative;
    }
    .sys-pay-hero-art {
      position: relative;
      min-height: 206px;
    }
    .sys-pay-hero-art::before {
      content: '';
      position: absolute;
      right: 78px;
      top: 28px;
      width: 310px;
      height: 132px;
      border-radius: 28px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.22)),
        repeating-linear-gradient(160deg, rgba(52, 159, 170, .20) 0 2px, transparent 2px 14px);
      transform: skewX(-12deg);
    }
    .sys-pay-hero-art::after {
      content: 'VIP';
      position: absolute;
      right: 246px;
      top: 54px;
      width: 96px;
      height: 66px;
      border-radius: 22px;
      background: linear-gradient(145deg, #19bda8, #8df1d4);
      color: rgba(255,255,255,.95);
      font-size: 24px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 16px 26px rgba(19, 150, 143, .24);
    }
    .sys-pay-info {
      position: relative;
      z-index: 1;
      padding: 34px 38px 28px;
      display: grid;
      grid-template-columns: 126px 1fr;
      row-gap: 18px;
      column-gap: 20px;
      align-content: start;
      font-size: 15px;
      line-height: 1.5;
    }
    .sys-pay-label { font-weight: 700; color: #1f2a37; }
    .sys-pay-value { color: #1f2a37; }
    .sys-pay-actions {
      grid-column: 1 / -1;
      display: flex;
      gap: 42px;
      margin-top: 4px;
    }
    .sys-pay-action {
      width: 126px;
      height: 34px;
      border-radius: 18px;
      font-size: 14px;
      font-weight: 600;
      border: 1px solid #d0d7de;
      background: #fff;
      color: #2f3542;
      box-shadow: 0 3px 8px rgba(20, 40, 70, .12);
    }
    .sys-pay-action.primary {
      color: #fff;
      border-color: #55be82;
      background: linear-gradient(135deg, #75d79d, #45b86f);
    }
    .sys-pay-section {
      margin-top: 26px;
      background: #fff;
      border: 1px solid #eef1f3;
    }
    .sys-pay-section-title {
      padding: 22px 26px;
      font-size: 17px;
      font-weight: 700;
      border-bottom: 1px solid #edf0f2;
    }
    .sys-pay-order-card {
      padding: 26px 30px 28px;
      border-bottom: 22px solid #f4f6f8;
    }
    .sys-pay-order-card:last-child { border-bottom: none; }
    .sys-pay-order-meta {
      display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: wrap;
      color: #8e96a3;
      font-size: 14px;
      margin-bottom: 22px;
    }
    .sys-pay-order-meta strong { color: #26313d; font-weight: 700; }
    .sys-pay-countdown { margin-left: auto; color: #2f3542; }
    .sys-pay-countdown span { color: #ff4d4f; font-weight: 700; }
    .sys-pay-order-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 18px;
      align-items: start;
    }
    .sys-pay-order-item { min-width: 0; }
    .sys-pay-order-label {
      color: #8e96a3;
      font-size: 13px;
      margin-bottom: 7px;
    }
    .sys-pay-order-value {
      color: #1f2a37;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.45;
      word-break: break-all;
    }
    .sys-pay-status {
      height: 24px;
      padding: 0 10px;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 700;
    }
    .sys-pay-status.pending { background: #fff5e6; color: #d47b16; }
    .sys-pay-status.done { background: #eef9f3; color: #35a96b; }
    .sys-pay-order-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 24px;
    }
    .sys-pay-order-btn {
      min-width: 90px;
      height: 32px;
      border-radius: 16px;
      border: 1px solid #d7dce2;
      background: #fff;
      color: #4a5564;
      font-size: 13px;
      font-weight: 600;
    }
    .sys-pay-order-btn.primary {
      border-color: #4caf82;
      background: #4caf82;
      color: #fff;
    }
    .sys-pay-order-card.addon-order {
      background: linear-gradient(90deg, #fbfffd 0%, #fff 42%);
      box-shadow: inset 4px 0 0 #55be82;
    }
    #systemPayDynamicOrders .sys-pay-order-card {
      border-bottom: 22px solid #f4f6f8;
    }
    .sys-pay-order-type {
      height: 24px;
      padding: 0 10px;
      border-radius: 12px;
      background: #eef9f3;
      color: #35a96b;
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 700;
    }
    .plan-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(14, 25, 38, .45);
      z-index: 1100;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .plan-modal-overlay.show { display: flex; }
    .plan-modal-box {
      width: 830px;
      max-width: calc(100vw - 48px);
      max-height: calc(100vh - 60px);
      overflow: hidden;
      background: #f5f7f9;
      border-radius: 10px;
      box-shadow: 0 18px 48px rgba(12, 24, 38, .26);
    }
    .plan-modal-head {
      height: 58px;
      padding: 0 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      background: linear-gradient(135deg, #4fc583, #8bdcb2);
      color: #fff;
    }
    .plan-modal-title { font-size: 18px; font-weight: 800; }
    .plan-modal-version {
      height: 24px;
      padding: 0 10px;
      border-radius: 12px;
      background: rgba(255,255,255,.22);
      display: inline-flex;
      align-items: center;
      font-size: 12px;
    }
    .plan-modal-close {
      margin-left: auto;
      width: 30px;
      height: 30px;
      border: none;
      background: transparent;
      color: #fff;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
    }
    .plan-modal-body {
      padding: 18px;
      max-height: calc(100vh - 118px);
      overflow-y: auto;
    }
    .plan-modal-card {
      background: #fff;
      border-radius: 10px;
      padding: 16px;
      margin-bottom: 14px;
      border: 1px solid #eef1f3;
    }
    .plan-modal-card-title {
      font-size: 16px;
      font-weight: 800;
      color: #1f2d25;
      margin-bottom: 12px;
    }
    .plan-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
    .plan-feature-item {
      min-height: 58px;
      border-radius: 8px;
      background: #f7faf8;
      color: #58645f;
      font-size: 13px;
      line-height: 1.45;
      padding: 10px;
    }
    .plan-picker-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 16px;
    }
    .plan-version {
      height: 42px;
      border-radius: 8px;
      background: #f3f5f8;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #4b5563;
      border: 1px solid transparent;
    }
    .plan-version.active {
      background: #f1fffa;
      color: #49b87a;
      border-color: #64d598;
    }
    .plan-period-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .plan-period-card {
      min-height: 154px;
      border: 1px solid transparent;
      border-radius: 10px;
      background: linear-gradient(180deg, #f5f7fa 0%, #f7f8fb 76%, #fff5e4 76%, #fff5e4 100%);
      padding: 14px;
      overflow: hidden;
    }
    .plan-period-card.active {
      border-color: #ff9d36;
      background: linear-gradient(180deg, #f2fffd 0%, #ecfffd 76%, #ffc969 76%, #ffc969 100%);
    }
    .plan-period-name { font-size: 17px; font-weight: 800; color: #3c2b1d; margin-bottom: 18px; }
    .plan-price { color: #ff7f28; font-size: 27px; font-weight: 800; line-height: 1; }
    .plan-price small { font-size: 13px; }
    .plan-origin { margin-top: 8px; color: #a6acb5; text-decoration: line-through; font-size: 12px; }
    .plan-slogan {
      margin: 20px -14px -14px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #8b5d1e;
      font-size: 13px;
      font-weight: 700;
    }
    .plan-modal-pay-btn {
      width: 180px;
      height: 38px;
      border: none;
      border-radius: 19px;
      background: linear-gradient(135deg, #ff9d36, #ff7f28);
      color: #fff;
      font-size: 15px;
      font-weight: 800;
      display: block;
      margin: 16px auto 0;
    }

    /* ===== 表单 ===== */
    .form-row { margin-bottom: 18px; }
    .form-row:last-child { margin-bottom: 0; }
    .form-label {
      display: block;
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: 6px;
      font-weight: 500;
    }
    .form-input {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 13px;
      color: var(--text-primary);
      outline: none;
      transition: border-color .15s;
      font-family: inherit;
    }
    .form-input:focus { border-color: var(--brand); }
    .form-input::placeholder { color: var(--text-muted); }
    .form-hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 4px;
    }
    .form-textarea {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 13px;
      color: var(--text-primary);
      outline: none;
      transition: border-color .15s;
      font-family: inherit;
      resize: vertical;
    }
    .form-textarea:focus { border-color: var(--brand); }
    .form-textarea::placeholder { color: var(--text-muted); }

    /* 摄像头权限弹窗 */
    .perm-item {
      padding: 18px 0;
      border-bottom: 1px solid var(--border-light);
    }
    .perm-item:last-child { border-bottom: none; padding-bottom: 4px; }
    .perm-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .perm-title {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-primary);
    }
    .perm-desc {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 8px;
      line-height: 1.7;
    }
    /* 开关组件 */
    .toggle-switch {
      position: relative;
      width: 42px;
      height: 22px;
      flex-shrink: 0;
    }
    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
      position: absolute;
    }
    .toggle-slider {
      position: absolute;
      cursor: pointer;
      top: 0; left: 0; right: 0; bottom: 0;
      background: #d0d5de;
      border-radius: 22px;
      transition: .25s;
    }
    .toggle-slider::before {
      content: '';
      position: absolute;
      height: 18px; width: 18px;
      left: 2px; bottom: 2px;
      background: #fff;
      border-radius: 50%;
      transition: .25s;
      box-shadow: 0 1px 3px rgba(0,0,0,.15);
    }
    .toggle-switch input:checked + .toggle-slider {
      background: var(--brand);
    }
    .toggle-switch input:checked + .toggle-slider::before {
      transform: translateX(20px);
    }

    /* 通用头像照片：有照片时填满圆形容器并裁成圆；没有照片则由容器里的名字首字承担。
       店员列表 / 店员详情 / 美容师卡片 / 新增美容师候选池四处共用。 */
    .avatar-img {
      width: 100%; height: 100%; flex-shrink: 0;
      border-radius: 50%; object-fit: cover; display: block;
    }
