/* Reference order/query views only. Existing storefront and business modules retain their styles. */
html body #app .lb-flow-shell {
  --lb-flow-accent: #3ebfba;
  --lb-flow-background: #f5f5f5;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--lb-flow-background);
  color: #181818;
}
html body #app .lb-flow-shell,
html body #app .lb-flow-shell * { box-sizing: border-box; }
html body #app .lb-flow-shell > .h-10 { display: none; }
html body #app .lb-flow-shell .lb-flow-page {
  height: calc(100% - 56px - env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html body #app .lb-flow-shell .lb-flow-header {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lb-flow-accent);
}
html body #app .lb-flow-shell .lb-flow-header h1 {
  margin: 0;
  color: #152524;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
html body #app .lb-flow-shell .lb-order-tabs {
  display: flex;
  flex: 0 0 44px;
  overflow-x: auto;
  background: #fff;
  scrollbar-width: none;
}
html body #app .lb-flow-shell .lb-order-tabs::-webkit-scrollbar { display: none; }
html body #app .lb-flow-shell .lb-order-tabs button {
  flex: 1 0 64px;
  margin: 0;
  padding: 0 5px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #646566;
  font: inherit;
  font-size: 13px;
  line-height: 44px;
  white-space: nowrap;
  cursor: pointer;
}
html body #app .lb-flow-shell .lb-order-tabs button.is-active { color: #111; font-weight: 600; }
html body #app .lb-flow-shell button:focus-visible,
html body #app .lb-flow-shell input:focus-visible { outline: 2px solid #007b77; outline-offset: -2px; }
html body #app .lb-flow-shell .lb-order-panel { flex: 1; min-height: 0; overflow-y: auto; }
html body #app .lb-flow-shell .lb-order-panel .van-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}
html body #app .lb-flow-shell .lb-order-panel .van-empty__image { width: 160px; height: 160px; }
html body #app .lb-flow-shell .lb-order-empty-copy {
  margin: 0;
  text-align: center;
  color: #969799;
  font-size: 14px;
  line-height: 50px;
}
html body #app .lb-flow-shell .lb-query-content {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 32px 24px;
}
html body #app .lb-flow-shell .lb-query-form { width: 100%; margin: 0; }
html body #app .lb-flow-shell .lb-query-form h2 {
  margin: 0 0 24px;
  text-align: center;
  color: #111;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
html body #app .lb-flow-shell .lb-query-form input {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 10px #0000001a;
  color: #222;
  font: inherit;
  font-size: 14px;
  text-align: center;
}
html body #app .lb-flow-shell .lb-query-form input::placeholder { color: #b7bdc4; opacity: 1; }
html body #app .lb-flow-shell .lb-query-form button {
  display: block;
  width: 100%;
  height: 44px;
  margin: 20px 0 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
html body #app .lb-flow-shell .lb-query-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #737373;
  text-align: center;
  font-size: 13px;
  line-height: 22px;
}

/* Keep the reused tabbar visible on direct order/query loads. */
html body #app .lb-flow-shell { position: relative; }
html body #app .lb-flow-shell > .h-10 { display: none !important; }
html body #app .lb-flow-shell > .van-tabbar {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  align-items: center;
}
html body #app .lb-flow-shell > .van-tabbar .van-tabbar-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 56px;
  font-size: 12px;
  line-height: 1;
}
html body #app .lb-flow-shell > .van-tabbar .van-tabbar-item__icon {
  margin-bottom: 4px;
  line-height: 1;
}
html body #app .lb-flow-shell > .van-tabbar .van-tabbar-item__text { line-height: 16px; }
