.of-reset {
  --reset-divider: #cbd2ef24;
  --reset-muted: #b2bacf;
  --reset-accent: #c4ccfa;
  min-width: 0;
  padding: clamp(22px, 4.4vw, 45px) 0 clamp(19px, 3.5vw, 36px);
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--reset-divider);
}
.of-reset::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 14% 7%, #7880c021, transparent),
    radial-gradient(ellipse 48% 60% at 90% 70%, #697ba30b, transparent);
  pointer-events: none;
  content: "";
}
.of-reset [hidden] { display: none !important; }

.of-reset-heading,
.of-reset-code-row,
.of-reset-review-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.of-reset-heading { justify-content: space-between; }
.of-reset-heading h3 {
  margin: 0;
  color: #f3f5ff;
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  font-weight: 620;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.of-reset-note,
.of-reset-status,
.of-reset-review p,
.of-reset-issued p {
  margin: 0;
  color: var(--reset-muted);
  font-size: .84rem;
  line-height: 1.6;
}

.of-reset-status:not(:empty) {
  margin-block: 10px 1px;
  color: #cfd6ff;
}
.of-reset-status[data-error] { color: #ffc0c4; }

.of-reset-current,
.of-reset [data-reset-plan] {
  margin-top: 8px;
  color: #e0e6fb;
  font-size: .94rem;
  font-weight: 550;
}

.of-reset-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 4vw, 52px);
  margin-top: clamp(18px, 3vw, 34px);
}
.of-reset-panel {
  min-width: 0;
  padding: 5px 0 10px;
}
.of-reset-panel + .of-reset-panel {
  padding-inline-start: clamp(16px, 3.7vw, 48px);
  border-inline-start: 1px solid var(--reset-divider);
}
.of-reset-panel h4 {
  margin: 0;
  color: #eef2ff;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -.025em;
}
.of-reset-panel > :is(.of-reset-button, .of-reset-note) { margin-top: 9px; }

.of-reset-button,
.of-reset-secondary,
.of-reset-refresh {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #b5c5f912;
  color: #e0e6fc;
  font: inherit;
  font-size: .82rem;
  font-weight: 625;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.of-reset-button {
  min-height: 46px;
  background: linear-gradient(170deg, #eff2ff, #c8d2fa);
  color: #1b2240;
  box-shadow: 0 5px 18px #889ff023, inset 0 1px 0 #fff7;
}
.of-reset-button[data-reset-review] {
  background: #aebcf527;
  color: #edf1ff;
  box-shadow: none;
}
.of-reset-button:not(:is(:disabled,[aria-disabled="true"])):hover {
  background: #f4f5ff;
  color: #151c36;
}
.of-reset-button[data-reset-review]:not(:is(:disabled,[aria-disabled="true"])):hover {
  background: #aebcf544;
  color: #fff;
}
.of-reset :is(.of-reset-secondary,.of-reset-refresh):not(:disabled):hover {
  background: #b5c5f927;
  color: #fff;
}
.of-reset :is(button, a)[aria-disabled="true"],
.of-reset button:disabled {
  background: #b2bcde16;
  color: #a3adc9;
  box-shadow: none;
  cursor: default;
}
.of-reset-refresh { background: transparent; color: var(--reset-muted); }

.of-reset-field {
  display: grid;
  gap: 6px;
  margin-top: 13px;
  color: var(--reset-muted);
  font-size: .81rem;
}
.of-reset-field :is(input,select) {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-bottom-color: #bcc7f255;
  border-radius: 8px 8px 2px 2px;
  background: #c0c9fa0c;
  color: #f3f5ff;
  font: inherit;
  font-size: 1rem;
}
.of-reset-field input::placeholder { color: #a0a9c0; }
.of-reset-field :is(input,select):focus {
  border-bottom-color: #d3dcff;
  background: #c0c9fa17;
}
.of-reset :is(button, a, summary, input, select):focus-visible {
  outline: 2px solid var(--reset-accent);
  outline-offset: 3px;
}
.of-reset :is(input,select):disabled { opacity: .66; }

.of-reset-review,
.of-reset-issued,
.of-reset-receipt-style {
  margin-top: 12px;
  padding: 13px 0 0 12px;
  border-inline-start: 2px solid #aebef26e;
}
.of-reset-review p,
.of-reset-issued p { margin-bottom: 9px; }
.of-reset-review strong { color: #f3f5ff; }
.of-reset-review-actions { flex-wrap: wrap; }
.of-reset-code-row code {
  flex: 1;
  min-width: 0;
  padding: 7px 9px;
  border-bottom: 1px solid var(--reset-divider);
  background: #bccafa0c;
  color: #f1f4ff;
  font: .79rem/1.5 ui-monospace, Consolas, monospace;
  overflow-wrap: anywhere;
  user-select: all;
}
.of-reset a { overflow-wrap: anywhere; }

.of-reset-history {
  margin-top: clamp(15px, 3vw, 29px);
  border-top: 1px solid var(--reset-divider);
}
.of-reset-history summary {
  min-height: 44px;
  padding-block: 12px;
  color: #ebefff;
  font-size: .86rem;
  font-weight: 620;
  cursor: pointer;
}
.of-reset-history summary span {
  margin-left: 5px;
  color: var(--reset-muted);
  font-variant-numeric: tabular-nums;
}
.of-reset-records {
  max-height: 350px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.of-reset-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid #cbd2ef15;
  font-size: .82rem;
}
.of-reset-record .of-reset-code-row { grid-column: 1 / -1; }
.of-reset-record-state,
.of-reset-date {
  color: var(--reset-muted);
  overflow-wrap: anywhere;
}
.of-reset-record-state[data-state="redeemed"] { color: #b8e4d5; }
.of-reset-record-state[data-state="available"] { color: #c6d0fb; }

html[data-motion="on"] .of-reset :is(button,a,input,select) {
  transition: transform .26s cubic-bezier(.19,.74,.21,1), color .2s ease, background-color .22s ease, border-color .22s ease;
}
html[data-motion="on"] .of-reset :is(.of-reset-button,.of-reset-secondary):not(:is(:disabled,[aria-disabled="true"])):active {
  transform: scale(.97);
}
html[data-motion="on"] .of-reset :is(.of-reset-review,.of-reset-issued,.of-reset-receipt-style):not([hidden]) {
  animation: reset-control-in .42s cubic-bezier(.19,.74,.21,1) both;
}
@keyframes reset-control-in {
  from { opacity: .25; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .of-reset-actions { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .of-reset-panel + .of-reset-panel {
    padding-top: 17px;
    padding-inline-start: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--reset-divider);
  }
  .of-reset-record { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .of-reset :is(button,a,input,summary,[tabindex]) { scroll-margin-block: 76px calc(var(--phone-clear, 85px) + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-motion="on"] .of-reset * {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* onlyfast: the plan order on the account page is one line and one button */
.of-plan-pay { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; }
.of-plan-pay[hidden] { display:none; }
.of-plan-pay .of-reset-status { margin:0; flex:1 1 220px; }
.of-plan-pay .of-reset-button { text-decoration:none; }
