@font-face {
  font-family: "Onest Stage2";
  src: url("/assets/onest-variable.d05dd87b6d69.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.portal-stage2 {
  --portal-bg: #f6f8fc;
  --portal-surface: #ffffff;
  --portal-surface-soft: #f7f9fd;
  --portal-text: #0d1833;
  --portal-text-secondary: #657187;
  --portal-border: #e1e7f0;
  --portal-border-strong: #8491a5;
  --portal-primary: #1268f4;
  --portal-primary-hover: #0b5dde;
  --portal-primary-soft: #edf4ff;
  --portal-focus: rgba(18, 104, 244, .18);
  --portal-danger: #c93642;
  --portal-danger-soft: #fff3f4;
  --portal-success: #21734a;
  --portal-success-soft: #f0faf5;
  --portal-shadow: 0 14px 36px rgba(18, 36, 68, .06);
  --portal-card-radius: 18px;
  --portal-control-radius: 11px;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--portal-text);
  background: var(--portal-bg);
  font-family: "Onest Stage2", "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.portal-stage2,
.portal-stage2 * {
  box-sizing: border-box;
}

.portal-stage2 a {
  color: inherit;
  text-decoration: none;
}

.portal-stage2 button,
.portal-stage2 input {
  font: inherit;
}

.portal-stage2 button,
.portal-stage2 a,
.portal-stage2 label {
  -webkit-tap-highlight-color: transparent;
}

.portal-stage2 [hidden] {
  display: none !important;
}

.portal-stage2 :focus-visible {
  outline: 3px solid var(--portal-focus);
  outline-offset: 3px;
}

.portal-stage2__sr-only,
.portal-stage2__visually-hidden-control {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.portal-stage2__skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 16px;
  padding: 11px 16px;
  border-radius: var(--portal-control-radius);
  color: #fff !important;
  background: var(--portal-primary);
  font-size: 14px;
  font-weight: 650;
  transform: translateY(-180%);
  transition: transform .18s ease;
}

.portal-stage2__skip-link:focus {
  transform: translateY(0);
}

.portal-stage2__topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  width: 100%;
  height: 80px;
  border-bottom: 1px solid var(--portal-border);
  background: var(--portal-surface);
}

.portal-stage2__topbar-inner {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 32px;
}

.portal-stage2__brand,
.portal-stage2__drawer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: #111d37;
}

.portal-stage2__brand-word,
.portal-stage2__drawer-brand span {
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.045em;
}

.portal-stage2__brand-mark {
  width: 23px;
  height: 27px;
  object-fit: contain;
}

.portal-stage2__topbar-tools {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.portal-stage2__balance {
  display: flex;
  flex: 0 0 auto;
  min-width: 124px;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  background: var(--portal-surface);
  line-height: 1.25;
}

.portal-stage2__balance-icon {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  color: var(--portal-primary);
}

.portal-stage2__balance-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.portal-stage2__balance-label {
  color: var(--portal-text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.portal-stage2__balance strong {
  max-width: 170px;
  overflow: hidden;
  color: var(--portal-text);
  font-size: 16px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-stage2__profile {
  position: relative;
  min-width: 0;
}

.portal-stage2__profile-trigger {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 4px;
  border: 0;
  border-radius: 13px;
  color: var(--portal-text);
  background: transparent;
  cursor: pointer;
}

.portal-stage2__profile-trigger[aria-expanded="true"] {
  background: var(--portal-primary-soft);
}

.portal-stage2__avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d8e4f8;
  border-radius: 50%;
  color: var(--portal-primary);
  background: var(--portal-primary-soft);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-stage2__profile-email {
  max-width: min(25vw, 260px);
  min-width: 0;
  overflow: hidden;
  color: #33415b;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-stage2__profile-chevron {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #7a869a;
  transition: transform .18s ease;
}

.portal-stage2__profile-trigger[aria-expanded="true"] .portal-stage2__profile-chevron {
  transform: rotate(180deg);
}

.portal-stage2__profile-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  padding: 7px;
  border: 1px solid var(--portal-border);
  border-radius: 14px;
  background: var(--portal-surface);
  box-shadow: 0 18px 46px rgba(18, 36, 68, .14);
}

.portal-stage2__profile-menu a,
.portal-stage2__profile-menu button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  color: #33415b;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.portal-stage2__profile-menu form {
  margin: 0;
}

.portal-stage2__menu-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #63718a;
}

.portal-stage2__drawer-trigger,
.portal-stage2__drawer-close {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  color: #283751;
  background: var(--portal-surface);
  cursor: pointer;
}

.portal-stage2__topbar-icon,
.portal-stage2__drawer-close-icon {
  width: 23px;
  height: 23px;
}

.portal-stage2__layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px);
}

.portal-stage2__sidebar {
  position: sticky;
  top: 80px;
  display: block;
  width: 264px;
  height: calc(100vh - 80px);
  height: calc(100dvh - 80px);
  min-width: 0;
  align-self: start;
  padding: 26px 20px;
  border-right: 1px solid var(--portal-border);
  background: var(--portal-surface);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.portal-stage2__drawer-heading {
  display: none;
}

.portal-stage2__nav {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.portal-stage2__nav-item {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 0;
  border-radius: var(--portal-control-radius);
  color: #45536b;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.portal-stage2__nav-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portal-stage2__nav-item.is-active {
  color: #0758d5;
  background: var(--portal-primary-soft);
}

.portal-stage2__nav-item--primary,
.portal-stage2__nav-item--primary.is-active {
  color: #fff;
  background: var(--portal-primary);
  box-shadow: 0 8px 18px rgba(18, 104, 244, .16);
}

.portal-stage2__nav-icon {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  color: #748198;
}

.portal-stage2__nav-item.is-active .portal-stage2__nav-icon {
  color: var(--portal-primary);
}

.portal-stage2__nav-item--primary .portal-stage2__nav-icon,
.portal-stage2__nav-item--primary.is-active .portal-stage2__nav-icon {
  color: #fff;
}

.portal-stage2__nav-label {
  margin: 23px 13px 7px;
  color: #8a96aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portal-stage2__service-switch {
  display: contents;
  margin: 0;
}

.portal-stage2__nav-separator {
  height: 1px;
  margin: 20px 8px 14px;
  background: var(--portal-border);
}

.portal-stage2__drawer-overlay {
  display: none;
}

.portal-stage2__main {
  width: 100%;
  min-width: 0;
  padding: 46px 48px 64px;
}

.portal-stage2__order-page {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
}

.portal-stage2__page-heading {
  max-width: 820px;
  margin-bottom: 31px;
}

.portal-stage2__eyebrow {
  margin: 0 0 8px;
  color: var(--portal-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.portal-stage2__page-heading h1 {
  max-width: 800px;
  margin: 0;
  color: var(--portal-text);
  font-size: clamp(40px, 3vw, 44px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.portal-stage2__lead {
  max-width: 720px;
  margin: 15px 0 0;
  color: var(--portal-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.portal-stage2__lead span {
  display: block;
}

.portal-stage2__order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-width: 0;
  align-items: start;
  gap: 24px;
}

.portal-stage2__card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-card-radius);
  background: var(--portal-surface);
  box-shadow: var(--portal-shadow);
}

.portal-stage2__card-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}

.portal-stage2__card-heading > div {
  min-width: 0;
}

.portal-stage2__card-heading h2 {
  margin: 0;
  color: var(--portal-text);
  font-size: 20px;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.portal-stage2__card-heading p {
  margin: 3px 0 0;
  color: var(--portal-text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.portal-stage2__step {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--portal-primary);
  background: var(--portal-primary-soft);
  font-size: 14px;
  font-weight: 800;
}

.portal-stage2__form-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -3px 0 21px;
  padding: 12px 14px;
  border: 1px solid #f2c8cc;
  border-radius: var(--portal-control-radius);
  color: #9f2935;
  background: var(--portal-danger-soft);
  font-size: 13px;
  line-height: 1.45;
}

.portal-stage2__form-error-mark {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--portal-danger);
}

.portal-stage2__alert-icon {
  width: 15px;
  height: 15px;
}

.portal-stage2__field {
  display: grid;
  min-width: 0;
  gap: 8px;
  margin-bottom: 21px;
}

.portal-stage2__field label,
.portal-stage2__duration legend {
  color: #24334e;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.portal-stage2__field input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 13px 15px 13px 47px;
  border: 1px solid var(--portal-border-strong);
  border-radius: var(--portal-control-radius);
  color: var(--portal-text);
  background: var(--portal-surface);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.portal-stage2__field input::placeholder {
  color: #657187;
  opacity: 1;
}

.portal-stage2__input-shell {
  position: relative;
  display: block;
  min-width: 0;
}

.portal-stage2__input-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #657187;
  pointer-events: none;
  transform: translateY(-50%);
}

.portal-stage2__input-shell:focus-within .portal-stage2__input-icon {
  color: var(--portal-primary);
}

.portal-stage2__field input:focus {
  border-color: var(--portal-primary);
  box-shadow: 0 0 0 4px var(--portal-focus);
}

.portal-stage2__field input:disabled {
  color: #7d899b;
  background: #f1f4f8;
  cursor: not-allowed;
}

.portal-stage2__field small,
.portal-stage2__duration > p,
.portal-stage2__form-note {
  color: var(--portal-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.portal-stage2__field small {
  display: block;
}

.portal-stage2__channel-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -8px 0 21px;
  padding: 12px 14px;
  border: 1px solid #cce7d8;
  border-radius: var(--portal-control-radius);
  color: var(--portal-success);
  background: var(--portal-success-soft);
  font-size: 13px;
}

.portal-stage2__channel-status-icon {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2a8b5c;
}

.portal-stage2__check-icon {
  width: 15px;
  height: 15px;
}

.portal-stage2__channel-status > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.portal-stage2__channel-status strong {
  font-size: 13px;
  font-weight: 700;
}

.portal-stage2__channel-status small {
  min-width: 0;
  color: #4d6f5d;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.portal-stage2__duration {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.portal-stage2__duration > p {
  margin: 5px 0 12px;
}

.portal-stage2__duration-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  gap: 8px;
}

.portal-stage2__duration-grid label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.portal-stage2__duration-grid label > span {
  position: relative;
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 9px 29px 9px 8px;
  border: 1px solid var(--portal-border-strong);
  border-radius: var(--portal-control-radius);
  color: #526078;
  background: var(--portal-surface);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.portal-stage2__duration-check {
  position: absolute;
  top: 50%;
  right: 7px;
  display: none;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--portal-primary);
  transform: translateY(-50%);
}

.portal-stage2__duration-check-icon {
  width: 13px;
  height: 13px;
}

.portal-stage2__duration-grid input:checked + span .portal-stage2__duration-check {
  display: grid;
}

.portal-stage2__duration-grid input:checked + span {
  border-color: var(--portal-primary);
  color: #0758d5;
  background: var(--portal-primary-soft);
  box-shadow: inset 0 0 0 1px rgba(18, 104, 244, .08);
}

.portal-stage2__duration-grid input:focus-visible + span {
  outline: 3px solid var(--portal-focus);
  outline-offset: 3px;
}

.portal-stage2__duration-grid input:disabled + span {
  color: #8c97a8;
  background: #f1f4f8;
  cursor: not-allowed;
}

.portal-stage2__submit {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #1873f7 0%, #0d5fdc 100%);
  box-shadow: 0 11px 24px rgba(18, 104, 244, .2);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.portal-stage2__submit:active:not(:disabled) {
  transform: translateY(1px);
}

.portal-stage2__submit:disabled {
  color: #fff;
  background: #8baee6;
  box-shadow: none;
  cursor: wait;
}

.portal-stage2__submit-busy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.portal-stage2__submit-idle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.portal-stage2__submit-icon {
  width: 21px;
  height: 21px;
}

.portal-stage2__spinner {
  width: 21px;
  height: 21px;
  animation: portal-stage2-spin .8s linear infinite;
}

@keyframes portal-stage2-spin {
  to {
    transform: rotate(360deg);
  }
}

.portal-stage2__form-note {
  margin: 11px 0 0;
  text-align: center;
}

.portal-stage2__result {
  position: sticky;
  top: 104px;
}

.portal-stage2__empty-result {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: -3px 0 17px;
  padding: 15px 12px 17px;
  border-radius: 14px;
  background: var(--portal-surface-soft);
  text-align: center;
}

.portal-stage2__empty-illustration {
  width: 88px;
  height: 88px;
}

.portal-stage2__package-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.portal-stage2__empty-result p {
  max-width: 230px;
  margin: 0;
  color: #53617a;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}

.portal-stage2__summary {
  display: grid;
  min-width: 0;
  margin: 0;
}

.portal-stage2__summary > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  align-items: end;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf4;
}

.portal-stage2__summary dt {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  color: var(--portal-text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.portal-stage2__summary dt span {
  min-width: 0;
}

.portal-stage2__summary dt::after {
  min-width: 12px;
  flex: 1 1 auto;
  border-top: 1px dashed #d9e0ea;
  content: "";
  transform: translateY(-3px);
}

.portal-stage2__summary dd {
  min-width: 0;
  margin: 0;
  color: #25334d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.portal-stage2__summary-break {
  max-width: 135px;
}

.portal-stage2__summary-total {
  margin: 7px -10px 0;
  padding: 13px 10px !important;
  border-bottom: 0 !important;
  border-radius: 11px;
  background: var(--portal-primary-soft);
}

.portal-stage2__summary-total dt,
.portal-stage2__summary-total dd {
  color: #0758d5;
  font-size: 14px;
  font-weight: 750;
}

.portal-stage2__summary-total dt::after {
  border-color: #bad0f7;
}

.portal-stage2__summary--empty dd {
  color: #9aa5b6;
}

.portal-stage2__result-details {
  margin-top: 19px;
  padding: 15px;
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  background: var(--portal-surface-soft);
}

.portal-stage2__result-details h3 {
  margin: 0 0 8px;
  color: #33415b;
  font-size: 13px;
  font-weight: 700;
}

.portal-stage2__result-details dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.portal-stage2__result-details dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(85px, auto);
  gap: 10px;
}

.portal-stage2__result-details dt,
.portal-stage2__result-details dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.portal-stage2__result-details dt {
  color: var(--portal-text-secondary);
}

.portal-stage2__result-details dd {
  color: #33415b;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.portal-stage2__result-note {
  margin: 17px 0 0;
  color: var(--portal-text-secondary);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

@media (hover: hover) {
  .portal-stage2__profile-trigger:hover,
  .portal-stage2__drawer-trigger:hover,
  .portal-stage2__drawer-close:hover {
    background: var(--portal-primary-soft);
  }

  .portal-stage2__profile-menu a:hover,
  .portal-stage2__profile-menu button:hover,
  .portal-stage2__nav-item:hover {
    color: #0758d5;
    background: var(--portal-primary-soft);
  }

  .portal-stage2__nav-item--primary:hover {
    color: #fff;
    background: var(--portal-primary-hover);
  }

  .portal-stage2__duration-grid label:hover > span {
    border-color: #9ebcf0;
    color: #0758d5;
  }

  .portal-stage2__submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #1268ed 0%, #0957cb 100%);
    box-shadow: 0 13px 28px rgba(18, 104, 244, .24);
    transform: translateY(-1px);
  }
}

@media (max-width: 1240px) {
  .portal-stage2__main {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (max-width: 1099px) {
  .portal-stage2__topbar-inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .portal-stage2__drawer-trigger,
  .portal-stage2__drawer-close {
    display: grid;
  }

  .portal-stage2__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-stage2__sidebar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(324px, calc(100vw - 44px));
    height: 100vh;
    height: 100dvh;
    padding: 0 18px 24px;
    border-right: 1px solid var(--portal-border);
    box-shadow: 24px 0 60px rgba(13, 24, 51, .14);
    visibility: hidden;
    transform: translateX(-104%);
    transition: transform .22s ease, visibility 0s linear .22s;
  }

  .portal-stage2.is-drawer-open {
    overflow: hidden;
  }

  .portal-stage2.is-drawer-open .portal-stage2__sidebar {
    visibility: visible;
    transform: translateX(0);
    transition: transform .22s ease;
  }

  .portal-stage2__drawer-heading {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 -2px 18px;
    border-bottom: 1px solid var(--portal-border);
    background: var(--portal-surface);
  }

  .portal-stage2__drawer-brand img {
    width: 20px;
    height: 23px;
    object-fit: contain;
  }

  .portal-stage2__drawer-overlay {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(13, 24, 51, .36);
    opacity: 0;
    visibility: hidden;
    cursor: default;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }

  .portal-stage2.is-drawer-open .portal-stage2__drawer-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity .2s ease;
  }

  .portal-stage2__main {
    padding: 40px 32px 58px;
  }
}

@media (max-width: 820px) {
  .portal-stage2__order-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-stage2__result {
    position: static;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .portal-stage2__topbar {
    height: 68px;
  }

  .portal-stage2__topbar-inner {
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .portal-stage2__brand {
    gap: 7px;
  }

  .portal-stage2__brand-word {
    font-size: 19px;
  }

  .portal-stage2__brand-mark {
    width: 19px;
    height: 22px;
  }

  .portal-stage2__topbar-tools {
    gap: 7px;
  }

  .portal-stage2__balance {
    min-width: 0;
    min-height: 46px;
    gap: 6px;
    padding: 5px 8px;
  }

  .portal-stage2__balance-label {
    font-size: 13px;
  }

  .portal-stage2__balance-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .portal-stage2__balance strong {
    max-width: 92px;
    font-size: 14px;
  }

  .portal-stage2__profile-trigger {
    min-height: 42px;
    padding: 0;
  }

  .portal-stage2__avatar {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .portal-stage2__profile-email,
  .portal-stage2__profile-chevron {
    display: none;
  }

  .portal-stage2__profile-menu {
    position: fixed;
    top: 74px;
    right: 16px;
    width: min(250px, calc(100vw - 32px));
  }

  .portal-stage2__layout {
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
  }

  .portal-stage2__main {
    padding: 30px 16px 44px;
  }

  .portal-stage2__page-heading {
    margin-bottom: 24px;
  }

  .portal-stage2__eyebrow {
    margin-bottom: 7px;
  }

  .portal-stage2__page-heading h1 {
    max-width: 560px;
    font-size: clamp(30px, 8.1vw, 32px);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: pretty;
  }

  .portal-stage2__lead {
    margin-top: 13px;
    font-size: 14px;
  }

  .portal-stage2__lead span {
    display: inline;
  }

  .portal-stage2__lead span + span::before {
    content: " ";
  }

  .portal-stage2__order-grid {
    gap: 18px;
  }

  .portal-stage2__card {
    padding: 20px;
  }

  .portal-stage2__card-heading {
    margin-bottom: 22px;
  }

  .portal-stage2__card-heading h2 {
    font-size: 19px;
  }

  .portal-stage2__step {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .portal-stage2__field {
    margin-bottom: 20px;
  }

  .portal-stage2__field input {
    min-height: 54px;
    font-size: 16px;
  }

  .portal-stage2__duration-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .portal-stage2__duration-grid label:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .portal-stage2__duration-grid label:nth-child(n + 4) {
    grid-column: span 3;
  }

  .portal-stage2__duration-grid label > span {
    min-height: 50px;
  }

  .portal-stage2__submit {
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .portal-stage2__field input::placeholder {
    font-size: 15px;
  }

  .portal-stage2__summary > div {
    gap: 7px;
  }

  .portal-stage2__summary dt {
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .portal-stage2__topbar-inner {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .portal-stage2__brand-word {
    font-size: 17px;
  }

  .portal-stage2__brand-mark {
    display: none;
  }

  .portal-stage2__balance-label {
    display: none;
  }

  .portal-stage2__balance strong {
    max-width: 76px;
    font-size: 13px;
  }

  .portal-stage2__avatar {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .portal-stage2__drawer-trigger {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .portal-stage2__main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .portal-stage2__duration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-stage2__duration-grid label:nth-child(n) {
    grid-column: auto;
  }

  .portal-stage2__duration-grid label:last-child {
    grid-column: 1 / -1;
  }

  .portal-stage2__summary > div {
    grid-template-columns: minmax(0, 1fr) minmax(32px, auto);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-stage2 *,
  .portal-stage2 *::before,
  .portal-stage2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
