.vendor-page {
  min-height: 100vh;
  background: #f5f7fb;
}

.vendor-demo-banner {
  display: flex;
  min-height: 33px;
  padding: 5px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0b418c;
  color: #fff;
  font-size: 9px;
}

.vendor-demo-banner > span:first-child {
  padding: 4px 7px;
  border-radius: 2px;
  background: var(--yellow);
  color: #263248;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.vendor-demo-banner > span:nth-child(2) {
  color: #e2eaf5;
}

.vendor-demo-banner > a {
  position: absolute;
  right: max(20px, calc((100% - 1350px) / 2));
  min-height: 25px;
  padding: 5px 2px;
  color: #fff;
  font-size: 9px;
  font-weight: 650;
}

.vendor-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 68px;
  padding: 0 max(22px, calc((100% - 1400px) / 2));
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e4e9f0;
  background: #fff;
  box-shadow: 0 2px 9px rgb(22 44 72 / 4%);
}

.vendor-brand {
  gap: 7px;
  font-size: 19px;
}

.vendor-brand img {
  width: 36px;
  height: 36px;
}

.vendor-brand-divider {
  width: 1px;
  height: 25px;
  margin-left: 9px;
  background: #e0e5eb;
}

.vendor-brand-label {
  color: #65768a;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.vendor-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.demo-approval,
.approval-chip {
  display: inline-flex;
  min-height: 26px;
  padding: 0 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid #cfe7d7;
  border-radius: 4px;
  background: #f0faf3;
  color: #326844;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.demo-approval > i,
.approval-chip > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38935a;
}

.vendor-top-button {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #e4e9f0;
  border-radius: 50%;
  background: white;
  color: #314760;
  font-size: 18px;
}

.vendor-top-button:hover {
  background: #f3f7fc;
  color: var(--blue);
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
  background: #dfab00;
}

.notification-dot[hidden] {
  display: none;
}

.vendor-profile-button {
  display: flex;
  min-height: 47px;
  padding: 4px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  text-align: left;
}

.vendor-profile-button:hover {
  background: #f5f7fa;
}

.vendor-avatar {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.vendor-profile-button > span:nth-child(2) {
  display: flex;
  max-width: 175px;
  flex-direction: column;
  gap: 3px;
}

.vendor-profile-button strong {
  overflow: hidden;
  color: #30455f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-profile-button small {
  color: #758398;
  font-size: 9px;
}

.vendor-profile-button > span:last-child {
  padding: 0 5px;
  color: #748399;
}

.vendor-layout {
  display: grid;
  min-height: calc(100vh - 101px);
  grid-template-columns: 230px minmax(0, 1fr);
}

.vendor-sidebar {
  position: sticky;
  top: 68px;
  display: flex;
  height: calc(100vh - 68px);
  min-height: 600px;
  padding: 19px 13px 15px;
  flex-direction: column;
  border-right: 1px solid #e4e9f0;
  background: white;
}

.sidebar-shop-card {
  display: flex;
  min-height: 61px;
  padding: 7px 8px 11px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #edf0f4;
}

.sidebar-shop-avatar {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(140deg, #0d56b4, #4984d3);
  color: white;
  font-size: 16px;
  font-weight: 750;
}

.sidebar-shop-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.sidebar-shop-card strong {
  overflow: hidden;
  color: #30445e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-shop-card small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #63806c;
  font-size: 9px;
}

.sidebar-shop-card small > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #49a368;
}

.sidebar-label {
  margin: 20px 8px 8px;
  color: #8894a4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.sidebar-section-label {
  margin-top: 21px;
}

.vendor-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vendor-nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 38px;
  padding: 5px 9px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #4a5b70;
  font-size: 10px;
  font-weight: 550;
  text-align: left;
  transition: background 130ms ease, color 130ms ease;
}

.vendor-nav-item > span:first-child {
  display: grid;
  width: 20px;
  height: 22px;
  flex: 0 0 20px;
  place-items: center;
  color: #697d96;
  font-size: 16px;
}

.vendor-nav-item:hover {
  background: #f1f5fb;
  color: var(--blue);
}

.vendor-nav-item.is-active {
  background: #eaf2ff;
  color: #07489e;
  font-weight: 750;
}

.vendor-nav-item.is-active > span:first-child {
  color: var(--blue);
}

.vendor-nav-item.is-active::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: -13px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--blue);
  content: "";
}

.nav-count {
  display: grid;
  min-width: 18px;
  height: 18px;
  margin-left: auto;
  padding: 0 4px;
  place-items: center;
  border-radius: 10px;
  background: #eef2f6;
  color: #53647a;
  font-size: 8px;
  font-weight: 750;
}

.nav-count[hidden] {
  display: none;
}

.nav-attention {
  background: #fff0bf;
  color: #66510b;
}

.sidebar-footer {
  margin-top: auto;
  padding: 14px 9px 2px;
  border-top: 1px solid #edf0f4;
}

.sidebar-footer > p {
  margin: 0 0 6px;
  color: #53667c;
  font-size: 10px;
  font-weight: 700;
}

.sidebar-footer > button,
.sidebar-footer > a {
  display: flex;
  width: 100%;
  min-height: 33px;
  padding: 6px 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #6b7b90;
  font-size: 9px;
  text-align: left;
}

.sidebar-footer > button:hover,
.sidebar-footer > a:hover {
  color: var(--blue);
}

.sidebar-footer > button > span {
  font-size: 13px;
}

.vendor-main {
  min-width: 0;
  padding: 22px clamp(19px, 3.2vw, 46px) 48px;
  overflow: auto;
}

.vendor-mobile-bar {
  display: none;
}

.vendor-demo-notice {
  display: flex;
  min-height: 39px;
  margin-bottom: 20px;
  padding: 7px 11px;
  align-items: center;
  gap: 4px;
  border: 1px solid #f1e4b7;
  border-radius: 4px;
  background: #fff9e8;
  color: #695723;
  font-size: 9px;
  line-height: 1.5;
}

.vendor-demo-notice > strong {
  flex: 0 0 auto;
}

.workspace-heading {
  display: flex;
  min-height: 73px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.workspace-breadcrumb {
  margin: 0 0 5px;
  color: #8995a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.workspace-breadcrumb > span {
  padding: 0 4px;
  color: #c1c9d3;
}

.workspace-heading h1 {
  margin: 0;
  color: #263b55;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.workspace-heading > div:first-child > p:last-child {
  margin: 4px 0 0;
  color: #758398;
  font-size: 10px;
  line-height: 1.5;
}

.heading-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.heading-market-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.heading-market-link:hover {
  text-decoration: underline;
}

.welcome-card {
  position: relative;
  display: flex;
  min-height: 139px;
  padding: 21px 23px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(110deg, #0b4ca8 0%, #1263c8 68%, #2d78cf 100%);
  color: white;
}

.welcome-card::after {
  position: absolute;
  top: -103px;
  right: 8%;
  width: 227px;
  height: 227px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgb(255 255 255 / 5%), 0 0 0 43px rgb(255 255 255 / 4%);
  content: "";
}

.welcome-card > div {
  position: relative;
  z-index: 1;
}

.welcome-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
  place-items: center;
  border-radius: 6px;
  background: var(--yellow);
  color: #28415c;
  font-size: 15px;
}

.welcome-card .eyebrow {
  color: #d7e5fb;
  font-size: 8px;
}

.welcome-card h2 {
  margin: 6px 0 4px;
  color: white;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.welcome-card h2 > span {
  color: var(--yellow);
}

.welcome-card > div > p:last-child {
  margin: 0;
  color: #e2edfb;
  font-size: 9px;
}

.button-white {
  position: relative;
  z-index: 1;
  min-height: 37px;
  padding: 0 12px;
  border-color: rgb(255 255 255 / 35%);
  background: #fff;
  color: #174e97;
  font-size: 9px;
}

.button-white:hover {
  background: #fff8df;
}

.metric-grid {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.metric-card {
  display: flex;
  min-width: 0;
  min-height: 123px;
  padding: 13px;
  flex-direction: column;
  border: 1px solid #e6eaf0;
  border-radius: 5px;
  background: white;
}

.metric-top {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.metric-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 5px;
  background: #eaf2ff;
  color: #1653a3;
  font-size: 14px;
  font-weight: 750;
}

.metric-change {
  max-width: 100px;
  padding: 4px 5px;
  border-radius: 3px;
  background: #fff2c9;
  color: #725a0a;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.metric-card > p {
  margin: 7px 0 2px;
  overflow: hidden;
  color: #758196;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card > strong {
  overflow: hidden;
  color: #253b55;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card > small {
  margin-top: 3px;
  color: #8893a2;
  font-size: 8px;
}

.dashboard-grid {
  display: grid;
  margin-top: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(275px, 0.8fr);
  gap: 14px;
}

.dashboard-grid-bottom {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.workspace-card {
  min-width: 0;
  border: 1px solid #e6eaf0;
  border-radius: 5px;
  background: white;
}

.card-heading {
  display: flex;
  min-height: 55px;
  padding: 11px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  border-bottom: 1px solid #edf0f4;
}

.card-heading h2 {
  margin: 0;
  color: #30445d;
  font-size: 11px;
  font-weight: 700;
}

.card-heading > div > p {
  margin: 4px 0 0;
  color: #7a8798;
  font-size: 8px;
  line-height: 1.5;
}

.small-link {
  min-height: 31px;
  padding: 4px 2px 4px 7px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.small-link:hover,
.table-link:hover,
.table-action-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chart-summary {
  display: flex;
  padding: 11px 13px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.chart-summary > strong {
  color: #243d5c;
  font-size: 19px;
}

.chart-summary > span {
  color: #8290a2;
  font-size: 8px;
  text-align: right;
}

.sales-chart,
.bar-chart {
  display: flex;
  height: 142px;
  padding: 13px 18px 0;
  align-items: end;
  justify-content: space-around;
  gap: 11px;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 34px, #eef1f5 35px, transparent 36px);
}

.chart-column {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 19px;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  gap: 6px;
}

.chart-bar {
  width: min(33px, 75%);
  height: var(--bar-height);
  min-height: 7px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #4382cf, #1d5bae);
}

.chart-column:nth-child(2n) .chart-bar {
  background: linear-gradient(180deg, #f8d869, #e0ae16);
}

.chart-column > small {
  padding-bottom: 7px;
  color: #7c8a9b;
  font-size: 8px;
}

.chart-legend {
  display: flex;
  min-height: 34px;
  padding: 0 13px;
  align-items: center;
  gap: 5px;
  color: #63748a;
  font-size: 8px;
}

.chart-legend > i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

.chart-legend > span {
  margin-left: auto;
  color: #8a96a4;
}

.attention-list,
.stock-list {
  margin: 0;
  padding: 0 12px;
  list-style: none;
}

.attention-list > li,
.stock-list > li {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eff2f5;
}

.attention-list > li:last-child,
.stock-list > li:last-child {
  border-bottom: 0;
}

.attention-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
}

.attention-yellow {
  background: #e2b21b;
}

.attention-red {
  background: #d8655c;
}

.attention-blue {
  background: #4381c9;
}

.attention-list > li > span:nth-child(2),
.stock-list > li > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.attention-list strong,
.stock-list strong {
  overflow: hidden;
  color: #3a4e65;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attention-list small,
.stock-list small {
  color: #8591a0;
  font-size: 8px;
}

.attention-list button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
}

.stock-list > li {
  min-height: 48px;
}

.mini-product-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 5px;
  background: #eef3fb;
  font-size: 18px;
}

.stock-list > li > strong {
  flex: 0 0 auto;
  font-size: 9px;
}

.stock-low {
  color: #9a6a0a !important;
}

.stock-zero {
  color: #b54747 !important;
}

.page-disclaimer {
  margin: 15px 0 0;
  color: #8994a3;
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  max-width: 150px;
  min-height: 20px;
  padding: 3px 7px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.status-green {
  background: #eaf6ed;
  color: #347147;
}

.status-blue {
  background: #eaf2ff;
  color: #245c9e;
}

.status-yellow {
  background: #fff3c9;
  color: #785d0c;
}

.status-red {
  background: #fdeaea;
  color: #9c3d3d;
}

.status-grey {
  background: #eef1f4;
  color: #657284;
}

.product-list-toolbar {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-list-toolbar .button {
  min-height: 37px;
  padding: 0 11px;
  font-size: 9px;
  white-space: nowrap;
}

.product-list-toolbar .button > span {
  font-size: 16px;
}

.filter-chip-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-chip {
  display: inline-flex;
  min-height: 31px;
  padding: 3px 8px;
  align-items: center;
  gap: 6px;
  border: 1px solid #e1e6ed;
  border-radius: 4px;
  background: white;
  color: #586a80;
  font-size: 8px;
  font-weight: 600;
}

.filter-chip:hover {
  border-color: #b6c8e0;
  color: var(--blue);
}

.filter-chip.is-active {
  border-color: #aac3e6;
  background: #edf4ff;
  color: #084a9e;
}

.filter-chip > span {
  display: grid;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  place-items: center;
  border-radius: 8px;
  background: #eef2f7;
  color: inherit;
  font-size: 7px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  min-height: 32px;
  padding: 9px 10px;
  background: #f7f9fc;
  color: #7c899a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.data-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #eff2f6;
  color: #42546a;
  font-size: 9px;
  vertical-align: middle;
}

.data-table tbody tr:last-child > td {
  border-bottom: 0;
}

.data-table tbody tr:hover > td {
  background: #fbfcfe;
}

.table-product {
  display: flex;
  min-width: 150px;
  align-items: center;
  gap: 8px;
}

.table-product > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.table-product strong {
  max-width: 205px;
  overflow: hidden;
  color: #344960;
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.table-product small,
.table-subtext {
  display: block;
  margin-top: 4px;
  color: #8793a2 !important;
  font-size: 8px !important;
}

.sku-block {
  display: inline-flex;
  padding: 4px 5px;
  border-radius: 3px;
  background: #f2f5f9;
  color: #52657a;
  font-family: Consolas, monospace;
  font-size: 8px;
  white-space: nowrap;
}

.sku-block + .sku-block {
  margin: 2px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.table-actions button,
.table-action-link {
  min-height: 28px;
  padding: 3px 2px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
}

.table-actions button:disabled,
.table-action-link:disabled {
  color: #a3acb7;
  cursor: not-allowed;
  text-decoration: none;
}

.table-empty {
  min-height: 65px;
  padding: 22px 10px !important;
  color: #8290a2 !important;
  text-align: center;
}

.info-callout,
.earnings-note {
  display: flex;
  margin-top: 13px;
  padding: 9px 11px;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #e2eaf5;
  border-radius: 4px;
  background: #f4f8ff;
  color: #556a83;
}

.info-callout > span,
.earnings-note > span {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border: 1px solid #9db8d9;
  border-radius: 50%;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}

.info-callout > p,
.earnings-note > p {
  margin: 0;
  font-size: 8px;
  line-height: 1.7;
}

.inventory-summary-grid,
.order-metrics,
.payout-metrics {
  display: grid;
  margin-bottom: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.inventory-summary-grid .metric-card,
.order-metrics .metric-card,
.payout-metrics .metric-card {
  min-height: 111px;
}

.inline-money,
.inline-stock {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 3px;
  border: 1px solid #e2e8ef;
  border-radius: 3px;
  background: white;
  color: #7c8999;
  font-size: 8px;
}

.inline-money > span:first-of-type,
.inline-stock > span:last-child {
  padding-left: 5px;
}

.inline-money > input,
.inline-stock > input {
  width: 54px;
  height: 27px;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #3d5067;
  font-size: 9px;
}

.inline-stock > input {
  width: 38px;
  font-weight: 700;
}

.inline-money:focus-within,
.inline-stock:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(7 80 181 / 8%);
}

.inline-stock.is-low {
  border-color: #ecd99d;
  background: #fffaf0;
}

.inline-stock.is-zero {
  border-color: #ebc7c7;
  background: #fff7f7;
}

.table-footer {
  display: flex;
  min-height: 50px;
  padding: 7px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf0f4;
  color: #788599;
  font-size: 8px;
}

.button-small {
  min-height: 33px !important;
  padding: 0 9px !important;
  font-size: 8px !important;
}

.order-filter-list {
  min-height: 44px;
  padding: 6px 9px;
}

.filter-label {
  margin: 8px 10px 0;
  color: #778699;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.report-download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.orders-table td {
  min-width: 78px;
}

.orders-table th:last-child,
.orders-table td:last-child {
  min-width: 135px;
}

.table-link {
  min-height: 28px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 9px;
  font-weight: 750;
}

.payment-state {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.payment-state > small {
  color: #8390a0;
  font-size: 8px;
}

.delivery-state {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.delivery-state > small {
  color: #8390a0;
  font-size: 8px;
}

.payment-statement-table tfoot th {
  padding: 10px;
  border-top: 1px solid #dfe5ec;
  background: #f7f9fc;
  color: #394d64;
  font-size: 8px;
  white-space: nowrap;
}

.muted-action {
  color: #8692a1;
  font-size: 8px;
}

.earnings-note {
  margin: 0 0 12px;
  border-color: #eedfa9;
  background: #fff9e8;
  color: #6d5b26;
}

.earnings-note > span {
  border-color: #ddc261;
  color: #94750b;
}

.earnings-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.earnings-highlight {
  display: flex;
  min-height: 116px;
  padding: 13px;
  justify-content: center;
  flex-direction: column;
  border-radius: 5px;
  background: linear-gradient(145deg, #0d4c9f, #256ac1);
  color: white;
}

.earnings-highlight > p {
  margin: 0 0 4px;
  color: #d8e6f8;
  font-size: 9px;
}

.earnings-highlight > strong {
  font-size: 20px;
}

.earnings-highlight > small {
  margin-top: 4px;
  color: #dce8f8;
  font-size: 8px;
  line-height: 1.5;
}

.sales-view-grid {
  display: grid;
  margin-top: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(245px, 0.9fr);
  gap: 12px;
}

.bar-chart {
  height: 178px;
  padding-right: 12px;
  padding-left: 12px;
  gap: 8px;
}

.bar-chart .chart-column {
  gap: 4px;
}

.bar-chart .chart-bar {
  width: min(27px, 78%);
}

.chart-amount {
  min-height: 11px;
  color: #77869a;
  font-size: 7px;
  white-space: nowrap;
}

.earnings-breakdown {
  padding: 11px 13px;
}

.earnings-breakdown > p {
  display: flex;
  min-height: 35px;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-bottom: 1px solid #eef1f5;
  color: #6b7a8e;
  font-size: 8px;
}

.earnings-breakdown > p strong {
  color: #394d64;
  font-size: 9px;
  white-space: nowrap;
}

.earnings-breakdown > .breakdown-total {
  margin-top: 3px;
  border-bottom: 0;
  color: #344b63;
  font-weight: 700;
}

.earnings-breakdown > .breakdown-total strong {
  color: #1c4f8e;
  font-size: 12px;
}

.sales-view-grid .workspace-card > .button {
  margin: 0 12px 12px;
}

.payout-safety {
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #efdfac;
  border-left: 3px solid #e4b31c;
  border-radius: 4px;
  background: #fff9e7;
  color: #6a5721;
  font-size: 9px;
  line-height: 1.65;
}

.payout-safety > strong {
  color: #574818;
}

.payout-actions-bar {
  display: flex;
  min-height: 76px;
  margin: 14px 0;
  padding: 13px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e6eaf0;
  border-radius: 5px;
  background: white;
}

.payout-actions-bar h2 {
  margin: 0;
  color: #33475e;
  font-size: 11px;
}

.payout-actions-bar p {
  margin: 5px 0 0;
  color: #7c8897;
  font-size: 8px;
  line-height: 1.5;
}

.payout-actions-bar > .button {
  min-height: 37px;
  padding: 0 10px;
  font-size: 9px;
  white-space: nowrap;
}

.promo-banner,
.support-banner {
  display: flex;
  min-height: 91px;
  margin-bottom: 15px;
  padding: 14px 17px;
  align-items: center;
  gap: 13px;
  border: 1px solid #e7ebf1;
  border-radius: 5px;
  background: linear-gradient(105deg, #edf4ff, #fff8df);
}

.promo-banner-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #ffeda9;
  color: #866900;
  font-size: 18px;
}

.promo-banner h2,
.support-banner h2 {
  margin: 0;
  color: #31475f;
  font-size: 13px;
}

.promo-banner p,
.support-banner p {
  margin: 5px 0 0;
  color: #6f7d8f;
  font-size: 9px;
  line-height: 1.6;
}

.promo-toolbar {
  margin-bottom: 10px;
}

.promo-toolbar h2 {
  margin: 0;
  color: #30445d;
  font-size: 12px;
}

.promo-toolbar p {
  margin: 4px 0 0;
  color: #8490a0;
  font-size: 8px;
}

.review-overview {
  display: flex;
  min-height: 87px;
  margin-bottom: 13px;
  padding: 12px 16px;
  align-items: center;
  gap: 15px;
  border: 1px solid #e6eaf0;
  border-radius: 5px;
  background: white;
}

.review-overview > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.review-average {
  color: #2b4461;
  font-size: 25px;
  font-weight: 750;
}

.vendor-campaign-list,
.operations-campaign-list,
.operations-message-list {
  display: grid;
  padding: 12px;
  gap: 12px;
}

.vendor-campaign-card,
.operations-campaign-card,
.operations-message-thread {
  min-width: 0;
  border: 1px solid #e8edf3;
  border-radius: 5px;
  background: #fff;
}

.vendor-campaign-card > header,
.operations-campaign-card > header,
.operations-message-thread > header {
  display: flex;
  padding: 12px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf0f4;
  background: #fbfcfe;
}

.vendor-campaign-card > header > div:first-child,
.operations-campaign-card > header > div:first-child,
.operations-message-thread > header > div:first-child {
  min-width: 0;
}

.vendor-campaign-card h3,
.operations-campaign-card h3,
.operations-message-thread h3 {
  margin: 3px 0 4px;
  color: #354b63;
  font-size: 11px;
}

.vendor-campaign-card header p:not(.eyebrow),
.operations-campaign-card header p,
.operations-message-thread header p {
  margin: 0;
  color: #718095;
  font-size: 8px;
  line-height: 1.5;
}

.vendor-campaign-facts,
.operations-campaign-facts {
  display: flex;
  padding: 10px 12px;
  flex-wrap: wrap;
  gap: 9px 18px;
  border-bottom: 1px solid #edf0f4;
  color: #79879a;
  font-size: 8px;
}

.vendor-campaign-facts > span,
.operations-campaign-facts > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vendor-campaign-facts strong,
.operations-campaign-facts strong {
  color: #40546b;
}

.campaign-join-form {
  padding-top: 10px;
}

.campaign-product-choices {
  display: grid;
  gap: 7px;
}

.campaign-product-choice {
  display: grid;
  padding: 8px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) 92px;
  gap: 8px;
  border: 1px solid #e6ebf2;
  border-radius: 4px;
  background: #fbfcfe;
}

.vendor-form > .campaign-product-choice {
  display: grid;
  flex-direction: initial;
}

.campaign-product-choice > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.campaign-product-choice strong {
  overflow: hidden;
  color: #40546b;
  font-size: 9px;
  text-overflow: ellipsis;
}

.campaign-product-choice small {
  color: #8290a1;
  font-size: 8px;
}

.campaign-product-discount {
  display: flex;
  align-items: center;
  gap: 4px;
}

.campaign-product-choice input[type="checkbox"] {
  width: 14px;
  min-height: 14px;
  accent-color: var(--blue);
}

.campaign-product-choice input[type="number"] {
  min-height: 30px;
  padding: 4px;
}

.campaign-application-summary {
  display: flex;
  padding: 10px 12px 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.campaign-application-summary > small,
.campaign-application-summary > p {
  margin: 0;
  color: #78889a;
  font-size: 8px;
}

.campaign-application-summary > p {
  flex-basis: 100%;
}

.campaign-sales-table tfoot th {
  padding: 9px;
  border-top: 1px solid #dfe5ec;
  background: #f7f9fc;
  color: #394d64;
  font-size: 8px;
  white-space: nowrap;
}

.campaign-threads {
  display: grid;
  padding: 12px;
  gap: 10px;
}

.campaign-thread {
  padding: 10px;
  border: 1px solid #e8edf3;
  border-radius: 4px;
  background: #fbfcfe;
}

.campaign-thread-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #43566d;
  font-size: 8px;
}

.campaign-thread-heading > span {
  color: #8290a1;
}

.campaign-message {
  max-width: 90%;
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
  background: #edf4ff;
  color: #40546b;
}

.campaign-message.is-operations {
  margin-left: auto;
  background: #f0f5e9;
}

.campaign-message > strong,
.campaign-message > small {
  color: #758398;
  font-size: 8px;
}

.campaign-message > p {
  margin: 5px 0;
  font-size: 9px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.review-stars {
  color: #c99809;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.review-overview small {
  width: 100%;
  color: #7d8999;
  font-size: 8px;
}

.review-overview > p {
  max-width: 380px;
  margin: 0 auto 0 4px;
  color: #728095;
  font-size: 9px;
  line-height: 1.65;
}

.review-list {
  padding: 0 14px;
}

.review-card {
  display: grid;
  padding: 13px 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  border-bottom: 1px solid #eef1f5;
}

.review-card:last-child {
  border-bottom: 0;
}

.review-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #edf3fd;
  color: #3d5f90;
  font-size: 11px;
  font-weight: 750;
}

.review-content {
  min-width: 0;
}

.review-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.review-heading > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.review-heading > div > strong {
  color: #3c5067;
  font-size: 9px;
}

.review-heading > div > small {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  color: #8792a0;
  font-size: 8px;
}

.review-heading .status-pill {
  min-height: 16px;
  padding: 2px 4px;
  font-size: 7px;
}

.review-heading > .review-stars {
  font-size: 10px;
}

.review-product {
  margin: 7px 0 4px;
  color: #77869a;
  font-size: 8px;
}

.review-text {
  margin: 0 0 6px;
  color: #516278;
  font-size: 9px;
  line-height: 1.65;
}

.vendor-reply {
  margin: 8px 0 2px;
  padding: 8px 10px;
  border-left: 2px solid #78a5dc;
  background: #f4f8fd;
}

.vendor-reply > strong {
  color: #3c5a7c;
  font-size: 8px;
}

.vendor-reply > p {
  margin: 4px 0 0;
  color: #60718a;
  font-size: 8px;
  line-height: 1.6;
}

.notification-toolbar {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
}

.notification-toolbar > p {
  color: #61728a;
  font-size: 9px;
}

.notification-toolbar > button {
  min-height: 32px;
  font-size: 9px;
}

.notification-toolbar > button:disabled {
  color: #9ba5b1;
  cursor: default;
}

.notification-list {
  padding: 0 13px;
}

.notification-row {
  display: grid;
  min-height: 75px;
  padding: 10px 0;
  align-items: center;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  gap: 9px;
  border-bottom: 1px solid #edf0f4;
}

.notification-row:last-child {
  border-bottom: 0;
}

.notification-row.is-unread {
  background: linear-gradient(90deg, #f3f7ff 0, white 75%);
}

.notification-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ecf2fc;
  color: #235995;
  font-size: 14px;
}

.notification-finance {
  background: #eff7eb;
  color: #4d7849;
}

.notification-row > div {
  min-width: 0;
}

.notification-row h3 {
  margin: 0;
  color: #3b5068;
  font-size: 9px;
}

.notification-row p {
  margin: 4px 0;
  color: #66778d;
  font-size: 8px;
  line-height: 1.55;
}

.notification-row small {
  color: #8b96a4;
  font-size: 7px;
}

.shop-profile-banner {
  display: flex;
  min-height: 94px;
  margin-bottom: 14px;
  padding: 14px 16px;
  align-items: center;
  gap: 11px;
  border: 1px solid #e4e9f0;
  border-radius: 5px;
  background: white;
}

.shop-profile-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(145deg, #0e53ae, #3e81ce);
  color: white;
  font-size: 20px;
  font-weight: 750;
}

.shop-profile-banner > div {
  min-width: 0;
}

.shop-profile-banner h2 {
  margin: 5px 0 2px;
  overflow: hidden;
  color: #30465f;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-profile-banner > div > p:last-child {
  margin: 0;
  color: #758499;
  font-size: 9px;
}

.shop-profile-banner > div > p:last-child > span {
  padding: 0 3px;
}

.shop-profile-banner > .approval-chip {
  margin-left: auto;
}

.shop-settings-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 13px;
}

.shop-settings-column {
  display: grid;
  min-width: 0;
  align-items: start;
  gap: 13px;
}

.payment-review-status {
  display: flex;
  margin: 0 14px;
  padding: 10px 0 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid #edf0f4;
  color: #687a90;
  font-size: 8px;
  line-height: 1.5;
}

.payout-method-fields {
  display: grid;
  gap: 11px;
}

.payout-method-fields[hidden] {
  display: none;
}

.vendor-form {
  display: flex;
  padding: 14px;
  flex-direction: column;
  gap: 11px;
}

.vendor-form > label,
.vendor-form-row > label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  color: #3c5169;
  font-size: 9px;
  font-weight: 700;
}

.vendor-form input,
.vendor-form select,
.vendor-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #dfe5ec;
  border-radius: 4px;
  outline: 0;
  background: white;
  color: #374c64;
  font-size: 10px;
  font-weight: 400;
}

.vendor-form input:focus,
.vendor-form select:focus,
.vendor-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(7 80 181 / 9%);
}

.vendor-form textarea {
  min-height: 75px;
  line-height: 1.55;
  resize: vertical;
}

.vendor-form > label > small {
  color: #8290a1;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
}

.vendor-form .form-help {
  color: #8290a1;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
}

.product-image-fieldset {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e1e6ed;
  border-radius: 4px;
}

.product-image-fieldset legend {
  padding: 0 4px;
  color: #3c5169;
  font-size: 10px;
  font-weight: 750;
}

.product-image-fieldset > .form-help {
  margin: 0 0 9px;
}

.product-image-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-image-slot {
  display: flex;
  min-width: 0;
  min-height: 118px;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  border: 1px dashed #d6dee8;
  border-radius: 4px;
  background: #fafbfd;
}

.product-image-slot > label:first-child {
  display: grid;
  gap: 5px;
  color: #3c5169;
  font-size: 8px;
  font-weight: 700;
}

.product-image-slot input[type="file"] {
  min-height: 32px;
  padding: 5px;
  font-size: 8px;
}

.product-image-preview {
  width: 100%;
  height: 72px;
  border-radius: 3px;
  background: #eef2f7;
  object-fit: contain;
}

.product-image-empty {
  display: grid;
  min-height: 46px;
  flex: 1;
  place-items: center;
  color: #8995a5;
  font-size: 8px;
}

.product-image-slot .product-image-remove {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8a4b4b;
  font-size: 8px;
  font-weight: 500;
}

.product-image-slot .product-image-remove input {
  width: 13px;
  min-height: 13px;
  margin: 0;
}

.vendor-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vendor-form > .form-notice {
  margin: 0;
}

.vendor-form > .button {
  align-self: flex-start;
  min-height: 37px;
  padding: 0 10px;
  font-size: 9px;
}

.form-feedback {
  min-height: 14px;
  margin: -5px 0 0;
  color: #347148;
  font-size: 8px;
  line-height: 1.6;
}

.verification-card {
  padding: 14px;
}

.verification-card h3 {
  margin: 12px 0 6px;
  color: #3b5068;
  font-size: 10px;
}

.verification-card > p {
  margin: 0 0 11px;
  color: #718095;
  font-size: 8px;
  line-height: 1.7;
}

.verification-card > span:last-child {
  display: block;
  padding-top: 9px;
  border-top: 1px solid #edf0f4;
  color: #76869a;
  font-family: Consolas, monospace;
  font-size: 8px;
}

.settings-rules {
  display: flex;
  margin: 0;
  padding: 12px 14px 13px 30px;
  flex-direction: column;
  gap: 10px;
  color: #65758b;
  font-size: 8px;
  line-height: 1.6;
}

.settings-rules li::marker {
  color: #c28f00;
}

.support-banner {
  min-height: 79px;
  margin-bottom: 13px;
  background: #edf4ff;
}

.support-banner > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  font-size: 17px;
  font-weight: 750;
}

.support-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 13px;
}

.case-list {
  padding: 0 13px;
}

.case-row {
  display: grid;
  min-height: 62px;
  align-items: center;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 8px;
  border-bottom: 1px solid #eff2f5;
}

.case-row:last-child {
  border-bottom: 0;
}

.case-reference {
  color: #547090;
  font-family: Consolas, monospace;
  font-size: 8px;
}

.case-row > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.case-row > span:nth-child(2) > strong {
  overflow: hidden;
  color: #43566c;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-row > span:nth-child(2) > small {
  color: #8793a2;
  font-size: 7px;
}

.vendor-dialog {
  width: min(710px, calc(100% - 28px));
  max-width: none;
  max-height: min(86vh, 830px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 7px;
  background: white;
  box-shadow: 0 22px 65px rgb(13 31 54 / 24%);
  color: #273d56;
}

.vendor-dialog::backdrop {
  background: rgb(15 29 47 / 50%);
  backdrop-filter: blur(2px);
}

.vendor-dialog-frame {
  max-height: min(86vh, 830px);
  overflow-y: auto;
  border-radius: inherit;
}

.vendor-dialog-heading {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 54px;
  padding: 9px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #e8edf2;
  background: white;
}

.vendor-dialog-heading h2 {
  margin: 0;
  color: #30455e;
  font-size: 14px;
}

.vendor-dialog-close {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #e1e7ee;
  border-radius: 50%;
  background: white;
  color: #53647a;
  font-size: 21px;
}

.vendor-dialog-close:hover {
  background: #f4f7fa;
}

.product-editor-form {
  padding: 15px 17px 17px;
}

.variant-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.variant-editor-heading h3 {
  margin: 0;
  color: #3b5068;
  font-size: 10px;
}

.variant-editor-heading p {
  margin: 4px 0 0;
  color: #7c8998;
  font-size: 8px;
}

.variant-editor-row {
  position: relative;
  display: grid;
  padding: 10px 33px 10px 10px;
  align-items: end;
  grid-template-columns: 1fr 1.1fr 0.75fr 0.65fr;
  gap: 8px;
  border: 1px solid #e6ebf1;
  border-radius: 4px;
  background: #fafbfd;
}

.variant-editor-row > label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  color: #64758a;
  font-size: 8px;
  font-weight: 700;
}

.variant-editor-row > label > input {
  min-height: 32px;
  padding: 5px 6px;
  font-size: 9px;
}

.remove-variant {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f7eaea;
  color: #a04444;
  font-size: 18px;
  transform: translateY(-50%);
}

.remove-variant:hover {
  background: #f1dada;
}

.dialog-form-actions {
  display: flex;
  padding-top: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #edf0f4;
}

.dialog-form-actions > .button {
  min-height: 37px;
  padding: 0 11px;
  font-size: 9px;
}

.order-detail-panel {
  padding: 15px 17px 17px;
}

.order-detail-summary {
  display: flex;
  min-height: 43px;
  padding-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0f4;
}

.order-detail-summary > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.order-detail-summary > div > small {
  color: #778699;
  font-size: 8px;
}

.order-detail-facts {
  display: grid;
  padding: 8px 0 5px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.order-detail-facts > p {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 5px;
}

.order-detail-facts > p > span {
  color: #8692a0;
  font-size: 8px;
}

.order-detail-facts > p > strong {
  color: #40546b;
  font-size: 9px;
}

.order-tracking-card {
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px solid #e8edf3;
  border-radius: 4px;
  background: #fbfcfe;
}

.order-tracking-card > h3 {
  margin: 0 0 9px;
}

.order-tracking-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.order-tracking-facts > p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  gap: 4px;
}

.order-tracking-facts > p > span,
.tracking-disclaimer,
.tracking-timeline small {
  color: #8290a1;
  font-size: 8px;
}

.order-tracking-facts > p > strong {
  overflow-wrap: anywhere;
  color: #40546b;
  font-size: 9px;
}

.tracking-note {
  margin: 9px 0;
  color: #895b19;
  font-size: 8px;
}

.tracking-timeline {
  display: grid;
  margin: 10px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.tracking-timeline > li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.tracking-disclaimer {
  margin: 9px 0 0;
  line-height: 1.5;
}

.order-detail-panel h3 {
  margin: 12px 0 4px;
  color: #40546b;
  font-size: 10px;
}

.order-detail-panel .order-tracking-card > h3 {
  margin: 0 0 9px;
}

.order-detail-items > div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf0f4;
}

.order-detail-items > div > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.order-detail-items strong {
  color: #43566d;
  font-size: 9px;
}

.order-detail-items small {
  color: #8290a1;
  font-size: 8px;
}

.order-detail-total {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  color: #43566d;
  font-size: 10px;
  font-weight: 700;
}

.vendor-toast {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 18px;
  max-width: min(430px, calc(100vw - 36px));
  padding: 11px 14px;
  border: 1px solid #23466c;
  border-radius: 5px;
  background: #173a5d;
  box-shadow: 0 7px 22px rgb(17 39 63 / 20%);
  color: white;
  font-size: 10px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.vendor-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .vendor-layout {
    grid-template-columns: 207px minmax(0, 1fr);
  }

  .metric-grid,
  .earnings-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .dashboard-grid-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .attention-list > li {
    min-height: 45px;
  }

  .sales-view-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .vendor-demo-banner {
    min-height: 32px;
    padding: 4px 10px;
    justify-content: flex-start;
    gap: 6px;
    font-size: 8px;
  }

  .vendor-demo-banner > span:first-child {
    font-size: 7px;
  }

  .vendor-demo-banner > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vendor-demo-banner > a {
    display: none;
  }

  .vendor-topbar {
    height: 58px;
    padding: 0 12px;
  }

  .vendor-brand {
    gap: 5px;
    font-size: 16px;
  }

  .vendor-brand img {
    width: 31px;
    height: 31px;
  }

  .vendor-brand-divider {
    height: 20px;
    margin-left: 5px;
  }

  .vendor-brand-label {
    font-size: 7px;
  }

  .vendor-top-actions {
    gap: 6px;
  }

  .vendor-top-actions > .demo-approval {
    display: none;
  }

  .vendor-top-button {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .vendor-profile-button {
    min-height: 40px;
    gap: 4px;
  }

  .vendor-avatar {
    width: 29px;
    height: 29px;
    font-size: 11px;
  }

  .vendor-profile-button > span:nth-child(2) {
    max-width: 100px;
  }

  .vendor-profile-button strong {
    max-width: 100px;
    font-size: 8px;
  }

  .vendor-profile-button small,
  .vendor-profile-button > span:last-child {
    display: none;
  }

  .vendor-layout {
    min-height: calc(100vh - 90px);
    grid-template-columns: minmax(0, 1fr);
  }

  .vendor-sidebar {
    position: fixed;
    z-index: 19;
    top: 90px;
    bottom: 0;
    left: 0;
    width: min(292px, 83vw);
    height: auto;
    min-height: 0;
    padding-top: 13px;
    overflow-y: auto;
    box-shadow: 12px 0 30px rgb(18 40 66 / 14%);
    transform: translateX(-105%);
    transition: transform 170ms ease;
  }

  .vendor-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-label {
    margin-top: 15px;
  }

  .sidebar-section-label {
    margin-top: 15px;
  }

  .vendor-nav-item {
    min-height: 41px;
  }

  .vendor-main {
    padding: 12px 13px 35px;
    overflow: visible;
  }

  .vendor-mobile-bar {
    display: flex;
    min-height: 37px;
    margin-bottom: 7px;
    align-items: center;
    justify-content: space-between;
  }

  .vendor-mobile-bar > button {
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid #dfe6ef;
    border-radius: 4px;
    background: white;
    color: #38536f;
    font-size: 15px;
  }

  .vendor-mobile-bar > button > span {
    padding-left: 4px;
    font-size: 9px;
  }

  .vendor-mobile-bar .demo-approval {
    min-height: 23px;
    font-size: 8px;
  }

  .vendor-demo-notice {
    margin-bottom: 13px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    font-size: 8px;
  }

  .workspace-heading {
    min-height: 66px;
    margin-bottom: 12px;
    align-items: flex-start;
  }

  .workspace-breadcrumb {
    font-size: 7px;
  }

  .workspace-heading h1 {
    font-size: 21px;
  }

  .workspace-heading > div:first-child > p:last-child {
    max-width: 260px;
    font-size: 9px;
  }

  .heading-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 2px;
  }

  .approval-chip {
    min-height: 23px;
    padding: 0 6px;
    font-size: 7px;
  }

  .heading-market-link {
    min-height: 27px;
    font-size: 8px;
  }

  .welcome-card {
    min-height: 146px;
    padding: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .welcome-card::after {
    right: -24px;
  }

  .welcome-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
    font-size: 13px;
  }

  .welcome-card h2 {
    font-size: 15px;
  }

  .welcome-card > div > p:last-child {
    max-width: 300px;
    font-size: 8px;
    line-height: 1.5;
  }

  .button-white {
    min-height: 31px;
  }

  .metric-grid {
    gap: 8px;
  }

  .metric-card {
    min-height: 110px;
    padding: 10px;
  }

  .metric-card > strong {
    font-size: 18px;
  }

  .metric-card > p {
    font-size: 8px;
  }

  .dashboard-grid,
  .dashboard-grid-bottom {
    margin-top: 10px;
    gap: 10px;
  }

  .inventory-summary-grid,
  .order-metrics,
  .payout-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .order-metrics .metric-card:last-child {
    grid-column: 1 / -1;
  }

  .product-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-list-toolbar .button {
    align-self: flex-end;
  }

  .filter-chip-list {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .table-wrap {
    overflow-x: auto;
  }

  .data-table {
    min-width: 620px;
  }

  .orders-table {
    min-width: 870px;
  }

  .inventory-table {
    min-width: 660px;
  }

  .table-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-footer > .button {
    align-self: flex-end;
  }

  .earnings-card-row {
    gap: 8px;
  }

  .earnings-highlight,
  .earnings-card-row .metric-card {
    min-height: 108px;
    padding: 10px;
  }

  .earnings-highlight > strong {
    font-size: 17px;
  }

  .earnings-card-row .metric-card > strong {
    font-size: 17px;
  }

  .sales-view-grid {
    gap: 10px;
  }

  .payout-actions-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .payout-actions-bar > .button {
    align-self: flex-end;
  }

  .review-overview {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .review-overview > p {
    max-width: none;
    flex-basis: calc(100% - 132px);
    margin-left: auto;
    font-size: 8px;
  }

  .review-overview > .status-pill {
    margin-left: 0;
  }

  .notification-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .notification-row > .table-action-link {
    grid-column: 2 / -1;
    justify-self: end;
  }

  .shop-settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-profile-banner {
    gap: 8px;
    padding: 11px;
  }

  .shop-profile-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .shop-profile-banner h2 {
    font-size: 12px;
  }

  .shop-profile-banner > .approval-chip {
    max-width: 105px;
    white-space: normal;
  }

  .support-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .vendor-toast {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .vendor-demo-banner {
    gap: 5px;
  }

  .vendor-demo-banner > span:nth-child(2) {
    font-size: 7px;
  }

  .vendor-brand-label {
    display: none;
  }

  .vendor-brand-divider {
    display: none;
  }

  .vendor-topbar {
    padding: 0 9px;
  }

  .vendor-profile-button > span:nth-child(2) {
    max-width: 76px;
  }

  .workspace-heading {
    gap: 4px;
  }

  .heading-actions {
    gap: 0;
  }

  .heading-market-link {
    font-size: 7px;
  }

  .vendor-main {
    padding-right: 9px;
    padding-left: 9px;
  }

  .vendor-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .variant-editor-row {
    padding-right: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .order-detail-facts {
    grid-template-columns: 1fr 1fr;
  }

  .order-tracking-facts {
    grid-template-columns: 1fr 1fr;
  }

  .report-download-actions {
    justify-content: flex-start;
  }

  .review-overview > p {
    flex-basis: 100%;
    margin-left: 0;
  }

  .review-overview > .status-pill {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* Auth Guard Security Styles */
.auth-guard-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.auth-guard-box {
  background: white;
  padding: 24px 32px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #1e293b;
  font-weight: 600;
}

.auth-guard-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: authSpin 0.8s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.auth-guard-card {
  background: white;
  max-width: 460px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  padding: 28px;
  color: #1e293b;
  text-align: left;
}

.auth-guard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.auth-guard-header .auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #0f172a;
}

.auth-guard-header .auth-brand img {
  border-radius: 6px;
}

.auth-role-badge {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.auth-guard-body h2 {
  font-size: 20px;
  margin: 0 0 8px 0;
  color: #0f172a;
}

.auth-instruction {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.guard-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 18px;
}

.guard-tab {
  background: none;
  border: none;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 650;
  color: #64748b;
  cursor: pointer;
  position: relative;
}

.guard-tab.is-active {
  color: #0750b5;
}

.guard-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0750b5;
}

.guard-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .guard-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.guard-login-form .guard-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.guard-login-form label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.guard-login-form input,
.guard-login-form select {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease;
}

.guard-login-form input:focus,
.guard-login-form select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.guard-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #fecaca;
  font-size: 13px;
  margin-bottom: 14px;
}

.guard-success {
  background: #f0fdf4;
  color: #166534;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  font-size: 13px;
  margin-bottom: 14px;
}

.guard-submit-button {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.guard-helpers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
}

.guard-return-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}

.guard-return-link:hover {
  text-decoration: underline;
}

.guard-link-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.guard-bootstrap-panel {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.guard-bootstrap-panel h4 {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: #0f172a;
}

.guard-bootstrap-panel .helper-text {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 8px 0;
}

.guard-bootstrap-row {
  display: flex;
  gap: 8px;
}

.guard-bootstrap-row input,
.guard-bootstrap-row select {
  flex: 1;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: white;
}

.guard-status {
  font-size: 12px;
  margin-top: 6px;
  color: #0369a1;
}

.auth-denied-card {
  text-align: center;
}

.auth-denied-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.auth-denied-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.staff-signout-btn {
  margin-left: 10px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
