/* 万星门店工作台 · 真实版界面：三种角色、算力点、选模型、消息铃铛、首次登录 */

/* ---------- 侧栏：铃铛、算力点 ---------- */
.brand .bell-btn { margin-left: auto; }
.bell-btn { position: relative; }
.bell-n { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px var(--bg-2); }
.topbar .bell-n { box-shadow: 0 0 0 2px var(--bg); }
.side-gap { flex: 1; min-height: 12px; }
.pt-chip { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; text-align: left; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.pt-chip:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); transform: translateY(-1px); }
.pt-chip > .ic:first-child { color: var(--accent); flex: none; }
.pt-chip > .ic:last-child { color: var(--text-3); flex: none; }
.pt-c-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pt-c-t b { font-size: 17px; font-weight: 600; }
.pt-c-t span { font-size: 11.5px; color: var(--text-3); line-height: 1.4; }
.pt-mine { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 0 4px; }
.pt-mine b { font-size: 48px; line-height: 1; color: var(--accent-ink); }
.pt-mine span { margin-top: 8px; font-size: 13px; color: var(--text-2); }

/* ---------- AI 创作：选模型、点数 ---------- */
.md-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.md { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; border-radius: 12px; text-align: left; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.md:hover { transform: translateY(-1px); }
.md.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.md-tier { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.md b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-pts { position: absolute; top: 9px; right: 10px; font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.md-hint { font-size: 11.5px; color: var(--text-3); line-height: 1.35; }
.go-pts { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: 12.5px; font-weight: 500; }
.ai-cost { display: flex; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.ai-cost > .ic { color: var(--accent); }
.ai-used { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; font-size: 12.5px; color: var(--text-3); }
.ai-used .ic { color: var(--accent); }
@media (max-width: 860px) { .ai-used { width: 100%; } }

/* ---------- 门店 → 算力点 ---------- */
.pt-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 24px; background: linear-gradient(120deg, var(--accent-soft), var(--surface) 62%); }
.pt-big { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.pt-big b { font-size: 52px; line-height: 1; font-weight: 600; color: var(--accent-ink); }
.pt-big span { font-size: 14px; color: var(--text-2); }
.pt-h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-part { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.pt-part .row { justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.pt-part > .row b { font-size: 14px; }
.pt-num { display: flex; align-items: baseline; gap: 5px; }
.pt-num b { font-size: 26px; line-height: 1; }
.pt-num span { font-size: 12.5px; color: var(--text-3); }
.pt-part .track { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.pt-part .track i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--warn); transition: width .8s var(--ease); }
.pt-part.paid .track i { background: var(--ok); }
.pt-part > .faint { font-size: 12px; line-height: 1.5; }
.pt-n { font-size: 15px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.pt-n.plus { color: var(--ok); }
.pt-cap { display: inline-flex; align-items: center; gap: 4px; }
.pt-cap b { min-width: 30px; text-align: center; font-size: 16px; }
.pt-cap .faint { font-size: 12.5px; margin-right: 2px; }
.pt-cap.lg b { font-size: 20px; min-width: 40px; }
.pt-rules { display: flex; gap: 6px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; line-height: 1.6; }
.pt-rules .ic { flex: none; margin-top: 2px; }
.pt-short > .ic { color: var(--accent); margin: 0 auto; }
@media (max-width: 860px) {
  .pt-hero { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
  .pt-big b { font-size: 44px; }
  .pt-h-split { grid-template-columns: minmax(0, 1fr); }
}

/* 充值套餐 */
.pk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pk { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; border-radius: 14px; text-align: left; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.pk:hover { transform: translateY(-2px); }
.pk.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pk b { font-size: 24px; line-height: 1.1; }
.pk b small { font-size: 13px; font-weight: 500; color: var(--text-2); }
.pk > span { font-size: 13px; color: var(--text-2); }
.pk-tag { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff !important; font-size: 11px !important; font-weight: 600; }

/* ---------- 消息 ---------- */
.nt-list .nt { border-radius: 12px; }
.nt.unread .t { font-weight: 600; }
.nt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- 切换身份 ---------- */
.acct.cur { border-color: var(--accent); background: var(--accent-soft); }
.acct > div b .pill { vertical-align: 2px; }

/* ---------- 登录：忘记密码、第一次登录 ---------- */
.fl-row { display: flex; justify-content: flex-end; margin: -6px 0 14px; }
.link-btn { font-size: 13px; color: var(--text-2); }
.link-btn:hover { color: var(--accent-2); }
.fl-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px; }
.fl h2 { font-size: 24px; }
.fl .install-link { margin-top: 14px; }

/* ---------- 角色提示、教练看不到的格子 ---------- */
.role-note { margin: 0 0 16px; }
.role-note > .ic { color: var(--text-3); }
.wk-c.other { justify-content: center; align-items: center; background: transparent; border: 1px dashed var(--line); border-left-width: 1px; color: var(--text-3); font-size: 11.5px; min-height: 56px; }
.wk-c.other:hover { transform: none; box-shadow: none; }

/* ---------- 员工：权限表、停用 ---------- */
.perm th { text-align: center; }
.perm th:first-child { text-align: left; }
.perm td { text-align: center; font-size: 13.5px; }
.perm td:first-child { text-align: left; color: var(--text-2); }
.pm-y { color: var(--ok); display: inline-flex; vertical-align: -3px; }
.pm-n { color: var(--text-3); }
.pm-t { font-size: 12.5px; color: var(--text-2); margin-left: 4px; }
.li.off { opacity: .55; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger:hover { filter: brightness(.95); }
@media (max-width: 860px) {
  .perm td, .perm th { padding: 10px 8px; }
  .pm-t { display: block; margin: 2px 0 0; font-size: 11.5px; }
}

/* 图标 + 文字的提示条：图标在左，文字在右 */
.note:has(> .ic:first-child) { display: flex; gap: 10px; align-items: flex-start; }
.note > .ic:first-child { flex: none; margin-top: 3px; }

/* 手机上两栏变一栏时，长文字不把卡片撑出屏幕 */
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* 新 logo 是横向的星星，放大一点才和文字平衡 */
.brand .brand-mark { width: 36px; height: 36px; }
