.admin-workspace {
  --admin-line: #26363d;
  --admin-muted: #93a6b0;
  --admin-surface: #101a20;
  min-height: 100vh;
  background: #080e12;
  color: #eef6f4;
  font-family: Manrope, sans-serif;
}
.admin-topbar {
  height: 90px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--admin-line);
  background: #0c1319;
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #e9f5ec;
  text-decoration: none;
}
.admin-brand img {
  width: 42px;
  height: 42px;
}
.admin-brand > span {
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.admin-brand small {
  display: block;
  font-size: 9px;
  color: var(--admin-muted);
  letter-spacing: 0.2em;
  margin-top: 4px;
}
.admin-view-switch {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid #2d4147;
  background: #0a1016;
  border-radius: 6px;
}
.admin-view-switch > a,
.admin-view-switch > span {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  color: #b8c8cd;
}
.admin-view-switch > span {
  background: #adff62;
  color: #102015;
  border-radius: 3px;
}
.admin-view-switch > a:hover {
  background: #142831;
  color: #fff;
}
.admin-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: calc(100vh - 90px);
}
.admin-sidebar {
  padding: 28px 18px;
  border-right: 1px solid var(--admin-line);
  background: #0b1318;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.admin-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  min-width: 0;
}
.admin-owner-avatar {
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #436941;
  color: #b0ff71;
  font-weight: 900;
}
.admin-owner > div {
  min-width: 0;
}
.admin-owner strong {
  font-size: 13px;
}
.admin-owner small {
  display: block;
  font-size: 10px;
  overflow-wrap: anywhere;
  color: var(--admin-muted);
  margin-top: 5px;
}
.admin-sidebar nav {
  display: grid;
  gap: 7px;
}
.admin-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #a6b9bf;
  padding: 14px 12px;
  min-height: 49px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.admin-sidebar nav button > span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #66818a;
}
.admin-sidebar nav button:hover {
  background: #15252d;
  color: #fff;
}
.admin-sidebar nav button.active {
  background: #183229;
  color: #c4ff9c;
  border-color: #355d44;
}
.admin-sidebar nav button.active > span {
  color: #a9fd68;
}
.admin-environment {
  margin-top: auto;
  padding: 19px 12px 8px;
  border-top: 1px solid var(--admin-line);
  font-size: 12px;
}
.admin-environment i {
  width: 6px;
  height: 6px;
  background: #aaff64;
  display: inline-block;
  border-radius: 50%;
  margin-right: 7px;
}
.admin-environment strong {
  font-size: 12px;
}
.admin-environment p {
  line-height: 1.8;
  color: #879da7;
  margin: 12px 0;
}
.admin-environment a {
  font-size: 12px;
  color: #b3e98d;
  text-decoration: none;
}
.admin-main {
  padding: 42px clamp(22px, 3vw, 52px) 70px;
  min-width: 0;
  max-width: 1650px;
  width: 100%;
  margin: auto;
  align-self: start;
}
.admin-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.admin-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #8fb795;
  margin-bottom: 12px;
}
.admin-page-heading h1 {
  font-family: Sora, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.admin-page-heading p {
  font-size: 13px;
  color: #9cb0b8;
  line-height: 1.8;
  max-width: 620px;
  margin: 0;
}
.admin-page-heading > .button {
  flex-shrink: 0;
}
.admin-sync-line {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--admin-muted);
  margin-bottom: 24px;
}
.admin-sync-line strong {
  color: #c0d0d5;
  font-weight: 600;
  margin-left: 5px;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid #38494e;
  border-radius: 3px;
  background: #152027;
  color: #afc1c9;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.025em;
}
.admin-pill.is-green {
  color: #baff8c;
  border-color: #3f6745;
  background: #132c23;
}
.admin-pill.is-amber {
  color: #f4d289;
  border-color: #665638;
  background: #29251c;
}
.admin-pill.is-red {
  color: #ffb1a8;
  background: #321f22;
  border-color: #7b4444;
}
.admin-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--admin-line);
  background: #0f1b22;
  border-radius: 7px;
  margin-bottom: 26px;
  overflow: hidden;
}
.admin-metric {
  padding: 24px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.admin-ledger > .admin-metric + .admin-metric {
  border-left: 1px solid var(--admin-line);
}
.admin-metric > span {
  font-size: 11px;
  color: #b4c5ca;
  font-weight: 700;
}
.admin-metric > strong {
  font-family: Sora, sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: -0.055em;
  line-height: 1.3;
  color: #c5ff9b;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.admin-metric > small {
  font-size: 10px;
  line-height: 1.7;
  color: #8199a4;
}
.admin-metric.muted > strong {
  color: #e0e9e9;
}
.admin-overview-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.admin-panel {
  padding: 26px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: var(--admin-surface);
  margin-bottom: 24px;
  min-width: 0;
}
.admin-overview-grid > .admin-panel {
  margin: 0;
}
.admin-panel h2 {
  font-family: Sora, sans-serif;
  font-size: 21px;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 16px;
}
.admin-panel h3 {
  font-size: 16px;
  margin: 0 0 16px;
}
.admin-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.admin-panel-heading h2 {
  margin: 0;
}
.admin-panel-heading .admin-kicker {
  margin-bottom: 8px;
}
.admin-link {
  background: none;
  border: 0;
  color: #bbef9a;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}
.admin-stock-summary {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.admin-stock-summary > strong {
  font-family: Sora, sans-serif;
  font-size: 55px;
  line-height: 1;
  color: #d4ffb9;
  letter-spacing: -0.06em;
}
.admin-stock-summary > strong small {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  margin-top: 9px;
  font-weight: 650;
}
.admin-stock-summary > span {
  font-size: 11px;
  color: #8ba1ab;
  padding-bottom: 4px;
}
.admin-stock-bar {
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  margin: 23px 0;
  background: #29383e;
  appearance: none;
  display: block;
}
.admin-stock-bar::-webkit-progress-bar {
  background: #29383e;
}
.admin-stock-bar::-webkit-progress-value {
  background: #aeff68;
}
.admin-stock-bar::-moz-progress-bar {
  background: #aeff68;
}
.admin-inventory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 23px;
  margin-bottom: 20px;
}
.admin-inventory-stats span {
  font-size: 10px;
  line-height: 1.7;
  color: #9fb2bb;
}
.admin-inventory-stats strong {
  display: block;
  font-size: 22px;
  font-family: Sora, sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #eef6f3;
  margin-top: 9px;
}
.admin-muted,
.admin-footnote {
  font-size: 11px;
  color: #90a7b1;
  line-height: 1.9;
}
.admin-footnote {
  margin: 17px 2px;
}
.admin-alerts {
  display: grid;
}
.admin-alerts > button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid #27343a;
  color: #d4e1e4;
  text-align: left;
  padding: 13px 0;
  cursor: pointer;
}
.admin-alerts > button:last-child {
  border: 0;
}
.admin-alerts > button > span:nth-child(2) {
  min-width: 0;
}
.admin-alerts strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}
.admin-alerts small {
  display: block;
  font-size: 10px;
  color: #8c9fa8;
  margin-top: 5px;
  line-height: 1.7;
}
.admin-alerts b {
  margin-left: auto;
  color: #adcead;
  font-weight: 400;
}
.admin-alert-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: #e5be75;
  border-radius: 50%;
}
.admin-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid #354747;
  border-left: 3px solid #9ce65f;
  border-radius: 4px;
  background: #10201e;
  margin-bottom: 24px;
}
.admin-callout > span {
  font-family: Sora, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #b0f886;
}
.admin-callout p {
  font-size: 11px;
  color: #a1b9bb;
  line-height: 1.9;
  margin: 0;
}
.admin-callout strong {
  color: #d4e9e0;
}
.admin-callout.is-error {
  border-left-color: #f48c83;
  background: #251b1f;
}
.admin-callout.is-error > span {
  color: #fba99f;
}
.admin-filters {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 25px;
}
.admin-filters > label:first-child {
  flex: 1;
}
.admin-filters label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  color: #9db1b8;
  font-weight: 700;
}
.admin-filters input,
.admin-filters select {
  min-height: 44px;
  font-size: 13px;
  width: 100%;
  background: #101b24;
  border: 1px solid #35464f;
  border-radius: 4px;
  padding: 10px 13px;
  color: #e2edee;
}
.admin-filters > button {
  min-height: 44px;
  flex-shrink: 0;
}
.admin-table-panel {
  padding: 0;
  overflow: hidden;
}
.admin-table-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  max-width: 100%;
}
.admin-workspace table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
.admin-workspace th {
  background: #101e26;
  color: #89a1ab;
  padding: 17px 20px;
  border-bottom: 1px solid #35434c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
.admin-workspace td {
  padding: 17px 20px;
  border-bottom: 1px solid #26363e;
  vertical-align: middle;
  color: #b6c8cf;
  line-height: 1.65;
}
.admin-workspace tr:last-child td {
  border-bottom: 0;
}
.admin-workspace tbody tr:hover {
  background: #14252a;
}
.admin-workspace td > strong {
  color: #e8f0ed;
  font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.admin-cell-note {
  display: block;
  font-size: 9px;
  color: #7f9aa5;
  line-height: 1.7;
  margin-top: 5px;
  max-width: 240px;
}
.admin-workspace .admin-positive {
  color: #b5f686;
}
.admin-workspace .admin-negative {
  color: #ff9e94;
}
.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: #e6efeb;
  cursor: pointer;
  min-width: 240px;
  max-width: 360px;
}
.admin-product-cell img {
  width: 36px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.admin-product-cell strong {
  font-size: 12px;
  line-height: 1.6;
  display: block;
  font-weight: 750;
}
.admin-product-cell small {
  font-size: 9px;
  display: block;
  color: #8ca2ac;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.admin-open-button {
  border: 1px solid #456443;
  background: #162d25;
  color: #bcfb91;
  min-width: 33px;
  min-height: 33px;
  border-radius: 4px;
  cursor: pointer;
}
.admin-open-button:hover {
  background: #294d35;
}
.admin-art-placeholder {
  width: 38px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #263b2f;
  color: #b6fa86;
  flex-shrink: 0;
}
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--admin-line);
  font-size: 11px;
  color: #8fa5b1;
}
.admin-pagination > div {
  display: flex;
  gap: 7px;
}
.admin-pagination button {
  padding: 8px 12px;
  min-height: 34px;
  border: 1px solid #3a505a;
  border-radius: 4px;
  background: #14212a;
  color: #d1dfe2;
  cursor: pointer;
  font-size: 11px;
}
.admin-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}
.admin-empty,
.admin-loading {
  padding: 45px 20px;
  text-align: center;
  color: #8fa7b0;
  font-size: 13px;
  line-height: 1.8;
}
.admin-loading {
  animation: admin-fade 0.25s ease both;
}
.admin-supplier-card {
  border: 1px solid var(--admin-line);
  background: #111c22;
  padding: 30px;
  border-radius: 7px;
  margin-bottom: 25px;
}
.admin-supplier-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.admin-supplier-title h2 {
  font-size: 24px;
  font-family: Sora, sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  font-weight: 600;
}
.admin-supplier-title p {
  font-size: 11px;
  color: #8ea9b2;
  margin: 0;
}
.admin-supplier-title > .admin-pill {
  margin-left: auto;
}
.admin-supplier-logo {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border: 1px solid #57774a;
  color: #c3ff90;
  font-size: 19px;
  font-weight: 900;
  border-radius: 7px;
  background: #1e3327;
}
.admin-supplier-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  padding: 23px 0;
  gap: 22px;
  margin-bottom: 24px;
}
.admin-supplier-facts span {
  display: block;
  font-size: 10px;
  color: #91a7b0;
  margin-bottom: 12px;
}
.admin-supplier-facts strong {
  font-size: 13px;
  color: #d7e8e7;
  line-height: 1.7;
}
.admin-rules-list {
  font-size: 12px;
  color: #a1b6bd;
  line-height: 2.3;
  padding-left: 20px;
}
.admin-fx-rate {
  font-size: 14px;
  color: #a7b9c2;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-fx-rate strong {
  font-size: 22px;
  color: #ceffa7;
  font-family: Sora, sans-serif;
}
.admin-settings-form {
  max-width: 860px;
}
.admin-settings-form h2 {
  margin-bottom: 20px;
}
.admin-settings-form > label,
.admin-form-grid > label,
.admin-price-form > label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #b7cbd0;
  margin-bottom: 20px;
}
.admin-settings-form input:not([type="checkbox"]),
.admin-settings-form select,
.admin-price-form input:not([type="hidden"]) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  border: 1px solid #3a4a54;
  background: #0b151d;
  color: #dcebe9;
  padding: 11px 13px;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.admin-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px !important;
  font-size: 12px;
  line-height: 1.8;
  cursor: pointer;
}
.admin-checkbox input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #b0ff6a;
}
.admin-settings-divider {
  height: 1px;
  background: #2d3d43;
  margin: 30px 0;
}
.admin-settings-form > .button {
  margin-top: 16px;
}
.admin-activity-list > article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #2a383e;
}
.admin-activity-list > article:last-child {
  border: 0;
}
.admin-activity-dot {
  width: 7px;
  height: 7px;
  background: #9af068;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.admin-activity-list strong {
  font-size: 13px;
  color: #d6e7e5;
}
.admin-activity-list p {
  font-size: 11px;
  color: #819ba5;
  line-height: 1.7;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
.admin-activity-list time {
  margin-left: auto;
  color: #89a3ad;
  font-size: 10px;
  white-space: nowrap;
  line-height: 1.8;
}
.admin-product-dialog {
  position: fixed;
  margin: auto;
  background: #0d181f;
  color: #e1efeb;
  border: 1px solid #3f5555;
  border-radius: 8px;
  width: min(960px, calc(100vw - 48px));
  max-height: 90dvh;
  padding: 28px;
  overflow: auto;
  box-shadow: 0 30px 100px #0009;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.admin-product-dialog::backdrop {
  background: #040b10cc;
  backdrop-filter: blur(8px);
}
.admin-product-dialog[open] {
  animation: admin-fade 0.22s ease both;
}
.admin-sheet-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.admin-sheet-heading .admin-kicker {
  margin: 0;
}
.admin-sheet-heading button {
  font-size: 25px;
  color: #b0c6cb;
}
.admin-sheet-product {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}
.admin-sheet-product img {
  width: 65px;
  height: 85px;
  object-fit: cover;
  border-radius: 3px;
}
.admin-sheet-product h2 {
  font-family: Sora, sans-serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.admin-sheet-product p {
  font-size: 12px;
  color: #91a9b1;
  margin: 0;
}
.admin-detail-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #14242a;
  border: 1px solid #304744;
  border-radius: 5px;
  margin-bottom: 28px;
}
.admin-detail-ledger .admin-metric {
  padding: 18px 16px;
}
.admin-detail-ledger .admin-metric strong {
  font-size: 23px;
}
.admin-product-dialog > h3 {
  font-size: 17px;
  margin-bottom: 19px;
}
.admin-product-dialog .admin-table-scroll {
  border: 1px solid #2d3f45;
  border-radius: 4px;
}
.admin-price-form {
  margin-top: 25px;
  padding: 22px;
}
.admin-price-form > label {
  max-width: 280px;
}
.admin-review-details {
  border-top: 1px solid #33464c;
  padding-top: 18px;
  margin-top: 20px;
}
.admin-review-details > summary {
  font-size: 14px;
  font-weight: 750;
  color: #b7e4a4;
  cursor: pointer;
  padding: 10px 0;
}
.admin-review-details form {
  margin-top: 24px;
}
.admin-order-details {
  min-width: 160px;
  font-size: 11px;
}
.admin-order-details summary {
  color: #bce998;
  cursor: pointer;
}
.admin-order-details p {
  font-size: 11px;
  line-height: 1.7;
  margin: 15px 0;
}
.admin-order-details small {
  display: block;
  color: #8ea9b3;
}
.admin-notice {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1000;
  background: #163327;
  border: 1px solid #609044;
  color: #dcffbe;
  padding: 16px 22px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
  max-width: min(440px, calc(100vw - 40px));
  box-shadow: 0 10px 50px #0008;
}
.admin-notice[data-error="true"] {
  background: #3c2424;
  border-color: #a45d55;
  color: #ffd0bf;
}
.admin-workspace [aria-busy="true"] {
  opacity: 0.65;
  transition: opacity 0.15s;
}
.admin-workspace button:focus-visible,
.admin-workspace a:focus-visible {
  outline: 2px solid #b1ff68;
  outline-offset: 3px;
}
.admin-workspace button:disabled {
  cursor: wait;
}
.admin-workspace input:focus,
.admin-workspace select:focus {
  outline: none;
  border-color: #a7e882;
  box-shadow: none;
}
.customer-admin-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 10px 32px;
  border-bottom: 1px solid #2a4139;
  background: #112119;
  font-size: 11px;
  color: #b1c7b7;
}
.customer-admin-switch a {
  font-size: 11px;
  font-weight: 800;
  color: #c5ff9d;
  padding: 8px 13px;
  border: 1px solid #4f754c;
  border-radius: 4px;
  text-decoration: none;
}
.customer-admin-switch a:hover {
  background: #294a2c;
}
@keyframes admin-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  .admin-main {
    padding: 48px 55px;
  }
  .admin-workspace td {
    font-size: 13px;
  }
  .admin-product-cell strong {
    font-size: 14px;
  }
  .admin-page-heading p {
    font-size: 15px;
  }
  .admin-metric > span {
    font-size: 13px;
  }
  .admin-metric > small {
    font-size: 12px;
  }
}
@media (max-width: 1150px) {
  .admin-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding: 25px 12px;
  }
  .admin-sidebar nav button {
    font-size: 12px;
    gap: 10px;
    padding: 12px 8px;
  }
  .admin-main {
    padding: 30px 22px 60px;
  }
  .admin-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-ledger > .admin-metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--admin-line);
  }
  .admin-ledger > .admin-metric:nth-child(4) {
    border-top: 1px solid var(--admin-line);
  }
  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
  .admin-alerts strong {
    max-width: none;
  }
  .admin-filters {
    flex-wrap: wrap;
  }
  .admin-filters > label:first-child {
    min-width: 200px;
  }
  .admin-table-scroll table {
    min-width: 780px;
  }
  .admin-topbar {
    padding: 0 22px;
  }
  .admin-supplier-facts {
    grid-template-columns: 1fr 1fr;
  }
  .admin-detail-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .admin-topbar {
    height: auto;
    min-height: 84px;
    padding: 14px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .admin-brand > span {
    font-size: 10px;
  }
  .admin-brand small {
    font-size: 8px;
  }
  .admin-brand img {
    width: 34px;
    height: 34px;
  }
  .admin-view-switch {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .admin-view-switch > a,
  .admin-view-switch > span {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 12px;
  }
  .admin-topbar > .button {
    font-size: 11px;
    min-height: 37px;
    padding: 8px 12px;
  }
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    padding: 12px 16px;
    gap: 0;
    border-right: 0;
    border-bottom: 1px solid var(--admin-line);
  }
  .admin-owner,
  .admin-environment {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 1px 0 5px;
    overscroll-behavior: contain;
  }
  .admin-sidebar nav button {
    white-space: nowrap;
    font-size: 11px;
    min-height: 38px;
    padding: 10px;
  }
  .admin-sidebar nav button > span {
    display: none;
  }
  .admin-main {
    padding: 28px 16px 55px;
  }
  .admin-page-heading {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
    margin-bottom: 25px;
  }
  .admin-page-heading h1 {
    font-size: 30px;
  }
  .admin-page-heading p {
    font-size: 12px;
  }
  .admin-page-heading > .button {
    min-height: 40px;
    font-size: 12px;
  }
  .admin-ledger .admin-metric {
    padding: 19px 14px;
  }
  .admin-metric > strong {
    font-size: 24px;
  }
  .admin-metric > span {
    font-size: 10px;
  }
  .admin-metric > small {
    font-size: 9px;
  }
  .admin-sync-line {
    gap: 10px;
    font-size: 10px;
  }
  .admin-panel {
    padding: 22px 18px;
  }
  .admin-table-panel {
    padding: 0;
  }
  .admin-panel-heading {
    align-items: flex-start;
  }
  .admin-panel h2 {
    font-size: 19px;
  }
  .admin-link {
    font-size: 10px;
    white-space: normal;
    line-height: 1.8;
    text-align: right;
  }
  .admin-alerts strong {
    white-space: normal;
    font-size: 12px;
  }
  .admin-overview-grid {
    gap: 20px;
  }
  .admin-callout {
    padding: 16px;
  }
  .admin-callout p {
    font-size: 11px;
  }
  .admin-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .admin-filters > label:first-child {
    grid-column: 1/-1;
    min-width: 0;
  }
  .admin-filters label {
    min-width: 0;
  }
  .admin-filters select {
    font-size: 12px;
  }
  .admin-filters > button {
    font-size: 11px;
    padding: 10px 8px;
  }
  .admin-pagination {
    padding: 16px 12px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .admin-supplier-card {
    padding: 22px 17px;
  }
  .admin-supplier-title {
    flex-wrap: wrap;
    gap: 13px;
  }
  .admin-supplier-title h2 {
    font-size: 20px;
  }
  .admin-supplier-logo {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }
  .admin-supplier-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-activity-list > article {
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-activity-list time {
    width: 100%;
    margin-left: 18px;
  }
  .admin-product-dialog {
    width: calc(100vw - 20px);
    padding: 18px;
    max-height: 94dvh;
  }
  .admin-sheet-product {
    gap: 13px;
    align-items: flex-start;
  }
  .admin-sheet-product h2 {
    font-size: 18px;
  }
  .admin-sheet-product img {
    width: 45px;
    height: 64px;
  }
  .admin-detail-ledger .admin-metric {
    padding: 15px 11px;
  }
  .admin-detail-ledger .admin-metric strong {
    font-size: 21px;
  }
  .admin-product-dialog .admin-table-scroll table {
    min-width: 650px;
  }
  .admin-review-details > summary {
    font-size: 13px;
  }
  .admin-settings-form input:not([type="checkbox"]),
  .admin-settings-form select,
  .admin-price-form input:not([type="hidden"]) {
    font-size: 16px;
  }
  .customer-admin-switch {
    padding: 8px 16px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .admin-workspace *,
  .admin-workspace *::before,
  .admin-workspace *::after {
    animation: none !important;
    transition: none !important;
  }
}

html:has(.admin-product-dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}
@media (max-width: 760px) {
  .admin-sidebar nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
    gap: 6px;
  }
  .admin-sidebar nav button {
    white-space: normal;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    min-height: 44px;
    font-size: 11px;
    padding: 9px 7px;
  }
  .admin-sidebar nav button:last-child {
    grid-column: 1/-1;
  }
}

.launch-checks {
  display: grid;
  gap: 0;
}
.launch-check {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid #263b35;
}
.launch-check h3 {
  margin: 0 0 9px;
  font-size: 19px;
}
.launch-check p {
  margin: 0;
  color: #a8b9b2;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.launch-check-icon {
  color: #a0ff70;
  font-size: 26px;
}
@media (max-width: 600px) {
  .launch-check {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
  }
  .launch-check > .admin-pill {
    grid-column: 2;
    justify-self: start;
  }
}
