/* 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;
}

/* BURO UNIVERSAL TECH INFO CSS V4 EXACT BLANKS HEADER */
/* Mirrors Бланки modal layout: compact title-only header, content body, bottom-right footer close. */
.buro-tech-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(2,6,23,.72) !important;
  backdrop-filter: blur(8px) !important;
}

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

.buro-tech-card {
  width: min(880px, 94vw) !important;
  max-height: 88vh !important;
  overflow: auto !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 18px !important;
  padding: 0 !important;
  background: #0f172a !important;
  color: #e5e7eb !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.60) !important;
  text-align: left !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, Arial, sans-serif !important;
}

.buro-tech-head {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  align-items: flex-start !important;
  padding: 16px 18px !important;
  min-height: unset !important;
  height: auto !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  background: linear-gradient(135deg, rgba(37,99,235,.20), transparent 52%) !important;
  text-align: left !important;
}

.buro-tech-titlebox {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.buro-tech-title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #e5e7eb !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.buro-tech-body {
  padding: 16px 18px 8px !important;
  text-align: left !important;
}

.buro-tech-foot {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 10px 18px 16px !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  text-align: right !important;
}

.buro-tech-close,
.buro-tech-close.buro-modal-close {
  flex: 0 0 auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148,163,184,.36) !important;
  background: rgba(15,23,42,.70) !important;
  color: #e5e7eb !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.buro-tech-close::before,
.buro-tech-close::after {
  content: none !important;
  display: none !important;
}

.buro-tech-section {
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.045) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  margin: 0 0 12px !important;
  font-weight: 400 !important;
  text-align: left !important;
}

.buro-tech-section-title {
  margin: 0 0 7px !important;
  color: #e5e7eb !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: left !important;
}

.buro-tech-row {
  display: grid !important;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  text-align: left !important;
}

.buro-tech-row:last-child {
  border-bottom: 0 !important;
}

.buro-tech-label {
  color: #9ca3af !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

.buro-tech-value {
  color: #e5e7eb !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
}

.buro-tech-meta,
.buro-tech-pill {
  display: none !important;
}

@media (max-width: 700px) {
  .buro-tech-overlay {
    padding: 8px !important;
  }

  .buro-tech-card {
    width: calc(100vw - 16px) !important;
    max-height: 90vh !important;
    border-radius: 18px !important;
  }

  .buro-tech-head {
    padding: 16px 18px !important;
  }

  .buro-tech-title {
    font-size: 18px !important;
  }

  .buro-tech-body {
    padding: 16px 18px 8px !important;
  }

  .buro-tech-foot {
    padding: 10px 18px 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .buro-tech-foot .buro-tech-close,
  .buro-tech-foot .buro-modal-close {
    width: 100% !important;
  }

  .buro-tech-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 8px 0 !important;
  }
}
