/* Focused business workspaces; operational POS layouts remain independently scoped. */
.workspace-ui {
  font-size: 14px;
  line-height: 1.55;
  color: #24334d;
}
.workspace-ui h1 {
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 9px;
}
.workspace-ui h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.workspace-ui h3 {
  font-size: 15px;
}
.workspace-ui p {
  font-size: 14px;
  line-height: 1.7;
  color: #6f7e95;
}
.workbench-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
}
.workbench-heading p {
  margin: 0;
  font-size: 14px;
}
.workspace-ui button {
  font-size: 13px;
  min-height: 40px;
  padding: 10px 15px;
}
.workspace-ui label {
  font-size: 13px;
  color: #4b5e7b;
  font-weight: 550;
}
.workspace-ui input,
.workspace-ui select {
  font-size: 14px;
  min-height: 43px;
  margin: 7px 0 0;
  padding: 10px 12px;
}
.workspace-ui .card {
  padding: 24px;
  border-radius: 12px;
  box-shadow: none;
}
.workspace-ui button:focus-visible,
.workspace-ui input:focus-visible,
.workspace-ui select:focus-visible,
.workspace-ui summary:focus-visible {
  outline: 3px solid #699ef6;
  outline-offset: 3px;
}
.workbench-help {
  font-size: 12px !important;
  color: #7d8ba1 !important;
}
.workspace-ui .settings-back {
  padding-left: 0;
  margin: 0 0 16px;
  color: #6e7f99;
  font-size: 12px;
}
.settings-page,
.product-editor-shell {
  max-width: 960px;
  margin-inline: auto;
}
.settings-index {
  border: 1px solid #dce5f0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.settings-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  color: #273851;
  text-align: left;
  padding: 20px 23px !important;
  border-radius: 0;
  gap: 16px;
}
.settings-row:last-child {
  border-bottom: 0;
}
.settings-row:hover {
  background: #f8faff;
}
.settings-row strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.settings-row small {
  display: block;
  font-size: 13px;
  color: #8290a5;
  margin-top: 5px;
}
.settings-row > b {
  font-size: 24px;
  font-weight: 400;
  color: #9ba9bf;
}
.upcoming {
  margin-top: 25px;
  padding: 20px;
  border: 1px dashed #d8e1ee;
  border-radius: 10px;
  color: #7a889e;
}
.upcoming summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  min-height: 28px;
}
.upcoming ul {
  font-size: 13px;
  line-height: 2;
  color: #7b88a0;
}
.settings-page form {
  max-width: 730px;
}
.settings-page form > label {
  display: block;
  margin: 16px 0 20px;
}
.settings-page form input:not([type="checkbox"]),
.settings-page form select {
  width: 100%;
  max-width: 540px;
}
.settings-page form > .forms {
  max-width: 740px;
}
.settings-related {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.settings-facts {
  margin: 0;
  display: grid;
  gap: 18px;
}
.settings-facts dt {
  color: #8b99ae;
  font-size: 12px;
  margin-bottom: 5px;
}
.settings-facts dd {
  font-size: 16px;
  margin: 0;
  color: #2a3c58;
  overflow-wrap: anywhere;
}
.industry-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.industry-choices label,
.outlet-choices label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #f9fbfe;
  border: 1px solid #e4eaf4;
  border-radius: 8px;
  font-size: 14px;
}
.industry-choices input[type="checkbox"],
.outlet-choices input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #315fe9;
  flex-shrink: 0;
}
.industry-choices label {
  text-transform: capitalize;
}
.directory-tools {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.directory-tools label:first-child {
  flex: 1;
  min-width: 230px;
}
.directory-tools label:nth-child(2) {
  min-width: 180px;
}
.directory-tools input,
.directory-tools select {
  display: block;
  width: 100%;
}
#directory-table {
  padding: 0;
  overflow: hidden;
}
#directory-table table {
  min-width: 800px;
  width: 100%;
  font-size: 13px;
}
#directory-table th {
  font-size: 11px;
  padding: 16px 19px;
  white-space: nowrap;
  color: #7d8ca3;
  background: #f9fbfe;
}
#directory-table td {
  padding: 17px 19px;
  vertical-align: middle;
  white-space: normal;
}
#directory-table small {
  display: block;
  color: #8492a9;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}
.directory-product {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 180px;
}
.directory-art {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: #597ec1;
  font-size: 12px;
  font-weight: 650;
  border-radius: 8px;
  flex-shrink: 0;
}
.directory-art img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.directory-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
}
.directory-pagination p {
  margin: 0 auto 0 0;
  font-size: 13px;
}
.directory-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.directory-pagination select {
  margin: 0;
  min-height: 38px;
  padding: 6px 25px 6px 9px;
}
.directory-pagination button {
  min-height: 38px;
  font-size: 12px;
  padding: 8px 13px;
}
#directory-error {
  color: #b42318;
  font-size: 13px;
  margin-bottom: 12px;
}
.product-editor-shell > #product-master-form,
.product-editor-shell > section {
  position: relative;
}
.product-editor-shell .card {
  margin: 0;
}
.product-editor-shell #product-master-form {
  padding-bottom: 0;
}
.product-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  gap: 8px;
}
.product-stepper li {
  min-width: 0;
}
.product-stepper button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  text-align: left;
  padding: 9px;
  background: #f5f8fd;
  color: #7c8aa1;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  font-size: 11px;
}
.product-stepper button > span {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: #e8edf5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.product-stepper button[aria-current="step"] {
  background: #edf3ff;
  border-color: #b6caf9;
  color: #2857ce;
}
.product-stepper button[aria-current="step"] > span {
  background: #315fe9;
  color: white;
}
.product-editor-shell .forms {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.product-editor-shell .forms input,
.product-editor-shell .forms select {
  width: 100%;
  max-width: none;
}
.product-editor-shell [data-master-step] {
  scroll-margin-top: 90px;
}
.product-editor-shell [data-master-step] > h3 {
  font-size: 16px;
  margin: 0 0 20px;
}
.product-action-dock {
  position: sticky;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -8px 18px #fff;
  border-top: 1px solid #e8eef6;
  padding: 16px 0 3px;
  z-index: 5;
  margin-top: 25px !important;
}
.product-action-dock #master-cancel {
  margin-right: auto;
}
.product-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
  background: #f8faff;
  padding: 20px;
  border-radius: 10px;
}
.product-review dt {
  font-size: 12px;
  color: #8290a5;
  margin-bottom: 5px;
}
.product-review dd {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.pack-review-list {
  list-style: none;
  padding: 0;
}
.pack-review-list li {
  display: grid;
  gap: 5px;
  border: 1px solid #e3eaf4;
  border-radius: 9px;
  padding: 16px;
  margin: 10px 0;
}
.pack-review-list span {
  font-size: 13px;
  color: #71819b;
}
#master-review {
  background: transparent;
  padding: 0;
  font-family: inherit;
}
#master-status {
  font-size: 13px;
}
.staff-page {
  max-width: 1180px;
  margin-inline: auto;
}
.staff-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.staff-list {
  align-self: start;
}
.staff-list input {
  width: 100%;
}
.staff-list .card {
  padding: 18px;
}
#staff-members {
  max-height: 530px;
  overflow: auto;
  margin-top: 18px;
}
#staff-members button {
  display: block;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #4d5e79;
  padding: 13px;
  width: 100%;
}
#staff-members button[aria-current="true"] {
  background: #edf3ff;
  color: #2857c7;
}
#staff-members small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #8392aa;
  margin-top: 4px;
}
.outlet-choices {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}
.outlet-choices label {
  overflow-wrap: anywhere;
}
#staff-diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
#staff-diff > div {
  padding: 15px;
  background: #f6f9fe;
  border-radius: 8px;
  font-size: 13px;
}
#staff-diff p {
  margin: 7px 0 0;
  font-size: 13px;
}
.access-warning {
  color: #9b5b0c !important;
  background: #fff8e8 !important;
  border: 1px solid #f1dfaf;
  border-radius: 8px;
  padding: 14px;
  font-size: 13px !important;
}
.staff-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.staff-actions button {
  font-size: 12px;
}
#staff-error {
  color: #b42318;
  font-size: 13px;
}
#staff-confirm {
  max-width: min(560px, 94vw);
  max-height: 85vh;
  overflow: auto;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  padding: 26px;
  color: #24344e;
}
#staff-confirm::backdrop {
  background: #15233a80;
}
#staff-confirm h2 {
  font-size: 21px;
}
#staff-confirm p,
#staff-confirm li {
  font-size: 14px;
  color: #6c7d96;
  line-height: 1.8;
}
.staff-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
#notice:not([hidden]) {
  position: fixed;
  top: 132px;
  right: 24px;
  max-width: min(470px, calc(100vw - 32px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 24px #1d345217;
  padding: 14px 17px;
  border-radius: 10px;
  font-size: 13px;
}
#notice[hidden] {
  display: none !important;
}
#notice.success {
  background: #ecf8f2;
  color: #08694c;
  border: 1px solid #c7ead9;
}
#notice.error {
  background: #fff3f2;
  color: #a4382c;
  border: 1px solid #f3d1ce;
}
#notice button {
  background: none;
  color: inherit;
  border: 0;
  font-size: 20px;
  min-width: 30px;
  min-height: 30px;
  padding: 2px;
}
.lx-sidebar .lx-menu-btn {
  font-size: 13px;
}
.lx-sidebar .lx-sub-menu button {
  font-size: 12px;
  min-height: 40px;
}
.lx-context-bar .context select {
  max-width: 350px;
}
.lx-context-bar .context label {
  font-size: 12px;
}
@media (max-width: 1050px) {
  .staff-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .product-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-ui .card {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .workspace-ui {
    font-size: 14px;
  }
  .workspace-ui h1 {
    font-size: 24px;
  }
  .workspace-ui button {
    min-height: 44px;
  }
  .staff-layout {
    grid-template-columns: 1fr;
  }
  .staff-list {
    max-height: 270px;
    overflow: auto;
  }
  #staff-members {
    max-height: 180px;
  }
  .directory-tools {
    align-items: stretch;
    gap: 12px;
  }
  .directory-tools label:first-child {
    min-width: 100%;
  }
  .directory-tools label:nth-child(2) {
    flex: 1;
    min-width: 120px;
  }
  .directory-pagination {
    gap: 8px;
  }
  .directory-pagination p {
    flex-basis: 100%;
  }
  .product-editor-shell .forms {
    grid-template-columns: 1fr;
  }
  .product-stepper button {
    font-size: 11px;
    min-height: 46px;
  }
  .product-action-dock {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product-action-dock button {
    font-size: 12px;
    padding: 10px;
  }
  .product-review,
  #staff-diff {
    grid-template-columns: 1fr;
  }
  .industry-choices {
    grid-template-columns: 1fr;
  }
  .settings-row {
    padding: 17px !important;
  }
  .settings-page .settings-related {
    flex-direction: column;
  }
  .settings-page .card p {
    font-size: 13px;
  }
  .lx-context-bar .context select {
    max-width: 160px;
  }
  #notice:not([hidden]) {
    right: 16px;
    top: 124px;
  }
  .workspace-ui .card {
    padding: 18px;
  }
  #directory-table {
    padding: 0;
  }
  .settings-facts dd {
    font-size: 15px;
  }
}
#directory-table .table-wrap {
  margin: 0;
  overflow-x: auto;
}
.settings-row small {
  font-weight: 400;
  color: #60728d;
}
.workspace-ui p {
  color: #586a83;
}
.workbench-help {
  color: #56677f !important;
}
#directory-table th {
  color: #5e6f89;
}
#directory-table small,
.directory-product small {
  color: #64748b;
}
.settings-facts dt,
.product-review dt {
  color: #5e6f89;
}
.product-stepper button {
  color: #5d6e87;
}
.pack-review-list span {
  color: #5d6e87;
}
#staff-members small {
  color: #60728d;
}
.lx-sidebar .lx-sub-menu button {
  color: #5b6c85;
}
@media (pointer: coarse) {
  .workspace-ui input,
  .workspace-ui select,
  .workspace-ui button,
  .lx-sidebar .lx-sub-menu button {
    min-height: 44px;
  }
}
.workspace-ui .form-error {
  color: #a42520;
  background: #fff4f2;
  border: 1px solid #efcdc8;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 13px;
}
#directory-table table {
  font-size: 14px;
}
#directory-table th {
  font-size: 12px;
}
.directory-product strong {
  font-size: 14px;
}
.workspace-ui :is(button, input, select, summary):focus-visible {
  outline-color: #2563eb;
}
.workspace-ui input,
.workspace-ui select {
  border-color: #7c8da6;
}
#workspace .lx-sidebar :is(.lx-menu-btn, .lx-sub-menu button):focus-visible,
#workspace #pos-home:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.lx-sidebar .lx-sub-menu button {
  font-size: 13px;
}
.directory-product > div {
  min-width: 0;
}
.directory-product strong {
  overflow-wrap: anywhere;
}
#directory-table td {
  overflow-wrap: anywhere;
}
