/* Purchase and material guidance use the shared light/dark design tokens. */
#confirm-generate.text-button{padding:10px 0;min-height:44px;border:0;background:none;box-shadow:none;color:var(--text-secondary);font-size:13px;text-decoration:underline;text-underline-offset:3px}
#copy-brief{min-height:44px;margin-top:8px}
.editor-assurance{margin:12px 0 0;color:var(--success-text);font-size:12px;line-height:1.6}
.editor-assurance a{color:inherit;text-underline-offset:3px}
#cast-entry-status{padding:10px 12px;border-left:3px solid var(--brand-secondary);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--secondary-soft);color:var(--secondary-ink);font-size:12px;line-height:1.65}
.material-entry-section{padding-block:56px;border-top:1px solid var(--border-subtle)}
.material-entry-section>p{max-width:64ch;color:var(--text-secondary)}
.material-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.material-entry-card{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--border-subtle);border-radius:var(--radius);background:var(--bg-elevated);color:var(--text-primary);text-decoration:none;text-align:left;transition:border-color .15s,background-color .15s}
.material-entry-card:hover,.material-entry-card[data-selected="true"]{border-color:var(--brand-secondary);background:var(--secondary-soft)}
.material-entry-card strong{font-family:var(--display);font-size:22px;font-weight:600;line-height:1.25}
.material-entry-card p,.material-entry-card small{margin:0;color:var(--text-secondary);font-size:13px;line-height:1.7}
.material-entry-card>span:last-child{margin-top:auto;color:var(--accent-readable);font-size:13px;font-weight:700}
.material-entry-card:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
@media(max-width:700px){.material-entry-section{padding-block:36px}.material-entry-grid{grid-template-columns:1fr;gap:12px}.material-entry-card{padding:20px}}
@media(prefers-reduced-motion:reduce){.material-entry-card{transition:none}}
.alternative-section{padding-block:48px 64px;border-top:1px solid var(--border-subtle)}
.alternative-section>p{max-width:70ch;color:var(--text-secondary)}
.alternative-section .table-scroll{margin-block:24px}
.alternative-section table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.7}
.alternative-section th,.alternative-section td{padding:18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border-subtle)}
.alternative-section thead{background:var(--bg-surface)}
.alternative-section tbody th{min-width:160px;color:var(--text-primary)}
.alternative-section td{color:var(--text-secondary)}
@media(max-width:700px){.alternative-section{padding-block:32px 40px}.alternative-section table{min-width:620px}}

/* Browser wallets keep optional recovery separate from the purchase action. */
.payment-email{display:grid;gap:12px;width:100%}
.payment-email label{font-size:14px;font-weight:600;color:var(--text-primary)}
.payment-email input,.guest-recovery-form input{width:100%;box-sizing:border-box;min-height:46px;padding:12px 14px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-canvas);color:var(--text-primary);font:inherit}
.payment-email input:focus-visible,.guest-recovery-form input:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}
.payment-email .payment-choice{margin-top:4px}
.guest-access{margin-block:24px;padding:22px;border:1px solid var(--border-subtle);border-radius:var(--radius);background:var(--bg-surface)}
.guest-access h2{margin:0 0 8px;font-size:22px}
.guest-access p{max-width:76ch;margin:0 0 14px;color:var(--text-secondary);font-size:14px;line-height:1.7}
.guest-access-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.guest-access-actions .text-button{min-height:44px;padding:8px}
.guest-access .field-help{margin:12px 0 0;font-size:12px}
.guest-recovery{margin-top:24px;max-width:640px;border-top:1px solid var(--border-subtle);padding-top:18px}
.guest-recovery summary{min-height:44px;cursor:pointer;color:var(--text-secondary)}
.guest-recovery-form{display:grid;gap:12px;padding-top:12px}
.guest-recovery-form label{font-size:14px;font-weight:600}
.guest-recovery-form .field-help,.guest-recovery-form [role="status"]{margin:0;font-size:13px;line-height:1.65}
.guest-recovery-form button{justify-self:start}
@media(max-width:600px){.guest-access{padding:18px}.guest-access h2{font-size:20px}.guest-access-actions{align-items:stretch;flex-direction:column}.guest-recovery-form button{width:100%}}

.checkout-return-status{padding:16px 18px;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--text-secondary);font-size:14px;line-height:1.7}
