@charset "UTF-8";
.search input {
  flex: 1 !important;
  width: 0 !important;
  min-width: 0;
}
.search button {
  flex-shrink: 0;
  white-space: nowrap;
}
.account-wrap {
  position: relative;
}
.user {
  min-height: 44px;
  min-width: 44px;
}
.menu-caret {
  color: #93a2b9;
  font-size: 12px;
}
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 190px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  box-shadow: 0 10px 35px #17376420;
  padding: 6px;
  z-index: 30;
}
.account-menu-label {
  font-size: 11px;
  color: #9aa7ba;
  padding: 10px 12px;
  border-bottom: 1px solid #eff2f7;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  font-size: 12px;
  border-radius: 7px;
}
.account-menu button:hover,
.account-menu button:focus-visible {
  background: #f3f6fd;
}
.password-dialog .modal {
  max-width: 440px;
}
.password-intro {
  margin: 0 0 24px;
}
.password-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.search .primary {
  min-width: 72px;
  min-height: 42px;
  line-height: 1.3;
  flex: 0 0 auto !important;
}
.product-top > .pill {
  justify-self: start;
}
@media (max-width: 760px) {
  .account-menu {
    width: 186px;
    top: calc(100% + 7px);
  }
  .header-right {
    gap: 8px !important;
  }
  .user {
    gap: 4px !important;
    padding: 0 3px;
  }
  .menu-caret {
    font-size: 10px;
  }
  .search .primary {
    min-width: 68px;
    padding: 10px 16px !important;
  }
  .layout aside {
    gap: 35px !important;
  }
  .layout aside button {
    min-width: 100px !important;
  }
  .product-top {
    grid-template-columns: 49px minmax(0, 1fr) 68px 32px !important;
    gap: 8px !important;
  }
  .product-img {
    width: 47px !important;
  }
  .product-top > .pill {
    font-size: 9px !important;
    padding: 5px !important;
  }
  .password-dialog .modal-body {
    padding: 20px;
  }
  .password-dialog .modal {
    max-height: 90dvh;
  }
  .form-field input {
    font-size: 16px !important;
  }
  .sku-tools input,
  .qty input {
    font-size: 16px !important;
  }
  .qty input {
    width: 37px !important;
  }
  .search input {
    font-size: 16px !important;
  }
  .search input::placeholder {
    font-size: 12px;
  }
}
@media (max-width: 359px) {
  .warehouse {
    display: none;
  }
  .product-top {
    grid-template-columns: 44px minmax(0, 1fr) 60px 29px !important;
    gap: 6px !important;
  }
  .product-title {
    font-size: 11px !important;
  }
  .product-img {
    width: 43px !important;
  }
  .sku-area {
    padding: 12px 8px !important;
  }
  .sku-tools {
    gap: 5px !important;
  }
  .qty button {
    width: 20px !important;
  }
  .qty input {
    width: 30px !important;
  }
  .sku-table th,
  .sku-table td {
    padding: 9px 2px !important;
  }
}
:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #1d2939;
  background: #f5f7fb;
  font-synthesis: none;
  --blue: #2358d6;
  --line: #e6eaf0;
  --muted: #8290a5;
  --ink: #18243b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #9dbbff;
  outline-offset: 2px;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button {
  border: 0;
  border-radius: 8px;
  background: none;
  color: inherit;
}
input,
select {
  border: 1px solid #dce2eb;
  border-radius: 8px;
  background: #fff;
  padding: 11px 13px;
  color: #27364d;
  min-width: 0;
}
input::placeholder {
  color: #9ba6b5;
}
.primary {
  background: var(--blue);
  color: white;
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: 0 3px 6px #2358d612;
}
.primary:hover {
  background: #194bc2;
}
.secondary {
  padding: 10px 16px;
  border: 1px solid #dce2eb;
  background: white;
}
.text-btn {
  color: var(--blue);
  padding: 6px;
}
.danger {
  color: #c84949;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
  line-height: 1.7;
}
.full {
  width: 100%;
}
.hidden {
  display: none !important;
}
.boot {
  height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
}
.boot img {
  width: 48px;
  margin: auto;
}
header {
  height: 76px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 15;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 37px;
  height: 37px;
}
.brand strong {
  font-size: 19px;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 10px;
  color: #8995a8;
  letter-spacing: 2px;
  margin-top: 3px;
}
.header-right {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}
.warehouse {
  border: 1px solid #e1e8f2;
  border-radius: 6px;
  padding: 7px 11px;
  color: #62718b;
  background: #fafbfe;
}
.avatar {
  height: 30px;
  width: 30px;
  display: inline-grid;
  place-items: center;
  background: #edf2ff;
  border-radius: 50%;
  color: var(--blue);
  font-weight: 700;
}
.user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}
aside {
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 30px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  top: 76px;
  bottom: 0;
  width: 200px;
}
.nav-label {
  font-size: 10px;
  color: #a0a9b8;
  letter-spacing: 2px;
  margin: 0 14px 14px;
}
aside button {
  text-align: left;
  padding: 13px 17px;
  display: flex;
  gap: 13px;
  align-items: center;
  color: #78859a;
  font-size: 14px;
}
aside button.active {
  background: #edf3ff;
  color: var(--blue);
  font-weight: 600;
}
aside .bottom-note {
  margin-top: auto;
  font-size: 12px;
  color: #a1aabb;
  padding: 15px;
  line-height: 1.8;
}
main {
  grid-column: 2;
  min-width: 0;
  padding: 35px 36px 30px;
  max-width: 1640px;
  width: 100%;
  margin: 0 auto;
}
.eyebrow {
  color: #8190a7;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 600;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 27px;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.5px;
  margin: 7px 0 10px;
  font-weight: 650;
  color: var(--ink);
}
.subtitle {
  font-size: 13px;
  color: #8190a5;
  margin: 0;
  line-height: 1.8;
}
.sync-note {
  font-size: 12px;
  color: #8898ac;
  white-space: nowrap;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #39ab81;
  border-radius: 50%;
  margin-right: 6px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 3px 9px #11274302;
  overflow: hidden;
}
.toolbar {
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search {
  display: flex;
  flex: 1;
  gap: 9px;
  min-width: 220px;
}
.search input {
  width: 100%;
  background: #f9fafc;
  font-size: 13px;
}
.search button {
  padding: 10px 18px;
}
.checkbox {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #78849a;
  white-space: nowrap;
}
.checkbox input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
}
.table-caption {
  padding: 13px 22px;
  background: #fbfcfe;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #91a0b5;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eff2f6;
}
.product-row {
  border-bottom: 1px solid #edf0f5;
}
.product-top {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 96px 62px;
  gap: 16px;
  align-items: center;
  padding: 19px 21px;
  min-height: 105px;
}
.product-img {
  height: 72px;
  width: 63px;
  border-radius: 8px;
  object-fit: contain;
  background: #f0f3f7;
}
.product-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.product-code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #929fb2;
  letter-spacing: 0.8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  background: #edf2ff;
  color: #4c73c9;
}
.pill.stock-tight {
  background: #fff3e7;
  color: #bc7e33;
}
.pill.stock-low {
  background: #f2f5fd;
  color: #6984bc;
}
.pill.stock-yes {
  background: #edf8f2;
  color: #52977a;
}
.pill.stock-none,
.pill.expired {
  background: #f0f2f6;
  color: #96a0b0;
}
.pill.completed {
  background: #eaf7f0;
  color: #439573;
}
.pill.warehouse {
  background: #fff3e4;
  color: #b78949;
}
.expand {
  font-size: 12px;
  color: var(--blue);
  padding: 10px 2px;
}
.sku-area {
  background: #f8faff;
  border-top: 1px solid #eef2fa;
  padding: 16px 22px 19px;
}
.sku-tools {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 15px;
  color: #728098;
  flex-wrap: wrap;
}
.sku-tools input {
  width: 64px;
  padding: 6px;
  font-size: 12px;
  text-align: center;
}
.sku-tools button {
  padding: 6px 10px;
  font-size: 12px;
}
.sku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.sku-table th {
  color: #93a0b4;
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  padding: 9px 7px;
  border-bottom: 1px solid #e5eaf2;
}
.sku-table td {
  padding: 10px 7px;
  border-bottom: 1px solid #e8edf6;
}
.sku-table td:last-child {
  text-align: right;
}
.sku-table input[type="checkbox"] {
  accent-color: var(--blue);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}
.qty button {
  width: 25px;
  height: 28px;
  color: #7284a6;
  border-radius: 0;
}
.qty input {
  width: 37px;
  border: 0;
  border-left: 1px solid #edf1f7;
  border-right: 1px solid #edf1f7;
  padding: 5px 1px;
  text-align: center;
  font-size: 12px;
  border-radius: 0;
  -moz-appearance: textfield;
}
.sku-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}
.sku-foot small {
  color: #8c9bb0;
  font-size: 11px;
}
.cart {
  position: sticky;
  top: 100px;
}
.cart-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-head h2 {
  font-size: 15px;
  margin: 0;
}
.cart-head span {
  font-size: 11px;
  color: #99a4b6;
}
.cart-list {
  padding: 3px 18px;
  max-height: 420px;
  overflow: auto;
}
.cart-item {
  display: flex;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f5;
}
.cart-item img {
  width: 42px;
  height: 52px;
  object-fit: contain;
  background: #f4f6f9;
  border-radius: 6px;
}
.cart-item-body {
  flex: 1;
  min-width: 0;
}
.cart-item h3 {
  font-size: 12px;
  margin: 0 0 5px;
  font-weight: 600;
  line-height: 1.6;
}
.cart-item .variant {
  font-size: 11px;
  color: #94a0b0;
  margin-bottom: 9px;
}
.cart-edit {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-edit .text-btn {
  font-size: 11px;
  color: #b3bbc7;
}
.cart-bottom {
  padding: 20px;
  background: #fff;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 18px;
  color: #8a97a9;
}
.cart-total b {
  font-size: 22px;
  color: #263c60;
  font-weight: 600;
  margin: 0 3px;
}
.cart-bottom p {
  font-size: 10px;
  color: #9ca8ba;
  line-height: 1.9;
  text-align: center;
  margin: 12px 0 0;
}
.empty-cart {
  padding: 43px 18px;
  text-align: center;
}
.empty-cart .outline-icon {
  height: 46px;
  width: 46px;
  border: 1px dashed #c6d2e7;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #b7c6df;
  margin: auto auto 14px;
}
.empty-cart p {
  font-size: 12px;
  color: #a3afc0;
  margin: 0;
}
.info-box {
  display: flex;
  gap: 11px;
  border: 1px solid #e6ebf4;
  background: #f9fbff;
  border-radius: 9px;
  padding: 15px;
  margin-top: 17px;
  color: #8b9bb1;
  font-size: 11px;
  line-height: 1.9;
}
.info-box strong {
  display: block;
  color: #71809a;
  font-weight: 500;
}
.pager {
  padding: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9aa6b7;
}
.pager div {
  display: flex;
  gap: 9px;
}
.pager button {
  padding: 6px 12px;
  border: 1px solid #e0e6ef;
  font-size: 12px;
}
.legend {
  display: flex;
  gap: 16px;
  margin-top: 17px;
  color: #98a4b6;
  font-size: 10px;
  flex-wrap: wrap;
}
.legend span::before {
  content: "";
  display: inline-block;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #a4b8db;
  margin-right: 5px;
}
.footer-note {
  font-size: 10px;
  color: #b0b9c7;
  margin-top: 35px;
  letter-spacing: 0.5px;
}
.mobile-cart {
  display: none;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
}
.login-intro {
  background: #eef3ff;
  position: relative;
  padding: 65px 65px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-intro h1 {
  font-size: 44px;
  line-height: 1.4;
  margin-top: 100px;
  color: #244783;
  letter-spacing: 1px;
}
.login-intro p {
  color: #7c91b5;
  font-size: 14px;
  line-height: 2;
}
.login-art {
  margin-top: 70px;
  color: #b6c9ec;
}
.login-art svg {
  width: 100%;
  max-width: 430px;
  height: 200px;
}
.login-copy {
  margin-top: auto;
  color: #9bafd0;
  font-size: 11px;
  padding-top: 40px;
}
.login-form-side {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.login-card {
  width: 100%;
  max-width: 340px;
}
.login-card h2 {
  font-size: 26px;
  color: #26364d;
  margin: 0 0 9px;
  font-weight: 600;
}
.login-card > p {
  font-size: 12px;
  color: #9aa5b6;
  margin-bottom: 34px;
}
.form-field {
  margin: 0 0 21px;
}
.form-field label {
  font-size: 12px;
  color: #6d7d94;
  display: block;
  margin-bottom: 10px;
}
.form-field input {
  width: 100%;
  padding: 13px;
  background: #fbfcfe;
  font-size: 13px;
}
.password-wrap {
  display: flex;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}
.password-wrap input {
  border: 0;
  background: transparent;
  border-radius: 0;
}
.password-wrap button {
  font-size: 11px;
  color: #8f9bb0;
  padding: 0 12px;
}
.login-form .primary {
  margin-top: 8px;
}
.remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 11px;
  color: #a4adbb;
}
.login-help {
  text-align: center;
  color: #abb4c4;
  font-size: 11px;
  margin-top: 27px;
}
.demo-banner {
  background: #fff7e6;
  color: #9d7c3c;
  text-align: center;
  padding: 9px 15px;
  font-size: 11px;
}
.login-card .demo-banner {
  border-radius: 7px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.error-inline {
  color: #be4d4d;
  background: #fff3f2;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  margin: 15px 0;
  line-height: 1.8;
}
.success-banner {
  padding: 15px;
  background: #edf8f3;
  border: 1px solid #dceee5;
  border-radius: 8px;
  color: #568e74;
  font-size: 12px;
  line-height: 1.9;
}
.history-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 8px 13px;
  color: #8e9bb0;
  font-size: 12px;
}
.tabs button.active {
  background: #edf3ff;
  color: var(--blue);
}
.history-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.5fr) 1fr 1fr 110px 70px;
  gap: 20px;
  align-items: center;
  padding: 23px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.history-row .no {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #4a6083;
  overflow-wrap: anywhere;
}
.history-row time {
  font-size: 11px;
  color: #93a1b4;
}
.history-table-head {
  background: #f9fbfe;
  color: #9ca8b9;
  font-size: 11px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.empty-state {
  padding: 70px 25px;
  text-align: center;
  color: #9ca7b8;
  font-size: 13px;
  line-height: 2;
}
.settings-panel {
  max-width: 600px;
  padding: 30px;
}
.settings-panel h2 {
  font-size: 17px;
  margin: 0 0 12px;
}
.settings-panel .subtitle {
  margin-bottom: 25px;
}
.settings-panel .primary {
  width: 100%;
  margin-top: 10px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  background: #23354e;
  color: white;
  border-radius: 9px;
  padding: 13px 22px;
  z-index: 100;
  box-shadow: 0 6px 26px #142f5524;
  font-size: 12px;
  max-width: 90vw;
  line-height: 1.8;
  display: none;
}
#toast.visible {
  display: block;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #15233e66;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  backdrop-filter: blur(3px);
}
.modal {
  background: #fff;
  width: min(760px, 100%);
  border-radius: 15px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 80px #0a1f4926;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 17px;
  margin: 0;
}
.close {
  font-size: 23px;
  color: #a0abbb;
  padding: 0 5px;
}
.modal-body {
  padding: 25px 27px;
  overflow: auto;
}
.modal-footer {
  padding: 18px 27px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.success-mark {
  width: 49px;
  height: 49px;
  background: #e9f7ee;
  color: #4eac79;
  font-size: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
}
.success-title {
  text-align: center;
  margin: 0 0 20px;
  font-size: 21px;
  color: #273e5c;
}
.qr-box {
  border: 1px solid #e4eaf4;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  background: #fcfdff;
  max-width: 310px;
  margin: 20px auto;
}
.qr-box img {
  display: block;
  width: 175px;
  height: 175px;
  margin: auto;
}
.qr-box p {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #556e97;
  word-break: break-all;
  margin: 8px 0;
}
.qr-box small {
  font-size: 10px;
  color: #a4afbf;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 12px;
  margin: 18px 0;
}
.summary-grid span {
  color: #9ba6b7;
  display: block;
  font-size: 10px;
  margin-bottom: 6px;
}
.summary-grid strong {
  font-weight: 500;
  line-height: 1.7;
}
.detail-tabs {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-top: 22px;
}
.detail-line {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f5;
  font-size: 12px;
}
.detail-line img {
  width: 43px;
  height: 51px;
  object-fit: contain;
  border-radius: 5px;
  background: #f5f7fa;
}
.detail-line .grow {
  flex: 1;
}
.detail-line .name {
  font-weight: 500;
  line-height: 1.8;
}
.detail-line .variant {
  font-size: 11px;
  color: #98a5b6;
  margin-top: 3px;
}
.detail-line .amount {
  text-align: right;
  color: #547197;
  font-size: 12px;
  line-height: 1.9;
}
.detail-total {
  text-align: right;
  font-size: 12px;
  padding-top: 20px;
  color: #8698b1;
}
.detail-total strong {
  font-size: 21px;
  color: #2358d6;
  margin-left: 12px;
}
.version-btn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
  line-height: 1.9;
}
.version-btn small {
  color: #9ca7b7;
}
.share-shell {
  max-width: 740px;
  margin: 35px auto;
  padding: 0 20px;
}
.share-shell .panel {
  padding: 28px;
}
.share-shell h1 {
  font-size: 24px;
}
.readonly-tag {
  font-size: 10px;
  padding: 5px 9px;
  color: #8799b3;
  border: 1px solid #e2e9f2;
  border-radius: 5px;
}
.loading {
  padding: 40px;
  text-align: center;
  color: #9ba8ba;
  font-size: 12px;
}
.icon {
  font-size: 17px;
  line-height: 1;
}
.cart-drawer .modal {
  max-width: 420px;
}
.cart-drawer .cart {
  position: static;
}
.cart-drawer .cart-list {
  max-height: 50vh;
}
.share-header {
  position: static;
}
.inline-notice {
  font-size: 11px;
  color: #9ba6b7;
  line-height: 1.9;
  margin-top: 12px;
}
.detail-warning {
  padding: 12px;
  border-radius: 7px;
  background: #fff8ec;
  font-size: 11px;
  line-height: 1.8;
  color: #b08b50;
}
.qty-note {
  font-size: 10px;
  color: #a6b1c1;
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .product-top {
    padding: 22px 28px;
  }
  .sku-area {
    padding: 18px 28px;
  }
}
@media (max-width: 1180px) {
  aside {
    width: 165px;
  }
  .layout {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  main {
    padding: 26px 24px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 16px;
  }
  .product-top {
    grid-template-columns: 52px minmax(0, 1fr) 80px 40px;
    gap: 11px;
    padding: 17px 15px;
  }
  .product-img {
    width: 50px;
    height: 62px;
  }
  .sync-note {
    display: none;
  }
  .product-title {
    font-size: 12px;
  }
  .sku-area {
    padding: 15px;
  }
  .toolbar {
    padding: 15px;
  }
  .history-row {
    gap: 12px;
    grid-template-columns: minmax(140px, 1.4fr) 1fr 1fr 90px 55px;
  }
  .brand strong {
    font-size: 17px;
  }
}
@media (max-width: 960px) {
  aside {
    width: 74px;
    padding: 22px 7px;
  }
  .layout {
    grid-template-columns: 74px minmax(0, 1fr);
  }
  aside button {
    padding: 13px;
    justify-content: center;
  }
  aside .nav-text,
  aside .nav-label,
  aside .bottom-note {
    display: none;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 258px;
  }
  .header-right {
    gap: 15px;
  }
  header {
    padding: 0 22px;
  }
  .sku-tools .muted {
    display: none;
  }
  .sku-table th,
  .sku-table td {
    padding: 9px 3px;
  }
  .qty {
    font-size: 11px;
  }
  .history-row {
    grid-template-columns: minmax(150px, 1.5fr) 1fr 95px 65px;
  }
  .history-row .history-count {
    display: none;
  }
  .login-intro {
    padding: 45px;
  }
  .login-intro h1 {
    font-size: 34px;
  }
}
@media (max-width: 760px) {
  header {
    height: 65px;
    padding: 0 18px;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand small {
    font-size: 8px;
  }
  .warehouse {
    font-size: 10px;
    padding: 5px 7px;
  }
  .user .username {
    display: none;
  }
  .header-right {
    gap: 11px;
  }
  .layout {
    display: block;
  }
  .layout aside {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 62px;
    background: white;
    border: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    justify-content: center;
    padding: 5px 15px;
    gap: 14px;
    z-index: 25;
  }
  aside button {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px 20px;
    font-size: 10px;
    border-radius: 7px;
    min-width: 85px;
  }
  aside .nav-text {
    display: block;
    font-size: 9px;
  }
  .layout main {
    padding: 26px 15px 145px;
  }
  .page-head {
    margin-bottom: 20px;
  }
  .eyebrow {
    font-size: 9px;
  }
  h1 {
    font-size: 25px;
    margin: 5px 0 8px;
  }
  .subtitle {
    font-size: 11px;
  }
  .workspace {
    display: block;
  }
  .workspace > .side-column {
    display: none;
  }
  .product-top {
    grid-template-columns: 53px minmax(0, 1fr) 80px 32px;
    padding: 16px 12px;
    gap: 10px;
  }
  .product-title {
    font-size: 12px;
  }
  .product-code {
    font-size: 9px;
  }
  .pill {
    font-size: 9px;
    padding: 5px 6px;
  }
  .product-img {
    width: 51px;
    height: 63px;
  }
  .expand {
    font-size: 10px;
  }
  .toolbar {
    padding: 14px;
    gap: 13px;
  }
  .search {
    min-width: 0;
    width: 100%;
    flex: auto;
  }
  .search input {
    font-size: 12px;
    padding: 11px;
  }
  .search button {
    font-size: 12px;
    padding: 10px 17px;
  }
  .checkbox {
    font-size: 10px;
  }
  .table-caption {
    padding: 11px 15px;
    font-size: 9px;
  }
  .sku-area {
    padding: 13px 12px;
  }
  .sku-tools {
    gap: 7px;
    font-size: 10px;
  }
  .sku-tools button {
    font-size: 10px;
  }
  .sku-tools input {
    width: 49px;
  }
  .sku-table {
    font-size: 10px;
  }
  .sku-table th {
    font-size: 9px;
  }
  .sku-table .barcode-col {
    display: none;
  }
  .sku-foot small {
    font-size: 9px;
  }
  .sku-foot .primary {
    font-size: 11px;
    padding: 9px 11px;
  }
  .qty button {
    width: 22px;
  }
  .qty input {
    width: 31px;
    font-size: 10px;
  }
  .legend {
    font-size: 9px;
    gap: 9px;
    padding: 0 3px;
  }
  .footer-note {
    font-size: 9px;
    margin-top: 23px;
  }
  .mobile-cart {
    display: flex;
    position: fixed;
    bottom: 72px;
    left: 15px;
    right: 15px;
    background: #203b70;
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px #15254b29;
    align-items: center;
    justify-content: space-between;
    padding: 12px 17px;
    z-index: 24;
    font-size: 12px;
  }
  .mobile-cart small {
    color: #a5bbdf;
    margin-left: 9px;
    font-size: 10px;
  }
  .mobile-cart b {
    display: inline-grid;
    place-items: center;
    height: 21px;
    min-width: 21px;
    padding: 0 4px;
    border-radius: 5px;
    background: #456095;
    margin-right: 9px;
    font-size: 11px;
  }
  .mobile-cart > span:last-child {
    font-size: 11px;
  }
  .login-page {
    display: block;
    min-height: 100vh;
    background: #f6f9ff;
  }
  .login-intro {
    padding: 38px 28px 28px;
    background: #f0f5ff;
  }
  .login-intro > .brand {
    margin-bottom: 20px;
  }
  .login-intro h1 {
    font-size: 25px;
    margin: 20px 0 7px;
  }
  .login-intro p {
    font-size: 11px;
    margin: 0;
  }
  .login-art,
  .login-copy {
    display: none;
  }
  .login-form-side {
    padding: 30px 28px 50px;
  }
  .login-card {
    max-width: 420px;
  }
  .login-card h2 {
    font-size: 21px;
  }
  .login-card > p {
    margin-bottom: 25px;
    font-size: 11px;
  }
  .login-card .demo-banner {
    font-size: 10px;
  }
  .form-field input {
    font-size: 12px;
  }
  .history-toolbar {
    padding: 14px 12px;
  }
  .tabs {
    gap: 1px;
  }
  .tabs button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .history-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 19px 15px;
  }
  .history-table-head {
    display: none;
  }
  .history-row .no {
    flex: 1 1 calc(100% - 90px);
    font-size: 12px;
  }
  .history-row .history-count {
    display: block;
    order: 3;
    font-size: 10px;
    color: #8999ae;
  }
  .history-row time {
    order: 4;
    font-size: 10px;
    margin-left: auto;
  }
  .history-row .text-btn {
    order: 5;
    font-size: 11px;
    width: 100%;
    text-align: right;
    border-top: 1px solid #f1f3f7;
    padding-top: 10px;
  }
  .history-row .pill {
    order: 2;
  }
  .modal-backdrop {
    padding: 15px;
    align-items: center;
  }
  .modal {
    border-radius: 12px;
    max-height: 91dvh;
  }
  .modal-head {
    padding: 18px;
  }
  .modal-head h2 {
    font-size: 15px;
  }
  .modal-body {
    padding: 19px 18px;
  }
  .modal-footer {
    padding: 15px 18px;
  }
  .modal-footer button {
    font-size: 12px;
  }
  .summary-grid {
    font-size: 11px;
  }
  .qr-box img {
    width: 150px;
    height: 150px;
  }
  .success-title {
    font-size: 19px;
  }
  .success-banner {
    font-size: 11px;
  }
  .detail-line {
    font-size: 11px;
  }
  .detail-line .variant {
    font-size: 10px;
  }
  .detail-line .amount {
    font-size: 11px;
  }
  .detail-line img {
    width: 36px;
    height: 45px;
  }
  .detail-tabs .tabs button {
    padding: 8px;
  }
  .settings-panel {
    padding: 23px;
  }
  .share-shell {
    margin: 23px auto;
    padding: 0 13px;
  }
  .share-shell .panel {
    padding: 21px 17px;
  }
  .share-shell h1 {
    font-size: 21px;
  }
  .cart-drawer {
    align-items: flex-end;
    padding: 0;
  }
  .cart-drawer .modal {
    border-radius: 15px 15px 0 0;
    max-width: 100%;
    max-height: 90dvh;
  }
  .cart-drawer .modal-body {
    padding: 0;
  }
  .demo-banner {
    font-size: 10px;
  }
  .boot {
    font-size: 12px;
  }
  #toast {
    bottom: 145px;
    font-size: 11px;
    padding: 11px 17px;
    width: max-content;
    max-width: 90vw;
  }
}
