/*
 * AF-Health — Provider Experience 2.0
 * Public provider profiles, catalogues, service listings, discovery cards,
 * and the theme-aware public navigation system.
 */

body[class*="frontend-theme-"]:not(.role-admin){
  --provider-max-width:1320px;
  --provider-accent:var(--primary);
  --provider-accent-strong:var(--primary-strong);
  --provider-accent-soft:var(--primary-soft);
  --provider-highlight:color-mix(in srgb,var(--primary) 62%,#ffffff);
  --provider-stage-a:color-mix(in srgb,var(--navy) 90%,var(--primary) 10%);
  --provider-stage-b:color-mix(in srgb,var(--primary) 78%,var(--navy) 22%);
  --provider-stage-c:color-mix(in srgb,var(--primary-strong) 74%,#111827 26%);
  --provider-panel:color-mix(in srgb,var(--surface) 91%,transparent);
  --provider-panel-solid:color-mix(in srgb,var(--surface) 96%,var(--primary) 4%);
  --provider-panel-muted:color-mix(in srgb,var(--surface-2) 92%,var(--primary) 8%);
  --provider-line:color-mix(in srgb,var(--border) 78%,var(--primary) 22%);
  --provider-ink:var(--text);
  --provider-muted:var(--muted);
  --provider-radius:34px;
  --provider-radius-sm:20px;
  --provider-shadow:0 28px 80px rgba(8,25,48,.15);
  --provider-shadow-soft:0 16px 42px rgba(8,25,48,.10);
  --provider-card-lift:-5px;
  --provider-stage-pattern:radial-gradient(circle at 18% 18%,rgba(255,255,255,.15),transparent 27%),radial-gradient(circle at 86% 4%,rgba(255,255,255,.12),transparent 28%);
}

html[data-theme="dark"] body[class*="frontend-theme-"]:not(.role-admin){
  --provider-panel:color-mix(in srgb,var(--surface) 88%,transparent);
  --provider-panel-solid:color-mix(in srgb,var(--surface) 95%,var(--primary) 5%);
  --provider-panel-muted:color-mix(in srgb,var(--surface-2) 88%,var(--primary) 12%);
  --provider-shadow:0 30px 86px rgba(0,0,0,.34);
  --provider-shadow-soft:0 18px 48px rgba(0,0,0,.24);
}

/* --------------------------------------------------------------------------
   Public navigation — richer hierarchy without sacrificing mobile behavior
   -------------------------------------------------------------------------- */
body.guest-shell[class*="frontend-theme-"] .public-header{
  position:sticky;
  top:10px;
  z-index:86;
  width:min(1480px,calc(100% - 24px));
  margin:10px auto 0;
  border:1px solid color-mix(in srgb,var(--public-menu-border) 82%,transparent);
  border-radius:24px;
  background:color-mix(in srgb,var(--public-menu-bg) 92%,transparent);
  box-shadow:0 16px 50px rgba(7,24,46,.10);
  backdrop-filter:blur(24px) saturate(1.18);
  -webkit-backdrop-filter:blur(24px) saturate(1.18);
}
body.guest-shell[class*="frontend-theme-"] .public-nav{
  width:100%;
  min-height:76px;
  height:auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:9px 11px 9px 16px;
}
body.guest-shell[class*="frontend-theme-"] .public-brand{
  min-width:max-content;
  gap:10px;
}
body.guest-shell[class*="frontend-theme-"] .public-brand-mark{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--public-menu-border) 72%,transparent);
  border-radius:15px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 96%,transparent),color-mix(in srgb,var(--primary-soft) 60%,transparent));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 10px 26px rgba(7,24,46,.08);
}
body.guest-shell[class*="frontend-theme-"] .public-brand-mark img{
  width:36px;
  height:36px;
}
body.guest-shell[class*="frontend-theme-"] .public-brand .brand-copy{
  font-size:1rem;
  letter-spacing:-.025em;
}
body.guest-shell[class*="frontend-theme-"] .public-brand .brand-copy small{
  margin-top:4px;
  font-size:.6rem;
  letter-spacing:.2em;
}
body.guest-shell[class*="frontend-theme-"] .public-links{
  justify-self:center;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:5px;
  border:1px solid color-mix(in srgb,var(--public-menu-border) 76%,transparent);
  border-radius:17px;
  background:color-mix(in srgb,var(--surface) 45%,transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48);
}
body.guest-shell[class*="frontend-theme-"] .public-mobile-account-links{
  display:none;
}
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:12px;
  font-size:.79rem;
  font-weight:790;
  white-space:nowrap;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link:hover{
  transform:translateY(-1px);
}
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link.active,
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link[aria-current="page"]{
  border-color:color-mix(in srgb,var(--public-menu-active-bg) 36%,var(--public-menu-border));
  box-shadow:0 9px 24px color-mix(in srgb,var(--public-menu-active-bg) 20%,transparent),inset 0 1px 0 rgba(255,255,255,.22);
}
body.guest-shell[class*="frontend-theme-"] .public-nav-link-icon{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:color-mix(in srgb,currentColor 9%,transparent);
}
body.guest-shell[class*="frontend-theme-"] .public-nav-link-icon svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}
body.guest-shell[class*="frontend-theme-"] .public-actions{
  min-width:max-content;
  gap:7px;
}
body.guest-shell[class*="frontend-theme-"] .public-network-status{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border:1px solid color-mix(in srgb,var(--public-menu-border) 76%,transparent);
  border-radius:12px;
  background:color-mix(in srgb,var(--surface) 54%,transparent);
  color:var(--public-menu-text);
  font-size:.67rem;
  font-weight:780;
  white-space:nowrap;
}
body.guest-shell[class*="frontend-theme-"] .public-network-status i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#18b981;
  box-shadow:0 0 0 5px rgba(24,185,129,.12);
}
body.guest-shell[class*="frontend-theme-"] .public-theme-toggle{
  border-radius:12px;
}
body.guest-shell[class*="frontend-theme-"] .public-trust-bar{
  border-bottom:0;
}

/* --------------------------------------------------------------------------
   Shared provider profile system
   -------------------------------------------------------------------------- */
.provider-experience{
  position:relative;
  isolation:isolate;
  min-width:0;
  color:var(--provider-ink);
  overflow:clip;
}
.provider-experience *{
  box-sizing:border-box;
}
.provider-experience-container{
  width:min(var(--provider-max-width),calc(100% - 40px));
  margin-inline:auto;
}
.app-body .provider-experience-container{
  width:min(var(--provider-max-width),100%);
}
.provider-showcase{
  position:relative;
  padding:34px 0 30px;
}
.provider-showcase::before,
.provider-showcase::after{
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  border-radius:50%;
  filter:blur(1px);
}
.provider-showcase::before{
  width:410px;
  height:410px;
  inset:-170px auto auto -150px;
  background:color-mix(in srgb,var(--provider-accent) 13%,transparent);
}
.provider-showcase::after{
  width:330px;
  height:330px;
  inset:auto -120px -120px auto;
  background:color-mix(in srgb,var(--provider-highlight) 12%,transparent);
}
.provider-return-link{
  width:max-content;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin:0 0 14px;
  padding:8px 12px;
  border:1px solid var(--provider-line);
  border-radius:999px;
  background:color-mix(in srgb,var(--surface) 78%,transparent);
  color:var(--provider-ink);
  font-size:.76rem;
  font-weight:790;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(7,24,46,.06);
  backdrop-filter:blur(12px);
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease;
}
.provider-return-link:hover{
  transform:translateX(-3px);
  border-color:color-mix(in srgb,var(--provider-accent) 52%,var(--provider-line));
  background:var(--provider-panel-solid);
}
.provider-return-link svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  transform:rotate(180deg);
}
.provider-showcase-stage{
  position:relative;
  min-height:480px;
  display:grid;
  grid-template-columns:minmax(150px,.54fr) minmax(0,2fr) minmax(275px,.92fr);
  align-items:stretch;
  gap:22px;
  padding:26px;
  border:1px solid color-mix(in srgb,var(--provider-highlight) 22%,rgba(255,255,255,.18));
  border-radius:var(--provider-radius);
  background:var(--provider-stage-pattern),linear-gradient(132deg,var(--provider-stage-a),var(--provider-stage-b) 58%,var(--provider-stage-c));
  box-shadow:var(--provider-shadow);
  overflow:hidden;
}
.provider-showcase-stage::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.10),transparent 28%,transparent 66%,rgba(255,255,255,.07));
  mix-blend-mode:screen;
}
.provider-showcase-stage::after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  right:18%;
  bottom:-210px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  box-shadow:0 0 0 42px rgba(255,255,255,.04),0 0 0 92px rgba(255,255,255,.025);
  pointer-events:none;
}
.provider-showcase-emblem,
.provider-showcase-copy,
.provider-showcase-insights{
  position:relative;
  z-index:1;
  min-width:0;
}
.provider-showcase-emblem{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:22px 12px;
  color:#fff;
}
.provider-showcase-emblem-glow{
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  background:color-mix(in srgb,var(--provider-highlight) 28%,transparent);
  filter:blur(28px);
  opacity:.8;
}
.provider-showcase-avatar{
  position:relative;
  z-index:1;
  width:132px;
  height:154px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.34);
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.23),rgba(255,255,255,.09));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.50),0 24px 50px rgba(2,10,30,.26);
  overflow:hidden;
  backdrop-filter:blur(18px);
}
.provider-showcase-avatar::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:14px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
}
.provider-showcase-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.provider-showcase-avatar>span{
  font-size:2.25rem;
  font-weight:880;
  letter-spacing:-.06em;
}
.provider-showcase-avatar--institution,
.provider-showcase-avatar--marketplace{
  width:138px;
  height:138px;
  border-radius:50%;
}
.provider-showcase-avatar--institution::after,
.provider-showcase-avatar--marketplace::after{
  display:none;
}
.provider-showcase-role{
  position:relative;
  z-index:1;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:.69rem;
  font-weight:820;
  letter-spacing:.04em;
  text-transform:uppercase;
  backdrop-filter:blur(14px);
}
.provider-showcase-role svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}
.provider-showcase-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:clamp(26px,4vw,50px);
  border:1px solid color-mix(in srgb,var(--border) 52%,rgba(255,255,255,.44));
  border-radius:calc(var(--provider-radius) - 8px);
  background:var(--provider-panel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 24px 64px rgba(3,15,34,.14);
  backdrop-filter:blur(28px) saturate(1.12);
  -webkit-backdrop-filter:blur(28px) saturate(1.12);
}
.provider-trust-row,
.provider-discovery-badges{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}
.provider-trust-row{
  margin-bottom:16px;
}
.provider-trust-row .portal-badge-list,
.provider-discovery-badges .portal-badge-list{
  display:contents;
}
.provider-trust-row .portal-badge,
.provider-discovery-badges .portal-badge,
.provider-trust-chip{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:5px 9px;
  border:1px solid var(--provider-line);
  border-radius:999px;
  background:color-mix(in srgb,var(--surface) 82%,transparent);
  color:var(--provider-ink);
  font-size:.65rem;
  font-weight:800;
  line-height:1.15;
}
.provider-trust-chip svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
}
.provider-trust-chip--verified{
  border-color:color-mix(in srgb,#10b981 44%,var(--provider-line));
  background:color-mix(in srgb,#dff8ef 72%,var(--surface));
  color:#08745a;
}
html[data-theme="dark"] .provider-trust-chip--verified{
  background:rgba(16,185,129,.14);
  color:#86efcd;
}
.provider-trust-chip--demo{
  border-color:color-mix(in srgb,#f59e0b 44%,var(--provider-line));
  background:color-mix(in srgb,#fff3cf 78%,var(--surface));
  color:#925b05;
}
html[data-theme="dark"] .provider-trust-chip--demo{
  background:rgba(245,158,11,.15);
  color:#fcd98a;
}
.provider-trust-chip--priority{
  border-color:color-mix(in srgb,var(--provider-accent) 42%,var(--provider-line));
  background:color-mix(in srgb,var(--provider-accent-soft) 72%,var(--surface));
  color:var(--provider-accent-strong);
}
.provider-showcase-identity{
  justify-items:start;
  text-align:start;
  gap:9px;
}
.provider-showcase-identity .public-provider-name,
.provider-showcase-identity .public-provider-address{
  text-align:start!important;
}
.provider-showcase-identity .public-provider-name-en{
  max-width:930px;
  color:var(--provider-ink)!important;
  font-size:clamp(2.15rem,4.25vw,5rem);
  line-height:.96;
  letter-spacing:-.065em;
  text-wrap:balance;
}
.provider-showcase-identity .public-provider-name-ar{
  max-width:850px;
  color:var(--provider-ink)!important;
  font-size:clamp(1.35rem,2.5vw,2.25rem);
  line-height:1.5;
  text-align:right!important;
}
.provider-showcase-identity .public-provider-address{
  max-width:820px;
  color:var(--provider-muted)!important;
  font-size:.84rem;
  line-height:1.65;
}
.provider-showcase-identity .public-provider-address-ar{
  text-align:right!important;
}
.provider-showcase-qualifications{
  width:100%;
  display:grid;
  gap:3px;
  margin-top:13px;
  color:var(--provider-muted);
  font-size:.83rem;
  line-height:1.55;
}
.provider-showcase-qualifications span{
  display:block;
}
.provider-showcase-qualifications [dir="rtl"]{
  text-align:right;
}
.provider-practice-name{
  color:var(--provider-accent-strong);
  font-weight:780;
}
.provider-showcase-summary{
  max-width:780px;
  margin:18px 0 0;
  color:var(--provider-muted);
  font-size:.94rem;
  line-height:1.75;
}
.provider-showcase-summary--local{
  width:100%;
  text-align:right;
}
.provider-showcase-tags,
.provider-discovery-tags{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
.provider-showcase-tags{
  margin-top:20px;
}
.provider-showcase-tags>span,
.provider-discovery-tags>span{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border:1px solid color-mix(in srgb,var(--provider-accent) 20%,var(--provider-line));
  border-radius:999px;
  background:color-mix(in srgb,var(--provider-accent-soft) 58%,var(--surface));
  color:var(--provider-accent-strong);
  font-size:.67rem;
  font-weight:790;
  line-height:1.15;
}
.provider-showcase-tags svg,
.provider-discovery-tags svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}
.provider-showcase-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  margin-top:24px;
}
.provider-showcase-actions .btn{
  min-height:46px;
  border-radius:14px;
  font-size:.78rem;
  box-shadow:none;
}
.provider-showcase-actions .provider-primary-action{
  box-shadow:0 14px 30px color-mix(in srgb,var(--provider-accent) 22%,transparent);
}
.provider-showcase-insights{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  padding:25px;
  border:1px solid rgba(255,255,255,.21);
  border-radius:calc(var(--provider-radius) - 8px);
  background:linear-gradient(165deg,rgba(7,18,44,.77),rgba(7,18,44,.48));
  color:#f8fbff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 24px 58px rgba(2,9,28,.20);
  backdrop-filter:blur(24px);
}
.provider-insights-heading{
  display:grid;
  gap:3px;
  padding-bottom:17px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.provider-insights-heading span{
  font-size:.72rem;
  font-weight:830;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.provider-insights-heading small{
  color:rgba(238,245,255,.66);
  font-size:.65rem;
}
.provider-insight-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:17px;
}
.provider-insight-grid>div{
  min-height:122px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:13px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px;
  background:rgba(255,255,255,.075);
}
.provider-insight-icon{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  margin-bottom:auto;
  border-radius:10px;
  background:rgba(255,255,255,.12);
  color:var(--provider-highlight);
}
.provider-insight-icon svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}
.provider-insight-grid small{
  margin-top:13px;
  color:rgba(239,245,255,.62);
  font-size:.59rem;
  font-weight:770;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-insight-grid strong{
  margin-top:2px;
  color:#fff;
  font-size:1.3rem;
  line-height:1.05;
  letter-spacing:-.045em;
}
.provider-insight-grid em{
  margin-top:4px;
  color:rgba(239,245,255,.72);
  font-size:.63rem;
  font-style:normal;
  line-height:1.35;
}
.provider-availability-signal,
.provider-discovery-status{
  display:flex;
  align-items:center;
  gap:8px;
}
.provider-availability-signal{
  margin-top:auto;
  padding-top:18px;
  color:rgba(239,245,255,.77);
  font-size:.67rem;
  font-weight:760;
}
.provider-availability-signal i,
.provider-discovery-status i{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#a9b8ca;
  box-shadow:0 0 0 5px rgba(169,184,202,.10);
}
.provider-availability-signal.is-available i,
.provider-discovery-status i{
  background:#34d399;
  box-shadow:0 0 0 5px rgba(52,211,153,.12);
}

/* Sticky section rail */
.provider-section-rail{
  position:sticky;
  top:98px;
  z-index:54;
  padding:0 0 10px;
  pointer-events:none;
}
.app-body .provider-section-rail{
  top:78px;
}
.provider-section-rail .provider-experience-container{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:6px;
  border:1px solid var(--provider-line);
  border-radius:18px;
  background:color-mix(in srgb,var(--surface) 88%,transparent);
  box-shadow:0 14px 38px rgba(7,24,46,.10);
  backdrop-filter:blur(22px) saturate(1.16);
  pointer-events:auto;
}
.provider-section-rail a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 13px;
  border:1px solid transparent;
  border-radius:12px;
  color:var(--provider-muted);
  font-size:.7rem;
  font-weight:790;
  text-decoration:none;
  white-space:nowrap;
  transition:.18s ease;
}
.provider-section-rail a:hover,
.provider-section-rail a:focus-visible{
  border-color:color-mix(in srgb,var(--provider-accent) 24%,var(--provider-line));
  background:var(--provider-accent-soft);
  color:var(--provider-accent-strong);
}
.provider-section-rail svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}

/* Profile content foundation */
.provider-profile-content{
  position:relative;
  padding:10px 0 72px;
}
.provider-content-section{
  scroll-margin-top:170px;
  padding:54px 0;
}
.provider-content-section+.provider-content-section{
  border-top:1px solid color-mix(in srgb,var(--provider-line) 72%,transparent);
}
.provider-content-section--tinted,
.provider-content-section--reviews,
.provider-content-section--catalogue{
  position:relative;
}
.provider-content-section--tinted::before,
.provider-content-section--reviews::before,
.provider-content-section--catalogue::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:12px -28px;
  border:1px solid color-mix(in srgb,var(--provider-line) 70%,transparent);
  border-radius:var(--provider-radius);
  background:linear-gradient(145deg,color-mix(in srgb,var(--provider-accent-soft) 34%,transparent),color-mix(in srgb,var(--surface) 48%,transparent));
}
.provider-section-heading{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  align-items:end;
  gap:32px;
  margin-bottom:25px;
}
.provider-section-heading>div:first-child{
  min-width:0;
}
.provider-section-kicker,
.provider-card-eyebrow{
  display:block;
  color:var(--provider-accent-strong);
  font-size:.66rem;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.provider-section-heading h2{
  max-width:880px;
  margin:7px 0 0;
  color:var(--provider-ink)!important;
  font-size:clamp(1.75rem,3.5vw,3.15rem);
  line-height:1.02;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.provider-section-heading>p,
.provider-section-heading>div>p{
  margin:0;
  color:var(--provider-muted);
  font-size:.88rem;
  line-height:1.75;
}
.provider-section-heading>div>p{
  max-width:760px;
  margin-top:10px;
}
.provider-overview-layout{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.72fr);
  gap:18px;
  align-items:stretch;
}
.provider-story-card,
.provider-info-card,
.provider-schedule-card,
.provider-schedule-note,
.provider-credential-card,
.provider-review-card,
.provider-specialty-showcase>article,
.provider-service-card,
.provider-test-card,
.provider-product-card{
  border:1px solid var(--provider-line);
  background:var(--provider-panel-solid);
  box-shadow:var(--provider-shadow-soft);
}
.provider-story-card{
  position:relative;
  min-height:440px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:clamp(28px,4vw,52px);
  border-radius:var(--provider-radius);
  overflow:hidden;
}
.provider-story-card::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-120px;
  top:-140px;
  border-radius:50%;
  background:color-mix(in srgb,var(--provider-accent) 13%,transparent);
  box-shadow:0 0 0 50px color-mix(in srgb,var(--provider-accent) 5%,transparent);
}
.provider-story-card::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:linear-gradient(var(--provider-accent),var(--provider-highlight));
}
.provider-card-index{
  position:absolute;
  top:24px;
  right:26px;
  color:color-mix(in srgb,var(--provider-accent) 26%,var(--provider-muted));
  font-size:.72rem;
  font-weight:860;
  letter-spacing:.12em;
}
.provider-card-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--provider-accent) 28%,var(--provider-line));
  border-radius:15px;
  background:color-mix(in srgb,var(--provider-accent-soft) 72%,var(--surface));
  color:var(--provider-accent-strong);
}
.provider-card-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
.provider-story-card>.provider-card-icon{
  position:absolute;
  top:26px;
  left:30px;
}
.provider-story-card .provider-card-eyebrow{
  margin-bottom:11px;
}
.provider-story-card h3{
  position:relative;
  max-width:840px;
  margin:0;
  color:var(--provider-ink)!important;
  font-size:clamp(1.5rem,3vw,2.55rem);
  line-height:1.08;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.provider-story-copy{
  position:relative;
  max-width:880px;
  margin:18px 0 0;
  color:var(--provider-muted);
  font-size:.98rem;
  line-height:1.85;
  white-space:pre-wrap;
}
.provider-story-signature{
  display:grid;
  gap:2px;
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--provider-line);
}
.provider-story-signature span{
  color:var(--provider-ink);
  font-weight:820;
}
.provider-story-signature small{
  color:var(--provider-muted);
}
.provider-local-language-copy{
  position:relative;
  margin-top:22px;
  padding:18px 20px;
  border:1px solid color-mix(in srgb,var(--provider-accent) 18%,var(--provider-line));
  border-radius:17px;
  background:var(--provider-panel-muted);
  text-align:right;
}
.provider-local-language-copy span{
  display:block;
  color:var(--provider-accent-strong);
  font-size:.72rem;
  font-weight:820;
}
.provider-local-language-copy p{
  margin:7px 0 0;
  color:var(--provider-muted);
  line-height:1.9;
  white-space:pre-wrap;
}
.provider-fact-stack{
  display:grid;
  gap:18px;
}
.provider-info-card{
  padding:24px;
  border-radius:var(--provider-radius-sm);
}
.provider-info-card-heading{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:17px;
}
.provider-info-card-heading .provider-card-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:13px;
}
.provider-info-card-heading small{
  display:block;
  color:var(--provider-muted);
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-info-card-heading h3{
  margin:3px 0 0;
  color:var(--provider-ink)!important;
  font-size:1rem;
  letter-spacing:-.025em;
}
.provider-fact-list{
  display:grid;
  gap:0;
  margin:0;
}
.provider-fact-list>div{
  display:grid;
  gap:5px;
  padding:12px 0;
  border-bottom:1px solid color-mix(in srgb,var(--provider-line) 72%,transparent);
}
.provider-fact-list>div:last-child{
  border-bottom:0;
}
.provider-fact-list dt{
  color:var(--provider-muted);
  font-size:.61rem;
  font-weight:820;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-fact-list dd{
  margin:0;
  color:var(--provider-ink);
  font-size:.8rem;
  font-weight:690;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.provider-fact-list a{
  color:var(--provider-accent-strong);
  text-decoration:none;
}
.provider-fact-list--compact>div{
  grid-template-columns:110px minmax(0,1fr);
  align-items:start;
  gap:14px;
}
.provider-mini-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.provider-mini-metrics>div{
  min-height:92px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
  border:1px solid var(--provider-line);
  border-radius:14px;
  background:var(--provider-panel-muted);
}
.provider-mini-metrics strong{
  color:var(--provider-ink);
  font-size:1.25rem;
  letter-spacing:-.04em;
}
.provider-mini-metrics span{
  margin-top:4px;
  color:var(--provider-muted);
  font-size:.61rem;
  line-height:1.35;
}
.provider-specialty-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.provider-specialty-cloud span{
  padding:7px 10px;
  border:1px solid color-mix(in srgb,var(--provider-accent) 18%,var(--provider-line));
  border-radius:10px;
  background:var(--provider-panel-muted);
  color:var(--provider-accent-strong);
  font-size:.68rem;
  font-weight:780;
}

/* Schedule */
.provider-schedule-layout{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(290px,.58fr);
  gap:18px;
  align-items:stretch;
}
.provider-schedule-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.provider-schedule-card{
  min-height:184px;
  display:flex;
  flex-direction:column;
  padding:20px;
  border-radius:var(--provider-radius-sm);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.provider-schedule-card:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 38%,var(--provider-line));
  box-shadow:var(--provider-shadow);
}
.provider-schedule-day{
  margin-bottom:auto;
  color:var(--provider-accent-strong);
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.provider-schedule-card>strong{
  color:var(--provider-ink);
  font-size:1.05rem;
  letter-spacing:-.025em;
}
.provider-schedule-separator{
  margin:4px 0;
  color:var(--provider-muted);
  font-size:.62rem;
}
.provider-schedule-card>small{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:13px;
  padding-top:12px;
  border-top:1px solid var(--provider-line);
  color:var(--provider-muted);
  font-size:.64rem;
  font-weight:720;
}
.provider-schedule-card>small svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:var(--provider-accent);
  stroke-width:1.9;
}
.provider-schedule-note{
  position:relative;
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:28px;
  border-radius:var(--provider-radius);
  background:linear-gradient(145deg,var(--provider-stage-a),var(--provider-stage-b));
  color:#fff;
  overflow:hidden;
}
.provider-schedule-note::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  top:-110px;
  right:-90px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:50%;
  box-shadow:0 0 0 38px rgba(255,255,255,.055);
}
.provider-schedule-note .provider-card-index{
  color:rgba(255,255,255,.46);
}
.provider-schedule-note .provider-card-icon{
  position:absolute;
  top:28px;
  left:28px;
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:#fff;
}
.provider-schedule-note h3{
  position:relative;
  margin:0;
  color:#fff!important;
  font-size:1.5rem;
  line-height:1.14;
  letter-spacing:-.04em;
}
.provider-schedule-note p{
  position:relative;
  margin:13px 0 20px;
  color:rgba(244,248,255,.76);
  font-size:.82rem;
  line-height:1.65;
}
.provider-schedule-note .btn{
  position:relative;
  width:100%;
  justify-content:space-between;
  background:#fff;
  color:var(--provider-stage-a);
  border-color:#fff;
}

/* Credentials */
.provider-credential-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(250px,.58fr);
  gap:14px;
}
.provider-credential-card{
  position:relative;
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
  border-radius:var(--provider-radius-sm);
  overflow:hidden;
}
.provider-credential-card>.provider-card-icon{
  position:absolute;
  top:22px;
  left:22px;
}
.provider-credential-card>small{
  color:var(--provider-accent-strong);
  font-size:.62rem;
  font-weight:830;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.provider-credential-card h3{
  margin:8px 0 0;
  color:var(--provider-ink)!important;
  font-size:1.25rem;
  line-height:1.3;
  letter-spacing:-.035em;
}
.provider-credential-card p{
  margin:9px 0 0;
  color:var(--provider-muted);
  font-size:.79rem;
  line-height:1.7;
  white-space:pre-wrap;
}
.provider-credential-card--primary{
  background:linear-gradient(145deg,color-mix(in srgb,var(--provider-accent-soft) 68%,var(--surface)),var(--provider-panel-solid));
}
.provider-credential-card--metric{
  border-color:color-mix(in srgb,var(--provider-highlight) 22%,rgba(255,255,255,.12));
  background:linear-gradient(145deg,var(--provider-stage-a),var(--provider-stage-b));
  color:#fff;
}
.provider-credential-card--metric>.provider-card-icon{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:#fff;
}
.provider-credential-card--metric>small,
.provider-credential-card--metric p{
  color:rgba(244,248,255,.72);
}
.provider-credential-card--metric>strong{
  color:#fff;
  font-size:2.9rem;
  line-height:.9;
  letter-spacing:-.07em;
}
.provider-credential-layout--laboratory .provider-credential-card--metric>strong{
  font-size:1.55rem;
  line-height:1.1;
}

/* Reviews */
.provider-section-heading--reviews{
  align-items:center;
}
.provider-rating-summary{
  justify-self:end;
  min-width:210px;
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  justify-content:end;
  column-gap:7px;
  padding:15px 18px;
  border:1px solid var(--provider-line);
  border-radius:17px;
  background:var(--provider-panel-solid);
  box-shadow:var(--provider-shadow-soft);
}
.provider-rating-summary strong{
  color:var(--provider-ink);
  font-size:2rem;
  line-height:1;
  letter-spacing:-.06em;
}
.provider-rating-summary>span{
  color:#d89414;
  font-size:1.3rem;
}
.provider-rating-summary small{
  grid-column:1/-1;
  margin-top:4px;
  color:var(--provider-muted);
  font-size:.62rem;
}
.provider-review-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.provider-review-card{
  min-height:210px;
  padding:23px;
  border-radius:var(--provider-radius-sm);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.provider-review-card:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 34%,var(--provider-line));
  box-shadow:var(--provider-shadow);
}
.provider-review-topline{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
}
.provider-review-avatar{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:linear-gradient(145deg,var(--provider-accent),var(--provider-accent-strong));
  color:#fff;
  font-size:.82rem;
  font-weight:840;
}
.provider-review-topline strong{
  display:block;
  color:var(--provider-ink);
  font-size:.82rem;
}
.provider-review-topline small{
  display:block;
  margin-top:2px;
  color:var(--provider-muted);
  font-size:.6rem;
}
.provider-review-stars{
  color:#d89414;
  font-size:.78rem;
  letter-spacing:.04em;
  white-space:nowrap;
}
.provider-review-card>p{
  margin:20px 0 0;
  color:var(--provider-muted);
  font-size:.83rem;
  line-height:1.75;
}

/* Specialty showcase */
.provider-specialty-showcase{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.provider-specialty-showcase>article{
  position:relative;
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:20px;
  border-radius:var(--provider-radius-sm);
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease;
}
.provider-specialty-showcase>article:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 38%,var(--provider-line));
}
.provider-specialty-showcase>article>span:first-child{
  position:absolute;
  top:18px;
  right:18px;
  color:color-mix(in srgb,var(--provider-accent) 24%,var(--provider-muted));
  font-size:.67rem;
  font-weight:850;
  letter-spacing:.11em;
}
.provider-specialty-showcase .provider-card-icon{
  position:absolute;
  top:18px;
  left:18px;
  width:40px;
  height:40px;
  border-radius:13px;
}
.provider-specialty-showcase h3{
  margin:0;
  color:var(--provider-ink)!important;
  font-size:1.02rem;
  letter-spacing:-.025em;
}
.provider-specialty-showcase small{
  margin-top:5px;
  color:var(--provider-muted);
  font-size:.62rem;
}

/* Hospital services */
.provider-service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.provider-service-card{
  position:relative;
  min-height:410px;
  display:flex;
  flex-direction:column;
  padding:26px;
  border-radius:var(--provider-radius);
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.provider-service-card::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-100px;
  top:-100px;
  border-radius:50%;
  background:color-mix(in srgb,var(--provider-accent) 10%,transparent);
}
.provider-service-card:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 38%,var(--provider-line));
  box-shadow:var(--provider-shadow);
}
.provider-service-card-topline{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
}
.provider-service-number,
.provider-test-index{
  color:color-mix(in srgb,var(--provider-accent) 45%,var(--provider-muted));
  font-size:.66rem;
  font-weight:860;
  letter-spacing:.12em;
}
.provider-service-category,
.provider-test-category{
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border:1px solid color-mix(in srgb,var(--provider-accent) 20%,var(--provider-line));
  border-radius:999px;
  background:var(--provider-panel-muted);
  color:var(--provider-accent-strong);
  font-size:.61rem;
  font-weight:790;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.provider-service-card-topline .provider-card-icon,
.provider-test-card-head .provider-card-icon{
  width:40px;
  height:40px;
  border-radius:13px;
}
.provider-service-local-category,
.provider-service-local-name{
  display:block;
  text-align:right;
}
.provider-service-local-category{
  margin:-14px 0 14px;
  color:var(--provider-muted);
  font-size:.66rem;
}
.provider-service-card h3{
  position:relative;
  margin:0;
  color:var(--provider-ink)!important;
  font-size:1.45rem;
  line-height:1.16;
  letter-spacing:-.04em;
}
.provider-service-local-name{
  margin-top:6px;
  color:var(--provider-ink);
  font-size:1rem;
  font-weight:760;
  line-height:1.6;
}
.provider-service-card>p{
  position:relative;
  margin:15px 0 0;
  color:var(--provider-muted);
  font-size:.82rem;
  line-height:1.75;
  white-space:pre-wrap;
}
.provider-service-local-copy{
  text-align:right;
}
.provider-service-footer{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  margin-top:auto;
  padding-top:22px;
}
.provider-service-footer>div,
.provider-service-footer>a{
  min-height:82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:13px;
  border:1px solid var(--provider-line);
  border-radius:15px;
  background:var(--provider-panel-muted);
  color:var(--provider-ink);
  text-decoration:none;
}
.provider-service-footer>a{
  position:relative;
  padding-right:42px;
}
.provider-service-footer small{
  color:var(--provider-muted);
  font-size:.59rem;
  font-weight:790;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-service-footer strong{
  margin-top:4px;
  font-size:.77rem;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.provider-service-footer span{
  margin-top:4px;
  color:var(--provider-muted);
  font-size:.68rem;
}
.provider-service-footer>a svg{
  position:absolute;
  right:14px;
  top:50%;
  width:18px;
  height:18px;
  fill:none;
  stroke:var(--provider-accent);
  stroke-width:2;
  transform:translateY(-50%);
}

/* Laboratory tests */
.provider-test-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.provider-test-card{
  min-height:340px;
  display:flex;
  flex-direction:column;
  padding:22px;
  border-radius:var(--provider-radius-sm);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.provider-test-card:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 38%,var(--provider-line));
  box-shadow:var(--provider-shadow);
}
.provider-test-card-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
}
.provider-test-code{
  margin-top:22px;
  color:var(--provider-accent-strong);
  font-size:.63rem;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.provider-test-card h3{
  margin:7px 0 0;
  color:var(--provider-ink)!important;
  font-size:1.28rem;
  line-height:1.2;
  letter-spacing:-.035em;
}
.provider-test-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:20px;
}
.provider-test-facts>div{
  min-height:80px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:11px;
  border:1px solid var(--provider-line);
  border-radius:13px;
  background:var(--provider-panel-muted);
}
.provider-test-facts small,
.provider-test-card footer small{
  color:var(--provider-muted);
  font-size:.57rem;
  font-weight:790;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-test-facts strong{
  margin-top:4px;
  color:var(--provider-ink);
  font-size:.72rem;
  line-height:1.45;
}
.provider-test-card footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:20px;
  border-top:1px solid var(--provider-line);
}
.provider-test-card footer>div{
  display:grid;
  gap:3px;
}
.provider-test-card footer strong{
  color:var(--provider-ink);
  font-size:1rem;
}
.provider-test-card footer>a{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:var(--provider-accent);
  color:#fff;
}
.provider-test-card footer>a svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}

/* Marketplace catalogue */
.provider-section-heading--catalogue{
  align-items:center;
}
.provider-catalogue-summary{
  justify-self:end;
  display:flex;
  gap:8px;
}
.provider-catalogue-summary>span{
  min-width:112px;
  min-height:76px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
  border:1px solid var(--provider-line);
  border-radius:15px;
  background:var(--provider-panel-solid);
  box-shadow:var(--provider-shadow-soft);
}
.provider-catalogue-summary strong{
  color:var(--provider-ink);
  font-size:1.18rem;
  letter-spacing:-.04em;
}
.provider-catalogue-summary small{
  margin-top:3px;
  color:var(--provider-muted);
  font-size:.56rem;
  line-height:1.3;
}
.provider-catalogue-categories{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:18px;
  padding:12px 14px;
  border:1px solid var(--provider-line);
  border-radius:16px;
  background:var(--provider-panel-solid);
}
.provider-catalogue-categories>span{
  margin-right:4px;
  color:var(--provider-muted);
  font-size:.63rem;
  font-weight:810;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-catalogue-categories b{
  padding:6px 9px;
  border-radius:999px;
  background:var(--provider-accent-soft);
  color:var(--provider-accent-strong);
  font-size:.63rem;
}
.provider-product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.provider-product-card{
  position:relative;
  min-height:560px;
  display:flex;
  flex-direction:column;
  border-radius:var(--provider-radius);
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.provider-product-card:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 40%,var(--provider-line));
  box-shadow:var(--provider-shadow);
}
.provider-product-visual{
  position:relative;
  min-height:225px;
  display:grid;
  place-items:center;
  padding:24px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--provider-accent-soft) 62%,var(--surface)),color-mix(in srgb,var(--surface-2) 90%,var(--provider-accent) 10%));
  overflow:hidden;
}
.provider-product-visual::before{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  border:1px solid color-mix(in srgb,var(--provider-accent) 15%,transparent);
  border-radius:50%;
  box-shadow:0 0 0 42px color-mix(in srgb,var(--provider-accent) 5%,transparent);
}
.provider-product-visual img{
  position:relative;
  z-index:1;
  width:100%;
  height:205px;
  object-fit:contain;
  filter:drop-shadow(0 20px 24px rgba(7,24,46,.15));
}
.provider-product-placeholder{
  position:relative;
  z-index:1;
  width:126px;
  height:126px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--provider-accent) 24%,var(--provider-line));
  border-radius:36px;
  background:color-mix(in srgb,var(--surface) 70%,transparent);
  color:var(--provider-accent-strong);
  box-shadow:0 20px 42px rgba(7,24,46,.12);
  backdrop-filter:blur(14px);
}
.provider-product-placeholder svg{
  width:42px;
  height:42px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.45;
  opacity:.35;
}
.provider-product-placeholder strong{
  position:absolute;
  font-size:2rem;
  letter-spacing:-.06em;
}
.provider-product-number,
.provider-product-stock,
.provider-product-prescription{
  position:absolute;
  z-index:2;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 8px;
  border:1px solid color-mix(in srgb,var(--provider-line) 72%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--surface) 86%,transparent);
  color:var(--provider-ink);
  font-size:.59rem;
  font-weight:810;
  backdrop-filter:blur(12px);
}
.provider-product-number{
  top:15px;
  left:15px;
  width:30px;
  justify-content:center;
  padding-inline:0;
}
.provider-product-stock{
  top:15px;
  right:15px;
  text-transform:capitalize;
}
.provider-product-card--in_stock .provider-product-stock{
  border-color:rgba(16,185,129,.30);
  background:color-mix(in srgb,#dff8ef 76%,var(--surface));
  color:#08745a;
}
.provider-product-card--limited .provider-product-stock,
.provider-product-card--preorder .provider-product-stock{
  border-color:rgba(245,158,11,.30);
  background:color-mix(in srgb,#fff3cf 78%,var(--surface));
  color:#925b05;
}
.provider-product-card--out_of_stock .provider-product-stock{
  border-color:rgba(239,68,68,.28);
  background:color-mix(in srgb,#fee2e2 78%,var(--surface));
  color:#b42323;
}
html[data-theme="dark"] .provider-product-card--in_stock .provider-product-stock{background:rgba(16,185,129,.15);color:#86efcd}
html[data-theme="dark"] .provider-product-card--limited .provider-product-stock,
html[data-theme="dark"] .provider-product-card--preorder .provider-product-stock{background:rgba(245,158,11,.15);color:#fcd98a}
html[data-theme="dark"] .provider-product-card--out_of_stock .provider-product-stock{background:rgba(239,68,68,.15);color:#fca5a5}
.provider-product-prescription{
  left:15px;
  bottom:15px;
  border-color:color-mix(in srgb,var(--provider-accent) 28%,var(--provider-line));
  color:var(--provider-accent-strong);
}
.provider-product-prescription svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}
.provider-product-body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:23px;
}
.provider-product-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.provider-product-topline span{
  color:var(--provider-accent-strong);
  font-size:.62rem;
  font-weight:840;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-product-topline small{
  max-width:50%;
  color:var(--provider-muted);
  font-size:.58rem;
  text-align:right;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.provider-product-body h3{
  margin:11px 0 0;
  color:var(--provider-ink)!important;
  font-size:1.32rem;
  line-height:1.18;
  letter-spacing:-.035em;
}
.provider-product-body>p{
  margin:12px 0 0;
  color:var(--provider-muted);
  font-size:.78rem;
  line-height:1.7;
}
.provider-product-specs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:18px;
}
.provider-product-specs>span{
  min-width:76px;
  display:grid;
  gap:3px;
  padding:8px 9px;
  border:1px solid var(--provider-line);
  border-radius:11px;
  background:var(--provider-panel-muted);
}
.provider-product-specs small{
  color:var(--provider-muted);
  font-size:.52rem;
  font-weight:790;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.provider-product-specs strong{
  color:var(--provider-ink);
  font-size:.66rem;
}
.provider-product-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:20px;
  border-top:1px solid var(--provider-line);
}
.provider-product-price{
  display:grid;
  gap:4px;
}
.provider-product-price small{
  color:var(--provider-muted);
  font-size:.57rem;
  font-weight:790;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.provider-product-price strong{
  color:var(--provider-ink);
  font-size:1.05rem;
  line-height:1.15;
}
.provider-product-price em{
  color:var(--provider-muted);
  font-size:.62rem;
  font-style:normal;
}
.provider-product-footer>a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:12px;
  background:var(--provider-accent);
  color:#fff;
  font-size:.67rem;
  font-weight:810;
  text-decoration:none;
}
.provider-product-footer>a svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}

/* Empty states */
.provider-empty-state{
  grid-column:1/-1;
  min-height:260px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:34px;
  border:1px dashed color-mix(in srgb,var(--provider-accent) 28%,var(--provider-line));
  border-radius:var(--provider-radius);
  background:var(--provider-panel-solid);
  color:var(--provider-muted);
  text-align:center;
}
.provider-empty-state>span:first-child{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--provider-accent-soft);
  color:var(--provider-accent-strong);
}
.provider-empty-state svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
.provider-empty-state h3{
  margin:15px 0 0;
  color:var(--provider-ink)!important;
  font-size:1.1rem;
}
.provider-empty-state p{
  max-width:520px;
  margin:8px 0 0;
  font-size:.78rem;
  line-height:1.7;
}
.provider-empty-state .btn{
  margin-top:16px;
}

/* --------------------------------------------------------------------------
   Provider discovery cards — doctor, lab, hospital, pharmacy
   -------------------------------------------------------------------------- */
body[class*="frontend-theme-"]:not(.role-admin) .provider-grid{
  gap:20px;
}
.provider-discovery-card{
  position:relative;
  min-height:590px;
  padding:0!important;
  border:1px solid var(--provider-line)!important;
  border-radius:var(--provider-radius)!important;
  background:var(--provider-panel-solid)!important;
  box-shadow:var(--provider-shadow-soft)!important;
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.provider-discovery-card::before{
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  top:0;
  height:7px;
  background:linear-gradient(90deg,var(--provider-accent),var(--provider-highlight));
}
.provider-discovery-card::after{
  content:"";
  position:absolute;
  z-index:0;
  width:190px;
  height:190px;
  right:-110px;
  top:-90px;
  border-radius:50%;
  background:color-mix(in srgb,var(--provider-accent) 8%,transparent);
  box-shadow:0 0 0 42px color-mix(in srgb,var(--provider-accent) 3%,transparent);
}
.provider-discovery-card:hover{
  transform:translateY(var(--provider-card-lift));
  border-color:color-mix(in srgb,var(--provider-accent) 40%,var(--provider-line))!important;
  box-shadow:var(--provider-shadow)!important;
}
.provider-discovery-card>*{
  position:relative;
  z-index:1;
}
.provider-discovery-card-topline{
  min-height:59px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 19px 10px;
}
.provider-discovery-role{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--provider-accent-strong);
  font-size:.62rem;
  font-weight:840;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.provider-discovery-role svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
}
.provider-discovery-index{
  color:color-mix(in srgb,var(--provider-accent) 30%,var(--provider-muted));
  font-size:.66rem;
  font-weight:860;
  letter-spacing:.12em;
}
.provider-discovery-identity{
  padding:0 21px;
}
.provider-discovery-avatar{
  width:88px!important;
  height:88px!important;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--provider-accent) 28%,var(--provider-line));
  border-radius:27px!important;
  background:linear-gradient(145deg,var(--provider-accent),var(--provider-accent-strong))!important;
  color:#fff!important;
  font-size:1.45rem!important;
  font-weight:850;
  box-shadow:0 18px 36px color-mix(in srgb,var(--provider-accent) 18%,transparent);
  overflow:hidden;
}
.provider-discovery-card--laboratory .provider-discovery-avatar,
.provider-discovery-card--hospital .provider-discovery-avatar,
.provider-discovery-card--marketplace .provider-discovery-avatar{
  border-radius:50%!important;
}
.provider-discovery-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.provider-discovery-badges{
  justify-content:center;
  margin-top:14px;
}
.provider-discovery-public-identity{
  margin-top:8px;
  gap:6px;
}
.provider-discovery-public-identity .public-provider-name-en{
  color:var(--provider-ink)!important;
  font-size:1.25rem!important;
  line-height:1.14!important;
  letter-spacing:-.035em;
}
.provider-discovery-public-identity .public-provider-name-ar{
  color:var(--provider-ink)!important;
  font-size:1rem!important;
}
.provider-discovery-public-identity .public-provider-address{
  color:var(--provider-muted)!important;
  font-size:.71rem!important;
  line-height:1.55!important;
}
.provider-discovery-card .provider-card-qualification{
  max-width:90%;
  color:var(--provider-muted)!important;
  font-size:.7rem!important;
}
.provider-discovery-tags{
  justify-content:center;
  min-height:62px;
  margin:19px 20px 0;
}
.provider-discovery-tags>span{
  min-height:27px;
  padding:5px 8px;
  font-size:.6rem;
}
.provider-discovery-summary{
  min-height:106px;
  display:grid;
  align-content:start;
  gap:7px;
  margin:17px 20px 0;
  padding:16px;
  border:1px solid var(--provider-line);
  border-radius:16px;
  background:var(--provider-panel-muted);
}
.provider-discovery-summary p{
  margin:0;
  color:var(--provider-muted);
  font-size:.72rem;
  line-height:1.65;
  text-align:center;
}
.provider-discovery-summary p[dir="rtl"]{
  text-align:right;
}
.provider-discovery-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:13px 20px 0;
}
.provider-discovery-metrics>span{
  min-height:74px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:11px;
  border:1px solid var(--provider-line);
  border-radius:14px;
  background:var(--provider-panel-solid);
}
.provider-discovery-metrics small{
  color:var(--provider-muted);
  font-size:.55rem;
  font-weight:790;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.provider-discovery-metrics strong{
  margin-top:4px;
  color:var(--provider-ink);
  font-size:.78rem;
  line-height:1.3;
}
.provider-discovery-footer{
  min-height:70px;
  margin-top:auto!important;
  padding:13px 20px 18px!important;
  border-top:0!important;
}
.provider-discovery-status{
  color:var(--provider-muted);
  font-size:.6rem;
  font-weight:750;
}
.provider-discovery-footer .btn{
  min-height:40px;
  border-radius:12px;
  gap:7px;
}
.provider-discovery-footer .btn svg{
  width:14px;
  height:14px;
}

/* --------------------------------------------------------------------------
   Theme-specific visual languages — all ten frontend themes
   -------------------------------------------------------------------------- */

/* Oceanic Pulse — wave edges, aqua signals, floating depth */
body.frontend-theme-oceanic_pulse:not(.role-admin){
  --provider-accent:#0ea5e9;
  --provider-accent-strong:#03698f;
  --provider-accent-soft:#dff8ff;
  --provider-highlight:#67e8f9;
  --provider-stage-a:#062f49;
  --provider-stage-b:#087ea7;
  --provider-stage-c:#0ea5e9;
  --provider-radius:44px;
  --provider-radius-sm:24px;
  --provider-stage-pattern:radial-gradient(circle at 12% 16%,rgba(103,232,249,.24),transparent 28%),radial-gradient(circle at 87% 12%,rgba(255,255,255,.14),transparent 30%),linear-gradient(165deg,transparent 66%,rgba(103,232,249,.12) 66% 68%,transparent 68%);
}
body.frontend-theme-oceanic_pulse .public-header{border-radius:30px}
body.frontend-theme-oceanic_pulse .public-brand-mark{border-radius:50% 50% 42% 58%}
body.frontend-theme-oceanic_pulse .public-links{border-radius:999px}
body.frontend-theme-oceanic_pulse .public-links .public-nav-link{border-radius:999px}
body.frontend-theme-oceanic_pulse .public-nav-link-icon{border-radius:50%}
body.frontend-theme-oceanic_pulse .provider-showcase-stage{border-radius:46px 108px 46px 46px}
body.frontend-theme-oceanic_pulse .provider-showcase-copy{border-radius:34px 76px 34px 34px}
body.frontend-theme-oceanic_pulse .provider-showcase-insights{border-radius:34px 72px 34px 34px}
body.frontend-theme-oceanic_pulse .provider-story-card,
body.frontend-theme-oceanic_pulse .provider-product-card{border-radius:34px 72px 34px 34px}
body.frontend-theme-oceanic_pulse .provider-discovery-card:nth-child(3n+2){border-radius:62px 28px 62px 28px!important}

/* Alpine Frost — precision grid, crisp corners, clinical blue */
body.frontend-theme-alpine_frost:not(.role-admin){
  --provider-accent:#3b82f6;
  --provider-accent-strong:#1e4d8b;
  --provider-accent-soft:#e5f0ff;
  --provider-highlight:#bfdbfe;
  --provider-stage-a:#173452;
  --provider-stage-b:#285d91;
  --provider-stage-c:#3b82f6;
  --provider-radius:10px;
  --provider-radius-sm:6px;
  --provider-shadow:0 24px 58px rgba(24,63,105,.16);
  --provider-shadow-soft:0 10px 28px rgba(24,63,105,.10);
  --provider-stage-pattern:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
}
body.frontend-theme-alpine_frost .public-header{top:0;width:100%;margin:0;border-width:0 0 1px;border-radius:0;box-shadow:0 8px 26px rgba(24,63,105,.08)}
body.frontend-theme-alpine_frost .public-brand-mark,
body.frontend-theme-alpine_frost .public-links,
body.frontend-theme-alpine_frost .public-links .public-nav-link,
body.frontend-theme-alpine_frost .public-nav-link-icon,
body.frontend-theme-alpine_frost .public-network-status,
body.frontend-theme-alpine_frost .public-theme-toggle{border-radius:4px}
body.frontend-theme-alpine_frost .public-links{gap:0;padding:0;overflow:hidden}
body.frontend-theme-alpine_frost .public-links .public-nav-link{border-right:1px solid var(--public-menu-border)}
body.frontend-theme-alpine_frost .public-links .public-nav-link:last-child{border-right:0}
body.frontend-theme-alpine_frost .provider-showcase-stage{background-size:42px 42px,42px 42px,auto}
body.frontend-theme-alpine_frost .provider-showcase-copy,
body.frontend-theme-alpine_frost .provider-showcase-insights,
body.frontend-theme-alpine_frost .provider-story-card,
body.frontend-theme-alpine_frost .provider-info-card,
body.frontend-theme-alpine_frost .provider-product-card,
body.frontend-theme-alpine_frost .provider-discovery-card{border-width:1px!important}
body.frontend-theme-alpine_frost .provider-story-card::after{width:4px}
body.frontend-theme-alpine_frost .provider-discovery-card::before{height:4px}

/* Sakura Health — blossom softness, pill navigation, petal geometry */
body.frontend-theme-sakura_health:not(.role-admin){
  --provider-accent:#db5f8d;
  --provider-accent-strong:#7b2c58;
  --provider-accent-soft:#fde7ef;
  --provider-highlight:#ffc4d8;
  --provider-stage-a:#5f274f;
  --provider-stage-b:#9d3e70;
  --provider-stage-c:#db5f8d;
  --provider-radius:50px;
  --provider-radius-sm:28px;
  --provider-shadow:0 30px 74px rgba(95,39,79,.16);
  --provider-shadow-soft:0 16px 38px rgba(95,39,79,.10);
  --provider-stage-pattern:radial-gradient(ellipse at 12% 18%,rgba(255,215,231,.26),transparent 24%),radial-gradient(ellipse at 92% 12%,rgba(255,255,255,.15),transparent 24%);
}
body.frontend-theme-sakura_health .public-header{border-radius:999px}
body.frontend-theme-sakura_health .public-nav{padding-inline:12px 14px}
body.frontend-theme-sakura_health .public-brand-mark{border-radius:50% 45% 52% 48%;transform:rotate(-3deg)}
body.frontend-theme-sakura_health .public-links{border-radius:999px}
body.frontend-theme-sakura_health .public-links .public-nav-link{border-radius:999px}
body.frontend-theme-sakura_health .public-nav-link-icon{border-radius:52% 48% 57% 43%;transform:rotate(8deg)}
body.frontend-theme-sakura_health .provider-showcase-stage{border-radius:78px 44px 78px 44px}
body.frontend-theme-sakura_health .provider-showcase-avatar{border-radius:55% 45% 52% 48%}
body.frontend-theme-sakura_health .provider-showcase-avatar--institution,
body.frontend-theme-sakura_health .provider-showcase-avatar--marketplace{border-radius:57% 43% 53% 47%}
body.frontend-theme-sakura_health .provider-story-card,
body.frontend-theme-sakura_health .provider-product-card{border-radius:58px 30px 58px 30px}
body.frontend-theme-sakura_health .provider-discovery-card:nth-child(odd){border-radius:52px 24px 52px 24px!important}
body.frontend-theme-sakura_health .provider-discovery-card:nth-child(even){border-radius:24px 52px 24px 52px!important}

/* Royal Indigo — framed stage, gold pinstripes, premium depth */
body.frontend-theme-royal_indigo:not(.role-admin){
  --provider-accent:#6366f1;
  --provider-accent-strong:#3730a3;
  --provider-accent-soft:#e8e9ff;
  --provider-highlight:#f1d58b;
  --provider-stage-a:#252269;
  --provider-stage-b:#4338a8;
  --provider-stage-c:#6d3cc9;
  --provider-radius:30px;
  --provider-radius-sm:16px;
  --provider-shadow:0 34px 80px rgba(38,32,104,.22);
  --provider-shadow-soft:0 17px 42px rgba(38,32,104,.13);
  --provider-stage-pattern:linear-gradient(135deg,rgba(241,213,139,.12),transparent 24%),radial-gradient(circle at 90% 10%,rgba(255,255,255,.13),transparent 24%);
}
body.frontend-theme-royal_indigo .public-header{border:1px solid #c9c5f0;border-radius:18px;box-shadow:0 16px 44px rgba(49,46,129,.14)}
body.frontend-theme-royal_indigo .public-brand-mark{border-radius:10px;border-color:#d9c27e}
body.frontend-theme-royal_indigo .public-links{border:1px solid #c9c5f0;border-radius:12px;box-shadow:inset 0 0 0 2px color-mix(in srgb,#f1d58b 18%,transparent)}
body.frontend-theme-royal_indigo .public-links .public-nav-link{border-radius:8px}
body.frontend-theme-royal_indigo .provider-showcase-stage{border:1px solid rgba(241,213,139,.54);box-shadow:0 0 0 6px color-mix(in srgb,#f1d58b 8%,transparent),var(--provider-shadow)}
body.frontend-theme-royal_indigo .provider-showcase-stage::before{box-shadow:inset 0 0 0 3px rgba(241,213,139,.11)}
body.frontend-theme-royal_indigo .provider-story-card,
body.frontend-theme-royal_indigo .provider-service-card,
body.frontend-theme-royal_indigo .provider-product-card,
body.frontend-theme-royal_indigo .provider-discovery-card{box-shadow:inset 0 0 0 2px color-mix(in srgb,#f1d58b 9%,transparent),var(--provider-shadow-soft)!important}
body.frontend-theme-royal_indigo .provider-discovery-card::before{background:linear-gradient(90deg,#f1d58b,var(--provider-accent),#f1d58b)}

/* Citrus Vital — energetic bento shapes and lime punch */
body.frontend-theme-citrus_vital:not(.role-admin){
  --provider-accent:#16a34a;
  --provider-accent-strong:#14532d;
  --provider-accent-soft:#e8f9c8;
  --provider-highlight:#bef264;
  --provider-stage-a:#12452a;
  --provider-stage-b:#1f7a3e;
  --provider-stage-c:#4b9e36;
  --provider-radius:28px;
  --provider-radius-sm:16px;
  --provider-shadow:8px 10px 0 color-mix(in srgb,#bef264 32%,transparent),0 28px 64px rgba(20,83,45,.16);
  --provider-shadow-soft:4px 5px 0 color-mix(in srgb,#bef264 22%,transparent),0 15px 34px rgba(20,83,45,.10);
  --provider-stage-pattern:linear-gradient(120deg,rgba(190,242,100,.16) 0 18%,transparent 18% 68%,rgba(255,255,255,.08) 68%);
}
body.frontend-theme-citrus_vital .public-header{border-radius:14px 34px 14px 34px}
body.frontend-theme-citrus_vital .public-brand-mark{border-radius:8px 20px 8px 20px}
body.frontend-theme-citrus_vital .public-links{border-radius:10px 24px 10px 24px}
body.frontend-theme-citrus_vital .public-links .public-nav-link:nth-child(odd){border-radius:8px 18px 8px 18px}
body.frontend-theme-citrus_vital .public-links .public-nav-link:nth-child(even){border-radius:18px 8px 18px 8px}
body.frontend-theme-citrus_vital .provider-showcase-stage{border-radius:18px 54px 18px 54px}
body.frontend-theme-citrus_vital .provider-showcase-copy{border-radius:16px 44px 16px 44px}
body.frontend-theme-citrus_vital .provider-showcase-insights{border-radius:44px 16px 44px 16px}
body.frontend-theme-citrus_vital .provider-product-card:nth-child(3n+2),
body.frontend-theme-citrus_vital .provider-discovery-card:nth-child(3n+2){border-radius:44px 14px 44px 14px!important}
body.frontend-theme-citrus_vital .provider-product-card:nth-child(3n+3),
body.frontend-theme-citrus_vital .provider-discovery-card:nth-child(3n+3){border-radius:14px 44px 14px 44px!important}

/* Botanical Serenity — organic corners, sage surfaces, sanctuary rhythm */
body.frontend-theme-botanical_serenity:not(.role-admin){
  --provider-accent:#6b8f71;
  --provider-accent-strong:#294a3a;
  --provider-accent-soft:#e3eee0;
  --provider-highlight:#c6dbad;
  --provider-stage-a:#28483a;
  --provider-stage-b:#527260;
  --provider-stage-c:#7f9d78;
  --provider-radius:46px;
  --provider-radius-sm:26px;
  --provider-shadow:0 30px 74px rgba(41,74,58,.17);
  --provider-shadow-soft:0 15px 38px rgba(41,74,58,.10);
  --provider-stage-pattern:radial-gradient(ellipse at 8% 18%,rgba(198,219,173,.22),transparent 28%),radial-gradient(ellipse at 92% 88%,rgba(255,255,255,.11),transparent 26%);
}
body.frontend-theme-botanical_serenity .public-header{border-radius:38px 16px 38px 16px}
body.frontend-theme-botanical_serenity .public-brand-mark{border-radius:52% 48% 62% 38%}
body.frontend-theme-botanical_serenity .public-links{border-radius:24px 10px 24px 10px}
body.frontend-theme-botanical_serenity .public-links .public-nav-link{border-radius:18px 8px 18px 8px}
body.frontend-theme-botanical_serenity .provider-showcase-stage{border-radius:80px 26px 80px 26px}
body.frontend-theme-botanical_serenity .provider-showcase-avatar{border-radius:58% 42% 62% 38%}
body.frontend-theme-botanical_serenity .provider-showcase-avatar--institution,
body.frontend-theme-botanical_serenity .provider-showcase-avatar--marketplace{border-radius:58% 42% 56% 44%}
body.frontend-theme-botanical_serenity .provider-story-card,
body.frontend-theme-botanical_serenity .provider-product-card{border-radius:58px 22px 58px 22px}
body.frontend-theme-botanical_serenity .provider-discovery-card:nth-child(even){border-radius:24px 58px 24px 58px!important}

/* Aether Glass — translucent layers, orbit rings, spatial glow */
body.frontend-theme-aether_glass:not(.role-admin){
  --provider-accent:#7c3aed;
  --provider-accent-strong:#4c1d95;
  --provider-accent-soft:#eee7ff;
  --provider-highlight:#67e8f9;
  --provider-stage-a:#172554;
  --provider-stage-b:#4c1d95;
  --provider-stage-c:#7c3aed;
  --provider-radius:38px;
  --provider-radius-sm:22px;
  --provider-panel:rgba(242,244,255,.70);
  --provider-panel-solid:color-mix(in srgb,var(--surface) 78%,transparent);
  --provider-panel-muted:color-mix(in srgb,var(--surface-2) 70%,transparent);
  --provider-shadow:0 36px 96px rgba(43,30,103,.24);
  --provider-shadow-soft:0 18px 48px rgba(43,30,103,.13);
  --provider-stage-pattern:radial-gradient(circle at 14% 18%,rgba(103,232,249,.22),transparent 28%),radial-gradient(circle at 86% 18%,rgba(255,255,255,.16),transparent 26%);
}
html[data-theme="dark"] body.frontend-theme-aether_glass:not(.role-admin){
  --provider-panel:rgba(20,24,55,.67);
  --provider-panel-solid:rgba(24,28,59,.70);
  --provider-panel-muted:rgba(34,38,74,.64);
}
body.frontend-theme-aether_glass .public-header{background:rgba(246,247,255,.66);border-color:rgba(124,58,237,.20);box-shadow:0 24px 70px rgba(54,35,130,.16)}
html[data-theme="dark"] body.frontend-theme-aether_glass .public-header{background:rgba(20,24,55,.66)}
body.frontend-theme-aether_glass .public-brand-mark,
body.frontend-theme-aether_glass .public-links,
body.frontend-theme-aether_glass .public-network-status,
body.frontend-theme-aether_glass .public-theme-toggle{background:rgba(255,255,255,.22);backdrop-filter:blur(18px)}
body.frontend-theme-aether_glass .provider-showcase-stage{box-shadow:0 0 0 1px rgba(255,255,255,.20),var(--provider-shadow)}
body.frontend-theme-aether_glass .provider-showcase-copy,
body.frontend-theme-aether_glass .provider-showcase-insights,
body.frontend-theme-aether_glass .provider-story-card,
body.frontend-theme-aether_glass .provider-info-card,
body.frontend-theme-aether_glass .provider-product-card,
body.frontend-theme-aether_glass .provider-discovery-card{backdrop-filter:blur(24px) saturate(1.16);-webkit-backdrop-filter:blur(24px) saturate(1.16)}
body.frontend-theme-aether_glass .provider-showcase-avatar{border-radius:36px;box-shadow:0 0 0 12px rgba(255,255,255,.06),0 26px 60px rgba(4,10,35,.32)}

/* Kinetic Spectrum — diagonal ribbons, dark motion field, vivid accents */
body.frontend-theme-kinetic_spectrum:not(.role-admin){
  --provider-accent:#ef3f78;
  --provider-accent-strong:#a51853;
  --provider-accent-soft:#ffe2ec;
  --provider-highlight:#ffb347;
  --provider-stage-a:#211b46;
  --provider-stage-b:#59206c;
  --provider-stage-c:#ef3f78;
  --provider-radius:18px;
  --provider-radius-sm:12px;
  --provider-shadow:12px 12px 0 color-mix(in srgb,#ffb347 18%,transparent),0 30px 72px rgba(37,32,74,.22);
  --provider-shadow-soft:7px 7px 0 color-mix(in srgb,#ffb347 12%,transparent),0 16px 38px rgba(37,32,74,.13);
  --provider-stage-pattern:linear-gradient(118deg,rgba(239,63,120,.18) 0 15%,transparent 15% 64%,rgba(255,179,71,.13) 64% 77%,transparent 77%);
}
body.frontend-theme-kinetic_spectrum .public-header{border-radius:0;transform:none!important;background:rgba(33,27,70,.90);border-color:rgba(255,179,71,.24)}
body.frontend-theme-kinetic_spectrum .public-brand,
body.frontend-theme-kinetic_spectrum .public-header .brand-copy,
body.frontend-theme-kinetic_spectrum .public-header .brand-copy small,
body.frontend-theme-kinetic_spectrum .public-network-status{color:#fff}
body.frontend-theme-kinetic_spectrum .public-brand-mark{border-radius:0;transform:skewX(-8deg);background:rgba(255,255,255,.10)}
body.frontend-theme-kinetic_spectrum .public-brand-mark img{transform:skewX(8deg)}
body.frontend-theme-kinetic_spectrum .public-links{border-radius:0;background:rgba(255,255,255,.06);transform:skewX(-5deg)}
body.frontend-theme-kinetic_spectrum .public-links .public-nav-link{border-radius:0;color:#f8f5ff;transform:skewX(5deg)}
body.frontend-theme-kinetic_spectrum .public-links .public-nav-link:hover{transform:skewX(5deg) translateY(-1px)}
body.frontend-theme-kinetic_spectrum .public-links .public-nav-link.active{background:linear-gradient(100deg,#ef3f78,#ff8b4a);color:#fff}
body.frontend-theme-kinetic_spectrum .public-theme-toggle,
body.frontend-theme-kinetic_spectrum .public-signin{color:#fff!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important}
body.frontend-theme-kinetic_spectrum .provider-showcase-stage{border-radius:0;clip-path:polygon(2% 0,100% 0,98% 100%,0 100%)}
body.frontend-theme-kinetic_spectrum .provider-showcase-copy{border-radius:0;clip-path:polygon(3% 0,100% 0,97% 100%,0 100%)}
body.frontend-theme-kinetic_spectrum .provider-showcase-insights{border-radius:0;clip-path:polygon(7% 0,100% 0,93% 100%,0 100%)}
body.frontend-theme-kinetic_spectrum .provider-story-card,
body.frontend-theme-kinetic_spectrum .provider-service-card,
body.frontend-theme-kinetic_spectrum .provider-product-card,
body.frontend-theme-kinetic_spectrum .provider-discovery-card{border-radius:0!important}
body.frontend-theme-kinetic_spectrum .provider-product-visual{clip-path:polygon(0 0,100% 0,95% 100%,0 91%);margin-bottom:-16px;padding-bottom:40px}
body.frontend-theme-kinetic_spectrum .provider-discovery-card::before{height:9px;background:linear-gradient(90deg,#ef3f78,#ffb347,#7c3aed)}

/* Role modulation within a theme */
.provider-experience--doctor{--provider-role-accent:color-mix(in srgb,var(--provider-accent) 78%,#2563eb)}
.provider-experience--laboratory{--provider-role-accent:color-mix(in srgb,var(--provider-accent) 72%,#06b6d4)}
.provider-experience--hospital{--provider-role-accent:color-mix(in srgb,var(--provider-accent) 76%,#8b5cf6)}
.provider-experience--pharmacy{--provider-role-accent:color-mix(in srgb,var(--provider-accent) 72%,#10b981)}
.provider-experience--legacy-marketplace{--provider-role-accent:color-mix(in srgb,var(--provider-accent) 72%,#f59e0b)}
.provider-experience .provider-showcase-role,
.provider-experience .provider-primary-action,
.provider-experience .provider-product-footer>a,
.provider-experience .provider-test-card footer>a{
  --primary:var(--provider-role-accent,var(--provider-accent));
}

/* RTL refinements */
html[dir="rtl"] .provider-return-link svg{
  transform:none;
}
html[dir="rtl"] .provider-return-link:hover{
  transform:translateX(3px);
}
html[dir="rtl"] .provider-story-card::after{
  left:auto;
  right:0;
}
html[dir="rtl"] .provider-story-card>.provider-card-icon,
html[dir="rtl"] .provider-schedule-note .provider-card-icon,
html[dir="rtl"] .provider-credential-card>.provider-card-icon,
html[dir="rtl"] .provider-specialty-showcase .provider-card-icon{
  left:auto;
  right:30px;
}
html[dir="rtl"] .provider-card-index,
html[dir="rtl"] .provider-specialty-showcase>article>span:first-child{
  right:auto;
  left:26px;
}
html[dir="rtl"] .provider-product-number{
  left:auto;
  right:15px;
}
html[dir="rtl"] .provider-product-stock{
  right:auto;
  left:15px;
}
html[dir="rtl"] .provider-product-prescription{
  left:auto;
  right:15px;
}
html[dir="rtl"] .provider-service-footer>a{
  padding-right:13px;
  padding-left:42px;
}
html[dir="rtl"] .provider-service-footer>a svg{
  right:auto;
  left:14px;
  transform:translateY(-50%) rotate(180deg);
}

/* --------------------------------------------------------------------------
   Responsive behavior
   -------------------------------------------------------------------------- */
@media(max-width:1320px){
  body.guest-shell[class*="frontend-theme-"] .public-network-status{display:none}
  body.guest-shell[class*="frontend-theme-"] .public-nav{gap:12px}
  body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link{padding-inline:9px;font-size:.73rem}
  body.guest-shell[class*="frontend-theme-"] .public-nav-link-icon{width:25px;height:25px;flex-basis:25px}
}
@media(max-width:1180px){
  .provider-showcase-stage{
    grid-template-columns:170px minmax(0,1fr);
  }
  .provider-showcase-insights{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:220px minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
  }
  .provider-insights-heading{padding:0 18px 0 0;border-bottom:0;border-right:1px solid rgba(255,255,255,.14)}
  .provider-insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
  .provider-insight-grid>div{min-height:98px}
  .provider-availability-signal{margin:0;padding:0;white-space:nowrap}
  .provider-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-test-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-specialty-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1020px){
  body.guest-shell[class*="frontend-theme-"] .public-network-status{display:none}
  body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link{gap:5px;padding-inline:8px;font-size:.69rem}
  body.guest-shell[class*="frontend-theme-"] .public-nav-link-icon{display:none}
  .provider-overview-layout,
  .provider-schedule-layout{grid-template-columns:1fr}
  .provider-fact-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-credential-layout{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-credential-card--metric{grid-column:1/-1;min-height:180px}
  .provider-service-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  body.guest-shell[class*="frontend-theme-"] .public-header{
    top:8px;
    width:calc(100% - 16px);
    margin-top:8px;
    border-radius:20px;
    transform:none!important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-nav{
    position:relative;
    min-height:68px;
    grid-template-columns:auto 1fr auto;
    padding:8px 9px 8px 12px;
  }
  body.guest-shell[class*="frontend-theme-"] .public-brand-mark{width:42px;height:42px;border-radius:13px;transform:none}
  body.guest-shell[class*="frontend-theme-"] .public-brand-mark img{width:33px;height:33px;transform:none}
  body.guest-shell[class*="frontend-theme-"] .public-actions{justify-self:end}
  body.guest-shell[class*="frontend-theme-"] .public-actions .public-theme-toggle{display:grid}
  body.guest-shell[class*="frontend-theme-"] .public-links{
    position:absolute!important;
    z-index:95!important;
    top:calc(100% + 9px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    display:none!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
    padding:9px!important;
    border:1px solid var(--public-menu-border)!important;
    border-radius:18px!important;
    background:color-mix(in srgb,var(--public-menu-bg) 96%,var(--surface))!important;
    box-shadow:0 28px 70px rgba(7,24,46,.24)!important;
    clip-path:none!important;
    transform:none!important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-links.open{display:grid!important}
  body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link{
    width:100%;
    min-height:48px;
    justify-content:flex-start;
    gap:9px;
    border-radius:12px!important;
    transform:none!important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link:hover{transform:none!important}
  body.guest-shell[class*="frontend-theme-"] .public-nav-link-icon{display:grid}
  body.guest-shell[class*="frontend-theme-"] .public-mobile-account-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:4px;
    padding-top:10px;
    border-top:1px solid color-mix(in srgb,var(--public-menu-border) 76%,transparent);
  }
  body.guest-shell[class*="frontend-theme-"] .public-mobile-account-links>a:only-child{grid-column:1/-1}
  body.guest-shell[class*="frontend-theme-"] .public-mobile-account-links .btn{
    min-height:44px;
    width:100%;
    justify-content:center;
    border-radius:12px!important;
  }
  body.guest-shell[class*="frontend-theme-"] .public-actions .public-signin,
  body.guest-shell[class*="frontend-theme-"] .public-actions .public-dashboard-link,
  body.guest-shell[class*="frontend-theme-"] .public-actions .public-registration-link{display:none!important}
  body.frontend-theme-kinetic_spectrum .public-brand,
  body.frontend-theme-kinetic_spectrum .public-header .brand-copy,
  body.frontend-theme-kinetic_spectrum .public-header .brand-copy small{color:#fff}
  .provider-showcase-stage,
  body.frontend-theme-kinetic_spectrum .provider-showcase-stage{
    grid-template-columns:1fr;
    gap:14px;
    padding:16px;
    border-radius:28px!important;
    clip-path:none!important;
  }
  .provider-showcase-emblem{
    min-height:150px;
    flex-direction:row;
    justify-content:flex-start;
    padding:10px 16px;
  }
  .provider-showcase-avatar,
  .provider-showcase-avatar--institution,
  .provider-showcase-avatar--marketplace{
    width:108px;
    height:108px;
    border-radius:28px;
  }
  .provider-showcase-avatar--institution,
  .provider-showcase-avatar--marketplace{border-radius:50%}
  .provider-showcase-copy,
  body.frontend-theme-kinetic_spectrum .provider-showcase-copy{
    padding:30px;
    border-radius:22px!important;
    clip-path:none!important;
  }
  .provider-showcase-insights,
  body.frontend-theme-kinetic_spectrum .provider-showcase-insights{
    grid-column:auto;
    display:flex;
    border-radius:22px!important;
    clip-path:none!important;
  }
  .provider-insights-heading{padding:0 0 15px;border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}
  .provider-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:15px}
  .provider-availability-signal{margin-top:16px}
  .provider-section-rail{top:82px}
  .provider-section-rail .provider-experience-container{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  .provider-section-rail .provider-experience-container::-webkit-scrollbar{display:none}
  .provider-section-heading{grid-template-columns:1fr;gap:12px}
  .provider-section-heading>p{max-width:760px}
  .provider-rating-summary,
  .provider-catalogue-summary{justify-self:start}
  .provider-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-specialty-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[class*="frontend-theme-"]:not(.role-admin) .provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .provider-experience-container{width:min(var(--provider-max-width),calc(100% - 22px))}
  .app-body .provider-experience-container{width:100%}
  .provider-showcase{padding-top:22px}
  .provider-showcase-copy{padding:25px 21px}
  .provider-showcase-identity .public-provider-name-en{font-size:clamp(2rem,10vw,3.1rem)}
  .provider-showcase-identity .public-provider-name-ar{font-size:clamp(1.25rem,6vw,1.8rem)}
  .provider-showcase-actions{width:100%;display:grid;grid-template-columns:1fr}
  .provider-showcase-actions .btn{width:100%;justify-content:center}
  .provider-section-rail .provider-experience-container{width:calc(100% - 16px)}
  .provider-content-section{padding:42px 0}
  .provider-content-section--tinted::before,
  .provider-content-section--reviews::before,
  .provider-content-section--catalogue::before{inset:8px -8px;border-radius:24px}
  .provider-overview-layout,
  .provider-fact-stack,
  .provider-credential-layout,
  .provider-product-grid,
  .provider-test-grid,
  .provider-review-grid,
  body[class*="frontend-theme-"]:not(.role-admin) .provider-grid{grid-template-columns:1fr}
  .provider-story-card{min-height:390px;padding:86px 24px 28px}
  .provider-story-card>.provider-card-icon{top:24px;left:24px}
  .provider-card-index{top:24px;right:22px}
  .provider-credential-card--metric{grid-column:auto}
  .provider-schedule-grid{grid-template-columns:1fr}
  .provider-specialty-showcase{grid-template-columns:1fr}
  .provider-service-card{min-height:0;padding:22px}
  .provider-service-footer{grid-template-columns:1fr}
  .provider-catalogue-summary{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .provider-catalogue-summary>span{min-width:0}
  .provider-product-card{min-height:0}
  .provider-discovery-card{min-height:560px}
}
@media(max-width:520px){
  body.guest-shell[class*="frontend-theme-"] .public-brand .brand-copy{font-size:.86rem}
  body.guest-shell[class*="frontend-theme-"] .public-brand .brand-copy small{display:none}
  body.guest-shell[class*="frontend-theme-"] .public-actions .btn-primary{display:none}
  body.guest-shell[class*="frontend-theme-"] .public-actions .public-signin{display:none}
  .provider-return-link{font-size:.69rem}
  .provider-showcase-stage{padding:11px;border-radius:22px!important}
  .provider-showcase-emblem{min-height:126px;padding:8px 12px}
  .provider-showcase-avatar,
  .provider-showcase-avatar--institution,
  .provider-showcase-avatar--marketplace{width:90px;height:90px;border-radius:24px}
  .provider-showcase-avatar--institution,
  .provider-showcase-avatar--marketplace{border-radius:50%}
  .provider-showcase-role{font-size:.6rem}
  .provider-showcase-copy{padding:23px 18px;border-radius:18px!important}
  .provider-insight-grid{grid-template-columns:1fr 1fr}
  .provider-insight-grid>div{min-height:108px}
  .provider-section-heading h2{font-size:1.8rem}
  .provider-mini-metrics{grid-template-columns:1fr}
  .provider-fact-list--compact>div{grid-template-columns:1fr;gap:4px}
  .provider-catalogue-summary{grid-template-columns:1fr}
  .provider-product-visual{min-height:200px}
  .provider-product-body{padding:20px}
  .provider-product-footer{align-items:stretch;flex-direction:column}
  .provider-product-footer>a{justify-content:center}
  .provider-review-topline{grid-template-columns:auto 1fr}
  .provider-review-stars{grid-column:1/-1;margin-top:8px}
}

/* Motion and contrast preferences */
@media(prefers-reduced-motion:reduce){
  .provider-experience *,
  body.guest-shell[class*="frontend-theme-"] .public-nav-link{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
  .provider-discovery-card:hover,
  .provider-product-card:hover,
  .provider-service-card:hover,
  .provider-test-card:hover,
  .provider-review-card:hover,
  .provider-schedule-card:hover{
    transform:none!important;
  }
}
@media(forced-colors:active){
  .provider-showcase-stage,
  .provider-showcase-copy,
  .provider-showcase-insights,
  .provider-story-card,
  .provider-info-card,
  .provider-product-card,
  .provider-discovery-card{
    border:1px solid CanvasText!important;
    background:Canvas!important;
    color:CanvasText!important;
    box-shadow:none!important;
    clip-path:none!important;
  }
}

/* ========================================================================== 
   Aether Glass compact provider cover
   Keeps public profile covers bright in light mode, preserves readable dark
   mode surfaces, and gives every frontend theme its own desktop composition.
   ========================================================================== */

/* Navigation: the selected destination stays obvious without becoming a
   dark, low-contrast block. */
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link.active,
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link[aria-current="page"]{
  position:relative;
  background:var(--public-menu-active-bg);
  color:var(--public-menu-active-text);
  border-color:color-mix(in srgb,var(--public-menu-active-text) 18%,var(--public-menu-border));
  box-shadow:0 8px 22px color-mix(in srgb,var(--public-menu-active-text) 10%,transparent),inset 0 1px 0 rgba(255,255,255,.72);
}
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link.active:hover,
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link[aria-current="page"]:hover{
  background:color-mix(in srgb,var(--public-menu-active-bg) 88%,var(--surface));
  color:var(--public-menu-active-text);
}
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link.active::after,
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:4px;
  width:28px;
  height:3px;
  border-radius:999px;
  background:var(--provider-accent,var(--primary));
  transform:translateX(-50%);
  opacity:.86;
}
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link.active .public-nav-link-icon,
body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link[aria-current="page"] .public-nav-link-icon{
  background:color-mix(in srgb,var(--public-menu-active-text) 11%,transparent);
  color:inherit;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-links .public-nav-link.active,
body.guest-shell.frontend-theme-kinetic_spectrum .public-links .public-nav-link[aria-current="page"]{
  background:#fff0f5;
  color:#8f2050;
  border-color:#f8bfd3;
  box-shadow:6px 6px 0 rgba(251,191,36,.24),inset 0 1px 0 #fff;
}
body.guest-shell.frontend-theme-kinetic_spectrum .public-links .public-nav-link.active::after,
body.guest-shell.frontend-theme-kinetic_spectrum .public-links .public-nav-link[aria-current="page"]::after{
  background:linear-gradient(90deg,#ef3f78,#ff9f43);
}

/* Shared light-first cover tokens. */
body[class*="frontend-theme-"]:not(.role-admin){
  --provider-cover-bg:linear-gradient(135deg,#fbfdff 0%,#f2f7fb 56%,#edf4f9 100%);
  --provider-cover-art:radial-gradient(circle at 9% 14%,color-mix(in srgb,var(--provider-accent) 12%,transparent),transparent 25%),radial-gradient(circle at 92% 88%,color-mix(in srgb,var(--provider-highlight) 13%,transparent),transparent 26%);
  --provider-cover-panel:color-mix(in srgb,#ffffff 91%,transparent);
  --provider-cover-panel-strong:color-mix(in srgb,#ffffff 97%,var(--provider-accent-soft) 3%);
  --provider-cover-panel-tint:color-mix(in srgb,var(--provider-accent-soft) 46%,#ffffff 54%);
  --provider-cover-border:color-mix(in srgb,var(--provider-accent) 22%,#d9e3ec 78%);
  --provider-cover-line:color-mix(in srgb,var(--provider-accent) 15%,#dfe7ee 85%);
  --provider-cover-shadow:0 24px 64px rgba(18,42,66,.13);
  --provider-cover-panel-shadow:0 14px 36px rgba(18,42,66,.09);
}

.provider-showcase-stage{
  min-height:430px;
  grid-template-columns:180px minmax(0,1fr) 300px;
  align-items:stretch;
  gap:18px;
  padding:22px;
  border:1px solid var(--provider-cover-border);
  background:var(--provider-cover-art),var(--provider-cover-bg);
  color:var(--provider-ink);
  box-shadow:var(--provider-cover-shadow);
}
.provider-showcase-stage::before{
  inset:0;
  background:linear-gradient(90deg,var(--provider-role-accent,var(--provider-accent)) 0 27%,color-mix(in srgb,var(--provider-highlight) 78%,var(--provider-accent)) 27% 42%,transparent 42%);
  background-size:100% 5px;
  background-repeat:no-repeat;
  mix-blend-mode:normal;
  opacity:.9;
}
.provider-showcase-stage::after{
  width:260px;
  height:260px;
  right:-84px;
  bottom:-118px;
  border:1px solid color-mix(in srgb,var(--provider-accent) 16%,transparent);
  border-radius:50%;
  box-shadow:0 0 0 38px color-mix(in srgb,var(--provider-accent) 5%,transparent),0 0 0 84px color-mix(in srgb,var(--provider-highlight) 4%,transparent);
  opacity:.9;
}
.provider-showcase-emblem{
  align-self:stretch;
  min-width:0;
  padding:24px 14px;
  border:1px solid var(--provider-cover-line);
  border-radius:calc(var(--provider-radius) - 10px);
  background:linear-gradient(155deg,var(--provider-cover-panel-tint),color-mix(in srgb,#ffffff 84%,transparent));
  color:var(--provider-accent-strong);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),var(--provider-cover-panel-shadow);
  overflow:hidden;
}
.provider-showcase-emblem::before{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  left:-54px;
  top:-54px;
  border-radius:50%;
  background:color-mix(in srgb,var(--provider-highlight) 20%,transparent);
  pointer-events:none;
}
.provider-showcase-emblem-glow{
  width:148px;
  height:148px;
  background:color-mix(in srgb,var(--provider-accent) 14%,transparent);
  filter:blur(25px);
  opacity:.72;
}
.provider-showcase-avatar{
  width:126px;
  height:146px;
  border:1px solid color-mix(in srgb,var(--provider-role-accent,var(--provider-accent)) 30%,#dce6ee);
  background:linear-gradient(145deg,#ffffff,color-mix(in srgb,var(--provider-accent-soft) 58%,#ffffff));
  color:var(--provider-accent-strong);
  box-shadow:inset 0 1px 0 #fff,0 18px 38px color-mix(in srgb,var(--provider-accent) 15%,transparent);
  backdrop-filter:none;
}
.provider-showcase-avatar::after{
  background:var(--provider-role-accent,var(--provider-accent));
  opacity:.62;
}
.provider-showcase-avatar--institution,
.provider-showcase-avatar--marketplace{
  width:132px;
  height:132px;
}
.provider-showcase-role{
  border-color:color-mix(in srgb,var(--provider-role-accent,var(--provider-accent)) 26%,var(--provider-cover-line));
  background:color-mix(in srgb,var(--provider-accent-soft) 64%,#ffffff);
  color:var(--provider-accent-strong);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84);
  backdrop-filter:none;
}
.provider-showcase-copy{
  padding:clamp(28px,3.4vw,46px);
  border:1px solid var(--provider-cover-line);
  background:var(--provider-cover-panel-strong);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.96),var(--provider-cover-panel-shadow);
  backdrop-filter:blur(16px) saturate(1.04);
  -webkit-backdrop-filter:blur(16px) saturate(1.04);
}
.provider-showcase-identity .public-provider-name-en{
  font-size:clamp(2.15rem,3.65vw,4.35rem);
  line-height:1.01;
  letter-spacing:-.058em;
}
.provider-showcase-identity .public-provider-name-ar{
  font-size:clamp(1.3rem,2.15vw,2.05rem);
  line-height:1.58;
}
.provider-showcase-identity .public-provider-address,
.provider-showcase-qualifications,
.provider-showcase-summary{
  color:color-mix(in srgb,var(--provider-ink) 64%,transparent)!important;
}
.provider-showcase-insights{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  padding:22px;
  border:1px solid var(--provider-cover-line);
  background:var(--provider-cover-panel);
  color:var(--provider-ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94),var(--provider-cover-panel-shadow);
  backdrop-filter:blur(16px) saturate(1.04);
  -webkit-backdrop-filter:blur(16px) saturate(1.04);
}
.provider-insights-heading{
  border-color:var(--provider-cover-line);
}
.provider-insights-heading small,
.provider-insight-grid small,
.provider-insight-grid em,
.provider-availability-signal{
  color:color-mix(in srgb,var(--provider-ink) 60%,transparent);
}
.provider-insight-grid>div{
  border-color:var(--provider-cover-line);
  background:linear-gradient(145deg,color-mix(in srgb,var(--provider-cover-panel-strong) 94%,transparent),var(--provider-cover-panel-tint));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86);
}
.provider-insight-icon{
  background:color-mix(in srgb,var(--provider-accent-soft) 72%,#ffffff);
  color:var(--provider-accent-strong);
}
.provider-insight-grid strong{
  color:var(--provider-ink);
}
.provider-showcase-actions .btn-outline,
.provider-showcase-actions .btn-ghost{
  border-color:var(--provider-cover-line);
  background:color-mix(in srgb,#ffffff 82%,transparent);
  color:var(--provider-ink);
}
.provider-showcase-actions .btn-outline:hover,
.provider-showcase-actions .btn-ghost:hover{
  border-color:color-mix(in srgb,var(--provider-role-accent,var(--provider-accent)) 35%,var(--provider-cover-line));
  background:var(--provider-cover-panel-tint);
  color:var(--provider-accent-strong);
}

/* Theme palettes for light profile covers. */
body.frontend-theme-oceanic_pulse:not(.role-admin){
  --provider-cover-bg:linear-gradient(134deg,#fbfeff 0%,#eaf9ff 56%,#ddf6ff 100%);
  --provider-cover-art:radial-gradient(circle at 9% 18%,rgba(14,165,233,.14),transparent 24%),radial-gradient(circle at 89% 7%,rgba(103,232,249,.24),transparent 24%),linear-gradient(164deg,transparent 66%,rgba(14,165,233,.08) 66% 68%,transparent 68%);
  --provider-cover-panel-tint:#e7f9ff;
  --provider-cover-border:#b9e5f4;
  --provider-cover-line:#cae9f3;
  --provider-cover-shadow:0 26px 66px rgba(3,105,143,.14);
}
body.frontend-theme-alpine_frost:not(.role-admin){
  --provider-cover-bg:linear-gradient(145deg,#ffffff 0%,#f3f8ff 58%,#e8f2ff 100%);
  --provider-cover-art:linear-gradient(rgba(59,130,246,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(59,130,246,.075) 1px,transparent 1px);
  --provider-cover-panel-tint:#edf5ff;
  --provider-cover-border:#c5d9ee;
  --provider-cover-line:#d3e1ef;
  --provider-cover-shadow:0 22px 54px rgba(30,77,139,.13);
}
body.frontend-theme-sakura_health:not(.role-admin){
  --provider-cover-bg:linear-gradient(135deg,#fffdfd 0%,#fff4f8 54%,#fce9f1 100%);
  --provider-cover-art:radial-gradient(ellipse at 8% 18%,rgba(219,95,141,.13),transparent 23%),radial-gradient(ellipse at 92% 82%,rgba(255,196,216,.28),transparent 28%);
  --provider-cover-panel-tint:#fff0f5;
  --provider-cover-border:#efc7d6;
  --provider-cover-line:#f1d5df;
  --provider-cover-shadow:0 26px 64px rgba(123,44,88,.13);
}
body.frontend-theme-royal_indigo:not(.role-admin){
  --provider-cover-bg:linear-gradient(138deg,#fffdf8 0%,#f8f6ff 48%,#efedff 100%);
  --provider-cover-art:linear-gradient(135deg,rgba(241,213,139,.17),transparent 24%),radial-gradient(circle at 90% 10%,rgba(99,102,241,.10),transparent 25%);
  --provider-cover-panel-tint:#f1f0ff;
  --provider-cover-border:#d5c895;
  --provider-cover-line:#dedaf1;
  --provider-cover-shadow:0 28px 70px rgba(55,48,163,.15);
}
body.frontend-theme-citrus_vital:not(.role-admin){
  --provider-cover-bg:linear-gradient(132deg,#fdfff8 0%,#f4fbe6 56%,#eaf8d1 100%);
  --provider-cover-art:linear-gradient(118deg,rgba(190,242,100,.19) 0 16%,transparent 16% 68%,rgba(22,163,74,.07) 68% 78%,transparent 78%);
  --provider-cover-panel-tint:#f2fbdc;
  --provider-cover-border:#c5dfa0;
  --provider-cover-line:#d5e6bc;
  --provider-cover-shadow:8px 9px 0 rgba(190,242,100,.22),0 24px 58px rgba(20,83,45,.12);
}
body.frontend-theme-botanical_serenity:not(.role-admin){
  --provider-cover-bg:linear-gradient(136deg,#fffdf8 0%,#f1f6ed 54%,#e5efe1 100%);
  --provider-cover-art:radial-gradient(ellipse at 6% 20%,rgba(107,143,113,.13),transparent 27%),radial-gradient(ellipse at 92% 88%,rgba(198,219,173,.25),transparent 27%);
  --provider-cover-panel-tint:#eef5ea;
  --provider-cover-border:#c8d9c2;
  --provider-cover-line:#d6e2d1;
  --provider-cover-shadow:0 26px 66px rgba(41,74,58,.13);
}
body.frontend-theme-aether_glass:not(.role-admin){
  --provider-cover-bg:linear-gradient(135deg,rgba(255,255,255,.96) 0%,rgba(243,241,255,.92) 48%,rgba(226,247,255,.90) 100%);
  --provider-cover-art:radial-gradient(circle at 12% 16%,rgba(124,58,237,.12),transparent 27%),radial-gradient(circle at 88% 18%,rgba(103,232,249,.22),transparent 27%);
  --provider-cover-panel:rgba(255,255,255,.76);
  --provider-cover-panel-strong:rgba(255,255,255,.88);
  --provider-cover-panel-tint:rgba(238,231,255,.78);
  --provider-cover-border:rgba(109,83,180,.25);
  --provider-cover-line:rgba(109,83,180,.18);
  --provider-cover-shadow:0 30px 78px rgba(76,29,149,.15);
  --provider-cover-panel-shadow:0 18px 44px rgba(76,29,149,.10);
}
body.frontend-theme-kinetic_spectrum:not(.role-admin){
  --provider-cover-bg:linear-gradient(128deg,#fffdfb 0%,#fff2f6 48%,#fff0e4 76%,#f3efff 100%);
  --provider-cover-art:linear-gradient(118deg,rgba(239,63,120,.12) 0 14%,transparent 14% 63%,rgba(255,179,71,.13) 63% 75%,transparent 75%),linear-gradient(165deg,transparent 82%,rgba(124,58,237,.08) 82%);
  --provider-cover-panel-tint:#fff0f5;
  --provider-cover-border:#efc4d3;
  --provider-cover-line:#ead6df;
  --provider-cover-shadow:10px 10px 0 rgba(255,179,71,.17),0 26px 62px rgba(89,32,108,.13);
}

/* Eight distinct desktop compositions. */
@media(min-width:1181px){
  /* Oceanic: flowing three-column concierge profile. */
  body.frontend-theme-oceanic_pulse .provider-showcase-stage{
    grid-template-columns:190px minmax(0,1fr) 300px;
    grid-template-areas:"emblem copy insights";
    padding:24px;
    border-radius:44px 104px 44px 44px;
  }
  body.frontend-theme-oceanic_pulse .provider-showcase-emblem{grid-area:emblem;border-radius:34px 78px 34px 34px;background:linear-gradient(155deg,#e4f9ff,#f9feff)}
  body.frontend-theme-oceanic_pulse .provider-showcase-copy{grid-area:copy;border-radius:30px 72px 30px 30px}
  body.frontend-theme-oceanic_pulse .provider-showcase-insights{grid-area:insights;border-radius:30px 68px 30px 30px}
  body.frontend-theme-oceanic_pulse .provider-showcase-stage::after{width:360px;height:190px;right:-60px;bottom:-108px;border-radius:50%;box-shadow:0 -18px 0 rgba(103,232,249,.08),0 -42px 0 rgba(14,165,233,.045)}

  /* Alpine: precise two-panel record with a full-width metrics ledger. */
  body.frontend-theme-alpine_frost .provider-showcase-stage{
    min-height:0;
    grid-template-columns:210px minmax(0,1fr);
    grid-template-areas:"emblem copy" "insights insights";
    border-radius:12px;
    background-size:40px 40px,40px 40px,auto;
  }
  body.frontend-theme-alpine_frost .provider-showcase-emblem{grid-area:emblem;border-radius:6px;background:rgba(237,245,255,.92)}
  body.frontend-theme-alpine_frost .provider-showcase-copy{grid-area:copy;border-radius:6px;border-left:5px solid #3b82f6}
  body.frontend-theme-alpine_frost .provider-showcase-insights{grid-area:insights;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:18px;border-radius:6px}
  body.frontend-theme-alpine_frost .provider-insights-heading{padding:0 18px 0 0;border-bottom:0;border-right:1px solid var(--provider-cover-line)}
  body.frontend-theme-alpine_frost .provider-insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
  body.frontend-theme-alpine_frost .provider-insight-grid>div{min-height:96px;border-radius:4px}
  body.frontend-theme-alpine_frost .provider-availability-signal{margin:0;padding:0;white-space:nowrap}

  /* Sakura: editorial identity first, portrait medallion to the right, soft
     information ribbon beneath. */
  body.frontend-theme-sakura_health .provider-showcase-stage{
    min-height:0;
    grid-template-columns:minmax(0,1fr) 230px;
    grid-template-areas:"copy emblem" "insights insights";
    border-radius:76px 38px 76px 38px;
  }
  body.frontend-theme-sakura_health .provider-showcase-copy{grid-area:copy;border-radius:58px 28px 58px 28px}
  body.frontend-theme-sakura_health .provider-showcase-emblem{grid-area:emblem;border-radius:52% 48% 46% 54%;background:linear-gradient(150deg,#fde8f0,#fffafd)}
  body.frontend-theme-sakura_health .provider-showcase-insights{grid-area:insights;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:18px;border-radius:28px 56px 28px 56px}
  body.frontend-theme-sakura_health .provider-insights-heading{padding:0 18px 0 0;border-bottom:0;border-right:1px solid var(--provider-cover-line)}
  body.frontend-theme-sakura_health .provider-insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
  body.frontend-theme-sakura_health .provider-insight-grid>div{min-height:96px;border-radius:22px 12px 22px 12px}
  body.frontend-theme-sakura_health .provider-availability-signal{margin:0;padding:0;white-space:nowrap}
  body.frontend-theme-sakura_health .provider-showcase-stage::after{width:190px;height:190px;right:45px;bottom:-85px;border-radius:58% 42% 63% 37%;box-shadow:0 0 0 32px rgba(219,95,141,.04),0 0 0 70px rgba(255,196,216,.04)}

  /* Royal: premium identity panel, central crest, dedicated fact column. */
  body.frontend-theme-royal_indigo .provider-showcase-stage{
    grid-template-columns:minmax(0,1fr) 190px 300px;
    grid-template-areas:"copy emblem insights";
    padding:26px;
    border-radius:26px;
    box-shadow:0 0 0 5px rgba(241,213,139,.16),var(--provider-cover-shadow);
  }
  body.frontend-theme-royal_indigo .provider-showcase-copy{grid-area:copy;border-radius:16px;border-top:4px solid #d9bd69}
  body.frontend-theme-royal_indigo .provider-showcase-emblem{grid-area:emblem;border-radius:95px;background:linear-gradient(160deg,#f3f1ff,#fffaf0);box-shadow:inset 0 0 0 5px rgba(241,213,139,.18),var(--provider-cover-panel-shadow)}
  body.frontend-theme-royal_indigo .provider-showcase-insights{grid-area:insights;border-radius:16px;background:linear-gradient(165deg,#f1f0ff,#ffffff)}
  body.frontend-theme-royal_indigo .provider-showcase-avatar{border-color:#d9bd69;box-shadow:0 0 0 8px rgba(241,213,139,.15),0 18px 38px rgba(55,48,163,.13)}

  /* Citrus: bento identity across the top, provider tile and business facts
     below. */
  body.frontend-theme-citrus_vital .provider-showcase-stage{
    min-height:520px;
    grid-template-columns:minmax(0,1fr) 330px;
    grid-template-rows:auto 1fr;
    grid-template-areas:"copy emblem" "copy insights";
    border-radius:18px 52px 18px 52px;
  }
  body.frontend-theme-citrus_vital .provider-showcase-copy{grid-area:copy;border-radius:14px 42px 14px 42px;border-left:8px solid #bef264}
  body.frontend-theme-citrus_vital .provider-showcase-emblem{grid-area:emblem;min-height:172px;flex-direction:row;justify-content:flex-start;gap:20px;padding-inline:26px;border-radius:38px 12px 38px 12px;background:linear-gradient(145deg,#edf9d7,#fbfff6)}
  body.frontend-theme-citrus_vital .provider-showcase-insights{grid-area:insights;border-radius:12px 38px 12px 38px}
  body.frontend-theme-citrus_vital .provider-showcase-avatar{width:108px;height:108px;border-radius:28px 10px 28px 10px}
  body.frontend-theme-citrus_vital .provider-showcase-avatar--institution,
  body.frontend-theme-citrus_vital .provider-showcase-avatar--marketplace{border-radius:32px 10px 32px 10px}

  /* Botanical: a calm vertical identity sanctuary and an open editorial
     information column. */
  body.frontend-theme-botanical_serenity .provider-showcase-stage{
    min-height:520px;
    grid-template-columns:240px minmax(0,1fr);
    grid-template-rows:auto 1fr;
    grid-template-areas:"emblem copy" "emblem insights";
    border-radius:72px 24px 72px 24px;
  }
  body.frontend-theme-botanical_serenity .provider-showcase-emblem{grid-area:emblem;justify-content:flex-start;padding-top:54px;border-radius:58px 18px 58px 18px;background:linear-gradient(165deg,#e5efe1,#fbfcf7)}
  body.frontend-theme-botanical_serenity .provider-showcase-copy{grid-area:copy;border-radius:22px 50px 22px 50px}
  body.frontend-theme-botanical_serenity .provider-showcase-insights{grid-area:insights;display:grid;grid-template-columns:175px minmax(0,1fr) auto;align-items:center;gap:16px;border-radius:50px 18px 50px 18px}
  body.frontend-theme-botanical_serenity .provider-insights-heading{padding:0 16px 0 0;border-bottom:0;border-right:1px solid var(--provider-cover-line)}
  body.frontend-theme-botanical_serenity .provider-insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
  body.frontend-theme-botanical_serenity .provider-insight-grid>div{min-height:94px;border-radius:28px 10px 28px 10px}
  body.frontend-theme-botanical_serenity .provider-availability-signal{margin:0;padding:0;white-space:nowrap}
  body.frontend-theme-botanical_serenity .provider-showcase-stage::after{width:230px;height:360px;right:-92px;bottom:-120px;border-radius:70% 30% 60% 40%;transform:rotate(-24deg);box-shadow:0 0 0 36px rgba(107,143,113,.04)}

  /* Aether Glass — compact horizontal provider identity rail.
     This theme intentionally uses a much smaller silhouette than the other
     provider covers: one horizontal row, shared dimensions, role-specific
     accents only. */
  body.frontend-theme-aether_glass .provider-experience--doctor{
    --aether-ribbon:linear-gradient(90deg,#6d28d9,#8b5cf6 56%,#67e8f9);
    --aether-tint:rgba(241,236,255,.92);
    --aether-glow:rgba(124,58,237,.12);
    --aether-orbit:rgba(124,58,237,.16);
    --aether-role-radius:26px;
  }
  body.frontend-theme-aether_glass .provider-experience--laboratory{
    --aether-ribbon:linear-gradient(90deg,#4338ca,#0891b2 56%,#67e8f9);
    --aether-tint:rgba(232,249,255,.94);
    --aether-glow:rgba(6,182,212,.12);
    --aether-orbit:rgba(6,182,212,.16);
    --aether-role-radius:20px;
  }
  body.frontend-theme-aether_glass .provider-experience--hospital{
    --aether-ribbon:linear-gradient(90deg,#5b21b6,#7c3aed 48%,#38bdf8);
    --aether-tint:rgba(240,239,255,.94);
    --aether-glow:rgba(139,92,246,.12);
    --aether-orbit:rgba(139,92,246,.16);
    --aether-role-radius:30px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy{
    --aether-ribbon:linear-gradient(90deg,#6d28d9,#059669 55%,#67e8f9);
    --aether-tint:rgba(235,250,245,.94);
    --aether-glow:rgba(16,185,129,.11);
    --aether-orbit:rgba(16,185,129,.15);
    --aether-role-radius:18px;
  }
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace{
    --aether-ribbon:linear-gradient(90deg,#6d28d9,#d97706 55%,#67e8f9);
    --aether-tint:rgba(255,247,232,.94);
    --aether-glow:rgba(245,158,11,.11);
    --aether-orbit:rgba(245,158,11,.15);
    --aether-role-radius:22px;
  }
  body.frontend-theme-aether_glass .provider-showcase{padding-top:24px;padding-bottom:22px}
  body.frontend-theme-aether_glass .provider-showcase-stage{
    min-height:326px;
    grid-template-columns:164px minmax(0,1fr) 244px;
    grid-template-rows:1fr;
    grid-template-areas:"emblem copy insights";
    align-items:stretch;
    gap:12px;
    padding:14px;
    border-radius:28px;
    background:
      radial-gradient(circle at 7% 18%,var(--aether-glow,rgba(124,58,237,.12)),transparent 24%),
      radial-gradient(circle at 94% 86%,rgba(103,232,249,.12),transparent 22%),
      linear-gradient(135deg,rgba(255,255,255,.96),rgba(245,243,255,.90) 52%,rgba(235,249,255,.88));
    box-shadow:0 18px 52px rgba(76,29,149,.12),inset 0 1px 0 rgba(255,255,255,.86);
  }
  body.frontend-theme-aether_glass .provider-showcase-stage::before{
    background:var(--aether-ribbon,linear-gradient(90deg,#6d28d9,#8b5cf6,#67e8f9)) 0 0/100% 4px no-repeat;
    mix-blend-mode:normal;
    opacity:.96;
  }
  body.frontend-theme-aether_glass .provider-showcase-stage::after{
    width:176px;
    height:176px;
    right:-62px;
    bottom:-74px;
    border-color:var(--aether-orbit,rgba(124,58,237,.16));
    box-shadow:0 0 0 24px color-mix(in srgb,var(--aether-orbit,rgba(124,58,237,.16)) 24%,transparent),0 0 0 50px rgba(103,232,249,.025);
    opacity:.75;
  }
  body.frontend-theme-aether_glass .provider-showcase-emblem{
    grid-area:emblem;
    align-self:stretch;
    justify-content:center;
    gap:13px;
    min-height:0;
    padding:16px 10px;
    border-radius:var(--aether-role-radius,24px);
    background:linear-gradient(180deg,rgba(255,255,255,.92),var(--aether-tint,rgba(241,236,255,.92)));
    border-color:rgba(109,83,180,.15);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 10px 28px rgba(76,29,149,.07);
    backdrop-filter:blur(18px);
  }
  body.frontend-theme-aether_glass .provider-showcase-emblem::before{
    width:86px;
    height:86px;
    left:-35px;
    top:-35px;
    background:var(--aether-glow,rgba(124,58,237,.12));
  }
  body.frontend-theme-aether_glass .provider-showcase-emblem-glow{
    width:96px;
    height:96px;
    background:var(--aether-glow,rgba(124,58,237,.12));
    filter:blur(20px);
    opacity:.58;
  }
  body.frontend-theme-aether_glass .provider-showcase-avatar{
    width:88px;
    height:98px;
    border-radius:24px;
    box-shadow:0 0 0 6px rgba(255,255,255,.34),0 12px 28px rgba(76,29,149,.12);
  }
  body.frontend-theme-aether_glass .provider-showcase-avatar>span{font-size:1.85rem}
  body.frontend-theme-aether_glass .provider-showcase-avatar--institution,
  body.frontend-theme-aether_glass .provider-showcase-avatar--marketplace{
    width:92px;
    height:92px;
    border-radius:26px;
  }
  body.frontend-theme-aether_glass .provider-showcase-role{
    min-height:30px;
    padding:5px 9px;
    font-size:.61rem;
    letter-spacing:.06em;
  }
  body.frontend-theme-aether_glass .provider-showcase-copy{
    grid-area:copy;
    justify-content:center;
    align-self:stretch;
    padding:22px 26px;
    border-radius:24px;
    background:rgba(255,255,255,.83);
    border-color:rgba(109,83,180,.14);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 10px 30px rgba(76,29,149,.065);
    backdrop-filter:blur(18px) saturate(1.04);
  }
  body.frontend-theme-aether_glass .provider-trust-row{margin-bottom:10px}
  body.frontend-theme-aether_glass .provider-trust-row .portal-badge,
  body.frontend-theme-aether_glass .provider-trust-chip{min-height:25px;padding:4px 8px;font-size:.61rem}
  body.frontend-theme-aether_glass .provider-showcase-identity{gap:5px}
  body.frontend-theme-aether_glass .provider-showcase-identity .public-provider-name-en{
    max-width:760px;
    font-size:clamp(1.9rem,2.75vw,3.25rem);
    line-height:1;
    letter-spacing:-.052em;
  }
  body.frontend-theme-aether_glass .provider-showcase-identity .public-provider-name-ar{
    max-width:720px;
    font-size:clamp(1.15rem,1.65vw,1.72rem);
    line-height:1.42;
  }
  body.frontend-theme-aether_glass .provider-showcase-identity .public-provider-address{font-size:.76rem;line-height:1.45}
  body.frontend-theme-aether_glass .provider-showcase-qualifications{margin-top:7px;font-size:.76rem;line-height:1.4}
  body.frontend-theme-aether_glass .provider-showcase-summary,
  body.frontend-theme-aether_glass .provider-showcase-summary--local{
    margin-top:9px;
    font-size:.79rem;
    line-height:1.5;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:1;
    overflow:hidden;
  }
  body.frontend-theme-aether_glass .provider-showcase-tags{gap:6px;margin-top:11px}
  body.frontend-theme-aether_glass .provider-showcase-tags>span{min-height:27px;padding:5px 9px;font-size:.63rem}
  body.frontend-theme-aether_glass .provider-showcase-actions{gap:7px;margin-top:13px}
  body.frontend-theme-aether_glass .provider-showcase-actions .btn{min-height:38px;padding:8px 12px;border-radius:12px;font-size:.71rem}
  body.frontend-theme-aether_glass .provider-showcase-insights{
    grid-area:insights;
    align-self:stretch;
    padding:15px;
    border-radius:24px;
    background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(248,247,255,.68));
    border-color:rgba(109,83,180,.14);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 10px 28px rgba(76,29,149,.06);
    backdrop-filter:blur(18px) saturate(1.04);
  }
  body.frontend-theme-aether_glass .provider-insights-heading{padding-bottom:10px}
  body.frontend-theme-aether_glass .provider-insights-heading span{font-size:.64rem}
  body.frontend-theme-aether_glass .provider-insights-heading small{font-size:.59rem}
  body.frontend-theme-aether_glass .provider-insight-grid{gap:7px;margin-top:10px}
  body.frontend-theme-aether_glass .provider-insight-grid>div{min-height:74px;padding:9px;border-radius:13px}
  body.frontend-theme-aether_glass .provider-insight-icon{width:27px;height:27px;border-radius:8px}
  body.frontend-theme-aether_glass .provider-insight-grid strong{font-size:1.12rem}
  body.frontend-theme-aether_glass .provider-insight-grid small,
  body.frontend-theme-aether_glass .provider-insight-grid em{font-size:.56rem}
  body.frontend-theme-aether_glass .provider-availability-signal{font-size:.59rem;margin-top:8px;padding-top:8px}

  /* Kinetic: editorial identity and angled provider mark with a horizontal
     performance strip. */
  body.frontend-theme-kinetic_spectrum .provider-showcase-stage{
    min-height:0;
    grid-template-columns:minmax(0,1fr) 220px;
    grid-template-areas:"copy emblem" "insights insights";
    border-radius:16px;
    clip-path:polygon(1.2% 0,100% 0,98.8% 100%,0 100%);
  }
  body.frontend-theme-kinetic_spectrum .provider-showcase-copy{grid-area:copy;border-radius:4px;border-left:8px solid #ef3f78;clip-path:none}
  body.frontend-theme-kinetic_spectrum .provider-showcase-emblem{grid-area:emblem;border-radius:4px;background:linear-gradient(145deg,#fff0f5,#fff6e8);transform:skewX(-2deg)}
  body.frontend-theme-kinetic_spectrum .provider-showcase-emblem>*{transform:skewX(2deg)}
  body.frontend-theme-kinetic_spectrum .provider-showcase-insights{grid-area:insights;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:18px;border-radius:4px;clip-path:none}
  body.frontend-theme-kinetic_spectrum .provider-insights-heading{padding:0 18px 0 0;border-bottom:0;border-right:1px solid var(--provider-cover-line)}
  body.frontend-theme-kinetic_spectrum .provider-insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
  body.frontend-theme-kinetic_spectrum .provider-insight-grid>div{min-height:96px;border-radius:3px}
  body.frontend-theme-kinetic_spectrum .provider-availability-signal{margin:0;padding:0;white-space:nowrap}
}

/* Readable dark mode: richer atmosphere while every text-bearing surface
   remains clearly separated. */
html[data-theme="dark"] body[class*="frontend-theme-"]:not(.role-admin){
  --provider-cover-bg:linear-gradient(135deg,color-mix(in srgb,var(--surface) 94%,#172033 6%),color-mix(in srgb,var(--surface-2) 90%,var(--provider-accent) 10%));
  --provider-cover-art:radial-gradient(circle at 10% 14%,color-mix(in srgb,var(--provider-accent) 15%,transparent),transparent 26%),radial-gradient(circle at 90% 84%,color-mix(in srgb,var(--provider-highlight) 10%,transparent),transparent 28%);
  --provider-cover-panel:color-mix(in srgb,var(--surface) 94%,transparent);
  --provider-cover-panel-strong:color-mix(in srgb,var(--surface) 98%,var(--provider-accent) 2%);
  --provider-cover-panel-tint:color-mix(in srgb,var(--surface-2) 82%,var(--provider-accent) 18%);
  --provider-cover-border:color-mix(in srgb,var(--provider-accent) 28%,var(--border));
  --provider-cover-line:color-mix(in srgb,var(--provider-accent) 18%,var(--border));
  --provider-cover-shadow:0 28px 72px rgba(0,0,0,.30);
  --provider-cover-panel-shadow:0 16px 40px rgba(0,0,0,.22);
}
html[data-theme="dark"] .provider-showcase-emblem,
html[data-theme="dark"] .provider-showcase-copy,
html[data-theme="dark"] .provider-showcase-insights,
html[data-theme="dark"] .provider-insight-grid>div{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),var(--provider-cover-panel-shadow);
}
html[data-theme="dark"] .provider-showcase-avatar{
  background:linear-gradient(145deg,color-mix(in srgb,var(--surface-2) 92%,var(--provider-accent) 8%),var(--surface));
  color:var(--text);
  border-color:var(--provider-cover-border);
  box-shadow:0 16px 34px rgba(0,0,0,.24);
}
html[data-theme="dark"] .provider-showcase-role{
  background:color-mix(in srgb,var(--surface-2) 78%,var(--provider-accent) 22%);
  color:var(--text);
}
html[data-theme="dark"] .provider-showcase-actions .btn-outline,
html[data-theme="dark"] .provider-showcase-actions .btn-ghost{
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  color:var(--text);
}
html[data-theme="dark"] body[class*="frontend-theme-"]:not(.role-admin) .provider-showcase-emblem{
  background:var(--provider-cover-panel-tint);
}
html[data-theme="dark"] body[class*="frontend-theme-"]:not(.role-admin) .provider-showcase-copy{
  background:var(--provider-cover-panel-strong);
}
html[data-theme="dark"] body[class*="frontend-theme-"]:not(.role-admin) .provider-showcase-insights{
  background:var(--provider-cover-panel);
}
html[data-theme="dark"] body.frontend-theme-aether_glass .provider-showcase-emblem,
html[data-theme="dark"] body.frontend-theme-aether_glass .provider-showcase-copy,
html[data-theme="dark"] body.frontend-theme-aether_glass .provider-showcase-insights{
  background:color-mix(in srgb,var(--surface) 87%,transparent);
}
html[data-theme="dark"] body.frontend-theme-kinetic_spectrum .provider-showcase-emblem{
  background:color-mix(in srgb,var(--surface-2) 84%,#ef3f78 16%);
}

/* Shared tablet composition after the unique desktop canvases collapse. */
@media(min-width:901px) and (max-width:1180px){
  .provider-showcase-stage{
    min-height:0;
    grid-template-columns:170px minmax(0,1fr);
    grid-template-areas:"emblem copy" "insights insights";
    gap:16px;
    padding:18px;
    border-radius:28px!important;
    clip-path:none!important;
  }
  .provider-showcase-emblem{grid-area:emblem;border-radius:22px!important;transform:none!important}
  .provider-showcase-emblem>*{transform:none!important}
  .provider-showcase-copy{grid-area:copy;border-radius:22px!important;clip-path:none!important}
  .provider-showcase-insights{
    grid-area:insights;
    display:grid;
    grid-template-columns:190px minmax(0,1fr) auto;
    align-items:center;
    gap:16px;
    border-radius:22px!important;
    clip-path:none!important;
  }
  .provider-insights-heading{padding:0 16px 0 0;border-bottom:0;border-right:1px solid var(--provider-cover-line)}
  .provider-insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
  .provider-insight-grid>div{min-height:94px}
  .provider-availability-signal{margin:0;padding:0;white-space:nowrap}
}

@media(max-width:900px){
  body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link.active::after,
  body.guest-shell[class*="frontend-theme-"] .public-links .public-nav-link[aria-current="page"]::after{
    left:7px;
    top:50%;
    bottom:auto;
    width:3px;
    height:24px;
    transform:translateY(-50%);
  }
  .provider-showcase-stage{
    min-height:0;
    grid-template-columns:1fr;
    grid-template-areas:"emblem" "copy" "insights";
    gap:13px;
    padding:14px;
    border-radius:26px!important;
    clip-path:none!important;
  }
  .provider-showcase-emblem{
    grid-area:emblem;
    min-height:142px;
    flex-direction:row;
    justify-content:flex-start;
    gap:20px;
    padding:14px 18px;
    border-radius:20px!important;
    transform:none!important;
  }
  .provider-showcase-emblem>*{transform:none!important}
  .provider-showcase-copy{grid-area:copy;padding:28px;border-radius:20px!important;clip-path:none!important}
  .provider-showcase-insights{grid-area:insights;display:flex;padding:20px;border-radius:20px!important;clip-path:none!important}
  .provider-insights-heading{padding:0 0 15px;border-right:0;border-bottom:1px solid var(--provider-cover-line)}
  .provider-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:15px}
  .provider-availability-signal{margin-top:16px;padding-top:0}
}

@media(max-width:700px){
  .provider-showcase-stage{padding:12px}
  .provider-showcase-copy{padding:25px 21px}
  .provider-showcase-identity .public-provider-name-en{font-size:clamp(2rem,9.5vw,3.05rem)}
  .provider-showcase-identity .public-provider-name-ar{font-size:clamp(1.24rem,5.8vw,1.76rem)}
}

@media(max-width:520px){
  .provider-showcase-stage{padding:10px;border-radius:20px!important}
  .provider-showcase-emblem{min-height:118px;padding:10px 12px;border-radius:16px!important}
  .provider-showcase-avatar,
  .provider-showcase-avatar--institution,
  .provider-showcase-avatar--marketplace{width:86px;height:86px;border-radius:22px}
  .provider-showcase-avatar--institution,
  .provider-showcase-avatar--marketplace{border-radius:50%}
  .provider-showcase-copy{padding:22px 17px;border-radius:16px!important}
  .provider-showcase-insights{padding:17px;border-radius:16px!important}
}


/* Aether Glass overview dashboard
   Compact marketplace redesign for pharmacy profiles. The
   business story, contact details, and fulfilment terms now form one shorter
   balanced dashboard instead of a tall stacked information wall. */
@media(min-width:901px){
  body.frontend-theme-aether_glass .provider-content-section#overview{
    padding-top:38px;
    padding-bottom:44px;
  }
  body.frontend-theme-aether_glass .provider-content-section#overview .provider-section-heading{
    margin-bottom:16px;
  }
  body.frontend-theme-aether_glass .provider-content-section#overview .provider-section-heading h2{
    font-size:clamp(1.65rem,2.8vw,2.7rem);
  }
  body.frontend-theme-aether_glass .provider-overview-layout{
    grid-template-columns:minmax(0,1.48fr) minmax(310px,.64fr);
    gap:12px;
    align-items:stretch;
    padding:12px;
    border:1px solid rgba(109,83,180,.16);
    border-radius:30px;
    background:
      radial-gradient(circle at 4% 10%,rgba(124,58,237,.055),transparent 25%),
      radial-gradient(circle at 96% 90%,rgba(103,232,249,.075),transparent 26%),
      rgba(255,255,255,.34);
    box-shadow:0 16px 46px rgba(76,29,149,.075),inset 0 1px 0 rgba(255,255,255,.78);
    backdrop-filter:blur(18px) saturate(1.05);
    -webkit-backdrop-filter:blur(18px) saturate(1.05);
  }
  body.frontend-theme-aether_glass .provider-story-card{
    min-height:0;
    height:auto;
    justify-content:flex-start;
    padding:64px 28px 18px;
    border-radius:24px;
    border-color:rgba(109,83,180,.14);
    background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(247,245,255,.72));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 10px 28px rgba(76,29,149,.055);
  }
  body.frontend-theme-aether_glass .provider-story-card::before{
    width:178px;
    height:178px;
    right:-64px;
    top:-88px;
    background:rgba(124,58,237,.07);
    box-shadow:0 0 0 28px rgba(103,232,249,.028);
  }
  body.frontend-theme-aether_glass .provider-story-card::after{
    top:16px;
    bottom:16px;
    width:3px;
    border-radius:999px;
    background:linear-gradient(180deg,#7c3aed,#67e8f9);
  }
  body.frontend-theme-aether_glass .provider-story-card>.provider-card-icon{
    top:18px;
    left:22px;
    width:38px;
    height:38px;
    border-radius:11px;
  }
  body.frontend-theme-aether_glass .provider-story-card>.provider-card-icon svg{
    width:17px;
    height:17px;
  }
  body.frontend-theme-aether_glass .provider-story-card .provider-card-index{
    top:18px;
    right:20px;
    font-size:.62rem;
  }
  body.frontend-theme-aether_glass .provider-story-card .provider-card-eyebrow{
    margin-bottom:6px;
    font-size:.60rem;
  }
  body.frontend-theme-aether_glass .provider-story-card h3{
    max-width:700px;
    font-size:clamp(1.36rem,2.08vw,1.92rem);
    line-height:1.08;
  }
  body.frontend-theme-aether_glass .provider-story-copy{
    max-width:760px;
    margin-top:10px;
    font-size:.84rem;
    line-height:1.56;
  }
  body.frontend-theme-aether_glass .provider-story-signature{
    margin-top:12px;
    padding-top:10px;
  }
  body.frontend-theme-aether_glass .provider-local-language-copy{
    margin-top:11px;
    padding:10px 12px;
    border-radius:13px;
    background:rgba(247,245,255,.58);
  }
  body.frontend-theme-aether_glass .provider-local-language-copy span{
    font-size:.66rem;
  }
  body.frontend-theme-aether_glass .provider-local-language-copy p{
    margin-top:4px;
    font-size:.80rem;
    line-height:1.6;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-content-section#overview,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-content-section#overview{
    padding-top:28px;
    padding-bottom:32px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-content-section#overview .provider-section-heading,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-content-section#overview .provider-section-heading{
    margin-bottom:12px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-overview-layout,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-overview-layout{
    align-items:stretch;
    grid-template-columns:minmax(0,1.32fr) minmax(330px,.72fr);
    gap:10px;
    padding:10px;
    border-radius:24px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card{
    align-self:stretch;
    min-height:0;
    height:100%;
    padding:52px 22px 14px;
    border-radius:19px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card::before,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card::before{
    width:126px;
    height:126px;
    right:-48px;
    top:-68px;
    box-shadow:0 0 0 22px rgba(103,232,249,.024);
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card::after,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card::after{
    top:12px;
    bottom:12px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card>.provider-card-icon,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card>.provider-card-icon{
    top:14px;
    left:16px;
    width:32px;
    height:32px;
    border-radius:10px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card>.provider-card-icon svg,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card>.provider-card-icon svg{
    width:15px;
    height:15px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card .provider-card-index,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card .provider-card-index{
    top:14px;
    right:16px;
    font-size:.57rem;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card .provider-card-eyebrow,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card .provider-card-eyebrow{
    margin-bottom:5px;
    font-size:.57rem;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-card h3,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-card h3{
    max-width:610px;
    font-size:clamp(1.16rem,1.7vw,1.58rem);
    line-height:1.10;
    letter-spacing:-.035em;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-story-copy,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-story-copy{
    max-width:700px;
    margin-top:7px;
    font-size:.78rem;
    line-height:1.48;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-local-language-copy,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-local-language-copy{
    margin-top:8px;
    padding:8px 10px;
    border-radius:11px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-local-language-copy span,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-local-language-copy span{
    font-size:.60rem;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-local-language-copy p,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-local-language-copy p{
    margin-top:3px;
    font-size:.74rem;
    line-height:1.48;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-fact-stack,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-fact-stack{
    gap:8px;
    height:auto;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card{
    padding:13px 14px;
    border-radius:18px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card-heading,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card-heading{
    gap:8px;
    margin-bottom:7px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card-heading .provider-card-icon,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card-heading .provider-card-icon{
    width:32px;
    height:32px;
    flex-basis:32px;
    border-radius:9px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card-heading .provider-card-icon svg,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card-heading .provider-card-icon svg{
    width:15px;
    height:15px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card-heading small,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card-heading small{
    font-size:.51rem;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card-heading h3,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card-heading h3{
    font-size:.82rem;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-fact-list,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-fact-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:12px;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-fact-list>div,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-fact-list>div{
    padding:5px 0;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card--contact .provider-fact-list>div:nth-child(3),
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card--contact .provider-fact-list>div:nth-child(3),
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card--contact .provider-fact-list>div[dir="rtl"],
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card--contact .provider-fact-list>div[dir="rtl"],
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-info-card--capacity .provider-fact-list>div:nth-child(4),
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-info-card--capacity .provider-fact-list>div:nth-child(4){
    grid-column:1/-1;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-fact-list dt,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-fact-list dt{
    font-size:.49rem;
  }
  body.frontend-theme-aether_glass .provider-experience--pharmacy .provider-fact-list dd,
  body.frontend-theme-aether_glass .provider-experience--legacy-marketplace .provider-fact-list dd{
    font-size:.68rem;
    line-height:1.34;
  }
  body.frontend-theme-aether_glass .provider-fact-stack{
    gap:10px;
    height:100%;
    align-content:start;
  }
  body.frontend-theme-aether_glass .provider-info-card{
    padding:17px;
    border-radius:22px;
    border-color:rgba(109,83,180,.14);
    background:linear-gradient(155deg,rgba(255,255,255,.80),rgba(244,247,255,.66));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 9px 26px rgba(76,29,149,.05);
  }
  body.frontend-theme-aether_glass .provider-info-card-heading{
    gap:10px;
    margin-bottom:10px;
  }
  body.frontend-theme-aether_glass .provider-info-card-heading .provider-card-icon{
    width:37px;
    height:37px;
    flex-basis:37px;
    border-radius:11px;
  }
  body.frontend-theme-aether_glass .provider-info-card-heading .provider-card-icon svg{
    width:17px;
    height:17px;
  }
  body.frontend-theme-aether_glass .provider-info-card-heading small{
    font-size:.56rem;
  }
  body.frontend-theme-aether_glass .provider-info-card-heading h3{
    font-size:.92rem;
  }
  body.frontend-theme-aether_glass .provider-fact-list>div{
    gap:3px;
    padding:8px 0;
  }
  body.frontend-theme-aether_glass .provider-fact-list dt{
    font-size:.55rem;
  }
  body.frontend-theme-aether_glass .provider-fact-list dd{
    font-size:.74rem;
    line-height:1.42;
  }
  body.frontend-theme-aether_glass .provider-experience--doctor .provider-info-card--contact .provider-fact-list,
  body.frontend-theme-aether_glass .provider-experience--laboratory .provider-info-card--contact .provider-fact-list,
  body.frontend-theme-aether_glass .provider-experience--hospital .provider-info-card--contact .provider-fact-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:14px;
  }
  body.frontend-theme-aether_glass .provider-experience--doctor .provider-info-card--contact .provider-fact-list>div:first-child,
  body.frontend-theme-aether_glass .provider-experience--laboratory .provider-info-card--contact .provider-fact-list>div:first-child,
  body.frontend-theme-aether_glass .provider-experience--hospital .provider-info-card--contact .provider-fact-list>div:first-child,
  body.frontend-theme-aether_glass .provider-info-card--contact .provider-fact-list>div[dir="rtl"]{
    grid-column:1/-1;
  }
  body.frontend-theme-aether_glass .provider-mini-metrics{
    gap:7px;
  }
  body.frontend-theme-aether_glass .provider-mini-metrics>div{
    min-height:72px;
    padding:9px;
    border-radius:12px;
    background:rgba(245,244,255,.58);
  }
  body.frontend-theme-aether_glass .provider-mini-metrics strong{
    font-size:1.12rem;
  }
  body.frontend-theme-aether_glass .provider-mini-metrics span{
    font-size:.56rem;
  }
  body.frontend-theme-aether_glass .provider-specialty-cloud{
    gap:6px;
  }
  body.frontend-theme-aether_glass .provider-specialty-cloud span{
    padding:6px 8px;
    border-radius:9px;
    font-size:.62rem;
  }
}

@media(max-width:900px){
  body.frontend-theme-aether_glass .provider-content-section#overview{
    padding-top:34px;
    padding-bottom:38px;
  }
  body.frontend-theme-aether_glass .provider-overview-layout{
    gap:10px;
    padding:10px;
    border:1px solid rgba(109,83,180,.14);
    border-radius:24px;
    background:rgba(255,255,255,.30);
  }
  body.frontend-theme-aether_glass .provider-story-card{
    min-height:0;
    justify-content:flex-start;
    padding:72px 22px 22px;
    border-radius:20px;
  }
  body.frontend-theme-aether_glass .provider-story-card>.provider-card-icon{
    top:18px;
    left:20px;
    width:39px;
    height:39px;
    border-radius:11px;
  }
  body.frontend-theme-aether_glass .provider-story-card .provider-card-index{
    top:20px;
    right:20px;
  }
  body.frontend-theme-aether_glass .provider-story-card h3{
    font-size:clamp(1.45rem,5.2vw,2.05rem);
  }
  body.frontend-theme-aether_glass .provider-story-copy{
    margin-top:12px;
    font-size:.86rem;
    line-height:1.62;
  }
  body.frontend-theme-aether_glass .provider-local-language-copy{
    margin-top:13px;
    padding:12px 13px;
  }
  body.frontend-theme-aether_glass .provider-fact-stack{
    gap:10px;
    height:100%;
    align-content:start;
  }
  body.frontend-theme-aether_glass .provider-info-card{
    padding:16px;
    border-radius:20px;
  }
  body.frontend-theme-aether_glass .provider-mini-metrics>div{
    min-height:70px;
  }
}

/* Pharmacy product catalogue workspace: responsive cards + approval-aware editor */
.pharmacy-catalogue-workspace{overflow:hidden}
.pharmacy-catalogue-header{align-items:flex-start;gap:22px}
.pharmacy-catalogue-header>div:first-child{min-width:0;max-width:760px}
.pharmacy-catalogue-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.pharmacy-catalogue-summary>span{display:grid;gap:2px;min-width:116px;padding:10px 14px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2);text-align:center}
.pharmacy-catalogue-summary strong{font-size:1.05rem;color:var(--text)}
.pharmacy-catalogue-summary small{color:var(--muted)}
.pharmacy-product-create{margin:0 20px 20px;border:1px solid color-mix(in srgb,var(--primary) 24%,var(--border));border-radius:20px;background:color-mix(in srgb,var(--surface-2) 88%,var(--primary-soft) 12%);overflow:hidden}
.pharmacy-product-create>summary,.pharmacy-product-edit>summary{list-style:none;cursor:pointer}
.pharmacy-product-create>summary::-webkit-details-marker,.pharmacy-product-edit>summary::-webkit-details-marker{display:none}
.pharmacy-product-create>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 18px}
.pharmacy-product-create>summary>span{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;min-width:0}
.pharmacy-product-create>summary svg{grid-row:1/3;width:22px;height:22px;color:var(--primary)}
.pharmacy-product-create>summary strong{font-size:.96rem;color:var(--text)}
.pharmacy-product-create>summary small{color:var(--muted)}
.pharmacy-product-create>summary>b{font-size:.72rem;color:var(--primary);white-space:nowrap}
.pharmacy-product-create[open]>summary{border-bottom:1px solid var(--border)}
.pharmacy-product-create-body,.pharmacy-product-edit-body{padding:18px}
.pharmacy-product-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 20px 20px}
.pharmacy-product-workspace-card{min-width:0;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}
.pharmacy-product-workspace-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,color-mix(in srgb,var(--surface-2) 92%,var(--primary-soft) 8%),var(--surface))}
.pharmacy-product-workspace-identity{display:flex;gap:12px;min-width:0}
.pharmacy-product-workspace-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid color-mix(in srgb,var(--primary) 24%,var(--border));border-radius:14px;background:var(--primary-soft);color:var(--primary)}
.pharmacy-product-workspace-icon svg{width:22px;height:22px}
.pharmacy-product-workspace-identity>div{min-width:0}
.pharmacy-product-workspace-identity small,.pharmacy-product-workspace-identity p{color:var(--muted)}
.pharmacy-product-workspace-identity h3{margin:2px 0 3px;font-size:1rem;overflow-wrap:anywhere}
.pharmacy-product-workspace-identity p{margin:0;font-size:.76rem;overflow-wrap:anywhere}
.pharmacy-product-workspace-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border)}
.pharmacy-product-workspace-facts>span{display:grid;gap:4px;padding:12px;background:var(--surface)}
.pharmacy-product-workspace-facts small{font-size:.64rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}
.pharmacy-product-workspace-facts strong{font-size:.8rem;overflow-wrap:anywhere}
.pharmacy-product-review-message{display:grid;gap:3px;margin:14px 16px 0;padding:11px 13px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}
.pharmacy-product-review-message strong{font-size:.78rem}
.pharmacy-product-review-message span{font-size:.72rem;color:var(--muted);line-height:1.5}
.pharmacy-product-review-message.is-pending{border-color:color-mix(in srgb,var(--warning,#b7791f) 32%,var(--border))}
.pharmacy-product-review-message.is-rejected{border-color:color-mix(in srgb,var(--danger,#b42318) 32%,var(--border))}
.pharmacy-product-edit{margin:14px 16px 16px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2);overflow:hidden}
.pharmacy-product-edit>summary{display:grid;gap:2px;padding:12px 14px}
.pharmacy-product-edit>summary span{font-weight:800;color:var(--text)}
.pharmacy-product-edit>summary small{color:var(--muted)}
.pharmacy-product-edit[open]>summary{border-bottom:1px solid var(--border);background:var(--surface)}
.pharmacy-product-editor{display:grid;gap:16px}
.pharmacy-product-editor-section{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.pharmacy-product-editor-section--review{border-color:color-mix(in srgb,var(--warning,#b7791f) 24%,var(--border))}
.pharmacy-product-editor-section--live{border-color:color-mix(in srgb,var(--success,#16794d) 24%,var(--border))}
.pharmacy-product-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pharmacy-product-editor-heading h4{margin:2px 0 0;font-size:.9rem}
.pharmacy-product-editor-note{margin:0;color:var(--muted);font-size:.76rem;line-height:1.55}
.pharmacy-product-editor .form-grid{gap:12px}
.pharmacy-product-editor-actions{padding-top:0}
.pharmacy-product-remove{display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.pharmacy-product-empty{grid-column:1/-1}
@media(max-width:1050px){.pharmacy-product-workspace-grid{grid-template-columns:1fr}.pharmacy-product-workspace-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.pharmacy-catalogue-header{display:grid}.pharmacy-catalogue-summary{justify-content:stretch}.pharmacy-catalogue-summary>span{flex:1}.pharmacy-product-create,.pharmacy-product-workspace-grid{margin-left:12px;margin-right:12px;padding-left:0;padding-right:0}.pharmacy-product-workspace-grid{padding-bottom:14px}.pharmacy-product-create{margin-bottom:14px}.pharmacy-product-workspace-card>header{display:grid}.pharmacy-product-workspace-facts{grid-template-columns:1fr 1fr}.pharmacy-product-editor-heading{display:grid}.pharmacy-product-create>summary{align-items:flex-start}.pharmacy-product-create>summary>b{display:none}}
