/*
 * companion.css: the few pieces the phone-companion sites (Keryx, Ariadne, Theseus) need beyond
 * site.css: the app icon in the hero, the "good to know" list, the narrow contact column, and
 * the Keryx review page (QR code, status notices).
 *
 * Tokens and scales from site.css only: no new colours, sizes or shadows.
 */

/* site.css gives .notice display:flex, which would beat the hidden attribute. */
.notice[hidden] { display: none; }

/* ---------- Home ---------- */

.companion-mark-wrap { display: grid; justify-items: center; }
.companion-mark {
  width: 160px; height: 160px; border-radius: var(--radius-panel);
  box-shadow: var(--shadow-5), 0 16px 48px var(--accent-glow);
}
@media (max-width: 999px) {
  .companion-mark-wrap { justify-items: start; order: -1; }
  .companion-mark { width: 64px; height: 64px; border-radius: var(--radius-card); box-shadow: var(--shadow-3); }
}

.companion-notes { list-style: none; display: grid; gap: var(--s-4); }
.companion-notes li {
  padding: var(--s-4) var(--s-5); border-radius: var(--radius-card);
  background: var(--surface-1); border: 1px solid var(--line); color: var(--text-2);
}

.companion-narrow { max-width: 760px; }

/* ---------- Keryx review ---------- */

/* Below the two-column width, keep the 512px QR from widening the single grid track. */
@media (max-width: 959px) { .review-split { grid-template-columns: minmax(0, 1fr); } }

.review-qr { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: var(--s-5); justify-items: center; text-align: center; }
.review-qr img { width: min(100%, 320px); border-radius: var(--radius-control); }
.review-qr form, .review-qr .button { width: 100%; }

.review-status { display: grid; gap: var(--s-3); }
