/* PDV module: visual shell adapted from ERP/public/pdv without ERP-only dependencies. */
/* Offline checkout page, rendered from the local catalog and shared draft. */
body.pos-view { overflow: hidden; background: #f3f7fa; }
body.pos-view .site-shell { display: block !important; min-height: 100dvh; }
body.pos-view .sidebar, body.pos-view .mobile-nav, body.pos-view .dashboard-header,
body.pos-view #local-top, body.pos-view #local-status, body.pos-view [data-offline-status],
body.pos-view #local-sync-notice, body.pos-view #pwa-update, body.pos-view #local-sync-section,
body.pos-view #local-error, body.pos-view #local-add, body.pos-view #backup-section,
body.pos-view #local-backup-reminder, body.pos-view .local-header-nav, body.pos-view .sidebar-scrim { display: none !important; }
body.pos-view .main-content { display: block; width: 100%; max-width: none; min-height: 100dvh; margin: 0; padding: 0; }
body.pos-view #local-content { width: 100%; max-width: none; min-height: 100dvh; margin: 0; }
.pos-screen { display: flex; width: 100%; height: 100dvh; min-height: 0; flex-direction: column; color: #111c2c; background: #f4f8fb; }
.pos-topbar { z-index: 2; display: flex; min-height: 72px; flex: 0 0 72px; align-items: center; gap: 14px; padding: 10px clamp(16px, 2.5vw, 48px); border-bottom: 1px solid #dce5ef; background: linear-gradient(110deg,#eef5fc,#fffdfa); }
.pos-brand { display: flex; min-width: 0; align-items: center; gap: 12px; }
.pos-logo { width: 46px; height: 46px; object-fit: contain; }
.pos-brand-text { display: grid; gap: 1px; }
.pos-brand-text strong { font-size: 21px; line-height: 1.1; }
.pos-brand-text small { color: #718096; font-size: 13px; font-weight: 600; }
.pos-sync { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; margin-left: auto; padding: 7px 10px; border: 0; background: transparent; color: #07856f; font-size: 13px; font-weight: 700; cursor: pointer; }
.pos-icon { display: inline-grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; }
.pos-icon svg { display: block; width: 100%; height: 100%; }
.pos-avatar { display: flex; width: auto; height: auto; flex: 0 0 auto; align-items: center; gap: 7px; border: 0; border-radius: 0; background: transparent; color: #07856f; }
.pos-avatar-photo { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; border: 1px solid #dce5ef; border-radius: 50%; background: #e9f4f0; }
.pos-avatar-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pos-avatar-photo svg { width: 24px; height: 24px; }
.pos-avatar-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: #07856f; }
.pos-user-menu { position: relative; flex: 0 0 auto; }
.pos-user-menu > summary { display: flex; gap: 4px; align-items: center; justify-content: center; cursor: pointer; list-style: none; }
.pos-user-menu > summary::-webkit-details-marker { display: none; }
.pos-user-menu > summary > span:last-child { color: #91a2b5; font-size: 15px; }
.pos-user-panel { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; display: grid; width: min(270px,calc(100vw - 24px)); gap: 5px; padding: 16px; border: 1px solid #dce5ef; border-radius: 17px; background: #fff; box-shadow: 0 14px 36px #18365424; }
.pos-user-panel > strong { overflow: hidden; color: #172f4d; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pos-user-panel > small { min-height: 18px; color: #718096; font-size: 12px; }
.pos-user-action { min-height: 42px; margin-top: 8px; padding: 8px 12px; border: 1px solid #dce5ef; border-radius: 11px; background: #f5f8fb; color: #172f4d; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pos-user-action:hover { background: #edf3f8; }
.pos-user-action.is-logout { border-color: #f2d8d5; background: #fff8f7; color: #a53d36; }
.pos-user-action.is-logout:hover { background: #fff0ee; }
.pos-layout { display: grid; min-height: 0; flex: 1; grid-template-columns: minmax(0,1.9fr) minmax(350px,1fr); gap: 18px; padding: 18px clamp(16px,2.5vw,48px) 12px; }
.pos-catalog-column { display: flex; min-width: 0; min-height: 0; flex-direction: column; gap: 16px; }
.pos-searchbar { display: flex; min-height: 74px; flex: 0 0 74px; align-items: center; gap: 14px; padding: 0 20px; border: 2px solid #4385ff; border-radius: 24px; background: #fff; box-shadow: 0 10px 22px #153b3312; color: #4385ff; }
.pos-searchbar > .pos-icon { width: 28px; height: 28px; flex-basis: 28px; }
.pos-search { width: 100%; min-width: 0; height: 100%; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; color: #26384e; font: inherit; font-size: clamp(16px,1.55vw,23px); }
.pos-search::placeholder { color: #738094; opacity: 1; }
.pos-scan { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #66809e; cursor: pointer; }
.pos-scan:hover { background: #eef4fb; color: #286df1; }
.pos-scan .pos-icon { width: 26px; height: 26px; }
.pos-catalog-panel { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow: auto; padding: 16px; border: 1px solid #dce5ef; border-radius: 22px; background: #fff; box-shadow: 0 5px 14px #1836540a; }
.pos-results { display: grid; min-height: 100%; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); align-content: start; gap: 10px; }
.pos-results .sale-result { display: flex; min-width: 0; min-height: 100px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #dce5ef; border-radius: 15px; background: #fff; color: #172f4d; text-align: left; cursor: pointer; }
.pos-results .sale-result:hover { border-color: #4385ff; box-shadow: 0 7px 20px #286df11a; }
.pos-results .sale-result-info { min-width: 0; align-items: center; }
.pos-results .sale-result-detail { min-width: 0; }
.pos-results .sale-result-detail strong { color: #172f4d; }
.pos-results .sale-result > strong { flex: 0 0 auto; color: #07856f; font-size: 16px; }
.pos-results .sale-empty { grid-column: 1/-1; align-self: center; margin: auto; padding: 32px; color: #9aa9bb; text-align: center; }
.pos-results .sale-pager { grid-column: 1/-1; }
.pos-cart-panel { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; border: 1px solid #dce5ef; border-radius: 28px; background: #fff; box-shadow: 0 5px 14px #18365412; }
.pos-cart-head { display: flex; min-height: 62px; flex: 0 0 62px; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid #dce5ef; }
.pos-cart-head h1 { margin: 0; font-size: 18px; }
.pos-clear-cart,.sale-clear-cart { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #8190a2; cursor: pointer; }
.pos-clear-cart { margin-left: auto; }
.pos-clear-cart svg,.sale-clear-cart svg { width: 18px; height: 18px; }
.pos-clear-cart:hover,.sale-clear-cart:hover { border-color: #f0d8d5; background: #fff8f7; color: #a53d36; }
.pos-clear-cart:disabled { opacity: .35; cursor: default; }
.sale-clear-cart[hidden] { display: none !important; }
.pos-cart-count { display: inline-grid; min-width: 30px; height: 30px; flex: 0 0 auto; place-items: center; padding: 0 8px; border-radius: 99px; background: #4385ff; color: #fff; font-size: 13px; font-weight: 750; }
.pos-cart-body { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow: auto; }
.pos-cart-empty { display: grid; flex: 1; align-content: center; justify-items: center; gap: 8px; color: #b5c2d2; text-align: center; }
.pos-cart-empty .pos-icon { width: 60px; height: 60px; color: #eef2f6; }
.pos-cart-empty p,.pos-cart-empty small { margin: 0; }
.pos-cart-empty p { margin-top: 8px; color: #aab8ca; font-size: 17px; }
.pos-cart-empty small { font-size: 15px; }
.pos-cart-lines { display: grid; gap: 0; margin: 0; padding: 0 16px; list-style: none; }
.pos-cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid #edf1f5; }
.pos-cart-line-info { display: grid; min-width: 0; gap: 4px; }
.pos-cart-line-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-cart-line-info small { color: #718096; }
.pos-cart-line-controls { display: flex; align-items: center; gap: 8px; }
.pos-cart-line-controls button { width: 34px; height: 34px; border: 1px solid #dce5ef; border-radius: 10px; background: #fff; color: #286df1; font-size: 19px; cursor: pointer; }
.pos-cart-line-total { grid-column: 1/-1; justify-self: end; color: #172f4d; }
.pos-cart-foot { display: grid; gap: 14px; padding: 14px 16px 16px; border-top: 1px solid #dce5ef; background: #fbfcfd; }
.pos-cart-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 9px 0; border: 1px solid #dce5ef; border-radius: 14px; background: #fff; }
.pos-cart-metric { display: grid; min-width: 0; gap: 5px; padding: 0 10px; border-right: 1px solid #dce5ef; }
.pos-cart-metric:last-child { border: 0; }
.pos-cart-metric small { color: #8b9bb0; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.pos-cart-metric strong { overflow: hidden; color: #172f4d; font-size: 13px; text-overflow: ellipsis; }
.pos-cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #62748c; }
.pos-cart-total strong { color: #111c2c; font-size: clamp(22px,2vw,30px); font-variant-numeric: tabular-nums; }
.pos-charge { min-height: 48px; border: 0; border-radius: 14px; background: #4385ff; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.pos-charge:disabled { opacity: .5; cursor: default; }
.pos-mobile-cart { display: none; }
body.pos-view .sale-history { grid-column: 1/-1; }
@media (max-width: 800px) {
  body.pos-view { overflow: hidden; }
  body.pos-view .main-content { padding-bottom: 0; }
  .pos-screen { height: 100dvh; min-height: 0; }
  .pos-topbar { min-height: 64px; flex-basis: 64px; gap: 8px; padding: 8px 14px; }
  .pos-logo { width: 42px; height: 42px; }
  .pos-brand { gap: 9px; }
  .pos-brand-text strong { font-size: 18px; }
  .pos-brand-text small { display: none; }
  .pos-sync { min-height: 40px; padding: 6px; }
  .pos-sync .pos-icon { width: 22px; height: 22px; }
  .pos-avatar-photo { width: 38px; height: 38px; flex-basis: 38px; }
  .pos-layout { display: block; min-height: 0; flex: 1; padding: 14px 12px calc(86px + env(safe-area-inset-bottom)); }
  .pos-catalog-column { height: 100%; gap: 12px; }
  .pos-searchbar { min-height: 58px; flex-basis: 58px; gap: 9px; padding: 0 12px; border-width: 2px; border-radius: 19px; }
  .pos-searchbar > .pos-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .pos-search { font-size: 16px; }
  .pos-scan { width: 38px; height: 38px; flex-basis: 38px; }
  .pos-catalog-panel { padding: 10px; border-radius: 20px; }
  .pos-results { grid-template-columns: repeat(auto-fill,minmax(135px,1fr)); gap: 8px; }
  .pos-results .sale-result { min-height: 76px; padding: 9px; }
  .pos-results .sale-result > strong { font-size: 14px; }
  .pos-cart-panel { display: none; }
  .pos-mobile-cart { position: fixed; z-index: 8; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 12px; display: flex; min-height: 68px; align-items: center; gap: 14px; padding: 10px 16px; border: 0; border-radius: 20px; background: #4385ff; box-shadow: 0 12px 28px #286df143; color: #fff; font: inherit; cursor: pointer; }
  .pos-mobile-cart .pos-icon { width: 26px; height: 26px; }
  .pos-mobile-cart strong { margin-left: auto; font-size: 20px; }
}
@media (max-width: 380px) {
  .pos-topbar { padding-inline: 12px; }
  .pos-layout { padding-inline: 9px; }
  .pos-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pos-mobile-cart { right: 9px; left: 9px; min-height: 62px; }
}
.workspace:has(#sale-workspace) .main-content {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding: 18px 24px 24px;
}
.workspace.pdv-fullscreen .sidebar,
.workspace.pdv-fullscreen .mobile-nav {
  display: none !important;
}
.workspace.pdv-fullscreen .dashboard-header {
  display: flex;
  min-height: 48px;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.workspace.pdv-fullscreen .header-brand {
  display: inline-flex;
  flex: 0 0 auto;
}
.workspace.pdv-fullscreen .header-brand img { width: 128px; }
.workspace.pdv-fullscreen .dashboard-header .period-toolbar,
.workspace.pdv-fullscreen .notification-bell { display: none; }
.workspace.pdv-fullscreen .pdv-header-title {
  margin: 0;
  color: #172f4d;
  font-size: 23px;
  font-weight: 700;
}
.workspace.pdv-fullscreen .local-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.pdv-navigation { position: relative; }
.pdv-navigation > summary {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fff;
  color: #405974;
  cursor: pointer;
  list-style: none;
}
.pdv-navigation > summary::-webkit-details-marker { display: none; }
.pdv-navigation > summary::marker { content: ''; }
.pdv-navigation > summary:hover,
.pdv-navigation[open] > summary { background: #f3f7fb; color: #1d4ed8; }
.pdv-navigation-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(300px, calc(100vw - 24px));
  max-height: min(72dvh, 620px);
  gap: 4px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--pdv-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px #18365424;
}
.pdv-navigation-title {
  padding: 7px 10px 9px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pdv-navigation-panel > a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  color: #405974;
  font-size: 14px;
}
.pdv-navigation-panel > a:hover,
.pdv-navigation-panel > a.active { background: #eef4fb; color: #1d4ed8; }
.pdv-navigation-panel > a .ui-icon { width: 20px; height: 20px; }
.pdv-navigation-divider { height: 1px; margin: 6px 4px; background: #e8edf3; }
.workspace.pdv-fullscreen .main-content > .sale-layout {
  width: 100%;
}
.sale-layout {
  --pdv-blue: #2563eb;
  --pdv-blue-dark: #1d4ed8;
  --pdv-border: #dfe7f1;
  --pdv-muted: #64748b;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: stretch;
  gap: 20px;
  min-height: min(760px, calc(100dvh - 112px));
}
.sale-layout .sale-catalog {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.sale-layout .pdv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sale-layout .pdv-bar h2 { margin: 0; color: #172f4d; font-size: 24px; }
.sale-layout #sale-search {
  min-height: 58px;
  padding: 14px 18px 14px 50px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E")
    18px center / 22px no-repeat;
  box-shadow: 0 8px 24px #102b4a0d;
}
.sale-layout #sale-search:focus {
  border-color: var(--pdv-blue);
  outline: 0;
  box-shadow: 0 0 0 4px #2563eb18, 0 12px 30px #102b4a12;
}
.sale-layout .sale-type-tabs { margin: 12px 0 0; }
.sale-layout .sale-connectivity:empty, .sale-layout .sale-search-status:empty { display: none; }
.sale-layout .sale-connectivity, .sale-layout .sale-search-status { margin: 9px 2px 0; }
.sale-layout .sale-results {
  display: flex;
  min-height: 260px;
  max-height: none;
  flex: 1;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--pdv-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px #102b4a0d;
  scrollbar-width: thin;
  scrollbar-color: #b9c8d8 transparent;
}
.sale-layout .sale-result {
  min-height: 68px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--pdv-border);
  border-radius: 0;
  transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.sale-layout .sale-result:last-child { border-bottom: 0; }
.sale-layout .sale-result:focus-visible {
  padding-left: 16px;
  background: var(--pdv-blue);
  color: #fff;
  outline: 0;
}
.sale-layout .sale-result:focus-visible small { color: #dbeafe; }
@media (hover: hover) {
  .sale-layout .sale-result:hover {
    padding-left: 16px;
    background: var(--pdv-blue);
    color: #fff;
  }
  .sale-layout .sale-result:hover small { color: #dbeafe; }
}
.sale-layout .sale-thumb,
.sale-layout .sale-result-image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--pdv-border);
  border-radius: 12px;
  background: #f8fafc;
  object-fit: contain;
}
.sale-layout .sale-result > span { display: block; min-width: 0; flex: 1; text-align: left; }
.sale-layout .sale-result > span > strong, .sale-layout .sale-result > span > small { display: block; }
.sale-layout .sale-result-info { display: flex; min-width: 0; align-items: center; gap: 12px; }
.sale-layout .sale-result-detail { min-width: 0; }
.sale-layout .sale-pager { flex: 0 0 auto; }

/* Keep checkout in the page at every size; smaller screens stack it below the catalog. */
.sale-layout > .sale-cart-panel {
  position: static;
  inset: auto;
  display: flex;
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  transform: none;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 20px;
  border: 1px solid var(--pdv-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px #102b4a12;
}
.sale-layout > .sale-cart-panel .sheet-heading {
  flex: 0 0 auto;
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--pdv-border);
  background: #f8fafc;
}
.sale-layout > .sale-cart-panel .sheet-heading h2 { font-size: 19px; }
.sale-layout > .sale-cart-panel .sale-feedback { padding: 0 20px; }
.sale-layout > .sale-cart-panel .sale-cart-summary { margin: 0 20px; padding: 16px 0; }
.sale-layout > .sale-cart-panel .sale-cart {
  min-height: 180px;
  max-height: none;
  flex: 1;
  margin: 0;
  padding: 4px 20px;
  overflow: auto;
}
.sale-layout > .sale-cart-panel #sale-form {
  flex: 0 0 auto;
  margin: 0 20px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--pdv-border);
}
.sale-layout > .sale-cart-panel #sale-open-payment {
  min-height: 54px;
  border-radius: 15px;
  background: var(--pdv-blue);
  font-weight: 750;
}
.sale-layout > .sale-cart-panel #sale-open-payment:hover { background: var(--pdv-blue-dark); }
.sale-layout > .sale-cart-panel #sale-open-payment:disabled { background: #b7c4d3; }
@media (min-width: 1101px) {
  .workspace:has(#sale-workspace) .sale-cart-trigger { display: none; }
}

@media (max-width: 1100px) {
  .workspace:has(#sale-workspace) .main-content { width: 100%; padding-right: 18px; padding-left: 18px; }
  .sale-layout { display: block; min-height: 0; }
  .sale-layout .sale-results { min-height: 280px; max-height: min(52dvh, 560px); }
  .sale-layout > .sale-cart-panel { min-height: 360px; margin-top: 18px; }
  .sale-layout > .sale-cart-panel .sale-cart { min-height: 120px; max-height: min(42dvh, 420px); padding: 4px 20px; }
}
@media (max-width: 760px) {
  .workspace:has(#sale-workspace) .main-content {
    min-height: 100dvh;
    padding: calc(12px + env(safe-area-inset-top)) 12px calc(92px + env(safe-area-inset-bottom));
  }
  .workspace.pdv-fullscreen .dashboard-header { gap: 10px; margin-bottom: 14px; }
  .workspace.pdv-fullscreen .header-brand img { width: 40px; }
  .workspace.pdv-fullscreen .pdv-header-title { font-size: 21px; }
  .workspace.pdv-fullscreen .local-header-actions { gap: 8px; }
  .pdv-navigation > summary { width: 44px; height: 44px; }
  .pdv-navigation-panel { position: fixed; top: calc(62px + env(safe-area-inset-top)); right: 12px; }
  .sale-layout { gap: 12px; }
  .sale-layout .pdv-bar { align-items: flex-start; }
  .sale-layout .pdv-bar h2 { font-size: 21px; }
  .sale-layout #sale-search { min-height: 54px; border-radius: 15px; }
  .sale-layout .sale-results { max-height: min(48dvh, 430px); }
  .sale-layout .sale-result { min-height: 64px; }
  .sale-layout > .sale-cart-panel { min-height: 0; margin-top: 12px; border-radius: 18px; }
  .sale-layout > .sale-cart-panel .sheet-heading { padding: 16px; }
  .sale-layout > .sale-cart-panel .sale-feedback { padding: 0 16px; }
  .sale-layout > .sale-cart-panel .sale-cart-summary { margin: 0 16px; }
  .sale-layout > .sale-cart-panel .sale-cart { min-height: 80px; max-height: 38dvh; padding: 4px 16px; }
  .sale-layout > .sale-cart-panel #sale-form { margin: 0 16px 16px; }
}
@media (max-width: 380px) {
  .sale-layout .pdv-bar { display: grid; }
  .sale-layout .pdv-quick { justify-self: stretch; }
  .sale-layout .pdv-chip { flex: 1; }
}

body.cashier-account:not(.pos-view) .site-shell { visibility: hidden; }
body.pos-view #local-content .pos-search { min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; font-size: clamp(16px,1.55vw,23px); }
body.pos-view #local-content .pos-scan,
body.pos-view #local-content .pos-cart-line-controls button { min-height: 0; padding: 0; border: 0; background: transparent; color: inherit; }
body.pos-view #local-content .pos-results .sale-result { display: flex; min-height: 100px; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid #dce5ef; border-radius: 15px; background: #fff; color: #172f4d; text-align: left; }
body.pos-view #local-content .pos-results .sale-result > strong { margin: 0; color: #07856f; font-size: 16px; }
body.pos-view #local-content .pos-results .sale-empty { padding: 32px; border: 0; background: transparent; color: #9aa9bb; }
body.pos-view #local-content .pos-charge { min-height: 48px; padding: 10px 16px; border: 0; border-radius: 14px; background: #4385ff; color: #fff; font: inherit; font-weight: 750; }
body.pos-view #local-content .pos-cart-line-controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dce5ef; border-radius: 10px; background: #fff; color: #286df1; font-size: 19px; }
body.pos-view #local-content .pos-cart-line-controls button:hover { background: #eef4fb; }
body.pos-view #local-content .pos-cart-head .pos-clear-cart { display: grid; width: 36px; min-height: 36px; margin-left: auto; padding: 0; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #8190a2; }
body.pos-view #local-content .pos-cart-head .pos-clear-cart:hover { border-color: #f0d8d5; background: #fff8f7; color: #a53d36; }
body.pos-view #local-content .pos-cart-head .pos-clear-cart:disabled { opacity: .35; }
body.pos-view #local-content .pos-sync { min-height: 42px; padding: 7px 10px; border: 0; background: transparent; color: #07856f; }
body.pos-view #local-content .pos-user-action { min-height: 42px; margin-top: 8px; padding: 8px 12px; border: 1px solid #dce5ef; border-radius: 11px; background: #f5f8fb; color: #172f4d; font: inherit; font-size: 14px; font-weight: 700; }
body.pos-view #local-content .pos-user-action.is-logout { border-color: #f2d8d5; background: #fff8f7; color: #a53d36; }
@media (max-width: 800px) {
  body.pos-view #local-content .pos-search { font-size: 16px; }
  body.pos-view #local-content .pos-results .sale-result { min-height: 76px; padding: 9px; }
  body.pos-view #local-content .pos-results .sale-result > strong { font-size: 14px; }
}
