/* SMS receipt: state determines the focal point, not the transport. */
:is(body.redeem-page, body.sms-page) .sms-workspace.sms-inline-panel { min-width: 0; max-width: 100%; width: 100%; padding: 0; gap: 0; border: 0; background: transparent; box-shadow: none; animation: none; color: var(--text, #17201b); }
:is(body.redeem-page, body.sms-page) .sms-workspace *, :is(body.redeem-page, body.sms-page) .sms-workspace *::before, :is(body.redeem-page, body.sms-page) .sms-workspace *::after { box-sizing: border-box; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-workspace-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 20px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-caption { font-size: 12px; font-weight: 600; color: var(--muted); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-state-pill { padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px; background: rgb(230 248 236 / 3%); color: var(--text-soft); font-size: 11px; line-height: 1.5; white-space: nowrap; }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='received'] .sms-state-pill { background: var(--primary-soft); border-color: var(--primary-border); color: var(--primary); }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='expired'] .sms-state-pill { background: var(--accent-soft); border-color: var(--warning-border); color: var(--warning-ink); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-bar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border: 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); border-radius: 0; background: transparent; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-main { display: grid; gap: 8px; min-width: 0; max-width: 100%; flex: 1 1 220px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-field-label { color: var(--muted); font-size: 12px; line-height: 1.5; font-family: var(--font-sans); letter-spacing: 0; font-weight: 500; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-number-btn { display: block; max-width: 100%; min-width: 0; width: fit-content; padding: 0; border: 0; background: transparent; color: var(--text); font: 650 30px/1.35 var(--font-mono); letter-spacing: -.045em; overflow-wrap: anywhere; white-space: normal; text-align: left; cursor: pointer; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-label { display: block; white-space: normal; overflow: visible; text-overflow: clip; font-size: 11px; line-height: 1.7; color: var(--muted); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
:is(body.redeem-page, body.sms-page) .sms-workspace .button, :is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-actions .button { min-height: 44px; height: auto; padding: 10px 14px; font-size: 12px; line-height: 1.5; white-space: normal; max-width: 100%; border-radius: 6px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-actions .button-swap-glow { box-shadow: none; animation: none; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-receipt { min-width: 0; padding: 28px 0; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-main { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 12px; min-width: 0; padding: 0; border: 0; background: transparent; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-value, :is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-value.has-code, :is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-value:disabled { display: block; width: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font: 500 19px/1.5 var(--font-sans); text-align: left; letter-spacing: -.025em; box-shadow: none; animation: none; opacity: 1; overflow-wrap: anywhere; white-space: normal; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-value.has-code { width: fit-content; max-width: 100%; font: 650 clamp(34px, 4vw, 48px)/1.2 var(--font-mono); letter-spacing: .09em; color: var(--text); cursor: pointer; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-value.has-code:hover { color: var(--primary); background: transparent; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-copy-code { min-width: 150px; margin-top: 2px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-wait-hint { margin: 0; max-width: 100%; font-size: 12px; color: var(--muted); line-height: 1.8; }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='received'] .sms-code-receipt { padding: 12px 0 28px; }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='received'] .sms-phone-bar { padding: 16px 0; }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='received'] .sms-phone-number-btn { font-size: 18px; font-weight: 550; letter-spacing: -.02em; }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='received'] .sms-phone-main { gap: 4px; }
:is(body.redeem-page, body.sms-page) .sms-workspace[data-sms-state='expired'] .sms-phone-number-btn { font-size: 18px; color: var(--muted); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-expired-receipt { padding: 8px 0 24px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-expired-receipt h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-expired-receipt p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-receipt-actions { margin-top: 18px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-status-bar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; margin: 0; border: 0; background: transparent; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-status-indicator { display: flex; align-items: flex-start; gap: 7px; min-width: 0; flex: 1 1 220px; font-size: 11px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-live-dot { flex: 0 0 6px; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--muted); box-shadow: none; animation: none; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-live-dot.is-active, :is(body.redeem-page, body.sms-page) .sms-workspace .sms-live-dot.is-done { background: var(--primary); box-shadow: none; animation: none; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-poll-actions { display: flex; flex-wrap: wrap; gap: 4px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-poll-actions .button { padding: 8px 10px; font-size: 11px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-details { min-width: 0; border-top: 1px solid var(--border-subtle); font-size: 12px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-details > summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); list-style: none; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-details > summary::before { content: '+'; font-family: var(--font-mono); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-details[open] > summary::before { content: '−'; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-details > summary::-webkit-details-marker { display: none; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 0 0 16px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-meta > * { min-width: 0; max-width: 100%; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-ttl-badge { border: 0; border-radius: 0; background: transparent; padding: 0; color: var(--muted); font-size: 11px; font-weight: 400; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-section { min-width: 0; border-top: 1px solid var(--border-subtle); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; font-size: 12px; color: var(--muted); text-align: left; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-content { min-width: 0; padding-bottom: 14px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-content .table-wrap { max-width: 100%; overflow-x: auto; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-content .table { width: 100%; min-width: 0; table-layout: fixed; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-content th, :is(body.redeem-page, body.sms-page) .sms-workspace .sms-history-content td { white-space: normal; overflow-wrap: anywhere; font-size: 11px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-workspace-footer { display: grid; gap: 8px; min-width: 0; border-top: 1px solid var(--border-subtle); padding-top: 14px; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-last-polled { display: block; font-size: 10px; line-height: 1.8; color: var(--muted); }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-foot-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin: 0; padding: 0; border: 0; min-height: 0; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text-soft); font: inherit; font-size: 11px; line-height: 1.7; text-decoration: none; cursor: pointer; }
:is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-link:hover { color: var(--primary); text-decoration: underline; }
:is(body.redeem-page, body.sms-page) .sms-workspace.sms-variant-expanded { padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: rgb(230 248 236 / 3%); }
:is(body.redeem-page, body.sms-page) .sms-workspace.sms-variant-expanded .sms-code-value.has-code { font-size: 34px; }
:is(body.redeem-page, body.sms-page) .sms-workspace.sms-variant-expanded .sms-workspace-head { padding-bottom: 12px; }
:is(body.redeem-page, body.sms-page) .sms-workspace.sms-variant-expanded .sms-code-receipt { padding: 16px 0; }
:is(body.redeem-page, body.sms-page) .sms-workspace.sms-variant-expanded .sms-wait-hint { font-size: 11px; }
@media (max-width: 560px) {
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-workspace-head { padding-bottom: 16px; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-main { flex-basis: 100%; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-actions { width: 100%; gap: 6px; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-actions .button { flex: 1 1 auto; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-phone-number-btn { font-size: 28px; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-value.has-code { font-size: clamp(32px, 10vw, 42px); }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-main .sms-copy-code { width: 100%; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-status-indicator { flex-basis: 100%; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-poll-actions { width: 100%; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-code-receipt { padding: 22px 0; }
  :is(body.redeem-page, body.sms-page) .sms-workspace .sms-session-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(body.redeem-page, body.sms-page) .sms-workspace *, :is(body.redeem-page, body.sms-page) .sms-workspace *::before, :is(body.redeem-page, body.sms-page) .sms-workspace *::after { animation: none; transition: none; }
}
