/* BURO OS FONT FIX V4D */
html.os-windows body {
  font-family: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  text-rendering: geometricPrecision;
}

html.os-windows .choice-title,
html.os-windows h1,
html.os-windows h2 {
  font-weight: 650 !important;
  letter-spacing: -0.018em;
  text-shadow: 0 1px 0 rgba(0,0,0,.22), 0 0 10px rgba(255,255,255,.035) !important;
}

html.os-windows .choice-title {
  font-size: 23px !important;
  line-height: 1.16 !important;
}

html.os-windows .choice-sub,
html.os-windows .subtitle,
html.os-windows .note,
html.os-windows .back,
html.os-windows .small {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

html.os-windows .divider {
  font-weight: 700 !important;
  letter-spacing: .30em !important;
}

html.os-windows input {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  font-weight: 400 !important;
}

html.os-windows button {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

html.os-windows .choice-icon,
html.os-windows .role-icon img {
  object-fit: contain !important;
  object-position: center !important;
}

html.os-apple body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif !important;
}

html.os-android body {
  font-family: Roboto, "Noto Sans", Arial, sans-serif !important;
}

/* BURO ENTRY ICON ALIGN V1 */
.choice {
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr) 34px !important;
  column-gap: 20px !important;
  align-items: center !important;
}

.choice-icon {
  width: 112px !important;
  height: 112px !important;
  max-width: 112px !important;
  max-height: 112px !important;
  justify-self: center !important;
  align-self: center !important;
  object-fit: contain !important;
  object-position: center !important;
}

.choice-text {
  justify-self: start !important;
  align-self: center !important;
  min-width: 0 !important;
}

.choice .arrow {
  justify-self: end !important;
  align-self: center !important;
}

@media (max-width: 640px) {
  .choice {
    grid-template-columns: 118px minmax(0, 1fr) 28px !important;
    column-gap: 16px !important;
  }

  .choice-icon {
    width: 104px !important;
    height: 104px !important;
    max-width: 104px !important;
    max-height: 104px !important;
  }
}

@media (max-width: 430px) {
  .choice {
    grid-template-columns: 96px minmax(0, 1fr) 24px !important;
    column-gap: 12px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .choice-icon {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
  }
}


/* BURO ENTRY ICON VISUAL CENTER V2 */
.choice {
  grid-template-columns: 128px minmax(0, 1fr) 34px !important;
}

.choice-icon[src*="bp-role-admin-v3"] {
  width: 104px !important;
  height: 104px !important;
  max-width: 104px !important;
  max-height: 104px !important;
  justify-self: center !important;
  transform: translateX(0) !important;
}

.choice-icon[src*="bp-role-user-v3"] {
  width: 106px !important;
  height: 106px !important;
  max-width: 106px !important;
  max-height: 106px !important;
  justify-self: center !important;
  transform: translateX(10px) !important;
}

@media (max-width: 640px) {
  .choice {
    grid-template-columns: 118px minmax(0, 1fr) 28px !important;
  }

  .choice-icon[src*="bp-role-admin-v3"] {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    transform: translateX(0) !important;
  }

  .choice-icon[src*="bp-role-user-v3"] {
    width: 98px !important;
    height: 98px !important;
    max-width: 98px !important;
    max-height: 98px !important;
    transform: translateX(9px) !important;
  }
}

@media (max-width: 430px) {
  .choice {
    grid-template-columns: 96px minmax(0, 1fr) 24px !important;
  }

  .choice-icon[src*="bp-role-admin-v3"] {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    transform: translateX(0) !important;
  }

  .choice-icon[src*="bp-role-user-v3"] {
    width: 86px !important;
    height: 86px !important;
    max-width: 86px !important;
    max-height: 86px !important;
    transform: translateX(8px) !important;
  }
}


/* BURO ENTRY ICON COMPACT V3 */
.choice {
  grid-template-columns: 116px minmax(0, 1fr) 34px !important;
  column-gap: 16px !important;
}

.choice-icon[src*="bp-role-admin-v3"] {
  width: 94px !important;
  height: 94px !important;
  max-width: 94px !important;
  max-height: 94px !important;
  transform: translateX(0) !important;
}

.choice-icon[src*="bp-role-user-v3"] {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  transform: translateX(8px) !important;
}

@media (max-width: 640px) {
  .choice {
    grid-template-columns: 106px minmax(0, 1fr) 28px !important;
    column-gap: 14px !important;
  }

  .choice-icon[src*="bp-role-admin-v3"] {
    width: 86px !important;
    height: 86px !important;
    max-width: 86px !important;
    max-height: 86px !important;
  }

  .choice-icon[src*="bp-role-user-v3"] {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    transform: translateX(7px) !important;
  }
}

@media (max-width: 430px) {
  .choice {
    grid-template-columns: 86px minmax(0, 1fr) 24px !important;
    column-gap: 10px !important;
  }

  .choice-icon[src*="bp-role-admin-v3"] {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
  }

  .choice-icon[src*="bp-role-user-v3"] {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    transform: translateX(6px) !important;
  }
}


/* BURO WINDOWS FONT WEIGHT LIGHTER V4 */
html.os-windows .choice-title,
html.os-windows h1,
html.os-windows h2 {
  font-weight: 500 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.14), 0 0 6px rgba(255,255,255,.025) !important;
}

html.os-windows .choice-sub,
html.os-windows .subtitle,
html.os-windows .note,
html.os-windows .back,
html.os-windows .small,
html.os-windows input {
  font-weight: 350 !important;
}

html.os-windows button,
html.os-windows .choice .arrow {
  font-weight: 500 !important;
}

html.os-windows .divider {
  font-weight: 500 !important;
}


/* BURO ENTRY ARROW CENTER V1 */
.choice {
  position: relative !important;
  grid-template-columns: 116px minmax(0, 1fr) !important;
  padding-right: 58px !important;
}

.choice .arrow {
  position: absolute !important;
  right: 26px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  .choice {
    grid-template-columns: 106px minmax(0, 1fr) !important;
    padding-right: 52px !important;
  }

  .choice .arrow {
    right: 22px !important;
    height: 40px !important;
  }
}

@media (max-width: 430px) {
  .choice {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    padding-right: 44px !important;
  }

  .choice .arrow {
    right: 18px !important;
    height: 36px !important;
  }
}


/* BURO ENTRY ARROW CENTER V1 ROLLBACK + VERTICAL ALIGN V2 */
.choice {
  position: static !important;
  display: grid !important;
  grid-template-columns: 116px minmax(0, 1fr) 34px !important;
  column-gap: 16px !important;
  align-items: center !important;
  padding-right: 24px !important;
}

.choice-icon {
  align-self: center !important;
  justify-self: center !important;
}

.choice-text {
  align-self: center !important;
  justify-self: start !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.choice .arrow {
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

@media (max-width: 640px) {
  .choice {
    grid-template-columns: 106px minmax(0, 1fr) 28px !important;
    column-gap: 14px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 430px) {
  .choice {
    grid-template-columns: 86px minmax(0, 1fr) 24px !important;
    column-gap: 10px !important;
    padding-right: 18px !important;
  }
}


/* BURO ENTRY ARROW VISUAL VERTICAL CENTER V3 */
.choice .arrow {
  position: relative !important;
  top: -5px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 640px) {
  .choice .arrow {
    top: -4px !important;
  }
}

@media (max-width: 430px) {
  .choice .arrow {
    top: -3px !important;
  }
}


/* AMN REAL TOPBAR FONT PARITY V1 */
html.os-windows .buro-btn,
html.os-windows .buro-select,
html.os-windows .buro-actions a,
html.os-windows .buro-actions select {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
}
















@media (max-width: 700px) {







}


/* BURO TECH INFO MODAL UNIFIED V3
   Сведения используют ту же архитектуру модалок, что Правила и Бланки. */
#buroTechInfoOverlay.buro-tech-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  background: rgba(2,6,23,.72) !important;
  backdrop-filter: blur(8px) !important;
}

#buroTechInfoOverlay.buro-tech-overlay[data-open="1"] {
  display: flex !important;
}

#buroTechInfoOverlay .buro-tech-card {
  width: min(660px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 36px) !important;
  overflow: auto !important;
  padding: 0 !important;
  border-radius: 22px !important;
  border: 1px solid rgba(148,163,184,.28) !important;
  background: #0f172a !important;
  color: #e5e7eb !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.60) !important;
  text-align: left !important;
}

#buroTechInfoOverlay .buro-tech-head {
  margin: 0 !important;
  padding: 18px 18px 16px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  background: linear-gradient(135deg, rgba(37,99,235,.20), transparent 52%) !important;
  display: block !important;
  text-align: left !important;
}

#buroTechInfoOverlay .buro-tech-head h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #e5edf8 !important;
}

#buroTechInfoOverlay .buro-tech-head .muted,
#buroTechInfoOverlay .buro-tech-subtitle {
  margin: 14px 0 0 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #9ca3af !important;
}

#buroTechInfoOverlay .buro-tech-body {
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

#buroTechInfoOverlay .buro-tech-section {
  border: 1px solid rgba(148,163,184,.24) !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  background: rgba(30,41,59,.72) !important;
}

#buroTechInfoOverlay .buro-tech-section-title {
  margin: 0 0 14px 0 !important;
  color: #e5edf8 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

#buroTechInfoOverlay .buro-tech-row {
  display: grid !important;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr) !important;
  gap: 14px !important;
  padding: 10px 0 !important;
  border-top: 1px solid rgba(148,163,184,.16) !important;
}

#buroTechInfoOverlay .buro-tech-row:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

#buroTechInfoOverlay .buro-tech-row:last-child {
  padding-bottom: 0 !important;
}

#buroTechInfoOverlay .buro-tech-label {
  color: #9ca3af !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

#buroTechInfoOverlay .buro-tech-value {
  color: #e5e7eb !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

#buroTechInfoOverlay .buro-tech-foot {
  margin: 0 !important;
  padding: 14px 18px 18px 18px !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
}

#buroTechInfoOverlay .buro-tech-close {
  min-width: 126px !important;
}

@media (max-width: 720px) {
  #buroTechInfoOverlay.buro-tech-overlay {
    padding: 11px !important;
  }

  #buroTechInfoOverlay .buro-tech-card {
    width: calc(100vw - 22px) !important;
    max-height: calc(100vh - 22px) !important;
  }

  #buroTechInfoOverlay .buro-tech-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  #buroTechInfoOverlay .buro-tech-foot {
    flex-direction: column !important;
  }

  #buroTechInfoOverlay .buro-tech-close {
    width: 100% !important;
  }
}

/* BURO TECH MODAL BUTTON RADIUS TOKEN V2 */
#buroTechInfoOverlay button,
#buroTechInfoOverlay .buro-btn,
#buroTechInfoOverlay .buro-modal-close,
#buroTechInfoOverlay .buro-tech-close {
  border-radius: var(--buro-button-radius, 10px) !important;
}

/* BURO PORTAL LOGIN ACTIONS UNIFY V1 */
.portal-login-actions {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(155,170,195,.14);
}

.portal-login-actions .back {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.portal-login-actions .back + .back {
  margin-top: 16px;
}
