.gr-progress {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  gap:clamp(6px,1.3vw,18px);
  margin:0 0 clamp(20px,2.2vw,30px);
  padding:0;
  list-style:none;
}
.gr-progress li {
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#838689;
  font-size:11px;
  font-weight:400;
  line-height:1.2;
}
.gr-progress li::after { content:""; height:3px; border-radius:4px; background:#454748; }
.gr-progress li.is-active::after { background:#ac9064; }
.gr-progress li[aria-current="step"]::after { background:var(--form-gold); }
.gr-heading { margin:0 0 clamp(15px,1.8vw,23px); color:var(--form-text); }
.gr-form, .gr-grid { display:grid; min-width:0; gap:14px; }
.gr-grid { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(12px,1.6vw,24px); row-gap:12px; }
.gr-field {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-self:start;
  gap:2px;
  box-sizing:border-box;
  min-width:0;
  min-height:66px;
  margin:0;
  padding:9px 15px 8px;
  border:1px solid var(--form-edge);
  border-radius:var(--form-radius);
  background:var(--form-fill);
  color:var(--form-text);
  cursor:text;
  transition:background .15s, border-color .15s, box-shadow .15s;
}
.gr-field > span { color:#d7d5cf; font-size:13px; line-height:1.3; font-weight:500; }
.gr-field :is(input,textarea) {
  box-sizing:border-box;
  flex:1;
  width:100%;
  min-width:0;
  min-height:24px;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  color:var(--form-text);
  font-family:inherit;
  font-size:17px;
  font-weight:400;
  line-height:1.45;
  caret-color:var(--form-gold);
}
[data-registration-page] :is(input,textarea)::placeholder { color:#707478; opacity:1; font-weight:400; }
[data-registration-page] :is(input,textarea):focus::placeholder { opacity:0; }
.gr-field:focus-within { border-color:var(--form-gold); box-shadow:0 0 0 2px #e9b96935; background:#2d2c29; }
.gr-field:focus-within > span { color:#f2cf93; }
.gr-field :is(input,textarea):focus { outline:0; }
.gr-field:has(:user-invalid) { border-color:#eea997; }
.gr-field:has(textarea) { padding-block:12px; }
.gr-field textarea { resize:vertical; }
.gr-form > details > summary, .gr-back {
  width:fit-content;
  max-width:100%;
  min-height:44px;
  font:inherit;
  font-size:14px;
  font-weight:400;
  color:var(--form-text);
  text-decoration:none;
  cursor:pointer;
}
.gr-form > details > summary { display:flex; align-items:center; gap:10px; list-style:none; }
.gr-form > details > summary::-webkit-details-marker { display:none; }
.gr-form > details > summary::after {
  display:inline-grid;
  place-items:center;
  content:"+";
  width:18px;
  height:18px;
  border-radius:50%;
  background:#323535;
  color:#e7e3da;
  font:400 14px/1 Arial,sans-serif;
}
.gr-form > details[open] > summary::after { content:"−"; }
.gr-form > details[open] > .gr-field { margin:4px 0 8px; }
.gr-actions { display:flex; align-items:center; justify-content:flex-end; gap:14px; margin-top:1px; }
.gr-back, .gr-toggle { border:0; background:transparent; padding:8px 0; cursor:pointer; }
.gr-back { margin-right:auto; }
.gr-actions .gr-primary, [data-registration-flow] > .gr-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:48px;
  min-width:132px;
  padding:12px 24px;
  border:0;
  border-radius:999px;
  background:var(--form-gold);
  color:var(--form-ink);
  font-size:16px;
  line-height:1.35;
  font-weight:500;
  transition:background .15s, transform .15s;
}
.gr-actions .gr-primary:enabled:active, .gr-city:enabled:active { transform:translateY(1px); }
.gr-content .gr-primary:disabled { opacity:.58; cursor:default; }
.gr-cities { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(10px,1.6vw,24px); }
.gr-city {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:56px;
  padding:13px 17px;
  border:1px solid var(--form-edge);
  border-radius:var(--form-radius);
  background:var(--form-fill);
  color:var(--form-text);
  font-family:inherit;
  font-size:18px;
  font-weight:500;
  cursor:pointer;
}
.gr-city span { color:var(--form-gold); }
.gr-city:focus-visible, .gr-city[aria-pressed="true"] { outline:2px solid var(--form-gold); outline-offset:1px; }
.gr-city-hint { margin:12px 0 0; color:var(--form-muted); font-size:13px; font-weight:400; line-height:1.45; }
.gr-login { font:inherit; color:var(--form-gold); text-decoration:underline; text-underline-offset:3px; }
.gr-contract { width:100%; height:150px; box-sizing:border-box; overflow:hidden; background:#fff; border-radius:8px; }
.gr-contract[data-expanded="true"] { height:auto; }
.gr-paper { display:block; margin:0; width:100%; height:150px; border:0; background:#fff; }
.gr-contract[data-expanded="false"] .gr-paper { pointer-events:none; }
.gr-toggle { display:block; margin:0 auto 12px; padding:11px 8px; min-height:44px; color:var(--form-text); font:inherit; font-size:14px; font-weight:400; text-decoration:underline; text-underline-offset:3px; }
.gr-error { color:#ffbfaa; }
.gr-status { color:#bec1c3; }
@media (hover:hover) {
  .gr-field:hover:not(:focus-within), .gr-city:hover { border-color:#999890; }
  .gr-actions .gr-primary:enabled:hover { background:#f6cb81; }
  .gr-form > details > summary:hover, .gr-back:hover { color:var(--form-gold); }
}
@media (min-width:640px) {
  .gr-cities { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:768px) {
  .gr-form { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(16px,1.6vw,32px); align-items:start; }
  .gr-form:has(> .gr-grid) { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .gr-form > .gr-grid { grid-column:span 2; }
  .gr-form > details, .gr-form > .gr-actions { grid-column:1/-1; }
}
@media (max-width:767px) {
  .gr-form { row-gap:12px; }
  .gr-actions .gr-primary:only-child { width:100%; }
}
@media (max-width:640px) {
  .gr-grid { grid-template-columns:minmax(0,1fr); }
  .gr-actions .gr-primary { flex:1; }
}
@media (prefers-reduced-motion:reduce) {
  .gr-field, .gr-actions .gr-primary { transition:none; }
}
@media (forced-colors:active) {
  .gr-field:focus-within { outline:2px solid Highlight; }
  .gr-progress li::after { background:GrayText; forced-color-adjust:none; }
  .gr-progress li[aria-current="step"]::after { background:Highlight; }
}
