/* Retail deep-dive (Shopify) — POS + online + reconciliation.
   Shares core card / kpi styles with the rest of the dashboard; this file
   adds retail-specific bits (channel palette, reconcile grid, page lede)
   and — importantly — self-contained `.bar-row` layout, since the base
   `.bar-row` rules live in social.css which this page doesn't load. Kept
   in-file rather than moved to a shared stylesheet so Retail's palette
   overrides don't leak into other pages. */

.bar-list { display: flex; flex-direction: column; gap: 10px; }
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
@media (max-width: 640px) {
  .bar-row { grid-template-columns: 110px 1fr 130px; font-size: 12px; }
}
.bar-row.is-negligible { opacity: 0.55; }
.bar-row-label {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-ink);
}
.bar-row-track {
  background: var(--color-bg-subtle);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}
.bar-row-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 2px;
  transition: width 220ms ease;
}
.bar-row-value {
  font-size: 13px;
  text-align: right;
  color: var(--color-ink-soft);
  font-variant-numeric: tabular-nums;
}
.bar-row-value .bar-row-pct {
  color: var(--color-muted);
  margin-left: 4px;
  font-size: 12px;
}

.page-lede {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-ink-soft);
  margin: 8px 2px 18px;
  padding: 12px 14px;
  background: var(--color-bg-subtle);
  border-left: 3px solid var(--color-accent, #1f6feb);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Sales-channel colors — mirrors the platform-mix palette elsewhere. */
.bar-row-fill.ch-pos    { background: #2c6e9b; }
.bar-row-fill.ch-web    { background: #4a8b5e; }
.bar-row-fill.ch-other  { background: #7a8290; }
.bar-row-label.ch-pos    .channel-dot { background: #2c6e9b; }
.bar-row-label.ch-web    .channel-dot { background: #4a8b5e; }
.bar-row-label.ch-other  .channel-dot { background: #7a8290; }
.channel-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}

/* Reconciliation grid — three side-by-side cells with distinct visual
   treatment so the delta between them reads at a glance. */
.reconcile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 780px) {
  .reconcile-grid { grid-template-columns: 1fr; }
}
.reconcile-cell {
  background: var(--color-bg-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.reconcile-cell:nth-child(3) {
  background: var(--color-accent-bg, rgba(31, 111, 235, 0.08));
}
.reconcile-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.reconcile-value {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.reconcile-note {
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-muted);
  margin: 0;
}

.card-note {
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-muted);
  margin: 10px 2px 0;
}
