/* MediMeet Rooms — approved header cleanup. Loaded AFTER all prior room CSS.
   No change to original account and patient controls; no new actions. */
body.mm-rooms .page-head {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  flex-wrap: wrap;
  padding-block: 9px;
}
body.mm-rooms .page-head .wm { margin: 0; flex: 0 0 auto; }
body.mm-rooms .page-head .wm img { display: block; max-height: 58px; width: auto; max-width: 190px; object-fit: contain; }
body.mm-rooms .page-head .lede { display: none; }
body.mm-rooms .page-head .signed-in-nav {
  display: flex; align-items: center; gap: 8px;
  flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-start;
  position: static; margin: 0; min-width: 0;
}
body.mm-rooms .page-head .signed-in-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 17px; border: 1px solid #d5dfef;
  border-radius: 9px; background: #fff; color: #14233f;
  font: 700 clamp(.86rem, .95vw, 1rem)/1.3 system-ui, sans-serif;
  text-decoration: none; white-space: nowrap;
}
body.mm-rooms .page-head .signed-in-nav a[aria-current="page"] {
  border-color: #5688f2; background: #ebf2ff; color: #143c92;
}
body.mm-rooms .page-head .signed-in-nav a:focus-visible,
body.mm-rooms .page-head .signed-in-nav a:hover {
  outline: 2px solid #5688f2; outline-offset: 1px;
}
body.mm-rooms .page-head .who {
  flex: 0 1 auto; min-width: 0; margin: 0 0 0 auto;
}
body.mm-rooms #patient-visit-launcher { display: none !important; }
body.mm-rooms .app-header { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; justify-content: flex-start; }
body.mm-rooms .app-header > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px; min-width: 0; }
body.mm-rooms .app-header h1 { margin: 0; line-height: 1.25; font-size: clamp(1.45rem, 2.4vw, 2rem); }
body.mm-rooms .app-header .rooms-subtitle { margin: 0; color: #465875; font-size: .9rem; font-weight: 450; }
body.mm-rooms .app-header nav[aria-label="Staff tools"] { display: none; } /* same links are in top navigation */
@media(max-width:850px) {
  body.mm-rooms .page-head .signed-in-nav { flex: 1 0 100%; order: 2; }
  body.mm-rooms .page-head .signed-in-nav a { padding: 6px 10px; min-height: 36px; }
  body.mm-rooms .page-head .who { margin-left: auto; }
  body.mm-rooms .app-header > div:first-child { gap: 4px 10px; }
}
