.pos-shell {
  --pos-green: #25824f;
  --pos-green-ink: #1d6d42;
  --pos-soft-green: #edf7f0;
  --pos-ink: #262e29;
  --pos-muted: #68736b;
  --pos-line: #e3e8e3;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  width: 100%;
  max-width: 1100px;
  min-height: 438px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #d9e2d9;
  border-radius: 14px;
  background: #fff;
  color: var(--pos-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  font-variant-numeric: tabular-nums;
  isolation: isolate;
}

.pos-shell *, .pos-shell *::before, .pos-shell *::after { box-sizing: border-box; }
.pos-shell ::selection { background: #cdebd8; color: #164b2e; }
.pos-shell :focus-visible { outline: 2px solid var(--pos-green); outline-offset: 4px; }
.pos-shell p, .pos-shell h3, .pos-shell h4, .pos-shell ul, .pos-shell dl, .pos-shell dd { margin: 0; }
.pos-shell button { font: inherit; }
.pos-icon { display: block; flex: 0 0 auto; width: 18px; height: 18px; }
.pos-sidebar { display: flex; flex-direction: column; padding: 21px 13px 16px; border-right: 1px solid var(--pos-line); background: #fafcf9; }
.pos-brand { padding: 0 10px; }
.pos-wordmark { display: block; width: 113px; height: 30px; object-fit: contain; object-position: left center; }
.pos-brand-product { display: block; margin-top: 4px; color: var(--pos-muted); font-size: 11px; }
.pos-branch { display: flex; align-items: center; gap: 8px; margin: 23px 6px 21px; }
.pos-branch > .pos-icon { width: 17px; color: var(--pos-green); }
.pos-branch strong, .pos-branch span { display: block; }
.pos-branch strong { font-size: 13px; font-weight: 600; }
.pos-branch span { margin-top: 1px; color: var(--pos-muted); font-size: 10px; }
.pos-view-tabs { display: flex; flex-direction: column; gap: 6px; }
.pos-view-tab { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: #566159; cursor: pointer; text-align: left; transition: background-color 160ms ease, color 160ms ease; }
.pos-view-tab:hover { background: #f0f4ef; color: var(--pos-green-ink); }
.pos-view-tab[aria-selected="true"] { background: #e7f2e9; color: var(--pos-green-ink); font-weight: 600; }
.pos-view-tab .pos-icon { width: 19px; height: 19px; }
.pos-sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 25px 6px 0; }
.pos-restaurant-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border: 1px solid #d7e3d6; border-radius: 50%; color: #4f6452; font-size: 10px; font-weight: 600; }
.pos-sidebar-footer strong, .pos-sidebar-footer div > span { display: block; font-size: 11px; }
.pos-sidebar-footer div > span { color: var(--pos-muted); font-size: 10px; }
.pos-workspace { min-width: 0; background: #fff; }
.pos-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 53px; padding: 12px 22px; border-bottom: 1px solid var(--pos-line); }
.pos-topbar-title { color: #4d5a51; font-size: 11px; white-space: nowrap; }
.pos-topbar-title > span { padding: 0 8px; color: #68736b; }
.pos-example-label { color: #68736b; font-size: 10px; text-align: right; }
.pos-view-area { padding: 20px 22px 22px; }
.pos-panel { min-height: 341px; }
.pos-panel[hidden] { display: none; }
.pos-panel:not([hidden]) { animation: pos-view-enter 220ms cubic-bezier(.16, 1, .3, 1) both; }
.pos-panel:focus-visible { outline-offset: 6px; border-radius: 3px; }
.pos-view-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.pos-view-title { color: var(--pos-ink); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.pos-view-description { margin-top: 4px !important; color: var(--pos-muted); font-size: 11px; }
.pos-view-summary { max-width: 140px; color: var(--pos-muted); font-size: 10px; text-align: right; }
.pos-orders-layout { display: grid; grid-template-columns: minmax(0, 1fr) 252px; gap: 18px; }
.pos-order-ledger { min-width: 0; }
.pos-ledger-heading, .pos-order-row { display: grid; grid-template-columns: minmax(96px, 1fr) 84px 48px 98px; align-items: center; column-gap: 8px; }
.pos-ledger-heading { min-height: 31px; padding: 0 12px 8px; color: var(--pos-muted); font-size: 10px; }
.pos-orders-list { padding: 0; list-style: none; }
.pos-order-row { min-height: 70px; padding: 13px 12px; border-bottom: 1px solid var(--pos-line); }
.pos-order-row-selected { border: 1px solid #bdd8c4; border-radius: 8px; background: #f0f8f1; }
.pos-order-row-selected + .pos-order-row { border-top: 0; }
.pos-order-customer strong, .pos-order-customer > span { display: block; }
.pos-order-customer strong { font-size: 12px; font-weight: 550; white-space: nowrap; }
.pos-order-number { margin-right: 6px; color: var(--pos-muted); font-weight: 450; }
.pos-order-customer > span { margin-top: 5px; color: var(--pos-muted); font-size: 10px; white-space: nowrap; }
.pos-order-source { display: flex; align-items: center; gap: 4px; color: #626c64; font-size: 10px; }
.pos-order-source .pos-icon { width: 14px; height: 14px; }
.pos-source-whatsapp { color: var(--pos-green-ink); }
.pos-order-price { font-size: 12px; font-weight: 550; white-space: nowrap; }
.pos-status { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; padding: 4px 7px; border-radius: 5px; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.pos-status-preparing { background: #f9efd3; color: #795515; }
.pos-status-pending { background: #f0f1ee; color: #5c665e; }
.pos-status-ready { background: #e4f2e8; color: #286843; }
.pos-order-connection { display: flex; align-items: center; gap: 9px; padding: 18px 10px 0; color: var(--pos-green-ink); }
.pos-order-connection .pos-icon { width: 17px; height: 17px; }
.pos-order-connection p { font-size: 10px; line-height: 1.6; }
.pos-order-connection strong { font-weight: 500; color: var(--pos-muted); }
.pos-order-detail { padding: 16px; border: 1px solid var(--pos-line); border-radius: 9px; background: #fff; }
.pos-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pos-detail-caption { color: var(--pos-muted); font-size: 10px; }
.pos-detail-name { margin-top: 2px !important; font-size: 17px; font-weight: 550; line-height: 1.3; }
.pos-source-symbol { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: var(--pos-soft-green); color: var(--pos-green-ink); }
.pos-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; color: #667168; font-size: 10px; }
.pos-detail-meta > span { display: flex; align-items: center; gap: 5px; }
.pos-detail-meta .pos-icon { width: 13px; height: 13px; }
.pos-detail-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pos-line); }
.pos-item-quantity { display: grid; width: 22px; height: 23px; flex-shrink: 0; place-items: center; border-radius: 4px; background: #f2f4f0; font-size: 11px; }
.pos-detail-line > div { flex: 1; }
.pos-detail-line strong { display: block; font-size: 10px; font-weight: 550; line-height: 1.5; }
.pos-detail-line > div > span { display: block; margin-top: 2px; color: var(--pos-muted); font-size: 10px; }
.pos-detail-line > strong { white-space: nowrap; }
.pos-order-note { margin-top: 12px !important; padding: 8px 10px; border-radius: 5px; background: #fbf7eb; color: #74591f; font-size: 11px; }
.pos-order-note > span { display: block; margin-bottom: 2px; color: #876a2e; font-size: 9px; }
.pos-detail-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; color: #657067; font-size: 11px; }
.pos-detail-total > strong { color: var(--pos-ink); font-size: 18px; font-weight: 600; }
.pos-detail-status { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: #795515; font-size: 10px; }
.pos-detail-status .pos-icon { width: 13px; height: 13px; }
.pos-tables-layout { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; }
.pos-floor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; border: 1px solid var(--pos-line); border-radius: 10px; background: #fafbf8; }
.pos-floor-table { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 112px; padding: 12px 5px; border: 1px solid #d4e7d8; border-radius: 8px; background: #f1f8f1; text-align: center; }
.pos-table-shape { display: flex; align-items: center; gap: 6px; color: #497552; }
.pos-table-shape .pos-icon { width: 24px; height: 24px; }
.pos-table-shape > strong { font-size: 12px; font-weight: 550; }
.pos-table-state { margin-top: 9px; color: #316b42; font-size: 10px; font-weight: 500; }
.pos-table-people { margin-top: 2px; color: #6a756d; font-size: 9px; }
.pos-floor-table-occupied { background: #faf5e8; border-color: #e9dbb6; }
.pos-floor-table-occupied .pos-table-shape, .pos-floor-table-occupied .pos-table-state { color: #80672e; }
.pos-floor-table-reserved { background: #f0f3f8; border-color: #d5dce8; }
.pos-floor-table-reserved .pos-table-shape, .pos-floor-table-reserved .pos-table-state { color: #586d8d; }
.pos-floor-summary { padding-top: 9px; }
.pos-small-heading { color: var(--pos-ink); font-size: 13px; font-weight: 550; line-height: 1.4; }
.pos-floor-copy { margin-top: 7px !important; color: var(--pos-muted); font-size: 11px; line-height: 1.6; }
.pos-floor-legend { display: grid; gap: 15px; margin-top: 25px !important; padding: 0; list-style: none; }
.pos-floor-legend > li { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.pos-floor-legend strong { margin-left: auto; padding-right: 5px; font-size: 14px; font-weight: 550; }
.pos-legend-dot { display: block; width: 7px; height: 7px; border-radius: 50%; }
.pos-legend-free { background: #6fa67d; }
.pos-legend-occupied { background: #c9a555; }
.pos-legend-reserved { background: #8399bd; }
.pos-illustration-note { margin-top: 28px !important; color: var(--pos-muted); font-size: 10px; line-height: 1.6; }
.pos-kitchen-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pos-ticket { display: flex; flex-direction: column; min-width: 0; min-height: 255px; padding: 15px; border: 1px solid var(--pos-line); border-radius: 9px; background: #fcfdfb; }
.pos-ticket-featured { border-color: #b7d7c0; background: #f5faf5; }
.pos-ticket-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.pos-ticket-time { color: var(--pos-muted); font-size: 10px; }
.pos-ticket-heading { display: flex; align-items: center; gap: 11px; margin-top: 22px; }
.pos-ticket-number { color: var(--pos-ink); font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.pos-ticket-heading > div > strong, .pos-ticket-heading > div > span { display: block; font-size: 11px; font-weight: 500; }
.pos-ticket-heading > div > span { margin-top: 3px; color: var(--pos-muted); font-size: 10px; font-weight: 400; }
.pos-ticket-item { display: flex; gap: 8px; margin-top: 23px; padding-top: 16px; border-top: 1px dashed #d9e1d9; }
.pos-ticket-item > span { font-size: 14px; }
.pos-ticket-item > strong { padding-top: 1px; font-size: 12px; font-weight: 550; }
.pos-ticket-note { margin: 11px 0 19px 25px !important; color: #80652d; font-size: 11px; }
.pos-ticket-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--pos-line); color: #6a756d; font-size: 10px; }
.pos-ticket-featured .pos-ticket-foot { color: var(--pos-green-ink); }
.pos-ticket-foot .pos-icon { width: 14px; height: 14px; }
.pos-kitchen-caption { margin-top: 13px !important; color: var(--pos-muted); font-size: 10px; }
.pos-cash-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px !important; padding-bottom: 18px; border-bottom: 1px solid var(--pos-line); }
.pos-cash-metrics > div { padding-inline: 20px; border-left: 1px solid var(--pos-line); }
.pos-cash-metrics > div:first-child { padding-left: 0; border-left: 0; }
.pos-cash-metrics dt { color: #637067; font-size: 11px; }
.pos-cash-metrics dd { margin-top: 6px; color: var(--pos-ink); font-size: 27px; font-weight: 550; line-height: 1.2; letter-spacing: -.025em; }
.pos-cash-metrics dd > span { display: block; margin-top: 5px; color: var(--pos-muted); font-size: 10px; font-weight: 400; letter-spacing: 0; }
.pos-sales-chart { padding: 0; }
.pos-chart-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.pos-chart-heading > span { color: var(--pos-muted); font-size: 10px; }
.pos-chart-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 20px; height: 151px; padding-top: 15px; }
.pos-chart-day { display: grid; grid-template-rows: 15px 1fr 20px; justify-items: center; align-items: end; height: 100%; min-width: 0; }
.pos-chart-value { align-self: start; color: #536958; font-size: 9px; }
.pos-chart-bar { display: block; width: min(100%, 48px); height: var(--pos-bar-height); min-height: 5px; border-radius: 4px 4px 0 0; background: #91bd9b; }
.pos-chart-day:nth-child(6) .pos-chart-bar { background: var(--pos-green); }
.pos-chart-label { align-self: end; color: var(--pos-muted); font-size: 10px; }

@keyframes pos-view-enter {
  from { opacity: .65; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 700px) and (max-width: 1050px) {
  .pos-shell { grid-template-columns: 142px minmax(0, 1fr); }
  .pos-sidebar { padding-inline: 9px; }
  .pos-brand { padding-inline: 6px; }
  .pos-wordmark { width: 105px; }
  .pos-view-tab { padding-inline: 9px; gap: 8px; font-size: 12px; }
  .pos-view-area { padding-inline: 17px; }
  .pos-orders-layout { grid-template-columns: minmax(0, 1fr) 224px; gap: 12px; }
  .pos-ledger-heading, .pos-order-row { grid-template-columns: minmax(105px, 1fr) 44px 92px; gap: 6px; padding-inline: 9px; }
  .pos-ledger-heading > span:nth-child(2) { display: none; }
  .pos-order-source { display: none; }
  .pos-order-detail { padding: 13px; }
  .pos-detail-line { gap: 6px; }
  .pos-tables-layout { grid-template-columns: minmax(0, 1fr) 165px; gap: 17px; }
  .pos-floor { gap: 8px; padding: 11px; }
  .pos-floor-table { min-height: 112px; }
  .pos-table-shape { flex-direction: column; gap: 3px; }
  .pos-table-shape .pos-icon { width: 22px; height: 22px; }
  .pos-kitchen-board { gap: 9px; }
  .pos-ticket { padding: 12px; }
  .pos-ticket-top { gap: 5px; }
  .pos-ticket-item { gap: 6px; }
}

@media (max-width: 699px) {
  .pos-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 11px; font-size: 13px; }
  .pos-sidebar { display: block; padding: 14px 12px 0; border-right: 0; border-bottom: 1px solid var(--pos-line); background: #fafcf9; }
  .pos-brand { display: flex; align-items: center; gap: 13px; padding: 0 3px 13px; }
  .pos-wordmark { width: 99px; height: 27px; }
  .pos-brand-product { margin: 0; padding-left: 13px; border-left: 1px solid #d7dfd5; font-size: 11px; }
  .pos-branch, .pos-sidebar-footer { display: none; }
  .pos-view-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 1px; }
  .pos-view-tab { flex-direction: column; justify-content: center; gap: 5px; min-height: 60px; padding: 8px 3px 10px; border-radius: 6px 6px 0 0; font-size: 11px; text-align: center; white-space: nowrap; }
  .pos-view-tab .pos-icon { width: 19px; height: 19px; }
  .pos-view-tab[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--pos-green); background: #edf6ed; }
  .pos-topbar { min-height: 41px; gap: 8px; padding: 10px 15px; background: #fff; }
  .pos-topbar-title { font-size: 11px; }
  .pos-topbar-title > span { padding-inline: 3px; }
  .pos-example-label { max-width: 150px; font-size: 9px; line-height: 1.5; }
  .pos-view-area { padding: 20px 15px; }
  .pos-panel { min-height: 0; }
  .pos-view-heading { align-items: flex-start; gap: 10px; margin-bottom: 19px; }
  .pos-view-title { font-size: 23px; }
  .pos-view-description { max-width: 225px; font-size: 12px; }
  .pos-view-summary { max-width: 90px; padding-top: 3px; font-size: 10px; }
  .pos-orders-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pos-ledger-heading { display: none; }
  .pos-order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-height: 90px; padding: 13px; }
  .pos-order-customer { grid-column: 1; grid-row: 1; }
  .pos-order-customer strong { font-size: 14px; }
  .pos-order-customer > span { font-size: 11px; }
  .pos-order-source { grid-column: 1; grid-row: 2; font-size: 11px; }
  .pos-order-source .pos-icon { width: 15px; height: 15px; }
  .pos-order-price { grid-column: 2; grid-row: 1; align-self: start; padding-top: 2px; font-size: 14px; text-align: right; }
  .pos-order-row > .pos-status { grid-column: 2; grid-row: 2; justify-self: end; font-size: 10px; }
  .pos-order-connection { padding: 15px 4px 0; }
  .pos-order-connection p { font-size: 11px; }
  .pos-order-detail { padding: 17px; }
  .pos-detail-name { font-size: 20px; }
  .pos-detail-caption, .pos-detail-meta { font-size: 11px; }
  .pos-detail-meta { gap: 16px; }
  .pos-detail-line strong { font-size: 12px; }
  .pos-detail-line > div > span { font-size: 11px; }
  .pos-order-note { font-size: 12px; }
  .pos-order-note > span { font-size: 10px; }
  .pos-detail-total { font-size: 12px; }
  .pos-detail-total > strong { font-size: 21px; }
  .pos-detail-status { font-size: 11px; }
  .pos-tables-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pos-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .pos-floor-table { min-height: 120px; }
  .pos-table-shape > strong { font-size: 13px; }
  .pos-table-state { font-size: 11px; }
  .pos-table-people { font-size: 10px; }
  .pos-floor-summary { padding-top: 0; }
  .pos-floor-copy { font-size: 12px; }
  .pos-floor-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px !important; }
  .pos-floor-legend > li { flex-wrap: wrap; gap: 6px; font-size: 11px; }
  .pos-floor-legend strong { margin-left: 0; padding: 0; font-size: 13px; }
  .pos-illustration-note { margin-top: 18px !important; font-size: 11px; }
  .pos-kitchen-board { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pos-ticket { min-height: 224px; padding: 17px; }
  .pos-ticket-top > .pos-status, .pos-ticket-time { font-size: 11px; }
  .pos-ticket-heading { margin-top: 18px; }
  .pos-ticket-number { font-size: 33px; }
  .pos-ticket-heading > div > strong { font-size: 13px; }
  .pos-ticket-heading > div > span { font-size: 11px; }
  .pos-ticket-item { margin-top: 17px; padding-top: 15px; }
  .pos-ticket-item > strong { font-size: 13px; }
  .pos-ticket-note { margin-top: 7px !important; font-size: 12px; }
  .pos-ticket-foot, .pos-kitchen-caption { font-size: 11px; }
  .pos-cash-metrics { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 20px; }
  .pos-cash-metrics > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 0 0 15px; border-left: 0; border-bottom: 1px solid var(--pos-line); }
  .pos-cash-metrics > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .pos-cash-metrics dt { font-size: 12px; }
  .pos-cash-metrics dd { margin-top: 0; font-size: 26px; text-align: right; }
  .pos-cash-metrics dd > span { font-size: 10px; }
  .pos-chart-heading { align-items: flex-start; }
  .pos-chart-heading > span { max-width: 105px; text-align: right; }
  .pos-chart-bars { gap: 10px; height: 188px; margin-top: 8px; }
  .pos-chart-day { grid-template-rows: 17px 1fr 23px; }
  .pos-chart-value { font-size: 9px; }
  .pos-chart-label { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .pos-panel:not([hidden]) { animation: none; }
  .pos-view-tab { transition: none; }
}
