/* Registration wizard modal (BS-LK-interface RegistrationV2) */

.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  place-items: center;
  padding: var(--space-4, 16px);
}

.registration-modal[hidden] {
  display: none !important;
}

.registration-modal.is-open {
  display: grid !important;
}

.registration-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(1 15 31 / 0.72);
  backdrop-filter: blur(8px);
}

.registration-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.28);
  display: flex;
  flex-direction: column;
}

.registration-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.registration-modal-close:hover,
.registration-modal-close:focus-visible {
  background: rgb(255 255 255 / 0.12);
}

.registration-modal-close .material-symbols-outlined {
  font-size: 22px;
}

.registration-dialog-header {
  background: #002045;
  color: #fff;
  padding: 22px 28px 22px;
}

.wizard-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #bfd0e5;
  padding-right: 40px;
}

.wizard-progress {
  display: none;
  height: 4px;
  background: #ffffff22;
  margin-top: 18px;
}

.wizard-progress i {
  display: block;
  height: 100%;
  background: #fff;
  transition: 0.2s;
}

.wizard-body {
  padding: 28px;
  display: grid;
  gap: 20px;
}

.wizard-body[hidden] {
  display: none !important;
}

.wizard-body > h2 {
  font-size: 25px;
  margin: 0;
  color: #002045;
}

.wizard-body > p {
  margin: -10px 0 0;
  color: #687280;
}

.wizard-body > label,
.registration-dialog .form-two label,
.registration-dialog .form-three label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #1a2430;
}

.registration-dialog .form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.registration-dialog .form-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.registration-dialog .success-note,
.registration-dialog .found-company {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #edf7f0;
  color: #276b3e;
  font-size: 13px;
}

.registration-dialog .reg-feedback {
  margin: 0 28px 12px;
  padding: 12px 13px;
  border: 1px solid rgb(186 26 26 / 0.25);
  border-radius: 6px;
  background: rgb(186 26 26 / 0.06);
  color: #9b1c1c;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-line;
}

.registration-dialog .reg-feedback.is-success {
  border-color: rgb(22 163 74 / 0.25);
  background: rgb(22 163 74 / 0.08);
  color: #166534;
}

.registration-dialog .reg-feedback[hidden] {
  display: none;
}

.registration-dialog .field-hint {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.registration-dialog .found-company {
  align-items: flex-start;
}

.registration-dialog .found-company[hidden] {
  display: none !important;
}

.registration-dialog .found-company div {
  display: flex;
  flex-direction: column;
}

.registration-dialog .found-company small {
  margin-top: 4px;
  color: #66776c;
}

.wizard-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--color-border, #dde2ea);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.wizard-footer.is-success-actions {
  justify-content: center;
}

.wizard-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wizard-footer .btn .material-symbols-outlined {
  font-size: 18px;
}

.wizard-footer .btn[hidden] {
  display: none !important;
}

/* Step 1 registration: single coherent design, scoped to goal grid. */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(88px, auto)) minmax(64px, auto);
  gap: 10px;
  align-items: stretch;
}
.goal-grid > .goal-card {
  box-sizing: border-box;
  position: relative;
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  grid-template-rows: 30px auto;
  align-content: start;
  align-items: start;
  column-gap: 10px;
  row-gap: 8px;
  padding: 13px 15px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.goal-grid > .goal-card:focus-visible {
  outline: 2px solid #3b82c4;
  outline-offset: 2px;
}
.goal-grid > .goal-card.active {
  border-color: #124d88;
  box-shadow: inset 0 0 0 1px #124d88;
  background: #f7faff;
}
.goal-grid > .goal-card > .material-symbols-outlined {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #e9eff7;
  color: #154b85;
  font-size: 18px;
}
.goal-grid > .goal-card > div {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.goal-grid > .goal-card b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: #102033;
}
.goal-grid > .goal-card small {
  display: block;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #737d8b;
}
.goal-grid > .goal-card > .goal-check {
  box-sizing: border-box;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 21px;
  height: 21px;
  border: 1px solid #bdc5cf;
  color: transparent;
}
.goal-grid > .goal-card.active > .goal-check {
  background: #124d88;
  border-color: #124d88;
  color: #fff;
}
.goal-grid .goal-check .material-symbols-outlined { font-size: 14px; }
.goal-grid > .goal-card--access { grid-column: 1; grid-row: 1; }
.goal-grid > .goal-card--pages { grid-column: 2; grid-row: 1; }
.goal-grid > .goal-card--ads { grid-column: 1; grid-row: 2; }
.goal-grid > .goal-card--advertising { grid-column: 2; grid-row: 2; }
.goal-grid > .goal-card--all {
  grid-column: 3;
  grid-row: 1 / 3;
  padding: 19px;
  align-content: center;
  row-gap: 12px;
  background: #eef4fa;
}
.goal-grid > .goal-card--all.active { background: #e9f2fd; }
.goal-grid > .goal-card--all > div { gap: 9px; }
.goal-grid > .goal-card--all b { font-size: 17px; color: #002045; }
.goal-grid > .goal-card--all small { font-size: 12px; line-height: 1.5; }
.goal-grid > .goal-card--all > .material-symbols-outlined {
  width: 38px;
  height: 38px;
  font-size: 23px;
  background: #dbe8f6;
}
.goal-grid > .goal-card--ai520 {
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  grid-template-rows: auto;
  align-content: center;
  align-items: center;
  min-height: 76px;
  padding: 12px 16px;
  background: #07315b;
  border-color: #07315b;
  column-gap: 12px;
}
.goal-grid > .goal-card--ai520.active {
  background: #07315b;
  border-color: #80beff;
  box-shadow: inset 0 0 0 1px #80beff;
}
.goal-grid > .goal-card--ai520 > .material-symbols-outlined {
  grid-column: 1;
  grid-row: 1;
  width: 42px;
  height: 42px;
  background: #174977;
  color: #fff;
  font-size: 24px;
}
.goal-grid > .goal-card--ai520 > div { grid-column: 2; grid-row: 1; }
.goal-grid > .goal-card--ai520 b { font-size: 15px; color: #fff; }
.goal-grid > .goal-card--ai520 small { font-size: 11px; color: #d4e4f3; }
.goal-grid > .goal-card--ai520 > .goal-check {
  grid-column: 3;
  grid-row: 1;
  border-color: #a9c4dc;
}
.goal-grid > .goal-card--ai520.active > .goal-check {
  background: #fff;
  border-color: #fff;
  color: #07315b;
}
.goal-grid .goal-tariffs-link {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  color: #124d88;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 900px) {
  .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .goal-grid > .goal-card--access,
  .goal-grid > .goal-card--pages,
  .goal-grid > .goal-card--ads,
  .goal-grid > .goal-card--advertising,
  .goal-grid > .goal-card--all,
  .goal-grid > .goal-card--ai520 { grid-row: auto; grid-column: auto; }
  .goal-grid > .goal-card--all,
  .goal-grid > .goal-card--ai520 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .goal-grid { grid-template-columns: minmax(0, 1fr); }
  .goal-grid > .goal-card--all,
  .goal-grid > .goal-card--ai520 { grid-column: 1; }
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tariff-grid > button {
  position: relative;
  text-align: left;
  border: 1px solid var(--color-border, #dde2ea);
  background: #fff;
  padding: 20px 15px 16px;
  min-height: 244px;
  cursor: pointer;
  border-radius: var(--radius-sm, 4px);
}

.tariff-grid > button.selected {
  border-color: #124d88;
  box-shadow: inset 0 0 0 1px #124d88;
}

.tariff-grid > button.featured {
  background: #f7faff;
}

.tariff-grid em {
  position: absolute;
  left: 0;
  top: 0;
  background: #124d88;
  color: #fff;
  padding: 4px 8px;
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.tariff-grid .radio {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 1px solid #aeb7c2;
  border-radius: 50%;
  padding: 3px;
  box-sizing: border-box;
}

.tariff-grid .radio i {
  display: block;
  width: 100%;
  height: 100%;
  background: #124d88;
  border-radius: 50%;
}

.tariff-grid h3 {
  font-size: 15px;
  margin: 13px 24px 12px 0;
  color: #102033;
}

.tariff-grid strong {
  display: block;
  font-size: 17px;
  color: #002045;
}

.tariff-grid small {
  display: block;
  color: #687381;
  margin-top: 6px;
  line-height: 1.4;
}

.tariff-grid ul {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.tariff-grid li {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #2a3542;
}

.tariff-grid li .material-symbols-outlined {
  font-size: 14px;
  color: #267345;
}

.month-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.month-title {
  font-size: 15px;
  margin: 0;
  color: #102033;
}

.month-add-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #0d47a4;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.month-add-link:hover {
  color: #1565c0;
}

.month-add-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border, #dde2ea);
  background: #f7f9fc;
  border-radius: var(--radius-sm, 4px);
}

.month-add-panel[hidden] {
  display: none !important;
}

.month-add-panel label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a2430;
  min-width: 140px;
}

.month-add-panel label:has([data-reg-month-add-year]) {
  min-width: 100px;
}

.month-add-panel .btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.month-picker {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}

.month-picker button {
  position: relative;
  border: 1px solid var(--color-border, #dde2ea);
  background: #fff;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm, 4px);
}

.month-picker button.active {
  background: #e7eef8;
  border-color: #6588ad;
  color: #123f6d;
}

.month-picker button small {
  font-size: 10px;
  color: #77818d;
  margin-top: 3px;
}

.month-picker .month-check {
  position: absolute;
  right: 3px;
  top: 3px;
  font-size: 12px;
  opacity: 0;
}

.month-picker button.active .month-check {
  opacity: 1;
}

.order-total {
  background: #002045;
  color: #fff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--radius-sm, 4px);
}

.order-total b {
  font-size: 22px;
}

.registration-dialog .access-rule {
  margin-top: 0;
  padding: 13px 15px;
  background: #eef5fb;
  border: 1px solid #c6d8e8;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #30465c;
  font-size: 13px;
  line-height: 1.45;
}

.registration-dialog .access-rule[hidden] {
  display: none !important;
}

.registration-dialog .access-rule .material-symbols-outlined {
  font-size: 18px;
  flex-shrink: 0;
  color: #155c99;
}

.document-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.document-choice button {
  border: 1px solid var(--color-border, #dde2ea);
  background: #fff;
  padding: 19px;
  text-align: left;
  display: flex;
  gap: 13px;
  cursor: pointer;
  border-radius: var(--radius-sm, 4px);
}

.document-choice button.active {
  border-color: #124d88;
  background: #f7faff;
  box-shadow: inset 0 0 0 1px #124d88;
}

.document-choice .material-symbols-outlined {
  color: #124d88;
  font-size: 24px;
}

.document-choice div {
  display: flex;
  flex-direction: column;
}

.document-choice small {
  color: #6f7986;
  margin-top: 5px;
  line-height: 1.45;
}

.summary-box {
  background: #f3f5f8;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  border-radius: var(--radius-sm, 4px);
}

.summary-box b {
  font-size: 19px;
  color: #002045;
}

.summary-box small {
  grid-column: 1 / -1;
  color: #6f7986;
}

body.registration-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .goal-grid,
  .tariff-grid,
  .registration-dialog .form-three,
  .document-choice {
    grid-template-columns: 1fr;
  }

  .registration-dialog .form-two {
    grid-template-columns: 1fr;
  }

  .month-picker {
    grid-template-columns: repeat(4, 1fr);
  }

  .order-total {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* Compact spacing for registration step 1 only */
.wizard-body[data-reg-screen="goal"]{padding:20px 28px;gap:12px}
.wizard-body[data-reg-screen="goal"]>h2{font-size:21px}
.wizard-body[data-reg-screen="goal"]>p{font-size:13px;margin:0}

/* Compact spacing for registration step 1 only */
.wizard-body[data-reg-screen="goal"]{padding:20px 28px;gap:12px}
.wizard-body[data-reg-screen="goal"]>h2{font-size:21px}
.wizard-body[data-reg-screen="goal"]>p{font-size:13px;margin:0}

/* Compact registration window: goal screen only */
.registration-dialog:has([data-reg-screen="goal"]:not([hidden])){width:min(940px,96vw)}


/* SHR_STEP2_20261009 */
/* Compact and expressive registration step 2; other steps untouched. */
.registration-dialog:has(.wizard-body--step2:not([hidden])) {
  width: min(1040px, 96vw);
  overflow: hidden;
}
.registration-dialog:has(.wizard-body--step2:not([hidden])) .wizard-screens {
  overflow-y: auto;
  min-height: 0;
}
.registration-dialog:has(.wizard-body--step2:not([hidden])) .registration-dialog-header,
.registration-dialog:has(.wizard-body--step2:not([hidden])) .wizard-footer {
  flex-shrink: 0;
}
.wizard-body--step2 { padding: 20px 24px; gap: 12px; }
.wizard-body--step2 > h2 { font-size: 23px; }
.wizard-body--step2 > p { font-size: 12px; margin: -6px 0 2px; }
.tariff-grid--step2 { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.tariff-grid--step2 > button {
  padding: 36px 12px 14px; min-height: 214px; border-radius: 7px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.tariff-grid--step2 > button.featured { background: #f6faff; }
.tariff-grid--step2 > button.selected { background:#eff6ff; border-color:#0e5da8; box-shadow:inset 0 0 0 1px #0e5da8; }
.tariff-grid--step2 em { border-radius: 6px 0 4px 0; font-weight:700; }
.tariff-grid--step2 .radio { top: 11px; right: 11px; }
.step2-tariff-icon { display:grid;place-items:center;background:#eaf2fb;border-radius:6px;width:34px;height:34px;color:#095494; }
.step2-tariff-icon .material-symbols-outlined {font-size:22px;}
.tariff-grid--step2 h3 { min-height:38px; font-size:14px; margin:8px 0 3px; line-height:1.3; }
.tariff-grid--step2 strong { font-size:19px; font-weight:800; line-height:1.35; white-space:normal; }
.tariff-grid--step2 .step2-price-period {font-size:11px;font-weight:500;color:#667281;white-space:nowrap}
.tariff-grid--step2 small { font-size:11px; margin-top:5px; }
.tariff-grid--step2 ul { margin-top:12px; gap:5px; }
.tariff-grid--step2 li {align-items:flex-start; font-size:11px; line-height:1.35;}
.tariff-grid--step2 li .material-symbols-outlined {font-size:14px; flex:0 0 14px;}
.wizard-body--step2 .month-title {font-size:15px;}
.wizard-body--step2 .month-add-link {font-size:12px;display:inline-flex;align-items:center;gap:5px;}
.wizard-body--step2 .month-add-link .material-symbols-outlined {font-size:17px;}
.wizard-body--step2 .month-picker {grid-template-columns:repeat(12,minmax(0,1fr));}
.wizard-body--step2 .month-picker button {min-height:48px;}
.wizard-body--step2 .order-total {padding:12px 15px;border-radius:6px;}
.wizard-body--step2 .access-rule {padding:9px 11px;font-size:11px;border-radius:5px;}
.step2-ai520 {background:#082b52;color:#fff;border-radius:7px;padding:13px 15px 15px;}
.step2-ai520-heading {display:flex;align-items:center;gap:10px;margin-bottom:11px;}
.step2-ai520-heading>.material-symbols-outlined {font-size:25px;}
.step2-ai520-heading h3 {font-size:16px;color:#fff;margin:0;line-height:1.3;}
.step2-ai520-heading p {font-size:11px;color:#c0d7eb;margin:3px 0 0;}
.step2-ai520-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.step2-ai520-card {position:relative;border:1px solid #b9d4ed;background:#fff;color:#13253a;border-radius:6px;padding:12px;display:flex;flex-direction:column;gap:5px;min-width:0;cursor:pointer;}
.step2-ai520-card--chat {cursor:default;}
.step2-ai520-card .material-symbols-outlined {color:#0c609b;font-size:19px;}
.step2-ai520-card b {font-size:12px;}
.step2-ai520-card strong {font-size:14px;line-height:1.2;color:#085281;}
.step2-ai520-card--chat strong {color:#277b51;}
.step2-ai520-card small {font-size:10px;line-height:1.4;color:#69798a;}
.step2-ai520-choice {display:flex;align-items:center;gap:8px;min-height:20px;}
.step2-ai520-choice input {margin:0;accent-color:#0d5797;}
.step2-ai520-card:has(input[data-reg-ai-choice]:checked) {border-color:#0c63af;box-shadow:inset 0 0 0 1px #0c63af;background:#f4f9ff;}
.step2-ai520-seats {display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:auto;font-size:10px;color:#4d6379;}
.step2-ai520-seats input {width:58px;border:1px solid #bfd0e0;border-radius:4px;height:27px;padding:2px 6px;}
.step2-ai520-seats input:disabled {opacity:.5;background:#eef1f5;}
@media(max-width:900px) {
 .tariff-grid--step2 {grid-template-columns:repeat(2,minmax(0,1fr));}
 .wizard-body--step2 .month-picker {grid-template-columns:repeat(6,minmax(0,1fr));}
 .step2-ai520-grid {grid-template-columns:1fr;}
 .tariff-grid--step2 > button {min-height:195px;}
}
@media(max-width:540px) {
 .wizard-body--step2 {padding:16px;}
 .tariff-grid--step2 {grid-template-columns:1fr;}
 .wizard-body--step2 .month-picker {grid-template-columns:repeat(4,minmax(0,1fr));}
 .tariff-grid--step2 > button {min-height:unset;}
}


/* SHR_STEP2_SCROLL_20261010 */
/* Step 2 only: keep the richer tariff design, shorten cards, make months navigable. */
.wizard-body--step2 { gap: 9px; padding: 17px 23px 13px; }
.step2-heading-row { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.step2-heading-row h2 { font-size:22px; margin:0; color:#002045; }
.step2-jump-ai { display:inline-flex; align-items:center; gap:3px; flex:0 0 auto;
  padding:5px 0; border:0; background:transparent; color:#0c579a;
  font-size:12px; font-weight:700; text-decoration:underline; cursor:pointer; }
.step2-jump-ai .material-symbols-outlined {font-size:16px}
.wizard-body--step2 > p {margin:0 0 1px;}
.tariff-grid--step2 > button {min-height:0; padding:30px 11px 10px;}
.tariff-grid--step2 h3 {font-size:13px; min-height:30px; line-height:1.25; margin:5px 0 3px;}
.tariff-grid--step2 strong {font-size:18px;}
.tariff-grid--step2 small {font-size:10px; margin-top:4px; line-height:1.3;}
.tariff-grid--step2 ul {margin-top:7px; gap:2px;}
.tariff-grid--step2 li {font-size:10px; line-height:1.25;}
.step2-tariff-icon {width:30px;height:30px;}
.step2-tariff-icon .material-symbols-outlined {font-size:21px;}
.wizard-body--step2 .order-total {padding:9px 13px;}
.wizard-body--step2 .order-total b {font-size:19px;}
.wizard-body--step2 .access-rule {padding:7px 10px;}
.wizard-body--step2 .step2-ai520 {padding:10px 12px 12px;}
.wizard-body--step2 .step2-ai520-heading {margin-bottom:7px;}
.wizard-body--step2 .step2-ai520-card {padding:9px;}
.wizard-body--step2 .step2-ai520-grid {gap:8px;}
.step2-month-help {display:inline-flex;align-items:center;gap:4px;color:#536b83;font-size:11px;}
.step2-month-help .material-symbols-outlined {font-size:17px;}
.step2-months-nav {display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:5px;align-items:stretch;min-width:0;}
.step2-month-arrow {display:grid;place-items:center;background:#e8f1fa;color:#0a508e;
 border:1px solid #b8cce1;border-radius:5px;cursor:pointer;min-width:0;}
.step2-month-arrow:hover,.step2-month-arrow:focus-visible {background:#d1e4f5;border-color:#0a508e;}
.step2-month-arrow .material-symbols-outlined {font-size:24px;}
.step2-month-window {position:relative;min-width:0;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x proximity;scrollbar-width:none;}
.step2-month-window::-webkit-scrollbar {display:none;}
.wizard-body--step2 .month-picker {display:flex;gap:6px;width:max-content;min-width:100%;grid-template-columns:none;}
.wizard-body--step2 .month-picker button {flex:0 0 83px;min-width:83px;min-height:46px;scroll-snap-align:start;background:#f9fbfe;border-color:#b8cce1;}
.wizard-body--step2 .month-picker button:hover {background:#edf5fd;border-color:#0a508e;}
.wizard-body--step2 .month-picker button.active {background:#d9eafd;border-color:#0e5ba2;}
.wizard-body--step2 .month-check {right:2px;top:2px;}
@media(max-width:900px) {
 .wizard-body--step2 .month-picker {grid-template-columns:none;}
 .tariff-grid--step2 > button {min-height:0;}
}
@media(max-width:540px) {
 .step2-heading-row {align-items:flex-start;}
 .step2-heading-row h2 {font-size:19px;}
 .step2-jump-ai {font-size:10px;}
 .step2-month-help {font-size:10px;}
 .wizard-body--step2 .month-picker {grid-template-columns:none;}
}


/* SHR_STEP2_REDUCE_WHITESPACE_20261010 */
/* Только шаг 2: меньше вертикальных пустот, без отказа от богатого оформления. */
.wizard-body--step2 {
  padding: 11px 22px 12px;
  gap: 7px;
}
.wizard-body--step2 > .step2-title {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 2px;
}
.tariff-grid--step2 > button {
  padding: 10px 10px 9px;
  min-height: 0;
}
.tariff-grid--step2 h3 {
  min-height: 0;
  margin: 5px 0 4px;
  font-size: 13px;
  line-height: 1.22;
}
.tariff-grid--step2 strong {
  font-size: 17px;
  line-height: 1.2;
}
.tariff-grid--step2 small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
}
.tariff-grid--step2 ul {
  margin-top: 7px;
  gap: 3px;
}
.tariff-grid--step2 li {
  font-size: 10px;
  line-height: 1.2;
}
.step2-tariff-icon {
  width: 28px;
  height: 28px;
}
.step2-tariff-icon .material-symbols-outlined { font-size: 20px; }
.tariff-grid--step2 .radio { top: 10px; right: 10px; }
.wizard-body--step2 .month-title-row { margin-top: 3px; }
.wizard-body--step2 .step2-ai520 { margin-top: 1px; }
/* Уменьшаем только нижнюю панель шагов 1/5 и 2/5, не затрагиваем 3–5. */
.registration-dialog:has([data-reg-screen="goal"]:not([hidden])) .wizard-footer,
.registration-dialog:has([data-reg-screen="tariff"]:not([hidden])) .wizard-footer {
  padding: 9px 22px;
}
.registration-dialog:has([data-reg-screen="goal"]:not([hidden])) .wizard-footer .btn,
.registration-dialog:has([data-reg-screen="tariff"]:not([hidden])) .wizard-footer .btn {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1.2;
}
@media (max-width: 540px) {
  .wizard-body--step2 { padding: 12px 14px; }
  .registration-dialog:has([data-reg-screen="goal"]:not([hidden])) .wizard-footer,
  .registration-dialog:has([data-reg-screen="tariff"]:not([hidden])) .wizard-footer {
    padding: 8px 14px;
  }
}


/* SHR_ACCOUNT_COMPACT_20261010 */
/* Одинаковая компактная форма учётной записи для маршрутов 2/3 и 3/5. */
.registration-dialog:has([data-reg-screen="account"]:not([hidden])) {
  width: min(940px, 96vw);
  overflow: hidden;
}
.registration-dialog:has([data-reg-screen="account"]:not([hidden])) .wizard-screens {
  overflow-y: auto;
  min-height: 0;
}
.registration-dialog:has([data-reg-screen="account"]:not([hidden])) .registration-dialog-header,
.registration-dialog:has([data-reg-screen="account"]:not([hidden])) .wizard-footer {
  flex-shrink: 0;
}
.wizard-body[data-reg-screen="account"] {
  padding: 18px 28px 16px;
  gap: 12px;
}
.wizard-body[data-reg-screen="account"] > h2 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
}
.wizard-body[data-reg-screen="account"] > p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}
.wizard-body[data-reg-screen="account"] .form-two {
  gap: 12px;
}
.wizard-body[data-reg-screen="account"] .form-two label {
  gap: 6px;
  font-size: 13px;
}
.wizard-body[data-reg-screen="account"] .form-two .field {
  min-height: 38px;
  padding: 9px 11px;
  font-size: 13px;
}
.wizard-body[data-reg-screen="account"] .field-hint {
  margin-top: 0;
  font-size: 11px;
}
.wizard-body[data-reg-screen="account"] .success-note {
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 4px;
}
.registration-dialog:has([data-reg-screen="account"]:not([hidden])) .wizard-footer {
  padding: 9px 22px;
}
.registration-dialog:has([data-reg-screen="account"]:not([hidden])) .wizard-footer .btn {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1.2;
}
@media (max-width: 540px) {
  .wizard-body[data-reg-screen="account"] { padding: 14px; gap: 10px; }
  .wizard-body[data-reg-screen="account"] .form-two { grid-template-columns: 1fr; }
  .registration-dialog:has([data-reg-screen="account"]:not([hidden])) .wizard-footer {
    padding: 8px 14px;
  }
}
