@font-face {
  font-family: Figtree;
  src: url("/fonts/figtree-latin-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --bg: #f3f6f8;
  --white: #fff;
  --navy: #17242d;
  --ink: #17242d;
  --muted: #5c6d7a;
  --orange: #ee7d4c;
  --orange-dark: #ad4119;
  --green: #237459;
  --line: #dbe2e7;
  --radius: 10px;
  --sidebar-width: 238px;
  font:
    14px/1.5 Figtree,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
button,
a,
input,
select,
textarea,
[tabindex] {
  outline-offset: 3px;
}
:focus-visible {
  outline: 3px solid var(--orange-dark);
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}
small {
  font-size: 12px;
  line-height: 1.5;
}
strong {
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.numeric-cell,
.metric-value,
.chart-total,
.stock-number,
.pos-price,
.product-card-price strong,
.cart-total,
.qty-control,
.cart-dock-values,
.receipt-info dd,
.stat-inline {
  font-variant-numeric: lining-nums tabular-nums;
}
kbd {
  font: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 4px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  white-space: nowrap;
}
/* Stable company context. Navigation follows the work, then the management. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 29px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-dot {
  color: var(--orange);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--orange);
  flex-shrink: 0;
}
.brand-mark svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
  stroke-linecap: square;
  stroke-linejoin: round;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  padding: 29px 15px 17px;
  background: var(--navy);
  color: #eaf0f4;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #536572 var(--navy);
}
.sidebar > * {
  flex-shrink: 0;
}
.sidebar > .brand {
  padding: 0 13px 28px;
}
.sidebar :focus-visible {
  outline-color: #ffad7a;
}
.workspace-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 21px;
  text-align: left;
  border: 1px solid #43535f;
  border-radius: 7px;
  background: #21323d;
}
.workspace-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  flex-shrink: 0;
  background: #e8eef1;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  color: #3f5362;
}
.workspace-copy {
  flex: 1;
  min-width: 0;
}
.workspace-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.workspace-copy span {
  display: block;
  color: #b8c8d3;
  font-size: 12px;
  margin-top: 3px;
}
.workspace-switch > svg {
  width: 15px;
  height: 15px;
  color: #bfccd5;
}
.nav-group {
  margin-bottom: 19px;
}
.nav-label {
  font-size: 12px;
  font-weight: 500;
  color: #a6bac8;
  padding: 0 13px 8px;
}
.nav-group nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #d7e2e9;
  font-size: 13px;
  font-weight: 450;
}
.nav-item > svg {
  width: 18px;
  height: 18px;
  color: #a8bdca;
}
.nav-item:hover {
  background: #263946;
  color: #fff;
}
.nav-item.active {
  background: #334853;
  color: #fff;
  font-weight: 600;
}
.nav-item.active::before {
  content: "";
  position: absolute;
  inset: 11px auto 11px 0;
  width: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.nav-item.active > svg {
  color: #ffa574;
}
.nav-count {
  margin-left: auto;
  padding: 1px 5px;
  background: #ec8c5b;
  color: #17242d;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 650;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #ffffff1c;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1px 6px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #dbe6eb;
  color: #365365;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}
.profile > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.profile-name {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-role {
  margin-top: 3px;
  font-size: 12px;
  color: #a8beca;
}
.profile > a {
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 38px;
  color: #b4c8d3;
}
.profile svg {
  width: 16px;
  height: 16px;
}
.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.top-context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}
.top-context > span {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 12px;
}
.top-context strong {
  font-size: 13px;
  font-weight: 500;
}
.top-context > span::after {
  content: "/";
  margin-left: 13px;
  color: #9aaab4;
}
.global-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.global-search > svg {
  width: 16px;
  height: 16px;
}
.global-search input {
  width: 230px;
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--ink);
  font-size: 12px;
  outline: 0;
}
.global-search:focus-within {
  box-shadow: 0 2px var(--orange-dark);
}
.global-search kbd {
  font-size: 12px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 5px;
  color: var(--muted);
  vertical-align: middle;
}
.icon-button:hover {
  background: #eaf0f4;
  color: var(--ink);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.notification-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--orange-dark);
}
.demo-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid #e4ceba;
  border-radius: 4px;
  color: #855027;
  background: #fff8ee;
  font-size: 12px;
  white-space: nowrap;
}
.demo-pill svg {
  width: 13px;
  height: 13px;
}
.mobile-toggle,
.mobile-backdrop,
.cart-dock {
  display: none;
}
/* Shared work surfaces. Different jobs have different density. */
.page {
  max-width: 1720px;
  margin: 0 auto;
  padding: 31px 32px 18px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-heading > div:first-child {
  min-width: 0;
}
.page-heading p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 65ch;
}
.heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 0.12s;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--orange-dark);
  color: #fff;
  border-color: var(--orange-dark);
}
.btn-primary:hover {
  background: #923410;
  border-color: #923410;
}
.btn-secondary {
  background: var(--white);
  color: #354f61;
  border-color: #bccbd5;
}
.btn-secondary:hover {
  background: #edf3f6;
  border-color: #8ea4b3;
}
.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-quiet {
  color: #4e6575;
  padding-inline: 4px;
}
.btn-quiet:hover {
  color: var(--orange-dark);
}
.btn-danger {
  background: #fff2ef;
  color: #a1342d;
  border-color: #e6bab4;
}
.btn-success {
  background: #edf8f1;
  color: #236a4a;
  border-color: #b8d9c8;
}
.btn-wide {
  width: 100%;
}
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8f3d1c;
  font-size: 13px;
  font-weight: 550;
  min-height: 32px;
}
.link-button:hover {
  text-decoration: underline;
}
.link-button svg {
  width: 15px;
  height: 15px;
}
.actions-inline,
.row-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.row-actions {
  justify-content: flex-end;
}
.example-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -5px 0 27px;
  padding: 11px 14px;
  border: 1px solid #e5d8c8;
  background: #fffaf2;
  border-radius: 6px;
  color: #755536;
  font-size: 12px;
}
.example-note > svg {
  width: 15px;
  height: 15px;
}
.example-note p {
  flex: 1;
}
.example-note .link-button {
  font-size: 12px;
  min-height: 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.section-heading h2 {
  font-size: 15px;
  font-weight: 600;
}
.section-heading > span {
  font-size: 12px;
  color: var(--muted);
}
.metrics,
.finance-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.metrics-three,
.finance-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.metric:last-child {
  border-right: 0;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #4e6473;
  font-size: 12px;
  min-height: 22px;
}
.metric-icon {
  display: none;
}
.metric-value {
  margin-top: 10px;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.metric-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
}
.trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.trend svg {
  width: 12px;
  height: 12px;
}
.trend.warning {
  color: #925a24;
}
.work-queue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 29px;
  border: 1px solid #cbd7df;
  background: #edf3f6;
  border-radius: var(--radius);
}
.task-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid #cbd7df;
}
.task-item:last-child {
  border-right: 0;
}
.task-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  color: #4b6a7f;
}
.task-symbol.attention {
  color: #a24e24;
}
.task-symbol svg {
  width: 22px;
  height: 22px;
}
.task-item h3 {
  font-size: 14px;
}
.task-item p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 5px 0 13px;
}
.task-item > .btn {
  grid-column: 2;
  justify-self: start;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 23px;
}
.main-column,
.side-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 22px 17px;
}
.card-head h2 {
  font-size: 18px;
}
.card-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.card-head > .btn-quiet {
  padding-block: 2px;
  min-height: 27px;
  font-size: 12px;
}
.quick-help {
  padding: 22px;
}
.quick-help p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 10px;
}
.catalog-utility {
  padding: 22px;
  border: 1px solid #bdcdd6;
  border-radius: var(--radius);
  background: transparent;
}
.catalog-utility > div {
  height: 45px;
  overflow: hidden;
  margin-bottom: 17px;
}
.catalog-utility > div svg {
  width: 100%;
  height: 80px;
  margin-top: -17px;
}
.catalog-utility h2 {
  font-size: 17px;
}
.catalog-utility p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
}
.catalog-utility .btn {
  margin-top: 17px;
}
.list-limit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.list-limit svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.activity {
  padding: 0 20px 20px;
}
.activity-item {
  position: relative;
  display: flex;
  gap: 11px;
  padding: 11px 0;
}
.activity-item + .activity-item::before {
  position: absolute;
  content: "";
  top: -14px;
  left: 14px;
  height: 26px;
  width: 1px;
  background: #d4e2e8;
}
.activity-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  background: #edf4f4;
  border-radius: 50%;
  color: #407061;
}
.activity-icon svg {
  width: 13px;
  height: 13px;
}
.activity-info {
  min-width: 0;
  font-size: 12px;
  line-height: 1.6;
}
.activity-info strong {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.activity-info time {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.stock-row:last-child {
  border-bottom: 0;
}
.replenishment-list {
  padding: 0 22px;
}
.stock-info {
  flex: 1;
  min-width: 0;
}
.stock-info strong {
  display: block;
  font-size: 13px;
}
.stock-info span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.stock-number {
  font-size: 13px;
  white-space: nowrap;
  color: #945522;
}
.product-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid #d5e1e7;
  background: #edf4f6;
  color: #6d8998;
  border-radius: 6px;
}
.product-symbol svg {
  width: 19px;
  height: 19px;
}
.product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-cell > div {
  min-width: 0;
}
.product-cell strong {
  display: block;
  max-width: 290px;
  white-space: normal;
  font-size: 13px;
  line-height: 1.5;
}
.product-cell small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.stock-indicator i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2d7659;
}
.stock-indicator.low {
  color: #965421;
}
.stock-indicator.low i {
  background: #b56b2b;
}
.stock-indicator.out {
  color: #a6332b;
}
.stock-indicator.out i {
  background: #a6332b;
}
/* Lists are a primary work surface, with explicit scope and keyboard regions. */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.table-wrap:focus-visible {
  outline-offset: -3px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f5f8fa;
  color: #4e6473;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
td {
  padding: 16px 18px;
  border-bottom: 1px solid #e5ebee;
  color: #344f60;
  white-space: nowrap;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover td {
  background: #f8fafb;
}
.numeric-cell {
  text-align: right;
}
.numeric-cell .stock-indicator {
  justify-content: flex-end;
}
.order-id {
  font-weight: 600;
  color: #4c6c80;
  padding: 5px 0;
}
.order-id:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}
.customer-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-avatar {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #e9eef1;
  color: #526b7a;
  font-size: 12px;
  font-weight: 600;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge-green {
  color: #23684b;
  background: #eaf5ee;
}
.badge-orange {
  color: #925422;
  background: #fff2e4;
}
.badge-blue {
  color: #315f8c;
  background: #edf4ff;
}
.badge-gray {
  color: #526574;
  background: #eef1f3;
}
.badge-red {
  color: #a6352a;
  background: #ffede9;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.table-footer a {
  color: #465f70;
}
.table-scroll-hint {
  display: none;
}
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  min-width: 0;
  flex: 1;
  max-width: 360px;
  padding: 0 12px;
  border: 1px solid #b8c9d5;
  border-radius: 6px;
  background: var(--white);
  color: #648091;
}
.search-field > svg {
  width: 17px;
  height: 17px;
}
.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 0;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: 13px;
}
.search-field input::placeholder {
  color: #69808e;
  opacity: 1;
}
.search-field:focus-within {
  border-color: var(--orange-dark);
  outline: 2px solid #ad41192b;
  outline-offset: 0;
}
.search-field input:focus-visible {
  outline: 0;
}
.filter-select {
  min-height: 42px;
  max-width: 100%;
  padding: 9px 30px 9px 12px;
  border: 1px solid #b8c9d5;
  border-radius: 6px;
  background: var(--white);
  color: #3d5b70;
  font-size: 13px;
}
.toolbar-right {
  margin-left: auto;
  white-space: nowrap;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 27px 22px;
  text-align: center;
  color: var(--muted);
}
.empty-visual {
  display: grid;
  place-items: center;
  width: 120px;
  height: 62px;
  margin: 0 auto 13px;
  overflow: hidden;
  color: #7d99a9;
}
.empty-visual svg {
  width: 120px;
  height: 72px;
}
.empty-visual > svg[viewBox="0 0 24 24"] {
  width: 29px;
  height: 29px;
}
.empty strong {
  display: block;
  color: #3b5261;
  font-size: 14px;
  font-weight: 600;
}
.empty p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.7;
  max-width: 37ch;
}
.empty-action {
  margin-top: 16px;
}
.chart-card .card-head {
  align-items: center;
}
.chart-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 22px 14px;
  flex-wrap: wrap;
}
.chart-total {
  font-size: 25px;
  letter-spacing: -0.5px;
  font-weight: 650;
}
.chart-note {
  font-size: 12px;
  color: var(--muted);
}
.chart-wrap {
  padding: 3px 22px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.chart {
  display: block;
  width: 100%;
  min-width: 580px;
  height: auto;
  stroke: none;
  overflow: visible;
}
.chart text {
  font-family: Figtree, sans-serif;
  font-size: 12px;
  fill: #516d80;
  stroke: none;
}
.chart line {
  stroke: #dde5ea;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.chart-scroll-hint {
  display: none;
}
.chart-legend,
.chart-footer,
.chart-legend i,
.chart-legend span {
  font-size: 12px;
  color: var(--muted);
}
/* Product entry and the current sale deliberately use different density. */
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  align-items: start;
  gap: 23px;
}
.pos-products {
  min-width: 0;
}
.pos-products > .toolbar {
  padding: 0 0 15px;
  border: 0;
  flex-wrap: nowrap;
}
.pos-products .search-field {
  max-width: none;
}
.picker-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 2px 11px;
  color: var(--muted);
  font-size: 12px;
}
.picker-heading .link-button {
  font-size: 12px;
  min-height: 25px;
}
.pos-product-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.pos-product {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 105px;
  align-items: center;
  gap: 13px;
  padding: 17px 16px;
  border-bottom: 1px solid #e3e9ed;
}
.pos-product:last-child {
  border-bottom: 0;
}
.pos-product-name h3 {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}
.pos-product-name p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}
.pos-product-name p > span {
  color: #587686;
}
.pos-price {
  font-size: 14px;
  white-space: nowrap;
}
.pos-product > .btn {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
}
.cash-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  border: 1px solid #c7d2da;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #5a6f7c;
  background: #fff;
}
.cash-context.is-open {
  border-color: #b7d5c8;
  color: #2e6851;
  background: #eff8f4;
}
.cash-context svg {
  width: 16px;
  height: 16px;
}
.cart {
  position: sticky;
  top: 22px;
  border-color: #b8cbd6;
  border-radius: 9px;
}
.cart .card-head {
  padding: 21px 22px 18px;
  background: #edf4f7;
  border-bottom: 1px solid #cbd9e1;
}
.cart .card-head h2 {
  font-size: 18px;
}
.receipt-mark {
  color: #6a899d;
}
.receipt-mark > svg {
  width: 23px;
  height: 23px;
}
.cart-lines {
  padding: 0 21px;
  max-height: 360px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid #dce5ea;
}
.cart-line:last-child {
  border-bottom: 0;
}
.cart-line-info {
  flex: 1 1 100%;
  min-width: 0;
  padding-right: 0;
}
.cart-line-info strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.cart-line-info > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9cbd7;
  border-radius: 5px;
  min-height: 35px;
  font-size: 13px;
  color: #385f7a;
  overflow: hidden;
}
.qty-control button {
  width: 34px;
  min-height: 34px;
  flex-shrink: 0;
  font-size: 17px;
}
.qty-control button:hover {
  background: #edf4f7;
}
.qty-control span {
  min-width: 30px;
  text-align: center;
  font-weight: 550;
  color: #283f4c;
}
.remove-item {
  display: grid;
  place-items: center;
  min-width: 35px;
  min-height: 35px;
  margin-left: auto;
  color: #8e5f4d;
  border-radius: 5px;
}
.remove-item:hover {
  background: #fff3ee;
}
.remove-item svg {
  width: 15px;
  height: 15px;
}
.cart-lines > .empty {
  min-height: 210px;
  padding: 23px 0;
}
.cart-lines .empty-visual {
  height: 50px;
  width: 100px;
  margin-bottom: 9px;
}
.cart-lines .empty-visual svg {
  height: 58px;
  width: 100px;
}
.cart-lines .empty strong {
  font-size: 13px;
}
.cart-lines .empty p {
  font-size: 12px;
}
.cart-summary {
  padding: 20px 21px 16px;
  border-top: 1px solid #dce5ea;
}
.cart-summary > .field {
  margin-bottom: 15px;
}
.cart-summary .field-row {
  margin: 0 0 15px;
  gap: 10px;
}
.cart-summary .field {
  margin-bottom: 0;
}
.cart-summary .field label {
  font-size: 12px;
}
.cart-summary .field input,
.cart-summary .field select {
  min-height: 42px;
  font-size: 13px;
}
.cart-summary .field small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}
.receipt-subtotal,
.discount-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #4d6677;
  padding: 4px 0;
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 17px;
  padding: 17px 0 0;
  border-top: 1px dashed #b6c8d5;
  font-size: 13px;
  color: #344f61;
}
.cart-total strong {
  font-size: 27px;
  letter-spacing: -0.7px;
  line-height: 1.25;
  color: var(--ink);
}
.received-field {
  margin-bottom: 13px !important;
}
.manual-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #5b7180;
  line-height: 1.7;
  margin: 12px 0 14px;
}
.manual-note svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
}
.cash-required {
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: #fff4e6;
  color: #935522;
  font-size: 12px;
}
.payment-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #4e6677;
}
.payment-preview [data-change-row] {
  color: #23684b;
}
.checkout-button {
  min-height: 44px;
}
.cart-summary > .btn-quiet {
  font-size: 12px;
  margin-top: 4px;
}
.cart-note {
  padding: 12px 21px 17px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  background: #f7fafb;
  border-top: 1px solid #e3ebef;
}
.cart-panel:focus-visible {
  outline-offset: 3px;
}
.cart-dock-values {
  min-width: 0;
}
.cart-dock-values span {
  font-size: 12px;
  color: var(--muted);
}
.cart-dock-values strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-top: 3px;
  white-space: nowrap;
}
/* The catalogue reads as a shop shelf, with selection as a separate job. */
.product-art {
  width: 40px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #f1f4f4 !important;
}
.product-art svg {
  width: 33px;
  height: 44px;
  stroke: none;
}
.product-art.large {
  width: 100%;
  height: 166px;
  border-radius: 0;
  background: #edf2f3 !important;
}
.product-art.large svg {
  width: 83px;
  height: 125px;
}
.product-art.product-art-package.large svg {
  width: 88px;
  height: 127px;
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d6e0e6;
  border-radius: 9px;
}
.product-card-info {
  padding: 17px 17px 16px;
}
.category {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.product-card h3 {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  margin-top: 7px;
  min-height: 42px;
  overflow-wrap: anywhere;
}
.product-card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.product-card-price strong {
  font-size: 18px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.product-card-price > .btn {
  min-height: 35px;
  padding: 7px 9px;
  font-size: 12px;
}
.product-card-price > .btn svg {
  width: 14px;
  height: 14px;
}
.product-stock {
  display: block;
  font-size: 12px;
  color: #3f7561;
  margin-top: 11px;
}
.product-stock.unavailable {
  color: #7a6262;
}
.catalog-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  padding: 23px 25px;
  border: 1px solid #cbd9e2;
  border-radius: 10px;
  background: #edf4f7;
  margin-bottom: 22px;
}
.catalog-share h2 {
  font-size: 18px;
}
.catalog-share > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
  margin-top: 8px;
}
.catalog-link {
  display: flex;
  align-items: center;
  min-height: 43px;
  padding-left: 12px;
  background: var(--white);
  border: 1px solid #b6cbd9;
  border-radius: 5px;
  margin-top: 15px;
  min-width: 0;
}
.catalog-link input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: none;
  color: #3f627b;
  font-size: 12px;
  padding: 10px 0;
  outline: 0;
}
.catalog-link:focus-within {
  outline: 2px solid var(--orange-dark);
}
.catalog-link button {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  color: #47677d;
  border-left: 1px solid #d6e1e8;
}
.catalog-link button svg {
  width: 16px;
  height: 16px;
}
.catalog-share > .access-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 11px;
}
.access-note svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
}
.catalog-field {
  height: 82px;
  overflow: hidden;
}
.catalog-field svg {
  width: 100%;
  height: 115px;
  transform: translateY(-8px);
}
.catalog-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid #cbd9e0;
  counter-reset: step;
}
.catalog-flow li {
  counter-increment: step;
  color: #4d6677;
  font-size: 12px;
  line-height: 1.5;
}
.catalog-flow li::before {
  content: counter(step) ".";
  display: block;
  margin-bottom: 5px;
  color: #9c4925;
  font-weight: 600;
}
.catalog-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.detail-tabs {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-bottom: 23px;
  border-bottom: 1px solid #cbd8e0;
  overflow-x: auto;
}
.detail-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 49px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.detail-tabs button.active {
  color: #244b64;
}
.detail-tabs button.active::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--orange-dark);
  content: "";
  border-radius: 3px 3px 0 0;
}
.detail-tabs button span {
  font-size: 12px;
  color: #4e6575;
  background: #e7eef2;
  padding: 1px 5px;
  border-radius: 3px;
}
.pending-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-dark);
}
.detail-tabs .tab-refresh {
  margin-left: auto;
  gap: 5px;
  font-size: 12px;
}
.tab-refresh svg {
  width: 14px;
  height: 14px;
}
.list-heading {
  padding: 20px 22px 0;
}
.selection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 22px;
  border-bottom: 1px solid #e2eaee;
}
.selection-row:last-child {
  border-bottom: 0;
}
.selection-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.selection-row p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.selection-row .actions-inline > strong {
  font-size: 14px;
  white-space: nowrap;
}
.public-shell {
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 36px 25px;
}
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid #cddae2;
}
.public-header .brand {
  font-size: 25px;
  flex-shrink: 0;
}
.public-store {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #385b71;
  font-size: 15px;
  min-width: 0;
}
.public-store strong {
  overflow-wrap: anywhere;
}
.public-store > svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.public-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 25px;
  align-items: center;
  padding: 33px 0 29px;
  overflow: hidden;
}
.public-hero h1 {
  font-size: 32px;
  letter-spacing: -0.6px;
}
.public-hero p {
  margin-top: 9px;
  max-width: 50ch;
  line-height: 1.7;
  font-size: 14px;
  color: var(--muted);
}
.catalog-steps {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 23px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #546f80;
  font-size: 12px;
  counter-reset: step;
}
.catalog-steps li {
  counter-increment: step;
  max-width: 100px;
  line-height: 1.7;
}
.catalog-steps li::before {
  content: counter(step) ".";
  display: block;
  color: #9a4724;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 5px;
}
.public-field {
  display: none;
}
.public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 25px;
  align-items: start;
}
.public-products {
  min-width: 0;
}
.public-products .toolbar {
  padding: 0 0 19px;
  border: 0;
}
.public-products .search-field {
  max-width: none;
}
.public-products .section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.public-layout > .cart {
  top: 18px;
}
.public-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-top: 29px;
  padding-top: 20px;
  border-top: 1px solid #cbd8e1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.public-footer > p {
  max-width: 78ch;
}
.public-footer > .link-button {
  font-size: 12px;
  min-height: 24px;
  white-space: nowrap;
}
.selection-card {
  max-width: 690px;
  margin: 40px auto;
  border: 1px solid #c1d1dc;
  border-radius: 10px;
  background: var(--white);
  padding: 34px;
}
.selection-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  margin-bottom: 22px;
  border: 1px solid #b9d8c8;
  border-radius: 50%;
  color: #2a7655;
  background: #f1f8f2;
}
.selection-icon > svg {
  width: 23px;
  height: 23px;
}
.selection-card h1 {
  font-size: 28px;
}
.selection-card > p {
  margin: 11px 0 22px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.selection-card .cart-line {
  flex-wrap: nowrap;
}
.selection-card .cart-line-info {
  flex: 1;
}
.selection-card > .btn {
  margin-top: 14px;
  min-height: 43px;
}
.selection-code {
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--muted);
  padding: 12px;
  border-radius: 5px;
  background: #f0f5f7;
}
/* Management screens retain their own work hierarchy without promotional chrome. */
.campaign-card {
  padding: 23px;
}
.campaign-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.campaign-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #edf4f7;
  color: #6a899c;
  border-radius: 7px;
}
.campaign-icon svg {
  width: 19px;
  height: 19px;
}
.campaign-card h3 {
  font-size: 16px;
  line-height: 1.6;
}
.campaign-card > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 6px;
}
.campaign-message {
  padding: 16px;
  margin-top: 18px;
  border: 1px solid #d8e3e9;
  border-radius: 6px;
  background: #f4f8fa;
  font-size: 13px;
  line-height: 1.8;
  color: #4f6777;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.campaign-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.campaign-meta strong {
  color: #3c586b;
}
.cash-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.role-card {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.role-card > svg {
  grid-row: 1/3;
  color: #6f8a9c;
  min-width: 20px;
  margin-top: 3px;
}
.role-card h3 {
  font-size: 14px;
}
.role-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.settings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 23px;
}
.settings-section {
  padding: 25px;
}
.settings-section h2 {
  font-size: 18px;
}
.settings-section > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 9px 0 23px;
  max-width: 65ch;
}
.settings-section .field {
  margin-bottom: 18px;
}
.security-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid #e1e8ed;
}
.security-item > svg {
  width: 20px;
  height: 20px;
  color: #6a8799;
  margin-top: 3px;
}
.security-item > div {
  min-width: 0;
}
.security-item strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.security-item p {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 23px;
  padding: 15px 17px;
  border: 1px solid #e5d2b7;
  border-radius: 6px;
  background: #fff8ec;
  color: #7d5729;
  font-size: 12px;
  line-height: 1.8;
}
.callout > svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}
.callout > div {
  flex: 1;
  min-width: 0;
}
.callout p {
  margin-top: 3px;
}
.callout strong {
  font-weight: 600;
}
.callout .icon-button {
  min-width: 30px;
  min-height: 30px;
  width: 30px;
}
.callout-info {
  border-color: #c7dbe8;
  background: #edf5fa;
  color: #41647c;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
/* Forms, confirmations and accessibility are part of the product, not a separate skin. */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-bottom: 17px;
}
.field label {
  font-size: 12px;
  font-weight: 550;
  color: #3e5d73;
  line-height: 1.6;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #b7c9d6;
  border-radius: 5px;
  background: var(--white);
  color: #263f50;
  font-size: 13px;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange-dark);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:disabled,
.field select:disabled {
  background: #f1f5f7;
  color: #708392;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 17px;
  font-size: 12px;
  line-height: 1.8;
  color: #4e6575;
}
.checkbox-field input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 4px 0 0;
  accent-color: var(--orange-dark);
}
.receipt-info {
  margin: 0 0 20px;
  padding: 1px 0;
}
.receipt-info > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #e1e9ee;
  line-height: 1.7;
}
.receipt-info dt {
  font-size: 12px;
  color: var(--muted);
}
.receipt-info dd {
  font-size: 13px;
  font-weight: 550;
  text-align: right;
  margin: 0;
  overflow-wrap: anywhere;
}
.tenant-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tenant-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bdcdd9;
  border-radius: 7px;
  text-align: left;
  background: #fff;
}
.tenant-option:hover {
  border-color: #8da8bb;
  background: #f1f6f9;
}
.tenant-option > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.tenant-option strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.tenant-option small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.tenant-option > svg {
  width: 17px;
  height: 17px;
  color: #597c94;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #0f253972;
  backdrop-filter: blur(3px);
}
.modal {
  max-width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid #c3d2de;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 70px #112c3e33;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 25px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-head > div {
  min-width: 0;
}
.modal-head h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
.modal-head p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 7px;
}
.modal-body {
  padding: 23px 25px 3px;
}
.modal-body > p {
  font-size: 13px;
  line-height: 1.8;
  color: #516c7e;
  margin-bottom: 17px;
}
.modal-body > .btn {
  margin-bottom: 15px;
}
.modal-body .callout {
  margin-bottom: 17px;
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  padding: 17px 25px 23px;
}
.modal-actions .btn {
  min-height: 42px;
}
.form-error:empty {
  display: none;
}
.form-error {
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid #ecc6be;
  border-radius: 5px;
  background: #fff3ef;
  color: #a63b2c;
  font-size: 12px;
  line-height: 1.7;
}
#toast-root {
  position: fixed;
  z-index: 200;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 420px;
  padding: 13px 16px;
  border: 1px solid #b5d8c6;
  border-radius: 7px;
  color: #1e6445;
  background: #f4fbf7;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: 0 4px 20px #163c2912;
}
.toast > svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.toast.error {
  border-color: #e1b7ab;
  color: #a33b2b;
  background: #fff7f3;
}
/* The entry is where the visual identity has room; working screens remain quiet. */
.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  color: var(--muted);
  font-size: 13px;
}
.boot > .brand-mark {
  font-size: 30px;
  font-weight: 700;
}
.signin-card {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.signin-card .brand {
  margin-bottom: 29px;
}
.signin-card h1 {
  font-size: 25px;
}
.signin-card > p {
  margin: 12px 0 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.signin-card small {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.signin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--white);
}
.signin-access {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 47px 54px 29px;
}
.signin-access > .brand {
  font-size: 32px;
}
.signin-form {
  width: 100%;
  max-width: 395px;
  margin: auto 0;
  padding: 65px 0 85px;
}
.signin-form h1 {
  font-size: 32px;
  font-weight: 600;
}
.signin-form > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 15px 0 30px;
  max-width: 42ch;
}
.signin-form > .btn {
  min-height: 48px;
  font-size: 14px;
}
.signin-form > .signin-demo-link {
  margin-top: 24px;
}
.signin-form > small {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 17px;
}
.signin-access > footer {
  font-size: 12px;
  color: #6a8292;
}
.signin-art {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--navy);
  color: #f3f6f8;
}
.signin-art > img {
  position: absolute;
  inset: 2% 0 auto;
  width: 100%;
  height: 58%;
  object-fit: contain;
}
.signin-art > div {
  position: absolute;
  inset: auto 55px 58px;
}
.signin-art h2 {
  font-size: clamp(36px, 4.6vw, 67px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  font-weight: 450;
}
.signin-art p {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #bbd0dd;
}
/* Reflow is intentional: nothing is merely shrunk to fit. */
@media (min-width: 1580px) {
  .page {
    padding: 37px 38px 22px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 27px;
  }
  .metric-value {
    font-size: 34px;
  }
  .metric {
    padding: 22px 25px;
  }
  .task-item {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    padding: 20px;
  }
  .task-item p {
    margin-bottom: 0;
  }
  .task-item > .btn {
    grid-column: 3;
  }
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 27px;
  }
  .pos-product {
    padding: 20px;
  }
  .product-art.large {
    height: 185px;
  }
  .public-products .section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1350px) {
  :root {
    --sidebar-width: 220px;
  }
  .page {
    padding: 28px 25px 18px;
  }
  .topbar {
    padding: 0 25px;
    gap: 17px;
  }
  .global-search input {
    width: 182px;
  }
  .global-search kbd {
    display: none;
  }
  .top-context > span {
    max-width: 130px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > div:first-child {
    flex: 1;
  }
  .heading-actions {
    flex-wrap: wrap;
    max-width: 55%;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
  }
  .metric {
    padding: 18px;
  }
  .metric-value {
    font-size: 27px;
  }
  .task-item {
    padding: 16px 13px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
  }
  .task-symbol {
    width: 24px;
  }
  .task-item h3 {
    font-size: 13px;
  }
  .task-item p {
    font-size: 12px;
  }
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 19px;
  }
  .pos-product {
    grid-template-columns: minmax(0, 1fr) auto 92px;
    gap: 11px;
    padding: 16px 14px;
  }
  .pos-product > .product-symbol {
    display: none;
  }
  .pos-product-name h3 {
    font-size: 13px;
  }
  .pos-price {
    font-size: 13px;
  }
  .pos-product-name p {
    font-size: 12px;
  }
  .pos-product > .btn {
    font-size: 12px;
    padding-inline: 8px;
  }
  .catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-workbench {
    gap: 23px;
  }
  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-products .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
  }
  .public-hero h1 {
    font-size: 29px;
  }
  .public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
  .catalog-steps {
    gap: 15px;
  }
  .product-card-info {
    padding: 15px;
  }
  .public-shell {
    padding-inline: 28px;
  }
}
@media (max-width: 1160px) {
  .global-search {
    display: none;
  }
  .top-actions {
    margin-left: auto;
  }
  .top-context {
    flex: 1;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .heading-actions {
    max-width: 100%;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .side-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics .metric:nth-child(2) {
    border-right: 0;
  }
  .metrics .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metrics-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metrics-three .metric:nth-child(-n + 2) {
    border-bottom: 0;
  }
  .metrics-three .metric:nth-child(2) {
    border-right: 1px solid var(--line);
  }
  .metric-value {
    font-size: 25px;
  }
  .pos-products > .toolbar {
    flex-wrap: wrap;
  }
  .pos-products .search-field {
    flex-basis: 100%;
  }
  .pos-products .filter-select {
    width: 100%;
  }
  .pos-product {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
  }
  .pos-product > .btn {
    grid-column: 2;
    grid-row: 1/3;
    min-height: 44px;
  }
  .pos-product-name {
    grid-column: 1;
  }
  .pos-price {
    grid-column: 1;
    font-size: 15px;
  }
  .pos-product-name p {
    font-size: 12px;
  }
  .catalog-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .catalog-flow {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .catalog-field {
    width: 42%;
    height: 60px;
  }
  .catalog-field svg {
    height: 84px;
    transform: translateY(-10px);
  }
  .catalog-flow ol {
    flex: 1;
    border-top: 0;
    padding: 0;
    gap: 10px;
  }
  .catalog-flow li {
    font-size: 12px;
  }
  .catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .finance-overview .metric-value {
    font-size: 25px;
  }
  .public-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .catalog-steps {
    justify-content: flex-start;
    gap: 30px;
  }
  .catalog-steps li {
    max-width: none;
  }
  .catalog-steps li::before {
    display: inline;
    margin: 0 6px 0 0;
  }
  .signin-access {
    padding-inline: 35px;
  }
  .signin-art > div {
    inset: auto 35px 47px;
  }
}
@media (max-width: 860px) {
  .demo-pill,
  .example-note .link-button,
  .cash-context {
    min-height: 44px;
  }
  .sidebar {
    width: 252px;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition: transform 0.16s;
  }
  .sidebar.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  .nav-item {
    min-height: 44px;
    font-size: 14px;
  }
  .workspace-copy strong {
    font-size: 14px;
  }
  .workspace-copy span {
    font-size: 12px;
  }
  .profile-name {
    font-size: 13px;
  }
  .profile-role {
    font-size: 12px;
  }
  .profile > a {
    min-height: 44px;
    min-width: 44px;
  }
  .mobile-backdrop.visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    background: #10263177;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 68px;
    padding: 0 23px;
    gap: 13px;
  }
  .top-context {
    min-width: 0;
    flex: 1;
  }
  .top-context > span {
    display: none;
  }
  .top-context strong {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }
  .mobile-toggle {
    display: inline-grid;
    margin-left: -6px;
  }
  .top-actions {
    margin-left: 0;
    gap: 8px;
  }
  .icon-button {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
  }
  .btn {
    min-height: 44px;
  }
  .btn-primary {
    min-height: 46px;
  }
  .task-item > .btn {
    min-height: 44px;
  }
  .picker-heading .link-button {
    min-height: 44px;
  }
  .metric-value {
    font-size: 28px;
  }
  .page {
    padding: 27px 23px 18px;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .work-queue {
    margin-bottom: 24px;
  }
  .task-item h3 {
    font-size: 14px;
  }
  .task-item p {
    font-size: 12px;
  }
  .table-scroll-hint {
    display: block;
    padding: 0 20px;
    margin: 10px 0;
    color: var(--muted);
    font-size: 12px;
  }
  .table-wrap th:first-child,
  .table-wrap td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 #d8e3ea;
  }
  .table-wrap th:first-child {
    z-index: 2;
    background: #f5f8fa;
  }
  .table-wrap td:first-child {
    max-width: 230px;
  }
  .product-cell strong {
    max-width: 170px;
  }
  .row-actions .link-button {
    min-height: 44px;
    padding-inline: 6px;
  }
  .chart-scroll-hint {
    display: block;
    margin: 0 22px 10px;
    font-size: 12px;
    color: var(--muted);
  }
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 335px;
    gap: 17px;
  }
  .pos-product > .btn {
    font-size: 12px;
  }
  .qty-control {
    min-height: 44px;
  }
  .qty-control button {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
  }
  .qty-control span {
    min-width: 28px;
  }
  .remove-item {
    min-width: 44px;
    min-height: 44px;
  }
  .cart-summary .field input,
  .cart-summary .field select {
    font-size: 16px;
    min-height: 46px;
  }
  .cart-total strong {
    font-size: 28px;
  }
  .cart-line-info strong {
    font-size: 14px;
  }
  .cart-line-info > span {
    font-size: 13px;
  }
  .cart .card-head h2 {
    font-size: 19px;
  }
  .cart-note {
    font-size: 12px;
  }
  .manual-note {
    font-size: 12px;
  }
  .cart-summary .field label {
    font-size: 13px;
  }
  .cart-summary .field small {
    font-size: 12px;
  }
  .public-shell {
    padding-inline: 23px;
  }
  .public-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
  }
  .public-products .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .public-products .search-field {
    width: 100%;
  }
  .product-card-price > .btn {
    min-height: 44px;
  }
  .catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-link button {
    min-width: 44px;
    min-height: 44px;
  }
  .filter-select,
  .field input,
  .field select,
  .field textarea,
  .catalog-link input {
    min-height: 46px;
    font-size: 16px;
  }
  .search-field {
    min-height: 46px;
  }
  .search-field input {
    min-height: 44px;
    font-size: 16px;
  }
  .field label {
    font-size: 13px;
  }
  .checkbox-field {
    font-size: 13px;
  }
  .checkbox-field input {
    min-width: 20px;
    min-height: 20px;
  }
  .modal-actions .btn {
    min-height: 46px;
  }
}
@media (max-width: 720px) {
  h1 {
    font-size: 27px;
    line-height: 1.25;
  }
  .topbar {
    padding-inline: 18px;
    gap: 10px;
  }
  .page {
    padding: 25px 18px 18px;
  }
  .heading-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .heading-actions > .btn {
    flex: 1;
    min-height: 46px;
  }
  .page-heading p {
    font-size: 13px;
    line-height: 1.7;
  }
  .page-heading > div:first-child {
    flex-basis: 100%;
  }
  .example-note {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
    margin: -5px 0 23px;
    font-size: 12px;
  }
  .example-note > svg {
    margin-top: 3px;
  }
  .example-note p {
    flex: 1;
    min-width: 170px;
  }
  .example-note .link-button {
    margin-left: 25px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .section-heading > span {
    font-size: 12px;
  }
  .metrics,
  .metrics-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 22px;
  }
  .metric {
    padding: 17px 15px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-top {
    font-size: 12px;
    min-height: 36px;
    align-items: flex-start;
  }
  .metric-foot {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 7px;
  }
  .metrics-three .metric:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 15px;
    align-items: center;
  }
  .metrics-three .metric:last-child .metric-top {
    min-height: 0;
  }
  .metrics-three .metric:last-child .metric-value {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0;
    font-size: 25px;
  }
  .metrics-three .metric:last-child .metric-foot {
    margin: 0;
  }
  .metrics-three .metric {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 15px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics-three .metric:last-child {
    border-bottom: 0;
  }
  .metrics-three .metric .metric-top {
    min-height: 0;
  }
  .metrics-three .metric .metric-value {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    font-size: 24px;
  }
  .metrics-three .metric .metric-foot {
    margin: 0;
  }
  .view-products .metrics .metric:nth-child(n + 3) {
    grid-column: 1 / -1;
    border-right: 0;
  }
  .view-products .metrics .metric:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }
  .metrics:not(.metrics-three) .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .work-queue {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .task-item {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid #cedae2;
  }
  .task-item:last-child {
    border-bottom: 0;
  }
  .task-item p {
    margin-bottom: 0;
    font-size: 12px;
  }
  .task-item > .btn {
    grid-column: 3;
    font-size: 12px;
    padding-inline: 8px;
    min-height: 44px;
  }
  .task-item h3 {
    font-size: 13px;
  }
  .task-symbol {
    width: 27px;
  }
  .overview-grid {
    gap: 20px;
  }
  .main-column,
  .side-column {
    gap: 20px;
  }
  .side-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-head {
    padding: 19px 18px 16px;
  }
  .card-head h2 {
    font-size: 17px;
  }
  .card-head p {
    font-size: 12px;
  }
  .card-head > .btn-quiet {
    min-height: 32px;
  }
  .chart-card .card-head {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .chart-card .filter-select {
    font-size: 13px;
    min-height: 42px;
  }
  .chart-head {
    padding-inline: 18px;
    gap: 7px;
  }
  .chart-total {
    font-size: 26px;
  }
  .chart-note {
    font-size: 12px;
  }
  .chart-scroll-hint {
    margin-inline: 18px;
  }
  .chart-wrap {
    padding-inline: 15px;
  }
  .table-scroll-hint {
    padding-inline: 18px;
    font-size: 12px;
  }
  .table-wrap th:first-child,
  .table-wrap td:first-child {
    max-width: 180px;
  }
  .table-wrap .product-cell {
    gap: 8px;
  }
  .table-wrap .product-cell strong {
    max-width: 125px;
    font-size: 13px;
  }
  .table-wrap .product-cell small {
    font-size: 12px;
  }
  .table-wrap .product-art {
    width: 30px;
    height: 38px;
  }
  .table-wrap .product-art svg {
    width: 26px;
    height: 34px;
  }
  th {
    padding: 12px 15px;
  }
  td {
    padding: 15px;
    font-size: 13px;
  }
  .toolbar {
    padding: 16px 17px;
    gap: 10px;
  }
  .toolbar .search-field {
    flex-basis: 100%;
    max-width: none;
  }
  .toolbar-right {
    font-size: 11px !important;
  }
  .filter-select {
    font-size: 14px;
    min-height: 44px;
  }
  .search-field input {
    font-size: 16px;
  }
  .row-actions {
    gap: 7px;
  }
  .table-footer {
    padding-inline: 17px;
  }
  .pos-layout,
  .public-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .pos-products > .toolbar {
    padding-bottom: 7px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .pos-products .filter-select {
    font-size: 14px;
  }
  .picker-heading {
    padding-bottom: 5px;
  }
  .pos-product {
    grid-template-columns: minmax(0, 1fr) auto 104px;
    padding: 17px 15px;
    gap: 11px;
  }
  .pos-product-name {
    grid-column: 1;
    grid-row: 1;
  }
  .pos-product-name h3 {
    font-size: 14px;
  }
  .pos-product-name p {
    font-size: 12px;
    gap: 3px;
  }
  .pos-product-name p > span {
    flex-basis: 100%;
  }
  .pos-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
  }
  .pos-product > .btn {
    grid-column: 3;
    grid-row: 1;
    font-size: 12px;
    min-height: 44px;
  }
  .cart {
    position: static;
  }
  .cart .card-head {
    padding: 20px;
  }
  .cart-lines {
    max-height: none;
    padding-inline: 20px;
  }
  .cart-line {
    gap: 9px;
    padding-block: 17px;
  }
  .cart-line-info strong {
    font-size: 14px;
  }
  .qty-control {
    min-height: 46px;
  }
  .qty-control button {
    min-height: 44px;
  }
  .remove-item {
    min-height: 44px;
  }
  .cart-summary {
    padding: 20px;
  }
  .cart-summary .field label {
    font-size: 13px;
  }
  .cart-summary .field input,
  .cart-summary .field select {
    font-size: 16px;
    min-height: 46px;
  }
  .cart-summary .field small {
    font-size: 12px;
  }
  .cart-total {
    font-size: 14px;
    padding-top: 18px;
  }
  .cart-total strong {
    font-size: 30px;
  }
  .receipt-subtotal,
  .discount-summary,
  .payment-preview > div {
    font-size: 13px;
  }
  .manual-note,
  .cart-note {
    font-size: 12px;
  }
  .cart-note {
    padding: 15px 20px;
  }
  .checkout-button {
    min-height: 48px;
  }
  .view-pos,
  .public-shell:has(.cart-dock) {
    padding-bottom: 120px;
  }
  .cart-dock {
    position: fixed;
    z-index: 35;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
    min-height: 84px;
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    border-top: 1px solid #aabfcc;
    background: #fff;
    box-shadow: 0 -3px 17px #17242d0b;
  }
  .cart-dock .btn {
    min-height: 48px;
    min-width: 138px;
    font-size: 13px;
  }
  .cart-dock-values strong {
    font-size: 24px;
  }
  .cart-dock-values span {
    font-size: 12px;
  }
  .cart-dock .btn svg {
    width: 18px;
    height: 18px;
  }
  #toast-root {
    bottom: 102px;
    right: 17px;
    max-width: calc(100vw - 34px);
  }
  .section-grid,
  .public-products .section-grid,
  .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .product-art.large {
    height: 140px;
  }
  .product-art.large svg {
    width: 74px;
    height: 117px;
  }
  .product-card-info {
    padding: 14px;
  }
  .product-card h3 {
    font-size: 14px;
    min-height: 42px;
  }
  .category {
    font-size: 12px;
  }
  .product-card-price {
    gap: 10px;
    margin-top: 13px;
  }
  .product-card-price strong {
    font-size: 18px;
  }
  .product-card-price > .btn {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
    padding-inline: 8px;
  }
  .product-stock {
    font-size: 12px;
    line-height: 1.7;
  }
  .catalog-workbench {
    padding: 21px;
    margin-bottom: 18px;
    gap: 19px;
  }
  .catalog-flow {
    gap: 15px;
  }
  .catalog-field {
    width: 30%;
    height: 72px;
  }
  .catalog-field svg {
    height: 95px;
  }
  .catalog-flow ol {
    gap: 10px;
  }
  .catalog-flow li {
    font-size: 12px;
  }
  .catalog-link input {
    font-size: 13px;
    min-height: 46px;
  }
  .catalog-share > .access-note {
    font-size: 12px;
  }
  .detail-tabs {
    gap: 22px;
    margin-bottom: 20px;
  }
  .detail-tabs button {
    font-size: 13px;
    min-height: 49px;
  }
  .detail-tabs .tab-refresh {
    min-width: 44px;
    margin-left: 0;
    font-size: 0;
    gap: 0;
  }
  .tab-refresh svg {
    width: 18px;
    height: 18px;
  }
  .selection-row {
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 18px;
  }
  .selection-row .actions-inline {
    width: 100%;
    justify-content: space-between;
  }
  .selection-row .actions-inline > .btn {
    min-height: 44px;
    font-size: 12px;
  }
  .catalog-products .product-card-price strong {
    font-size: 19px;
  }
  .public-shell {
    padding-inline: 18px;
  }
  .public-header {
    padding-block: 20px;
    gap: 20px;
  }
  .public-store {
    font-size: 14px;
  }
  .public-header .brand {
    font-size: 24px;
  }
  .public-hero {
    padding: 26px 0 23px;
    gap: 19px;
  }
  .public-hero h1 {
    font-size: 29px;
  }
  .public-hero p {
    font-size: 14px;
    line-height: 1.8;
  }
  .catalog-steps {
    gap: 17px;
    font-size: 12px;
  }
  .catalog-steps li {
    font-size: 12px;
    line-height: 1.7;
  }
  .catalog-steps li::before {
    font-size: 12px;
  }
  .public-products .toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 18px;
  }
  .public-products .filter-select {
    width: 100%;
    font-size: 14px;
  }
  .public-products .search-field {
    flex-basis: 100%;
  }
  .public-footer {
    flex-direction: column;
    gap: 15px;
    font-size: 12px;
  }
  .public-footer > .link-button {
    font-size: 12px;
    min-height: 44px;
  }
  .selection-card {
    margin-top: 25px;
    padding: 25px 21px;
  }
  .selection-card > h1 {
    font-size: 26px;
  }
  .selection-card .cart-line {
    gap: 9px;
  }
  .selection-card .cart-line-info {
    min-width: 0;
  }
  .selection-card .cart-line > strong {
    font-size: 12px !important;
  }
  .selection-card .cart-total strong {
    font-size: 28px;
  }
  .selection-card > .btn {
    min-height: 46px;
  }
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .role-card {
    display: block;
    padding: 18px 15px;
  }
  .role-card > svg {
    margin-bottom: 9px;
  }
  .role-card h3 {
    font-size: 14px;
  }
  .role-card p {
    font-size: 12px;
    margin-top: 5px;
  }
  .settings-section {
    padding: 22px 20px;
  }
  .settings-section > p {
    font-size: 13px;
  }
  .callout {
    padding: 14px;
    font-size: 12px;
    margin-bottom: 20px;
  }
  .finance-overview {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 23px;
  }
  .finance-overview .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .finance-overview .metric:last-child {
    border-bottom: 0;
  }
  .finance-overview .metric-top {
    min-height: 0;
  }
  .finance-overview .metric-value {
    font-size: 31px;
  }
  .cash-controls {
    margin-top: 13px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 46px;
  }
  .field label {
    font-size: 13px;
  }
  .field-row {
    gap: 12px;
  }
  .checkbox-field {
    font-size: 13px;
  }
  .receipt-info > div {
    font-size: 13px;
  }
  .receipt-info dt,
  .receipt-info dd {
    font-size: 13px;
  }
  .modal-overlay {
    padding: 14px;
  }
  .modal {
    max-height: 94vh;
  }
  .modal-head {
    padding: 22px 21px 18px;
  }
  .modal-head h2 {
    font-size: 21px;
  }
  .modal-head p {
    font-size: 13px;
  }
  .modal-body {
    padding: 21px 21px 3px;
  }
  .modal-actions {
    padding: 17px 21px 22px;
  }
  .modal-actions > .btn {
    font-size: 13px;
    min-height: 46px;
  }
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 12px;
    margin-top: 25px;
  }
  .signin-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .signin-access {
    min-height: 100svh;
    padding: 31px 25px 24px;
  }
  .signin-form {
    max-width: 440px;
    margin: auto;
    padding: 70px 0 95px;
  }
  .signin-form h1 {
    font-size: 30px;
  }
  .signin-form > p {
    font-size: 15px;
  }
  .signin-art {
    display: none;
  }
  .signin-access > footer {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .page {
    padding-inline: 15px;
  }
  .topbar {
    padding-inline: 15px;
    gap: 8px;
  }
  .top-context strong {
    font-size: 12px;
  }
  .demo-pill {
    font-size: 12px;
    padding: 4px 5px;
    gap: 4px;
  }
  .demo-pill svg {
    display: none;
  }
  .top-actions {
    gap: 2px;
  }
  .heading-actions > .btn {
    padding-inline: 9px;
    font-size: 12px;
  }
  .metric {
    padding: 16px 13px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric-top {
    font-size: 12px;
  }
  .metric-foot {
    font-size: 12px;
  }
  .work-queue .task-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 14px;
  }
  .task-item > .task-symbol {
    display: none;
  }
  .task-item > .btn {
    grid-column: 2;
  }
  .task-item h3 {
    font-size: 13px;
  }
  .task-item p {
    font-size: 12px;
  }
  .pos-product {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding: 15px 13px;
  }
  .pos-product-name {
    grid-column: 1;
    grid-row: 1/3;
  }
  .pos-product-name h3 {
    font-size: 13px;
  }
  .pos-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    text-align: right;
  }
  .pos-product > .btn {
    grid-column: 2;
    grid-row: 2;
    min-width: 88px;
    font-size: 12px;
    min-height: 44px;
  }
  .pos-product > .btn svg {
    width: 14px;
    height: 14px;
  }
  .product-card-info {
    padding: 12px;
  }
  .product-card h3 {
    font-size: 13px;
    line-height: 1.6;
  }
  .product-card-price strong {
    font-size: 17px;
  }
  .product-card-price > .btn {
    font-size: 12px;
  }
  .product-art.large {
    height: 128px;
  }
  .cart-total strong {
    font-size: 28px;
  }
  .cart-dock {
    padding-inline: 15px;
    gap: 12px;
  }
  .cart-dock .btn {
    min-width: 127px;
    font-size: 12px;
  }
  .cart-dock-values strong {
    font-size: 23px;
  }
  .catalog-workbench {
    padding: 19px 17px;
  }
  .catalog-field {
    display: none;
  }
  .catalog-flow ol {
    border-top: 1px solid #cbd9e0;
    padding-top: 15px;
  }
  .catalog-steps {
    gap: 13px;
    align-items: flex-start;
  }
  .catalog-steps li::before {
    display: block;
    margin-bottom: 4px;
  }
  .public-shell {
    padding-inline: 15px;
  }
  .public-hero h1 {
    font-size: 28px;
  }
  .public-header .brand {
    font-size: 22px;
  }
  .public-store {
    font-size: 13px;
    gap: 7px;
  }
  .public-store > svg {
    width: 18px;
    height: 18px;
  }
  .field-row {
    gap: 10px;
  }
  .modal-actions {
    gap: 8px;
  }
  .modal-actions .btn {
    padding-inline: 11px;
  }
  .role-grid {
    gap: 10px;
  }
  .role-card {
    padding: 17px 12px;
  }
  .role-card p {
    font-size: 12px;
  }
  .signin-access {
    padding-inline: 22px;
  }
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange-dark);
}
.sidebar :focus-visible {
  outline-color: #ffad7a;
}
.search-field input:focus-visible {
  outline: none;
}
.qty-control button:focus-visible {
  outline-offset: -4px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
