/* MD Not Aware v10.38 — compact access cards and unframed Resources disclosure.
   Scope: homepage entry screens only. No study-room or content changes. */
#usergate .mdnaHomeStack > .userbox,
#usergate:has(#sessionLoginArea:not([hidden])) .mdnaHomeStack > .userbox {
  box-sizing:border-box!important;
  width:min(580px,100%)!important;
  max-width:580px!important;
  min-width:0!important;
  align-self:center!important;
  margin:0 auto!important;
  padding:20px 28px 22px!important;
}
/* Make the disclosure a simple text-and-chevron control, not a small card. */
#usergate .mdnaHomeStack > .mdnaResourceSection {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  margin:clamp(22px,3.4vh,34px) 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#usergate .mdnaResourceSection .mdnaResourcesDisclosure { width:100%; min-width:0; }
#usergate .mdnaResourceSection .mdnaResourcesToggle,
#usergate .mdnaResourceSection .mdnaResourcesDisclosure:not([open]) .mdnaResourcesToggle {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  box-sizing:border-box!important;
  width:auto!important;
  min-height:27px!important;
  padding:3px 2px!important;
  margin:0 0 9px 2px!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  color:#f2f7fd!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
#usergate .mdnaResourceSection .mdnaResourcesToggle:hover {
  background:none!important;
  color:#f1d5a0!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
#usergate .mdnaResourceSection .mdnaResourcesToggle:focus-visible {
  outline:2px solid #327eb1!important;
  outline-offset:3px!important;
}
#usergate .mdnaResourceSection .mdnaResourcesChevron {
  width:9px!important;
  height:9px!important;
  margin:0 3px 3px 0!important;
}
/* The white Resources card exists only for expanded content. */
#usergate .mdnaHomeStack > .mdnaResourceSection .mdnaResourcesDisclosure[open] > .loginClinicalHub {
  box-sizing:border-box!important;
  padding:10px!important;
  background:#fff!important;
  border:1px solid #e5edf2!important;
  border-radius:19px!important;
  box-shadow:0 13px 34px #0c173b31!important;
}
#usergate .mdnaHomeStack > .mdnaResourceSection .mdnaResourcesDisclosure:not([open]) > .loginClinicalHub {
  display:none!important;
}
@media (max-width:700px) {
  #usergate .mdnaHomeStack > .userbox,
  #usergate:has(#sessionLoginArea:not([hidden])) .mdnaHomeStack > .userbox {
    width:100%!important;
    max-width:580px!important;
    padding:17px 16px 19px!important;
  }
  #usergate .mdnaHomeStack > .mdnaResourceSection .mdnaResourcesDisclosure[open] > .loginClinicalHub {
    padding:8px!important;
  }
}
