/* The dossier header is the page header; existing workspace controls live inside it. */
body:has(.doctor-profile-reference) .shell {
  width:100%;max-width:none;margin:0;padding:0 0 var(--nav-clearance,100px);min-height:100dvh;
}
body:has(.doctor-profile-reference) #content {min-width:0;padding:20px clamp(14px,1.8vw,28px) 28px;animation:none;transform:none}
@media(max-width:620px) {body:has(.doctor-profile-reference) #content {padding:10px 10px 20px}}
body:has(.doctor-profile-reference) .shell>.notice:not([hidden]) {
  position:fixed;z-index:45;right:20px;bottom:calc(var(--nav-clearance,100px) + 16px);
  width:min(420px,calc(100vw - 40px));margin:0;box-shadow:0 8px 32px #0002;
}
body:has(.doctor-profile-reference) .shell>#pending-notice:not([hidden]) {margin:12px 24px}
@media screen and (min-width:1180px) {
  body:has(#navigation:not([hidden])):has(.doctor-profile-reference) .shell {
    width:auto;margin:0 0 0 var(--desktop-rail-width,74px);padding:0;min-height:100dvh;
  }
  body:has(.doctor-profile-reference) .shell>.notice:not([hidden]) {bottom:20px}
}
