/* 万星门店工作台 · 演示导览、切换角色、新客约体验课 */

/* ---------- 登录页：导览入口 ---------- */
.tour-cta { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 22px; padding: 14px 16px; border-radius: 16px; text-align: left; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(100deg, var(--accent-soft), var(--surface) 80%); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tour-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(193, 95, 60, .5); }
.tour-cta > .ic { color: var(--accent); flex: none; transition: transform .25s var(--ease); }
.tour-cta:hover > .ic { transform: translateX(3px); }
.tc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.tc-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tc-t b { font-size: 15px; } .tc-t span { font-size: 12.5px; color: var(--text-2); }

/* ---------- 侧栏 / 账号菜单：演示工具 ---------- */
.demo-tools { display: flex; align-items: center; gap: 4px; margin: 0 0 10px; padding: 6px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-2); }
.demo-tools > span { font-size: 11px; color: var(--text-3); padding: 0 4px 0 6px; letter-spacing: .05em; }
.demo-tools button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; border-radius: 8px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; transition: background .2s, color .2s; }
.demo-tools button:hover { background: var(--surface); color: var(--text); }
.demo-acct { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.demo-acct b { font-size: 12px; color: var(--text-3); font-weight: 500; }
.demo-acct .row { flex-wrap: wrap; }

/* ---------- 导览 ---------- */
.tour-block { position: fixed; inset: 0; z-index: 90; }
.tour-spot { position: fixed; z-index: 91; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(20, 20, 19, .52), 0 0 0 2px rgba(255, 255, 255, .85); transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .25s; animation: fade .3s var(--ease); }
.tour-pop { position: fixed; z-index: 92; width: 340px; padding: 18px 18px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); transition: left .45s var(--ease), top .45s var(--ease), opacity .2s; }
.tour-pop.busy { opacity: 0; }
.tour-pop.swap-in { animation: tourIn .35s var(--ease); }
@keyframes tourIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.tour-block.out, .tour-spot.out, .tour-pop.out { opacity: 0; transition: opacity .25s; }
.tour-pop.center { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: 380px; text-align: center; animation: none; }
.tp-top { display: flex; align-items: center; gap: 8px; }
.tp-n { font-size: 13px; color: var(--accent); font-weight: 600; }
.tp-role { font-size: 12px; color: var(--text-3); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
.tp-x { margin-left: auto; color: var(--text-3); display: inline-flex; padding: 4px; border-radius: 8px; }
.tp-x:hover { background: var(--surface-2); color: var(--text); }
.tp-bar { height: 3px; border-radius: 2px; background: var(--bg-2); margin: 10px 0 12px; overflow: hidden; }
.tp-bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .4s var(--ease); }
.tour-pop h4 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.tour-pop p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin: 0; }
.tp-btns { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.tp-btns.col { flex-direction: column; align-items: stretch; gap: 8px; }
.tp-ic .done-check { width: 52px; height: 52px; margin-bottom: 10px; }
@media (max-width: 860px) {
  .tour-pop:not(.center) { left: 12px !important; right: 12px; top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; }
  .tour-pop.center { width: calc(100vw - 32px); }
}

/* ---------- 手机预览：老会员 / 新客切换 ---------- */
.mprev-seg { margin-bottom: 12px; }

/* ---------- 新客约体验课 ---------- */
.g-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 0 16px; }
.g-mark { width: 34px; height: 34px; color: var(--accent); margin-bottom: 6px; }
.g-hero b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.g-hero span { font-size: 12.5px; color: var(--text-3); }
.g-booked { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); animation: rise .35s var(--ease) backwards; }
.g-booked > .ic { flex: none; margin-top: 2px; }
.g-booked div { display: flex; flex-direction: column; } .g-booked b { font-size: 14px; } .g-booked span { font-size: 12.5px; color: var(--text-2); }
.g-offer { padding: 16px; border-radius: 18px; color: #FFF8F2; background: linear-gradient(135deg, #DC7E5E 0%, #B9573A 100%); box-shadow: 0 12px 26px -14px rgba(185, 87, 58, .7); }
.g-price { display: flex; align-items: baseline; justify-content: space-between; }
.g-price span { font-size: 14px; } .g-price b { font-size: 32px; line-height: 1; }
.g-offer ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.g-offer li { display: flex; align-items: center; gap: 7px; opacity: .95; }
.m-info .g-good { font-size: 12px; color: var(--text-3); white-space: normal; }
.m-info b .av.sm { width: 20px; height: 20px; margin-right: 6px; vertical-align: -4px; display: inline-grid; }
.g-f { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.g-f > span { font-size: 13px; color: var(--text-2); }
.g-f .input { height: 42px; }
.g-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-chips button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); transition: background .2s, color .2s, border-color .2s; }
.g-chips button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.g-tip { text-align: center; font-size: 11.5px; color: var(--text-3); margin: 10px 0 0; }

/* 办卡完成：客户 → 体验课 → 会员 */
.g-path { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.g-path span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; background: var(--surface-2); color: var(--text-2); }
.g-path span.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.g-path i { width: 18px; height: 1px; background: var(--line-2); }
