/* Focused account-import flow. Loaded last; other redemption products are unchanged. */
:root[data-theme] .site-shell #step1 .session-entry {
  --session-border: color-mix(in srgb, var(--ui-text) 12%, transparent);
  --session-muted: var(--ui-text-muted, #64748b);
  gap: 0;
}
:root[data-theme] .site-shell #step1 .session-account-intro {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 0 0 14px;
  color: var(--session-muted);
  font-size: 14px;
  line-height: 1.7;
}
:root[data-theme] .site-shell #step1 .session-account-steps {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
:root[data-theme] .site-shell #step1 .session-account-steps > li {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--session-border);
  border-radius: 16px;
  background: var(--ui-surface);
}
:root[data-theme] .site-shell #step1 .session-account-steps > li:first-child {
  background: color-mix(in srgb, var(--ui-primary) 2%, var(--ui-surface));
}
:root[data-theme] .site-shell #step1 .session-task-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ui-text);
  font-size: 17px;
  line-height: 1.5;
}
:root[data-theme] .site-shell #step1 .session-task-heading > span {
  padding: 3px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ui-primary) 10%, var(--ui-surface));
  color: var(--ui-primary-strong);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
:root[data-theme] .site-shell #step1 :is(.session-login-note, .session-return-note) {
  min-height: 48px;
  margin: 12px 0 16px;
  color: var(--session-muted);
  font-size: 14px;
  line-height: 1.7;
}
:root[data-theme] .site-shell #step1 .session-login-note a {
  display: inline-block;
  color: var(--ui-primary-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}
:root[data-theme] .site-shell #step1 .session-main-action {
  display: flex;
  width: 100%;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}
:root[data-theme] .site-shell #step1 .session-main-action.primary-button {
  background: var(--ui-primary);
}
:root[data-theme] .site-shell #step1 .session-main-action.primary-button:hover {
  background: var(--ui-primary-strong);
}
:root[data-theme] .site-shell #step1 .session-copy-instruction {
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}
:root[data-theme] .site-shell #step1 .session-device-label {
  color: var(--session-muted);
  font-size: 12px;
  font-weight: 600;
}
:root[data-theme] .site-shell #step1 .session-copy-instruction p { margin: 5px 0 8px; }
:root[data-theme] .site-shell #step1 .session-copy-instruction small {
  display: block;
  color: var(--session-muted);
  font-size: 12px;
  line-height: 1.7;
}
:root[data-theme] .site-shell #step1 .session-copy-instruction kbd {
  display: inline-block;
  min-width: 22px;
  padding: 0 5px;
  border: 1px solid var(--session-border);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--ui-surface);
  font-size: 12px;
  text-align: center;
}
:root[data-theme] .site-shell #step1 .session-source-help {
  margin: 14px 0 0;
  color: var(--session-muted);
  font-size: 12px;
  line-height: 1.7;
}
:root[data-theme] .site-shell #step1 .session-empty-help {
  margin-top: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--session-border);
  font-size: 13px;
  line-height: 1.7;
}
:root[data-theme] .site-shell #step1 .session-empty-help > summary {
  min-height: 44px;
  padding: 10px 0;
  color: var(--ui-primary-strong);
  font-weight: 600;
  cursor: pointer;
}
:root[data-theme] .site-shell #step1 .session-empty-help > p {
  margin: 0 0 12px;
  color: var(--session-muted);
}
:root[data-theme] .site-shell #step1 .session-empty-help ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
}
:root[data-theme] .site-shell #step1 .session-empty-help li { padding: 0; }
:root[data-theme] .site-shell #step1 .session-empty-help li::marker {
  color: var(--ui-primary-strong);
  font-weight: 700;
}
:root[data-theme] .site-shell #step1 .session-empty-help small {
  display: block;
  color: var(--session-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
:root[data-theme] .site-shell #step1 .session-address-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--ui-primary) 25%, var(--session-border));
  border-radius: 9px;
  background: var(--ui-surface);
  color: var(--ui-primary-strong);
  font: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
:root[data-theme] .site-shell #step1 .session-manual-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  color: var(--session-muted);
  font-size: 12px;
}
:root[data-theme] .site-shell #step1 .session-manual-label::before,
:root[data-theme] .site-shell #step1 .session-manual-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--session-border);
}
:root[data-theme] .site-shell #step1 .session-account-steps textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  max-height: 180px;
  padding: 13px;
  border: 1px solid var(--session-border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--ui-primary) 2%, var(--ui-surface));
  color: var(--ui-text);
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
  overflow-wrap: anywhere;
}
:root[data-theme] .site-shell #step1 .session-account-steps textarea::placeholder { color: var(--session-muted); }
:root[data-theme] .site-shell #step1 .session-account-steps textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--ui-primary) 16%, transparent);
  outline-offset: 1px;
  border-color: var(--ui-primary);
}
:root[data-theme] .site-shell #step1 .session-account-steps [data-session-status] {
  margin: 9px 0 0;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
:root[data-theme] .site-shell #step1 .session-help-bar {
  order: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 8px;
}
:root[data-theme] .site-shell #step1 .session-help-bar > button,
:root[data-theme] .site-shell #step1 .session-import-options > summary {
  min-height: 44px;
  padding: 12px 0;
  color: var(--session-muted);
  font-size: 13px;
  cursor: pointer;
}
:root[data-theme] .site-shell #step1 .session-help-bar > button { color: var(--ui-primary-strong); }
:root[data-theme] .site-shell #step1 .session-import-options .session-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
:root[data-theme] .site-shell #step1 .session-credential-note {
  order: 4;
  margin: 0;
  color: var(--session-muted);
  font-size: 12px;
  line-height: 1.7;
}
.session-mobile-copy { display: none !important; }
:root[data-theme] .site-shell #step1 .session-paste-box {
  overflow: hidden;
  border: 1px solid var(--session-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ui-primary) 2%, var(--ui-surface));
  transition: border-color .15s, box-shadow .15s;
}
:root[data-theme] .site-shell #step1 .session-paste-box:focus-within,
:root[data-theme] .site-shell #step1 .session-drop-active .session-paste-box {
  border-color: var(--ui-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ui-primary) 12%, transparent);
}
:root[data-theme] .site-shell #step1 .session-drop-active .session-paste-box {
  background: color-mix(in srgb, var(--ui-primary) 8%, var(--ui-surface));
}
:root[data-theme] .site-shell #step1 .session-paste-box textarea {
  min-height: 140px;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
}
:root[data-theme] .site-shell #step1 .session-paste-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px 7px 13px;
  color: var(--session-muted);
  font-size: 12px;
  line-height: 1.6;
}
:root[data-theme] .site-shell #step1 .session-paste-tools > span { min-width: 0; }
:root[data-theme] .site-shell #step1 .session-inline-file-action {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ui-primary-strong);
  background: transparent;
  cursor: pointer;
}
:root[data-theme] .site-shell #step1 .session-inline-file-action:hover {
  background: color-mix(in srgb, var(--ui-primary) 9%, var(--ui-surface));
}
:root[data-theme] .site-shell #step1 .session-inline-file-action::before { display: none; }
:root[data-theme] .site-shell #step1 .session-inline-file-action:focus-visible {
  outline: 2px solid var(--ui-primary);
  outline-offset: -2px;
}
:root[data-theme] .site-shell #step1 .session-paste-panel .session-file-name {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ui-primary) 6%, var(--ui-surface));
  color: var(--ui-text);
  font-size: 12px;
  overflow-wrap: anywhere;
}
:root[data-session-device="mobile"] .session-mobile-copy { display: block !important; }
:root[data-session-device="mobile"] .session-desktop-copy { display: none !important; }
:root[data-session-device="mobile"] #guideModal .copy-visual > :not(.guide-mobile-copy-tip) { display: none; }
:root[data-session-device="mobile"] #guideModal .guide-mobile-copy-tip {
  display: grid;
  gap: 8px;
  padding: 24px 16px;
  font-size: 16px;
}
:root[data-theme] .site-shell .session-return-assist {
  animation: none;
  border-width: 1px;
  border-radius: 16px;
}
@media (max-width: 760px) {
  :root[data-theme] .site-shell #step1 .session-account-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  :root[data-theme] .site-shell #step1 .session-account-steps > li { padding: 16px; border-radius: 12px; }
  :root[data-theme] .site-shell #step1 :is(.session-login-note, .session-return-note) { min-height: 0; margin: 10px 0 14px; }
  :root[data-theme] .site-shell #step1 .session-account-intro { margin-bottom: 14px; }
  :root[data-theme] .site-shell #step1 .session-copy-instruction { padding-top: 14px; }
  :root[data-theme] .site-shell #step1 .session-account-steps textarea { font-size: 16px; }
  :root[data-theme] .site-shell #step1 .session-help-bar { display: block; }
  :root[data-theme] .site-shell #step1 .session-help-bar > button { padding-bottom: 4px; }
  :root[data-theme] .site-shell #step1 .session-task-heading { gap: 8px; font-size: 16px; }
}

/* CDKs wrap without inserting line breaks into the submitted value. */
:root[data-theme] .site-shell.redemption-compact #step1 .submission-row > [data-cdk-field] > textarea[data-cdk-input] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 58px;
  min-height: 58px;
  margin: 0;
  padding: 15px 16px;
  border: 1.5px solid var(--ui-border);
  border-radius: 12px;
  color: var(--ui-text);
  background: var(--ui-surface);
  font: 500 16px/24px var(--xd-sans);
  letter-spacing: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-all;
  resize: vertical;
}
:root[data-theme] .site-shell.redemption-compact #step1 .submission-row > [data-cdk-field]:has(> .cdk-plan-display:not(.hidden)) > textarea[data-cdk-input] { grid-area: control; }
:root[data-theme] .site-shell.redemption-compact #step1 .submission-row[data-cdk-state="ok"] > [data-cdk-field] > textarea[data-cdk-input] { border-color: color-mix(in srgb, var(--ui-success) 52%, var(--ui-border)); }
:root[data-theme] .site-shell.redemption-compact #step1 .submission-row[data-cdk-state="used"] > [data-cdk-field] > textarea[data-cdk-input] { border-color: var(--ui-warning); }
:root[data-theme] .site-shell.redemption-compact #step1 .submission-row > [data-cdk-field] > textarea[data-cdk-input]:focus { outline: 2px solid var(--ui-primary); outline-offset: 2px; }

.session-return-permission { display: none; margin: 0; line-height: 1.6; }
#sessionReturnManual { display: none; min-height: 44px; }

/* A returning mobile customer lands at the real input, without an overlay. */
:root[data-theme] .site-shell #step1 .session-return-assist.session-return-inline {
  position: static;
  inset: auto;
  transform: none;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 10px 8px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
  scroll-margin-top: 16px;
}
:root[data-theme] .site-shell #step1 .session-return-inline :is(.session-return-assist-icon, .session-return-assist-kicker, .session-return-assist-close) { display: none; }
:root[data-theme] .site-shell #step1 .session-return-inline .session-return-assist-copy { grid-column: 1 / -1; margin: 0; gap: 4px; }
:root[data-theme] .site-shell #step1 .session-return-inline .session-return-assist-copy strong { font-size: 16px; }
:root[data-theme] .site-shell #step1 .session-return-inline .session-return-assist-copy small { font-size: 12px; line-height: 1.6; }
:root[data-theme] .site-shell #step1 .session-return-inline :is(#sessionReturnPaste, #sessionReturnManual) {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: auto;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  box-shadow: none;
}
:root[data-theme] .site-shell #step1 .session-return-inline .session-return-permission { display: block; grid-column: 1 / -1; color: var(--ui-text-muted); font-size: 12px; }
:root[data-theme] .site-shell #step1 .session-return-inline:not(.hidden) + .session-paste-panel > :is([data-paste-session], .session-manual-label) { display: none; }

@media (max-width: 760px) {
  :root[data-theme] .site-shell.redemption-compact #step1 .submission-row > [data-cdk-field] > textarea[data-cdk-input] { height: 76px; min-height: 76px; padding: 12px; }
  :root[data-theme] .site-shell #step1 .session-paste-box textarea { min-height: 110px; scroll-margin-block: 20px; }
  :root[data-theme] .site-shell #step1 .session-account-steps > li { padding: 12px; }
}

/* Compact account task; the product introduction and rotating card stay visible. */
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 { padding: 16px 22px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .section-heading { margin-bottom: 10px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .section-heading h2 { font-size: 18px; margin: 0; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 :is(.submission-row,.submission-rows,.batch-submission-form) { gap: 10px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .customer-step-label { font-size: 15px; margin-bottom: 6px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .customer-step-label > span { width: 28px; height: 28px; font-size: 14px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 textarea[data-cdk-input] { height: 46px; min-height: 46px; padding: 10px 12px; font-size: 14px; line-height: 24px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .cdk-plan-display { padding: 7px 12px; min-height: 46px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-account-intro { display: none; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-account-steps { gap: 12px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-account-steps > li { padding: 12px 16px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-task-heading { font-size: 15px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 :is(.session-login-note,.session-return-note) { min-height: 0; margin: 6px 0 10px; font-size: 13px; line-height: 1.6; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-main-action { min-height: 44px; padding: 8px 12px; font-size: 14px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-copy-instruction { padding-top: 8px; line-height: 1.6; font-size: 13px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-copy-instruction p { margin: 3px 0; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-empty-help { margin-top: 8px; padding-top: 0; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-empty-help > summary { min-height: 32px; padding: 6px 0; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-manual-label { margin: 6px 0; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-paste-box textarea { min-height: 60px; height: 60px; max-height: 160px; padding: 9px 12px; font-size: 14px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-paste-tools { padding: 0 4px 0 12px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 [data-session-status] { margin-top: 5px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-help-bar { margin-top: 0; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-help-bar :is(button,summary) { min-height: 32px; padding-block: 5px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .customer-submit-bar { margin-top: 4px; padding-top: 10px; gap: 8px; }
@media (max-width: 760px) {
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 { padding: 12px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-account-steps > li { padding: 10px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 :is(.session-empty-help > summary,.session-help-bar button,.session-help-bar summary) { min-height: 44px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-paste-box textarea { font-size: 16px; min-height: 64px; height: 64px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 textarea[data-cdk-input] { height: 76px; min-height: 76px; font-size: 16px; line-height: 22px; }
}
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .submission-row > [data-cdk-field] { padding-bottom: 6px; row-gap: 4px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .customer-step-label { min-height: 28px; margin-bottom: 4px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-entry { gap: 4px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-return-note { display: none; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-task-heading { margin-bottom: 8px; }
:root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-paste-box textarea { margin: 0; }
@media (max-width: 760px) {
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .credential-ready > [data-cdk-field]:has(.cdk-plan-display:not(.hidden)) { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'label plan' 'control control' 'status status'; gap: 4px 8px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .credential-ready .cdk-plan-display { grid-area: plan; display: flex; align-items: center; gap: 5px; min-height: 28px; padding: 2px 8px; width: auto; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .credential-ready .cdk-plan-display :is(.cdk-plan-icon,[data-cdk-plan-label]) { display: none; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .credential-ready [data-cdk-plan-name] { font-size: 13px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-copy-instruction small { display: none; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-manual-label { display: none; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-paste-box { margin-top: 8px; }
  :root[data-theme] body.site-shell.customer-holo #gptRedemptionPanel #step1 .session-help-bar { display: flex; align-items: center; }
}
