header .portal-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
header .portal-brand-home {
  display: block;
  color: #18201f;
  text-decoration: none;
}
header .portal-brand-home .portal-brand-name {
  display: block;
  margin: 0;
  font: 30px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
header .portal-brand-home .portal-brand-area {
  display: block;
  margin-top: 7px;
  font: 9px/1.4 Arial, sans-serif;
  letter-spacing: .23em;
}
header .portal-shield-menu {
  position: relative;
  flex: none;
}
header .portal-shield-toggle {
  display: block;
  padding: 0;
  list-style: none;
  cursor: pointer;
  border-radius: 3px;
}
header .portal-shield-toggle::-webkit-details-marker {
  display: none;
}
header .portal-shield-toggle img {
  display: block;
  width: 42px;
  height: 48px;
  object-fit: contain;
}
header .portal-shield-toggle:focus-visible,
header .portal-shield-options a:focus-visible {
  outline: 3px solid #98701e;
  outline-offset: 4px;
}
header .portal-shield-menu[open] .portal-shield-toggle {
  outline: 1px solid #98701e;
  outline-offset: 4px;
}
header .portal-shield-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 80;
  box-sizing: border-box;
  width: min(660px, calc(100vw - 80px));
  max-height: calc(100dvh - 110px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #d8d6cb;
  background: #f8f7ef;
  color: #18201f;
  box-shadow: 0 18px 45px rgb(24 32 31 / 18%);
  text-align: left;
}
header .portal-shield-panel h2 {
  margin: 0 0 5px;
  font: 25px/1.3 Georgia, "Times New Roman", serif;
  letter-spacing: normal;
}
header .portal-shield-panel > p {
  margin: 0 0 17px;
  font: 13px/1.55 Arial, sans-serif;
  color: #667169;
}
header .portal-shield-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
header .portal-shield-options a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d8d6cb;
  background: #fff;
  color: #18201f;
  font: 14px/1.45 Arial, sans-serif;
  text-decoration: none;
}
header .portal-shield-options a:hover {
  border-color: #98701e;
}
header .portal-menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.onedrive-notice {
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 0;
  border-inline-start: 3px solid var(--gold, #8b631b);
  background: var(--notice, #f3ebd7);
  color: var(--ink, #18201f);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.onedrive-notice > summary {
  min-height: 32px;
  font-weight: 700;
  cursor: pointer;
  padding-block: 4px;
}
.onedrive-notice > summary:focus-visible {
  outline: 2px solid #98701e;
  outline-offset: 3px;
}
.onedrive-notice > ol {
  margin: 8px 0 0;
  padding-inline-start: 22px;
}
.onedrive-notice > ol > li + li { margin-top: 4px; }

header .shield-menu-options .oculusdua-icon,
header .portal-shield-options .oculusdua-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 0 0 0 5px;
  float: none;
  object-fit: contain;
  vertical-align: middle;
}

/* Use the compact instructions menu for all signed-in profiles. */
.consultation-header .header-actions #instructions-menu {
  color: #18201f;
  font: 13px/1.45 Arial, sans-serif;
}

.consultation-header .header-actions #instructions-menu > summary {
  min-height: 0;
  padding: 7px 11px;
  border: 1px solid #d8d6cb;
  background: #f8f7ef;
  color: inherit;
  font: 600 12px/1.45 Arial, sans-serif;
  letter-spacing: normal;
}

.consultation-header .header-actions #instructions-menu[open] > summary {
  border-color: #98701e;
}

.consultation-header .header-actions #instructions-menu > .instructions-panel {
  top: calc(100% + 6px);
  left: auto;
  right: 0;
  z-index: 110;
  width: min(252px, calc(100vw - 34px));
  max-height: calc(100dvh - 60px);
  padding: 7px;
  border-color: #d8d6cb;
  background: #f8f7ef;
  color: inherit;
  box-shadow: 0 12px 30px rgb(24 32 31 / 15%);
}

.consultation-header .header-actions #instructions-title {
  margin: 0 0 2px;
  padding: 6px 9px 3px;
  font: 600 13px/1.45 Arial, sans-serif;
}

.consultation-header .header-actions #instructions-menu .shield-menu-options {
  gap: 0;
}

.consultation-header .header-actions #instructions-menu .shield-menu-card {
  padding: 8px 9px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  overflow-wrap: break-word;
}

.consultation-header .header-actions #instructions-menu .shield-menu-card:hover {
  background: #eee8d8;
}

.consultation-header .header-actions #instructions-menu .shield-menu-card strong {
  font-weight: 400;
}

.consultation-header .header-actions #instructions-menu .shield-menu-card span {
  margin-top: 2px;
  font-size: 11px;
}

.consultation-header .header-actions #instructions-menu :is(summary, a):focus-visible {
  outline: 2px solid #98701e;
  outline-offset: -2px;
}

@media (max-width: 780px) {
  .consultation-header .header-actions > .consultation-links {
    position: static;
  }

  .consultation-header .header-actions #instructions-menu {
    position: static;
  }

  .consultation-header .header-actions #instructions-menu > .instructions-panel {
    top: auto;
    left: 0;
    right: auto;
    margin-top: 6px;
    max-height: calc(100dvh - 170px);
  }
}

@media (max-width: 590px) {
  header .portal-brand {
    gap: 12px;
  }
  header .portal-brand-home .portal-brand-name {
    font-size: 23px;
  }
  header .portal-brand-home .portal-brand-area {
    font-size: 8px;
  }
  header .portal-shield-toggle img {
    width: 30px;
    height: 35px;
  }
  header .portal-shield-panel {
    width: calc(100vw - 40px);
    max-height: calc(100dvh - 80px);
    padding: 16px;
  }
  header .portal-shield-options a {
    padding: 12px 14px;
  }
}
