/* Only what Polaris has no component for: the setup progress bar and
   the drag state of gallery tiles. Colors follow the app's brand. */
.vg-progress {
  block-size: 6px;
  border-radius: 999px;
  background: #e3e8e1;
  overflow: hidden;
}
.vg-progress > div {
  block-size: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6b47, #6f9e72);
  transition: inline-size 0.4s ease;
}
.vg-tile {
  position: relative;
  cursor: grab;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vg-tile:active { cursor: grabbing; }
.vg-tile[data-dragging] { opacity: 0.4; }
.vg-tile[data-over] { box-shadow: 0 0 0 2px #2f6b47; transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .vg-progress > div, .vg-tile { transition: none; }
}

/* Brand icon tile: a Polaris icon on a light brand tint (Polaris icons keep
   their own color, so tiles stay light enough for it). */
.vg-icon-tile {
  display: inline-grid;
  place-items: center;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d3e4cc, #a9c69f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(23, 58, 42, 0.2);
  flex: none;
}
.vg-icon-tile[data-tone='mist'] { background: linear-gradient(135deg, #e3ece8, #c3d6cf); }
.vg-icon-tile[data-tone='linen'] { background: linear-gradient(135deg, #f6efe0, #e5d6b6); }
.vg-icon-tile[data-size='large'] { inline-size: 44px; block-size: 44px; border-radius: 12px; }

/* Display type for the two places Polaris headings are too quiet: the
   Home hero title and metric numbers. */
.vg-display,
.vg-metric {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}
.vg-display { font-size: 26px; line-height: 1.2; font-weight: 650; }
.vg-display em { font-style: normal; color: #2f6b47; }
.vg-metric { font-size: 26px; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; }
.vg-metric[data-small] { font-size: 18px; line-height: 1.3; }
.vg-display[data-size='small'] { font-size: 20px; line-height: 1.25; }

/* Position badge on each gallery tile, like the numbered cards in the art. */
.vg-tile-num {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 999px;
  font: 650 12px/1 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #f6f0e2;
  background: #173a2a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
