.role-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: 100dvh;
  width: 100%;
}
.role-sidebar {
  grid-area: 1 / 1 / 3 / 2;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  overflow: auto;
  background: #fff;
  border-right: 1px solid #dce6df;
  padding: 22px 17px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.role-sidebar .logo, .role-sidebar .brand { margin-inline: 6px; }
.role-sidebar .brand-mark { background: #22594d; color: #d4f4e7; }
.role-shell > main { grid-area: 1 / 2; min-width: 0; }
.role-shell > footer { grid-area: 2 / 2; min-width: 0; }
.role-shell > .sr { grid-area: 1 / 2; }
.role-sidebar .role-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 8px;
  border-block: 1px solid #e4ece6;
}
.role-sidebar .role-identity strong, .role-sidebar .role-identity small { display: block; }
.role-sidebar .role-identity strong { font-size: 15px; line-height: 1.2; }
.role-sidebar .role-identity small { font-size: 13px; color: #4f645e; }
.role-sidebar .avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #215747;
  background: #e4f1e8;
  font-size: 13px;
  font-weight: 750;
}
.role-nav, .role-nav-group { display: grid; gap: 3px; }
.role-nav { gap: 13px; }
.role-nav-heading { margin: 0 0 2px 9px; color: #4f645e; font-size: 11px; font-weight: 760; letter-spacing: .10em; }
.role-nav :is(a, button), .role-sidebar-foot :is(a, button) {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #264a40;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}
.role-nav :is(a, button):hover, .role-sidebar-foot :is(a, button):hover { background: #f0f6f2; }
.role-nav [aria-current="page"] { background: #e1f2e9; color: #184c3d; font-weight: 760; }
.role-sidebar .icon { width: 18px; height: 18px; }
.role-sidebar-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid #e4ece6; }
.role-shell > .wrap { --gutter: clamp(22px, 4vw, 52px); }
.role-shell > .workspace { padding-top: 2px; }
.role-shell .page-title h1 { overflow-wrap: anywhere; }
.role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) and (max-width: 1100px) {
  .role-shell .layout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .role-shell { grid-template-columns: 184px minmax(0, 1fr); }
  .role-sidebar { padding-inline: 11px; }
  .role-sidebar .role-identity { padding-inline: 5px; }
}
@media (max-width: 600px) {
  .role-shell { display: flex; flex-direction: column; }
  .role-sidebar { position: static; width: 100%; height: auto; overflow: visible; border-right: 0; border-bottom: 1px solid #dce6df; gap: 12px; padding: 14px 18px; }
  .role-sidebar .role-identity { border: 0; padding-block: 0; }
  .role-nav { gap: 7px; }
  .role-nav-group, .role-sidebar-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-nav-heading { grid-column: 1 / -1; }
  .role-sidebar-foot { display: grid; }
}
@media (max-width: 540px) {
  .role-grid { grid-template-columns: 1fr; }
}
.physician-workspace .role-shell {
  display: grid;
}
.physician-workspace .role-sidebar { gap: 10px; padding-block: 13px; }
.physician-workspace .role-identity { padding-block: 8px; }
.role-switch-link { display: inline-block; margin-top: 3px; color: #215747; font-size: 13px; font-weight: 720; }
.physician-workspace .role-nav { gap: 7px; }
.physician-workspace .role-nav-group { gap: 1px; }
.physician-workspace .role-nav :is(a, button) { min-height: 32px; }
@media (max-width: 600px) {
  .physician-workspace .role-shell { display: flex; }
}
