/* Интерактивный договор — shared identity based on the soft ИД monogram. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

.id-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #1a1a1e;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.15;
  text-decoration: none;
  border-radius: 4px;
}
.id-brand:hover { text-decoration: none; }
.id-brand:focus-visible { outline: 3px solid #0a84ff; outline-offset: 5px; }
.id-brand__mark {
  display: block;
  width: 42px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
.id-brand__name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.id-brand--dark { color: #ecedf2; }
.id-brand--dark .id-brand__mark { filter: brightness(0) invert(1); }
.id-brand--compact { width: 40px; height: 32px; justify-content: center; }
.id-brand--compact .id-brand__mark { width: 40px; height: 26px; }
.id-brand--large { gap: 14px; }
.id-brand--large .id-brand__mark { width: 56px; height: 37px; }
.id-brand--large .id-brand__name { font-size: 20px; }
.sb-brand.id-brand { display: flex; gap: 10px; padding: 5px 8px 15px; }
.sb-brand.id-brand .id-brand__mark { width: 40px; height: 26px; }
.login-mobile-brand { display: none; margin-bottom: 30px; }
.id-page-heading { display: flex; align-items: center; gap: 18px; min-width: 0; }
.manual-brand { margin-bottom: 22px; }
.sg-head .id-brand { margin-bottom: 18px; }

@media (max-width: 860px) {
  .login-mobile-brand { display: inline-flex; }
  .login-mobile-brand .id-brand__mark { width: 44px; height: 29px; }
  .login-mobile-brand .id-brand__name { font-size: 17px; }
}
@media (max-width: 600px) {
  .id-page-heading { gap: 10px; }
}
