/* Share this page (2026-12-01): the card on scheme, recipe, guide and paint pages and the conversion chart
   (js/share.js says why). Uses only the colour names the room's stylesheet and the guides' page both define
   (--panel, --line, --ink, --ink-dim, --accent, --bg), so it looks right on every page that links it. */
.st-share {
  display: flex; gap: 14px; align-items: center; margin-top: 6px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line);
}
.st-share-ic { flex: 0 0 auto; color: var(--accent); }
.st-share-tx { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.st-share-h {
  color: var(--ink); font-family: var(--cond, "Barlow Condensed", "Arial Narrow", sans-serif);
  font-size: 1.2rem; font-weight: 800; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase;
}
.st-share-p { color: var(--ink-dim); font-size: .88rem; line-height: 1.45; }
.st-share-btn {
  flex: 0 0 auto; min-height: 42px; padding: 0 18px; border: 1px solid var(--accent); border-radius: 0;
  background: transparent; color: var(--accent); cursor: pointer;
  font-family: var(--cond, "Barlow Condensed", "Arial Narrow", sans-serif); font-size: 1.02rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.st-share-btn:hover, .st-share-btn:focus-visible, .st-share-btn.is-done { background: var(--accent); color: var(--bg); }
/* A scheme's or recipe's page: under the photos on a wide screen (that column stays in view while reading), at the end
   of the page on a phone, where under the photos would put it between the photo and the name. */
.st-share-end { display: none; margin-top: 28px; }
/* The chart: beside its intro and numbers on a wide screen, stacked to fit (icon and words, the button under them). */
.st-chart-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px 48px; align-items: start; }
.st-share-stack { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: start; margin-top: 4px; }
.st-share-stack .st-share-btn { grid-column: 1 / -1; justify-self: start; }
/* A guide: its own card at the end, above the links. */
.st-share-guide { max-width: 680px; margin: 40px 0 28px; }
.st-share-paint { margin-top: -24px; }
@media (max-width: 760px) {
  .st-chart-top { display: block; }
  .st-share-side { display: none; }
  .st-share-end { display: flex; }
}
@media (max-width: 420px) {
  .st-share { flex-wrap: wrap; }
  .st-share-btn { width: 100%; }
}
@media print { .st-share { display: none !important; } }
