/* The embedded Grok flow shares the existing redemption typography and theme. */
#grokRedemptionPanel [hidden] { display: none !important; }
:root[data-theme] .site-shell #grokRedemptionPanel .claude-text-input {
  display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 16px;
  color: var(--ui-text); border: 2px solid var(--xd-input-border); border-radius: 10px;
  background: var(--xd-input-fill); box-shadow: none; font: 16px/1.5 var(--xd-sans);
}
:root[data-theme] .site-shell #grokRedemptionPanel .claude-text-input:focus {
  border-color: var(--ui-primary); outline: 2px solid color-mix(in srgb, var(--ui-primary) 14%, transparent); outline-offset: 1px;
}
:root[data-theme] .site-shell #grokRedemptionPanel #grokCookie { padding-right: 72px; }
#grokRedemptionPanel .claude-card-description { margin-bottom: 18px; font-size: 14px; }
#grokRuntime:not([hidden]) { margin-bottom: 18px; }
#grokRedemptionPanel .grok-home-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#grokRedemptionPanel .grok-home-actions a { display: inline-flex; text-decoration: none; }
:root[data-theme] .site-shell.redemption-compact #grokRedemptionPanel .grok-home-actions > :is(button, a, div),
:root[data-theme] .site-shell.redemption-compact #grokRedemptionPanel .grok-home-actions > div > a { flex: 0 0 auto; width: auto; max-width: 100%; }
#grokOrder > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--xd-hair); font-size: 14px; }
#grokOrder dt { color: var(--ui-text-muted); }
#grokOrder dd { margin: 0; overflow-wrap: anywhere; }
#grokOrderCard[data-state='success'] .claude-order-icon { color: var(--ui-success); background: var(--xd-tint-ok); }
#grokOrderCard[data-state='failed'] .claude-order-icon { color: var(--ui-danger); background: var(--xd-tint-bad); }
@media (prefers-reduced-motion: reduce) {
  #grokProgressFill { transition: none !important; }
  #grokOrderProgress .customer-order-progress-track > span::after { animation: none !important; }
}
.grok-home-feedback:empty { display: none; }
.grok-home-feedback { margin: 12px 0; }
.grok-home-feedback.is-error { color: var(--ui-danger); }
.grok-home-recovery { margin: 20px 0; color: var(--ui-text-muted); font-size: 13px; }
.grok-home-recovery summary { cursor: pointer; }
.grok-home-recovery form { display: grid; gap: 10px; margin-top: 16px; }
.grok-home-recovery button { justify-self: start; }
@media (max-width: 360px) {
  :root[data-theme] .site-shell.redemption-compact .redemption-product-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-theme] .site-shell.redemption-compact .redemption-product-tab { width: 100%; }
  #grokOrder > div { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
}
