/* Voucher verification shares a single reading column across the two entry pages. */
body:not(.lookup-mode) .code-entry > .content {
  width: min(100%, 43rem);
  max-width: none;
  margin-inline: auto;
}
body:not(.lookup-mode) .code-entry .hero {
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
body:not(.lookup-mode) .code-entry .hero h1 {
  color: #19233e;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -.035em;
  line-height: 1.2;
}
body:not(.lookup-mode) .code-entry .hero p {
  color: #546079;
  margin: .4rem 0 0;
  font-size: .98rem;
  line-height: 1.55;
}
body:not(.lookup-mode) .code-entry .service-icon,
body:not(.lookup-mode) .code-entry .hero-mark {
  order: -1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid #d1d8f9;
  border-radius: 1rem;
  color: #394fa9;
  background: #eaf0ff;
  box-shadow: none;
}
body:not(.lookup-mode) .code-entry .hero svg {width: 1.8rem; height: 1.8rem;}
body:not(.lookup-mode) .code-entry .status-strip {display: none;}
body:not(.lookup-mode) .code-entry .workspace-grid {display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem;}
body:not(.lookup-mode) .code-entry .result-column:has(> #result-panel[hidden]) {display: none;}
.code-entry #result-panel[hidden], .code-entry #grokNotice[hidden] {display: none !important;}
body:not(.lookup-mode) .code-entry #redeem-panel,
body:not(.lookup-mode) .code-entry #result-panel {
  background: white;
  border: 1px solid #d6deec;
  border-radius: 1.1rem;
  box-shadow: 0 8px 28px -20px #3c4d76;
}
body:not(.lookup-mode) .code-entry #redeem-panel > .panel-header {
  align-items: center;
  padding: clamp(1.15rem, 3.8vw, 1.9rem) clamp(1.05rem, 4vw, 2rem) 0;
  border: 0;
  background: transparent;
}
body:not(.lookup-mode) .code-entry #redeem-panel .panel-title {
  font-size: 1.23rem; font-weight: 700; line-height: 1.4; color: #19233e;
}
body:not(.lookup-mode) .code-entry #redeem-panel .panel-subtitle {margin: .35rem 0 0; color: #56657b;}
body:not(.lookup-mode) .code-entry .form-wrap {padding: 1.05rem clamp(1.05rem, 4vw, 2rem) 1.15rem;}
body:not(.lookup-mode) .code-entry #redeem-panel:has(#cardKey:placeholder-shown) #clearButton {visibility: hidden;}
body:not(.lookup-mode) .code-entry label[for="cardKey"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
body:not(.lookup-mode) .code-entry .input-shell:has(#cardKey) {
  display: flex; align-items: center; gap: .65rem; min-height: 3.2rem;
  margin: 0; padding: .35rem .45rem .35rem .8rem;
  border: 1px solid #b6c2d9; border-radius: .65rem; background: #fcfdff;
}
body:not(.lookup-mode) .code-entry .input-shell:has(#cardKey:focus) {
  background: white; border-color: #435cc5; box-shadow: 0 0 0 3px #4e69d31a;
}
body:not(.lookup-mode) .code-entry #cardKey {min-width: 0; font-size: 1rem;}
body:not(.lookup-mode) .code-entry #pasteButton {min-height: 2.3rem; padding-inline: .75rem;}
body:not(.lookup-mode) .code-entry #submitButton {
  width: 100%; min-height: 3rem; margin-top: .95rem;
  background: #394fa9; border: 1px solid #394fa9; border-radius: .65rem;
  color: white; font-size: 1rem; font-weight: 650; box-shadow: none;
}
body:not(.lookup-mode) .code-entry #submitButton:not(:disabled):hover {background: #2c418e;}
body:not(.lookup-mode) .code-entry #submitButton:disabled {
  background: #edf0f7; border-color: #e0e5ef; color: #68748a; opacity: 1;
}
body:not(.lookup-mode) .code-entry .redeem-note {margin-top: .65rem; color: #607086; font-size: .83rem;}
body:not(.lookup-mode) .code-entry #receiptPanel {margin-top: .45rem;}
body:not(.lookup-mode) .code-entry #lookupReceipt {
  background: transparent; box-shadow: none; padding: .22rem 0;
  color: #354da7; min-height: 2.5rem; font-weight: 600;
}
body:not(.lookup-mode) .code-entry #lookupReceipt::after {content: " →";}
.code-entry .code-help {border-top: 1px solid #e4e8f0; background: #f8faff;}
.code-entry .code-help summary {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3.2rem;
  padding: .65rem clamp(1.05rem, 4vw, 2rem); color: #34425c;
  list-style: none; cursor: pointer; font-size: .92rem; font-weight: 600;
}
.code-entry .code-help summary::-webkit-details-marker {display: none;}
.code-entry .code-help summary::after {
  content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); margin-inline-end: .3rem;
}
.code-entry .code-help[open] summary::after {transform: rotate(225deg);}
.code-entry .code-help p {margin: 0; padding: 0 clamp(1.05rem, 4vw, 2rem) 1rem; line-height: 1.65; color: #56657b;}
.code-entry :is(.code-help summary, .plan-guide a, #lookupReceipt):focus-visible {outline: 2px solid #394fa9; outline-offset: -2px;}
.code-entry .plan-guide {margin: .85rem 0 0;}
.code-entry .plan-guide a, .services .guide-index a {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 2.7rem;
  padding: .45rem .9rem; border: 1px solid #d5ddfa; border-radius: .6rem;
  color: #304897; background: #eff3ff; text-decoration: none; font-weight: 650;
}
.code-entry .plan-guide a:hover {background: #e4eaff;}
.code-entry .task-empty > dl:empty, .code-entry .task-empty > ol:empty {display: none;}
body:not(.lookup-mode) .code-entry #result-panel:has(#grokNotice:not([hidden])) .panel-header {display: none;}
body:not(.lookup-mode) .code-entry #result-panel:has(#grokNotice:not([hidden])) .task-body {padding: 0;}
body:not(.lookup-mode) .code-entry #result-panel:has(#grokNotice:not([hidden])) #resultBox {
  border: 0; border-radius: 0; background: #f7f9ff; padding: 1.25rem clamp(1.05rem, 4vw, 2rem);
}
body:not(.lookup-mode) .code-entry #result-panel:has(#grokNotice:not([hidden])) .empty-icon {display: none;}
body:not(.lookup-mode) .code-entry #result-panel:has(#grokNotice:not([hidden])) #resultTitle {color: #243459;}
body:not(.lookup-mode) .code-entry .footer-note {margin-top: 1.15rem;}
body .workspace-shell[data-service="redeem"] {
  min-height: calc(100svh - 4.75rem);
  background: #f5f7fb;
}
body .workspace-shell[data-service="redeem"] .main.code-entry {
  margin: 0 auto;
  padding-block: clamp(2rem, 7vh, 4.75rem);
}
@media (max-width: 48rem) {
  body .workspace-shell[data-service="redeem"] {min-height: calc(100svh - 5rem);}
  body .workspace-shell[data-service="redeem"] .main.code-entry {padding-block: 1.75rem;}
}

.code-entry .inline-guide-steps {margin: 0; padding: 0 clamp(1.05rem, 4vw, 2rem) 1rem calc(clamp(1.05rem, 4vw, 2rem) + 1.25rem); color: #56657b; line-height: 1.65;}
.code-entry .inline-guide-steps li + li {margin-top: .55rem;}
.code-entry .inline-guide-steps a {color: #304897; overflow-wrap: anywhere;}

body.lookup-mode .code-entry :is(#chatgpt-guide, #grok-guide) {display: none;}

#sessionAccountPreview {
  margin: .65rem 0;
  padding: .75rem 1rem .25rem;
  border: 1px solid #c7d5ed;
  border-radius: .65rem;
  background: #f3f7ff;
  color: #233855;
}
#sessionAccountPreview p { margin: 0; font-size: .875rem; line-height: 1.5; }
#sessionAccountEmail {
  display: block;
  margin-top: .15rem;
  color: #182943;
  font-family: inherit;
  font-size: 1.075rem;
  font-weight: 650;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}
#sessionAccountPreview label {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-size: .95rem;
  cursor: pointer;
}
#confirmAccountEmail { width: 1.1rem; height: 1.1rem; margin: 0; flex: none; accent-color: #285bb0; }
#accountFlow #sessionEmailIssue[hidden], #sessionAccountPreview[hidden] { display: none; }

#grokRecovery[hidden] { display: none !important; }
#grokRecovery:not([hidden]) { display: block; overflow-wrap: anywhere; }

#resultAccount:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .75rem;
  padding: .65rem .8rem;
  border: 1px solid #c0dfca;
  border-radius: .5rem;
  background: #fff;
  color: #405749;
}
#resultAccountEmail {
  font: inherit;
  font-weight: 700;
  color: #154b33;
  overflow-wrap: anywhere;
}
