/*
 * AF-Health
 * Frontend Theme Experience Architecture
 *
 * This layer turns every selectable frontend theme into a distinct public
 * and authenticated patient/provider experience. It intentionally loads after
 * the portal safety styles so that themes can change composition without ever
 * hiding navigation, collapsing workspaces, or overlapping clinical content.
 */

/* --------------------------------------------------------------------------
   Shared experience foundation
   -------------------------------------------------------------------------- */
body[class*="frontend-theme-"]:not(.role-admin){
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: var(--theme-page-wash, var(--bg));
}

body[class*="frontend-theme-"]:not(.role-admin) :where(
  .public-main,
  .public-header,
  .public-trust-bar,
  .public-footer,
  .app-shell
){
  position: relative;
  z-index: 2;
}

/* Command palettes are viewport overlays. Keep them out of the shared
   experience stacking rule so opening Quick navigation never makes the
   dialog participate in document flow or inherit a theme's transformed
   workspace geometry. */
body[class*="frontend-theme-"]:not(.role-admin) .command-dialog{
  position: fixed;
  inset: 0;
}

body[class*="frontend-theme-"]:not(.role-admin) :where(
  .public-main,
  .page-content,
  .page-frame,
  .portal-dashboard,
  .doctor-dashboard-page
){
  min-width: 0;
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere{
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  contain: strict;
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere-shape, body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere-line, body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere-grid{
  position: absolute;
  display: block;
  pointer-events: none;
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere-shape{
  border-radius: 50%;
  opacity: .38;
  filter: blur(1px);
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere .shape-one{
  width: clamp(260px, 31vw, 620px);
  aspect-ratio: 1;
  inset: -16vw auto auto -12vw;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere .shape-two{
  width: clamp(220px, 28vw, 520px);
  aspect-ratio: 1;
  inset: 22vh -13vw auto auto;
  background: color-mix(in srgb, var(--primary-soft) 68%, transparent);
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere .shape-three{
  width: clamp(180px, 23vw, 420px);
  aspect-ratio: 1;
  inset: auto auto -13vw 31vw;
  background: color-mix(in srgb, var(--primary-strong) 12%, transparent);
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere-line{
  height: 1px;
  width: 58vw;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  transform-origin: center;
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere .line-one{
  top: 18vh;
  left: -12vw;
  transform: rotate(-12deg);
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere .line-two{
  right: -15vw;
  bottom: 22vh;
  transform: rotate(14deg);
}

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere-grid{
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0, transparent 70%);
}

/* Public-site structural safety. */
body.guest-shell[class*="frontend-theme-"] .public-nav{
  min-width: 0;
}

body.guest-shell[class*="frontend-theme-"] .public-links, body.guest-shell[class*="frontend-theme-"] .public-actions{
  min-width: 0;
}

body.guest-shell[class*="frontend-theme-"] .public-links a, body.guest-shell[class*="frontend-theme-"] .public-actions a, body.guest-shell[class*="frontend-theme-"] .public-actions button{
  white-space: nowrap;
}

body.guest-shell[class*="frontend-theme-"] :where(
  .home-flat-slider,
  .home-provider-finder-panel,
  .home-doctor-specialties-panel,
  .marketplace-home-panel,
  .product-cta-panel,
  .feature-card-premium,
  .faq-item
){
  position: relative;
  isolation: isolate;
}

body.guest-shell[class*="frontend-theme-"] :where(
  .home-provider-finder-card,
  .home-doctor-specialty-card,
  .home-doctor-condition-card,
  .feature-card-premium,
  .faq-item
){
  min-width: 0;
}

body.guest-shell[class*="frontend-theme-"] :where(
  .home-provider-finder-card,
  .home-doctor-specialty-card,
  .home-doctor-condition-card,
  .feature-card-premium,
  .quick-action-pro,
  .doctor-command-card
){
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

/* Portal safety contract. Themes may change geometry, but labels and links stay usable. */
body.portal-experience.ui-v2 .sidebar, body.portal-experience.ui-v2 .app-main, body.portal-experience.ui-v2 .topbar, body.portal-experience.ui-v2 .page-content, body.portal-experience.ui-v2 .page-frame{
  min-width: 0;
  max-width: 100%;
}

body.portal-experience.ui-v2 .side-nav a > span, body.portal-experience.ui-v2 .sidebar-signout > span, body.portal-experience.ui-v2 .sidebar .brand-copy, body.portal-experience.ui-v2 .sidebar-user-copy{
  visibility: visible !important;
  opacity: 1 !important;
}

body.portal-experience.ui-v2 .side-nav a{
  text-wrap: pretty;
}

body.portal-experience.ui-v2 .side-nav{
  scrollbar-width: thin;
}

body.portal-experience.ui-v2 .sidebar{
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--portal-menu-accent, var(--primary)) 38%, transparent) transparent;
}

body.portal-experience.ui-v2 .page-frame{
  width: 100%;
}

body.portal-experience.ui-v2 :where(
  .dashboard-hero,
  .doctor-dashboard-hero,
  .metric-card-pro,
  .subscription-panel,
  .quick-action-pro,
  .dashboard-lower-grid > *,
  .doctor-dashboard-metric,
  .doctor-command-panel,
  .doctor-practice-panel,
  .doctor-queue-panel,
  .doctor-plan-panel,
  .doctor-dashboard-lower-grid > *,
  .card
){
  min-width: 0;
}

body.portal-experience.ui-v2 .portal-dashboard :where(h1, h2, h3, p, strong, small, span), body.portal-experience.ui-v2 .doctor-dashboard-page :where(h1, h2, h3, p, strong, small, span){
  overflow-wrap: anywhere;
}

@media (min-width: 1100px) {
  body.portal-experience.ui-v2{
    --experience-sidebar-width: 292px;
    --experience-shell-gap: 0px;
    --experience-shell-padding: 0px;
    --experience-sidebar-inset: 0px;
    --experience-topbar-inset: 0px;
  }

  body.portal-experience.ui-v2 .app-shell{
    display: grid !important;
    grid-template-columns: var(--experience-sidebar-width) minmax(0, 1fr) !important;
    gap: var(--experience-shell-gap) !important;
    min-height: 100vh !important;
    padding: var(--experience-shell-padding) !important;
    align-items: stretch !important;
  }

  body.portal-experience.ui-v2 .sidebar{
    position: fixed !important;
    z-index: 42 !important;
    inset: var(--experience-sidebar-inset) auto var(--experience-sidebar-inset) var(--experience-sidebar-inset) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: var(--experience-sidebar-width) !important;
    max-width: var(--experience-sidebar-width) !important;
    height: calc(100vh - (var(--experience-sidebar-inset) * 2)) !important;
    margin: 0 !important;
    padding: 18px 14px 15px !important;
    overflow: hidden !important;
    transform: none !important;
    clip-path: none !important;
  }

  html[dir="rtl"] body.portal-experience.ui-v2 .sidebar{
    inset: var(--experience-sidebar-inset) var(--experience-sidebar-inset) var(--experience-sidebar-inset) auto !important;
  }

  body.portal-experience.ui-v2 .sidebar-brand-row{
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: 100% !important;
  }

  body.portal-experience.ui-v2 .sidebar .app-brand{
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  body.portal-experience.ui-v2 .sidebar .brand-copy{
    display: flex !important;
    min-width: 0 !important;
  }

  body.portal-experience.ui-v2 .workspace-chip{
    display: flex !important;
    flex: 0 0 auto !important;
  }

  body.portal-experience.ui-v2 .side-nav{
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 2px 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    clip-path: none !important;
  }

  body.portal-experience.ui-v2 .side-nav a{
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 42px !important;
    overflow: visible !important;
    transform: none !important;
    clip-path: none !important;
  }

  body.portal-experience.ui-v2 .side-nav a > span{
    position: static !important;
    display: inline !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  body.portal-experience.ui-v2 .sidebar-footer{
    display: block !important;
    flex: 0 0 auto !important;
    margin-top: auto !important;
  }

  body.portal-experience.ui-v2 .app-main{
    grid-column: 2 !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html[dir="rtl"] body.portal-experience.ui-v2 .app-main{
    grid-column: 1 !important;
  }

  body.portal-experience.ui-v2 .topbar{
    position: sticky !important;
    z-index: 35 !important;
    top: var(--experience-topbar-inset) !important;
    min-width: 0 !important;
  }

  body.portal-experience.ui-v2 .page-content{
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Tablet and mobile always return to the proven off-canvas navigation model. */
@media (max-width: 1099px) {
  body.portal-experience.ui-v2 .app-shell{
    display: block !important;
    min-height: 100vh !important;
    padding: 0 !important;
  }

  body.portal-experience.ui-v2 .app-main{
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.portal-experience.ui-v2 .sidebar{
    width: min(304px, 88vw) !important;
    max-width: min(304px, 88vw) !important;
    margin: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
  }

  body.portal-experience.ui-v2 .sidebar-brand-row,body.portal-experience.ui-v2 .workspace-chip,body.portal-experience.ui-v2 .sidebar-footer{
    display: flex !important;
  }

  body.portal-experience.ui-v2 .side-nav{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow-y: auto !important;
  }

  body.portal-experience.ui-v2 .side-nav a{
    display: flex !important;
    width: 100% !important;
  }

  body.portal-experience.ui-v2 .side-nav a > span,body.portal-experience.ui-v2 .sidebar .brand-copy,body.portal-experience.ui-v2 .sidebar-user-copy,body.portal-experience.ui-v2 .sidebar-signout > span{
    display: inline !important;
  }

  body.portal-experience.ui-v2 .topbar{
    margin: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    transform: none !important;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  body.guest-shell[class*="frontend-theme-"] .public-nav{
    height: auto;
    min-height: 76px;
    padding-block: 9px;
    gap: 12px;
  }

  body.guest-shell[class*="frontend-theme-"] .public-links{
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
  }

  body.guest-shell[class*="frontend-theme-"] .public-links a{
    padding: 7px 8px;
    font-size: .72rem;
  }

  body.guest-shell[class*="frontend-theme-"] .public-actions{
    gap: 6px;
  }

  body.guest-shell[class*="frontend-theme-"] .public-actions .btn{
    padding-inline: 11px;
    font-size: .72rem;
  }

  body.guest-shell[class*="frontend-theme-"] .public-marketplace-join{
    display: none;
  }
}

@media (max-width: 900px) {
  body.guest-shell[class*="frontend-theme-"]{
    padding-inline: 0 !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-header{
    position: sticky !important;
    inset: auto !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    clip-path: none !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-nav{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: min(100% - 24px, 1180px) !important;
    height: 68px !important;
    min-height: 68px !important;
    margin-inline: auto !important;
    padding: 0 !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-links{
    position: absolute !important;
    display: none !important;
    inset: 72px 12px auto 12px !important;
    width: auto !important;
    max-height: calc(100vh - 92px) !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    background: var(--surface) !important;
    box-shadow: 0 22px 55px rgba(9, 22, 37, .22) !important;
    transform: none !important;
    writing-mode: initial !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-links.open{
    display: flex !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-links a{
    display: flex !important;
    width: 100% !important;
    padding: 11px 12px !important;
    font-size: .84rem !important;
    color: var(--text) !important;
    writing-mode: initial !important;
    transform: none !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-menu-toggle{
    display: grid !important;
  }

  body.guest-shell[class*="frontend-theme-"] .public-main{
    margin: 0 !important;
    padding-inline: 0 !important;
  }

  body.guest-shell[class*="frontend-theme-"] :where(
    .home-flat-slider,
    .home-provider-finder-panel,
    .home-doctor-specialties-panel,
    .marketplace-home-panel,
    .product-cta-panel
  ){
    width: 100% !important;
    margin-inline: 0 !important;
    transform: none !important;
    clip-path: none !important;
  }

  body.portal-experience.ui-v2 :where(
    .dashboard-hero,
    .doctor-dashboard-hero,
    .metric-grid,
    .doctor-dashboard-metrics,
    .quick-action-grid,
    .doctor-command-grid,
    .dashboard-lower-grid,
    .doctor-dashboard-main-grid,
    .doctor-dashboard-lower-grid,
    .subscription-usage-grid,
    .doctor-plan-usage
  ){
    transform: none !important;
    clip-path: none !important;
  }
}

@media (max-width: 680px) {
  body.portal-experience.ui-v2 .page-content{
    padding-inline: 14px !important;
  }

  body.portal-experience.ui-v2 :where(
    .metric-grid,
    .doctor-dashboard-metrics,
    .quick-action-grid,
    .doctor-command-grid,
    .subscription-usage-grid,
    .doctor-plan-usage
  ){
    grid-template-columns: 1fr !important;
  }

  body.portal-experience.ui-v2 :where(
    .dashboard-lower-grid,
    .doctor-dashboard-main-grid,
    .doctor-dashboard-lower-grid
  ){
    grid-template-columns: 1fr !important;
  }
}

/* Density metadata is structural, not merely chromatic. */
body[data-theme-density="spacious"] :where(.section, .home-provider-finder, .home-doctor-specialties){
  --experience-section-space: clamp(64px, 8vw, 120px);
}

body[data-theme-density="dense"] :where(.page-content, .public-main){
  --experience-content-gap: 12px;
}

body[data-theme-density="airy"] :where(.page-frame, .public-main){
  --experience-content-gap: 28px;
}




























/* --------------------------------------------------------------------------
   02. Oceanic Pulse — tidal glass islands
   -------------------------------------------------------------------------- */
body.frontend-theme-oceanic_pulse .theme-atmosphere .shape-one{
  width: 740px;
  inset: -260px auto auto -220px;
  border-radius: 43% 57% 54% 46% / 57% 44% 56% 43%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 26%, transparent), color-mix(in srgb, #67e8f9 20%, transparent));
  animation: rumi-tide-drift 18s ease-in-out infinite alternate;
}
body.frontend-theme-oceanic_pulse .theme-atmosphere .shape-two{
  width: 620px;
  inset: auto -240px -180px auto;
  border-radius: 60% 40% 42% 58% / 48% 62% 38% 52%;
  background: color-mix(in srgb, #67e8f9 26%, transparent);
  animation: rumi-tide-drift 23s ease-in-out infinite alternate-reverse;
}
body.frontend-theme-oceanic_pulse .theme-atmosphere .shape-three{
  width: 300px;
  inset: 42vh auto auto 42vw;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  filter: blur(8px);
}
body.frontend-theme-oceanic_pulse .theme-atmosphere-grid{
  display: none;
}

@keyframes rumi-tide-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(34px, 24px, 0) rotate(8deg); }
}

body.guest-shell.frontend-theme-oceanic_pulse .public-trust-bar{
  background: transparent;
  color: var(--text);
}
body.guest-shell.frontend-theme-oceanic_pulse .public-trust-bar .container{
  width: min(1180px, calc(100% - 44px));
}
body.guest-shell.frontend-theme-oceanic_pulse .public-header{
  top: 14px;
  width: min(1380px, calc(100% - 34px));
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  box-shadow: 0 24px 80px rgba(2, 95, 135, .14);
  backdrop-filter: blur(28px) saturate(135%);
}
body.guest-shell.frontend-theme-oceanic_pulse .public-nav{
  width: calc(100% - 24px);
  height: 76px;
}
body.guest-shell.frontend-theme-oceanic_pulse .public-links{
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent);
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-flat-slider-shell{
  padding-top: 42px;
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-flat-slider-shell .container{
  width: min(1440px, calc(100% - 34px));
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-flat-slider{
  min-height: 570px;
  border: 0;
  border-radius: 48px 48px 180px 48px;
  box-shadow: 0 36px 110px rgba(2, 95, 135, .23);
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-flat-slider::after{
  content: "";
  position: absolute;
  inset: auto -8% -38% 28%;
  height: 55%;
  border: 2px solid color-mix(in srgb, #67e8f9 38%, transparent);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-hero-title-below{
  margin-top: -82px;
  position: relative;
  z-index: 4;
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-hero-title-below-inner{
  width: min(820px, 78%);
  margin-inline: auto 5%;
  padding: 34px 42px;
  border: 1px solid color-mix(in srgb, #67e8f9 28%, var(--border));
  border-radius: 34px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  box-shadow: 0 30px 80px rgba(2, 95, 135, .14);
  backdrop-filter: blur(28px) saturate(145%);
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-provider-finder-panel{
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: 34px;
  background: color-mix(in srgb, var(--surface) 64%, transparent);
  backdrop-filter: blur(22px);
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-provider-finder-card{
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--surface) 84%, transparent), color-mix(in srgb, var(--primary-soft) 62%, transparent));
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .home-provider-finder-card:nth-child(even){
  transform: translateY(28px);
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .feature-grid-premium{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .feature-card-premium{
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(18px);
}
body.guest-shell.frontend-theme-oceanic_pulse.route-home .feature-card-premium:nth-child(3n/**/+2){
  margin-top: 46px;
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-oceanic_pulse{
    --experience-sidebar-width: 306px;
    --experience-sidebar-inset: 18px;
    --experience-shell-padding: 18px 18px 18px 324px;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-oceanic_pulse{
    --experience-shell-padding: 18px 324px 18px 18px;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .app-shell{
    grid-template-columns: 0 minmax(0, 1fr) !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .sidebar{
    border: 1px solid color-mix(in srgb, #67e8f9 28%, transparent) !important;
    border-radius: 34px 34px 112px 34px !important;
    background: linear-gradient(165deg, color-mix(in srgb, #082f49 90%, transparent), color-mix(in srgb, #075985 82%, transparent)) !important;
    box-shadow: 0 34px 90px rgba(2, 66, 95, .34) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .workspace-chip{
    border-radius: 22px !important;
    background: rgba(255,255,255,.08) !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .side-nav a{
    min-height: 46px !important;
    border-radius: 16px 22px 22px 16px !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .side-nav a.active{
    box-shadow: inset 4px 0 0 #67e8f9, 0 12px 28px rgba(0,0,0,.14) !important;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-oceanic_pulse .side-nav a.active{
    box-shadow: inset -4px 0 0 #67e8f9, 0 12px 28px rgba(0,0,0,.14) !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .app-main{
    grid-column: 2 !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .topbar{
    margin: 0 0 18px !important;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent) !important;
    border-radius: 28px !important;
    background: color-mix(in srgb, var(--surface) 72%, transparent) !important;
    box-shadow: 0 24px 70px rgba(2, 95, 135, .1) !important;
    backdrop-filter: blur(26px) saturate(140%) !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .page-content{
    padding: 0 4px 46px !important;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .dashboard-hero,body.portal-experience.frontend-theme-oceanic_pulse .doctor-dashboard-hero{
    min-height: 310px;
    border: 1px solid rgba(103,232,249,.22);
    border-radius: 38px 38px 120px 38px;
    background:
      radial-gradient(circle at 85% 20%, rgba(103,232,249,.25), transparent 28%),
      linear-gradient(135deg, #062d46, #075985 58%, #0891b2);
  }
  body.portal-experience.frontend-theme-oceanic_pulse .metric-grid,body.portal-experience.frontend-theme-oceanic_pulse .doctor-dashboard-metrics{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  body.portal-experience.frontend-theme-oceanic_pulse .metric-card-pro,body.portal-experience.frontend-theme-oceanic_pulse .doctor-dashboard-metric,body.portal-experience.frontend-theme-oceanic_pulse .quick-action-pro,body.portal-experience.frontend-theme-oceanic_pulse .doctor-command-card{
    border-radius: 26px;
    background: color-mix(in srgb, var(--surface) 74%, transparent);
    backdrop-filter: blur(18px);
  }
  body.portal-experience.frontend-theme-oceanic_pulse .metric-card-pro:nth-child(even),body.portal-experience.frontend-theme-oceanic_pulse .doctor-dashboard-metric:nth-child(even){
    transform: translateY(18px);
  }
  body.portal-experience.frontend-theme-oceanic_pulse .quick-action-grid,body.portal-experience.frontend-theme-oceanic_pulse .doctor-command-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   03. Alpine Frost — precision clinic
   -------------------------------------------------------------------------- */
body.frontend-theme-alpine_frost .theme-atmosphere .shape-one{
  width: 48vw;
  height: 26vw;
  aspect-ratio: auto;
  inset: -8vw auto auto -8vw;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 68% 100%, 18% 74%);
  background: color-mix(in srgb, #93c5fd 22%, transparent);
}
body.frontend-theme-alpine_frost .theme-atmosphere .shape-two{
  width: 38vw;
  height: 22vw;
  aspect-ratio: auto;
  inset: auto -10vw -7vw auto;
  border-radius: 0;
  clip-path: polygon(38% 0, 100% 26%, 100% 100%, 0 100%);
  background: color-mix(in srgb, #dbeafe 60%, transparent);
}
body.frontend-theme-alpine_frost .theme-atmosphere-grid{
  opacity: .08;
  background-size: 28px 28px;
  mask-image: linear-gradient(#000, transparent 78%);
}

body.guest-shell.frontend-theme-alpine_frost .public-trust-bar{
  height: 34px;
  background: #eaf3ff;
  color: #1e3a5f;
  border-bottom: 1px solid #cbdff5;
}
body.guest-shell.frontend-theme-alpine_frost .public-header{
  border-bottom: 4px solid color-mix(in srgb, var(--primary) 18%, var(--border));
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: none;
}
body.guest-shell.frontend-theme-alpine_frost .public-nav{
  width: min(1500px, calc(100% - 56px));
  height: 82px;
}
body.guest-shell.frontend-theme-alpine_frost .public-links{
  gap: 0;
  border: 1px solid #cbdff5;
  border-radius: 0;
}
body.guest-shell.frontend-theme-alpine_frost .public-links a{
  border-inline-end: 1px solid #cbdff5;
  border-radius: 0;
  letter-spacing: .02em;
}
body.guest-shell.frontend-theme-alpine_frost .public-links a:last-child{
  border-inline-end: 0;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-flat-slider-shell{
  padding-top: 30px;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-flat-slider-shell .container{
  width: min(1500px, calc(100% - 56px));
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-flat-slider{
  min-height: 520px;
  border: 1px solid #cbdff5;
  border-radius: 4px;
  box-shadow: 0 24px 56px rgba(30, 58, 95, .09);
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-flat-slider::before{
  content: "";
  position: absolute;
  z-index: 3;
  inset: 18px 18px auto auto;
  width: 94px;
  height: 94px;
  border-top: 1px solid rgba(255,255,255,.65);
  border-right: 1px solid rgba(255,255,255,.65);
  pointer-events: none;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-hero-title-below{
  margin-top: 0;
  padding: 28px 0 10px;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-hero-title-below-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  align-items: end;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid #cbdff5;
  border-bottom: 1px solid #cbdff5;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-provider-finder-panel{
  padding: 0;
  border: 1px solid #cbdff5;
  border-radius: 0;
  background: var(--surface);
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-provider-finder-label{
  padding: 18px 24px;
  border-bottom: 1px solid #cbdff5;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-provider-finder-card{
  border: 0;
  border-inline-end: 1px solid #cbdff5;
  border-radius: 0;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .home-provider-finder-card:last-child{
  border-inline-end: 0;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .feature-grid-premium{
  gap: 1px;
  border: 1px solid #cbdff5;
  background: #cbdff5;
}
body.guest-shell.frontend-theme-alpine_frost.route-home .feature-card-premium{
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-alpine_frost{
    --experience-sidebar-width: 278px;
  }
  body.portal-experience.frontend-theme-alpine_frost .sidebar{
    border-inline-end: 1px solid #cbdff5 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #1e3a5f, #244f7d) !important;
    box-shadow: 12px 0 34px rgba(30,58,95,.1) !important;
  }
  body.portal-experience.frontend-theme-alpine_frost .side-nav a{
    min-height: 40px !important;
    border-radius: 3px !important;
  }
  body.portal-experience.frontend-theme-alpine_frost .workspace-chip,body.portal-experience.frontend-theme-alpine_frost .sidebar-user-card{
    border-radius: 4px !important;
  }
  body.portal-experience.frontend-theme-alpine_frost .topbar{
    border-bottom: 3px solid color-mix(in srgb, var(--primary) 30%, var(--border)) !important;
    border-radius: 0 !important;
    background: color-mix(in srgb, var(--surface) 96%, transparent) !important;
    box-shadow: none !important;
  }
  body.portal-experience.frontend-theme-alpine_frost .page-content{
    padding: 30px 36px 60px !important;
  }
  body.portal-experience.frontend-theme-alpine_frost .dashboard-hero,body.portal-experience.frontend-theme-alpine_frost .doctor-dashboard-hero{
    border: 1px solid #cbdff5;
    border-radius: 4px;
    background:
      linear-gradient(115deg, rgba(255,255,255,.06), transparent 38%),
      linear-gradient(135deg, #1e3a5f, #2d69a4);
    box-shadow: 0 22px 60px rgba(30,58,95,.13);
  }
  body.portal-experience.frontend-theme-alpine_frost .metric-grid,body.portal-experience.frontend-theme-alpine_frost .doctor-dashboard-metrics{
    gap: 1px;
    padding: 1px;
    background: #cbdff5;
  }
  body.portal-experience.frontend-theme-alpine_frost .metric-card-pro,body.portal-experience.frontend-theme-alpine_frost .doctor-dashboard-metric{
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body.portal-experience.frontend-theme-alpine_frost .subscription-panel,body.portal-experience.frontend-theme-alpine_frost .doctor-plan-panel,body.portal-experience.frontend-theme-alpine_frost .doctor-command-panel,body.portal-experience.frontend-theme-alpine_frost .doctor-practice-panel,body.portal-experience.frontend-theme-alpine_frost .dashboard-lower-grid > *,body.portal-experience.frontend-theme-alpine_frost .doctor-dashboard-lower-grid > *{
    border-radius: 4px;
    box-shadow: none;
  }
  body.portal-experience.frontend-theme-alpine_frost .quick-action-grid,body.portal-experience.frontend-theme-alpine_frost .doctor-command-grid{
    gap: 10px;
  }
  body.portal-experience.frontend-theme-alpine_frost .quick-action-pro,body.portal-experience.frontend-theme-alpine_frost .doctor-command-card{
    border-radius: 4px;
  }
}







































@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

















@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

/* --------------------------------------------------------------------------
   06. Sakura Health — layered garden care
   -------------------------------------------------------------------------- */
body.frontend-theme-sakura_health .theme-atmosphere .shape-one{
  width: 560px;
  inset: -220px auto auto -170px;
  border-radius: 52% 48% 63% 37% / 46% 64% 36% 54%;
  background: color-mix(in srgb, #db5f8d 16%, transparent);
  transform: rotate(16deg);
}
body.frontend-theme-sakura_health .theme-atmosphere .shape-two{
  width: 470px;
  inset: 18vh -190px auto auto;
  border-radius: 52% 48% 38% 62% / 62% 34% 66% 38%;
  background: color-mix(in srgb, #fde7ef 78%, transparent);
}
body.frontend-theme-sakura_health .theme-atmosphere .shape-three{
  width: 220px;
  inset: 56vh auto auto 18vw;
  border-radius: 72% 28% 68% 32% / 38% 64% 36% 62%;
  background: color-mix(in srgb, #db5f8d 10%, transparent);
  transform: rotate(-28deg);
}
body.frontend-theme-sakura_health .theme-atmosphere-grid{
  display: none;
}
body.frontend-theme-sakura_health .theme-atmosphere .line-one, body.frontend-theme-sakura_health .theme-atmosphere .line-two{
  width: 42vw;
  height: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, #db5f8d 14%, transparent);
}

body.guest-shell.frontend-theme-sakura_health .public-trust-bar{
  display: none;
}
body.guest-shell.frontend-theme-sakura_health .public-header{
  top: 18px;
  width: min(1260px, calc(100% - 36px));
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, #db5f8d 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #fffafb 82%, transparent);
  box-shadow: 0 24px 70px rgba(95,39,79,.13);
  backdrop-filter: blur(24px) saturate(125%);
}
body.guest-shell.frontend-theme-sakura_health .public-nav{
  width: calc(100% - 24px);
  height: 72px;
}
body.guest-shell.frontend-theme-sakura_health .public-links{
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(253,231,239,.52);
}
body.guest-shell.frontend-theme-sakura_health .public-links a{
  border-radius: 999px;
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-flat-slider-shell{
  padding-top: 52px;
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-flat-slider-shell .container{
  width: min(1380px, calc(100% - 38px));
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-flat-slider{
  min-height: 590px;
  border: 1px solid color-mix(in srgb, #db5f8d 20%, transparent);
  border-radius: 220px 44px 220px 44px;
  box-shadow: 0 34px 90px rgba(95,39,79,.15);
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-hero-title-below{
  position: relative;
  z-index: 4;
  margin-top: -104px;
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-hero-title-below-inner{
  width: min(820px, 74%);
  margin-inline: auto;
  padding: 34px 44px;
  text-align: center;
  border: 1px solid color-mix(in srgb, #db5f8d 20%, transparent);
  border-radius: 70px 28px 70px 28px;
  background: color-mix(in srgb, #fffafb 90%, transparent);
  box-shadow: 0 26px 70px rgba(95,39,79,.12);
  backdrop-filter: blur(20px);
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-provider-finder-panel{
  padding: 16px;
  border: 1px solid color-mix(in srgb, #db5f8d 16%, transparent);
  border-radius: 64px 24px 64px 24px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-provider-finder-label{
  padding: 16px 22px 24px;
  text-align: center;
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-provider-finder-card{
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 48px 18px 48px 18px;
  background: linear-gradient(150deg, #fffafb, #fde7ef);
}
body.guest-shell.frontend-theme-sakura_health.route-home .home-provider-finder-card:nth-child(even){
  border-radius: 18px 48px 18px 48px;
}
body.guest-shell.frontend-theme-sakura_health.route-home .feature-grid-premium{
  grid-template-columns: repeat(12,minmax(0,1fr));
}
body.guest-shell.frontend-theme-sakura_health.route-home .feature-card-premium{
  grid-column: span 4;
  min-height: 260px;
  border-radius: 58px 20px 58px 20px;
}
body.guest-shell.frontend-theme-sakura_health.route-home .feature-card-premium:nth-child(2), body.guest-shell.frontend-theme-sakura_health.route-home .feature-card-premium:nth-child(5){
  transform: translateY(44px);
  border-radius: 20px 58px 20px 58px;
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-sakura_health{
    --experience-sidebar-width: 308px;
    --experience-sidebar-inset: 16px;
    --experience-shell-padding: 16px 16px 16px 324px;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-sakura_health{
    --experience-shell-padding: 16px 324px 16px 16px;
  }
  body.portal-experience.frontend-theme-sakura_health .app-shell{
    grid-template-columns: 0 minmax(0,1fr) !important;
  }
  body.portal-experience.frontend-theme-sakura_health .sidebar{
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 76px 28px 76px 28px !important;
    background:
      radial-gradient(circle at 24% 0, rgba(253,231,239,.18), transparent 26%),
      linear-gradient(160deg, #5f274f, #923763 70%, #b64978) !important;
    box-shadow: 0 34px 90px rgba(95,39,79,.28) !important;
  }
  body.portal-experience.frontend-theme-sakura_health .workspace-chip,body.portal-experience.frontend-theme-sakura_health .sidebar-user-card{
    border-radius: 28px 14px 28px 14px !important;
  }
  body.portal-experience.frontend-theme-sakura_health .side-nav a{
    min-height: 44px !important;
    border-radius: 24px 10px 24px 10px !important;
  }
  body.portal-experience.frontend-theme-sakura_health .side-nav a:nth-of-type(even){
    border-radius: 10px 24px 10px 24px !important;
  }
  body.portal-experience.frontend-theme-sakura_health .side-nav a.active{
    background: rgba(255,255,255,.16) !important;
    box-shadow: inset 4px 0 0 #ffc5d9, 0 14px 32px rgba(0,0,0,.12) !important;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-sakura_health .side-nav a.active{
    box-shadow: inset -4px 0 0 #ffc5d9, 0 14px 32px rgba(0,0,0,.12) !important;
  }
  body.portal-experience.frontend-theme-sakura_health .topbar{
    margin: 2px 2px 18px !important;
    border: 1px solid color-mix(in srgb, #db5f8d 16%, transparent) !important;
    border-radius: 36px !important;
    background: color-mix(in srgb, #fffafb 86%, transparent) !important;
    box-shadow: 0 24px 70px rgba(95,39,79,.1) !important;
    backdrop-filter: blur(24px) !important;
  }
  body.portal-experience.frontend-theme-sakura_health .page-content{
    padding: 0 4px 52px !important;
  }
  body.portal-experience.frontend-theme-sakura_health .dashboard-hero,body.portal-experience.frontend-theme-sakura_health .doctor-dashboard-hero{
    min-height: 320px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 88px 28px 88px 28px;
    background:
      radial-gradient(circle at 86% 12%, rgba(255,255,255,.18), transparent 24%),
      radial-gradient(circle at 12% 100%, rgba(253,231,239,.2), transparent 30%),
      linear-gradient(135deg, #5f274f, #9b3f70 66%, #d45d89);
    box-shadow: 0 30px 85px rgba(95,39,79,.19);
  }
  body.portal-experience.frontend-theme-sakura_health .metric-grid,body.portal-experience.frontend-theme-sakura_health .doctor-dashboard-metrics{
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
  }
  body.portal-experience.frontend-theme-sakura_health .metric-card-pro,body.portal-experience.frontend-theme-sakura_health .doctor-dashboard-metric{
    min-height: 142px;
    border-radius: 40px 16px 40px 16px;
  }
  body.portal-experience.frontend-theme-sakura_health .metric-card-pro:nth-child(even),body.portal-experience.frontend-theme-sakura_health .doctor-dashboard-metric:nth-child(even){
    border-radius: 16px 40px 16px 40px;
  }
  body.portal-experience.frontend-theme-sakura_health .quick-action-grid,body.portal-experience.frontend-theme-sakura_health .doctor-command-grid{
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  body.portal-experience.frontend-theme-sakura_health .quick-action-pro,body.portal-experience.frontend-theme-sakura_health .doctor-command-card,body.portal-experience.frontend-theme-sakura_health .subscription-panel,body.portal-experience.frontend-theme-sakura_health .doctor-plan-panel,body.portal-experience.frontend-theme-sakura_health .dashboard-lower-grid > *,body.portal-experience.frontend-theme-sakura_health .doctor-dashboard-lower-grid > *{
    border-radius: 44px 18px 44px 18px;
  }
}































/* ========================================================================== */
/* AUTHENTICATED PATIENT + PROVIDER EXPERIENCE ARCHITECTURES                  */
/* ========================================================================== */

@media (min-width: 1100px) {
  /* Shared horizontal navigation band used by five deliberately distinct UI systems. */
  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin){
    --portal-band-height: 124px;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .app-shell{
    display: block !important;
    min-height: 100vh !important;
    padding-top: var(--portal-band-height) !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .sidebar{
    position: fixed !important;
    inset: 0 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--portal-band-height) !important;
    display: grid !important;
    grid-template-columns: minmax(210px,auto) minmax(230px,.5fr);
    grid-template-rows: 58px minmax(48px,1fr);
    align-items: center !important;
    gap: 0 18px !important;
    padding: 8px 26px 9px !important;
    overflow: hidden !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .sidebar-brand-row{
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .workspace-chip{
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: min(100%,360px) !important;
    margin: 0 !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) :is(.provider-nav-tools,.sidebar-footer){
    display: none !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .side-nav{
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 3px 0 1px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .provider-nav-section{
    display: contents !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .nav-section-title{
    display: none !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .side-nav a{
    flex: 0 0 auto !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 44px !important;
    padding: 8px 13px !important;
    white-space: nowrap !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .provider-nav-copy{
    display: block !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .provider-nav-copy small{
    display: none !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .app-main{
    grid-column: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .topbar{
    top: var(--portal-band-height) !important;
  }

  
  
  
  
  
  
  
  
  

  /* 02. Oceanic Pulse — floating navigation ribbon */
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin){ --portal-band-height: 126px; }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .sidebar{
    inset: 14px 22px auto !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    height: 108px !important;
    border: 1px solid rgba(103,232,249,.25) !important;
    border-radius: 32px !important;
    background: linear-gradient(95deg,rgba(6,47,74,.98),rgba(3,105,134,.96),rgba(6,47,74,.98)) !important;
    box-shadow: 0 26px 70px rgba(4,73,105,.24) !important;
  }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .workspace-chip{ border-radius: 999px !important; }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .side-nav{ mask-image: linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent); }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .side-nav a{ border-radius: 999px !important; }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .side-nav a.active{ background: #ecfeff !important; color: #07566d !important; box-shadow: 0 10px 26px rgba(0,0,0,.16) !important; }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .topbar{
    top: 126px !important;
    margin: 18px 24px 0 !important;
    border: 1px solid color-mix(in srgb,var(--primary) 18%,var(--border)) !important;
    border-radius: 28px !important;
    background: color-mix(in srgb,var(--surface) 82%,transparent) !important;
    box-shadow: 0 22px 60px rgba(2,83,122,.1) !important;
    backdrop-filter: blur(22px) !important;
  }
  body.app-body.frontend-theme-oceanic_pulse:not(.role-admin) .page-content{ padding: 34px 32px 76px !important; }
  body.app-body.frontend-theme-oceanic_pulse.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 340px;
    border-radius: 64px 24px 100px 24px !important;
    background: radial-gradient(ellipse at 78% 110%,rgba(103,232,249,.35),transparent 46%),linear-gradient(135deg,#062f4a,#0d9fc2) !important;
  }
  body.app-body.frontend-theme-oceanic_pulse.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){ grid-template-columns: repeat(4,minmax(0,1fr)); align-items:start; }
  body.app-body.frontend-theme-oceanic_pulse.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric):nth-child(even){ transform: translateY(16px); }
  body.app-body.frontend-theme-oceanic_pulse.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(3,minmax(0,1fr)); }

  /* 03. Alpine Frost — two-tier precision band */
  body.app-body.frontend-theme-alpine_frost:not(.role-admin){ --portal-band-height: 142px; }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .sidebar{
    height: 132px !important;
    padding: 8px 30px 9px !important;
    gap: 0 20px !important;
    border-bottom: 1px solid #bdd6ef !important;
    border-radius: 0 !important;
    background: #1e3a5f !important;
    box-shadow: 0 12px 40px rgba(30,58,95,.16) !important;
  }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .workspace-chip{ border-radius: 3px !important; }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .side-nav{ gap: 1px !important; border: 1px solid rgba(255,255,255,.16) !important; background: rgba(255,255,255,.07) !important; }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .side-nav a{ flex: 1 0 auto !important; border-radius: 0 !important; }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .side-nav a.active{ background: #f8fbff !important; color: #1e3a5f !important; }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .topbar{
    top: 142px !important;
    min-height: 72px !important;
    margin: 0 !important;
    border-bottom: 1px solid #cbdff5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.app-body.frontend-theme-alpine_frost:not(.role-admin) .page-content{ padding: 34px 34px 64px !important; }
  body.app-body.frontend-theme-alpine_frost.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    border: 1px solid #bdd6ef !important;
    border-radius: 4px !important;
    clip-path: polygon(0 0,100% 0,100% 88%,97% 100%,0 100%);
    background: linear-gradient(135deg,#1e3a5f,#3b82f6) !important;
  }
  body.app-body.frontend-theme-alpine_frost.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1px;
    border: 1px solid #cbdff5;
    background: #cbdff5;
  }
  body.app-body.frontend-theme-alpine_frost.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric){ border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }

  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  

  /* 06. Sakura Health — floating garden rail (full labels preserved) */
  body.app-body.frontend-theme-sakura_health:not(.role-admin){ --architecture-rail: 326px; }
  body.app-body.frontend-theme-sakura_health:not(.role-admin) .sidebar{
    inset: 18px auto 18px 18px !important;
    width: calc(var(--architecture-rail) - 18px) !important;
    max-width: calc(var(--architecture-rail) - 18px) !important;
    height: calc(100vh - 36px) !important;
    padding: 20px 15px 16px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 52px 18px 52px 18px !important;
    background: radial-gradient(circle at 16% 4%,rgba(249,168,196,.28),transparent 25%),linear-gradient(160deg,#5f274f,#9b3f70) !important;
    box-shadow: 0 28px 80px rgba(95,39,79,.24) !important;
  }
  html[dir="rtl"] body.app-body.frontend-theme-sakura_health:not(.role-admin) .sidebar{ inset: 18px 18px 18px auto !important; }
  body.app-body.frontend-theme-sakura_health:not(.role-admin) :is(.workspace-chip,.provider-nav-tools,.sidebar-user-card){ border-radius: 28px 12px 28px 12px !important; }
  body.app-body.frontend-theme-sakura_health:not(.role-admin) .side-nav a{ border-radius: 22px 10px 22px 10px !important; }
  body.app-body.frontend-theme-sakura_health:not(.role-admin) .side-nav a.active{
    background: rgba(255,242,247,.96) !important;
    color: #6e2954 !important;
    box-shadow: 0 12px 28px rgba(49,15,37,.18) !important;
  }
  body.app-body.frontend-theme-sakura_health:not(.role-admin) .topbar{
    top: 18px !important;
    margin: 18px 20px 0 !important;
    border: 1px solid #efc6d8 !important;
    border-radius: 999px !important;
    background: rgba(255,250,251,.9) !important;
    box-shadow: 0 20px 58px rgba(95,39,79,.1) !important;
    backdrop-filter: blur(20px) !important;
  }
  body.app-body.frontend-theme-sakura_health:not(.role-admin) .page-content{ padding: 46px 34px 74px !important; }
  body.app-body.frontend-theme-sakura_health.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 340px;
    border-radius: 64px 24px 110px 24px !important;
    background: radial-gradient(circle at 87% 15%,rgba(255,255,255,.28),transparent 26%),linear-gradient(135deg,#5f274f,#d75f8e) !important;
  }
  body.app-body.frontend-theme-sakura_health.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){ grid-template-columns: repeat(4,minmax(0,1fr)); }
  body.app-body.frontend-theme-sakura_health.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric,.quick-action-pro,.doctor-command-card){ border-radius: 34px 14px 34px 14px !important; }
  body.app-body.frontend-theme-sakura_health.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(3,minmax(0,1fr)); }
}


/* --------------------------------------------------------------------------
   08. Royal Indigo — framed regal workspace
   -------------------------------------------------------------------------- */
body.frontend-theme-royal_indigo .theme-atmosphere .shape-one{
  width: 620px;
  inset: -260px auto auto -120px;
  border-radius: 32px;
  background: color-mix(in srgb, #6366f1 16%, transparent);
  transform: rotate(24deg);
}
body.frontend-theme-royal_indigo .theme-atmosphere .shape-two{
  width: 480px;
  inset: 40vh -190px auto auto;
  border-radius: 32px;
  background: color-mix(in srgb, #8b5cf6 13%, transparent);
  transform: rotate(-20deg);
}
body.frontend-theme-royal_indigo .theme-atmosphere .shape-three{
  width: 180px;
  inset: 24vh auto auto 48vw;
  border: 1px solid color-mix(in srgb, #6366f1 28%, transparent);
  background: transparent;
  box-shadow: 0 0 0 28px color-mix(in srgb, #6366f1 4%, transparent);
}
body.frontend-theme-royal_indigo .theme-atmosphere-grid{
  opacity: .08;
  background-size: 72px 72px;
}

body.guest-shell.frontend-theme-royal_indigo .public-trust-bar{
  background: #262267;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
body.guest-shell.frontend-theme-royal_indigo .public-header{
  margin: 14px auto 0;
  width: min(1420px, calc(100% - 36px));
  border: 1px solid color-mix(in srgb, #6366f1 24%, var(--border));
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 25px 70px rgba(49,46,129,.16);
}
body.guest-shell.frontend-theme-royal_indigo .public-nav{
  width: calc(100% - 24px);
  height: 78px;
}
body.guest-shell.frontend-theme-royal_indigo .public-links{
  padding: 5px;
  border: 1px solid color-mix(in srgb, #6366f1 16%, var(--border));
  border-radius: 12px;
  background: color-mix(in srgb, #e0e7ff 44%, transparent);
}
body.guest-shell.frontend-theme-royal_indigo .public-links a{
  border-radius: 8px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-flat-slider-shell{
  padding-top: 36px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-flat-slider-shell .container, body.guest-shell.frontend-theme-royal_indigo.route-home .home-hero-title-below .container{
  width: min(1420px, calc(100% - 48px));
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-flat-slider{
  min-height: 570px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, #6366f1 30%, var(--border));
  border-radius: 30px;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  box-shadow: 0 35px 100px rgba(49,46,129,.2);
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-flat-slider-stage{
  overflow: hidden;
  border-radius: 18px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-hero-title-below{
  position: relative;
  z-index: 4;
  margin-top: -92px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-hero-title-below-inner{
  width: min(880px, 72%);
  margin-inline: auto;
  padding: 36px 48px;
  border: 1px solid color-mix(in srgb, #6366f1 28%, var(--border));
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 22px 70px rgba(49,46,129,.17), 0 0 0 9px color-mix(in srgb, #e0e7ff 36%, transparent);
  text-align: center;
  backdrop-filter: blur(20px);
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-provider-finder-panel{
  padding: 18px;
  border: 1px solid color-mix(in srgb, #6366f1 24%, var(--border));
  border-radius: 22px;
  box-shadow: 18px 18px 0 color-mix(in srgb, #6366f1 8%, transparent);
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-provider-finder-card{
  min-height: 190px;
  border-radius: 16px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .home-provider-finder-card:nth-child(1), body.guest-shell.frontend-theme-royal_indigo.route-home .home-provider-finder-card:nth-child(4){
  transform: translateY(22px);
}
body.guest-shell.frontend-theme-royal_indigo.route-home .feature-grid-premium{
  grid-template-columns: repeat(12,minmax(0,1fr));
}
body.guest-shell.frontend-theme-royal_indigo.route-home .feature-card-premium{
  grid-column: span 4;
  min-height: 280px;
  border-radius: 22px;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .feature-card-premium:nth-child(1), body.guest-shell.frontend-theme-royal_indigo.route-home .feature-card-premium:nth-child(5){
  grid-column: span 5;
}
body.guest-shell.frontend-theme-royal_indigo.route-home .feature-card-premium:nth-child(2), body.guest-shell.frontend-theme-royal_indigo.route-home .feature-card-premium:nth-child(6){
  grid-column: span 7;
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-royal_indigo{
    --experience-sidebar-width: 322px;
    --experience-sidebar-inset: 14px;
    --experience-shell-padding: 14px 14px 14px 336px;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-royal_indigo{
    --experience-shell-padding: 14px 336px 14px 14px;
  }
  body.portal-experience.frontend-theme-royal_indigo .app-shell{
    grid-template-columns: 0 minmax(0,1fr) !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .sidebar{
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 34px !important;
    background:
      radial-gradient(circle at 8% 0, rgba(255,255,255,.1), transparent 28%),
      linear-gradient(160deg, #312e81, #4c1d95 72%, #6d28d9) !important;
    box-shadow: 0 34px 90px rgba(49,46,129,.34) !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .sidebar::before{
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 26px;
    pointer-events: none;
  }
  body.portal-experience.frontend-theme-royal_indigo .workspace-chip,body.portal-experience.frontend-theme-royal_indigo .sidebar-user-card{
    border-radius: 18px !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .side-nav a{
    border-radius: 14px !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .side-nav a.active{
    background: rgba(255,255,255,.15) !important;
    box-shadow: inset 4px 0 0 #c4b5fd, 0 14px 32px rgba(0,0,0,.14) !important;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-royal_indigo .side-nav a.active{
    box-shadow: inset -4px 0 0 #c4b5fd, 0 14px 32px rgba(0,0,0,.14) !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .topbar{
    margin: 0 0 16px !important;
    border: 1px solid color-mix(in srgb, #6366f1 22%, var(--border)) !important;
    border-radius: 24px !important;
    background: color-mix(in srgb, var(--surface) 84%, transparent) !important;
    box-shadow: 0 24px 70px rgba(49,46,129,.12) !important;
    backdrop-filter: blur(22px) !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .page-content{
    padding: 0 6px 58px !important;
  }
  body.portal-experience.frontend-theme-royal_indigo .dashboard-hero,body.portal-experience.frontend-theme-royal_indigo .doctor-dashboard-hero{
    min-height: 330px;
    padding: 46px 50px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background:
      radial-gradient(circle at 82% 18%, rgba(196,181,253,.26), transparent 28%),
      linear-gradient(135deg, #312e81, #4c1d95 64%, #6d28d9);
    box-shadow: 0 26px 80px rgba(49,46,129,.24), inset 0 0 0 10px rgba(255,255,255,.035);
  }
  body.portal-experience.frontend-theme-royal_indigo .metric-grid,body.portal-experience.frontend-theme-royal_indigo .doctor-dashboard-metrics{
    grid-template-columns: repeat(12,minmax(0,1fr));
  }
  body.portal-experience.frontend-theme-royal_indigo .metric-card-pro,body.portal-experience.frontend-theme-royal_indigo .doctor-dashboard-metric{
    grid-column: span 3;
    min-height: 150px;
    border-radius: 20px;
    box-shadow: 10px 10px 0 color-mix(in srgb, #6366f1 8%, transparent);
  }
  body.portal-experience.frontend-theme-royal_indigo .quick-action-grid,body.portal-experience.frontend-theme-royal_indigo .doctor-command-grid{
    grid-template-columns: repeat(12,minmax(0,1fr));
  }
  body.portal-experience.frontend-theme-royal_indigo .quick-action-pro,body.portal-experience.frontend-theme-royal_indigo .doctor-command-card{
    grid-column: span 4;
    min-height: 112px;
    border-radius: 18px;
  }
  body.portal-experience.frontend-theme-royal_indigo .subscription-panel,body.portal-experience.frontend-theme-royal_indigo .doctor-plan-panel,body.portal-experience.frontend-theme-royal_indigo .dashboard-lower-grid > *,body.portal-experience.frontend-theme-royal_indigo .doctor-dashboard-lower-grid > *{
    border-radius: 24px;
    box-shadow: 12px 12px 0 color-mix(in srgb, #6366f1 6%, transparent);
  }
}

/* --------------------------------------------------------------------------
   09. Citrus Vital — asymmetric wellness bento
   -------------------------------------------------------------------------- */
body.frontend-theme-citrus_vital .theme-atmosphere .shape-one{
  width: 560px;
  inset: -250px auto auto -180px;
  border-radius: 42% 58% 18% 82% / 54% 32% 68% 46%;
  background: color-mix(in srgb, #bef264 35%, transparent);
}
body.frontend-theme-citrus_vital .theme-atmosphere .shape-two{
  width: 440px;
  inset: 34vh -160px auto auto;
  border-radius: 18% 82% 62% 38% / 48% 30% 70% 52%;
  background: color-mix(in srgb, #16a34a 14%, transparent);
}
body.frontend-theme-citrus_vital .theme-atmosphere .shape-three{
  width: 190px;
  inset: 20vh auto auto 58vw;
  border-radius: 26px 68px 26px 68px;
  background: color-mix(in srgb, #bef264 22%, transparent);
  transform: rotate(18deg);
}
body.frontend-theme-citrus_vital .theme-atmosphere-grid{
  display: none;
}

body.guest-shell.frontend-theme-citrus_vital .public-trust-bar{
  background: #14532d;
  color: #ecfccb;
}
body.guest-shell.frontend-theme-citrus_vital .public-header{
  border: 0;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 18px 52px rgba(20,83,45,.09);
}
body.guest-shell.frontend-theme-citrus_vital .public-nav{
  width: min(1440px, calc(100% - 48px));
  height: 86px;
}
body.guest-shell.frontend-theme-citrus_vital .public-links{
  padding: 4px;
  border-radius: 18px 44px 18px 44px;
  background: color-mix(in srgb, #f7fee7 72%, transparent);
}
body.guest-shell.frontend-theme-citrus_vital .public-links a{
  border-radius: 12px 28px 12px 28px;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-flat-slider-shell{
  padding-top: 32px;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-flat-slider-shell .container, body.guest-shell.frontend-theme-citrus_vital.route-home .home-hero-title-below .container{
  width: min(1440px, calc(100% - 48px));
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-flat-slider{
  min-height: 560px;
  width: 72%;
  margin-inline-end: auto;
  border: 0;
  border-radius: 54px 18px 54px 18px;
  box-shadow: 0 30px 80px rgba(20,83,45,.16);
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-hero-title-below{
  position: relative;
  z-index: 4;
  margin-top: -460px;
  padding-bottom: 270px;
  pointer-events: none;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-hero-title-below-inner{
  width: 36%;
  min-height: 360px;
  margin-inline-start: auto;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  border-radius: 26px 70px 26px 70px;
  background: linear-gradient(145deg, #bef264, #84cc16);
  color: #12351f;
  box-shadow: 20px 20px 0 color-mix(in srgb, #14532d 12%, transparent);
  pointer-events: auto;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-hero-title-below h1, body.guest-shell.frontend-theme-citrus_vital.route-home .home-hero-title-below p{
  color: #12351f;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-panel{
  display: grid;
  grid-template-columns: minmax(0,1fr) 240px;
  gap: 14px;
  padding: 14px;
  border: 0;
  border-radius: 44px 16px 44px 16px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 24px 70px rgba(20,83,45,.1);
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-label{
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding: 26px;
  border-radius: 18px 42px 18px 42px;
  background: #14532d;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-label .eyebrow{
  color: #ecfccb;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-grid{
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-card{
  min-height: 165px;
  border: 0;
  border-radius: 30px 12px 30px 12px;
  background: #f7fee7;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-card:nth-child(2), body.guest-shell.frontend-theme-citrus_vital.route-home .home-provider-finder-card:nth-child(3){
  background: color-mix(in srgb, #bef264 34%, #f7fee7 66%);
  border-radius: 12px 30px 12px 30px;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .feature-grid-premium{
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-auto-rows: minmax(160px,auto);
}
body.guest-shell.frontend-theme-citrus_vital.route-home .feature-card-premium{
  grid-column: span 4;
  min-height: 250px;
  border: 0;
  border-radius: 38px 14px 38px 14px;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .feature-card-premium:nth-child(1){
  grid-column: span 7;
  grid-row: span 2;
  min-height: 440px;
  background: linear-gradient(145deg, #14532d, #166534);
  color: #fff;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .feature-card-premium:nth-child(1) :where(h3,p,.feature-card-link){
  color: #fff;
}
body.guest-shell.frontend-theme-citrus_vital.route-home .feature-card-premium:nth-child(2), body.guest-shell.frontend-theme-citrus_vital.route-home .feature-card-premium:nth-child(3){
  grid-column: span 5;
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-citrus_vital{
    --experience-sidebar-width: 286px;
    --experience-sidebar-inset: 16px;
    --experience-shell-padding: 16px 16px 16px 302px;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-citrus_vital{
    --experience-shell-padding: 16px 302px 16px 16px;
  }
  body.portal-experience.frontend-theme-citrus_vital .app-shell{
    grid-template-columns: 0 minmax(0,1fr) !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .sidebar{
    border-radius: 56px 18px 56px 18px !important;
    background:
      radial-gradient(circle at 18% 0, rgba(190,242,100,.25), transparent 24%),
      linear-gradient(160deg, #14532d, #166534 72%, #15803d) !important;
    box-shadow: 0 32px 80px rgba(20,83,45,.28) !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .workspace-chip,body.portal-experience.frontend-theme-citrus_vital .sidebar-user-card{
    border-radius: 24px 10px 24px 10px !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .side-nav a{
    border-radius: 18px 8px 18px 8px !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .side-nav a.active{
    background: #bef264 !important;
    color: #12351f !important;
    box-shadow: 6px 6px 0 rgba(0,0,0,.14) !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .topbar{
    margin: 0 0 16px !important;
    border: 0 !important;
    border-radius: 18px 44px 18px 44px !important;
    background: color-mix(in srgb, var(--surface) 90%, transparent) !important;
    box-shadow: 0 20px 60px rgba(20,83,45,.1) !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .page-content{
    padding: 0 4px 54px !important;
  }
  body.portal-experience.frontend-theme-citrus_vital .dashboard-hero,body.portal-experience.frontend-theme-citrus_vital .doctor-dashboard-hero{
    min-height: 320px;
    border: 0;
    border-radius: 30px 86px 30px 86px;
    background:
      radial-gradient(circle at 84% 16%, rgba(190,242,100,.32), transparent 28%),
      linear-gradient(135deg, #14532d, #166534 64%, #16a34a);
    box-shadow: 18px 18px 0 color-mix(in srgb, #14532d 10%, transparent);
  }
  body.portal-experience.frontend-theme-citrus_vital .metric-grid,body.portal-experience.frontend-theme-citrus_vital .doctor-dashboard-metrics{
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    grid-auto-rows: minmax(120px,auto);
  }
  body.portal-experience.frontend-theme-citrus_vital .metric-card-pro,body.portal-experience.frontend-theme-citrus_vital .doctor-dashboard-metric{
    grid-column: span 3;
    border: 0;
    border-radius: 34px 12px 34px 12px;
  }
  body.portal-experience.frontend-theme-citrus_vital .metric-card-pro:first-child,body.portal-experience.frontend-theme-citrus_vital .doctor-dashboard-metric:first-child{
    grid-column: span 5;
    background: linear-gradient(145deg, #bef264, #d9f99d);
    color: #12351f;
  }
  body.portal-experience.frontend-theme-citrus_vital .metric-card-pro:nth-child(2),body.portal-experience.frontend-theme-citrus_vital .doctor-dashboard-metric:nth-child(2){
    grid-column: span 4;
  }
  body.portal-experience.frontend-theme-citrus_vital .quick-action-grid,body.portal-experience.frontend-theme-citrus_vital .doctor-command-grid{
    grid-template-columns: repeat(12,minmax(0,1fr));
  }
  body.portal-experience.frontend-theme-citrus_vital .quick-action-pro,body.portal-experience.frontend-theme-citrus_vital .doctor-command-card{
    grid-column: span 4;
    min-height: 120px;
    border: 0;
    border-radius: 30px 12px 30px 12px;
  }
  body.portal-experience.frontend-theme-citrus_vital .quick-action-pro:nth-child(4n/**/+1),body.portal-experience.frontend-theme-citrus_vital .doctor-command-card:nth-child(4n/**/+1){
    grid-column: span 5;
    background: color-mix(in srgb, #bef264 30%, var(--surface) 70%);
  }
  body.portal-experience.frontend-theme-citrus_vital .subscription-panel,body.portal-experience.frontend-theme-citrus_vital .doctor-plan-panel,body.portal-experience.frontend-theme-citrus_vital .dashboard-lower-grid > *,body.portal-experience.frontend-theme-citrus_vital .doctor-dashboard-lower-grid > *{
    border: 0;
    border-radius: 38px 14px 38px 14px;
  }
}





























@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
































@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* 08. Royal Indigo — framed regal workspace */
  body.app-body.frontend-theme-royal_indigo:not(.role-admin){ --architecture-rail: 326px; }
  body.app-body.frontend-theme-royal_indigo:not(.role-admin) .sidebar{
    inset: 20px auto 20px 20px !important;
    width: calc(var(--architecture-rail) - 20px) !important;
    max-width: calc(var(--architecture-rail) - 20px) !important;
    height: calc(100vh - 40px) !important;
    padding: 24px 17px !important;
    border: 1px solid rgba(224,231,255,.26) !important;
    outline: 5px solid rgba(99,102,241,.08);
    outline-offset: 5px;
    border-radius: 4px 42px 4px 42px !important;
    background: radial-gradient(circle at 50% 0,rgba(129,140,248,.28),transparent 25%),linear-gradient(160deg,#312e81,#4c1d95) !important;
    box-shadow: 0 30px 85px rgba(49,46,129,.3) !important;
  }
  html[dir="rtl"] body.app-body.frontend-theme-royal_indigo:not(.role-admin) .sidebar{ inset: 20px 20px 20px auto !important; }
  body.app-body.frontend-theme-royal_indigo:not(.role-admin) :is(.workspace-chip,.provider-nav-tools,.sidebar-user-card){
    border: 1px solid rgba(224,231,255,.2) !important;
    border-radius: 2px 20px 2px 20px !important;
    background: rgba(255,255,255,.07) !important;
  }
  body.app-body.frontend-theme-royal_indigo:not(.role-admin) .side-nav a{ border-radius: 2px 16px 2px 16px !important; }
  body.app-body.frontend-theme-royal_indigo:not(.role-admin) .side-nav a.active{
    background: linear-gradient(135deg,#fff,#e0e7ff) !important;
    color: #312e81 !important;
    box-shadow: 0 12px 30px rgba(12,10,54,.25) !important;
  }
  body.app-body.frontend-theme-royal_indigo:not(.role-admin) .topbar{
    top: 18px !important;
    margin: 18px 24px 0 !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 4px 30px 4px 30px !important;
    background: rgba(250,250,255,.92) !important;
    box-shadow: 0 18px 50px rgba(49,46,129,.11) !important;
  }
  body.app-body.frontend-theme-royal_indigo:not(.role-admin) .page-content{ padding: 48px 40px 86px !important; }
  body.app-body.frontend-theme-royal_indigo.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 360px;
    border: 1px solid rgba(224,231,255,.32) !important;
    border-radius: 8px 72px 8px 72px !important;
    background: radial-gradient(circle at 82% 18%,rgba(167,139,250,.32),transparent 27%),linear-gradient(135deg,#312e81,#7c3aed) !important;
    box-shadow: 0 34px 90px rgba(49,46,129,.26) !important;
  }
  body.app-body.frontend-theme-royal_indigo.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){ grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: -54px !important; position: relative; z-index: 4; padding-inline: 24px; }
  body.app-body.frontend-theme-royal_indigo.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric){ border: 1px solid #c7d2fe !important; border-radius: 4px 28px 4px 28px !important; box-shadow: 0 20px 55px rgba(49,46,129,.16) !important; }
  body.app-body.frontend-theme-royal_indigo.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(3,minmax(0,1fr)); }

  /* 09. Citrus Vital — asymmetric bento workspace */
  body.app-body.frontend-theme-citrus_vital:not(.role-admin){ --architecture-rail: 294px; }
  body.app-body.frontend-theme-citrus_vital:not(.role-admin) .sidebar{
    inset: 14px auto 14px 14px !important;
    width: calc(var(--architecture-rail) - 14px) !important;
    max-width: calc(var(--architecture-rail) - 14px) !important;
    height: calc(100vh - 28px) !important;
    padding: 18px 13px !important;
    border: 2px solid #bef264 !important;
    border-radius: 38px 12px 38px 12px !important;
    background: linear-gradient(160deg,#14532d,#15803d) !important;
    box-shadow: 0 28px 75px rgba(20,83,45,.24) !important;
  }
  html[dir="rtl"] body.app-body.frontend-theme-citrus_vital:not(.role-admin) .sidebar{ inset: 14px 14px 14px auto !important; }
  body.app-body.frontend-theme-citrus_vital:not(.role-admin) .workspace-chip{ border-radius: 24px 8px 24px 8px !important; background: rgba(190,242,100,.12) !important; }
  body.app-body.frontend-theme-citrus_vital:not(.role-admin) .side-nav a{ border-radius: 18px 6px 18px 6px !important; }
  body.app-body.frontend-theme-citrus_vital:not(.role-admin) .side-nav a.active{
    background: #bef264 !important;
    color: #14532d !important;
    box-shadow: 0 10px 24px rgba(10,45,24,.22) !important;
  }
  body.app-body.frontend-theme-citrus_vital:not(.role-admin) .topbar{
    top: 14px !important;
    margin: 14px 18px 0 !important;
    border: 2px solid #d9f99d !important;
    border-radius: 30px 10px 30px 10px !important;
    background: rgba(250,255,244,.92) !important;
    box-shadow: 0 18px 46px rgba(20,83,45,.09) !important;
  }
  body.app-body.frontend-theme-citrus_vital:not(.role-admin) .page-content{ padding: 38px 28px 76px !important; }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 320px;
    border-radius: 48px 12px 90px 12px !important;
    background: radial-gradient(circle at 85% 13%,rgba(190,242,100,.38),transparent 29%),linear-gradient(135deg,#14532d,#22c55e) !important;
  }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-template-rows: repeat(2,minmax(82px,auto));
    gap: 14px;
  }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric){ border-radius: 28px 8px 28px 8px !important; }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric):first-child{ grid-column: span 2; grid-row: span 2; }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: minmax(120px,auto); }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.quick-action-pro,.doctor-command-card){ border-radius: 24px 8px 24px 8px !important; }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin) :is(.quick-action-pro,.doctor-command-card):first-child{ grid-column: span 2; }

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* 12. Botanical Serenity — organic sanctuary rail */
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin){ --architecture-rail: 324px; }
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin) .sidebar{
    inset: 18px auto 18px 18px !important;
    width: calc(var(--architecture-rail) - 18px) !important;
    max-width: calc(var(--architecture-rail) - 18px) !important;
    height: calc(100vh - 36px) !important;
    padding: 22px 15px 16px !important;
    border: 1px solid rgba(223,234,217,.18) !important;
    border-radius: 72px 20px 72px 20px !important;
    background: radial-gradient(ellipse at 0 0,rgba(223,234,217,.16),transparent 31%),linear-gradient(160deg,#294a3a,#496b52) !important;
    box-shadow: 0 30px 80px rgba(41,74,58,.24) !important;
  }
  html[dir="rtl"] body.app-body.frontend-theme-botanical_serenity:not(.role-admin) .sidebar{ inset: 18px 18px 18px auto !important; }
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin) :is(.workspace-chip,.provider-nav-tools,.sidebar-user-card){ border-radius: 36px 12px 36px 12px !important; }
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin) .side-nav a{ border-radius: 28px 10px 28px 10px !important; }
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin) .side-nav a.active{ background: #dfead9 !important; color: #294a3a !important; box-shadow: 0 12px 28px rgba(17,43,29,.2) !important; }
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin) .topbar{
    top: 18px !important;
    margin: 18px 22px 0 !important;
    border: 1px solid #cadcc3 !important;
    border-radius: 48px 14px 48px 14px !important;
    background: rgba(251,252,247,.9) !important;
    box-shadow: 0 20px 58px rgba(41,74,58,.1) !important;
  }
  body.app-body.frontend-theme-botanical_serenity:not(.role-admin) .page-content{ padding: 48px 38px 86px !important; }
  body.app-body.frontend-theme-botanical_serenity.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 350px;
    border-radius: 110px 28px 110px 28px !important;
    background: radial-gradient(ellipse at 85% 15%,rgba(223,234,217,.26),transparent 31%),linear-gradient(135deg,#294a3a,#6b8f71) !important;
  }
  body.app-body.frontend-theme-botanical_serenity.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){ grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
  body.app-body.frontend-theme-botanical_serenity.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric):nth-child(odd){ border-radius: 58px 16px 58px 16px !important; }
  body.app-body.frontend-theme-botanical_serenity.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric):nth-child(even){ border-radius: 16px 58px 16px 58px !important; }
  body.app-body.frontend-theme-botanical_serenity.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(3,minmax(0,1fr)); }
}


@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* 15. Aether Glass — floating spatial layers */
  body.app-body.frontend-theme-aether_glass:not(.role-admin){ --architecture-rail: 318px; }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) .app-shell{
    background: radial-gradient(circle at 8% 8%,rgba(103,232,249,.28),transparent 30%),radial-gradient(circle at 90% 10%,rgba(167,139,250,.26),transparent 31%),linear-gradient(135deg,#eaf8ff,#f2ebff) !important;
  }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) .sidebar{
    inset: 18px auto 18px 18px !important;
    width: calc(var(--architecture-rail) - 18px) !important;
    max-width: calc(var(--architecture-rail) - 18px) !important;
    height: calc(100vh - 36px) !important;
    padding: 21px 15px !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 34px !important;
    background: linear-gradient(160deg,rgba(23,37,84,.88),rgba(91,33,182,.82)) !important;
    box-shadow: 0 34px 100px rgba(55,48,125,.26) !important;
    backdrop-filter: blur(28px) saturate(1.25) !important;
  }
  html[dir="rtl"] body.app-body.frontend-theme-aether_glass:not(.role-admin) .sidebar{ inset: 18px 18px 18px auto !important; }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) :is(.workspace-chip,.provider-nav-tools,.sidebar-user-card){ border: 1px solid rgba(255,255,255,.2) !important; border-radius: 22px !important; background: rgba(255,255,255,.08) !important; backdrop-filter: blur(14px); }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) .side-nav a{ border-radius: 18px !important; }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) .side-nav a.active{ background: rgba(255,255,255,.92) !important; color: #3730a3 !important; box-shadow: 0 14px 34px rgba(17,24,68,.26) !important; }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) .topbar{
    top: 18px !important;
    margin: 18px 20px 0 !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 24px 72px rgba(55,48,125,.12) !important;
    backdrop-filter: blur(28px) saturate(1.3) !important;
  }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) .page-content{ padding: 44px 34px 86px !important; }
  body.app-body.frontend-theme-aether_glass:not(.role-admin) :is(.card,.workspace-section,.subscription-panel){ border: 1px solid rgba(255,255,255,.74) !important; background: rgba(255,255,255,.56) !important; backdrop-filter: blur(22px); }
  body.app-body.frontend-theme-aether_glass.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 360px;
    border: 1px solid rgba(255,255,255,.6) !important;
    border-radius: 60px !important;
    background: radial-gradient(circle at 84% 18%,rgba(103,232,249,.24),transparent 30%),linear-gradient(135deg,rgba(23,37,84,.94),rgba(124,58,237,.88)) !important;
    box-shadow: 0 40px 110px rgba(55,48,125,.24) !important;
    backdrop-filter: blur(16px);
  }
  body.app-body.frontend-theme-aether_glass.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){ grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
  body.app-body.frontend-theme-aether_glass.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric,.quick-action-pro,.doctor-command-card){ border: 1px solid rgba(255,255,255,.72) !important; border-radius: 30px !important; background: rgba(255,255,255,.58) !important; box-shadow: 0 22px 60px rgba(55,48,125,.12) !important; backdrop-filter: blur(20px); }
  body.app-body.frontend-theme-aether_glass.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric):nth-child(even){ transform: translateY(22px); }
  body.app-body.frontend-theme-aether_glass.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(3,minmax(0,1fr)); }

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}


/* --------------------------------------------------------------------------
   12. Botanical Serenity — organic sanctuary
   -------------------------------------------------------------------------- */
body.frontend-theme-botanical_serenity .theme-atmosphere .shape-one{
  width: 620px;
  inset: -260px auto auto -190px;
  border-radius: 78% 22% 72% 28% / 38% 70% 30% 62%;
  background: color-mix(in srgb, #6b8f71 20%, transparent);
  transform: rotate(20deg);
}
body.frontend-theme-botanical_serenity .theme-atmosphere .shape-two{
  width: 520px;
  inset: 30vh -210px auto auto;
  border-radius: 24% 76% 34% 66% / 68% 32% 68% 32%;
  background: color-mix(in srgb, #dfead9 70%, transparent);
  transform: rotate(-15deg);
}
body.frontend-theme-botanical_serenity .theme-atmosphere .shape-three{
  width: 240px;
  inset: auto auto 4vh 26vw;
  border-radius: 82% 18% 76% 24% / 44% 70% 30% 56%;
  background: color-mix(in srgb, #294a3a 10%, transparent);
  transform: rotate(44deg);
}
body.frontend-theme-botanical_serenity .theme-atmosphere-grid{
  display: none;
}
body.frontend-theme-botanical_serenity .theme-atmosphere-line{
  height: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, #6b8f71 14%, transparent);
}

body.guest-shell.frontend-theme-botanical_serenity .public-trust-bar{
  background: #294a3a;
  color: #f4f7ef;
}
body.guest-shell.frontend-theme-botanical_serenity .public-header{
  border: 0;
  background: color-mix(in srgb, #fbfcf7 90%, transparent);
  box-shadow: 0 20px 60px rgba(41,74,58,.1);
}
body.guest-shell.frontend-theme-botanical_serenity .public-nav{
  width: min(1400px, calc(100% - 48px));
  height: 88px;
}
body.guest-shell.frontend-theme-botanical_serenity .public-links{
  padding: 5px;
  border-radius: 32px 12px 32px 12px;
  background: color-mix(in srgb, #dfead9 54%, transparent);
}
body.guest-shell.frontend-theme-botanical_serenity .public-links a{
  border-radius: 24px 8px 24px 8px;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-flat-slider-shell{
  padding-top: 38px;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-flat-slider-shell .container, body.guest-shell.frontend-theme-botanical_serenity.route-home .home-hero-title-below .container{
  width: min(1400px, calc(100% - 48px));
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-flat-slider{
  min-height: 600px;
  width: 86%;
  margin-inline-start: auto;
  border: 0;
  border-radius: 160px 38px 160px 38px;
  box-shadow: 0 34px 90px rgba(41,74,58,.16);
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-hero-title-below{
  position: relative;
  z-index: 4;
  margin-top: -430px;
  padding-bottom: 260px;
  pointer-events: none;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-hero-title-below-inner{
  width: 38%;
  min-height: 350px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid color-mix(in srgb, #6b8f71 26%, var(--border));
  border-radius: 90px 28px 90px 28px;
  background: #fbfcf7;
  box-shadow: 18px 18px 0 color-mix(in srgb, #6b8f71 10%, transparent);
  pointer-events: auto;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-provider-finder-panel{
  padding: 18px;
  border: 0;
  border-radius: 74px 22px 74px 22px;
  background: color-mix(in srgb, #fbfcf7 92%, transparent);
  box-shadow: 0 28px 80px rgba(41,74,58,.11);
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-provider-finder-label{
  padding: 18px 24px 26px;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-provider-finder-card{
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-radius: 54px 16px 54px 16px;
  background: linear-gradient(145deg, #fbfcf7, #edf4e9);
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .home-provider-finder-card:nth-child(2), body.guest-shell.frontend-theme-botanical_serenity.route-home .home-provider-finder-card:nth-child(4){
  border-radius: 16px 54px 16px 54px;
  transform: translateY(28px);
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .feature-grid-premium{
  grid-template-columns: repeat(12,minmax(0,1fr));
  align-items: start;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .feature-card-premium{
  grid-column: span 4;
  min-height: 290px;
  border: 0;
  border-radius: 70px 20px 70px 20px;
}
body.guest-shell.frontend-theme-botanical_serenity.route-home .feature-card-premium:nth-child(2), body.guest-shell.frontend-theme-botanical_serenity.route-home .feature-card-premium:nth-child(5){
  margin-top: 60px;
  border-radius: 20px 70px 20px 70px;
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-botanical_serenity{
    --experience-sidebar-width: 306px;
    --experience-sidebar-inset: 18px;
    --experience-shell-padding: 18px 18px 18px 324px;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-botanical_serenity{
    --experience-shell-padding: 18px 324px 18px 18px;
  }
  body.portal-experience.frontend-theme-botanical_serenity .app-shell{
    grid-template-columns: 0 minmax(0,1fr) !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .sidebar{
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 84px 26px 84px 26px !important;
    background:
      radial-gradient(ellipse at 24% 0, rgba(223,234,217,.2), transparent 25%),
      linear-gradient(160deg, #294a3a, #42684f 68%, #6b8f71) !important;
    box-shadow: 0 36px 90px rgba(41,74,58,.3) !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .workspace-chip,body.portal-experience.frontend-theme-botanical_serenity .sidebar-user-card{
    border-radius: 34px 12px 34px 12px !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .side-nav a{
    border-radius: 28px 10px 28px 10px !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .side-nav a:nth-of-type(even){
    border-radius: 10px 28px 10px 28px !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .side-nav a.active{
    background: #dfead9 !important;
    color: #294a3a !important;
    box-shadow: 6px 6px 0 rgba(0,0,0,.12) !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .topbar{
    margin: 0 0 18px !important;
    border: 1px solid color-mix(in srgb, #6b8f71 18%, var(--border)) !important;
    border-radius: 28px 70px 28px 70px !important;
    background: color-mix(in srgb, #fbfcf7 88%, transparent) !important;
    box-shadow: 0 24px 70px rgba(41,74,58,.1) !important;
    backdrop-filter: blur(20px) !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .page-content{
    padding: 0 4px 58px !important;
  }
  body.portal-experience.frontend-theme-botanical_serenity .dashboard-hero,body.portal-experience.frontend-theme-botanical_serenity .doctor-dashboard-hero{
    min-height: 330px;
    border: 0;
    border-radius: 98px 30px 98px 30px;
    background:
      radial-gradient(ellipse at 84% 12%, rgba(223,234,217,.25), transparent 28%),
      linear-gradient(135deg, #294a3a, #42684f 65%, #6b8f71);
    box-shadow: 18px 18px 0 color-mix(in srgb, #6b8f71 10%, transparent);
  }
  body.portal-experience.frontend-theme-botanical_serenity .metric-grid,body.portal-experience.frontend-theme-botanical_serenity .doctor-dashboard-metrics{
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
  }
  body.portal-experience.frontend-theme-botanical_serenity .metric-card-pro,body.portal-experience.frontend-theme-botanical_serenity .doctor-dashboard-metric{
    min-height: 150px;
    border: 0;
    border-radius: 46px 16px 46px 16px;
  }
  body.portal-experience.frontend-theme-botanical_serenity .metric-card-pro:nth-child(even),body.portal-experience.frontend-theme-botanical_serenity .doctor-dashboard-metric:nth-child(even){
    border-radius: 16px 46px 16px 46px;
  }
  body.portal-experience.frontend-theme-botanical_serenity .quick-action-grid,body.portal-experience.frontend-theme-botanical_serenity .doctor-command-grid{
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  body.portal-experience.frontend-theme-botanical_serenity .quick-action-pro,body.portal-experience.frontend-theme-botanical_serenity .doctor-command-card,body.portal-experience.frontend-theme-botanical_serenity .subscription-panel,body.portal-experience.frontend-theme-botanical_serenity .doctor-plan-panel,body.portal-experience.frontend-theme-botanical_serenity .dashboard-lower-grid > *,body.portal-experience.frontend-theme-botanical_serenity .doctor-dashboard-lower-grid > *{
    border: 0;
    border-radius: 56px 18px 56px 18px;
  }
}




























































/* --------------------------------------------------------------------------
   15. Aether Glass — spatial floating layers
   -------------------------------------------------------------------------- */
body.frontend-theme-aether_glass .theme-atmosphere .shape-one{
  width: 720px;
  inset: -260px auto auto -220px;
  background: radial-gradient(circle at 35% 35%,rgba(103,232,249,.34),rgba(124,58,237,.14) 56%,transparent 72%);
  filter: blur(14px);
  animation: aether-orbit 22s ease-in-out infinite alternate;
}
body.frontend-theme-aether_glass .theme-atmosphere .shape-two{
  width: 600px;
  inset: 22vh -220px auto auto;
  background: radial-gradient(circle at 44% 44%,rgba(124,58,237,.32),rgba(103,232,249,.12) 60%,transparent 74%);
  filter: blur(18px);
  animation: aether-orbit 26s ease-in-out infinite alternate-reverse;
}
body.frontend-theme-aether_glass .theme-atmosphere .shape-three{
  width: 280px;
  inset: auto auto 4vh 36vw;
  border: 1px solid rgba(124,58,237,.22);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 70px rgba(103,232,249,.1);
  backdrop-filter: blur(14px);
}
body.frontend-theme-aether_glass .theme-atmosphere-grid{
  opacity: .09;
  background-size: 72px 72px;
}

@keyframes aether-orbit {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(44px,28px,0) scale(1.08); }
}

body.guest-shell.frontend-theme-aether_glass .public-trust-bar{
  background: transparent;
  color: var(--text);
}
body.guest-shell.frontend-theme-aether_glass .public-header{
  top: 18px;
  width: min(1380px,calc(100% - 36px));
  margin-inline: auto;
  border: 1px solid color-mix(in srgb,#7c3aed 18%,transparent);
  border-radius: 30px;
  background: color-mix(in srgb,var(--surface) 60%,transparent);
  box-shadow: 0 30px 90px rgba(60,45,120,.17);
  backdrop-filter: blur(30px) saturate(150%);
}
body.guest-shell.frontend-theme-aether_glass .public-nav{
  width: calc(100% - 24px);
  height: 78px;
}
body.guest-shell.frontend-theme-aether_glass .public-links{
  padding: 5px;
  border: 1px solid color-mix(in srgb,#7c3aed 14%,transparent);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
body.guest-shell.frontend-theme-aether_glass .public-links a{
  border-radius: 16px;
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider-shell{
  padding-top: 48px;
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider-shell .container, body.guest-shell.frontend-theme-aether_glass.route-home .home-hero-title-below .container{
  width: min(1420px,calc(100% - 42px));
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider{
  min-height: 610px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 46px;
  box-shadow: 0 40px 120px rgba(60,45,120,.24),inset 0 0 0 1px rgba(124,58,237,.08);
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider::before, body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider::after{
  content: "";
  position: absolute;
  z-index: 4;
  border-radius: 50%;
  pointer-events: none;
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider::before{
  width: 170px;
  height: 170px;
  inset: 44px 8% auto auto;
  border: 1px solid rgba(103,232,249,.38);
  box-shadow: 0 0 0 34px rgba(103,232,249,.05);
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-flat-slider::after{
  width: 92px;
  height: 92px;
  inset: auto auto 34px 10%;
  border: 1px solid rgba(196,181,253,.42);
  box-shadow: 0 0 0 22px rgba(124,58,237,.05);
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-hero-title-below{
  position: relative;
  z-index: 5;
  margin-top: -110px;
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-hero-title-below-inner{
  width: min(860px,74%);
  margin-inline: auto;
  padding: 38px 48px;
  border: 1px solid color-mix(in srgb,#7c3aed 20%,transparent);
  border-radius: 34px;
  background: color-mix(in srgb,var(--surface) 58%,transparent);
  box-shadow: 0 30px 90px rgba(60,45,120,.17);
  text-align: center;
  backdrop-filter: blur(30px) saturate(150%);
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-provider-finder-panel{
  padding: 16px;
  border: 1px solid color-mix(in srgb,#7c3aed 16%,transparent);
  border-radius: 36px;
  background: color-mix(in srgb,var(--surface) 58%,transparent);
  box-shadow: 0 30px 90px rgba(60,45,120,.13);
  backdrop-filter: blur(26px);
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
body.guest-shell.frontend-theme-aether_glass.route-home .home-provider-finder-card{
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  background: color-mix(in srgb,var(--surface) 54%,transparent);
  backdrop-filter: blur(18px);
}
body.guest-shell.frontend-theme-aether_glass.route-home .feature-grid-premium{
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: start;
}
body.guest-shell.frontend-theme-aether_glass.route-home .feature-card-premium{
  min-height: 290px;
  border: 1px solid color-mix(in srgb,#7c3aed 15%,transparent);
  border-radius: 32px;
  background: color-mix(in srgb,var(--surface) 58%,transparent);
  backdrop-filter: blur(24px);
}
body.guest-shell.frontend-theme-aether_glass.route-home .feature-card-premium:nth-child(3n/**/+2){
  transform: translateY(56px);
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-aether_glass{
    --experience-sidebar-width: 296px;
    --experience-sidebar-inset: 22px;
    --experience-shell-padding: 22px 22px 22px 318px;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-aether_glass{
    --experience-shell-padding: 22px 318px 22px 22px;
  }
  body.portal-experience.frontend-theme-aether_glass .app-shell{
    grid-template-columns: 0 minmax(0,1fr) !important;
  }
  body.portal-experience.frontend-theme-aether_glass .sidebar{
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 38px !important;
    background: linear-gradient(160deg,rgba(23,37,84,.82),rgba(76,29,149,.68)) !important;
    box-shadow: 0 38px 110px rgba(60,45,120,.35) !important;
    backdrop-filter: blur(30px) saturate(150%) !important;
  }
  body.portal-experience.frontend-theme-aether_glass .workspace-chip,body.portal-experience.frontend-theme-aether_glass .sidebar-user-card{
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.08) !important;
    backdrop-filter: blur(14px) !important;
  }
  body.portal-experience.frontend-theme-aether_glass .side-nav a{
    border-radius: 18px !important;
  }
  body.portal-experience.frontend-theme-aether_glass .side-nav a.active{
    background: rgba(103,232,249,.17) !important;
    box-shadow: inset 4px 0 0 #67e8f9,0 16px 38px rgba(0,0,0,.14) !important;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-aether_glass .side-nav a.active{
    box-shadow: inset -4px 0 0 #67e8f9,0 16px 38px rgba(0,0,0,.14) !important;
  }
  body.portal-experience.frontend-theme-aether_glass .topbar{
    margin: 0 0 18px !important;
    border: 1px solid color-mix(in srgb,#7c3aed 18%,transparent) !important;
    border-radius: 30px !important;
    background: color-mix(in srgb,var(--surface) 58%,transparent) !important;
    box-shadow: 0 28px 90px rgba(60,45,120,.13) !important;
    backdrop-filter: blur(30px) saturate(150%) !important;
  }
  body.portal-experience.frontend-theme-aether_glass .page-content{
    padding: 0 4px 58px !important;
  }
  body.portal-experience.frontend-theme-aether_glass .dashboard-hero,body.portal-experience.frontend-theme-aether_glass .doctor-dashboard-hero{
    min-height: 330px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 40px;
    background:
      radial-gradient(circle at 86% 18%,rgba(103,232,249,.25),transparent 28%),
      radial-gradient(circle at 12% 100%,rgba(124,58,237,.25),transparent 28%),
      linear-gradient(135deg,rgba(23,37,84,.94),rgba(76,29,149,.9));
    box-shadow: 0 38px 110px rgba(60,45,120,.25);
    backdrop-filter: blur(24px);
  }
  body.portal-experience.frontend-theme-aether_glass .metric-grid,body.portal-experience.frontend-theme-aether_glass .doctor-dashboard-metrics{
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
  }
  body.portal-experience.frontend-theme-aether_glass .metric-card-pro,body.portal-experience.frontend-theme-aether_glass .doctor-dashboard-metric,body.portal-experience.frontend-theme-aether_glass .quick-action-pro,body.portal-experience.frontend-theme-aether_glass .doctor-command-card,body.portal-experience.frontend-theme-aether_glass .subscription-panel,body.portal-experience.frontend-theme-aether_glass .doctor-plan-panel,body.portal-experience.frontend-theme-aether_glass .dashboard-lower-grid > *,body.portal-experience.frontend-theme-aether_glass .doctor-dashboard-lower-grid > *{
    border: 1px solid color-mix(in srgb,#7c3aed 15%,transparent);
    border-radius: 30px;
    background: color-mix(in srgb,var(--surface) 58%,transparent);
    box-shadow: 0 24px 75px rgba(60,45,120,.1);
    backdrop-filter: blur(24px);
  }
  body.portal-experience.frontend-theme-aether_glass .metric-card-pro:nth-child(even),body.portal-experience.frontend-theme-aether_glass .doctor-dashboard-metric:nth-child(even){
    transform: translateY(18px);
  }
  body.portal-experience.frontend-theme-aether_glass .quick-action-grid,body.portal-experience.frontend-theme-aether_glass .doctor-command-grid{
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* 21. Kinetic Spectrum — angled workspace */
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin){ --architecture-rail: 306px; }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .sidebar{
    padding: 20px 15px !important;
    border: 0 !important;
    border-inline-end: 0 !important;
    border-radius: 0 46px 0 46px !important;
    background: linear-gradient(165deg,#25204a 0 58%,#a83bc2 58% 78%,#ef3f78 78%) !important;
    box-shadow: 18px 0 70px rgba(92,49,142,.22) !important;
  }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .sidebar::after{
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -18px 0 auto;
    width: 46px;
    background: linear-gradient(180deg,#ffb347,#ef3f78);
    clip-path: polygon(100% 0,100% 100%,0 94%,0 6%);
  }
  html[dir="rtl"] body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .sidebar::after{ inset: 0 auto 0 -18px; clip-path: polygon(0 0,100% 6%,100% 94%,0 100%); }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) :is(.workspace-chip,.provider-nav-tools,.sidebar-user-card){ border-radius: 20px 4px 20px 4px !important; background: rgba(255,255,255,.08) !important; }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .side-nav a{ border-radius: 18px 4px 18px 4px !important; transform: skewX(-2deg); }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .side-nav a.active{ background: linear-gradient(115deg,#ef3f78,#ff8a3d) !important; color: #fff !important; box-shadow: 0 14px 30px rgba(15,9,38,.22) !important; }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .topbar{
    top: 14px !important;
    margin: 14px 22px 0 !important;
    border: 0 !important;
    border-radius: 22px 5px 22px 5px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 12px 12px 0 rgba(92,49,142,.08) !important;
    transform: skewX(-.8deg);
  }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .topbar > *{ transform: skewX(.8deg); }
  body.app-body.frontend-theme-kinetic_spectrum:not(.role-admin) .page-content{ padding: 46px 38px 86px !important; }
  body.app-body.frontend-theme-kinetic_spectrum.route-dashboard:not(.role-admin) :is(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 350px;
    border-radius: 30px 8px 30px 8px !important;
    clip-path: polygon(3% 0,100% 0,96% 100%,0 100%);
    background: linear-gradient(115deg,#25204a,#a83bc2 58%,#ef3f78) !important;
    box-shadow: 0 34px 90px rgba(92,49,142,.24) !important;
  }
  body.app-body.frontend-theme-kinetic_spectrum.route-dashboard:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics){ grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
  body.app-body.frontend-theme-kinetic_spectrum.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric,.quick-action-pro,.doctor-command-card){ border-radius: 22px 5px 22px 5px !important; }
  body.app-body.frontend-theme-kinetic_spectrum.route-dashboard:not(.role-admin) :is(.metric-card-pro,.doctor-dashboard-metric):nth-child(2n){ transform: translateY(-18px) rotate(.5deg); }
  body.app-body.frontend-theme-kinetic_spectrum.route-dashboard:not(.role-admin) :is(.quick-action-grid,.doctor-command-grid){ grid-template-columns: repeat(3,minmax(0,1fr)); }

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

/* Keep portal text and controls legible when a theme's dark mode is active. */
html[data-theme="dark"] body.app-body:not(.role-admin) .topbar{
  color: var(--text);
}


/* Dashboard grids must gracefully collapse before the mobile portal breakpoint. */
@media (min-width: 901px) and (max-width: 1290px) {
  body.app-body:not(.role-admin) :is(.metric-grid,.doctor-dashboard-metrics,.quick-action-grid,.doctor-command-grid){
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    margin-inline: 0 !important;
  }
  
  
}













































/* --------------------------------------------------------------------------
   17. Zen Whitespace — borderless quiet-care flow
   -------------------------------------------------------------------------- */






















































































































































/* --------------------------------------------------------------------------
   21. Kinetic Spectrum — directional motion and angled ribbons
   -------------------------------------------------------------------------- */
body.frontend-theme-kinetic_spectrum{
  --kinetic-ink: #241a4b;
  --kinetic-pink: #ef3f78;
  --kinetic-orange: #ff8a3d;
  --kinetic-cyan: #38c6d9;
}
body.frontend-theme-kinetic_spectrum .theme-atmosphere .shape-one{
  width: 760px;
  inset: -300px auto auto -300px;
  border-radius: 80px;
  background: linear-gradient(115deg, rgba(239,63,120,.16), rgba(255,138,61,.12));
  transform: rotate(-24deg);
}
body.frontend-theme-kinetic_spectrum .theme-atmosphere .shape-two{
  width: 620px;
  inset: 18vh -320px auto auto;
  border-radius: 80px;
  background: linear-gradient(115deg, rgba(56,198,217,.14), rgba(105,87,216,.12));
  transform: rotate(27deg);
}
body.frontend-theme-kinetic_spectrum .theme-atmosphere .shape-three{
  width: 430px;
  inset: auto auto -230px 30vw;
  border-radius: 70px;
  background: color-mix(in srgb, var(--kinetic-orange) 10%, transparent);
  transform: rotate(-18deg);
}
body.frontend-theme-kinetic_spectrum .theme-atmosphere .line-one, body.frontend-theme-kinetic_spectrum .theme-atmosphere .line-two{
  height: 16px;
  background: linear-gradient(90deg, transparent, rgba(239,63,120,.18), transparent);
}
body.frontend-theme-kinetic_spectrum .theme-atmosphere-grid{
  opacity: .08;
  transform: skewY(-4deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum{
  background: #f8f5ff;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-trust-bar{
  min-height: 38px;
  border: 0;
  background: linear-gradient(90deg, var(--kinetic-pink), var(--kinetic-orange));
  color: #fff;
  font-weight: 850;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-header{
  position: relative;
  border: 0;
  background: var(--kinetic-ink);
  box-shadow: 0 20px 60px rgba(36,26,75,.22);
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-header::after{
  content: "";
  position: absolute;
  inset: auto 0 -12px;
  height: 24px;
  background: linear-gradient(90deg, var(--kinetic-pink), var(--kinetic-orange), var(--kinetic-cyan));
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 50%);
  opacity: .82;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-nav{
  width: min(1500px, calc(100% - 48px));
  min-height: 92px;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  gap: 20px;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-nav .brand{
  color: #fff;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-nav .brand-copy small{
  color: #c7bde8;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-links{
  justify-content: center;
  gap: 2px;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-links a{
  padding-inline: 17px;
  border-radius: 4px;
  color: #f3efff;
  font-size: .7rem;
  font-weight: 840;
  text-transform: uppercase;
  transform: skewX(-8deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-links a:hover{
  background: linear-gradient(115deg, var(--kinetic-pink), var(--kinetic-orange));
  color: #fff;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-actions .btn{
  border-radius: 4px 20px 4px 20px;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-flat-slider-shell{
  padding-top: 64px;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-flat-slider-shell .container, body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-hero-title-below .container{
  width: min(1500px, calc(100% - 48px));
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-flat-slider{
  min-height: 520px;
  border: 0;
  border-radius: 32px 6px 32px 6px;
  clip-path: polygon(3% 0, 100% 0, 96% 100%, 0 100%);
  box-shadow: 0 44px 110px rgba(36,26,75,.22);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-hero-title-below-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .45fr);
  align-items: center;
  gap: 42px;
  padding: 54px 4vw 30px;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-hero-title-below-inner::after{
  content: "CARE\A IN MOTION";
  white-space: pre;
  padding: 44px 30px;
  border-radius: 6px 28px 6px 28px;
  background: linear-gradient(115deg, var(--kinetic-pink), var(--kinetic-orange));
  box-shadow: 12px 12px 0 rgba(56,198,217,.28);
  color: #fff;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 950;
  letter-spacing: .16em;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-3deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-hero-title-below h1{
  color: var(--kinetic-ink);
  font-size: clamp(3.2rem, 6vw, 7.5rem);
  line-height: .86;
  letter-spacing: -.07em;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder{
  padding-top: 72px;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-panel{
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 0;
  border-radius: 32px 6px 32px 6px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(36,26,75,.12);
  transform: skewY(-1deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-panel > *{
  transform: skewY(1deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-label{
  display: grid;
  align-content: center;
  padding: 28px;
  border-radius: 24px 4px 24px 4px;
  background: var(--kinetic-ink);
  color: #fff;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-card{
  min-height: 170px;
  border: 1px solid color-mix(in srgb, var(--kinetic-ink) 12%, transparent);
  border-radius: 18px 4px 18px 4px;
  box-shadow: none;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-card:nth-child(even){
  transform: translateY(14px);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-provider-finder-card:hover{
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 18px 46px rgba(36,26,75,.12);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .home-doctor-specialties-panel, body.guest-shell.frontend-theme-kinetic_spectrum.route-home .marketplace-home-panel, body.guest-shell.frontend-theme-kinetic_spectrum.route-home .product-cta-panel{
  border: 0;
  border-radius: 32px 6px 32px 6px;
  box-shadow: 0 30px 86px rgba(36,26,75,.1);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .feature-grid-premium{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .feature-card-premium{
  min-height: 300px;
  border: 0;
  border-radius: 28px 5px 28px 5px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(36,26,75,.1);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .feature-card-premium:nth-child(3n/**/+1){
  border-top: 8px solid var(--kinetic-pink);
  transform: translateY(22px) rotate(-1deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .feature-card-premium:nth-child(3n/**/+2){
  border-top: 8px solid var(--kinetic-orange);
  transform: translateY(-20px) rotate(1deg);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .feature-card-premium:nth-child(3n/**/+3){
  border-top: 8px solid var(--kinetic-cyan);
}
body.guest-shell.frontend-theme-kinetic_spectrum.route-home .feature-card-premium:hover{
  transform: translateY(-10px) rotate(0);
}

@media (min-width: 1100px) {
  body.portal-experience.frontend-theme-kinetic_spectrum{
    --experience-sidebar-width: 304px;
    background: #f5f1fb;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .sidebar{
    padding: 20px 18px 16px !important;
    border: 0 !important;
    border-radius: 0 42px 0 0 !important;
    background: var(--kinetic-ink) !important;
    box-shadow: 20px 0 70px rgba(36,26,75,.2) !important;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-kinetic_spectrum .sidebar{
    border-radius: 42px 0 0 0 !important;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .sidebar::after{
    content: "";
    position: absolute;
    inset: 0 -8px 0 auto;
    width: 16px;
    background: linear-gradient(180deg, var(--kinetic-pink), var(--kinetic-orange), var(--kinetic-cyan));
    clip-path: polygon(0 0, 100% 3%, 30% 24%, 100% 47%, 25% 71%, 100% 100%, 0 100%);
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-kinetic_spectrum .sidebar::after{
    inset: 0 auto 0 -8px;
    transform: scaleX(-1);
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .workspace-chip,body.portal-experience.frontend-theme-kinetic_spectrum .sidebar-user-card{
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 20px 4px 20px 4px !important;
    background: rgba(255,255,255,.06) !important;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .side-nav a{
    min-height: 45px !important;
    padding: 9px 12px !important;
    border-radius: 16px 3px 16px 3px !important;
    transform: skewX(-2deg) !important;
  }
  html[dir="rtl"] body.portal-experience.frontend-theme-kinetic_spectrum .side-nav a{
    transform: skewX(2deg) !important;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .side-nav a.active{
    background: linear-gradient(115deg, var(--kinetic-pink), var(--kinetic-orange)) !important;
    color: #fff !important;
    box-shadow: 8px 8px 0 rgba(56,198,217,.2) !important;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .topbar{
    min-height: 86px !important;
    margin: 14px 20px 18px !important;
    border: 0 !important;
    border-radius: 24px 5px 24px 5px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 10px 10px 0 rgba(105,87,216,.1) !important;
    backdrop-filter: blur(20px) !important;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .page-content{
    padding: 4px 32px 72px !important;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .dashboard-hero,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-dashboard-hero{
    min-height: 340px;
    padding: clamp(38px, 5vw, 74px);
    border: 0;
    border-radius: 34px 6px 34px 6px;
    background:
      linear-gradient(115deg, rgba(239,63,120,.2), transparent 34%),
      linear-gradient(135deg, #241a4b, #5142a0);
    box-shadow: 18px 18px 0 rgba(56,198,217,.18);
    clip-path: polygon(2% 0, 100% 0, 97% 100%, 0 100%);
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .metric-grid,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-dashboard-metrics{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .metric-card-pro,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-dashboard-metric{
    min-height: 165px;
    border: 0;
    border-radius: 24px 5px 24px 5px;
    background: #fff;
    box-shadow: 9px 9px 0 rgba(36,26,75,.08);
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .metric-card-pro:nth-child(odd),body.portal-experience.frontend-theme-kinetic_spectrum .doctor-dashboard-metric:nth-child(odd){
    transform: translateY(13px) rotate(-.4deg);
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .quick-action-grid,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-command-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  body.portal-experience.frontend-theme-kinetic_spectrum .quick-action-pro,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-command-card,body.portal-experience.frontend-theme-kinetic_spectrum .subscription-panel,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-plan-panel,body.portal-experience.frontend-theme-kinetic_spectrum .dashboard-lower-grid > *,body.portal-experience.frontend-theme-kinetic_spectrum .doctor-dashboard-lower-grid > *{
    border: 0;
    border-radius: 26px 5px 26px 5px;
    background: #fff;
    box-shadow: 0 22px 62px rgba(36,26,75,.1);
  }
}














































































@media (min-width: 1100px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

/* --------------------------------------------------------------------------
   Cross-theme responsive, dark-mode, accessibility, and print guardrails
   -------------------------------------------------------------------------- */
@media (min-width: 1100px) and (max-width: 1360px) {
  body.portal-experience.ui-v2 :where(
    .metric-grid,
    .doctor-dashboard-metrics
  ){
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.portal-experience.ui-v2 :where(
    .metric-card-pro,
    .doctor-dashboard-metric
  ){
    grid-column: auto !important;
    grid-row: auto !important;
  }
  body.portal-experience.ui-v2 :where(
    .quick-action-grid,
    .doctor-command-grid
  ){
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.portal-experience.ui-v2 :where(.dashboard-hero,.doctor-dashboard-hero) h1,body.portal-experience.ui-v2 .doctor-dashboard-hero h2{
    font-size: clamp(2.7rem, 5vw, 5.2rem) !important;
  }
}

@media (min-width: 901px) and (max-width: 1099px) {
  body.guest-shell[class*="frontend-theme-"] :where(
    .home-flat-slider-shell .container,
    .home-hero-title-below .container,
    .home-provider-finder .container,
    .home-doctor-specialties .container,
    .product-feature-section .container,
    .marketplace-home-section .container,
    .product-cta .container
  ){
    width: min(100% - 36px, 1420px) !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-flat-slider{
    width: 100% !important;
    margin-inline: 0 !important;
    transform: none !important;
    clip-path: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below{
    margin-top: 0 !important;
    padding-bottom: 24px !important;
    pointer-events: auto !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below .container{
    display: block !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below-inner{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 42px 32px !important;
    transform: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below-inner::before,body.guest-shell[class*="frontend-theme-"] .home-hero-title-below-inner::after{
    display: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-panel{
    display: block !important;
    transform: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-label{
    min-height: 0 !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.guest-shell[class*="frontend-theme-"] .feature-grid-premium{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
  }
  body.guest-shell[class*="frontend-theme-"] .feature-card-premium{
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 260px !important;
    margin: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  body.guest-shell[class*="frontend-theme-"] .public-trust-bar{
    width: 100% !important;
    min-height: 32px !important;
    margin: 0 !important;
    border-inline: 0 !important;
    border-radius: 0 !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-header::before,body.guest-shell[class*="frontend-theme-"] .public-header::after,body.guest-shell[class*="frontend-theme-"] .public-nav > .brand::before,body.guest-shell[class*="frontend-theme-"] .public-nav > .brand::after{
    display: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-nav{
    width: min(100% - 24px, 1180px) !important;
    min-height: 70px !important;
    padding: 7px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-nav > .brand{
    align-self: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-links{
    inset: calc(100% + 7px) 0 auto 0 !important;
    border-radius: 18px !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-main{
    min-width: 0 !important;
  }
  body.guest-shell[class*="frontend-theme-"] :where(
    .home-flat-slider-shell .container,
    .home-hero-title-below .container,
    .home-provider-finder .container,
    .home-doctor-specialties .container,
    .product-feature-section .container,
    .home-network-directory .container,
    .marketplace-home-section .container,
    .faq-section .container,
    .product-cta .container
  ){
    width: min(100% - 24px, 1180px) !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-flat-slider-shell{
    padding-top: 20px !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-flat-slider{
    width: 100% !important;
    min-height: clamp(330px, 72vw, 460px) !important;
    margin: 0 !important;
    border-radius: 24px !important;
    outline: 0 !important;
    box-shadow: 0 20px 58px rgba(13,31,49,.14) !important;
    transform: none !important;
    clip-path: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below{
    margin-top: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below .container{
    display: block !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below-inner{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px 20px 26px !important;
    border-radius: 22px !important;
    text-align: start !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below-inner::before,body.guest-shell[class*="frontend-theme-"] .home-hero-title-below-inner::after{
    display: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-hero-title-below h1{
    max-width: 100% !important;
    margin-inline: 0 !important;
    font-size: clamp(2.35rem, 10vw, 4.4rem) !important;
    line-height: .98 !important;
    letter-spacing: -.052em !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder{
    padding-top: 38px !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-panel{
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    border-radius: 24px !important;
    transform: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-panel > *{
    transform: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-label{
    display: block !important;
    min-height: 0 !important;
    padding: 22px !important;
    border: 0 !important;
    border-radius: 17px !important;
    text-align: start !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-label::before,body.guest-shell[class*="frontend-theme-"] .home-provider-finder-label::after{
    display: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-card{
    min-height: 150px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    transform: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .feature-grid-premium{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  body.guest-shell[class*="frontend-theme-"] .feature-card-premium{
    display: flex !important;
    grid-column: auto !important;
    grid-row: auto !important;
    flex-direction: column !important;
    min-height: 250px !important;
    margin: 0 !important;
    padding: 24px !important;
    border-radius: 20px !important;
    transform: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .feature-card-premium:hover,body.guest-shell[class*="frontend-theme-"] .home-provider-finder-card:hover{
    transform: none !important;
  }
  body.portal-experience.ui-v2 .theme-atmosphere{
    opacity: .58;
  }
  body.portal-experience.ui-v2 :where(.dashboard-hero,.doctor-dashboard-hero){
    min-height: 0 !important;
    border-radius: 24px !important;
  }
  body.portal-experience.ui-v2 :where(.metric-card-pro,.doctor-dashboard-metric,.quick-action-pro,.doctor-command-card){
    min-height: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 680px) {
  body.guest-shell[class*="frontend-theme-"] .public-trust-bar .container > :last-child{
    display: none;
  }
  body.guest-shell[class*="frontend-theme-"] .public-nav .brand-copy small{
    display: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-actions{
    gap: 5px !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-actions .public-signin,body.guest-shell[class*="frontend-theme-"] .public-actions .public-marketplace-join,body.guest-shell[class*="frontend-theme-"] .public-actions .btn-outline{
    display: none !important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-actions .btn-primary{
    min-height: 40px !important;
    padding-inline: 12px !important;
    font-size: .72rem !important;
  }
  body.guest-shell[class*="frontend-theme-"] .home-provider-finder-grid,body.guest-shell[class*="frontend-theme-"] .feature-grid-premium,body.guest-shell[class*="frontend-theme-"] .home-doctor-specialty-grid,body.guest-shell[class*="frontend-theme-"] .home-doctor-condition-grid{
    grid-template-columns: 1fr !important;
  }
  body.guest-shell[class*="frontend-theme-"] .feature-card-premium,body.guest-shell[class*="frontend-theme-"] .home-provider-finder-card{
    min-height: 0 !important;
  }
  body.portal-experience.ui-v2 .page-content{
    padding: 18px 12px 90px !important;
  }
  body.portal-experience.ui-v2 :where(.dashboard-hero,.doctor-dashboard-hero){
    padding: 26px 20px !important;
  }
}

/* Dark mode keeps every composition distinct while replacing unsafe light-only surfaces. */
html[data-theme="dark"] body.guest-shell[class*="frontend-theme-"]{
  background: var(--bg);
  color: var(--text);
}
html[data-theme="dark"] body.guest-shell[class*="frontend-theme-"] :where(
  .home-doctor-specialties-panel,
  .marketplace-home-panel,
  .product-cta-panel,
  .faq-item,
  .home-provider-finder-panel
){
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--text);
}
html[data-theme="dark"] body.guest-shell[class*="frontend-theme-"] :where(
  .feature-card-premium,
  .home-provider-finder-card,
  .home-doctor-specialty-card,
  .home-doctor-condition-card
){
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface) 86%, var(--primary-soft));
  color: var(--text);
}
html[data-theme="dark"] body.guest-shell[class*="frontend-theme-"] :where(
  .feature-card-premium,
  .home-provider-finder-card,
  .home-doctor-specialty-card,
  .home-doctor-condition-card,
  .home-doctor-specialties-panel,
  .marketplace-home-panel,
  .product-cta-panel
) :where(h2,h3,h4,p,strong,small,span,em,a){
  color: inherit;
}
html[data-theme="dark"] body.guest-shell.frontend-theme-alpine_frost .public-header{
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
}


html[data-theme="dark"] body.guest-shell.frontend-theme-kinetic_spectrum .home-hero-title-below h1{
  color: var(--text);
}


html[data-theme="dark"] body.portal-experience.ui-v2{
  background: var(--bg);
  color: var(--text);
}
html[data-theme="dark"] body.portal-experience.ui-v2 .app-main{
  background: var(--bg);
  color: var(--text);
}
html[data-theme="dark"] body.portal-experience.ui-v2 .topbar{
  border-color: var(--border) !important;
  background: color-mix(in srgb, var(--surface) 92%, transparent) !important;
  color: var(--text) !important;
}
html[data-theme="dark"] body.portal-experience.ui-v2 :where(
  .metric-card-pro,
  .doctor-dashboard-metric,
  .quick-action-pro,
  .doctor-command-card,
  .subscription-panel,
  .doctor-plan-panel,
  .doctor-command-panel,
  .doctor-practice-panel,
  .doctor-queue-panel,
  .dashboard-lower-grid > *,
  .doctor-dashboard-lower-grid > *,
  .card
){
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface) 91%, var(--primary-soft));
  color: var(--text);
}
html[data-theme="dark"] body.portal-experience.ui-v2 :where(
  .metric-card-pro,
  .doctor-dashboard-metric,
  .quick-action-pro,
  .doctor-command-card,
  .subscription-panel,
  .doctor-plan-panel,
  .doctor-command-panel,
  .doctor-practice-panel,
  .doctor-queue-panel,
  .dashboard-lower-grid > *,
  .doctor-dashboard-lower-grid > *,
  .card
) :where(h1,h2,h3,h4,p,strong,small,span,a){
  color: inherit;
}




body[class*="frontend-theme-"]:not(.role-admin) :where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline: 3px solid color-mix(in srgb, var(--primary) 78%, #fff);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body[class*="frontend-theme-"]:not(.role-admin) *,body[class*="frontend-theme-"]:not(.role-admin) *::before,body[class*="frontend-theme-"]:not(.role-admin) *::after{
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  body[class*="frontend-theme-"]:not(.role-admin) :where(
    .public-header,
    .public-links,
    .sidebar,
    .topbar,
    .card,
    .metric-card-pro,
    .quick-action-pro,
    .feature-card-premium
  ){
    border: 1px solid CanvasText !important;
    box-shadow: none !important;
  }
}

@media print {
  body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere,body.portal-experience.ui-v2 .sidebar,body.portal-experience.ui-v2 .topbar,body.guest-shell .public-trust-bar,body.guest-shell .public-header,body.guest-shell .public-footer{
    display: none !important;
  }
  body.portal-experience.ui-v2 .app-shell,body.portal-experience.ui-v2 .app-main,body.portal-experience.ui-v2 .page-content{
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body[class*="frontend-theme-"]:not(.role-admin) :where(.card,.metric-card-pro,.feature-card-premium){
    break-inside: avoid;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   Final runtime containment and navigation usability guardrails
   ========================================================================== */

body[class*="frontend-theme-"]:not(.role-admin) .theme-atmosphere{
  inline-size: 100vw;
  max-inline-size: 100vw;
  overflow: clip;
}

@media (min-width: 1100px) {
  body.portal-experience.ui-v2:not(.role-admin) .topbar{
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
  }

  body.portal-experience.ui-v2:not(.role-admin) :where(.topbar-left,.topbar-actions,.topbar-title){
    min-width: 0 !important;
  }

  body.portal-experience.ui-v2:not(.role-admin) .topbar-actions{
    max-width: 100% !important;
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .side-nav{
    scroll-snap-type: inline proximity;
    scroll-padding-inline: 10px;
    scrollbar-color: color-mix(in srgb, var(--primary) 72%, #fff) rgba(255,255,255,.12);
  }

  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost):not(.role-admin) .side-nav a{
    scroll-snap-align: start;
  }
}

@media (max-width: 1099px) {
  body.portal-experience.ui-v2:not(.role-admin) .topbar{
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}




/* ==========================================================================
   Desktop dashboard grid reconciliation

   Several themes deliberately switch from a 12-column visual system to a
   smaller application grid. Reset inherited item spans so patient and
   provider cards follow the final architecture instead of creating implicit
   zero-width columns or oversized one-card rows.
   ========================================================================== */

@media (min-width: 1100px) {
  
  

  /* Royal Indigo: four framed metrics and a three-column action gallery. */
  body.app-body.frontend-theme-royal_indigo.route-dashboard:not(.role-admin)
    :is(.metric-card-pro,.doctor-dashboard-metric,.quick-action-pro,.doctor-command-card){
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* Citrus Vital: one large wellness tile with compact supporting tiles. */
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin)
    :is(.metric-card-pro,.doctor-dashboard-metric,.quick-action-pro,.doctor-command-card){
    grid-column: auto !important;
    grid-row: auto !important;
  }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin)
    :is(.metric-card-pro,.doctor-dashboard-metric):first-child{
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin)
    :is(.metric-card-pro,.doctor-dashboard-metric):nth-child(4){
    grid-column: span 2 !important;
  }
  body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin)
    :is(.quick-action-pro,.doctor-command-card):first-child, body.app-body.frontend-theme-citrus_vital.route-dashboard:not(.role-admin)
    :is(.quick-action-pro,.doctor-command-card):nth-child(6){
    grid-column: span 2 !important;
  }

  
  
  

  
  
  
  

  
  
  
  
}





/* ========================================================================
   Bidirectional portal geometry and dock safety

   CSS Grid follows the document writing direction when resolving track line
   numbers.  The application shells use explicitly mirrored track templates,
   so keep the geometry itself left-to-right and restore RTL text flow inside
   the two application regions.  This prevents right-side navigation rails
   from sitting on top of the patient/provider workspace.
   ======================================================================== */
@media (min-width: 1100px) {
  html[dir="rtl"] body.portal-experience.ui-v2:not(.role-admin) .app-shell{
    direction: ltr;
  }

  html[dir="rtl"] body.portal-experience.ui-v2:not(.role-admin) :where(.sidebar,.app-main){
    direction: rtl;
  }

  
}

/* ========================================================================
   RTL vertical-rail workspace clearance

   Patient and provider base styles expose slightly different local sidebar
   variables.  These seven experiences use fixed or floating vertical rails,
   so reserve the rail's rendered footprint explicitly in RTL instead of
   allowing the inherited base track to remain narrower than the theme rail.
   ======================================================================== */
@media (min-width: 1100px) {
  

  

  

  

  

  

  html[dir="rtl"] body.portal-experience.ui-v2:not(.role-admin).frontend-theme-kinetic_spectrum{
    --experience-rtl-rail-clearance: 304px;
  }

  
}

/* ========================================================================
   Final portal architecture reconciliation

   Public themes are free to use radically different navigation patterns, but
   authenticated patient/provider workspaces must still reserve the exact
   physical space occupied by each rail.  These rules mirror every desktop
   architecture explicitly so RTL does not fall back to the legacy 288px
   patient/provider track, and horizontal/docked systems do not inherit a
   desktop rail offset from their public presentation.
   ======================================================================== */
@media (min-width: 1100px) {
  /* Horizontal navigation systems use the full workspace width. */
  body.app-body:is(.frontend-theme-oceanic_pulse,.frontend-theme-alpine_frost).portal-experience:not(.role-admin) .app-shell{
    padding: var(--portal-band-height) 0 0 !important;
  }

  /* Conventional left rail in LTR, mirrored to the right in RTL. */
  

  /* Inset/floating rails reserve their space with mirrored shell padding.
     Keep a zero-width grid rail so that padding is not counted twice. */
  body.app-body:is(.frontend-theme-sakura_health,.frontend-theme-royal_indigo,.frontend-theme-citrus_vital,.frontend-theme-botanical_serenity,.frontend-theme-aether_glass).portal-experience:not(.role-admin) .app-shell{
    grid-template-columns: 0 minmax(0,1fr) !important;
  }
  html[dir="rtl"] body.app-body:is(.frontend-theme-sakura_health,.frontend-theme-royal_indigo,.frontend-theme-citrus_vital,.frontend-theme-botanical_serenity,.frontend-theme-aether_glass).portal-experience:not(.role-admin) .app-shell{
    grid-template-columns: minmax(0,1fr) 0 !important;
  }

  
  
  
  
  

  
  
}

/* Mobile public-menu stacking safety. The shared experience foundation gives
   headers a low decorative stacking level; raise the active header above the
   page scrim so the opened menu is visible, clickable, and keyboard reachable. */
@media (max-width: 900px) {
  body.guest-shell.public-menu-open[class*="frontend-theme-"] .public-header{
    z-index: 100 !important;
    overflow: visible !important;
  }
  body.guest-shell.public-menu-open[class*="frontend-theme-"] .public-nav{
    z-index: 101 !important;
    overflow: visible !important;
  }
  body.guest-shell.public-menu-open[class*="frontend-theme-"] .public-links.open{
    z-index: 110 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Keep hero controls clear of the optional app-download banner and mirror
   their edge placement without combining physical and logical offsets. */
@media (min-width: 761px) {
  body.guest-shell[class*="frontend-theme-"]
    .home-flat-slider.home-flat-slider-media-only.has-mobile-app-promo .home-flat-slider-controls{
    right: auto;
    left: auto;
    inset-inline-start: auto;
    inset-inline-end: 18px;
    bottom: 86px;
  }
}

/* ========================================================================
   Media-only hero interaction reconciliation

   Desktop title compositions intentionally overlap the hero. Their transparent
   section boxes must not intercept the slider controls beneath them. Mosaic
   Health's opaque title card occupies the lower inline-end corner, so its
   controls use the opposite logical corner on wide screens.
   ======================================================================== */
@media (min-width: 1100px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-hero-title-below{
    pointer-events: none;
  }
  
}

/* RTL rail padding reconciliation. */
@media (min-width: 1181px) {
  
  
}

/* ========================================================================
   Homepage hero parity

   The homepage uses the same compact hero geometry as provider-directory
   pages. Theme identity still comes from the shared theme tokens, while the
   legacy route-home compositions (oversized/asymmetric frames and overlapping
   title cards) are neutralized only for the homepage hero and its title.
   ======================================================================== */
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main{
  position: static !important;
  padding: clamp(18px, 3vw, 34px) 0 0 !important;
  background: transparent !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main > .container, body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below > .container{
  display: block !important;
  width: min(1240px, calc(100% - 32px)) !important;
  max-width: 1240px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding: 0 !important;
  transform: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider{
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: var(--home-flat-media-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: var(--theme-border-width) var(--theme-border-style) color-mix(in srgb, var(--primary) 22%, var(--border)) !important;
  border-radius: calc(var(--theme-card-radius) + 4px) !important;
  outline: 0 !important;
  background: var(--surface) !important;
  box-shadow: var(--theme-raised-shadow) !important;
  clip-path: none !important;
  transform: none !important;
  isolation: isolate !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider::before, body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider::after{
  content: none !important;
  display: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider-stage{
  width: 100% !important;
  height: 100% !important;
  min-height: var(--home-flat-media-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  transform: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider-controls{
  right: auto !important;
  left: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: 24px !important;
  top: auto !important;
  bottom: 24px !important;
  transform: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider.has-mobile-app-promo .home-flat-slider-controls{
  bottom: 86px !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below{
  position: static !important;
  z-index: auto !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(22px, 3.8vw, 44px) 0 clamp(28px, 4.4vw, 54px) !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  transform: none !important;
  pointer-events: auto !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below .home-hero-title-below-inner{
  display: grid !important;
  width: auto !important;
  max-width: 980px !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  clip-path: none !important;
  transform: none !important;
  justify-items: center !important;
  text-align: center !important;
  pointer-events: auto !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below .home-hero-title-below-inner::before, body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below .home-hero-title-below-inner::after{
  content: none !important;
  display: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below h1{
  display: block !important;
  width: auto !important;
  max-width: 940px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--navy) !important;
  font-family: var(--theme-heading-font) !important;
  font-size: clamp(2.35rem, 5.2vw, 4.65rem) !important;
  font-weight: 800 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  text-align: center !important;
  text-wrap: balance !important;
  transform: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below p{
  display: block !important;
  width: auto !important;
  max-width: 820px !important;
  min-height: 0 !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  color: var(--text) !important;
  font-family: var(--theme-body-font) !important;
  font-size: clamp(1.1rem, 2vw, 1.55rem) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: normal !important;
  text-align: center !important;
  text-wrap: balance !important;
  transform: none !important;
}

@media (min-width: 901px) and (max-width: 1099px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main > .container,body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below > .container{
    width: min(100% - 36px, 1420px) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below{
    padding-top: clamp(22px, 3.8vw, 44px) !important;
    padding-bottom: 24px !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below .home-hero-title-below-inner{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 42px 32px !important;
  }
}

@media (max-width: 900px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main{
    padding-top: 20px !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main > .container,body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below > .container{
    width: min(100% - 24px, 1240px) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider{
    min-height: clamp(330px, 72vw, 460px) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 58px rgba(13,31,49,.14) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider-stage{
    min-height: clamp(330px, 72vw, 460px) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below{
    margin-top: 0 !important;
    padding: 0 !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below .home-hero-title-below-inner{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 32px 20px 26px !important;
    border-radius: 22px !important;
    text-align: start !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below h1{
    max-width: 100% !important;
    margin-inline: 0 !important;
    font-size: clamp(2.35rem, 10vw, 4.4rem) !important;
    line-height: .98 !important;
    letter-spacing: -.052em !important;
    text-align: start !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below p{
    max-width: 100% !important;
    text-align: start !important;
  }
}

@media (max-width: 760px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider-controls{
    right: 50% !important;
    left: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    top: auto !important;
    bottom: 16px !important;
    transform: translateX(50%) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider.has-mobile-app-promo .home-flat-slider-controls{
    bottom: 78px !important;
  }
}

/* Mobile slider control centering: use physical centering so RTL
   logical insets from earlier rules cannot move the control cluster. */
@media (max-width: 760px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider-controls{
    inset: auto auto 16px 50% !important;
    transform: translateX(-50%) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider.has-mobile-app-promo .home-flat-slider-controls{
    inset: auto auto 78px 50% !important;
  }
}

/* Directory-title parity refinements. */
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below > .container{
  max-width: none !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below .home-hero-title-below-inner{
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-columns: auto !important;
  grid-auto-rows: auto !important;
  gap: 0 !important;
  align-items: normal !important;
  align-content: normal !important;
  justify-content: normal !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below h1{
  min-height: auto !important;
  letter-spacing: var(--theme-heading-tracking) !important;
}
body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below p{
  min-height: auto !important;
  letter-spacing: inherit !important;
}

@media (max-width: 900px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main .home-flat-slider-stage{
    min-height: var(--home-flat-media-height) !important;
  }
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below p{
    max-width: 820px !important;
  }
}

@media (max-width: 760px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below p{
    margin-top: 10px !important;
    font-size: 1.08rem !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 900px) {
  body.guest-shell.route-home[class*="frontend-theme-"] .home-flat-slider-context-homepage-main + .home-hero-title-below h1{
    letter-spacing: -.052em !important;
  }
}
