:root {
  --brand:#6b4226;
  --brand-d:#55331d;
  --brand-l:#f3e9de;
  --nav:#2b211a;
  --bg:#f6f1ea;
  --card:#fff;
  --ink:#2b211a;
  --muted:#8a7a6b;
  --line:#ece4d9;
  --green:#11804f;
  --amber:#e8a23a;
  --red:#d6425a;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
input,
textarea,
select {
  user-select: text;
  -webkit-user-select: text;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  font-family:
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
}
button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
#app {
  display: flex;
  height: 100%;
}
.rail {
  width: 96px;
  flex-shrink: 0;
  background: var(--nav);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 10px;
  gap: 6px;
}
.rail .lg {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  text-align: center;
  line-height: 1;
}
.rail button {
  width: 80px;
  padding: 13px 0;
  border-radius: 16px;
  color: #aab6d6;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.rail button svg {
  width: 28px;
  height: 28px;
}
.rail button.on {
  background: var(--brand);
  color: #fff;
}
.rail .sp {
  flex: 1;
}
.rail .clk {
  color: #aab6d6;
  font-size: 13px;
  font-weight: 700;
}
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 24px;
  -webkit-overflow-scrolling: touch;
}
.hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.hd h1 {
  font-size: 24px;
  font-weight: 800;
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.back {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.seg {
  display: flex;
  background: var(--card);
  border-radius: 14px;
  padding: 5px;
  gap: 4px;
  overflow-x: auto;
}
.seg button {
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.seg button.on {
  background: var(--brand);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15.5px;
  background: var(--card);
  color: var(--brand-d);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  min-height: 50px;
}
.btn.pri {
  background: var(--brand);
  color: #fff;
}
.btn.ok {
  background: var(--green);
  color: #fff;
}
.btn.danger {
  background: #fde8ec;
  color: var(--red);
}
.btn.lg {
  padding: 18px;
  font-size: 18px;
  min-height: 64px;
}
.btn:active,
.tb:active,
.mi:active,
.rail button:active {
  transform: scale(.97);
}
.btn[disabled] {
  opacity: .45;
}
.legend {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.legend i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -1px;
}
.legend .rev {
  margin-left: auto;
  color: var(--ink);
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.tb {
  min-height: 130px;
  border-radius: 20px;
  background: var(--card);
  padding: 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(27, 42, 84, .06);
  border: 2.5px solid transparent;
  text-align: left;
  transition: transform .1s;
}
.tb b {
  font-size: 22px;
}
.tb small {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 2px;
}
.tb .m {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 8px;
}
.tb .m em {
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-d);
}
.tb.busy {
  background: var(--brand-l);
  border-color: var(--brand);
}
.tb.long {
  border-color: var(--amber);
  background: #fff6e5;
}
.tb.long em {
  color: #a86400;
}
.tb.add {
  border: 2.5px dashed var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 800;
}
.sec {
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
  margin: 20px 0 10px;
}
.order {
  flex: 1;
  display: flex;
  min-height: 0;
}
.ocol {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 0 0 22px;
}
.obody {
  flex: 1;
  display: flex;
  min-height: 0;
}
.cats {
  width: 156px;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 0 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cats button {
  padding: 17px 12px;
  border-radius: 14px;
  background: var(--card);
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.cats button.on {
  background: var(--brand);
  color: #fff;
}
.menu {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  align-content: start;
  padding: 0 14px 20px 2px;
}
.mi {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27, 42, 84, .06);
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform .1s;
}
.mi .im {
  aspect-ratio: 4/3;
  background: #e8ecf3 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}
.mi .tx {
  padding: 9px 11px 12px;
}
.mi .n {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mi .p {
  font-weight: 800;
  color: var(--brand-d);
  font-size: 16px;
  margin-top: 4px;
}
.mi .q {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border-radius: 99px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.mi.off {
  opacity: .45;
}
.mi.off::after {
  content: "H\1ebft";
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
}
.srch {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  background: var(--card);
  outline: none;
}
.cart {
  width: 380px;
  flex-shrink: 0;
  background: var(--card);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.cart .ch {
  padding: 16px 18px 8px;
}
.cart .ch h2 {
  font-size: 21px;
}
.cart .ch small {
  color: var(--muted);
  font-size: 13.5px;
}
.lines {
  flex: 1;
  overflow-y: auto;
  padding: 0 18px;
}
.ln {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f7;
}
.ln .nm {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.ln .nm b {
  font-weight: 700;
  font-size: 15px;
  display: block;
}
.ln .nm small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}
.ln .nm small.nt {
  color: #a86400;
}
.qb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
}
.qb button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2fa;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-d);
}
.qb b {
  min-width: 22px;
  text-align: center;
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 10px;
  font-size: 15px;
  line-height: 1.6;
}
.cfoot {
  padding: 12px 18px 16px;
  border-top: 2px dashed var(--line);
}
.tot {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 25px;
  margin-bottom: 12px;
}
.cbtn {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}
.cmore {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.cmore button {
  flex: 1;
  padding: 11px 6px;
  border-radius: 12px;
  background: #f3f5f9;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--muted);
}
.bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 22, 45, .5);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fi .15s;
}
@keyframes fi {
  from {
    opacity: 0;
  }
}
.md {
  background: var(--card);
  border-radius: 24px;
  width: 100%;
  max-width: 560px;
  max-height: 94vh;
  overflow-y: auto;
  padding: 22px;
  animation: pu .18s;
}
@keyframes pu {
  from {
    transform: scale(.96);
  }
}
.md h3 {
  font-size: 21px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}
.md h3 span {
  flex: 1;
}
.md .x {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3f5f9;
  font-size: 20px;
  font-weight: 800;
  color: var(--muted);
}
.fl {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  margin: 14px 0 6px;
}
.in {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  font-size: 17px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.in:focus {
  border-color: var(--brand);
}
.row {
  display: flex;
  gap: 10px;
}
.row > * {
  flex: 1;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips button {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  background: #fff;
}
.chips button.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.mact {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.mact .sp {
  flex: 1;
}
.pay-top {
  text-align: center;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
}
.pay-top small {
  color: var(--muted);
  font-weight: 700;
}
.pay-top .big {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.pay-top .br {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}
.pm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.pm button {
  padding: 18px;
  border-radius: 16px;
  border: 2px solid var(--line);
  font-weight: 800;
  font-size: 17px;
}
.pm button.on {
  border-color: var(--brand);
  background: var(--brand-l);
  color: var(--brand-d);
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.quick button {
  flex: 1;
  min-width: 90px;
  padding: 13px 6px;
  border-radius: 12px;
  background: #f3f5f9;
  font-weight: 800;
  font-size: 15px;
}
.change {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  background: #f3f5f9;
  border-radius: 14px;
  padding: 14px 16px;
}
.change b {
  font-size: 24px;
}
.qrbox {
  text-align: center;
  margin-top: 10px;
}
.qrbox img,
.qrbox canvas {
  width: 250px;
  height: 250px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--card);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(27, 42, 84, .05);
}
.kpi small {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.kpi b {
  display: block;
  font-size: 26px;
  margin-top: 4px;
}
.kpi.main {
  background: var(--brand);
  color: #fff;
}
.kpi.main small {
  color: rgba(255, 255, 255, .8);
}
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(27, 42, 84, .05);
  margin-bottom: 14px;
}
.card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 170px;
  padding-top: 8px;
}
.bars div {
  flex: 1;
  background: var(--brand);
  border-radius: 6px 6px 0 0;
  min-height: 2px;
  position: relative;
}
.bars div span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.tr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f7;
  font-size: 15px;
}
.tr:last-child {
  border: 0;
}
.tr span {
  flex: 1;
  min-width: 0;
}
.tr small {
  color: var(--muted);
}
.bar1 {
  height: 8px;
  border-radius: 9px;
  background: #eef1f7;
  margin-top: 5px;
}
.bar1 i {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: var(--brand);
}
.mlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.mrow {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  text-align: left;
}
.mrow .im {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #e8ecf3 center/cover no-repeat;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 20px;
}
.mrow b {
  font-size: 15.5px;
  display: block;
}
.mrow small {
  color: var(--muted);
}
.sw {
  width: 56px;
  height: 32px;
  border-radius: 99px;
  background: #cfd6e4;
  position: relative;
  flex-shrink: 0;
  transition: .2s;
}
.sw::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
}
.sw.on {
  background: var(--green);
}
.sw.on::after {
  left: 28px;
}
.photo {
  width: 150px;
  height: 150px;
  border-radius: 18px;
  background: #e8ecf3 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  border: 2px dashed var(--line);
  text-align: center;
  font-size: 13.5px;
}
.colors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.colors button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
}
.colors button.on {
  box-shadow: 0 0 0 3px var(--ink);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: var(--nav);
  color: #fff;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 700;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  animation: pu .2s;
}
.list .tr button {
  padding: 8px 12px;
  border-radius: 10px;
  background: #f3f5f9;
  font-weight: 700;
  font-size: 13.5px;
}
@media (max-width: 1000px) {
  .cart {
    width: 330px;
  }
  .cats {
    width: 130px;
  }
}
@media (orientation: portrait) {
  #app {
    flex-direction: column-reverse;
  }
  .rail {
    width: 100%;
    height: 78px;
    flex-direction: row;
    justify-content: space-around;
    padding: 6px;
  }
  .rail .lg,
  .rail .sp,
  .rail .clk {
    display: none;
  }
  .rail button {
    width: auto;
    flex: 1;
    padding: 8px 0;
  }
  .order {
    flex-direction: column;
  }
  .cart {
    width: 100%;
    height: 42%;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .ocol {
    padding: 14px 0 0 14px;
  }
}
#login {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.lgbox {
  text-align: center;
  width: 100%;
  max-width: 820px;
}
.lgbox h1 {
  font-size: 28px;
  margin-top: 12px;
}
.lglogo {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: var(--brand);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.lgusers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.lgusers button {
  width: 170px;
  background: #fff;
  border-radius: 22px;
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.lgusers button:active {
  transform: scale(.97);
}
.lgusers b {
  font-size: 17px;
}
.lgusers small {
  color: var(--muted);
}
.pinmd {
  max-width: 380px;
}
.pdots {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 6px 0;
}
.pdots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--brand);
}
.pdots i.on {
  background: var(--brand);
}
.pdots.shake {
  animation: sh .35s;
}
@keyframes sh {
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}
.perr {
  color: var(--red);
  font-weight: 700;
  height: 22px;
  margin-bottom: 6px;
}
.ppad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ppad button {
  height: 70px;
  border-radius: 18px;
  background: var(--bg);
  font-size: 26px;
  font-weight: 800;
}
.ppad button:active {
  background: var(--brand-l);
}
.ppad .pc {
  font-size: 17px;
  color: var(--muted);
}
.side .who {
  margin-top: 8px;
  background: var(--brand-l);
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 10px 12px;
}
.side .who b {
  color: var(--ink);
  font-size: 14px;
}
.side .who small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.side .lk {
  font-style: normal;
  margin-left: auto;
  font-size: 12px;
  opacity: .6;
}
.side {
  width: 214px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 16px 12px 12px;
  gap: 3px;
  overflow-y: auto;
}
.side .shop {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 6px 14px;
}
.side .shop i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
  flex-shrink: 0;
}
.side .shop b {
  font-size: 15px;
  display: block;
  line-height: 1.2;
}
.side .shop small {
  color: var(--muted);
  font-size: 12.5px;
}
.side button {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  text-align: left;
  width: 100%;
}
.side button span {
  width: 24px;
  text-align: center;
  font-size: 18px;
}
.side button.on {
  background: var(--brand);
  color: #fff;
}
.side button em {
  margin-left: auto;
  font-style: normal;
  background: var(--red);
  color: #fff;
  border-radius: 99px;
  font-size: 11.5px;
  padding: 2px 8px;
}
.side button em:empty {
  display: none;
}
.side .grp {
  font-size: 11px;
  font-weight: 800;
  color: #b3a594;
  padding: 12px 12px 4px;
  letter-spacing: .06em;
}
.side .drawer {
  margin-top: auto;
  background: var(--bg);
  border-radius: 14px;
  padding: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.side .drawer b {
  display: block;
  font-size: 19px;
  color: var(--ink);
}
.kpi.dark {
  background: var(--nav);
  color: #fff;
}
.kpi.dark small {
  color: #c8b8a6;
}
.up {
  color: #14a06e;
}
.dn {
  color: var(--red);
}
.av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-l);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 17px;
}
.tag {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.tg1 {
  background: #fde8ec;
  color: #c4321e;
}
.tg2 {
  background: #fff1d6;
  color: #a86400;
}
.tg3 {
  background: #dff5ea;
  color: #11804f;
}
.tr.sel {
  background: var(--bg);
  border-radius: 12px;
  padding-left: 10px;
  padding-right: 10px;
}
.g2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
  align-items: start;
}
.bars2 {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 150px;
  margin-bottom: 22px;
}
.bars2 div {
  flex: 1;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 100%;
  position: relative;
}
.bars2 i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  min-height: 2px;
}
.bars2 span {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.leg {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.leg i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
}
.mini {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.mini button {
  background: var(--brand);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  text-align: left;
}
.mini b {
  display: block;
  font-size: 18px;
}
.mini small {
  opacity: .8;
  font-size: 12.5px;
}
@media (orientation: portrait) {
  .side {
    width: 100%;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 6px;
  }
  .side .shop,
  .side .grp,
  .side .drawer {
    display: none;
  }
  .side button {
    flex: 0 0 auto;
    width: auto;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    padding: 8px 10px;
  }
  #app {
    flex-direction: column-reverse;
  }
}
@media (max-width: 1100px) {
  .g2 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 700px) and (max-width: 1180px) {
  .side {
    width: 84px;
    padding: 10px 6px;
    gap: 2px;
    align-items: center;
  }
  .side .shop {
    padding: 0 0 8px;
  }
  .side .shop div {
    display: none;
  }
  .side .grp,
  .side .drawer {
    display: none;
  }
  .side button {
    flex-direction: column;
    gap: 3px;
    padding: 10px 2px;
    font-size: 10.5px;
    text-align: center;
    position: relative;
    line-height: 1.15;
  }
  .side button span {
    font-size: 21px;
    width: auto;
  }
  .side button em {
    position: absolute;
    top: 4px;
    right: 6px;
    margin: 0;
    font-size: 10px;
    padding: 1px 6px;
  }
  .cart {
    width: 310px;
  }
  .cats {
    width: 118px;
  }
  .cats button {
    padding: 14px 9px;
    font-size: 13.5px;
  }
  .menu {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .kpi b {
    font-size: 21px;
  }
}
.mi .im {
  min-height: 84px;
}
@media (min-width: 700px) and (max-width: 1180px) {
  .side .who small {
    display: none;
  }
  .side .who {
    align-items: center;
    padding: 8px 2px;
    font-size: 11px;
  }
  .side .who b {
    font-size: 11px;
  }
  .side .lk {
    position: absolute;
    bottom: 4px;
    right: 6px;
  }
}
.side .shop .lgimg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.lgbox .lglogo {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  display: block;
  margin: 0 auto;
  background: none;
  box-shadow: 0 8px 24px rgba(200, 121, 46, .35);
}
.brandbig {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: -.01em;
}
.brandbig b,
.brandtag b {
  color: #c8792e;
}
.lgbox h1 {
  font-size: 24px;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}
.brandtag {
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--muted);
  padding-top: 8px;
}
@media (min-width: 700px) and (max-width: 1180px) {
  .side .shop .lgimg {
    width: 40px;
    height: 40px;
  }
  .brandtag {
    font-size: 10px;
  }
}
.side .who {
  margin: 0 0 6px;
  background: var(--brand-l);
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1.5px solid transparent;
}
.side .who.mgr {
  border-color: var(--brand);
}
.side .who .wav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.side .who.mgr .wav {
  background: var(--brand);
  color: #fff;
}
.side .who .wtx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.side .who b {
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.side .who small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
@media (max-height: 700px) {
  .side button:not(.who) {
    padding: 9px 12px;
  }
  .side .grp {
    padding: 6px 12px 2px;
  }
  .side .shop {
    padding-bottom: 8px;
  }
  .side .drawer {
    padding: 8px 12px;
  }
}
@media (min-width: 700px) and (max-width: 1180px) {
  .side .who {
    flex-direction: column;
    gap: 2px;
    padding: 6px 2px;
  }
  .side .who .wtx {
    align-items: center;
  }
  .side .who b {
    font-size: 10.5px;
    max-width: 74px;
  }
  .side .who small {
    display: block;
    font-size: 9.5px;
  }
}
.side .who small {
  white-space: nowrap;
}
.side .who .wtx {
  flex: 1;
  overflow: hidden;
}
#app {
  position: relative;
}
.side {
  transition: margin-left .22s ease;
}
#app.noside .side {
  margin-left: -230px;
}
@media (min-width: 700px) and (max-width: 1180px) {
  #app.noside .side {
    margin-left: -90px;
  }
}
#sideTgl {
  position: fixed;
  left: 8px;
  bottom: 12px;
  z-index: 30;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--nav);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}
#app:not(.noside) #sideTgl {
  left: 176px;
  width: 38px;
  height: 38px;
  font-size: 20px;
  border-radius: 12px;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand);
}
@media (min-width: 700px) and (max-width: 1180px) {
  #app:not(.noside) #sideTgl {
    left: 64px;
    width: 30px;
    height: 46px;
  }
}
html,
body {
  overscroll-behavior: none;
}
button,
.tb,
.mi,
.ln,
.chips button {
  touch-action: manipulation;
}
.page,
.menu,
.lines,
.cats,
.side {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mi,
.tb,
.kpi,
.card,
.mrow,
.cats button {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06) !important;
}
.mi,
.tb {
  transition: none;
}
.mi:active,
.tb:active,
.btn:active,
.side button:active,
.qb button:active {
  transform: none;
  filter: brightness(.92);
}
.mi.pop {
  animation: pop .22s ease-out;
}
@keyframes pop {
  40% {
    transform: scale(.95);
  }
}
.mi .im {
  background-color: #eee6dc;
}
.menu,
.lines {
  contain: content;
}
.bg {
  animation-duration: .1s;
}
.md {
  animation-duration: .12s;
}
@supports not (aspect-ratio:1) {
  .mi .im {
    height: 0;
    padding-top: 72%;
    position: relative;
  }
  .mi .im {
    display: block;
    min-height: 0;
  }
}
#app:not(.noside) #sideTgl {
  display: none !important;
}
#sideTgl {
  position: fixed;
  left: 12px;
  bottom: 14px;
  top: auto;
  transform: none;
  z-index: 30;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--nav);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
#sideTgl small {
  font-size: 10.5px;
  font-weight: 700;
  opacity: .85;
}
.side .collapse {
  margin-top: 6px;
  background: transparent;
  border: 1.5px dashed var(--line);
  color: var(--muted);
  justify-content: center;
  font-size: 13.5px;
  padding: 10px;
}
.side .collapse span {
  width: auto;
  font-size: 16px;
}
@media (min-width: 700px) and (max-width: 1180px) {
  .side .collapse {
    font-size: 0;
    padding: 8px 2px;
  }
  .side .collapse span {
    font-size: 18px;
  }
}
@media (min-width: 700px) and (max-width: 1180px) {
  .side {
    gap: 0;
    padding-top: 6px;
  }
  .side button:not(.who) {
    padding: 7px 2px;
  }
  .side button span {
    font-size: 19px;
  }
  .side .shop {
    padding-bottom: 4px;
  }
  .side .shop .lgimg {
    width: 34px;
    height: 34px;
  }
  .side .brandtag {
    display: none;
  }
}
.side .collapse {
  flex-shrink: 0;
}
