html body .retail-ops-shell.is-module-dashboard,
html body .retail-ops-shell.is-module-dashboard #root,
html body .retail-ops-shell.is-module-dashboard .retail-ops-main,
html body .retail-ops-shell.is-module-dashboard .retail-ops-content {
  min-height: 100%;
  height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
}

html body .retail-ops-shell.is-module-dashboard .retail-ops-main {
  align-items: stretch;
}

html body .retail-ops-shell.is-module-dashboard .retail-ops-dashboard {
  width: 100%;
  max-width: none;
  min-height: auto;
  padding-bottom: 60px;
  overflow: visible;
}

html body .retail-ops-shell.is-module-dashboard .retail-ops-dashboard > :not([data-ui-live-dashboard]) {
  display: none !important;
}

html body .retail-ops-shell.is-module-dashboard .retail-ops-dashboard > [data-ui-live-dashboard] {
  display: block !important;
}

html body .ui-live-dashboard,
html body .ui-live-dashboard * {
  box-sizing: border-box;
  letter-spacing: 0;
}

html body .ui-live-dashboard {
  width: 100%;
  color: #112436;
  font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body .ui-live-dashboard-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 0 56px;
}

html body .ui-live-rail {
  position: static;
  top: auto;
  align-self: start;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.7fr) minmax(150px, 0.55fr);
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(18, 73, 88, 0.18);
  border-radius: 8px;
  background: #2f5061;
  box-shadow: 0 14px 30px rgba(13, 37, 54, 0.13);
}

html body .ui-live-rail-title {
  display: grid;
  align-content: center;
  padding-bottom: 0;
  border-bottom: 0;
}

html body .ui-live-rail-title span,
html body .ui-live-rail-block span,
html body .ui-live-rail-list > strong {
  display: block;
  color: #d9fbff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body .ui-live-rail-title h1 {
  margin: 6px 0 8px;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 950;
}

html body .ui-live-rail-title p,
html body .ui-live-rail-block small {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.42;
  font-weight: 750;
}

html body .ui-live-period {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: center;
}

html body .ui-live-period-fields,
html body .ui-live-period-actions {
  display: grid;
  gap: 8px;
}

html body .ui-live-period-fields {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

html body .ui-live-period-actions {
  grid-template-columns: repeat(3, minmax(110px, 1fr));
}

html body .ui-live-period-status {
  display: flex;
  align-items: center;
  min-height: 20px;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 900;
}

html body .ui-live-period-status.is-loading {
  color: #d9fbff;
}

html body .ui-live-period-status.is-success {
  color: #fff1b7;
}

html body .ui-live-period-status.is-warn {
  color: #ffd2c2;
}

html body .ui-live-period label {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

html body .ui-live-period input,
html body .ui-live-period button {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
}

html body .ui-live-period input[type="date"] {
  cursor: pointer;
}

html body .ui-live-period input {
  border: 1px solid rgba(226, 238, 242, 0.88);
  padding: 0 12px;
  background: #ffffff;
  color: #10283f;
}

html body .ui-live-period button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  color: #ffffff;
  background: #4297a0;
  box-shadow: 0 4px 0 #173746, 0 9px 18px rgba(0, 0, 0, 0.14);
}

html body .ui-live-period button[type="button"] {
  color: #173746;
  background: #f7fbfc;
  box-shadow: 0 4px 0 rgba(190, 208, 215, 0.9), 0 8px 16px rgba(0, 0, 0, 0.1);
}

html body .ui-live-period button:hover {
  transform: translateY(-1px);
}

html body .ui-live-period button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(23, 55, 70, 0.85), 0 5px 10px rgba(0, 0, 0, 0.11);
}

html body .ui-live-rail-block,
html body .ui-live-rail-list {
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

html body .ui-live-rail-block strong {
  display: block;
  margin: 5px 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 950;
}

html body .ui-live-rail-list ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  max-height: none;
  overflow: visible;
  list-style: none;
}

html body .ui-live-rail-list.is-products {
  grid-column: 1 / 3;
}

html body .ui-live-rail-list.is-products ul {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

html body .ui-live-rail-list.is-zones {
  grid-column: 3 / 4;
}

html body .ui-live-rail-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

html body .ui-live-rail-list li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .ui-live-rail-list li em {
  color: #ffd365;
  font-style: normal;
  white-space: nowrap;
}

html body .ui-live-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

html body .ui-live-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

html body .ui-live-metric {
  position: relative;
  min-width: 0;
  min-height: 76px;
  padding: 12px 13px 10px;
  overflow: hidden;
  border: 1px solid rgba(198, 216, 224, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 44, 64, 0.08);
}

html body .ui-live-metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent, #4297a0);
}

html body .ui-live-metric span,
html body .ui-live-card header span {
  display: block;
  color: #5d7389;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

html body .ui-live-metric strong {
  display: block;
  margin-top: 8px;
  color: #0b2238;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  overflow-wrap: anywhere;
}

html body .ui-live-metric small,
html body .ui-live-card header small {
  display: block;
  margin-top: 5px;
  color: #687d92;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

html body .ui-live-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

html body .ui-live-card {
  grid-column: span 4;
  min-width: 0;
  min-height: 238px;
  overflow: hidden;
  border: 1px solid rgba(197, 218, 227, 0.88);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(19, 45, 66, 0.07);
}

html body .ui-live-card.is-xwide { grid-column: span 7; min-height: 306px; }
html body .ui-live-card.is-medium { grid-column: span 5; }
html body .ui-live-card.is-half { grid-column: span 6; }
html body .ui-live-card.is-third { grid-column: span 4; }
html body .ui-live-card.is-map { grid-column: span 6; min-height: 360px; }

html body .ui-live-metric.cyan,
html body .ui-live-card.cyan { --accent: #4297a0; }
html body .ui-live-metric.green,
html body .ui-live-card.green { --accent: #087b70; }
html body .ui-live-metric.pink,
html body .ui-live-card.pink { --accent: #f31263; }
html body .ui-live-metric.blue,
html body .ui-live-card.blue { --accent: #2f5868; }
html body .ui-live-card.gold { --accent: #ffc001; }
html body .ui-live-card.orange { --accent: #f2682a; }

html body .ui-live-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  min-height: 42px;
  padding: 7px 10px;
  background: #2f5061;
}

html body .ui-live-card header span {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.1;
}

html body .ui-live-card header small {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

html body .ui-live-card > :not(header) {
  margin-left: 10px;
  margin-right: 10px;
}

html body .ui-live-chart {
  display: block;
  width: calc(100% - 20px);
  height: 202px;
  margin: 10px;
  overflow: visible;
}

html body .ui-live-card.is-xwide .ui-live-chart {
  height: 244px;
}

html body .ui-live-chart .grid {
  fill: none;
  stroke: #e4ebef;
  stroke-width: 1;
}

html body .ui-live-chart text {
  fill: #5e7186;
  font-size: 10px;
  font-weight: 750;
  text-anchor: middle;
}

html body .ui-live-cumulative-chart .area-sales {
  fill: rgba(66, 151, 160, 0.28);
}

html body .ui-live-cumulative-chart .line-sales {
  fill: none;
  stroke: #2f5061;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .ui-live-cumulative-chart .line-paid {
  fill: none;
  stroke: #f31263;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .ui-live-cumulative-chart .dots circle {
  fill: #ffffff;
  stroke: #4297a0;
  stroke-width: 2;
}

html body .ui-live-cumulative-chart .scale {
  fill: #2f5061;
  font-weight: 900;
  text-anchor: start;
}

html body .ui-live-daily-chart rect.sales {
  fill: #4297a0;
}

html body .ui-live-daily-chart rect.paid {
  fill: #2f5061;
}

html body .ui-live-monthly-chart rect.sales,
html body .ui-live-monthly-chart circle.sales {
  fill: #2f5061;
}

html body .ui-live-monthly-chart rect.paid,
html body .ui-live-monthly-chart circle.paid {
  fill: #4297a0;
}

html body .ui-live-monthly-chart rect.gross,
html body .ui-live-monthly-chart circle.gross {
  fill: #ffc001;
}

html body .ui-live-monthly-chart .legend text {
  fill: #2f5061;
  font-weight: 850;
  text-anchor: start;
}

html body .ui-live-bars-chart rect,
html body .ui-live-mini-bars rect {
  fill: #4297a0;
}

html body .ui-live-bars-chart .pink rect,
html body .ui-live-mini-bars .pink rect { fill: #f31263; }
html body .ui-live-bars-chart .gold rect,
html body .ui-live-mini-bars .gold rect { fill: #ffc001; }
html body .ui-live-bars-chart .blue rect,
html body .ui-live-mini-bars .blue rect { fill: #2f5061; }
html body .ui-live-bars-chart .green rect,
html body .ui-live-mini-bars .green rect { fill: #087b70; }
html body .ui-live-bars-chart .orange rect,
html body .ui-live-mini-bars .orange rect { fill: #f2682a; }

html body .ui-live-bars-chart .value,
html body .ui-live-mini-bars .value {
  fill: #0b2238;
  font-weight: 950;
}

html body .ui-live-panel-stack {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding-bottom: 10px;
}

html body .ui-live-mini-bars {
  height: 132px;
  margin-bottom: 0;
}

html body .ui-live-donut-wrap {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 174px;
  margin-top: 10px;
}

html body .ui-live-donut {
  width: 128px;
  height: 128px;
}

html body .ui-live-donut circle {
  fill: none;
  stroke-width: 17;
  transform: rotate(-90deg);
  transform-origin: 72px 72px;
}

html body .ui-live-donut .base { stroke: #e8f0f4; }
html body .ui-live-donut .cyan { stroke: #4297a0; }
html body .ui-live-donut .green { stroke: #087b70; }
html body .ui-live-donut .pink { stroke: #f31263; }
html body .ui-live-donut .gold { stroke: #ffc001; }
html body .ui-live-donut .blue { stroke: #2f5061; }
html body .ui-live-donut .orange { stroke: #f2682a; }

html body .ui-live-donut text {
  fill: #0b2238;
  font-size: 12px;
  font-weight: 950;
  text-anchor: middle;
}

html body .ui-live-donut text + text {
  fill: #2f5061;
  font-size: 15px;
}

html body .ui-live-donut-wrap ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .ui-live-donut-wrap li,
html body .ui-live-money-rows p {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  margin: 0;
  min-width: 0;
}

html body .ui-live-donut-wrap i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

html body .ui-live-donut-wrap i.cyan { background: #4297a0; }
html body .ui-live-donut-wrap i.green { background: #087b70; }
html body .ui-live-donut-wrap i.pink { background: #f31263; }
html body .ui-live-donut-wrap i.gold { background: #ffc001; }
html body .ui-live-donut-wrap i.blue { background: #2f5061; }
html body .ui-live-donut-wrap i.orange { background: #f2682a; }

html body .ui-live-donut-wrap li span,
html body .ui-live-money-rows span {
  min-width: 0;
  color: #60758a;
  font-size: 11px;
  font-weight: 800;
}

html body .ui-live-donut-wrap li strong,
html body .ui-live-money-rows strong {
  color: #0b2238;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

html body .ui-live-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

html body .ui-live-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid rgba(205, 224, 232, 0.9);
  border-radius: 4px;
  background: #fbfdfe;
}

html body .ui-live-list b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  color: #08715f;
  background: #e8f8f5;
  font-size: 11px;
  font-weight: 950;
}

html body .ui-live-list span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

html body .ui-live-list strong {
  min-width: 0;
  color: #0b2238;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .ui-live-list small {
  min-width: 0;
  color: #687d92;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .ui-live-list em {
  color: #08715f;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

html body .ui-live-empty {
  display: grid;
  place-items: center;
  min-height: 106px;
  margin: 10px 0;
  padding: 14px;
  border: 1px dashed rgba(167, 196, 207, 0.9);
  border-radius: 4px;
  color: #60758a;
  background: #fbfdfe;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

html body .ui-live-empty.is-compact {
  min-height: 118px;
}

html body .ui-live-money-rows {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

html body .ui-live-money-rows p,
html body .ui-live-stock-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid rgba(205, 224, 232, 0.9);
  border-radius: 4px;
  background: #fbfdfe;
}

html body .ui-live-stock-strip {
  display: grid;
  gap: 3px 8px;
  align-items: center;
}

html body .ui-live-stock-strip span,
html body .ui-live-stock-strip small {
  color: #60758a;
  font-size: 11px;
  font-weight: 800;
}

html body .ui-live-stock-strip strong {
  grid-row: span 2;
  color: #0b2238;
  font-size: 17px;
  font-weight: 950;
}

html body .ui-live-hbars {
  display: grid;
  gap: 9px;
  padding: 13px 10px 14px;
}

html body .ui-live-hbar {
  display: grid;
  grid-template-columns: minmax(84px, 128px) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

html body .ui-live-hbar span {
  min-width: 0;
  color: #526981;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .ui-live-hbar b {
  display: block;
  height: 20px;
  overflow: hidden;
  border-radius: 2px;
  background: #edf2f5;
}

html body .ui-live-hbar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: #4297a0;
}

html body .ui-live-hbar i.blue { background: #2f5061; }
html body .ui-live-hbar i.green { background: #087b70; }
html body .ui-live-hbar i.gold { background: #ffc001; }
html body .ui-live-hbar i.pink { background: #f31263; }

html body .ui-live-hbar strong {
  color: #0b2238;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

html body .ui-live-map-card {
  display: grid;
  grid-template-columns: minmax(175px, 260px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 10px;
  min-width: 0;
}

html body .ui-live-map-shell {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 363 / 550;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #879aa5;
  border-radius: 4px;
  background: #9eb8c7;
  box-shadow: 0 10px 18px rgba(20, 52, 74, 0.12);
  touch-action: none;
}

html body .ui-live-map-layer {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transition: transform 160ms ease;
}

html body .ui-live-map-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

html body .ui-live-pin-layer {
  position: absolute;
  inset: 0;
}

html body .ui-live-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  cursor: pointer;
  color: #ffffff;
  background: #087b70;
  box-shadow: 0 9px 18px rgba(8, 42, 58, 0.22), 0 0 0 8px rgba(8, 123, 112, 0.15);
  transform: translate(-50%, -50%);
}

html body .ui-live-map-pin strong {
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

html body .ui-live-map-pin span {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  max-width: 132px;
  padding: 4px 7px;
  border-radius: 4px;
  color: #0b2238;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(20, 52, 74, 0.14);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 140ms ease;
}

html body .ui-live-map-pin:hover span,
html body .ui-live-map-pin:focus-visible span {
  opacity: 1;
}

html body .ui-live-map-controls {
  position: absolute;
  z-index: 5;
  right: 8px;
  top: 8px;
  display: grid;
  gap: 6px;
}

html body .ui-live-map-controls button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(176, 202, 213, 0.95);
  border-radius: 4px;
  cursor: pointer;
  color: #0b2238;
  background: #ffffff;
  box-shadow: 0 4px 0 rgba(187, 204, 211, 0.8), 0 8px 13px rgba(20, 52, 74, 0.13);
  font-size: 17px;
  font-weight: 950;
}

html body .ui-live-map-card > .ui-live-list {
  align-content: start;
  margin-top: 0;
}

html body .ui-live-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(197, 218, 227, 0.88);
  border-radius: 4px;
  background: #ffffff;
}

html body .ui-live-footer span {
  color: #60758a;
  font-size: 11px;
  font-weight: 800;
}

html body .ui-live-footer button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #bcd4de;
  border-radius: 4px;
  cursor: pointer;
  color: #0b2238;
  background: #f8fcfd;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}

html body .ui-live-loading {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 360px;
  border: 1px solid rgba(197, 218, 227, 0.88);
  border-radius: 8px;
  background: #ffffff;
  color: #0b2238;
}

html body .ui-live-loading strong {
  font-size: 17px;
  font-weight: 950;
}

html body .ui-live-loading span {
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
}

html body .ui-live-loading button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  color: #ffffff;
  background: #087b70;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 1320px) {
  html body .ui-live-dashboard-inner {
    grid-template-columns: 1fr;
  }

  html body .ui-live-rail {
    grid-template-columns: minmax(210px, 0.9fr) minmax(390px, 1.55fr) minmax(142px, 0.55fr);
    align-items: stretch;
  }

  html body .ui-live-rail-title h1 {
    font-size: 22px;
  }
}

@media (max-width: 980px) {
  html body .retail-ops-shell.is-module-dashboard .retail-ops-dashboard {
    padding: 0 8px 36px;
  }

  html body .ui-live-rail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  html body .ui-live-rail-title,
  html body .ui-live-period {
    grid-column: 1 / -1;
  }

  html body .ui-live-rail-list.is-products,
  html body .ui-live-rail-list.is-zones {
    grid-column: auto;
  }

  html body .ui-live-rail-list.is-products ul {
    grid-template-columns: 1fr;
  }

  html body .ui-live-period-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body .ui-live-period-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body .ui-live-rail-block,
  html body .ui-live-rail-list {
    min-height: 90px;
  }

  html body .ui-live-period input,
  html body .ui-live-period button {
    min-height: 32px;
  }

  html body .ui-live-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body .ui-live-card,
  html body .ui-live-card.is-xwide,
  html body .ui-live-card.is-medium,
  html body .ui-live-card.is-half,
  html body .ui-live-card.is-third,
  html body .ui-live-card.is-map {
    grid-column: span 12;
  }

  html body .ui-live-map-card {
    grid-template-columns: minmax(210px, 300px) minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  html body .retail-ops-shell.is-module-dashboard .retail-ops-dashboard {
    padding: 0 6px 32px;
  }

  html body .ui-live-dashboard-inner {
    gap: 10px;
    padding-bottom: 34px;
  }

  html body .ui-live-rail {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 11px;
  }

  html body .ui-live-rail-title {
    min-height: 0;
  }

  html body .ui-live-rail-title h1 {
    font-size: 20px;
  }

  html body .ui-live-rail-title p {
    font-size: 11px;
  }

  html body .ui-live-period {
    grid-template-columns: minmax(0, 1fr);
  }

  html body .ui-live-period-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body .ui-live-period button[type="submit"] {
    grid-column: auto;
  }

  html body .ui-live-period button[data-live-report="inventory"] {
    grid-column: auto;
  }

  html body .ui-live-rail-block,
  html body .ui-live-rail-list {
    min-height: 0;
  }

  html body .ui-live-metrics {
    grid-template-columns: 1fr;
  }

  html body .ui-live-metric {
    min-height: 68px;
  }

  html body .ui-live-metric strong {
    font-size: 21px;
  }

  html body .ui-live-card {
    min-height: auto;
  }

  html body .ui-live-card header {
    min-height: 39px;
  }

  html body .ui-live-chart,
  html body .ui-live-card.is-xwide .ui-live-chart {
    height: 188px;
  }

  html body .ui-live-donut-wrap,
  html body .ui-live-map-card {
    grid-template-columns: 1fr;
  }

  html body .ui-live-donut {
    margin: 0 auto;
  }

  html body .ui-live-map-shell {
    max-width: 300px;
  }

  html body .ui-live-hbar {
    grid-template-columns: minmax(72px, 100px) minmax(0, 1fr);
  }

  html body .ui-live-hbar strong {
    grid-column: 2;
    justify-self: end;
  }

  html body .ui-live-list li {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  html body .ui-live-list em {
    grid-column: 2;
    justify-self: start;
  }

  html body .ui-live-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  html body .retail-ops-shell.is-module-dashboard .retail-ops-dashboard {
    padding-left: 4px;
    padding-right: 4px;
  }

  html body .ui-live-period {
    grid-template-columns: minmax(0, 1fr);
  }

  html body .ui-live-period-actions {
    grid-template-columns: 1fr;
  }

  html body .ui-live-map-shell {
    max-width: 278px;
  }
}
