/* Semantic colours from the shared design system; spacing follows its 4px grid. */
.first-value-actions, .first-value-signin { color: var(--ds-ink); background: var(--ds-card); font: inherit; line-height: 1.5; overflow-wrap: anywhere; }
.first-value-actions { padding: 16px; margin: 16px 0; border: 1px solid var(--ds-line); border-radius: 16px; }
.first-value-actions__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.first-value-actions p { margin: 8px 0; color: var(--ds-ink-soft); font-size: 1rem; }
.first-value-primary, .first-value-secondary { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: 100%; padding: 12px 16px; border-radius: 12px; font: inherit; font-size: 1rem; line-height: 1.5; white-space: normal; text-align: center; cursor: pointer; }
.first-value-primary { background: var(--ds-brand); color: var(--ds-on-cta); border: 1px solid var(--ds-brand); font-weight: 600; }
.first-value-primary:hover { background: var(--ds-brand-hover); }
.first-value-secondary { background: transparent; color: var(--ds-link); border: 1px solid var(--ds-line); }
.first-value-actions [hidden], .first-value-signin [hidden] { display: none !important; }
.first-value-actions [aria-busy='true'] { cursor: wait; }
.first-value-actions :focus-visible, .first-value-signin :focus-visible { outline: 2px solid var(--ds-focus); outline-offset: 4px; }
.first-value-signin.modal { box-sizing: border-box; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; border-radius: 20px; background: var(--ds-elevated); color: var(--ds-ink); }
.first-value-signin h2 { color: inherit; font-size: 1.5rem; line-height: 1.3333; margin: 0 0 16px; }
.first-value-signin p { font-size: 1rem; color: var(--ds-ink-soft); margin: 0 0 24px; }
.first-value-signin button { width: 100%; margin: 0 0 8px; }
