

/* Start:/local/templates/partner/assets/css/styles.css?178852667491531*/
@import url("/local/templates/partner/assets/css/fonts.css");

:root {
  --ui-text: #141414;
  --ui-text-secondary: #555551;
  --ui-text-muted: #777773;
  --ui-text-faint: #9a9a95;
  --ui-text-on-dark: #f5f5f2;
  --ui-text-on-dark-muted: #d0d0cc;
  --ui-line: #e2e2de;
  --ui-line-strong: #cecec8;
  --ui-line-dark: #b8b8b1;
  --ui-surface: #fff;
  --ui-bg: #f4f4f2;
  --ui-radius-card: 16px;
  --ui-radius-control: 10px;
  --ui-radius-small: 6px;
  --ui-ease: 180ms ease;
  --ui-focus: 0 0 0 3px rgba(20, 20, 20, 0.14);
  --ui-shadow-hover: 0 12px 30px rgba(20, 20, 20, 0.075);
  --ui-max: 1440px;
  --ui-font-numeric: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--ui-bg);
  color: var(--ui-text);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
  margin-bottom: 28px;
}

.form-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
  margin-bottom: 18px;
}

.field {
  margin-bottom: 24px;
}

.label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 9px;
  color: #52524f;
}

.input,
.textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ui-line-dark);
  background: transparent;
  padding: 13px 0 14px;
  outline: none;
  color: var(--ui-text);
  border-radius: 0;
  transition: border-color 0.2s;
}

.input::placeholder,
.textarea::placeholder {
  color: #aaa9a4;
}

.input:focus,
.textarea:focus {
  border-color: var(--ui-text);
}

.textarea {
  resize: vertical;
  min-height: 78px;
  line-height: 1.45;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field .input {
  padding-right: 90px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 13px;
  bottom: auto;
  padding: 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color var(--ui-ease),
    background-color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.forgot {
  padding: 0;
  border: 0;
  background: none;
  color: #6b6b67;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
}

.forgot:hover {
  color: #171717;
}

.submit {
  display: flex;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  padding: 16px 22px;
  border: 1px solid var(--ui-text);
  border-radius: var(--ui-radius-control);
  background: var(--ui-text);
  color: #fff;
  font-size: 14px;
  transition: 0.2s;
}

.submit:hover {
  background: #282826;
}

.submit:after {
  content: none !important;
  font-weight: 300;
  font-size: 19px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ui-text-muted);
}

.check input {
  margin: 2px 0 0;
  width: 15px;
  height: 15px;
  accent-color: var(--ui-text);
}

.check a {
  color: var(--ui-text);
  border-bottom: 1px solid var(--ui-line-dark);
}

.cabinet-shell {
  min-height: 100vh;
}

.cabinet-main {
  width: min(calc(100% - 64px), var(--ui-max));
  margin: 0 auto;
  padding: 74px 0 110px;
}

.section-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ui-text-muted);
}

.button {
  min-width: 205px;
  height: 54px;
  border: 1px solid var(--ui-text);
  padding: 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-radius: 2px;
}

.button--dark {
  background: var(--ui-text);
  color: #fff;
}

.cabinet-footer {
  display: flex;
  align-items: center;
  gap: 34px;
  width: min(calc(100% - 64px), var(--ui-max));
  min-height: 96px;
  margin: 0 auto;
  border-top: 1px solid var(--ui-line);
  color: var(--ui-text-muted);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
}

.cabinet-footer span {
  margin-right: auto;
}

@media (max-width: 820px) {
  .cabinet-main,
  .cabinet-footer {
    width: calc(100% - 36px);
  }

  .cabinet-main {
    padding-top: 48px;
  }

  .cabinet-intro--v2 {
    display: block;
  }

  .cabinet-footer {
    flex-wrap: wrap;
    padding: 26px 0;
  }

  .cabinet-footer span {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .cabinet-main {
    padding-bottom: 70px;
  }

  .button {
    width: 100%;
  }
}

.login-page {
  background: var(--ui-bg);
}

.simple-login {
  width: min(calc(100% - 64px), var(--ui-max));
  margin: 0 auto;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0 96px;
}

.simple-login__panel {
  width: 100%;
  max-width: 500px;
}

.simple-login__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.simple-login__lead {
  margin: 0 0 46px;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ui-text-muted);
}

.simple-login__form {
  width: 100%;
}

.simple-login__footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--ui-text-muted);
}

.inline-action {
  border: 0;
  background: transparent;
  padding: 0 0 3px;
  color: var(--ui-text);
  border-bottom: 1px solid var(--ui-line-dark);
  font-size: 13px;
}

.inline-action:hover {
  border-color: var(--ui-text);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(16, 16, 16, 0.48);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 520px);
  background: var(--ui-surface);
  padding: 48px;
  border-radius: var(--ui-radius-card);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.16);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
  color: var(--ui-text-muted);
}

.modal__close:hover {
  color: var(--ui-text);
}

.modal__title {
  margin: 0 0 15px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.modal__lead {
  margin: 0 0 34px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ui-text-muted);
  max-width: 420px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .simple-login {
    width: calc(100% - 28px);
    min-height: calc(100vh - 76px);
    padding: 52px 0 70px;
    align-items: flex-start;
  }

  .simple-login__title {
    font-size: 40px;
  }

  .simple-login__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .modal {
    padding: 14px;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .modal__dialog {
    padding: 38px 24px 28px;
    margin: 0 auto max(24px, env(safe-area-inset-bottom, 0px));
  }

  .modal__dialog--funds {
    width: 100%;
  }

  .modal__title {
    font-size: 34px;
  }
}

.login-page .shell {
  min-height: 100svh;
}

.login-page .simple-login {
  width: min(calc(100% - 72px), 1320px);
  min-height: calc(100svh - 88px);
  padding: 72px 0 92px;
}

.login-page .simple-login__panel {
  max-width: 440px;
}

.login-page .form-kicker {
  margin: 0 0 18px;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.login-page .simple-login__title,
.login-page .modal__title {
  font-family: "Raleway", sans-serif;
  color: var(--ui-text);
  font-weight: 500;
}

.login-page .simple-login__title {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.login-page .simple-login__lead {
  max-width: 420px;
  margin-bottom: 38px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ui-text-muted);
}

.login-page .field {
  margin-bottom: 24px;
}

.login-page .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 9px;
  color: #4f4f4b;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
}

.login-page .input,
.login-page .textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-control);
  background: var(--ui-surface);
  color: var(--ui-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  outline: 0;
  box-sizing: border-box;
  transition:
    border-color var(--ui-ease),
    box-shadow var(--ui-ease),
    background-color var(--ui-ease);
}

.login-page .textarea {
  min-height: 124px;
  padding: 14px;
  resize: vertical;
}

.login-page .input:hover,
.login-page .textarea:hover {
  border-color: #aaa9a4;
}

.login-page .input:focus,
.login-page .textarea:focus {
  border-color: var(--ui-text);
  background: var(--ui-surface);
  box-shadow: var(--ui-focus);
  outline: none;
}

.login-page .input::placeholder,
.login-page .textarea::placeholder {
  color: var(--ui-text-faint);
}

.login-page .password-field .input {
  padding-right: 90px;
}

.login-page .password-toggle {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  color: var(--ui-text-muted);
}

.login-page .forgot {
  font-size: 11px;
  color: var(--ui-text-muted);
}

.login-page .submit {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 0 20px;
  border: 1px solid var(--ui-text);
  border-radius: var(--ui-radius-control);
  background: var(--ui-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  transition:
    background-color var(--ui-ease),
    border-color var(--ui-ease),
    color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.login-page .submit:hover {
  background: #2a2a28;
  border-color: #2a2a28;
}

.login-page .submit:after {
  display: none;
}

.login-page .simple-login__footer {
  margin-top: 28px;
  padding-top: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ui-text-muted);
}

.login-page .inline-action {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
}

.login-page .modal__backdrop {
  background: rgba(16, 16, 16, 0.48);
  backdrop-filter: blur(4px);
}

.login-page .modal__dialog {
  width: min(100%, 520px);
  padding: 48px;
  border-radius: var(--ui-radius-card);
  background: var(--ui-surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.16);
}

.login-page .modal__title {
  margin: 0 0 15px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.login-page .modal__lead {
  margin: 0 0 34px;
  color: var(--ui-text-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.login-page .modal__close {
  top: 18px;
  right: 20px;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
  color: var(--ui-text-muted);
}

.login-page .check {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ui-text-muted);
}

@media (max-width: 620px) {
  .login-page .simple-login {
    width: calc(100% - 32px);
    min-height: calc(100svh - 74px);
    padding: 46px 0 64px;
  }

  .login-page .simple-login__panel {
    max-width: none;
  }

  .login-page .simple-login__title {
    font-size: 40px;
  }

  .login-page .simple-login__lead {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .login-page .modal__dialog {
    padding: 38px 24px 28px;
    border-radius: var(--ui-radius-card);
  }

  .login-page .modal__title {
    font-size: 34px;
  }
}

.login-page .brand img,
.cabinet-page .brand img {
  width: 121px;
  height: 22px;
  display: block;
}

.login-page .brand,
.cabinet-page .brand {
  gap: 0;
  letter-spacing: 0;
}

.cabinet-page--v2 {
  background: var(--ui-bg);
  color: var(--ui-text);
}

.cabinet-main--v2 {
  padding: 72px 0 96px;
}

.cabinet-intro--v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 82px;
}

.cabinet-intro--v2 .eyebrow,
.cabinet-page--v2 .section-label {
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ui-text-muted);
}

.cabinet-intro--v2 h1 {
  max-width: 680px;
  margin: 18px 0 0;
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.03;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.balance-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  background: var(--ui-surface);
  border-radius: var(--ui-radius-control);
  padding: 42px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 18px 45px rgba(0, 0, 0, 0.035);
}

.balance-card__main {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.balance-card__amount {
  margin: 30px 0 36px;
  font-weight: 500;
  font-size: clamp(68px, 7vw, 96px);
  line-height: 0.95;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.055em;
}

.balance-card__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
}

.cabinet-page--v2 .text-action {
  justify-content: flex-start !important;
  margin-top: auto;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #aaa9a3;
  background: transparent;
  color: var(--ui-text);
  font-weight: 500;
  font-size: 12px;
}

.summary-strip {
  display: grid;
  grid-template-columns: 180px 180px 1fr;
  gap: 14px;
  margin: 18px 0 82px;
}

.summary-strip article {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--ui-radius-control);
  padding: 22px 24px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
}

.summary-strip__label {
  font-size: 11px;
  color: var(--ui-text-muted);
}

.summary-strip strong {
  margin-top: auto;
  font-weight: 500;
  font-size: 34px;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.035em;
}

.summary-strip__wide strong {
  font-size: 38px;
}

.summary-strip small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ui-text-muted);
}

.dashboard-section {
  margin-top: 64px;
}

.dashboard-section + .dashboard-section {
  margin-top: 72px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

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

.section-heading h2 {
  font-family: "Raleway", sans-serif;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 10px 0 0;
  overflow-wrap: break-word;
}

.section-heading > a {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12px;
  color: #676763;
  padding-bottom: 4px;
}

.section-heading > a:hover {
  color: var(--ui-text);
}

.activity-list {
  background: var(--ui-surface);
  border-radius: var(--ui-radius-control);
  padding: 4px 24px;
}

.activity-row {
  display: grid;
  grid-template-columns: 120px 1fr 150px;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--ui-line);
}

.activity-row:last-child {
  border-bottom: 0;
}

.activity-row:hover {
  opacity: 0.72;
}

.activity-row time {
  font-size: 11px;
  color: var(--ui-text-muted);
}

.activity-row__content b,
.compact-row b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.activity-row__content small,
.compact-row small {
  display: block;
  font-size: 11px;
  color: var(--ui-text-muted);
  margin-top: 6px;
}

.activity-row__amount {
  font-size: 14px;
  letter-spacing: -0.01em !important;
  text-align: right;
}

.activity-row__amount--out {
  color: #555551;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 28px;
  margin-top: 72px;
}

.dashboard-section--compact {
  margin-top: 52px;
}

.compact-list {
  background: var(--ui-surface);
  border-radius: var(--ui-radius-control);
  padding: 4px 24px;
}

.compact-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ui-line);
}

.compact-row:last-child {
  border-bottom: 0;
}

.compact-row:hover {
  opacity: 0.72;
}

.quiet-status {
  font-size: 10px;
  color: #686864;
  white-space: nowrap;
}

.quiet-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #8b8b86;
  vertical-align: 1px;
}

.referral-cta--v2 {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  min-height: 0;
  margin-top: 82px;
  padding: 36px 40px;
  border-radius: var(--ui-radius-card);
  background: #090909;
  color: #fff;
  overflow: visible;
}

.referral-cta--v2 h2 {
  max-width: none;
  margin: 10px 0 14px;
  color: var(--ui-text-on-dark);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.08;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.04em;
}

.referral-cta--v2 p {
  max-width: 690px;
  margin: 0;
  color: var(--ui-text-on-dark-muted);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
}

.cabinet-footer--v2 {
  gap: 30px;
  border-top: 1px solid var(--ui-line);
  font-size: 11px;
  color: var(--ui-text-muted);
}

@media (max-width: 980px) {
  .cabinet-main--v2 {
    padding-top: 54px;
  }

  .balance-card {
    grid-template-columns: 1fr;
  }

  .balance-card__main {
    min-height: 240px;
  }

  .summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .summary-strip__wide {
    grid-column: 1/-1;
  }

  .dashboard-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dashboard-section--compact + .dashboard-section--compact {
    margin-top: 48px !important;
  }
}

@media (max-width: 680px) {
  .cabinet-page--v2 .cabinet-container {
    width: calc(100% - 32px);
  }

  .cabinet-main--v2 {
    padding: 40px 0 70px;
  }

  .cabinet-intro--v2 {
    margin-bottom: 60px;
  }

  .balance-card {
    padding: 24px;
  }

  .balance-card__amount {
    font-size: 62px;
    margin: 26px 0 30px;
  }

  .balance-card__actions {
    flex-direction: column;
  }

  .cabinet-page--v2 .button {
    width: 100%;
  }

  .summary-strip {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .summary-strip__wide {
    grid-column: auto;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .activity-list,
  .compact-list {
    padding: 4px 18px;
  }

  .activity-row {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 18px 0;
  }

  .activity-row time {
    grid-column: 1/-1;
  }

  .activity-row__amount {
    align-self: start;
  }

  .dashboard-columns {
    margin-top: 58px;
  }

  .compact-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    min-height: 0;
    padding: 18px 0;
    column-gap: 14px;
    row-gap: 6px;
  }

  .compact-row--object {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .referral-cta--v2 {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .referral-cta--v2 .button {
    width: 100%;
  }

  .cabinet-footer--v2 {
    gap: 16px;
  }
}
.site-container,
.cabinet-page--v2 .cabinet-container {
  width: min(calc(100% - 72px), 1320px);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 30;
  height: 84px;
  background: #f5f5f3;
  border-bottom: 1px solid #deded9;
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 42px;
}

.site-header__logo img {
  display: block;
  width: 121px;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.site-header__nav a,
.site-header__phone {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  color: #52524f;
  transition: opacity 0.2s ease;
}

.site-header__nav a:hover,
.site-header__phone:hover {
  opacity: 0.58;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__request {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
}

.site-header__request:hover {
  background: #2b2b2b;
}

.partner-header__nav a.is-active {
  color: #171717;
}

.partner-header__nav a.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #171717;
}

.section-heading > a span,
.button span {
  display: none !important;
}

.balance-card__amount,
.summary-strip strong,
.activity-row__amount {
  font-family: var(--ui-font-numeric) !important;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings:
    "tnum" 1,
    "lnum" 1;
  letter-spacing: -0.035em !important;
}

@media (max-width: 1050px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__actions {
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .site-container,
  .cabinet-page--v2 .cabinet-container {
    width: calc(100% - 32px);
  }

  .site-header__phone {
    display: none;
  }

  .site-header__request {
    min-height: 42px;
    padding: 0 15px;
  }

  .site-header__actions {
    gap: 10px;
  }
}

.cabinet-page--v2 .site-header {
  position: relative;
  top: auto;
}

.cabinet-local-nav a.is-active {
  color: #171717;
}

.cabinet-local-nav a.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #171717;
}

.devstar-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 0;
  background: transparent;
  padding: 0 0 5px;
  color: #555551;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease;
}

.devstar-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: none !important;
  width: 100%;
  height: 1px;
  background: #b9b9b3;
  transition: background 0.2s ease;
  transform-origin: left;
}

.devstar-link:hover {
  color: #151515;
}

.devstar-link:hover:after {
  background: #151515;
}

.activity-row,
.compact-row {
  cursor: default;
}

.activity-row:hover,
.compact-row:hover {
  opacity: 1;
}

.quiet-status--pending i {
  background: #d4a542;
}

.quiet-status--accepted i {
  background: #4d9a64;
}

.quiet-status--rejected i {
  background: #bd5b55;
}

.rejection-reason {
  color: #8b4e49 !important;
  max-width: 370px;
  line-height: 1.45 !important;
}

.compact-row--rejected {
  min-height: 102px;
}

.manager-card {
  margin: 8px 0 28px;
  padding: 22px 24px;
  background: #f1f1ed;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.manager-card span {
  font-size: 11px;
  color: #777773;
}

.manager-card strong {
  font-size: 16px;
  font-weight: 600;
}

.manager-card a {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
  font-family: var(--ui-font-numeric);
  font-size: 14px;
}

.modal__dialog--funds {
  width: min(100%, 590px);
}

.modal__call {
  width: 100%;
}

.cabinet-main--form {
  padding: 66px 0 100px;
}

.form-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 26px;
}

.form-page-heading h1 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 18px 0 20px;
}

.form-page-heading p {
  max-width: 720px;
  margin: 0;
  color: #6f6f6a;
  font-size: 14px;
  line-height: 1.65;
}

.recommendation-form {
  margin-top: 48px;
}

.form-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 72px;
  padding: 46px 0;
  border-top: 1px solid var(--ui-line);
}

.form-section__intro > span {
  display: block;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  font-family: var(--ui-font-numeric);
  color: #8a8a85;
  margin-bottom: 22px;
}

.form-section__intro h2 {
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 14px;
}

.form-section__intro p {
  font-size: 12px;
  line-height: 1.65;
  color: #777773;
  margin: 0;
  max-width: 240px;
}

.form-section__fields {
  min-width: 0;
}

.form-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cabinet-page--v2 .field {
  margin-bottom: 24px;
}

.cabinet-page--v2 .form-grid .field,
.cabinet-page--v2 .form-section__fields > .field:last-child {
  margin-bottom: 0;
}

.cabinet-page--v2 .textarea {
  min-height: 124px;
  padding: 14px;
  resize: vertical;
}

.field-note {
  margin: -10px 0 0;
  color: #858580;
  font-size: 11px;
}

.services-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-check {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-control);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition:
    border-color var(--ui-ease),
    background-color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.service-check:has(input:checked) {
  border-color: #777773;
  background: #fff;
}

.form-submit-panel {
  margin-top: 18px;
  padding: 34px 36px;
  background: #fff;
  border-radius: 10px;
}

.check--large {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4f4f4b;
  font-size: 13px;
  line-height: 1.55;
}

.form-submit-panel__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--ui-line);
}

.form-submit-panel__actions p {
  max-width: 640px;
  margin: 0;
  color: #777773;
  font-size: 11px;
  line-height: 1.6;
}

.form-submit-panel__actions .button {
  min-width: 210px;
}

.form-success {
  margin-top: 36px;
  padding: 46px;
  background: #fff;
  border-radius: 10px;
  text-align: left;
}

.form-success h2 {
  font-family: "Raleway", sans-serif;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 14px 0;
}

.form-success p {
  max-width: 620px;
  color: #70706b;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 28px;
}

@media (max-width: 900px) {
  .form-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-section__intro p {
    max-width: 520px;
  }

  .form-grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .form-page-heading {
    grid-template-columns: 1fr;
  }

  .form-page-heading > .devstar-link {
    justify-self: start;
  }

  .form-submit-panel__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-submit-panel__actions .button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .cabinet-main--form {
    padding-top: 40px;
  }

  .form-page-heading h1 {
    font-size: 44px;
  }

  .recommendation-form {
    margin-top: 30px;
  }

  .form-section {
    padding: 34px 0;
  }

  .form-grid--3,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-submit-panel {
    padding: 26px 22px;
  }

  .form-success {
    padding: 30px 24px;
  }

  .balance-card__actions {
    align-items: flex-start;
    gap: 18px;
  }
}

.cabinet-topbar {
  height: 84px;
  background: #fff;
  border-bottom: 1px solid #e3e3df;
  position: sticky;
  top: 0;
  z-index: 30;
}

.cabinet-topbar__inner {
  display: grid;
  grid-template-columns: 176px minmax(420px, 1fr) auto;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.cabinet-topbar__logo img {
  display: block;
  width: 118px;
  height: auto;
}

.cabinet-offcanvas {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0;
}

.cabinet-offcanvas__head,
.cabinet-offcanvas__backdrop,
.cabinet-offcanvas__close,
.cabinet-offcanvas__profile,
.cabinet-offcanvas__title {
  display: none;
}

.cabinet-offcanvas__panel {
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.cabinet-offcanvas__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 100%;
}

.cabinet-offcanvas__nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  color: #6b6b67;
}

.cabinet-offcanvas__nav a:hover,
.cabinet-offcanvas__nav a.is-active {
  color: #171717;
}

.cabinet-offcanvas__nav a.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #171717;
}

.cabinet-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.cabinet-topbar__site {
  color: #858580;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.2;
  transition: color 0.18s ease;
}

.cabinet-topbar__site:hover {
  color: #171717;
}

.cabinet-topbar__fix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.cabinet-topbar__fix:hover {
  background: #2b2b2b;
}

.conditions-success h3 {
  margin: 14px 0 10px;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  font-family: "Raleway", sans-serif;
}

.conditions-success p {
  margin: 0;
  color: #666661;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
}

.list-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.list-page-heading > div {
  min-width: 0;
}

.list-page-heading h1,
.rules-heading h1 {
  margin: 10px 0 16px;
  font-weight: 500;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  font-family: "Raleway", sans-serif;
}

.list-page-heading p,
.rules-heading p {
  max-width: 650px;
  margin: 0;
  color: #6a6a65;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
}

.recommendations-table {
  background: #fff;
  border-radius: 18px;
  padding: 8px 28px 12px;
}

.recommendations-table__head,
.recommendations-table__row {
  display: grid;
  grid-template-columns: 120px 1.5fr 1fr 140px;
  gap: 24px;
  align-items: start;
}

.recommendations-table__head {
  padding: 18px 0;
  color: #8a8a85;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recommendations-table__row {
  padding: 22px 0;
  border-top: 1px solid #e6e6e2;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
}

.recommendations-table__row time {
  color: #858580;
}

.recommendations-table__row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recommendations-table__row b {
  font-weight: 600;
}

.recommendations-table__row small {
  color: #777772;
  font-size: 12px;
}

.recommendations-table__row .quiet-status {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.rules-heading {
  max-width: none;
  margin-bottom: 0;
}

.rules-content {
  max-width: 900px;
}

.rules-content section {
  padding: 48px 0 42px;
  padding-top: 54px;
  padding-bottom: 48px;
  border-top: 1px solid var(--ui-line);
}

.rules-content h2 {
  margin: 0 0 20px;
  margin-bottom: 22px;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.18;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.025em;
}

.rules-content p {
  margin: 0 0 16px;
  color: #555551;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
}

.rules-table {
  display: block;
  width: 100%;
  margin: 24px 0 28px;
  border-collapse: collapse;
  border-top: 1px solid var(--ui-line-strong);
}

.rules-table thead,
.rules-table tbody {
  display: block;
}

.rules-table tr {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--ui-line);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
}

.rules-table th,
.rules-table td {
  padding: 0;
  border: 0;
  text-align: left;
  vertical-align: top;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

.rules-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777772;
}

@media (max-width: 1150px) {
  .cabinet-topbar__inner {
    padding: 16px 0;
  }

  .cabinet-topbar__actions {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .cabinet-topbar__fix {
    min-height: 42px;
    padding: 0 15px;
  }

  .recommendations-table {
    padding: 0 18px;
  }

  .recommendations-table__head {
    display: none;
  }

  .recommendations-table__head + .recommendations-table__row,
  .recommendations-table > .recommendations-table__row:first-child {
    border-top: 0;
  }

  .recommendations-table__row {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 8px;
  }

  .recommendations-table__row time {
    grid-column: 1/-1;
  }

  .recommendations-table__row > span:nth-child(2) {
    min-width: 0;
  }

  .recommendations-table__row > span:nth-child(3) {
    display: none;
  }

  .recommendations-table__row .quiet-status {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: end;
    white-space: nowrap;
  }

  .recommendations-table__row .recommendation-note,
  .recommendations-table__row .rejection-reason {
    max-width: none;
  }

  .list-page-heading {
    display: block;
  }

  .list-page-heading .button {
    margin-top: 24px;
  }

  .rules-content {
    margin-left: 0;
  }
}

.clients-list {
  background: #fff;
  border-radius: 18px;
  padding: 8px 28px 12px;
}

.clients-list__head,
.clients-list__row {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.95fr 0.75fr 110px;
  gap: 24px;
  align-items: start;
}

.clients-list__head {
  padding: 18px 0;
  color: #8a8a85;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.clients-list__row {
  padding: 24px 0;
  border-top: 1px solid #e6e6e2;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
}

.clients-list__row > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.clients-list__row b {
  font-weight: 600;
}

.clients-list__row small {
  font-size: 12px;
  color: #777772;
}

.clients-list__row .quiet-status {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.money-value {
  font-family: var(--ui-font-numeric);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.finance-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 62px;
}

.finance-summary article {
  background: #fff;
  border-radius: 16px;
  padding: 24px 26px;
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.finance-summary span {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  color: #777772;
}

.finance-summary strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.finance-section {
  background: #fff;
  border-radius: 18px;
  padding: 32px 32px 10px;
}

.finance-section .activity-list {
  padding-left: 0;
  padding-right: 0;
}

.finance-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 26px;
}

.finance-toolbar > div:first-child {
  min-width: 0;
}

.finance-toolbar h2 {
  margin: 0;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  font-family: "Raleway", sans-serif;
  overflow-wrap: break-word;
}

.finance-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.finance-filters button {
  padding: 9px 12px;
  border: 1px solid #d8d8d3;
  border-radius: var(--ui-radius-small);
  background: transparent;
  color: #666661;
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  transition:
    background-color var(--ui-ease),
    border-color var(--ui-ease),
    color var(--ui-ease);
}

.finance-filters button.is-active {
  background: #171717;
  color: #fff;
  border-color: #171717;
}

.activity-list--full .activity-row {
  grid-template-columns: 130px 1fr 120px 120px;
  min-height: 78px;
}

@media (max-width: 980px) {
  .finance-summary {
    grid-template-columns: 1fr 1fr;
  }

  .finance-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .clients-list__head {
    display: none;
  }

  .clients-list__head + .clients-list__row,
  .clients-list > .clients-list__row:first-child {
    border-top: 0;
  }

  .clients-list__row {
    grid-template-columns: 1fr 1fr;
  }

  .clients-list__row > span:nth-child(3) {
    display: none;
  }
}

@media (max-width: 620px) {
  .clients-list {
    padding: 0 18px;
  }

  .clients-list__row {
    grid-template-columns: 1fr auto;
  }

  .clients-list__row > span:nth-child(2),
  .clients-list__row > span:nth-child(3) {
    display: none;
  }

  .finance-summary {
    grid-template-columns: 1fr;
  }

  .finance-section {
    padding: 26px 18px 8px;
  }

  .finance-filters {
    overflow: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 4px;
  }

  .finance-filters button {
    white-space: nowrap;
  }
}

.clients-list__head--contracts,
.clients-list__row--contracts {
  grid-template-columns: 1.15fr 1.35fr 0.9fr 0.72fr 0.72fr;
}

.money-value--muted {
  color: #7e7e79;
}

.recommendation-note {
  color: #4d7658 !important;
  line-height: 1.45 !important;
  max-width: 430px;
}

.finance-section--expected {
  margin-top: 54px;
  margin-bottom: 22px;
  background: #fff;
}

.activity-row--expected {
  grid-template-columns: 130px 1fr 120px 120px;
}

.operation-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  color: #6b6b67;
  white-space: nowrap;
}

.operation-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4a542;
}

.operation-status--paid i {
  background: #4d9a64;
}

.activity-row__amount--waiting {
  color: #777772;
}

@media (max-width: 980px) {
  .activity-list--full .activity-row,
  .activity-row--expected {
    grid-template-columns: 110px 1fr 100px 110px;
  }
}

@media (max-width: 760px) {
  .clients-list__row--contracts {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .clients-list__row--contracts > span:nth-child(4),
  .clients-list__row--contracts > span:nth-child(5) {
    display: flex;
  }
}

@media (max-width: 700px) {
  .clients-list__row--contracts {
    grid-template-columns: 1fr auto;
  }

  .clients-list__row--contracts > span:nth-child(2),
  .clients-list__row--contracts > span:nth-child(3),
  .clients-list__row--contracts > span:nth-child(5) {
    display: none;
  }

  .activity-list--full .activity-row,
  .activity-row--expected {
    grid-template-columns: 1fr auto;
  }

  .activity-list--full .activity-row time,
  .activity-row--expected time {
    grid-column: 1/-1;
  }

  .activity-list--full .activity-row .operation-status,
  .activity-row--expected .operation-status {
    grid-column: 1;
  }

  .activity-list--full .activity-row .activity-row__amount,
  .activity-row--expected .activity-row__amount {
    grid-column: 2;
    grid-row: 2;
  }
}

.balance-card--single {
  grid-template-columns: 1fr;
}

.balance-card--single .balance-card__main {
  min-height: 250px;
  max-width: 880px;
}

.balance-card__note {
  max-width: 620px;
  margin: -12px 0 30px;
  color: #666661;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.65;
}

.finance-summary article small {
  display: block;
  margin-top: 14px;
  color: #777772;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.55;
  max-width: 260px;
}

.devstar-benefit {
  color: #4d8f5d !important;
  font-weight: 700 !important;
  margin-top: 9px !important;
}

.funds-example {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  margin: 24px 0;
  padding: 20px;
  border-radius: 12px;
  background: #f5f5f1;
}

.funds-example span {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.45;
  color: #6d6d68;
}

.funds-example strong {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings:
    "tnum" 1,
    "lnum" 1;
}

@media (max-width: 700px) {
  .funds-example {
    grid-template-columns: 1fr;
  }

  .funds-example strong {
    margin-bottom: 8px;
  }
}

.cabinet-topbar__brand {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.cabinet-topbar__logo {
  display: block;
  line-height: 0;
}

.cabinet-profile {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.cabinet-profile__button {
  border: 0;
  background: transparent;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #262624;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
}

.cabinet-profile__button span {
  font-size: 9px;
  color: #8a8a85;
  transition: transform 0.18s ease;
}

.cabinet-profile__menu {
  position: absolute;
  right: 0;
  top: calc(100% - 8px);
  min-width: 156px;
  padding: 8px;
  background: #fff;
  border: 1px solid #deded9;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(20, 20, 20, 0.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
  z-index: 60;
}

.cabinet-profile__menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.cabinet-profile__menu a {
  display: block;
  padding: 10px 11px;
  border-radius: 7px;
  color: #4f4f4b;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
}

.cabinet-profile__menu a:hover {
  background: #f3f3f0;
  color: #171717;
}

.cabinet-profile:hover .cabinet-profile__menu,
.cabinet-profile:focus-within .cabinet-profile__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cabinet-profile:hover .cabinet-profile__button span,
.cabinet-profile:focus-within .cabinet-profile__button span {
  transform: rotate(180deg);
}

@media (max-width: 1180px) {
  .cabinet-topbar__inner {
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
  }

  .cabinet-offcanvas__nav {
    gap: 20px;
  }

  .cabinet-offcanvas__nav a {
    font-size: 10px;
  }

  .cabinet-profile__button {
    font-size: 10px;
  }
}

.cabinet-topbar__burger {
  display: none;
  order: 3;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.cabinet-topbar__burger:hover {
  background: #f3f3f0;
}

.cabinet-topbar__burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #171717;
  border-radius: 0;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  transform-origin: center;
  flex: 0 0 2px;
}

.cabinet-topbar.is-menu-open .cabinet-topbar__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.cabinet-topbar.is-menu-open .cabinet-topbar__burger span:nth-child(2) {
  opacity: 0;
}

.cabinet-topbar.is-menu-open .cabinet-topbar__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.cabinet-offcanvas__close {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  position: relative;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.cabinet-offcanvas__close:hover {
  background: #f3f3f0;
}

.cabinet-offcanvas__close:before,
.cabinet-offcanvas__close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: #171717;
  border-radius: 1px;
}

.cabinet-offcanvas__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cabinet-offcanvas__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.cabinet-menu-open {
  overflow: hidden;
}
@media (max-width: 920px) {
  .cabinet-topbar {
    height: auto;
  }

  .cabinet-topbar__inner {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
    align-items: center;
  }

  .cabinet-topbar__brand {
    min-height: 48px;
  }

  .cabinet-topbar__actions {
    align-self: center;
    gap: 10px;
  }

  .cabinet-topbar__burger {
    display: inline-flex;
  }

  .cabinet-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    height: auto;
    min-width: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .cabinet-topbar.is-menu-open .cabinet-offcanvas {
    visibility: visible;
    pointer-events: auto;
  }

  .cabinet-offcanvas__backdrop {
    position: absolute;
    display: none !important;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(16, 16, 16, 0.4);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.28s ease;
    inset: 0;
  }

  .cabinet-topbar.is-menu-open .cabinet-offcanvas__backdrop {
    opacity: 1;
  }

  .cabinet-offcanvas__panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: 0 0 env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .cabinet-topbar.is-menu-open .cabinet-offcanvas__panel {
    transform: translateX(0);
  }

  .cabinet-profile {
    display: none;
  }

  .cabinet-offcanvas__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 18px 16px 16px;
    border-bottom: 1px solid #e3e3df;
    background: #fff;
  }

  .cabinet-offcanvas__close {
    display: block;
    margin-top: 0;
    flex-shrink: 0;
  }

  .cabinet-offcanvas__profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    flex: 1;
    margin: 0;
    padding: 4px 0 0;
    border: 0;
  }

  .cabinet-offcanvas__user {
    max-width: 100%;
    padding: 0 2px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    color: #171717;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cabinet-offcanvas__profile-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }

  .cabinet-offcanvas__profile-links a {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    color: #4f4f4b;
    transition: color 0.16s ease;
  }

  .cabinet-offcanvas__profile-links a:hover {
    background: transparent;
    color: #171717;
    border: 0;
  }

  .cabinet-offcanvas__profile a {
    display: inline-flex;
  }

  .cabinet-offcanvas__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    flex: 1;
    overflow: auto;
    padding: 10px 22px 32px;
    background: #fff;
  }

  .cabinet-offcanvas__nav a {
    height: auto;
    min-height: 48px;
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    position: relative;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    color: #6b6b67;
    white-space: normal;
    transition: color 0.18s ease;
  }

  .cabinet-offcanvas__nav a.is-active:after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background: #171717;
  }

  .cabinet-offcanvas__nav a.is-active {
    background: transparent;
    color: #171717;
    box-shadow: none;
  }

  .cabinet-offcanvas__nav a:hover {
    background: transparent;
    color: #171717;
  }
}

@media (max-width: 620px) {
  .cabinet-profile__button {
    font-size: 0;
    gap: 0;
  }

  .cabinet-profile__button:before {
    content: "Профиль";
    font-size: 10px;
  }

  .cabinet-profile__button span {
    margin-left: 6px;
  }

  .cabinet-topbar__fix {
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }

  .cabinet-topbar__logo img {
    width: 104px;
  }

  .cabinet-topbar__site {
    font-size: 9px;
  }
}

.dashboard-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(430px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 82px;
}

.dashboard-bento .balance-card {
  height: 100%;
  margin: 0;
}

.dashboard-bento .balance-card--single .balance-card__main {
  min-height: 100%;
  max-width: none;
}

.dashboard-bento .summary-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 100%;
  margin: 0;
}

.dashboard-bento .summary-strip article {
  min-height: 0;
  height: 100%;
}

.dashboard-bento .summary-strip__wide {
  grid-column: 1/-1;
}

@media (max-width: 1100px) {
  .dashboard-bento {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr);
  }
}

@media (max-width: 900px) {
  .dashboard-bento {
    grid-template-columns: 1fr;
  }

  .dashboard-bento .balance-card--single .balance-card__main {
    min-height: 240px;
  }

  .dashboard-bento .summary-strip {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .dashboard-bento {
    margin-bottom: 60px;
  }

  .dashboard-bento .summary-strip {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .dashboard-bento .summary-strip__wide {
    grid-column: auto;
  }

  .dashboard-bento .summary-strip article {
    min-height: 128px;
  }
}

.dashboard-bento .summary-strip .summary-card {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 22px 24px;
  border-radius: var(--ui-radius-control);
  background: #fff;
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.025);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-bento .summary-strip .summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
}

.dashboard-bento .summary-strip .summary-card:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

.dashboard-bento .summary-strip .summary-card strong {
  font-size: 38px;
}

.dashboard-bento .summary-strip .summary-card.summary-strip__wide strong {
  font-size: 38px;
}

.summary-card__arrow {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #777773;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  transition: transform var(--ui-ease);
}

.summary-card:hover .summary-card__arrow {
  color: #171717;
  transform: translateX(4px);
}

.dashboard-bento + .referral-cta--v2 {
  margin-top: 32px !important;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .dashboard-bento + .referral-cta--v2 {
    margin-top: -30px;
  }
}

@media (max-width: 560px) {
  .dashboard-bento + .referral-cta--v2 {
    margin-top: -28px;
    margin-bottom: 60px;
  }
}

.profile-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.profile-card {
  min-height: 230px;
  padding: 32px;
  border-radius: var(--ui-radius-control);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.025);
}

.profile-card h2 {
  margin: 10px 0 0;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.12;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.03em;
}

.profile-card p {
  max-width: 620px;
  margin: 0;
  color: var(--ui-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.profile-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.profile-data {
  margin: 22px 0 0;
}

.profile-data div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--ui-line);
}

.profile-data dt {
  color: var(--ui-text-muted);
  font-size: 12px;
}

.profile-data dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}

.profile-manager__contacts {
  display: grid;
  gap: 0;
  margin: 24px 0 22px;
}

.profile-manager__contacts a {
  border-bottom: 0;
  color: var(--ui-text);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  transition:
    color var(--ui-ease),
    opacity var(--ui-ease);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.profile-manager__button {
  display: inline-flex;
  width: auto;
}

.profile-actions .devstar-link {
  border: 0;
  background: transparent;
  padding: 0;
}

.cabinet-profile__menu a.is-active {
  background: #f3f3f0;
  color: #171717;
}

@media (max-width: 780px) {
  .profile-page {
    padding-top: 52px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 26px 24px;
    min-height: auto;
  }

  .profile-card__head {
    display: block;
  }
}

@media (max-width: 520px) {
  .profile-data div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.finance-summary--overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finance-summary--overview .finance-summary__balance {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 32px;
  align-items: stretch;
}

.finance-summary--overview .finance-summary__balance .button {
  width: auto;
  min-width: 220px;
}

.finance-summary--overview .money-value--muted {
  color: inherit;
  opacity: 1;
}

@media (max-width: 980px) {
  .finance-summary--overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-summary--overview .finance-summary__balance {
    grid-column: 1/-1;
  }
}

@media (max-width: 620px) {
  .finance-summary--overview {
    grid-template-columns: 1fr;
  }

  .finance-summary--overview .finance-summary__balance {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .finance-summary--overview .finance-summary__balance .button {
    width: 100%;
    min-width: 0;
  }

  .finance-section--expected {
    margin-top: 40px;
  }
}

.profile-layout--compact {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.profile-card--details {
  padding: 34px 36px;
}

.profile-section + .profile-section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--ui-line);
}

.profile-section .section-label {
  margin-bottom: 12px;
}

.profile-section h2 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.08;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.03em;
}

.profile-data--payment div {
  grid-template-columns: 190px minmax(0, 1fr);
}

.profile-note {
  margin-top: 18px !important;
  max-width: 680px !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.profile-password-form__intro {
  margin: 0 0 22px !important;
  max-width: none !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.profile-password-form {
  max-width: 760px;
}

.profile-password-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.profile-password-form .field span {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: #4f4f4b;
}

.profile-password-form .field input {
  width: 100%;
  height: 50px;
  border: 1px solid #d8d8d3;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  color: var(--ui-text);
  outline: 0;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.profile-password-form .field input:focus {
  border-color: #8f8f89;
  box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.055);
}

.profile-password-form__current {
  max-width: 100%;
}

.profile-password-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.profile-password-form__footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  min-height: 50px;
}

.profile-password-form__footer .button {
  width: auto;
  min-width: 220px;
}

.profile-password-form__status {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  color: #54745b;
}

.profile-password-form__status.is-error {
  color: #a24b43;
}

@media (max-width: 900px) {
  .profile-layout--compact {
    grid-template-columns: 1fr;
  }

  .profile-card--details {
    padding: 30px 28px;
  }
}

@media (max-width: 620px) {
  .profile-card--details {
    padding: 26px 22px;
  }

  .profile-section + .profile-section {
    margin-top: 34px;
    padding-top: 34px;
  }

  .profile-data--payment div {
    grid-template-columns: 1fr;
  }

  .profile-password-form__row {
    grid-template-columns: 1fr;
  }

  .profile-password-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-password-form__footer .button {
    width: 100%;
    min-width: 0;
  }
}

.profile-heading {
  max-width: none;
  margin-bottom: 44px;
}

.profile-heading .eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.profile-heading h1 {
  margin: 18px 0 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 680px;
}

.profile-heading p {
  margin: 12px 0 0;
  color: var(--ui-text-muted);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
}

.profile-card--manager h2 {
  margin: 12px 0 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (max-width: 560px) {
  .profile-heading h1 {
    font-size: 42px;
  }

  .profile-card--manager h2 {
    font-size: 20px;
  }
}

.cabinet-main--list,
.rules-page,
.profile-page,
.cabinet-main--v2 {
  padding-top: 64px;
}

.page-heading .eyebrow {
  margin: 0 0 18px;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list-page-heading h1,
.rules-heading h1,
.profile-heading h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ui-text);
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.03;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.045em;
}

.page-heading--dashboard .eyebrow {
  margin-bottom: 18px;
}

.list-page-heading,
.rules-heading,
.profile-heading {
  margin-top: 0;
}

@media (max-width: 760px) {
  .cabinet-main--list,
  .rules-page,
  .profile-page,
  .cabinet-main--v2 {
    padding-top: 44px;
  }

  .page-heading--with-action .button {
    margin-top: 24px;
  }
}

.finance-summary--overview article {
  grid-column: auto;
}

.profile-manager__contacts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-manager__contacts > div:first-child {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-manager__contacts dt {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ui-text-muted);
}

.profile-manager__contacts dd {
  margin: 0;
  min-width: 0;
}

.profile-manager__contacts a:hover {
  color: var(--ui-text-secondary);
  opacity: 0.55;
}

@media (max-width: 640px) {
  .profile-manager__contacts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.compact-row__date {
  color: var(--ui-text-muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 640px) {
  .compact-row__date {
    white-space: normal;
    text-align: left;
  }
}

.rules-list {
  margin: 18px 0 22px;
  padding: 0;
  color: #555551;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  list-style: none;
}

.rules-list li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 22px;
}

.rules-list:not(.rules-list--numbered) li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a8a84;
}

.rules-list--numbered {
  counter-reset: rules-step;
}

.rules-list--numbered li {
  counter-increment: rules-step;
  padding-left: 38px;
}

.rules-list--numbered li::before {
  content: counter(rules-step) ".";
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--ui-text-muted);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 620px) {
  .profile-heading {
    margin-bottom: 34px;
  }

  .rules-list {
    margin: 15px 0 19px;
    font-size: 14px;
  }

  .rules-list li {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

.list-page-heading p,
.rules-heading p,
.form-page-heading p {
  max-width: 700px;
  margin: 20px 0 0;
  margin-top: 22px;
  color: var(--ui-text-muted);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1150px) {
  .cabinet-topbar__site {
    display: block !important;
  }
}

.referral-cta--v2 .section-label {
  color: var(--ui-text-faint);
}

@media (max-width: 760px) {
  .list-page-heading p,
  .rules-heading p,
  .form-page-heading p {
    margin-top: 18px;
    font-size: 14px;
  }

  .rules-heading {
    margin-bottom: 28px;
  }

  .rules-content section {
    padding: 28px 0 24px;
  }

  .rules-content h2 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .rules-content .rules-example,
  .rules-content .funds-example {
    margin: 20px 0 24px;
    padding: 20px 18px 22px;
  }

  .rules-content .rules-list + p,
  .rules-content ol + p,
  .rules-content ul + p {
    margin-top: 16px;
  }

  .rules-content .rules-table + p {
    margin-top: 18px;
  }

  .rules-table {
    margin: 18px 0 20px;
  }
}

.cabinet-page--v2 :focus-visible {
  outline: 2px solid rgba(20, 20, 20, 0.22);
  outline-offset: 3px;
}

.list-page-heading,
.rules-heading,
.profile-heading,
.form-page-heading {
  margin: 0 0 44px;
}

.page-heading .eyebrow,
.list-page-heading .eyebrow,
.rules-heading .eyebrow,
.profile-heading .eyebrow,
.form-page-heading .eyebrow,
.form-kicker {
  margin: 0 0 18px;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list-page-heading h1,
.rules-heading h1,
.profile-heading h1,
.form-page-heading h1 {
  margin: 0;
  max-width: 780px;
  color: var(--ui-text);
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.03;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.section-label,
.eyebrow {
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-note,
.profile-note,
.rejection-reason,
.compact-row__date,
.activity-row time,
.recommendations-table__row time,
.clients-list__row time {
  color: var(--ui-text-muted);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
}

.balance-card,
.summary-card,
.finance-section,
.profile-card,
.recommendations-table,
.clients-list,
.form-submit-panel,
.form-success,
.rules-example,
.funds-example,
.manager-card {
  border-radius: var(--ui-radius-card);
}

.devstar-link,
.inline-action,
.cabinet-footer a,
.simple-login__footer a,
.forgot,
.modal a:not(.button) {
  color: var(--ui-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.28);
  padding-bottom: 2px;
  transition:
    border-color var(--ui-ease),
    color var(--ui-ease),
    opacity var(--ui-ease);
}

.devstar-link:hover,
.inline-action:hover,
.cabinet-footer a:hover,
.simple-login__footer a:hover,
.forgot:hover,
.modal a:not(.button):hover {
  color: var(--ui-text);
  border-bottom-color: var(--ui-text);
  opacity: 1;
}

.cabinet-offcanvas__nav a,
.cabinet-topbar__site,
.cabinet-profile__menu a,
.cabinet-profile__button {
  border-bottom: 0;
  transition:
    color var(--ui-ease),
    opacity var(--ui-ease),
    background-color var(--ui-ease);
}

.cabinet-page--v2 .button,
.submit,
.modal__call {
  min-height: 54px;
  border-radius: var(--ui-radius-control);
  padding: 0 20px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background-color var(--ui-ease),
    border-color var(--ui-ease),
    color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.cabinet-page--v2 .button--dark,
.submit {
  background: var(--ui-text);
  border: 1px solid var(--ui-text);
  color: #fff;
}

.cabinet-page--v2 .button--dark:hover,
.submit:hover {
  background: #2a2a28;
  border-color: #2a2a28;
}

.cabinet-page--v2 .button--ghost,
.cabinet-page--v2 .button--light {
  background: transparent;
  border: 1px solid var(--ui-line-strong);
  color: var(--ui-text);
}

.cabinet-page--v2 .button--ghost:hover,
.cabinet-page--v2 .button--light:hover {
  background: #fafaf8;
  border-color: #aaa9a4;
}

.cabinet-page--v2 .label,
.profile-password-form .field span,
.services-fieldset legend {
  display: block;
  margin: 0 0 9px;
  color: #4f4f4b;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
}

.service-check,
.check--large {
  color: var(--ui-text);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
}

.service-check:hover {
  border-color: #aaa9a4;
  background: #fafaf8;
}

.summary-card,
.compact-row[href],
.clients-list__row[href],
.recommendations-table__row[href] {
  transition:
    transform var(--ui-ease),
    box-shadow var(--ui-ease),
    border-color var(--ui-ease),
    background-color var(--ui-ease);
}

.summary-card:hover,
.compact-row[href]:hover,
.clients-list__row[href]:hover,
.recommendations-table__row[href]:hover {
  transform: translateY(-2px);
  box-shadow: var(--ui-shadow-hover);
}

.activity-row:hover,
.compact-row:not([href]):hover,
.recommendations-table__row:not([href]):hover,
.clients-list__row:not([href]):hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.section-heading h2,
.finance-toolbar h2 {
  margin: 0;
  color: var(--ui-text);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.08;
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.035em;
}

.rules-content section:first-child {
  border-top-color: var(--ui-line-strong);
}

.rules-content p,
.rules-list {
  color: var(--ui-text-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.72;
}

.rules-example,
.funds-example {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--ui-line);
}

.profile-card--manager > p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ui-text-secondary);
}

.profile-data > div,
.profile-manager__contacts > div {
  border-color: var(--ui-line);
}

.profile-password-form__footer .button,
.profile-manager__button {
  min-height: 54px;
}

.finance-summary article,
.summary-card {
  border-radius: var(--ui-radius-card);
}

.finance-filters button:hover {
  border-color: #aaa9a4;
}

.operation-status,
.quiet-status {
  border-radius: var(--ui-radius-small);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
}

.recommendations-table__row,
.clients-list__row,
.activity-row,
.compact-row {
  border-color: var(--ui-line);
}

.login-page .submit,
.login-page .password-toggle,
.login-page .forgot,
.login-page .inline-action {
  transition:
    color var(--ui-ease),
    background-color var(--ui-ease),
    border-color var(--ui-ease),
    opacity var(--ui-ease);
}

@media (max-width: 760px) {
  .list-page-heading,
  .rules-heading,
  .profile-heading,
  .form-page-heading {
    margin-bottom: 28px;
  }

  .list-page-heading h1,
  .rules-heading h1,
  .profile-heading h1,
  .form-page-heading h1 {
    font-size: 36px;
  }

  .dashboard-section {
    margin-top: 52px;
  }

  .dashboard-section--compact {
    margin-top: 44px;
  }

  .dashboard-bento + .referral-cta--v2 {
    margin-top: 24px !important;
    margin-bottom: 52px;
  }

  .referral-cta--v2 {
    padding: 28px 24px;
  }

  .referral-cta--v2 h2 {
    font-size: 32px;
  }

  .profile-card {
    padding: 24px;
  }
}

.rules-content .rules-example,
.rules-content .funds-example {
  margin: 30px 0 36px;
  padding: 30px 34px 32px;
  border-color: var(--ui-line);
}

.rules-content .rules-example > span,
.rules-content .funds-example > span {
  display: block;
  margin: 0 0 14px;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rules-content .rules-example p,
.rules-content .funds-example p {
  margin: 0;
  color: var(--ui-text-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.72;
}

.rules-content .rules-list + p,
.rules-content ol + p,
.rules-content ul + p {
  margin-top: 24px;
}

.rules-content .rules-table + p {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .rules-content .rules-example,
  .rules-content .funds-example {
    margin: 18px 0 22px;
    padding: 18px 16px 20px;
  }

  .rules-content section {
    padding: 24px 0 20px;
  }
}

.profile-password-form .password-field .input {
  padding-right: 88px;
}

.profile-password-form .password-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  padding: 3px 4px;
  border: 0;
  background: transparent;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  transition: color var(--ui-ease);
}

.profile-password-form .password-toggle:hover {
  color: var(--ui-text);
}

.profile-password-form .password-toggle:focus-visible {
  outline: 2px solid rgba(20, 20, 20, 0.22);
  outline-offset: 2px;
  border-radius: 4px;
}

.cabinet-page--v2,
.cabinet-page,
.rules-page,
.profile-page {
  color: var(--ui-text);
}

.list-page-heading p,
.rules-heading p,
.form-page-heading p,
.profile-note,
.form-section__intro,
.modal__lead {
  color: var(--ui-text-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.section-label,
.eyebrow,
.form-kicker {
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.055em;
}

.devstar-link,
.inline-action,
.forgot {
  color: var(--ui-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.28);
  padding-bottom: 2px;
  transition:
    color var(--ui-ease),
    border-color var(--ui-ease),
    opacity var(--ui-ease);
}

.devstar-link:hover,
.inline-action:hover,
.forgot:hover {
  border-color: var(--ui-text);
}

.cabinet-topbar a,
.cabinet-footer a,
.cabinet-profile__menu a {
  transition:
    color var(--ui-ease),
    opacity var(--ui-ease),
    background-color var(--ui-ease);
}

.button,
.submit {
  min-height: 54px;
  border-radius: var(--ui-radius-control);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  transition:
    background-color var(--ui-ease),
    color var(--ui-ease),
    border-color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.button:focus-visible,
.submit:focus-visible,
.cabinet-topbar a:focus-visible,
.cabinet-profile__button:focus-visible,
.cabinet-topbar__burger:focus-visible,
.cabinet-offcanvas__close:focus-visible,
.cabinet-profile__menu a:focus-visible,
.summary-card:focus-visible,
.password-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ui-focus);
}

.cabinet-page--v2 .input,
.cabinet-page--v2 .textarea,
.profile-password-form .input {
  width: 100%;
  border: 1px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-control);
  background: var(--ui-surface);
  color: var(--ui-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  outline: 0;
  box-sizing: border-box;
  transition:
    border-color var(--ui-ease),
    box-shadow var(--ui-ease),
    background-color var(--ui-ease);
}

.cabinet-page--v2 .input,
.profile-password-form .input {
  min-height: 52px;
  padding: 0 14px;
}

.cabinet-page--v2 .input::placeholder,
.cabinet-page--v2 .textarea::placeholder,
.profile-password-form .input::placeholder {
  color: #9a9a95;
}

.cabinet-page--v2 .input:hover,
.cabinet-page--v2 .textarea:hover,
.profile-password-form .input:hover {
  border-color: #aaa9a4;
}

.cabinet-page--v2 .input:focus,
.cabinet-page--v2 .textarea:focus,
.profile-password-form .input:focus {
  border-color: var(--ui-text);
  box-shadow: var(--ui-focus);
  outline: none;
}

.field > span,
.label {
  color: var(--ui-text);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
}

.password-toggle:hover {
  color: var(--ui-text);
  background: #f1f1ee;
}

.service-check input,
.check--large input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.service-check span,
.check--large span {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
}

.service-check span::before,
.check--large span::before {
  content: "";
  position: relative;
  left: auto;
  top: auto;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  box-sizing: border-box;
  border: 1px solid #b9b9b3;
  border-radius: 4px;
  background: #fff;
  transition:
    border-color var(--ui-ease),
    background-color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.service-check span::after,
.check--large span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 10px;
  height: 8px;
  margin: 0;
  border: 0;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.1 3.6 6.7 9 1.3' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: none;
  transition: opacity var(--ui-ease);
  pointer-events: none;
}

.service-check input:checked + span::before,
.check--large input:checked + span::before {
  background: #171717;
  border-color: #171717;
  box-shadow: none;
}

.service-check input:checked + span::after,
.check--large input:checked + span::after {
  opacity: 1;
  transform: none;
}

.service-check input:focus-visible + span::before,
.check--large input:focus-visible + span::before {
  box-shadow: var(--ui-focus);
}

.check--large span {
  flex: 1;
  min-width: 0;
}

.summary-card,
a.clients-list__row,
a.recommendations-table__row,
a.compact-row {
  transition:
    transform var(--ui-ease),
    box-shadow var(--ui-ease),
    border-color var(--ui-ease),
    background-color var(--ui-ease);
}

.summary-card:hover,
a.clients-list__row:hover,
a.recommendations-table__row:hover,
a.compact-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.07);
}

.activity-row,
.compact-row:not(a),
.clients-list__row:not(a),
.recommendations-table__row:not(a) {
  transform: none !important;
  box-shadow: none !important;
}

.profile-card,
.summary-card,
.rules-example,
.funds-example {
  border-radius: var(--ui-radius-card);
}

.recommendation-form .form-section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.activity-row,
.compact-row,
.clients-list__row,
.recommendations-table__row,
.profile-data > div {
  border-color: var(--ui-line);
}

.quiet-status,
.operation-status {
  border-radius: var(--ui-radius-small);
}

@media (max-width: 980px) {
  .cabinet-topbar__site {
    display: block;
  }
}

@media (max-width: 760px) {
  .cabinet-container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cabinet-page--v2 .cabinet-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .cabinet-container {
    padding-left: 0;
    padding-right: 0;
  }

  .button,
  .submit {
    min-height: 52px;
  }

  .service-check {
    padding: 11px 12px;
  }
}

@media (min-width: 981px) {
  .dashboard-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dashboard-columns > .dashboard-section {
  width: 100%;
  min-width: 0;
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .dashboard-columns > .dashboard-section + .dashboard-section {
    margin-top: 44px !important;
  }
}

@media (max-width: 680px) {
  .compact-list {
    padding: 4px 18px 8px;
    border-radius: 14px;
  }

  .compact-row > span:first-child {
    min-width: 0;
  }

  .compact-row > span:first-child b {
    padding-right: 4px;
  }

  .compact-row .quiet-status {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.2;
  }

  .compact-row--object .compact-row__date {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    white-space: normal;
    font-size: 12px;
  }

  .rejection-reason {
    max-width: none;
    margin-top: 8px;
  }

  .dashboard-columns .section-heading {
    align-items: center;
    margin-bottom: 18px;
  }

  .dashboard-columns .section-heading h2 {
    font-size: 28px;
    line-height: 1.15;
  }
}

.login-page .field > .label span,
.profile-password-form .field > span,
.profile-password-form .field > label span {
  color: var(--ui-text);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
}

.login-page .password-field,
.profile-password-form .password-field {
  position: relative;
  width: 100%;
}

.login-page .password-field .input,
.profile-password-form .password-field .input {
  width: 100%;
  min-height: 52px;
  padding: 0 90px 0 14px;
  border: 1px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-control);
  background: var(--ui-surface);
  color: var(--ui-text);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  transition:
    border-color var(--ui-ease),
    box-shadow var(--ui-ease),
    background-color var(--ui-ease);
}

.login-page .password-field .input::placeholder,
.profile-password-form .password-field .input::placeholder {
  color: var(--ui-text-faint);
}

.login-page .password-field .input:hover,
.profile-password-form .password-field .input:hover {
  border-color: #aaa9a4;
}

.login-page .password-field .input:focus,
.profile-password-form .password-field .input:focus {
  border-color: var(--ui-text);
  box-shadow: var(--ui-focus);
  outline: none;
}

.login-page .password-toggle,
.profile-password-form .password-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ui-text-muted);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    color var(--ui-ease),
    background-color var(--ui-ease),
    box-shadow var(--ui-ease);
}

.login-page .password-toggle:hover,
.profile-password-form .password-toggle:hover {
  color: var(--ui-text);
  background: #f1f1ee;
}

.login-page .password-toggle:focus-visible,
.profile-password-form .password-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ui-focus);
}

.referral-cta--v2 .button,
.referral-cta--v2 .button--dark {
  display: inline-flex;
  width: auto;
  min-width: 190px;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #fff;
  border-radius: var(--ui-radius-control);
  background: #fff;
  color: #090909;
  box-shadow: none;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.referral-cta--v2 .button:hover,
.referral-cta--v2 .button--dark:hover {
  border-color: #ededeb;
  background: #ededeb;
  color: #090909;
  box-shadow: none;
}

@media (max-width: 560px) {
  .referral-cta--v2 .button,
  .referral-cta--v2 .button--dark {
    width: 100%;
  }
}

/* Dashboard section headings: no redundant category eyebrow */
.dashboard-section .section-heading h2,
.dashboard-columns .section-heading h2 {
  margin-top: 0;
}

/* Unified data-row typography: dashboard, recommendations and clients */
.recommendations-table__row,
.clients-list__row {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
}

.recommendations-table__row b,
.clients-list__row b {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ui-text-secondary);
}

.recommendations-table__row small,
.clients-list__row small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ui-text-muted);
}

.recommendations-table__row time,
.clients-list__row time,
.clients-list__row .money-value {
  font-size: 13px;
  font-weight: 400;
}

.recommendations-table__row .recommendation-note,
.recommendations-table__row .rejection-reason {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
}

/* Empty states: first login */
.empty-state {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 0;
  color: var(--ui-text-secondary);
}

.empty-state__eyebrow {
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.empty-state__title {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  font-family: "Raleway", sans-serif;
  color: var(--ui-text-secondary);
}

.empty-state__text {
  max-width: 560px;
  margin: 12px 0 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ui-text-secondary);
}

.empty-state__action {
  display: inline-block;
  margin-top: 22px;
}

.empty-state__button {
  margin-top: 24px;
}

.activity-list > .empty-state,
.compact-list > .empty-state,
.recommendations-table > .empty-state,
.clients-list > .empty-state {
  width: 100%;
  box-sizing: border-box;
}

.finance-section .activity-list > .empty-state {
  min-height: 0;
  padding: 4px 0 22px;
}

.dashboard-section--compact .empty-state {
  min-height: 230px;
  padding: 34px 0;
}

.summary-card small {
  max-width: 230px;
  margin-top: 8px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ui-text-muted);
}

.button--disabled,
.button:disabled {
  cursor: default;
  opacity: 0.42;
  pointer-events: none;
}

.finance-filters button:disabled {
  cursor: default;
  opacity: 0.55;
}

@media (max-width: 760px) {
  .empty-state,
  .dashboard-section--compact .empty-state {
    min-height: 170px;
    padding: 28px 0;
  }

  .finance-section .activity-list > .empty-state {
    min-height: 0;
    padding: 2px 0 18px;
  }
}

/* First-login welcome overview */
.cabinet-intro--welcome {
  display: block;
  margin-bottom: 44px;
}

.welcome-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-card);
  background: #fff;
}

.welcome-overview__copy {
  min-width: 0;
}

.welcome-overview__copy h1 {
  max-width: 680px;
  margin: 18px 0 0;
}

.welcome-overview__copy > p {
  max-width: 720px;
  margin: 18px 0 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ui-text-secondary);
}

.welcome-example {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--ui-line-strong);
}

.welcome-overview__label,
.welcome-example__label {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ui-text-muted);
}

.welcome-example p {
  margin: 10px 0 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ui-text-secondary);
}

.welcome-example p strong,
.welcome-example__options strong {
  font-weight: 600;
  color: var(--ui-text-secondary);
}

.welcome-example__options {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.welcome-example__options li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ui-text-secondary);
}

.welcome-example__options li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ui-text-secondary);
}

.welcome-example__note {
  margin-top: 16px !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  color: var(--ui-text-muted) !important;
}

.welcome-overview__rules {
  display: inline-block;
  margin-top: 24px;
}

.welcome-overview__terms {
  align-self: center;
  min-width: 0;
  padding: 36px 38px 38px;
  border: 1px solid #090909;
  border-radius: var(--ui-radius-card);
  background: #090909;
  color: #fff;
}

.welcome-overview__terms .welcome-overview__label {
  color: rgba(255, 255, 255, 0.56);
}

.welcome-benefits {
  margin-top: 18px;
}

.welcome-benefit {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.welcome-benefit:first-child {
  padding-top: 0;
  border-top: 0;
}

.welcome-benefit strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
}

.welcome-benefit span {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1100px) {
  .welcome-overview {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 36px;
    padding: 36px;
  }

  .welcome-overview__terms {
    padding: 32px;
  }
}

@media (max-width: 900px) {
  .welcome-overview {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .welcome-overview__terms {
    width: 100%;
  }

  .welcome-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .welcome-benefit,
  .welcome-benefit:first-child {
    padding: 0;
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .welcome-benefits {
    display: block;
  }

  .welcome-benefit,
  .welcome-benefit:first-child {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .welcome-benefit:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .cabinet-intro--welcome {
    margin-bottom: 32px;
  }

  .welcome-overview {
    gap: 28px;
    padding: 28px 24px;
  }

  .welcome-overview__terms {
    padding: 28px 24px;
  }
}

.site-header--login .cabinet-offcanvas {
  display: none;
}

.site-header--login .cabinet-topbar__burger {
  display: none;
}

@media (max-width: 1050px) {
  .site-header--login .site-header__phone {
    display: none;
  }

  .site-header--login .site-header__actions {
    gap: 12px;
  }

  .site-header--login {
    height: auto;
  }

  .site-header--login .site-header__inner {
    padding: 14px 0;
  }

  .site-header--login .cabinet-topbar__burger {
    display: inline-flex;
    order: 3;
  }

  .site-header--login .cabinet-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    height: auto;
    min-width: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-header--login.is-menu-open .cabinet-offcanvas {
    visibility: visible;
    pointer-events: auto;
  }

  .site-header--login .cabinet-offcanvas__backdrop {
    display: none !important;
  }

  .site-header--login .cabinet-offcanvas__panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: 0 0 env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header--login.is-menu-open .cabinet-offcanvas__panel {
    transform: translateX(0);
  }

  .site-header--login .cabinet-offcanvas__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 18px 16px 16px;
    border-bottom: 1px solid #e3e3df;
    background: #fff;
  }

  .site-header--login .cabinet-offcanvas__close {
    display: block;
    flex-shrink: 0;
  }

  .site-header--login .cabinet-offcanvas__profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .site-header--login .cabinet-offcanvas__user {
    max-width: 100%;
    padding: 0 2px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    color: #171717;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-decoration: none;
  }

  .site-header--login .cabinet-offcanvas__user:hover {
    color: #171717;
    opacity: 0.7;
  }

  .site-header--login .cabinet-offcanvas__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    flex: 1;
    overflow: auto;
    padding: 10px 22px 32px;
    background: #fff;
  }

  .site-header--login .cabinet-offcanvas__nav a {
    height: auto;
    min-height: 48px;
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    position: relative;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    color: #6b6b67;
    white-space: normal;
    transition: color 0.18s ease;
  }

  .site-header--login .cabinet-offcanvas__nav a:hover {
    background: transparent;
    color: #171717;
  }

  .site-header--login.is-menu-open .cabinet-topbar__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header--login.is-menu-open .cabinet-topbar__burger span:nth-child(2) {
    opacity: 0;
  }

  .site-header--login.is-menu-open .cabinet-topbar__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* End */


/* Start:/local/templates/partner/template_styles.css?17884196491501*/
/* Validation overrides are local to the partner site template. */
body:is(.login-page, .cabinet-page) .ds-site-field-icon-container > .ds-site-field-success-icon {
    /* The label is part of the container; the 52px input is at its bottom. */
    top: auto;
    bottom: 26px;
    display: grid;
    margin: 0;
    color: var(--ds-field-success, #29845d);
    transform: translateY(50%) scale(.88);
}

body:is(.login-page, .cabinet-page) .ds-site-field-icon-container > .ds-site-field-success-icon.is-visible {
    transform: translateY(50%) scale(1);
}

body:is(.login-page, .cabinet-page) .ds-site-field-icon-container > .input {
    padding-right: 44px;
}

body:is(.login-page, .cabinet-page) .password-field > .ds-site-field-success-icon {
    right: 90px;
}

body:is(.login-page, .cabinet-page) .password-field.ds-site-field-icon-container > .input {
    padding-right: 116px;
}

/* The component inserts the error after .field, outside its bottom margin. */
body:is(.login-page, .cabinet-page) .field:has(+ .ds-site-field-message:not([hidden])) {
    margin-bottom: 0;
}

body:is(.login-page, .cabinet-page) .ds-site-field-message {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.35;
}

body:is(.login-page, .cabinet-page) .field + .ds-site-field-message:not([hidden]) {
    margin-bottom: 24px;
}

/* Password errors are inside .field, which has an 8px gap in the profile. */
.cabinet-page .profile-password-form .password-field + .ds-site-field-message {
    margin-top: -3px;
}

/* End */


/* Start:/local/components/ds/forms.validation/templates/.default/assets/fields.css?178661988416694*/
:root {
  --ds-field-bg: #fff;
  --ds-field-bg-muted: #f7f8fa;
  --ds-field-text: #17191d;
  --ds-field-muted: #727780;
  --ds-field-border: #d9dde3;
  --ds-field-border-hover: #bfc5ce;
  --ds-field-focus: #6674ff;
  --ds-field-error: #c83d4d;
  --ds-field-success: #29845d;
  --ds-radius-sm: 6px;
  --ds-radius-md: 8px;
  --ds-radius-lg: 12px;
  --ds-field-height: 42px;
}

/* Field structure */
.ds-field {
  display: grid;
  gap: 0;
  min-width: 0;
  align-content: start;
}

.ds-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.ds-field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ds-field-text);
  font: 600 13px/1.35 Inter, Arial, sans-serif;
}

.ds-field__label-row .ds-field__label {
  margin: 0;
}

.ds-field__required {
  color: var(--ds-field-error);
}

.ds-field__control {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.ds-field.supports-success-indicator .ds-field__control {
  padding-right: 26px;
}

.ds-field__control > .ds-input,
.ds-field__control > .ds-select,
.ds-field__control > .ds-textarea,
.ds-field__control > .ds-datepicker,
.ds-field__control > .ds-file {
  min-width: 0;
  flex: 1 1 auto;
}

.ds-field__control > .ds-field__counter {
  flex: 0 0 100%;
}

/* Base controls */
.ds-input,
.ds-select,
.ds-textarea {
  width: 100%;
  border: 1px solid var(--ds-field-border);
  border-radius: var(--ds-radius-md);
  outline: none;
  background: var(--ds-field-bg);
  color: var(--ds-field-text);
  font: 400 14px/1.4 Inter, Arial, sans-serif;
  transition: border-color .16s, box-shadow .16s, background-color .16s;
}

.ds-input,
.ds-select {
  height: var(--ds-field-height);
  padding: 0 13px;
}

.ds-textarea {
  min-height: 96px;
  max-height: 260px;
  padding: 11px 13px;
  resize: vertical;
}

.ds-input::placeholder,
.ds-textarea::placeholder {
  color: #9aa0a9;
}

.ds-input:hover,
.ds-select:hover,
.ds-textarea:hover {
  border-color: var(--ds-field-border-hover);
}

.ds-input:focus,
.ds-select:focus,
.ds-textarea:focus,
.ds-file:focus-within,
.ds-field.is-focus .ds-input,
.ds-field.is-focus .ds-select,
.ds-field.is-focus .ds-textarea,
.ds-field.is-focus .ds-file {
  border-color: var(--ds-field-focus);
  box-shadow: 0 0 0 3px rgba(102, 116, 255, .12);
}

.ds-input:disabled,
.ds-select:disabled,
.ds-textarea:disabled {
  cursor: not-allowed;
  background: #f1f2f4;
  color: #969ba4;
}

.ds-input[readonly],
.ds-textarea[readonly] {
  border-style: dashed;
  background: #fff;
  color: #555b64;
}

.ds-field__hint,
.ds-field__message,
.ds-field__counter {
  margin-top: 5px;
  color: var(--ds-field-muted);
  font: 400 12px/1.4 Inter, Arial, sans-serif;
}

.ds-field__message {
  display: none;
}

.ds-field.is-error .ds-input,
.ds-field.is-error .ds-select,
.ds-field.is-error .ds-textarea,
.ds-field.is-error .ds-file {
  border-color: var(--ds-field-error);
  box-shadow: 0 0 0 2px rgba(200, 61, 77, .07);
}

.ds-field.is-error .ds-field__message {
  display: block;
  color: var(--ds-field-error);
}

.ds-field.is-success .ds-field__message {
  display: none;
}

/* Actions inside controls */
.ds-field__action {
  position: absolute;
  right: 7px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ds-radius-sm);
  background: transparent;
  color: #717780;
  cursor: pointer;
}

.ds-field.supports-success-indicator .ds-field__action {
  right: 33px;
}

.ds-field__action svg {
  width: 17px;
  height: 17px;
}

.ds-field__action-slash {
  opacity: 0;
}

.ds-field__action.is-active .ds-field__action-slash {
  opacity: 1;
}

.ds-field__action:hover,
.ds-field__control:focus-within .ds-field__action {
  background: #f1f2f5;
  color: #22252a;
}

.ds-field--action .ds-input {
  padding-right: 46px;
}

/* Select and number */
.ds-select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23727780' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.ds-input[type="number"] {
  appearance: textfield;
}

.ds-input[type="number"]::-webkit-inner-spin-button,
.ds-input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.ds-number .ds-input {
  padding-right: 38px;
}

.ds-number__stepper {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  width: 25px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .14s ease, visibility .14s ease;
}

.ds-field.supports-success-indicator .ds-number__stepper {
  right: 31px;
}

.ds-number:hover .ds-number__stepper,
.ds-number:focus-within .ds-number__stepper {
  opacity: 1;
  visibility: visible;
}

.ds-number__step {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #737982;
  cursor: pointer;
}

.ds-number__step svg {
  width: 12px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-number__step:hover {
  background: #f1f3f5;
  color: #25282d;
}

/* Success indicator */
.ds-field__success-icon {
  position: absolute;
  top: 50%;
  right: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--ds-field-success);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) scale(.88);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.ds-field__success-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-field__success-icon.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* Input notices */
.ds-input-notice {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  left: 10px;
  max-width: min(320px, calc(100vw - 48px));
  padding: 7px 10px;
  border-radius: 7px;
  background: #2b2e33;
  box-shadow: 0 8px 24px rgba(20, 24, 30, .18);
  color: #fff;
  font: 500 12px/1.35 Inter, Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.ds-input-notice::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 2px 0 0;
  background: #2b2e33;
  transform: rotate(45deg);
}

.ds-input-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Choice controls */
.ds-choice-list {
  display: grid;
  gap: 8px;
}

.ds-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 24px;
  color: var(--ds-field-text);
  font: 400 14px/1.4 Inter, Arial, sans-serif;
  cursor: pointer;
}

.ds-choice input,
.ds-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ds-choice__box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid var(--ds-field-border-hover);
  border-radius: 5px;
  background: #fff;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.ds-choice:hover .ds-choice__box {
  border-color: #8f96a0;
}

.ds-choice input:focus-visible + .ds-choice__box {
  box-shadow: 0 0 0 3px rgba(102, 116, 255, .14);
}

.ds-choice input:checked + .ds-choice__box {
  border-color: #25282d;
  background: #25282d;
}

.ds-field.is-error .ds-choice__box {
  border-color: var(--ds-field-error);
  box-shadow: 0 0 0 2px rgba(200, 61, 77, .07);
}

.ds-choice input:checked + .ds-choice__box::after {
  content: "";
  width: 8px;
  height: 5px;
  border-bottom: 1.8px solid #fff;
  border-left: 1.8px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

.ds-choice--radio .ds-choice__box {
  border-radius: 50%;
}

.ds-choice--radio input:checked + .ds-choice__box::after {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}

.ds-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  font: 400 14px/1.4 Inter, Arial, sans-serif;
  cursor: pointer;
}

.ds-switch__track {
  width: 36px;
  height: 20px;
  padding: 3px;
  border-radius: 999px;
  background: #cbd0d7;
  transition: background-color .16s, box-shadow .16s;
}

.ds-switch__thumb {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .16s;
}

.ds-switch input:checked + .ds-switch__track {
  background: #25282d;
}

.ds-switch input:checked + .ds-switch__track .ds-switch__thumb {
  transform: translateX(16px);
}

.ds-switch input:focus-visible + .ds-switch__track {
  box-shadow: 0 0 0 3px rgba(102, 116, 255, .14);
}

.ds-switch.is-disabled {
  cursor: not-allowed;
  color: #969ba4;
}

.ds-switch.is-disabled .ds-switch__track {
  opacity: .55;
}

/* File dropzone */
.ds-file {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed #bdc3cc;
  border-radius: var(--ds-radius-md);
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.ds-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.ds-file:hover {
  border-color: #8e96a1;
  background: #fafbfc;
}

.ds-file:focus-within {
  border-color: var(--ds-field-focus);
  box-shadow: 0 0 0 3px rgba(102, 116, 255, .12);
}

.ds-field.is-error .ds-file:focus-within {
  border-color: var(--ds-field-error);
  box-shadow: 0 0 0 2px rgba(200, 61, 77, .07);
}

.ds-file.is-dragover {
  border-color: #5f66d6;
  background: #f6f7ff;
  box-shadow: 0 0 0 3px rgba(95, 102, 214, .10);
}

.ds-file__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--ds-radius-md);
  background: #f1f3f6;
  color: #626974;
}

.ds-file__icon svg {
  width: 18px;
  height: 18px;
}

.ds-file__content {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.ds-file__title {
  color: #2c3036;
  font: 600 13px/1.3 Inter, Arial, sans-serif;
}

.ds-file__meta {
  min-width: 0;
  overflow: visible;
  color: #7b818b;
  font: 400 12px/1.35 Inter, Arial, sans-serif;
  white-space: normal;
}

.ds-file__button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #d4d8df;
  border-radius: var(--ds-radius-sm);
  background: #fff;
  font: 600 13px Inter, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.ds-file.has-file .ds-file__title {
  color: #25282d;
}

.ds-file.has-file .ds-file__meta {
  color: #656b74;
}

/* Datepicker */
.ds-datepicker {
  position: relative;
}

.ds-datepicker .ds-input {
  padding-right: 42px;
}

.ds-datepicker__toggle {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ds-radius-sm);
  background: transparent;
  color: #717780;
  cursor: pointer;
}

.ds-datepicker__toggle:hover,
.ds-datepicker:focus-within .ds-datepicker__toggle {
  background: #f1f2f5;
  color: #22252a;
}

.ds-datepicker__toggle svg {
  width: 17px;
  height: 17px;
}

.ds-calendar {
  position: absolute;
  z-index: 50;
  top: calc(100% + 7px);
  left: 0;
  width: 292px;
  display: none;
  padding: 12px;
  border: 1px solid #dde1e7;
  border-radius: var(--ds-radius-lg);
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 26, 34, .16);
}

.ds-datepicker.is-open .ds-calendar {
  display: block;
}

.ds-datepicker.is-align-right .ds-calendar {
  right: 0;
  left: auto;
}

.ds-calendar__head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ds-calendar__title {
  color: #24272c;
  font: 600 13px/1.3 Inter, Arial, sans-serif;
  text-align: center;
}

.ds-calendar__nav {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ds-radius-sm);
  background: transparent;
  color: #666d76;
  cursor: pointer;
}

.ds-calendar__nav:hover {
  background: #f2f3f5;
  color: #22252a;
}

.ds-calendar__week,
.ds-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.ds-calendar__week {
  margin-bottom: 4px;
}

.ds-calendar__week span {
  height: 26px;
  display: grid;
  place-items: center;
  color: #9298a1;
  font: 600 10px/1 Inter, Arial, sans-serif;
  text-transform: uppercase;
}

.ds-calendar__day {
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #34383e;
  font: 500 12px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.ds-calendar__day:hover {
  background: #f1f2f5;
}

.ds-calendar__day.is-outside {
  color: #b6bbc3;
}

.ds-calendar__day.is-today {
  box-shadow: inset 0 0 0 1px #cfd4dc;
}

.ds-calendar__day.is-selected {
  background: #25282d;
  box-shadow: none;
  color: #fff;
}

.ds-calendar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eceef1;
}

.ds-calendar__link {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #5f66d6;
  font: 600 12px Inter, Arial, sans-serif;
  cursor: pointer;
}

/* Groups, buttons and counters */
.ds-field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.ds-subfield {
  display: grid;
  gap: 5px;
}

.ds-subfield__label {
  color: #676d76;
  font: 500 12px/1.3 Inter, Arial, sans-serif;
}

.ds-field__counter {
  text-align: right;
  transition: color .16s ease;
}

.ds-field__counter.is-over-limit {
  color: var(--ds-field-error);
  font-weight: 500;
}

.ds-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ds-button {
  height: 42px;
  padding: 0 16px;
  border: 1px solid #25282d;
  border-radius: var(--ds-radius-md);
  background: #25282d;
  color: #fff;
  font: 600 13px Inter, Arial, sans-serif;
  cursor: pointer;
}

.ds-button--secondary {
  border-color: #d6dae0;
  background: #fff;
  color: #25282d;
}

.ds-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  .ds-field-group {
    grid-template-columns: 1fr;
  }

  .ds-form-actions .ds-button {
    flex: 1 1 140px;
  }

  .ds-calendar {
    width: min(292px, calc(100vw - 48px));
  }

  .ds-file {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ds-file__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ds-input-notice {
    left: 0;
  }
}

/* Validation for existing site forms. Base form-control styles stay untouched. */
.form-control.ds-site-field-error,
.form-select.ds-site-field-error {
  border-color: var(--ds-field-error, #c83d4d) !important;
}

.ds-site-field-message {
  display: block;
  margin-top: 5px;
  color: var(--ds-field-error, #c83d4d);
  font-size: 12px;
  line-height: 1.35;
}

.ds-site-field-message[hidden] {
  display: none;
}

.ds-site-field-icon-container {
  position: relative;
}

.ds-site-field-icon-container > .ds-site-field-success-icon {
  z-index: 2;
  right: 16px;
  color: var(--ds-field-success, #29845d);
}

.ds-site-field-icon-container > .form-control,
.ds-site-field-icon-container > .form-select {
  padding-right: 44px;
}

.ds-site-field-icon-container > textarea.form-control ~ .ds-site-field-success-icon {
  top: 16px;
  transform: scale(.88);
}

.ds-site-textarea-icon-container > .ds-site-field-success-icon {
  right: calc(16px + var(--bs-gutter-x, 0px) * .5);
}

.ds-site-field-icon-container > textarea.form-control ~ .ds-site-field-success-icon.is-visible {
  transform: scale(1);
}

/* End */
/* /local/templates/partner/assets/css/styles.css?178852667491531 */
/* /local/templates/partner/template_styles.css?17884196491501 */
/* /local/components/ds/forms.validation/templates/.default/assets/fields.css?178661988416694 */
