.sub-body { padding: 12px 12px 24px; }
.scan-box {
  height: 180px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #1a1428 0%, #2a2040 100%);
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.scan-box .frame {
  width: 140px; height: 140px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 12px;
  position: relative;
}
.scan-box .line {
  position: absolute; left: 18px; right: 18px; top: 40%;
  height: 2px; background: var(--p);
  box-shadow: 0 0 12px var(--p);
  animation: scan 1.6s ease-in-out infinite;
}
@keyframes scan {
  0% { top: 18%; opacity: .4; }
  50% { top: 72%; opacity: 1; }
  100% { top: 18%; opacity: .4; }
}
.scan-box p { position: absolute; bottom: 12px; font-size: 12px; color: rgba(255,255,255,.7); }

.field {
  background: #fff; border-radius: 10px;
  padding: 12px 14px; margin-top: 10px;
}
.field label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
.field input {
  width: 100%; border: 0; outline: 0;
  font-size: 16px; background: transparent;
}

.pending { margin-top: 16px; }
.pending h3 { font-size: 15px; margin: 0 4px 8px; }
.prow {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 10px;
  padding: 12px; margin-bottom: 8px;
}
.prow .face {
  width: 40px; height: 40px; border-radius: 50%;
  flex-shrink: 0;
}
.prow h4 { font-size: 14px; }
.prow p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.prow .grow { flex: 1; min-width: 0; }

.cust-search {
  margin: 0 12px 10px;
  background: #fff; border-radius: 20px;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 13px;
}
.cust-search input { border: 0; outline: 0; flex: 1; background: transparent; font-size: 13px; }
.crow {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px;
  padding: 12px; margin: 0 12px 8px;
}
.face {
  background-image: url(../assets/avatars.png);
  background-size: 400% 200%;
  background-repeat: no-repeat;
}
.a0{background-position:0 0}.a1{background-position:33.333% 0}.a2{background-position:66.666% 0}.a3{background-position:100% 0}
.a4{background-position:0 100%}.a5{background-position:33.333% 100%}.a6{background-position:66.666% 100%}.a7{background-position:100% 100%}
.crow .face {
  width: 44px; height: 44px; border-radius: 50%;
}
.crow h4 { font-size: 15px; }
.crow p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.crow .tag {
  font-size: 11px; color: var(--p);
  background: var(--wash);
  padding: 2px 8px; border-radius: 10px;
}

.form .field { margin: 0 0 10px; }
.form { padding: 12px; }
.field textarea, .field select {
  width: 100%; border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--text); resize: none;
}
.field select { height: 24px; }

.kv { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 14px; }
.kv + .kv { border-top: .5px solid var(--line); }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; }

.card-pad { margin: 0 12px 10px; padding: 4px 14px; }

.empty {
  text-align: center; color: var(--muted); font-size: 13px;
  padding: 40px 16px;
}

.week {
  display: grid; grid-template-columns: 52px repeat(7, 1fr);
  gap: 4px; font-size: 11px; text-align: center;
}
.week .hd { color: var(--muted); padding: 6px 0; }
.week .cell {
  background: var(--wash); color: var(--p);
  border-radius: 6px; padding: 8px 2px; min-height: 36px;
}
.week .cell.off { background: #F3F3F5; color: #C7C7CC; }
.week .nm { text-align: left; font-size: 12px; font-weight: 650; padding-top: 8px; }

.clock-big {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px;
}
.clock-big button {
  background: #fff; border-radius: 12px; padding: 18px 10px;
  text-align: center;
}
.clock-big b { display: block; font-size: 22px; margin-bottom: 4px; }
.clock-big span { font-size: 12px; color: var(--muted); }

.sw {
  width: 42px; height: 24px; border-radius: 12px;
  background: #E5E5EA; position: relative; flex-shrink: 0;
}
.sw.on { background: var(--p); }
.sw i {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: .15s;
}
.sw.on i { left: 20px; }

.chat {
  padding: 14px 12px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chat-row.you { justify-content: flex-start; }
.chat-row.me { justify-content: flex-end; }
.chat-row .face {
  width: 36px; height: 36px; border-radius: 50%;
  flex-shrink: 0;
}
.chat-row .face.staff {
  background: url(../assets/avatar-lin.png) center/cover;
}
.bubble {
  max-width: 68%; padding: 10px 12px; border-radius: 12px;
  font-size: 14px; line-height: 1.45;
}
.bubble.me { align-self: flex-end; background: var(--p); color: #fff; border-bottom-right-radius: 4px; }
.bubble.you { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.chat-row .bubble { align-self: auto; max-width: 72%; }

.article { padding: 12px 16px 24px; font-size: 14px; line-height: 1.75; color: #3A3A3C; }
.article h3 { font-size: 16px; margin: 16px 0 8px; color: var(--text); }
.article p { margin-bottom: 10px; }

.chip {
  display: inline-block; font-size: 12px;
  padding: 4px 10px; border-radius: 12px;
  background: var(--wash); color: var(--p); margin: 0 6px 6px 0;
}

.dev {
  display: flex; align-items: center; gap: 12px;
}
.dev .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dev .dot.off { background: #C7C7CC; }

.radio-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0; width: 100%; text-align: left;
}
.radio-row + .radio-row { border-top: .5px solid var(--line); }
.radio-row .ck {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.6px solid #C7C7CC; display: grid; place-items: center;
}
.radio-row.on .ck { border-color: var(--p); }
.radio-row.on .ck::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--p);
}

.barline {
  height: 6px; background: #F0EEF6; border-radius: 4px; overflow: hidden; margin-top: 6px;
}
.barline i { display: block; height: 100%; background: var(--p); border-radius: 4px; }

.tip {
  font-size: 13px; color: #6E6E73; line-height: 1.55;
  background: #F3EDFF; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
}
.script {
  background: #F7F6FA; border-radius: 10px;
  padding: 12px; font-size: 14px; line-height: 1.55; margin-bottom: 8px;
}
.script .tag {
  display: inline-block; font-size: 11px; color: var(--p);
  background: #F3EDFF; padding: 1px 6px; border-radius: 4px; margin-bottom: 6px;
}
.btn-row { display: flex; gap: 8px; margin-top: 10px; }
.btn-row .btn { flex: 1; height: 40px; font-size: 14px; }
.seg {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.seg button {
  height: 30px; padding: 0 12px; border-radius: 15px;
  background: #F4F3F7; color: #6E6E73; font-size: 12px;
}
.seg button.on { background: var(--p); color: #fff; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme {
  background: #fff; border-radius: 10px; padding: 12px;
  text-align: left; border: 1.5px solid transparent;
}
.theme.on { border-color: var(--p); }
.theme b { display: block; font-size: 14px; }
.theme span { font-size: 11px; color: var(--muted); }
.theme .sw { display: flex; gap: 4px; margin-top: 8px; }
.theme .sw i { width: 16px; height: 16px; border-radius: 50%; }
.shop-prev {
  border-radius: 12px; overflow: hidden; color: #fff;
  min-height: 160px;
}
.shop-prev .bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; font-size: 13px; font-weight: 650;
  background: rgba(0,0,0,.15);
}
.shop-prev .bar .wx-domain { display: none; }
.shop-prev .body { padding: 16px 14px 20px; }
.shop-prev .sku {
  display: flex; justify-content: space-between;
  margin-top: 14px; padding: 10px; background: rgba(255,255,255,.12);
  border-radius: 8px; font-size: 13px;
}
.bizcard {
  background: linear-gradient(160deg, #7B61FF, #5A3FE0);
  color: #fff; border-radius: 14px; padding: 28px 20px;
  min-height: 180px;
}
.bizcard.flip { background: linear-gradient(160deg, #1C1C1E, #3A3A3C); }
.bizcard .nm { font-size: 22px; font-weight: 700; }
.bizcard .role { font-size: 13px; opacity: .85; margin: 6px 0 16px; }
.bizcard .kv { font-size: 13px; line-height: 1.7; opacity: .95; }
.progress { height: 6px; background: #EEE; border-radius: 4px; overflow: hidden; margin: 12px 0 8px; }
.progress i { display: block; height: 100%; width: 0; background: var(--p); transition: .2s; }
.check { padding: 8px 0; font-size: 14px; border-top: .5px solid var(--line); }
.check:first-of-type { border-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid2 .card { text-align: left; padding: 14px; margin: 0; }
.hot {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: #fff; background: #FF4D4F; padding: 1px 5px; border-radius: 3px; margin-right: 6px;
}
.live-av {
  width: 96px; height: 96px; border-radius: 50%; margin: 8px auto 12px;
  background: url(../assets/avatar-lin.png) center/cover;
  box-shadow: 0 8px 20px rgba(123,97,255,.28);
}
.center { text-align: center; }
