/* Adding Opal to the Home Screen, and the offer of notifications, as one soft card on the shared look (opal_ui.css).
   The sign up pages and the app both show it. */
.home-screen { margin-top: 24px; padding: 18px 20px; border-radius: var(--ui-card, 22px); background: var(--ui-soft, #f5f5f7);
  color: var(--ui-ink, #0a0a0a); }
.home-screen h2 { margin: 0; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.home-screen p { margin: 6px 0 0; color: var(--ui-sec, #5c6370); font-size: 14px; line-height: 1.5; }
.home-screen-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.home-screen-actions button { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.home-screen-add { border: 0; background: var(--ui-ink, #0a0a0a); color: #ffffff; }
.home-screen-actions .home-screen-later { border: 0; padding: 0 8px; background: none; color: var(--ui-sec, #5c6370); }
.home-screen-app { flex: none; width: calc(100% - 64px); max-width: 700px; margin: 14px auto 0; }
@media (max-width: 760px) { .home-screen-app { width: calc(100% - 24px); margin-top: 8px; } }

/* Quiet app installation guidance. Signup keeps the shared rules above. */
.opal .home-screen, .account .home-screen, .home-screen-app {
  padding: 20px 0; border-top: 1px solid var(--ui-line, #ebebee); border-radius: 0; background: #ffffff;
}
.opal .home-screen p, .account .home-screen p, .home-screen-app p {
  margin-top: 8px; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere;
}
.opal .home-screen-actions, .account .home-screen-actions, .home-screen-app .home-screen-actions {
  gap: 8px 12px; margin-top: 16px;
}
.opal .home-screen-actions button, .account .home-screen-actions button, .home-screen-app .home-screen-actions button {
  max-width: 100%; padding: 10px 18px; font: inherit; font-size: 15px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere;
}
.opal .home-screen-actions .home-screen-later, .account .home-screen-actions .home-screen-later,
.home-screen-app .home-screen-actions .home-screen-later { padding: 0 8px; }
.home-screen-app { width: calc(100% - 48px); margin-top: 16px; }
@media (max-width: 760px) { .home-screen-app { width: calc(100% - 40px); margin-top: 12px; } }

/* In her conversation on a phone the offer is one low card: its title with Not now beside it, then one line of how.
   It took a third of the first screen, above Opal's greeting (Ruth's sandbox, 16 November 2026). */
@media (max-width: 760px) {
  .home-screen.home-screen-app { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    column-gap: 12px; padding: 8px 0 12px; }
  .home-screen.home-screen-app[hidden] { display: none; }
  .home-screen.home-screen-app h2 { grid-column: 1; grid-row: 1; font-size: 16px; }
  .home-screen.home-screen-app .home-screen-actions { grid-column: 2; grid-row: 1; flex-wrap: nowrap; margin-top: 0; }
  .home-screen.home-screen-app p { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; font-size: 14px; line-height: 1.45; }
}
