/* Shared screen-only theme. No viewer canvases or printable report surfaces. */
@media screen {
body.arkhe-cloud-theme:not(.embedded){
 --cloud-page:url('/static/home-clouds.svg?v=20261005-cloud-clusters');
 background-color:#f5faf7;
 background-image:var(--cloud-page);
 background-size:100% auto;background-repeat:no-repeat;background-position:center top;background-attachment:scroll;
}
body.arkhe-cloud-theme[data-cloud-tone="blue"]{--cloud-page:url('/static/clouds-blue.svg?v=20261005-cloud-clusters');}
body.arkhe-cloud-theme[data-cloud-tone="mint"]{--cloud-page:url('/static/clouds-mint.svg?v=20261005-cloud-clusters');}
body.arkhe-cloud-theme[data-cloud-tone="rose"]{--cloud-page:url('/static/clouds-rose.svg?v=20261005-cloud-clusters');}
body.arkhe-cloud-theme:not(.embedded) :is(.layout > main, .layout > aside, #painel, #painel-lateral){
 background-image:var(--cloud-page);background-size:100% auto;background-repeat:no-repeat;background-color:#f5faf7;background-attachment:scroll;
}
body.arkhe-cloud-theme:not(.embedded) > aside {
 background-color:#e0eff2;background-image:url('/static/home-sidebar-clouds.svg?v=20261005-sidebar-depth');
 background-size:100% 100%;background-position:38% top;border-right-color:#cbdde5;
}
body.arkhe-cloud-theme:not(.embedded) :is(button,.button,.btn):not(:is(.info-button,.control-help,.info,.help-icon,.patient,[data-arkhe-info],:disabled)){
 transition:box-shadow .2s ease,transform .2s ease,background-color .2s ease,border-color .2s ease;
 box-shadow:inset 0 1px 0 #ffffff40,0 3px 12px #7950b31b;
}
body.arkhe-cloud-theme:not(.embedded) :is(button,.button,.btn):is(.secondary,.light,.sec):not(:is(.active,.selected,[aria-pressed="true"],.arkhe-trash,.arkhe-restore,.arkhe-archive,.arkhe-back)) {
 background:linear-gradient(135deg,#ffffffa4,#ede4f694);color:#62418a;
 border:1px solid #cdbbdd;box-shadow:inset 0 1px 0 #fff,0 3px 12px #73559412;
 -webkit-backdrop-filter:blur(3px) saturate(125%);backdrop-filter:blur(3px) saturate(125%);
}
body.arkhe-cloud-theme :is(button.primario,button.primary,.button.primary,.btn-primary,button[type="submit"]):not(:disabled){
 box-shadow:inset 0 1px 0 #ffffff40,0 5px 14px #7950b338,0 0 24px #a07ac435;
}
body.arkhe-cloud-theme > aside .nav {
 border:1px solid #ffffff80;background:linear-gradient(125deg,#ffffff61,#ffffff21);
 box-shadow:inset 0 1px 0 #ffffffa0,0 3px 12px #507c8d09;
 -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
 transition:background-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
body.arkhe-cloud-theme > aside .nav.active {
 background:linear-gradient(125deg,#eee3f7e8,#e7d7f3bf);border-color:#cbb7df;color:#614086;
 box-shadow:inset 0 1px 0 #ffffffcc,0 0 18px #9670ba26;
}
@media(hover:hover) and (pointer:fine){
 body.arkhe-cloud-theme:not(.embedded) :is(button,.button,.btn):not(:is(.info-button,.control-help,.info,.help-icon,.patient,[data-arkhe-info],:disabled)):hover {
  transform:translateY(-2px);box-shadow:inset 0 1px 0 #ffffff70,0 6px 18px #7950b335,0 0 20px #a07ac42b;
 }
 body.arkhe-cloud-theme > aside .nav:hover{transform:translateX(3px);box-shadow:inset 0 1px 0 #fff,0 5px 18px #7950b32c;}
}
body.arkhe-cloud-theme :is(button,.button,.btn):active{transform:none;}
body.arkhe-cloud-theme :is(button,.button,.btn,.nav):focus-visible{outline:2px solid #684493;outline-offset:3px;}
/* Compact only ordinary page containers, not full-height 3D tool layouts. */
body.arkhe-cloud-theme > main{padding-top:4px;}
@media(prefers-reduced-motion:reduce){
 body.arkhe-cloud-theme :is(button,.button,.btn,.nav){transition:none!important;transform:none!important;}
}
}

@media screen {
/* Contrast tokens are local to the controls, never to the 3D scene. */
body.arkhe-cloud-theme.clinical-tool #painel {
 --texto:#303347;--suave:#716980;--borda:#d9cfe5;--ativo:#7950b3;--ok:#277357;--erro:#b13750;
 color:var(--texto);
}
body.arkhe-cloud-theme.clinical-tool #painel button {
 background:linear-gradient(135deg,#ffffffdc,#eee5f7ce);color:#62418a;border-color:#cdbbdd;
}
body.arkhe-cloud-theme.clinical-tool #painel button.primario {
 background:linear-gradient(135deg,#8055b6,#6a419f);color:#fff;
}
body.arkhe-cloud-theme.clinical-tool #painel .item:hover {background:#ffffffa0;}
body.arkhe-cloud-theme.clinical-tool #painel .item.ativo {background:#eadcf5;border-color:#aa8ac7;}
}

@media screen {
body.arkhe-cloud-theme:not(.embedded) .arkhe-chrome {
 background:linear-gradient(120deg,rgba(255,255,255,.70),rgba(255,255,255,.44));
 border:1px solid rgba(255,255,255,.72);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 4px 18px rgba(94,67,122,.07);
 -webkit-backdrop-filter:blur(3px) saturate(120%);
 backdrop-filter:blur(3px) saturate(120%);
}
body.arkhe-cloud-theme main > .topline.arkhe-chrome {border-radius:12px;}
@supports not (backdrop-filter:blur(1px)) {
 body.arkhe-cloud-theme:not(.embedded) .arkhe-chrome{background:rgba(249,246,252,.9);}
}
}

@media screen {
body.arkhe-cloud-theme[data-arkhe-section^="ÓRTESE"] > main > aside {
 background:#e0eff2 url('/static/home-sidebar-clouds.svg?v=20261005-sidebar-depth') center top / 100% 100% scroll;
}
}

@media screen {
body.arkhe-cloud-theme header.arkhe-aligned-header {
 width:var(--header-content-width);max-width:100%;margin-inline:auto;
 padding-left:var(--header-gutter-left);padding-right:var(--header-gutter-right);
 border-radius:12px;
}
body.arkhe-cloud-theme :is(header.arkhe-chrome,.topline.arkhe-chrome,.profile-heading.arkhe-chrome) {
 box-sizing:border-box;min-width:0;max-width:100%;height:auto;flex-wrap:wrap;
}
body.arkhe-cloud-theme .arkhe-heading-row {min-width:0;max-width:100%;}
body.arkhe-cloud-theme .arkhe-heading-text {min-width:0;overflow-wrap:anywhere;}
body.arkhe-cloud-theme .arkhe-chrome > :is(.actions,.dono,.badge) {max-width:100%;overflow-wrap:anywhere;}
@media(max-width:600px){
 body.arkhe-cloud-theme .arkhe-heading-row {flex-wrap:wrap;gap:10px;}
 body.arkhe-cloud-theme header.arkhe-chrome > .actions {margin-left:0;flex-wrap:wrap;}
 body.arkhe-cloud-theme header.arkhe-chrome .dono {text-align:left;}
}
}

@media screen {
body.arkhe-cloud-theme .lista-pac .pac {
 background:linear-gradient(120deg,rgba(255,255,255,.46),rgba(255,255,255,.22));
 -webkit-backdrop-filter:blur(3px) saturate(115%);
 backdrop-filter:blur(3px) saturate(115%);
}
@supports not (backdrop-filter:blur(1px)) {
 body.arkhe-cloud-theme .lista-pac .pac {background:rgba(249,246,252,.9);}
}
}

@media screen {
body.arkhe-cloud-theme .lista-pac .pac {
 position:relative;isolation:isolate;
}
body.arkhe-cloud-theme .lista-pac .pac::before {
 content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
 background:radial-gradient(ellipse at 22% 0%,rgba(255,255,255,.78),rgba(255,255,255,.24) 42%,transparent 75%);
 opacity:0;transition:opacity .28s ease;
}
@media(hover:hover) and (pointer:fine){
 body.arkhe-cloud-theme .lista-pac .pac:hover::before {opacity:1;}
}
body.arkhe-cloud-theme .lista-pac .pac:focus-visible::before {opacity:1;}
@media(prefers-reduced-motion:reduce){
 body.arkhe-cloud-theme .lista-pac .pac::before {transition:none;}
}
}

/* Vidro nos destaques de medidas do prontuário. */
@media screen {
 body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card) {
  position:relative;isolation:isolate;
  background:linear-gradient(125deg,rgba(255,255,255,.46),rgba(255,255,255,.18));
  border-color:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(3px) saturate(115%);
  backdrop-filter:blur(3px) saturate(115%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 4px 18px rgba(94,67,122,.06);
  transition:box-shadow .28s ease,border-color .28s ease;
 }
 body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card)::before {
  content:'';position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 22% 0%,rgba(255,255,255,.82),rgba(255,255,255,.24) 42%,transparent 75%);
  opacity:0;transition:opacity .28s ease;
 }
 @media(hover:hover) and (pointer:fine){
  body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card):hover {border-color:rgba(255,255,255,.96);box-shadow:inset 0 1px 0 white,0 6px 22px rgba(121,80,179,.13);}
  body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card):hover::before {opacity:1;}
 }
 @media(prefers-reduced-motion:reduce){
  body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card),body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card)::before {transition:none;}
 }
 @supports not (backdrop-filter:blur(1px)) {
  body.arkhe-cloud-theme :is(#cards > .card,.dashboard-stats .card) {background:rgba(249,246,252,.9);}
 }
}

/* Vidro nos indicadores, molduras da visão geral e navegação inicial; texto permanece nítido. */
@media screen {
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) {
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.025) 52%,rgba(255,255,255,.075));
  border:1px solid rgba(255,255,255,.62);
  -webkit-backdrop-filter:var(--arkhe-liquid-refraction,blur(1.5px)) saturate(130%);
  backdrop-filter:var(--arkhe-liquid-refraction,blur(1.5px)) saturate(130%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.96),inset 2px 2px 3px rgba(255,255,255,.22),inset -1px -2px 3px rgba(105,78,136,.12),0 5px 16px rgba(91,67,123,.09);
 }
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav)::before {
  content:'';position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;opacity:1;
  background:radial-gradient(ellipse at 12% -75%,rgba(255,255,255,.58),rgba(255,255,255,.045) 54%,transparent 72%);
 }
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav)::after {
  content:'';position:absolute;inset:1px;border-radius:inherit;pointer-events:none;z-index:-1;
  border:1px solid transparent;
  border-top-color:rgba(255,255,255,.5);border-left-color:rgba(255,255,255,.28);
  border-bottom-color:rgba(255,255,255,.23);
  box-shadow:inset 0 0 3px rgba(255,255,255,.24);
  background:radial-gradient(ellipse at 95% 160%,rgba(255,255,255,.28),transparent 58%);
 }
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) small {color:#6e627e}
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) .liquid-glass-rim {
  position:absolute;inset:0;padding:1.5px;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .45s ease;
  background:radial-gradient(ellipse var(--arkhe-glass-rim-width,150px) var(--arkhe-glass-rim-height,80px) at var(--arkhe-glass-x,50%) var(--arkhe-glass-y,50%),rgba(255,255,255,.95),rgba(255,255,255,.2) 52%,transparent 80%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
 }
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) .liquid-glass-sheen {
  position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:0;transition:opacity .45s ease;
  filter:blur(2px);
  background:radial-gradient(circle var(--arkhe-glass-sheen-radius,45px) at var(--arkhe-glass-x,50%) var(--arkhe-glass-y,50%),transparent 50%,rgba(255,255,255,.045) 63%,rgba(255,255,255,var(--arkhe-glass-sheen-alpha,.18)) 73%,rgba(255,255,255,.08) 83%,transparent 95%);
  -webkit-mask-image:conic-gradient(from 0deg at var(--arkhe-glass-x,50%) var(--arkhe-glass-y,50%),transparent 0deg 15deg,rgba(0,0,0,.08) 25deg,rgba(0,0,0,.5) 40deg,#000 60deg 120deg,rgba(0,0,0,.5) 145deg,rgba(0,0,0,.08) 160deg,transparent 175deg 225deg,rgba(0,0,0,.08) 235deg,rgba(0,0,0,.5) 248deg,#000 262deg 278deg,rgba(0,0,0,.5) 292deg,rgba(0,0,0,.08) 305deg,transparent 315deg 360deg);
  mask-image:conic-gradient(from 0deg at var(--arkhe-glass-x,50%) var(--arkhe-glass-y,50%),transparent 0deg 15deg,rgba(0,0,0,.08) 25deg,rgba(0,0,0,.5) 40deg,#000 60deg 120deg,rgba(0,0,0,.5) 145deg,rgba(0,0,0,.08) 160deg,transparent 175deg 225deg,rgba(0,0,0,.08) 235deg,rgba(0,0,0,.5) 248deg,#000 262deg 278deg,rgba(0,0,0,.5) 292deg,rgba(0,0,0,.08) 305deg,transparent 315deg 360deg);
 }
 body.arkhe-cloud-theme #home :is(.dashboard-grid > .panel){
  --arkhe-glass-sheen-radius:55px;--arkhe-glass-sheen-alpha:.22;
  --arkhe-glass-rim-width:240px;--arkhe-glass-rim-height:150px;
 }
 body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav).liquid-glass-active :is(.liquid-glass-rim,.liquid-glass-sheen){opacity:1}
 body.arkhe-cloud-theme:has(#home) > aside .nav.active{border-color:#b29acb;color:#614086;font-weight:600}
 body.arkhe-cloud-theme:has(#home) > aside .nav:hover{transform:none}
 @media(hover:hover) and (pointer:fine){
  body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav):hover {
   border-color:rgba(255,255,255,.96);
   box-shadow:inset 0 1px 1px white,inset 1px 0 1px rgba(255,255,255,.7),inset 0 -1px 1px rgba(113,87,145,.16),0 5px 18px rgba(91,67,123,.12);
  }
 }
 @supports not (backdrop-filter:blur(1px)) {
  body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) {background:rgba(249,246,252,.92)}
 }
 @media(prefers-reduced-transparency:reduce){
  body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) {background:#f8f4fc;-webkit-backdrop-filter:none;backdrop-filter:none}
 }
 @media(prefers-reduced-motion:reduce){
  body.arkhe-cloud-theme :is(#login-glass-card,#cards > .card,#overview-stats > .card,#home .dashboard-grid > .panel,body:has(#home) > aside .nav) :is(.liquid-glass-rim,.liquid-glass-sheen){display:none}
 }
}

/* Teste de nuvens em camadas na área principal da página inicial. */
@media screen {
 body.arkhe-cloud-theme:has(#home:not(.hidden)) {
  background-image:url('/static/home-cloud-layers.svg?v=20261005-cloud-clusters');
  background-size:100% auto;background-repeat:no-repeat;background-position:center top;background-color:#f5faf7;
  background-attachment:scroll;
 }
}

@media screen {
 .arkhe-light-host{isolation:isolate;}
 .arkhe-light-positioned{position:relative;}
 .glass-light-trail{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:-1;}
 .glass-light-glow{position:absolute;width:140px;height:140px;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,rgba(255,255,255,.65) 0%,rgba(255,255,255,.32) 24%,rgba(245,237,255,.12) 46%,transparent 70%);animation:glass-light-fade .8s ease-out forwards;}
 @keyframes glass-light-fade{from{opacity:.6;transform:translate(-50%,-50%) rotate(var(--trail-angle,0rad)) scale(.75)}to{opacity:0;transform:translate(-50%,-50%) rotate(var(--trail-angle,0rad)) scale(1.2)}}
 @media(prefers-reduced-motion:reduce){.glass-light-trail{display:none}}
}

@media screen {
 body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card) {
  position:relative;isolation:isolate;
  background:linear-gradient(125deg,rgba(255,255,255,.46),rgba(255,255,255,.18));
  border:1px solid rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(3px) saturate(115%);
  backdrop-filter:blur(3px) saturate(115%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 4px 18px rgba(94,67,122,.06);
 }
 @supports not (backdrop-filter:blur(1px)) {
  body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card) {background:rgba(249,246,252,.9);}
 }
}

/* A soft whole-panel reflection complements the pointer trail. */
@media screen {
 body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card) {
  transition:box-shadow .28s ease,border-color .28s ease;
 }
 body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card)::before {
  content:'';position:absolute;inset:0;border-radius:inherit;
  z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 25% 0%,rgba(255,255,255,.60),rgba(255,255,255,.16) 48%,transparent 85%);
  opacity:0;transition:opacity .28s ease;
 }
 @media(hover:hover) and (pointer:fine){
  body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card):hover::before {opacity:1;}
  body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card):hover {
   border-color:rgba(255,255,255,.96);
   box-shadow:inset 0 1px 0 white,0 6px 24px rgba(121,80,179,.13),0 0 18px rgba(255,255,255,.15);
  }
 }
 body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card):focus-within::before {opacity:1;}
 @media(prefers-reduced-motion:reduce){
  body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card),body.arkhe-cloud-theme :is(#home .panel, #evolution > .panel, .access-card)::before {transition:none;}
 }
}

/* Full frosted sidebar only in the standalone 3D comparator. */
@media screen {
 body.arkhe-cloud-theme.comparison-glass-sidebar > aside {
  isolation:isolate;
  background-image:linear-gradient(125deg,rgba(255,255,255,.46),rgba(255,255,255,.18)),url('/static/comparison-sidebar-frosted.svg?v=20261005-blur8');
  -webkit-backdrop-filter:blur(3px) saturate(115%);
  backdrop-filter:blur(3px) saturate(115%);
  border-right:1px solid rgba(255,255,255,.72);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4),inset 0 1px 0 rgba(255,255,255,.8);
  transition:box-shadow .28s ease;
 }
 @media(hover:hover) and (pointer:fine){
  body.arkhe-cloud-theme.comparison-glass-sidebar > aside:hover {
   box-shadow:inset 0 0 70px rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.8);
  }
 }
 @media(prefers-reduced-motion:reduce){
  body.arkhe-cloud-theme.comparison-glass-sidebar > aside{transition:none;}
 }
}

@media screen {
 body.arkhe-cloud-theme.planning-glass-sidebar .layout > aside.tool-dock {
  position:relative;isolation:isolate;
  background-image:linear-gradient(125deg,rgba(255,255,255,.46),rgba(255,255,255,.18)),url('/static/planning-sidebar-frosted.svg?v=20261005-blur12')!important;
  -webkit-backdrop-filter:blur(3px) saturate(115%);backdrop-filter:blur(3px) saturate(115%);
  border-right:1px solid rgba(255,255,255,.72);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4),inset 0 1px 0 rgba(255,255,255,.8);
  transition:box-shadow .28s ease;
 }
 @media(hover:hover) and (pointer:fine){
  body.arkhe-cloud-theme.planning-glass-sidebar .layout > aside.tool-dock:hover {
   box-shadow:inset 0 0 70px rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.8);
  }
 }
 @media(prefers-reduced-motion:reduce){body.arkhe-cloud-theme.planning-glass-sidebar .tool-dock{transition:none;}}
}

@media screen {
 body.planning-glass-sidebar :is(.project-strip,.step-nav) {
  isolation:isolate;
  background:linear-gradient(125deg,rgba(255,255,255,.46),rgba(255,255,255,.18));
  -webkit-backdrop-filter:blur(3px) saturate(115%);backdrop-filter:blur(3px) saturate(115%);
  border-bottom:1px solid rgba(255,255,255,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  transition:box-shadow .28s ease;
 }
 body.planning-glass-sidebar .project-strip{position:relative;}
 body.planning-glass-sidebar .step-nav button:not([aria-pressed="true"]){
  background:rgba(255,255,255,.20);
 }
 @media(hover:hover) and (pointer:fine){
  body.planning-glass-sidebar :is(.project-strip,.step-nav):hover {
   box-shadow:inset 0 0 55px rgba(255,255,255,.32),inset 0 1px 0 white;
  }
 }
 @media(prefers-reduced-motion:reduce){body.planning-glass-sidebar :is(.project-strip,.step-nav){transition:none;}}
}
@media screen {
 body.planning-glass-sidebar .step-nav button {
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
 }
}

/* These two planning bars retain glass/hover but never show a pointer trail. */
body.planning-glass-sidebar :is(.project-strip,.step-nav) .glass-light-trail {
 display:none!important;
}

/* Left columns retain frosted glass and hover lighting, without pointer trails. */
:is(body > aside, .layout > aside, main > aside, #painel, #painel-lateral) .glass-light-trail{display:none!important;}

/* Reveal the frosted chart card without changing plot bands or print output. */
@media screen {
 body.arkhe-cloud-theme #evolution > .panel svg[aria-label*="por data"] > rect:first-child {fill:transparent;}
}

/* Aberturas na camada fosca preservam a refração direta dos botões. */
@media screen {
 body.arkhe-cloud-theme #home .patients-frost-panel[data-frosted-openings] {
  background:transparent;
  -webkit-backdrop-filter:none;backdrop-filter:none;
 }
 body.arkhe-cloud-theme #home .patients-frost-panel > .frosted-openings-surface {
  position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;
  background:linear-gradient(125deg,rgba(255,255,255,.46),rgba(255,255,255,.18));
  -webkit-backdrop-filter:blur(3px) saturate(115%);backdrop-filter:blur(3px) saturate(115%);
 }
 body.arkhe-cloud-theme #home .patients-frost-panel[data-frosted-openings]::before,
 body.arkhe-cloud-theme #home .patients-frost-panel > .frosted-openings-surface {
  -webkit-mask-image:var(--arkhe-frost-openings);mask-image:var(--arkhe-frost-openings);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 }
 body.arkhe-cloud-theme #home .patients-frost-panel > .glass-light-trail{display:none!important}
 @supports not (backdrop-filter:blur(1px)) {
  body.arkhe-cloud-theme #home .patients-frost-panel > .frosted-openings-surface{background:rgba(249,246,252,.9)}
 }
}


@media screen {
 body.arkhe-cloud-theme:has(#home) > aside .nav:is(.active,:hover,:focus) {
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.025) 52%,rgba(255,255,255,.075))!important;
  border-color:rgba(255,255,255,.62);color:inherit;transform:none;
 }
 body.arkhe-cloud-theme:has(#home) > aside .nav .glass-light-trail,
 body.arkhe-cloud-theme #login-glass-card .glass-light-trail {display:none!important}
}
/* Indicadores de acompanhamento: densidade compacta, mantendo a lente aprovada. */
@media screen{
 body.arkhe-cloud-theme #cards>.card{padding:11px 16px;min-height:0}
 body.arkhe-cloud-theme #cards>.card .label{line-height:1.25;margin:0}
 body.arkhe-cloud-theme #cards>.card .value{font-size:27px;line-height:1.2;margin:5px 0}
 body.arkhe-cloud-theme #cards>.card>small{display:block;font-size:12px;line-height:1.3;margin:0}
}
/* Mesma hierarquia cromática dos indicadores do exame nativo. */
@media screen{
 body.arkhe-cloud-theme #cards>.card .label{color:#82909c}
 body.arkhe-cloud-theme #cards>.card .value{color:#7950b3}
 body.arkhe-cloud-theme #cards>.card>small.muted{color:#297d91}
}
/* Realce tipográfico discreto sobre os indicadores de vidro. */
@media screen{
 body.arkhe-cloud-theme #cards>.card .value{text-shadow:0 1px 1px rgba(255,255,255,.65),0 2px 3px rgba(64,39,94,.26)}
 body.arkhe-cloud-theme #cards>.card :is(.label,small.muted){text-shadow:0 1px 1px rgba(255,255,255,.65),0 1px 2px rgba(48,56,65,.20)}
}
