/* PC 门店销售工作台。只改布局，不改销售业务。 */
html.yct-store-pos, body.yct-store-pos {
  background: #eef3ef;
  overflow: hidden;
}
body.yct-store-pos #appShell {
  max-width: none;
  margin: 0;
  min-height: 100vh;
  padding: 0;
}
body.yct-store-pos #tabbar,
body.yct-store-pos #newOrderBanner,
body.yct-store-pos #homeView,
body.yct-store-pos #ordersView,
body.yct-store-pos #storeView,
body.yct-store-pos #msgView,
body.yct-store-pos #meView,
body.yct-store-pos #staffView,
body.yct-store-pos #staffEditView,
body.yct-store-pos #staffNewView,
body.yct-store-pos #accountView,
body.yct-store-pos #aboutView,
body.yct-store-pos #statsView,
body.yct-store-pos #detailView,
body.yct-store-pos #mallWrap,
body.yct-store-pos #mallScanBtn,
body.yct-store-pos #instoreBack,
body.yct-store-pos #instoreI18nWrap,
body.yct-store-pos #instoreToday,
body.yct-store-pos #openH5Login,
body.yct-store-pos .logo {
  display: none !important;
}
body.yct-store-pos #storePosBar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 20px;
  background: #1f6b4a;
  color: #fff;
}
body.yct-store-pos #storePosBar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
body.yct-store-pos #storePosMeta {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  opacity: 0.95;
}
body.yct-store-pos #storePosBar button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 13px;
}
body.yct-store-pos #loginView {
  max-width: 440px;
  margin: 72px auto;
}
body.yct-store-pos #loginView h1 { font-size: 28px; }
body.yct-store-pos #storeLoginForm { margin: 0 16px 16px; }
body.yct-store-pos #storeLoginForm label { margin-bottom: 12px; }
body.yct-store-pos #instoreView.page {
  display: none;
  height: calc(100vh - 56px);
  padding: 0;
  overflow: hidden;
}
body.yct-store-pos #instoreView.page:not([hidden]) {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 400px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "head head head"
    "search results cart"
    "pay pay pay";
}
body.yct-store-pos #instoreView .instore-head {
  grid-area: head;
  margin: 0;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #d7e3d9;
}
body.yct-store-pos #instoreView .instore-head h1 { font-size: 18px; }
body.yct-store-pos #instoreLegacySearch {
  grid-area: search;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 16px;
  background: #f8faf8;
  border-right: 1px solid #d7e3d9;
  overflow: auto;
}
body.yct-store-pos #instoreLegacySearch[hidden] { display: flex !important; }
body.yct-store-pos #instoreQ,
body.yct-store-pos #instoreCode {
  display: block !important;
  width: 100%;
  margin: 0;
}
body.yct-store-pos #instoreCode[hidden] { display: block !important; }
body.yct-store-pos #instoreSearchBtn,
body.yct-store-pos #instoreRefreshBtn {
  height: 40px;
  border-radius: 10px;
  background: #1f6b4a;
  color: #fff;
  font-weight: 700;
}
body.yct-store-pos #instoreRefreshBtn { background: #fff; color: #1f6b4a; border: 1px solid #1f6b4a; }
body.yct-store-pos #instoreMsg { margin: 0; }
body.yct-store-pos #instoreResults {
  grid-area: results;
  display: block !important;
  margin: 0;
  padding: 12px 16px 80px;
  overflow: auto;
  background: #f4f7f5;
}
body.yct-store-pos #instoreResults[hidden] { display: block !important; }
body.yct-store-pos #instoreMore { margin: 0 16px 12px; }
body.yct-store-pos #instoreView .block-head,
body.yct-store-pos #instoreCart {
  grid-area: cart;
}
body.yct-store-pos #instoreView .block-head {
  align-self: start;
  margin: 0;
  padding: 12px 16px 0;
  background: #fff;
  border-left: 1px solid #d7e3d9;
}
body.yct-store-pos #instoreCart {
  margin: 0;
  padding: 8px 16px 80px;
  overflow: auto;
  background: #fff;
  border-left: 1px solid #d7e3d9;
}
body.yct-store-pos .instore-action {
  grid-area: pay;
  position: static;
  left: auto;
  transform: none;
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: #fff;
  border-top: 1px solid #d7e3d9;
  box-shadow: 0 -8px 20px rgba(20, 40, 20, 0.06);
}
body.yct-store-pos .instore-action .primary-btn {
  width: 220px;
  margin: 0;
}
body.yct-store-pos #payView,
body.yct-store-pos #soldView,
body.yct-store-pos #storeInfoView {
  max-width: 720px;
  margin: 0 auto;
  min-height: calc(100vh - 56px);
  background: #fff;
}
body.yct-store-pos #payView .pay-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body.yct-store-pos .toast {
  bottom: 24px;
}
@media (max-width: 959px) {
  body.yct-store-pos { overflow: auto; }
  body.yct-store-pos #instoreView.page:not([hidden]) {
    display: block;
    height: auto;
  }
  body.yct-store-pos #instoreLegacySearch,
  body.yct-store-pos #instoreResults,
  body.yct-store-pos #instoreCart,
  body.yct-store-pos #instoreView .block-head {
    border: 0;
  }
}
