:root {
  color-scheme: light;
  font-size: 20px;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f7f9f6;
}

body {
  margin: 0;
}

.iz-demo-canvas {
  width: 200%;
  height: 200%;
  min-height: 200%;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  background: #f7f9f6;
  cursor: default;
  transform: scale(.5);
  transform-origin: 0 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.iz-demo-canvas :is(input, textarea, select, [contenteditable="true"]) {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
  caret-color: transparent;
}

.iz-demo-canvas.is-nav-collapsed {
  grid-template-columns: 76px minmax(0, 1fr);
}

.business-portal-nav {
  position: relative;
  top: auto;
  height: 100%;
  min-height: 0;
}

.commerce-panel-sidebar nav button {
  font-size: 1rem;
}

.commerce-panel-sidebar nav button:disabled {
  color: #73837d;
  font-weight: 400;
  opacity: 1;
}

.commerce-panel-sidebar nav button:disabled:is(:hover, :focus-visible) {
  border-color: transparent;
  color: #73837d;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.commerce-panel-sidebar nav button.active {
  font-size: 1.02rem;
  font-weight: 600;
}

.business-portal-nav button[data-portal-tab] {
  font-size: 1rem;
}

.business-portal-nav button[data-portal-tab]:disabled {
  color: #7f8d88;
  font-weight: 400;
  opacity: 1;
}

.business-portal-nav button[data-portal-tab]:disabled:is(:hover, :focus-visible) {
  color: #7f8d88;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.business-portal-nav__toggle b {
  color: #71827b;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.business-portal-nav button[data-portal-tab] i {
  min-width: 24px;
  margin-left: 0;
  padding: 4px 7px;
  color: #49685f;
  background: #d5e4dc;
  font-size: .74rem;
  font-weight: 650;
  line-height: 1;
}

.iz-demo-canvas.is-nav-collapsed .business-portal-nav button[data-portal-tab]:not(:disabled) {
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.iz-demo-canvas.is-nav-collapsed .business-portal-nav button[data-portal-tab]:not(:disabled):is(:hover, :focus-visible) {
  color: var(--business-ink);
  background: #e1ebe5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.commerce-panel-sidebar nav {
  align-content: center;
}

.iz-demo-module {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.iz-demo-module .commerce-panel-screen {
  overflow-y: hidden;
}

.iz-demo-product-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e4e9e7;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

.iz-demo-product-row:focus-visible {
  z-index: 2;
  outline: 2px solid rgba(20, 91, 87, .45);
  outline-offset: -2px;
}

.commerce-product-detail-grid > .commerce-detail-collapsible {
  grid-column: 1 / -1;
}

.commerce-detail-media-stage > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: contain;
}

.commerce-detail-media-thumb span {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(145deg, #e2ece7, #f7faf8);
}

.commerce-detail-media-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.iz-product-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 22px 22px;
}

.iz-product-data-grid span {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid #d7dfdc;
  border-radius: 10px;
  background: #fafbf9;
}

.iz-product-data-grid small {
  color: #75837e;
  font-size: .67rem;
}

.iz-product-data-grid b {
  color: #173f35;
  font: 620 .88rem/1.2 Manrope, Inter, sans-serif;
}

.iz-inventory-page {
  display: grid;
  gap: 18px;
}

.iz-stock-flow-card,
.iz-sync-health,
.iz-stock-distribution {
  border: 1px solid #d7dfdc;
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
}

.iz-stock-flow-card {
  padding: 20px;
}

.iz-stock-flow-card > header,
.iz-sync-health > header,
.iz-stock-distribution > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.iz-stock-flow-card h2,
.iz-sync-health h2,
.iz-stock-distribution h2 {
  margin: 5px 0 0;
  color: #173f35;
  font: 600 1rem/1.2 Manrope, Inter, sans-serif;
  letter-spacing: -.025em;
}

.iz-stock-flow-card header small,
.iz-sync-health header small,
.iz-stock-distribution header small {
  color: #778780;
  font: 600 .63rem/1 Manrope, Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.iz-stock-flow-card > header > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #33675a;
  background: #e7f0eb;
  font: 600 .66rem/1 Manrope, Inter, sans-serif;
  white-space: nowrap;
}

.iz-stock-flow-card > header > span i,
.iz-stock-channel > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27866f;
  box-shadow: 0 0 0 3px rgba(39, 134, 111, .12);
}

.iz-stock-flow {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) 46px minmax(140px, .72fr) 46px minmax(155px, .8fr);
  align-items: stretch;
}

.iz-stock-flow article {
  min-width: 0;
  min-height: 140px;
  box-sizing: border-box;
  padding: 17px;
  border: 1px solid #dbe3df;
  border-radius: 13px;
}

.iz-stock-flow article > small {
  color: #70817a;
  font-size: .67rem;
}

.iz-stock-source {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  gap: 13px;
  background: #f7f9f6;
}

.iz-stock-source > div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 8px;
}

.iz-stock-source span,
.iz-stock-source b {
  color: #405a52;
  font: 520 .75rem/1 Manrope, Inter, sans-serif;
}

.iz-stock-source b {
  color: #173f35;
  font-weight: 650;
}

.iz-stock-source > div > i,
.iz-stock-distribution > div > i {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e9e5;
}

.iz-stock-source > div > i::before,
.iz-stock-distribution > div > i::before {
  content: '';
  width: var(--stock-fill);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #5c9488, #85afa5);
}

.iz-stock-center,
.iz-stock-channel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.iz-stock-center {
  color: #f4f7f4;
  border-color: #173f35;
  background: linear-gradient(145deg, #153b35, #245b50);
}

.iz-stock-flow .iz-stock-center > small {
  color: rgba(244, 247, 244, .7);
}

.iz-stock-center strong,
.iz-stock-channel strong {
  margin-top: 10px;
  font: 620 2rem/1 Manrope, Inter, sans-serif;
}

.iz-stock-center > span,
.iz-stock-channel > span {
  margin-top: 12px;
  color: rgba(244, 247, 244, .72);
  font-size: .67rem;
}

.iz-stock-center > span b {
  color: #f4cf91;
}

.iz-stock-channel {
  color: #17483e;
  background: linear-gradient(145deg, #e8f2ed, #f5f8f5);
}

.iz-stock-channel > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #367064;
  font-weight: 600;
}

.iz-stock-connector {
  position: relative;
  display: grid;
  place-items: center;
}

.iz-stock-connector::before {
  content: '';
  width: 100%;
  height: 1px;
  background: #86a79e;
}

.iz-stock-connector::after {
  content: '';
  position: absolute;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #648e83;
  border-right: 1px solid #648e83;
  transform: rotate(45deg);
}

.iz-inventory-insights {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
}

.iz-sync-health,
.iz-stock-distribution {
  min-height: 190px;
  box-sizing: border-box;
  padding: 18px;
}

.iz-sync-health > header > b {
  padding: 6px 9px;
  border-radius: 999px;
  color: #4f7369;
  background: #edf3ef;
  font: 550 .62rem/1 Manrope, Inter, sans-serif;
}

.iz-sync-health > div {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 122px 1fr;
  align-items: center;
  gap: 20px;
}

.iz-sync-health figure {
  width: 104px;
  height: 104px;
  margin: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 57%, transparent 59%), conic-gradient(#2f7868 0 100%, #dce7e2 0);
}

.iz-sync-health figure strong {
  color: #173f35;
  font: 620 1.45rem/1 Manrope, Inter, sans-serif;
}

.iz-sync-health figure strong small {
  color: #7a8983;
  font-size: .62rem;
}

.iz-sync-health figure > span {
  margin-top: 5px;
  color: #788780;
  font-size: .59rem;
}

.iz-sync-health ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.iz-sync-health li {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e3e9e6;
  color: #667871;
  font-size: .68rem;
}

.iz-sync-health li b {
  color: #2b695b;
  font-weight: 650;
}

.iz-stock-distribution {
  display: grid;
  grid-template-rows: auto repeat(4, 1fr);
  gap: 9px;
}

.iz-stock-distribution > div {
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 6px;
}

.iz-stock-distribution > div > span {
  display: flex;
  justify-content: space-between;
  color: #5f726b;
  font-size: .66rem;
}

.iz-stock-distribution > div > span b {
  color: #274d43;
  font-weight: 650;
}
