/* Approved portal renovation. Structure and presentation only. */
.admin-header-brand {
  display: none;
}
.admin-drawer-close {
  display: none;
}
@media screen {
  body:not(.patient-view):not(.platform-view) .sidebar {
    width: 296px;
    padding: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    background: #ffffff;
    color: var(--ink);
    overflow: hidden;
    border-right: 1px solid var(--line);
  }
  body:not(.patient-view):not(.platform-view) .workspace {
    margin-left: 296px;
  }
  .practice-rail {
    background: var(--navy);
    color: #b9d0e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 8px;
    gap: 32px;
    min-height: 0;
  }
  .practice-rail > a:last-child {
    margin-top: auto;
  }
  .practice-rail a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .practice-rail a:hover,
  .practice-rail a.active {
    color: #ffffff;
    background: #147bff40;
  }
  .practice-rail nav {
    display: grid;
    gap: 14px;
  }
  .practice-rail .rail-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: 0 0 44px;
    padding: 0;
    margin-inline: auto;
    line-height: 0;
    background: #ffffff;
    border-radius: 14px;
  }
  .practice-rail .rail-brand img {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }
  .practice-context {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow-y: auto;
    padding: 24px 16px;
    scrollbar-width: thin;
    overscroll-behavior: contain;
    min-width: 0;
  }
  .context-brand {
    display: block;
    margin-bottom: 28px;
  }
  .context-brand .real-logo {
    width: 100%;
    height: 47px;
  }
  .context-practice {
    display: grid;
    gap: 7px;
    border-block: 1px solid var(--line);
    padding-block: 20px;
    margin-bottom: 20px;
  }
  .context-practice strong {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .context-practice small {
    color: var(--muted);
    font-size: 11px;
  }
  .context-practice .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .context-navigation section {
    margin-bottom: 22px;
  }
  .context-navigation h2 {
    margin: 0 10px 8px;
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #6b7e93;
  }
  body .sidebar .context-navigation a {
    color: #425971;
    min-height: 42px;
    padding: 10px;
    margin-block: 2px;
    font-size: 11px;
    border: 0;
  }
  body .sidebar .context-navigation a:hover {
    color: var(--action);
    background: #f0f6fd;
  }
  body .sidebar .context-navigation a.active {
    color: #095fae;
    background: #e6f2ff;
    box-shadow: none;
    font-weight: 650;
  }
  body .sidebar .context-navigation a.active::before {
    display: none;
  }
  body .sidebar .context-navigation a.active svg {
    color: #0879c8;
  }
  .context-footer {
    display: grid;
    gap: 6px;
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .context-footer a {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 8px;
    font-size: 12px;
  }
  .context-footer small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px;
  }
  .practice-context .org-switch {
    color: var(--muted);
    font-size: 11px;
  }
  body .sidebar .practice-context .org-switch select {
    color: var(--ink);
    background: #ffffff;
    border-color: var(--line);
    width: 100%;
    font-size: 11px;
  }
  .practice-context :focus-visible {
    outline-color: var(--action);
  }
  /* Administration is a horizontal workspace, not a recolored practice sidebar. */
  body.platform-view {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100dvh;
    grid-template-rows: auto auto 1fr auto;
  }
  body.platform-view .workspace {
    display: contents;
    margin-left: 0;
  }
  body.platform-view .topbar {
    grid-row: 1;
    grid-column: 1;
    padding: 18px 40px;
    min-height: 82px;
    top: 0;
    z-index: 30;
  }
  body.platform-view .sidebar {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: block;
    padding: 0 40px;
    color: var(--ink);
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
    transform: none;
    box-shadow: none;
    z-index: 20;
  }
  body.platform-view main {
    grid-row: 3;
    grid-column: 1;
    padding: 32px 40px 48px;
    max-width: 1680px;
    width: 100%;
  }
  body.platform-view footer {
    grid-row: 4;
    grid-column: 1;
  }
  body.platform-view .admin-header-brand {
    display: block;
    flex-shrink: 0;
  }
  .admin-header-brand .real-logo {
    width: 185px;
    height: 44px;
  }
  body.platform-view .breadcrumb {
    margin-right: auto;
    color: var(--muted);
  }
  body.platform-view .topbar .location-select {
    display: none;
  }
  .admin-modules {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    overflow-x: auto;
  }
  .admin-modules a {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 11px 17px;
    min-height: 44px;
    white-space: nowrap;
    border-radius: 9px;
    color: #405772;
    font-size: 12px;
    font-weight: 600;
  }
  .admin-modules a:hover {
    background: #f0f6fd;
  }
  .admin-modules a[aria-current] {
    background: var(--navy);
    color: #ffffff;
  }
  .admin-modules a[aria-current] svg {
    color: #53dee1;
  }
  .admin-modules .admin-account {
    margin-left: auto;
  }
  body.platform-view .sidebar .admin-context-nav {
    display: flex;
    gap: 22px;
    padding: 0;
    overflow-x: auto;
  }
  body.platform-view .sidebar .admin-context-nav a {
    position: relative;
    color: #5b7087;
    font-size: 12px;
    min-height: 48px;
    padding: 10px 4px 14px;
    border: 0;
    border-radius: 0;
    white-space: nowrap;
  }
  body.platform-view .sidebar .admin-context-nav a.active {
    color: var(--action);
    background: transparent;
    box-shadow: none;
  }
  body.platform-view .sidebar .admin-context-nav a.active::before {
    inset: auto 0 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
  }
  body.platform-view .sidebar .admin-context-nav a.active svg {
    color: var(--action);
  }
  body.platform-view .sidebar .admin-context-nav a:hover {
    background: transparent;
    color: var(--action);
  }
  body.platform-view .sidebar :focus-visible {
    outline-color: var(--action);
  }
  /* Shared access flow: editorial panel + clean functional form. */
  .patient-view:has(.dental-auth) {
    background: #f5f9fc;
  }
  .patient-view:has(.dental-auth) main {
    max-width: 1440px;
  }
  .dental-auth {
    width: min(100%, 1080px);
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.3fr);
    border: 1px solid #d5e2ed;
    border-radius: 18px;
    margin: 36px auto 64px;
    box-shadow: 0 16px 48px #0a1a2f09;
  }
  .dental-auth-brand {
    align-items: flex-start;
    text-align: left;
    background: #0a1a2f;
    padding: 46px 34px;
    justify-content: flex-start;
  }
  .dental-auth-brand > .real-logo {
    max-width: 230px;
  }
  .dental-auth-message {
    margin-top: 44px;
  }
  .dental-auth-message h1 {
    font-size: 32px;
    line-height: 1.18;
    letter-spacing: -1px;
  }
  .dental-auth-message p {
    color: #c6d7e8;
    font-size: 14px;
    line-height: 1.85;
  }
  .dental-auth-brand .auth-illustration {
    position: relative;
    width: 100%;
    max-width: 230px;
    margin-top: 30px;
    opacity: 0.95;
  }
  .auth-waves {
    display: none;
  }
  .dental-auth-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    background: #ffffff;
  }
  .dental-auth-content h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .dental-auth-content .button.primary {
    background: var(--action);
    border: 1px solid var(--action);
    box-shadow: none;
    border-radius: 9px;
    min-height: 48px;
  }
  .dental-auth-content .button.primary:hover {
    background: var(--action-hover);
  }
  .auth-input-shell {
    position: relative;
    display: block;
    isolation: isolate;
  }
  .auth-input-shell > svg {
    position: absolute;
    z-index: 2;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    stroke: var(--action);
  }
  .dental-auth-content .auth-input-shell input {
    padding-left: 48px;
    padding-right: 52px;
    min-height: 50px;
    line-height: 1.5;
  }
  .auth-input-shell .auth-password-toggle {
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 9px;
    display: grid;
    place-items: center;
    background: transparent;
  }
  .auth-password-toggle svg {
    position: static;
    transform: none;
    width: 20px;
    height: 20px;
  }
  .dental-auth-content #recovery-form > .button {
    margin-top: 24px;
  }
  .dental-auth-content label {
    line-height: 1.6;
  }
  .saved-account-card {
    border-radius: 10px;
    box-shadow: none;
    background: #f9fbfe;
  }
  /* Verified identity choices remain separate buttons with the original handlers. */
  .workspace-picker {
    width: min(100%, 840px);
    margin: 52px auto 80px;
  }
  .workspace-picker .page-heading {
    display: block;
    text-align: center;
    margin-bottom: 32px;
  }
  .workspace-picker .page-heading .actions {
    justify-content: center;
    padding-top: 18px;
  }
  .workspace-picker .subtitle {
    margin-inline: auto;
  }
  .workspace-choice-list {
    display: grid;
    gap: 16px;
  }
  .workspace-choice {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
    padding: 26px;
    text-align: left;
    background: #ffffff;
    border: 1px solid #cfdeec;
    border-radius: 14px;
    color: var(--ink);
    box-shadow: 0 3px 16px #0a1a2f04;
  }
  .workspace-choice:hover {
    border-color: #75adeb;
    background: #f7fbff;
  }
  .workspace-choice-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    color: #008d9e;
    background: #e6f9fa;
    border-radius: 12px;
  }
  .workspace-choice-icon svg {
    width: 28px;
    height: 28px;
  }
  .workspace-choice-copy {
    display: grid;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }
  .workspace-choice-copy strong {
    font-size: 17px;
    overflow-wrap: anywhere;
  }
  .workspace-choice-copy > span {
    font-size: 13px;
    color: var(--muted);
  }
  .workspace-choice-copy small {
    justify-self: start;
    font-size: 10px;
    color: #1164aa;
    background: #e6f2ff;
    padding: 3px 8px;
    border-radius: 5px;
  }
  .workspace-choice > svg {
    flex-shrink: 0;
    color: #526d88;
  }
  .consumer-identity {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  .consumer-identity .avatar {
    width: 32px;
    height: 32px;
  }
  .care-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
  }
  .care-home-aside {
    display: grid;
    gap: 20px;
  }
  .care-home-aside .panel {
    margin: 0;
  }
  .care-home-aside .panel-body {
    padding: 4px 22px 24px;
  }
  .care-home-aside .care-next {
    background: #f4faff;
  }
  .care-home-aside .family-care {
    background: #e8f9f7;
    border-color: #cbece6;
  }
  .family-care > svg {
    width: 38px;
    height: 38px;
    color: #008c8c;
    margin-bottom: 12px;
  }
  .family-care {
    padding: 24px;
  }
  .family-care h2 {
    font-size: 19px;
    margin-block: 0 9px;
  }
  .family-care p {
    color: #405d67;
    font-size: 13px;
    line-height: 1.7;
  }
  .care-home-layout .area-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    background: #e8f8fa;
    border: 1px solid #c9ebef;
  }
  .care-home-layout .area-form label {
    max-width: none;
  }
  .care-home-layout .doctor-grid,
  .care-home-layout .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-block: 1px solid var(--line);
    padding-block: 10px;
    margin-bottom: 28px;
    background: transparent;
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stat {
    display: flex;
    align-items: center;
    flex: 1 1 180px;
    gap: 14px;
    padding: 12px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    flex-wrap: wrap;
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stat-top {
    font-size: 11px;
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stat-icon {
    display: none;
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stat-value {
    margin: 0;
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stat-value strong {
    font-size: 22px;
  }
  body:not(.patient-view):not(.platform-view) main[data-page='overview'] .stat-foot {
    width: 100%;
    font-size: 11px;
  }
}
@media screen and (max-width: 1100px) {
  .care-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .care-home-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.platform-view .topbar,
  body.platform-view main {
    padding-inline: 24px;
  }
  body.platform-view .sidebar {
    padding-inline: 24px;
  }
  .admin-modules a {
    padding-inline: 12px;
  }
  .consumer-identity > span:last-child {
    display: none;
  }
}
@media screen and (max-width: 760px) {
  body:not(.patient-view):not(.platform-view) .sidebar {
    width: min(310px, calc(100vw - 36px));
    padding: 0;
    grid-template-columns: 60px minmax(0, 1fr);
  }
  body:not(.patient-view):not(.platform-view) .workspace {
    margin-left: 0;
  }
  .practice-context {
    padding: 20px 14px;
  }
  .practice-rail {
    padding-inline: 6px;
  }
  body.platform-view .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, calc(100vw - 40px));
    height: 100dvh;
    padding: 18px;
    transform: translateX(-100%);
    overflow-y: auto;
    z-index: 60;
    border-right: 1px solid var(--line);
    box-shadow: 16px 0 48px #0a1a2f26;
    transition: transform 180ms ease;
  }
  body.platform-view .sidebar.open {
    transform: translateX(0);
  }
  .platform-view .admin-drawer-close {
    display: grid;
    place-items: center;
    margin-left: auto;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
  }
  body.platform-view .sidebar .admin-modules,
  body.platform-view .sidebar .admin-context-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    overflow: visible;
  }
  body.platform-view .sidebar .admin-modules a {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 13px;
  }
  body.platform-view .sidebar .admin-account {
    margin-left: 0;
  }
  body.platform-view .sidebar .admin-context-nav {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 14px;
  }
  body.platform-view .sidebar .admin-context-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }
  body.platform-view .sidebar .admin-context-nav a.active {
    background: var(--soft-blue);
  }
  body.platform-view .sidebar .admin-context-nav a.active::before {
    display: none;
  }
  body.platform-view main {
    padding: 26px 16px;
  }
  body.platform-view .topbar {
    padding: 14px 16px;
    min-height: 72px;
    flex-wrap: wrap;
  }
  body.platform-view .breadcrumb {
    display: none;
  }
  body.platform-view .topbar-right {
    width: auto;
    margin-left: auto;
  }
  .admin-header-brand .real-logo {
    width: 165px;
    height: 42px;
  }
  .admin-modules {
    gap: 4px;
  }
  .admin-modules a {
    font-size: 11px;
    gap: 7px;
    padding-inline: 12px;
  }
  body.platform-view .sidebar .admin-context-nav {
    gap: 20px;
  }
  .dental-auth {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
  }
  .dental-auth-brand {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
  }
  .dental-auth-brand > .real-logo {
    display: none;
  }
  .dental-auth-message {
    margin-top: 0;
  }
  .dental-auth-message h1 {
    font-size: 26px;
  }
  .dental-auth-message p {
    font-size: 12px;
  }
  .dental-auth-brand .auth-illustration {
    max-width: 140px;
    margin: 0;
    justify-self: center;
  }
  .dental-auth-content {
    padding: 30px 24px;
  }
  .dental-auth-content .auth-input-shell input {
    font-size: 16px;
  }
  .workspace-picker {
    margin-block: 28px 48px;
  }
  .workspace-choice {
    gap: 14px;
    padding: 20px 16px;
  }
  .workspace-choice-copy strong {
    font-size: 15px;
  }
  .workspace-choice-copy > span {
    font-size: 12px;
  }
  .workspace-choice-icon {
    width: 44px;
    height: 44px;
  }
  .care-home-layout .doctor-grid,
  .care-home-layout .practice-grid,
  .care-home-aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .care-home-layout .area-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .consumer-header {
    display: flex;
    justify-content: space-between;
  }
}
/* Persistent navigation tree: every permitted subpage stays in the sidebar. */
@media screen {
  .sidebar-welcome {
    padding: 4px 8px 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-welcome > span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 5px;
  }
  .sidebar-welcome strong {
    display: block;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .sidebar-welcome p {
    margin: 8px 0 0;
    color: #526b82;
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  .sidebar-group {
    margin-block: 0 12px;
  }
  .sidebar-group summary {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    min-height: 44px;
    padding: 10px;
    color: #314d68;
    font-size: 12px;
    font-weight: 650;
    border-radius: 8px;
  }
  .sidebar-group summary::-webkit-details-marker {
    display: none;
  }
  .sidebar-group summary:hover {
    background: #f1f6fc;
  }
  .sidebar-group summary > svg:last-child {
    margin-left: auto;
    width: 15px;
    height: 15px;
    transition: transform 150ms;
  }
  .sidebar-group[open] summary > svg:last-child {
    transform: rotate(90deg);
  }
  body.platform-view {
    display: block;
  }
  body.platform-view .workspace {
    display: flex;
    margin-left: 280px;
    min-height: 100dvh;
  }
  body.platform-view .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    height: 100dvh;
    padding: 26px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid var(--line);
    scrollbar-width: thin;
    background: #ffffff;
  }
  body.platform-view .sidebar .admin-tree {
    display: grid;
    gap: 6px;
  }
  body.platform-view .sidebar .admin-tree a {
    color: #49627a;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 12px;
    border-radius: 9px;
    border: 0;
  }
  body.platform-view .sidebar .admin-tree a:hover {
    color: var(--action);
    background: #f1f7fd;
  }
  body.platform-view .sidebar .admin-tree a.active {
    background: #e5f1ff;
    color: var(--action);
    font-weight: 650;
    box-shadow: none;
  }
  body.platform-view .sidebar .admin-tree a.active::before {
    display: none;
  }
  body.platform-view .sidebar .admin-tree a.active svg {
    color: var(--action);
  }
  .admin-tree .sidebar-subpages {
    margin: 2px 0 8px 19px;
    padding-left: 10px;
    border-left: 1px solid #dce6f1;
  }
  body.platform-view .sidebar .admin-tree .sidebar-subpages a {
    font-size: 11px;
  }
  body.platform-view .topbar {
    padding-inline: 28px;
  }
  body:not(.patient-view) .topbar #account-link {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #ffffff;
    color: #52677f;
  }
  body:not(.patient-view) .topbar #account-link:hover {
    color: var(--action);
    background: var(--soft-blue);
  }
  .topbar #menu-toggle {
    order: -2;
    align-self: center;
    align-items: center;
    justify-items: center;
    padding: 0;
    line-height: 1;
  }
  body.platform-view .topbar {
    align-items: center;
  }
  body.platform-view .admin-header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-height: 44px;
    line-height: 0;
  }
  .admin-header-brand .real-logo,
  .topbar #menu-toggle svg {
    display: block;
    margin: 0;
  }
}
@media screen and (max-width: 760px) {
  body.platform-view .workspace {
    margin-left: 0;
  }
  body.platform-view .sidebar {
    width: min(300px, calc(100vw - 40px));
    transform: translateX(-100%);
    z-index: 60;
    padding: 18px;
  }
  body.platform-view .sidebar.open {
    transform: translateX(0);
  }
  body.platform-view .topbar {
    padding: 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .platform-view .admin-header-brand {
    min-width: 0;
  }
  .platform-view .admin-header-brand .real-logo {
    width: clamp(100px, 25vw, 165px);
    height: 40px;
  }
  body.platform-view .topbar-right {
    flex-shrink: 0;
    gap: 4px;
  }
  .sidebar-welcome strong {
    font-size: 18px;
  }
}
@media screen and (max-width: 760px) {
  body:not(.patient-view):not(.platform-view) .topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  body:not(.patient-view):not(.platform-view) .topbar-right {
    order: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: auto;
    margin: 0 0 0 auto;
    gap: 8px;
    flex: 0 1 auto;
  }
  body:not(.patient-view):not(.platform-view) .topbar .location-select {
    margin: 0;
  }
  body:not(.patient-view):not(.platform-view) .topbar .location-select select {
    max-width: 164px;
    min-height: 44px;
  }
  body:not(.patient-view):not(.platform-view) .topbar .breadcrumb {
    order: -1;
    margin: 0 auto 0 0;
    flex: 1 1 auto;
    justify-content: flex-start;
  }
}
@media screen and (max-width: 520px) {
  body:not(.patient-view):not(.platform-view) .topbar-right {
    flex-basis: 100%;
    justify-content: flex-end;
  }
}
@media screen {
  .topbar .location-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
  }
  body .topbar .location-select select {
    appearance: none;
    -webkit-appearance: none;
    width: 174px;
    max-width: 190px;
    min-height: 44px;
    padding: 10px 34px 10px 38px;
    border: 1px solid #cbdcec;
    border-radius: 11px;
    background: #f7fbff;
    color: #294e73;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    text-overflow: ellipsis;
    box-shadow: 0 1px 3px #0a1a2f05;
  }
  body .topbar .location-select select:hover {
    border-color: #8bb9e6;
    background: #eef6ff;
  }
  .topbar .location-select > svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #2769a7;
    pointer-events: none;
    z-index: 1;
  }
  .topbar .location-symbol {
    left: 12px;
  }
  .topbar .location-chevron {
    right: 11px;
  }
  .topbar .location-select select option {
    color: var(--ink);
    background: #ffffff;
    font-weight: 500;
    padding: 12px;
  }
}
@media screen {
  body:not(.patient-view) .topbar #account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    overflow: hidden;
    background: #e5f2ff;
    color: #155c9d;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 0 0 1px #cfdeed;
  }
  body:not(.patient-view) .topbar #account-link:hover {
    box-shadow: 0 0 0 2px #147bff;
  }
  #account-link img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
}
@media print {
  .practice-rail,
  .practice-context,
  .admin-header-brand {
    display: none !important;
  }
}
