/*
商家后台专属样式（/shop）。
与原型 产出/20261005-原型-扫码排队系统/shop.html 的 <style> 保持一致：
类名、尺寸、文案一律照搬原型，只把示例数据换成真实接口数据。
通用设计令牌与按钮在 base.css，门店端布局类（.scr/.appbar/.scbody 等）在 app.css。
*/

.pin { padding: 0 16px; }
.sec-t { display: flex; align-items: center; gap: 6px; margin: 16px 0 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sec-t .n { font-weight: 400; color: var(--ink-3); }
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.setrow {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 13px 14px; border: 0; background: #fff; cursor: pointer;
  font-family: var(--font); font-size: 13.5px; color: var(--ink); text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.group .setrow:last-child { border-bottom: 0; }
.setrow:hover { background: #FAFBFA; }
.setrow .ic-wrap {
  width: 30px; height: 30px; flex: none; border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--ink-2);
}
.setrow .chev { color: var(--ink-4); }

.hero { background: var(--brand); color: #fff; padding: 18px 18px 20px; }
.hero .sn { display: flex; align-items: center; gap: 8px; font-size: 12.5px; opacity: .85; }
.hero .lbl { font-size: 12px; opacity: .72; margin-top: 16px; }
.hero .amt { font-size: 34px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero .amt small { font-size: 14px; font-weight: 500; margin-left: 4px; }
.hero .kv2 { display: flex; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.hero .kv2 .it { flex: 1; }
.hero .kv2 .it + .it { border-left: 1px solid rgba(255,255,255,.18); padding-left: 14px; }
.hero .kv2 .k { font-size: 11.5px; opacity: .72; }
.hero .kv2 .v { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 3px; white-space: nowrap; }

/* 今日数据 */
.today { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 13px 4px; }
.today .it { flex: 1; text-align: center; }
.today .it + .it { border-left: 1px solid var(--line-2); }
.today .k { font-size: 11.5px; color: var(--ink-3); }
.today .v { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }

/* 订阅提示条 */
.subbar {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 12px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--r); box-shadow: var(--sh);
}
.subbar.warn { border-left-color: var(--warn); }
.subbar .grow { flex: 1; }
.subbar .t { font-size: 13.5px; font-weight: 600; }
.subbar .s { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* 二维码 */
.qrbox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 16px 16px; text-align: center;
}
.qrbox .store { font-size: 15px; font-weight: 600; }
.qrbox .sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.qrbox .code {
  width: 176px; height: 176px; margin: 16px auto 12px; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--r-s);
}
.qrbox .code svg, .qrbox .code img { width: 100%; height: 100%; display: block; }
.qrbox .tip { font-size: 12.5px; color: var(--ink-2); }
.qrbox .url {
  margin-top: 12px; padding: 8px 10px; background: var(--bg); border-radius: var(--r-s);
  font-size: 11.5px; color: var(--ink-3); word-break: break-all;
}

/* 表单 */
.fld { display: block; margin-bottom: 12px; }
.fld > label { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }

/* 套餐卡 */
.plan {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px; margin-bottom: 10px; cursor: pointer;
}
.plan.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,92,.10); }
.plan .row1 { display: flex; align-items: baseline; gap: 8px; }
.plan .nm { font-size: 14.5px; font-weight: 600; }
.plan .pr { margin-left: auto; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan .pr small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.plan .d { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.7; }
.plan .save { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 3px; background: var(--done-bg); color: var(--done); }
.plan .pick {
  position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #C2C8C2; background: #fff;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.plan.on .pick { background: var(--brand); border-color: var(--brand); }
.plan .pick svg { display: none; }
.plan.on .pick svg { display: block; }

.paybox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-align: center; }
.paybox .amt { font-size: 36px; font-weight: 700; font-variant-numeric: tabular-nums; }
.paybox .amt small { font-size: 16px; font-weight: 500; }
.paybox .meta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); text-align: left; font-size: 12.5px; color: var(--ink-3); display: grid; gap: 8px; }
.paybox .meta b { color: var(--ink-2); font-weight: 500; }
.wxbtn {
  width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: var(--r-s);
  background: #07C160; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.wxbtn[disabled] { background: #C8CDC8; cursor: not-allowed; }

.login { height: 100%; background: var(--brand); color: #fff; padding: 0 26px 30px; display: flex; flex-direction: column; }
.login .logo { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; margin: 44px 0 16px; }
.login h1 { font-size: 21px; font-weight: 600; }
.login .st { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 5px; }
.login .fld2 { margin-top: 28px; margin-bottom: 12px; }
.login .fld2 label { display: block; font-size: 11.5px; color: rgba(255,255,255,.72); margin-bottom: 6px; }
.login .fld2 input {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--r-s);
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.10);
  color: #fff; font-family: var(--font); font-size: 14px; outline: none;
}
.login .fld2 input::placeholder { color: rgba(255,255,255,.45); }
.login .fld2 input:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); }
.login .btn-login { width: 100%; height: 46px; margin-top: 10px; border: 0; border-radius: var(--r-s); background: #fff; color: var(--brand-d); font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer; }
.login .foot { margin-top: auto; text-align: center; font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.7; }
.login .err { margin-top: 10px; font-size: 12.5px; color: #FFE0DC; }
