/* FAST V29_r7 - isolated training-popup styles; no global header/footer overrides. */
#header .header-top .fast-r7-topbar-parent { position: relative !important; }
.fast-r7-education-trigger {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 24;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 31px; padding: 4px 12px; border: 1px solid #777f86;
  border-radius: 8px; background: #292c2f; color: #fff !important;
  box-shadow: none; white-space: nowrap; font: 600 12px/1.2 'Open Sans', Arial, sans-serif;
  letter-spacing: 0; cursor: pointer;
}
.fast-r7-education-trigger:hover,
.fast-r7-education-trigger:focus-visible {
  background: #4a4e53; border-color: #b7bec4; color: #fff !important;
}
.fast-r7-education-trigger svg { display: block; width: 17px; height: 17px; flex-shrink: 0; }
#fast-r7-education-dialog[hidden] { display: none !important; }
#fast-r7-education-dialog {
  position: fixed; inset: 0; z-index: 2147481000;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: rgba(10,12,15,.74); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
#fast-r7-education-dialog .fast-r7-dialog-panel {
  display: flex; flex-direction: column;
  width: min(1090px, 100%); height: min(91dvh, 900px); min-height: min(440px, 85dvh);
  overflow: hidden; border-radius: 14px; border: 1px solid #d2d5d8;
  background: #f4f5f6; box-shadow: 0 30px 95px rgba(0,0,0,.38);
}
#fast-r7-education-dialog .fast-r7-dialog-header {
  flex: none; display: flex; align-items: center; gap: 15px;
  padding: 13px 18px; background: #202326; color: #fff;
}
#fast-r7-education-dialog .fast-r7-dialog-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px; background: #34383d;
}
#fast-r7-education-dialog .fast-r7-dialog-icon svg { width: 20px; height: 20px; }
#fast-r7-education-dialog .fast-r7-dialog-copy { flex: 1; min-width: 0; }
#fast-r7-education-dialog .fast-r7-dialog-copy h2 { margin: 0 !important; color: #fff !important; font: 650 18px/1.3 'Open Sans', Arial, sans-serif !important; }
#fast-r7-education-dialog .fast-r7-dialog-copy p { margin: 2px 0 0 !important; color: #cfd3d8 !important; font: 400 12px/1.35 'Open Sans', Arial, sans-serif !important; }
#fast-r7-education-dialog .fast-r7-dialog-close {
  width: 37px; height: 37px; flex-shrink: 0; border: 1px solid #5a6066;
  border-radius: 9px; background: #34383d; color: white !important;
  font: 400 26px/1 Arial,sans-serif; cursor: pointer;
}
#fast-r7-education-dialog .fast-r7-dialog-close:hover { background: #565c62; }
#fast-r7-education-dialog .fast-r7-dialog-frame { display: block; width: 100%; height: 100%; min-height: 0; flex: 1; border: 0; background: #f4f5f6; }
#fast-r7-education-dialog .fast-r7-dialog-bottom {
  flex-shrink: 0; background: #fff; border-top: 1px solid #e1e3e6;
  padding: 7px 18px; text-align: right; font: 400 12px/1.4 'Open Sans', Arial, sans-serif;
}
#fast-r7-education-dialog .fast-r7-dialog-bottom a { color: #424952; text-decoration: underline; }
html.fast-r7-dialog-open { overflow: hidden; }
@media (max-width: 991px) {
  .fast-r7-education-trigger.fast-r7-mobile-fallback {
    position: fixed; top: auto; right: auto !important; left: 12px; bottom: 16px;
    z-index: 9995; transform: none; background: #202326; border-color: #606870;
    min-height: 43px; box-shadow: 0 8px 24px rgba(0,0,0,.23);
  }
  html.fast-r7-dialog-open .fast-r7-education-trigger { visibility: hidden; }
}
@media (max-width: 620px) {
  #fast-r7-education-dialog { padding: 0; background: #f3f4f5; }
  #fast-r7-education-dialog .fast-r7-dialog-panel { border: 0; border-radius: 0; width: 100%; height: 100dvh; max-height: none; }
  #fast-r7-education-dialog .fast-r7-dialog-header { padding: 10px 13px; gap: 10px; }
  #fast-r7-education-dialog .fast-r7-dialog-copy h2 { font-size: 16px !important; }
  #fast-r7-education-dialog .fast-r7-dialog-copy p { font-size: 11px !important; }
  #fast-r7-education-dialog .fast-r7-dialog-bottom { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { #fast-r7-education-dialog { backdrop-filter: none; -webkit-backdrop-filter: none; } }
