/* CAMADA-MED R7.20 consolidated CSS bundle (camadamed-platform-core-r720.css): 37 stylesheets in exact original cascade order. */

/* --- source: assets/css/camadamed-contrast-rc-o42.css --- */
/* CAMADA-MED RC-O42 · CONTRASTE SISTÊMICO + DIAGNÓSTICO MOBILE
   Regra operacional: em superfícies escuras, texto informativo nunca herda
   foreground escuro. Controles dourados/claros preservam texto escuro. */

:root{
  --cm-o42-on-dark:#F8F5EC;
  --cm-o42-on-dark-2:#D8E3EE;
  --cm-o42-on-dark-3:#BFCEDF;
  --cm-o42-dark-control-top:#18344F;
  --cm-o42-dark-control-bottom:#071829;
}

/* Diagnóstico: havia dois botões Voltar sobrepostos. O global O8 fica oculto
   nesta tela; o botão nativo do diagnóstico é o único controle visível. */
body.cm149-theme.cm-diagnostic-page .v96-back{display:none!important}
body.cm149-theme.cm-diagnostic-page .btn-back,
body.cm149-theme.cm-diagnostic-page .btn-close{
  background:linear-gradient(145deg,var(--cm-o42-dark-control-top),var(--cm-o42-dark-control-bottom))!important;
  color:var(--cm-o42-on-dark)!important;
  -webkit-text-fill-color:currentColor!important;
  border-color:rgba(230,208,154,.38)!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.cm149-theme.cm-diagnostic-page .btn-back svg{stroke:#E6D09A!important}

/* Os dois vazamentos de contraste vistos no iPhone: "1 de 6" e
   "Pergunta 1 de 6" herdavam tokens escuros sobre Ocean. */
body.cm149-theme.cm-diagnostic-page .eyebrow b{
  color:#CBD8E6!important;-webkit-text-fill-color:currentColor!important;opacity:1!important
}
body.cm149-theme.cm-diagnostic-page .sticky-inner em{
  color:#EEF3F8!important;-webkit-text-fill-color:currentColor!important;opacity:1!important
}

/* Opções: vidro cinza + texto branco tinha contraste óptico baixo. Transformar
   a superfície em Safira/Ocean mantém identidade e dá foreground inequívoco. */
body.cm149-theme.cm-diagnostic-page .opt{
  background:linear-gradient(145deg,#24445F,#132A40)!important;
  color:#FBF7ED!important;-webkit-text-fill-color:currentColor!important;
  border-color:rgba(223,235,247,.34)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(198,161,91,.24),0 8px 20px -12px rgba(0,0,0,.72)!important
}
body.cm149-theme.cm-diagnostic-page .opt .dot{border-color:rgba(245,240,230,.62)!important}
body.cm149-theme.cm-diagnostic-page .opt.is-sel{
  background:linear-gradient(163deg,#FDF4CF 0%,#F2DE9A 30%,#DDB456 70%,#B8862A 100%)!important;
  color:#241804!important;-webkit-text-fill-color:currentColor!important
}
body.cm149-theme.cm-diagnostic-page .opt.is-sel *{color:#241804!important;-webkit-text-fill-color:currentColor!important}

/* Guarda semântica em superfícies públicas que o sistema V151 transforma em
   Ocean escuro. Evita que tokens históricos .mute/.note/em voltem a escurecer
   quando uma camada visual posterior muda apenas o background. */
body.cm149-theme:not(.cm-platform-page)
:is(.screen,.card,.result-card,.sticky-inner,.fbox,.score-item,.glass,.today-hero,.panel,.app-card,.modal-card,.qa-card,.library-intro,.year-card,.sp-banner,.subject-card,.module-card,.module-row,.hero-card,.book-feature,.result-box,.cm-route-hero,.cm-lead-capture,.offer,.cm-bridge-card)
:is(.mute,.muted,.note,.tiny,.meta,.caption,.microcopy,.subtitle,.body-text,.eyebrow b,em){
  color:var(--cm-o42-on-dark-2)!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important
}

/* Chrome e cartões inequivocamente escuros da plataforma. Não alcança folhas
   creme nem estados semânticos de risco/alerta. */
body.cmc7-active :is(#cmc7Toolbar,#cmc7Sidebar,#cmc7Dock)
:is(.cmc7-link,.cmc7-brand-caption,span,small,b,strong){
  color:#EAF1F8!important;-webkit-text-fill-color:currentColor!important;opacity:1!important
}
body.cmc7 #app :is(.tile.t-petro,.pi-study-entry,.sc-live)
:is(.tt,.ts,.ti,.mute,.note,.tiny,.eyebrow,p,small,span,b,strong){
  color:#EEF3F8!important;-webkit-text-fill-color:currentColor!important;opacity:1!important
}

/* Exceções de superfície clara/dourada: texto continua escuro. */
body.cm149-theme :is(.btn-gold,.cta-gold,.cm-action-primary,.t-gold,.opt.is-sel){
  color:#172333!important;-webkit-text-fill-color:currentColor!important
}
body.cm149-theme :is(.btn-gold,.cta-gold,.cm-action-primary,.t-gold,.opt.is-sel) :is(span,b,strong,small,em,p){
  color:#172333!important;-webkit-text-fill-color:currentColor!important
}

@media(any-pointer:coarse){
  body.cm149-theme.cm-diagnostic-page :is(.btn-back,.btn-close){
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    transition:transform .08s ease!important
  }
}
@media(prefers-reduced-motion:reduce){
  body.cm149-theme.cm-diagnostic-page :is(.btn-back,.btn-close){transition:none!important}
}


/* --- source: assets/css/camadamed-mobile-ux-rc-o62.css --- */
/* CAMADA-MED RC-O62 · mobile readability + touch ergonomics */
@media (max-width: 700px){
  body.cm-platform-page input,body.cm-platform-page textarea,body.cm-platform-page select{font-size:16px!important}
  body.cm-platform-page .tiny,body.cm-platform-page .note,body.cm-platform-page .mute.tiny{font-size:max(11.5px,.72rem)!important;line-height:1.45}
  body.cm-platform-page #v-raciocinio,body.cm-platform-page #v-sala,body.cm-platform-page #v-painel{font-size:14px}
  body.cm-platform-page #v-raciocinio .note,body.cm-platform-page #v-sala .note,body.cm-platform-page #v-painel .note{font-size:12.5px!important}
  body.cm-platform-page #v-crono .eyebrow,body.cm-platform-page #v-estudo .eyebrow,body.cm-platform-page [data-focus="estudo"]{font-size:max(12px,.75rem)}
  body.cm-platform-page .sheet-x,body.cm-platform-page #hcback,body.cm-platform-page #contaBtn,body.cm-platform-page .cm-vr-close,
  body.cm-platform-page #v-crono button,body.cm-platform-page #v-crono [role="button"]{min-width:44px;min-height:44px}
  body.cm-platform-page [data-cm-click-id]{touch-action:manipulation}
}
body.cm-platform-page :focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media (prefers-reduced-motion: reduce){
  body.cm-platform-page *,body.cm-platform-page *::before,body.cm-platform-page *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}


/* --- source: assets/css/camadamed-clinical-layout-r612.css --- */
/* CAMADA-MED R6.12 — containment, eight parameters and readable clinical actions.
   Scoped to the existing clinical workspace; no public/brand/price overrides.
   data-cmw-release=r610 remains the compatibility contract for the seven stages. */
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"]{
  --cmw-nav-clearance:calc(104px + env(safe-area-inset-bottom));
  min-width:0;max-width:100%;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.sc-shell,.sc-pad,.cmw-host,.cmw-context,.cmw-context-patient,.cmw-context-actions,.cmw-context-save,.cmw-panel,.cmw-acc,.cmw-acc-body,.cmw-doc-editor,.cmw-utility,.cmw-tool-content,.sc-measure-card,.sc-measure-body,.sc-vitais,.sc-vt){
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(button,a,label,p,small,h2,h3,h4,.cmw-paper,.cmw-draft-status){
  overflow-wrap:anywhere;word-break:normal;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(button,input,textarea,select){
  box-sizing:border-box;min-width:0;max-width:100%;
  scroll-margin-block:16px var(--cmw-nav-clearance);
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] button{
  height:auto;white-space:normal;line-height:1.4;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context{
  display:grid;grid-template-columns:minmax(0,1fr);gap:12px;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-patient{width:100%}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-actions{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:8px;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-actions>button{
  width:100%;min-height:48px;padding:10px 12px;font-size:14px;flex:none;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-save>span{min-width:0;flex:1 1 140px}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-save>button{flex:0 1 auto}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-file-row,.cmw-dest-opts,.cmw-actions){
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-secondary-actions,.cmw-research-actions,.cmw-document-actions,.cmw-toolbuttons){
  display:flex;flex-wrap:wrap;gap:10px;min-width:0;max-width:100%;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-secondary-actions,.cmw-research-actions,.cmw-document-actions,.cmw-toolbuttons)>button{
  flex:1 1 140px;min-height:44px;height:auto;white-space:normal;padding:10px 12px;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-acc-txt,.cmw-review-check span,.cmw-checkpoint-line,.cmw-proposal-row label){min-width:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-review-check,.cmw-proposal-row){max-width:100%;box-sizing:border-box}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-acc-head{grid-template-columns:minmax(0,1fr) auto auto}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(input:not([type=checkbox]),textarea,select){
  width:100%;min-height:44px;font-size:16px;line-height:1.5;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-measure-head{flex-wrap:wrap;gap:8px}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-measure-meta{min-width:0;max-width:100%;white-space:normal}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vitais{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vt{padding:10px 8px}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vt .r{text-align:center;line-height:1.45;min-width:0;max-width:100%}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vt input{min-width:0;max-width:100%;font-size:18px!important}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vt-foot{flex-wrap:wrap!important;gap:6px!important}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vt-foot .u{
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:11px!important;
}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-comparison,.cm-table-scroll){max-width:100%;overflow-x:auto}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-linear-nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-linear-nav button{min-width:0;max-width:100%;min-height:48px}
@media(max-width:759px){
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-actions>button:last-child{grid-column:1/-1}
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .sc-vitais{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-document-actions>button{flex-basis:160px}
}
@media(max-width:359px){
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] :is(.cmw-context-actions,.cmw-file-row,.cmw-dest-opts,.cmw-actions,.cmw-doc-switch,.cmw-proposal-row){grid-template-columns:minmax(0,1fr)}
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-context-actions>button:last-child{grid-column:auto}
  body.cm-workspace-v210 #app #v-sala[data-cmw-release="r610"] .cmw-proposal-row small{grid-column:1}
}


/* --- source: assets/css/camadamed-clinical-ui-r613.css --- */
/* CAMADA-MED R6.13 — clinical hierarchy and progressive disclosure.
   Brand, public pages, subscriptions and educational surfaces keep their rules. */
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmw-layout,.cmw-sidebar,.cmw-main,.cmw-context-shortcuts,.cmplan,.cmplan-item,.cmplan-fields,.cmplan-field,.cmw-compare-columns,.cmw-closure-checklist){min-width:0;max-width:100%;box-sizing:border-box}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;max-width:1240px;margin-inline:auto}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-context-compact{margin:0;padding:16px;gap:12px;border-radius:18px;background:rgba(21,40,59,.78)}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-patient-identity{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;min-height:44px;width:100%;background:transparent;border:0;color:inherit;padding:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-patient-identity b{font-size:18px;line-height:1.4}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-patient-identity small{font-size:14px;color:#bbcad7;line-height:1.5}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-context-shortcuts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;align-items:start}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmw-support-menu summary,.cmw-urgent-access,.cmw-side-summary summary,.cmplan summary){min-height:44px;display:flex;align-items:center;padding:10px 12px;box-sizing:border-box;font-size:14px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere;color:#e1eaf1}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmw-support-menu summary,.cmw-urgent-access){border:1px solid rgba(192,209,223,.3);border-radius:12px;background:rgba(9,24,39,.5)}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-support-menu summary::after{content:'⌄';margin-left:auto;padding-left:8px;color:#d6b65f}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-support-menu[open] summary::after{content:'⌃'}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-support-menu>div{display:grid;gap:4px;padding-top:8px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-support-menu button{text-align:left;min-height:44px;padding:8px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-urgent-access{color:#edd58c;font-weight:650;text-align:left}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-context-save{font-size:13px;line-height:1.6;gap:8px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-context-save button{min-height:44px;padding:8px 0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-side-summary{margin-top:10px;border:1px solid rgba(192,209,223,.18);border-radius:12px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-side-summary :is(p,ul){margin:12px;padding-inline:0;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-side-summary ul{padding-left:20px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-main .cmw-stage-head{margin-top:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmplan-mode,.cmplan-fields){display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-mode button[aria-pressed="true"]{border-color:#d6b65f;background:rgba(214,182,95,.13);color:#f3de9d}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-item{padding:16px 0;border-top:1px solid rgba(192,209,223,.18);margin-top:16px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-field{display:flex;flex-direction:column;gap:6px;color:#ccdae6;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-field :is(input,textarea){background:#13263c;color:#f1f5f9;border:1px solid #526b85;border-radius:10px;padding:12px;min-height:48px;font-size:16px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-field textarea{min-height:100px;resize:vertical;line-height:1.6}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-section{border-top:1px solid rgba(192,209,223,.18);padding:12px 0;margin-top:16px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-section>summary{padding-left:0;font-weight:650}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmplan summary,.cmw-side-summary summary)::after{content:'⌄';margin-left:auto;padding-left:8px;color:#d6b65f}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmplan details[open],.cmw-side-summary[open])>summary::after{content:'⌃'}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-missing{font-size:13px;line-height:1.6;color:#e8cf89}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmplan-row-state{font-size:13px;line-height:1.6;color:#c6d4df;margin:12px 0 8px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-review-check{align-items:flex-start;gap:10px;padding-block:12px;line-height:1.6}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-review-check input[type="checkbox"]{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin-top:2px;accent-color:#d6b65f}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-compare-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-compare-columns>div{min-width:0;max-width:100%;padding:12px;border:1px solid rgba(192,209,223,.2);border-radius:12px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-closure-checklist ul{padding:0;margin:12px 0;list-style:none}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-closure-checklist li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(192,209,223,.18);padding:10px 0;font-size:14px;line-height:1.6}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-closure-checklist li>span{flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-closure-checklist li>button{min-height:44px;flex:0 1 auto}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmt8-state{font-size:11px;line-height:1.4;color:#aebfce}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmt8-et.state-pending .cmt8-state{color:#e9cd7e}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmt8-et:is(.state-reviewed,.state-saved) .cmt8-state{color:#a4d2bb}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(button,summary,input,textarea):focus-visible{outline:2px solid #f0d582;outline-offset:3px}
@media(min-width:760px){
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmplan-mode,.cmplan-fields,.cmw-compare-columns){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1024px){
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-layout{grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-sidebar{position:sticky;top:20px}
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-context-shortcuts{grid-template-columns:minmax(0,1fr)}
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .sc-shell{max-width:1240px}
}
@media(max-width:359px){
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmw-context-shortcuts{grid-template-columns:minmax(0,1fr)}
}


/* --- source: assets/css/camadamed-clinical-demos-r664.css --- */
/* The demo owns its palette because the shared sheet defaults to a light theme. */
html body #sheet.cm-demo-overlay > .sheet-bg {
  background: rgba(3, 10, 22, .44);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html body #sheet #cmDemoPanel {
  --demo-ink: #f5f7fb;
  --demo-muted: #cddbed;
  --demo-gold: #ffe1a0;
  --demo-edge: rgba(169, 203, 240, .48);
  --demo-pad: clamp(14px, 3vw, 28px);
  --demo-gap: max(10px, env(safe-area-inset-top), env(safe-area-inset-bottom),
    env(safe-area-inset-left), env(safe-area-inset-right));
  --ink: var(--demo-ink);
  --ink-soft: var(--demo-muted);
  --ink-mute: var(--demo-muted);
  --petro: var(--demo-ink);
  --gold-1: var(--demo-gold);
  --line: var(--demo-edge);
  position: absolute;
  inset: 50% auto auto 50% !important;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  box-sizing: border-box;
  width: min(780px, calc(100% - var(--demo-gap) - var(--demo-gap))) !important;
  max-width: none !important;
  max-height: min(900px, calc(100vh - var(--demo-gap) - var(--demo-gap))) !important;
  max-height: min(900px, calc(100dvh - var(--demo-gap) - var(--demo-gap))) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--demo-edge) !important;
  border-radius: clamp(20px, 4vw, 32px) !important;
  color: var(--demo-ink) !important;
  color-scheme: dark;
  background: rgba(11, 24, 42, .94) !important;
  box-shadow: inset 0 1px 1px rgba(228, 241, 255, .36), 0 26px 80px rgba(0, 0, 0, .45) !important;
  opacity: 0;
  transform: translate(-50%, -48%) scale(.985) !important;
  transition: transform .24s cubic-bezier(.2, .8, .25, 1), opacity .18s ease-out;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body #sheet #cmDemoPanel {
    background:
      radial-gradient(ellipse at top left, rgba(139, 186, 243, .13), transparent 58%),
      linear-gradient(142deg, rgba(16, 35, 59, .76), rgba(6, 16, 33, .74)) !important;
    backdrop-filter: blur(22px) saturate(142%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(142%) !important;
  }
}

html body #sheet.open #cmDemoPanel {
  opacity: 1;
  transform: translate(-50%, -50%) !important;
}

html body #sheet #cmDemoPanel::before,
html body #sheet #cmDemoPanel::after {
  display: none !important;
  pointer-events: none !important;
}

@supports ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  html body #sheet #cmDemoPanel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block !important;
    padding: 1px;
    border-radius: inherit;
    background: radial-gradient(230px circle at var(--demo-light-x, 18%) var(--demo-light-y, 0%),
      rgba(236, 247, 255, .92), rgba(158, 208, 255, .38) 45%, transparent 76%) !important;
    opacity: 1 !important;
    -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;
  }
}

#cmDemoPanel #cmDemoRoot {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
  color: var(--demo-ink);
}

#cmDemoPanel .cm-demo,
#cmDemoPanel .cm-demo * {
  box-sizing: border-box;
  min-width: 0;
}

#cmDemoPanel .cm-demo {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  color: var(--demo-ink);
  font-family: var(--sans, system-ui);
  overflow-wrap: anywhere;
}

#cmDemoPanel .cm-demo-header {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px max(66px, calc(var(--demo-pad) + 46px)) 10px var(--demo-pad);
  border-bottom: 1px solid rgba(177, 210, 246, .22);
}

#cmDemoPanel .cm-demo-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 14px var(--demo-pad) 18px;
  scroll-padding-block: 12px;
}

html body #sheet #cmDemoPanel :is(h1,h2,h3,h4,h5,h6,p,li,label,summary,b,strong,span,small,td,th,.cm-prose) {
  color: var(--demo-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

#cmDemoPanel h2 {
  margin: 4px 0 10px;
  font-size: clamp(22px, 4.2vw, 35px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

#cmDemoPanel h3 { margin: 20px 0 8px; font-size: 19px; line-height: 1.35; }
#cmDemoPanel h4 { margin: 16px 0 8px; font-size: 16px; line-height: 1.4; }
#cmDemoPanel :is(p, li) { font-size: 15px; line-height: 1.65; }
#cmDemoPanel p { margin: 8px 0 12px; }
#cmDemoPanel :is(ul, ol) { padding-inline-start: 22px; }

#cmDemoPanel .cm-demo-badge {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--demo-edge);
  border-radius: 999px;
  background: rgba(131, 178, 231, .10);
  font-size: 12px;
  line-height: 1.4;
}

html body #sheet #cmDemoPanel :is(.cm-demo-badge,.cm-demo-step,.cm-demo-identity,
  .cmw-field-hint,.cm-demo-choice small,.cm-demo-vitals span,.cm-demo-vitals small,.cm-demo-exams small) {
  color: var(--demo-muted) !important;
}

#cmDemoPanel :is(.cm-demo-step,.cm-demo-identity) { font-size: 13px; }
#cmDemoPanel .cm-demo-options { display: grid; gap: 10px; margin: 16px 0 3px; }
#cmDemoPanel .cm-demo-choice { width: 100%; display: grid; gap: 5px; text-align: start; }
#cmDemoPanel .cm-demo-choice b { font-size: 17px; line-height: 1.35; }
#cmDemoPanel .cm-demo-choice small { font-size: 14px; line-height: 1.5; }
#cmDemoPanel .cm-demo-choice span { font-size: 13px; font-weight: 700; }

html body #sheet #cmDemoPanel :is(button, select) {
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--demo-edge) !important;
  border-radius: 14px !important;
  color: var(--demo-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: linear-gradient(145deg, rgba(151, 197, 247, .18), rgba(65, 106, 156, .09)) !important;
  box-shadow: inset 0 1px 0 rgba(229, 244, 255, .14) !important;
  opacity: 1 !important;
  font: inherit;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

html body #sheet #cmDemoPanel button:not(:disabled) { cursor: pointer; }
html body #sheet #cmDemoPanel button:disabled { cursor: wait; }
html body #sheet #cmDemoPanel button.cm-demo-choice { padding: 15px 16px; }

html body #sheet #cmDemoPanel button.cmw-primary {
  border-color: rgba(255, 225, 160, .70) !important;
  background: linear-gradient(145deg, rgba(144, 196, 250, .26), rgba(69, 114, 173, .17)) !important;
  font-weight: 700;
}

html body #sheet #cmDemoPanel button.cmw-text-action {
  color: var(--demo-gold) !important;
  background: rgba(117, 156, 208, .08) !important;
}

html body #sheet #cmDemoPanel .sheet-x {
  position: absolute;
  z-index: 3;
  inset: 10px var(--demo-pad) auto auto !important;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0;
  border-radius: 50% !important;
  font-size: 24px !important;
  line-height: 1;
}

#cmDemoPanel select { display: block; width: 100%; }
#cmDemoPanel option { color: var(--demo-ink); background: #142840; }
#cmDemoPanel .cm-demo-stage-label { display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 700; }

#cmDemoPanel .cm-demo-vitals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0;
}

@media (min-width: 650px) {
  #cmDemoPanel .cm-demo-vitals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

#cmDemoPanel :is(.cm-demo-vitals > div,.cm-demo-details) {
  padding: 12px;
  border: 1px solid var(--demo-edge);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(148, 190, 240, .12), rgba(57, 100, 154, .07));
  box-shadow: inset 0 1px 0 rgba(225, 240, 255, .10);
}

#cmDemoPanel .cm-demo-vitals > div { display: grid; gap: 4px; }
#cmDemoPanel .cm-demo-vitals :is(span, small) { font-size: 12px; line-height: 1.4; }
#cmDemoPanel .cm-demo-vitals b { font-size: 22px; }

#cmDemoPanel .cm-demo-navigation {
  display: flex;
  gap: 8px;
  padding: 11px var(--demo-pad) 13px;
  border-top: 1px solid rgba(177, 210, 246, .26);
  background: rgba(14, 28, 48, .30);
}

#cmDemoPanel .cm-demo-navigation > button { flex: 1 1 0; min-width: 0; }
#cmDemoPanel .cm-demo-navigation > .cmw-primary { flex-grow: 2; }
html body #sheet #cmDemoPanel .cm-demo-navigation > button { font-size: clamp(14px, 3.5vw, 16px); }
#cmDemoPanel .cm-demo-live { margin: 22px 0; padding-top: 14px; border-top: 1px solid var(--demo-edge); }
#cmDemoPanel .cm-demo-live button { margin: 8px 0; }
#cmDemoPanel .cm-demo-details { margin: 12px 0; }
#cmDemoPanel .cm-demo-details summary { cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.5; min-height: 32px; }

html body #sheet #cmDemoPanel :is(a,.cm-demo-choice span) {
  color: var(--demo-gold) !important;
  -webkit-text-fill-color: currentColor !important;
}
#cmDemoPanel a { text-decoration: underline; text-decoration-color: currentColor; overflow-wrap: anywhere; }
#cmDemoPanel .cm-demo-document { margin: 14px 0; font-size: 15px; line-height: 1.65; user-select: text; -webkit-user-select: text; }
#cmDemoPanel :is(.cm-demo-exams article,.cm-demo-pubmed-result) { padding: 12px 0; border-bottom: 1px solid var(--demo-edge); }
#cmDemoPanel .cm-demo-exams small { display: block; font-size: 12px; line-height: 1.5; }
#cmDemoPanel .cm-demo-urgent { padding-inline-start: 12px; border-inline-start: 3px solid var(--demo-gold); font-weight: 700; }

html body #sheet #cmDemoPanel .cm-demo-reading :is(.cm-prose, table, tbody, tr, td) { background: transparent !important; }
html body #sheet #cmDemoPanel .cm-demo-reading :is(th, pre, code) {
  background: rgba(91, 145, 204, .18) !important;
  color: var(--demo-ink) !important;
  border-color: var(--demo-edge) !important;
}
#cmDemoPanel .cm-demo-reading pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
#cmDemoPanel .cm-demo-reading table { max-width: 100%; display: block; overflow-x: auto; }
html body #sheet #cmDemoPanel .cm-demo-reading pre code { background: transparent !important; }

html body #sheet #cmDemoPanel :is(button,a,select,summary):focus-visible {
  outline: 3px solid var(--demo-gold) !important;
  outline-offset: 2px !important;
}
html body #sheet #cmDemoPanel button:not(:disabled):is(:active,:focus-visible) {
  border-color: #e0efff !important;
  box-shadow: inset 0 0 0 1px rgba(226, 241, 255, .48), 0 0 14px rgba(167, 211, 255, .22) !important;
}
@media (hover: hover) and (pointer: fine) {
  html body #sheet #cmDemoPanel button:not(:disabled):hover {
    border-color: #d2e9ff !important;
    box-shadow: inset 0 1px 0 rgba(230, 244, 255, .45), 0 0 15px rgba(159, 208, 255, .22) !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html body #sheet #cmDemoPanel button { transition: transform .15s ease, border-color .17s ease, box-shadow .17s ease; }
  html body #sheet #cmDemoPanel button:not(:disabled):active { transform: scale(.985); }
}
@media (prefers-reduced-motion: reduce) {
  html body #sheet #cmDemoPanel, html body #sheet #cmDemoPanel * { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  html body #sheet #cmDemoPanel {
    background: #0b182a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Shared review helpers carried forward from the previous demo asset. */
.cmw-demo-entry { margin-bottom: 18px; }
.cmw-review-required ul { padding-left: 20px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cmw-pending-panel { scroll-margin-top: 18px; }
.cmw-pending-panel:focus { outline: 2px solid var(--gold-1); outline-offset: 3px; }


/* --- source: assets/css/camadamed-perguntar-r619.css --- */
/* R6.19: source-search status and query details, scoped to Pergunte. */
#cmAskBody .ask-top-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}
#cmAskBody .ask-strategy{margin:12px 0;padding:14px;border:1px solid #667989;border-radius:14px;background:#102337;color:#f2f5f8;min-width:0}
#cmAskBody .ask-strategy summary{cursor:pointer;font-weight:600;line-height:1.5;color:#f2f5f8}
#cmAskBody .ask-strategy p{color:#d0dce7;overflow-wrap:anywhere;word-break:break-word;line-height:1.6}
#cmAskBody .ask-strategy a{color:#f0d38a}
#cmAskBody .ask-compl{white-space:normal;overflow-wrap:anywhere;min-height:44px;max-width:100%;line-height:1.5}
#cmAskBody button:disabled{cursor:wait;opacity:.7}
#cmAskBody .ask-load[role="status"]{color:#d0dce7;line-height:1.6;overflow-wrap:anywhere}


/* --- source: assets/css/camadamed-pharmacology-r620.css --- */
/* R6.20. Scoped to the existing clinical plan; no public/global theme changes. */
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph{color:#e7eff7;background:#102238;border:1px solid #49657f;border-radius:14px;padding:16px;margin-block:18px;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;font-size:16px;line-height:1.65}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph :is(h4,p,dl,ol,ul,li,dt,dd,label,span,summary){color:inherit;max-width:100%;box-sizing:border-box}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph h4{font-size:18px;line-height:1.45;margin:0 0 8px;color:#f5f8fc}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph .cmph-note{font-size:14px;line-height:1.65;color:#c9d9e8;margin:10px 0 14px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-detail{border-top:1px solid #49657f;margin-top:10px;padding-block:4px;min-width:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-detail>summary{color:#f2d991;font-size:16px;line-height:1.5;font-weight:650;min-height:48px;padding:12px 0;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-block:14px;min-width:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;font-weight:500;line-height:1.5}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-field :is(input,select,textarea){display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:48px;border:1px solid #718da8;border-radius:10px;background:#182f49;color:#f5f8fc;padding:12px;font-size:16px;line-height:1.5;box-shadow:none}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-field select{padding-right:32px;white-space:normal;text-overflow:ellipsis}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-field textarea{resize:vertical;min-height:100px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-field input[type="date"]{appearance:none;-webkit-appearance:none;text-align:left;min-width:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-context{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:8px 0 12px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmph-context,.cmph-reference)>div{min-width:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-context dt{font-size:13px;color:#c9d9e8}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-context dd{margin:0;font-weight:600;color:#f5f8fc}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-reference{margin:0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-reference>div{margin:0 0 18px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-reference dt{font-size:16px;font-weight:700;margin:0 0 5px;color:#f5f8fc}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-reference dd{margin:0;font-size:16px;line-height:1.7;color:#e7eff7;white-space:pre-wrap}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-form{font-size:14px;font-weight:600;color:#c9d9e8}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-result{background:#0b1a2b;border:1px solid #49657f;border-radius:12px;padding:14px;margin-block:16px;min-width:0;overflow-wrap:anywhere}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-steps{padding-left:24px;margin:0 0 12px;font-variant-numeric:tabular-nums}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-steps li{margin-bottom:8px;line-height:1.7}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-pending{padding-left:22px;margin:10px 0;color:#f3d68d;font-size:14px;line-height:1.65}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph .cmph-warning{color:#ffcccc;font-size:14px;line-height:1.65}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph .cmph-applied{color:#b6e7d1;font-size:14px;line-height:1.65}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-check{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:48px;padding-block:12px;font-size:15px;line-height:1.6;font-weight:500}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-check input[type="checkbox"]{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin:2px 0 0;accent-color:#e5c777}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-check span{min-width:0;overflow-wrap:anywhere}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-source{display:inline-flex;align-items:center;min-height:44px;color:#f2d991;text-decoration:underline;white-space:normal;overflow-wrap:anywhere;max-width:100%;font-size:15px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-secondary{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:12px 0}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph :is(.cmph-apply,.cmw-secondary){width:100%;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;font-size:16px;line-height:1.5;padding:12px 16px}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph .cmph-apply:disabled{background:#30465b;color:#d5e0eb;border:1px solid #718da8;box-shadow:none;opacity:1;cursor:default}
body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph :is(input,select,textarea,button,summary,a):focus-visible{outline:2px solid #f2d991;outline-offset:3px}
@media(min-width:760px){
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] :is(.cmph-grid,.cmph-secondary){grid-template-columns:repeat(2,minmax(0,1fr))}
 body.cm-workspace-v210 #app #v-sala[data-cmw-ui="r613"] .cmph-context{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* --- source: assets/css/camadamed-pharmacology-study-r621.css --- */
/* R6.21: scoped drug-study panel in Perguntar. No global layout overrides. */
#cmAskBody .cmps{margin:20px 0;border:1px solid #667989;border-radius:18px;background:#102337;color:#f2f5f8;min-width:0;max-width:100%;overflow-wrap:anywhere;font-size:16px;line-height:1.65}
#cmAskBody .cmps>summary{padding:18px;cursor:pointer;color:#f0d38a;font-size:18px;min-height:48px}
#cmAskBody .cmps>summary strong{color:inherit}
#cmAskBody .cmps>summary span{display:block;margin-top:4px;color:#d0dce7;font-size:15px;line-height:1.5}
#cmAskBody #cmPharmaStudyBody{padding:0 18px 20px;min-width:0}
#cmAskBody .cmps h1,#cmAskBody .cmps h2,#cmAskBody .cmps h3,#cmAskBody .cmps h4,#cmAskBody .cmps h5,#cmAskBody .cmps h6,#cmAskBody .cmps p,#cmAskBody .cmps li,#cmAskBody .cmps label{color:#f2f5f8}
#cmAskBody .cmps h3{font-size:22px;line-height:1.4;margin:0 0 8px}
#cmAskBody .cmps h4{font-size:17px;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}
#cmAskBody .cmps p{margin:12px 0}
#cmAskBody .cmps label{display:block;font-weight:600;margin:10px 0 6px}
#cmAskBody .cmps select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;border:1px solid #a7b7c7;border-radius:12px;padding:12px;background:#fffdf5;color:#172322;font-family:inherit;font-size:16px;line-height:1.5;color-scheme:light}
#cmAskBody .cmps option{background:#fffdf5;color:#172322}
#cmAskBody .cmps a{color:#f0d38a;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#cmAskBody .cmps .cmps-note,#cmAskBody .cmps .cmps-origin{color:#d0dce7;font-size:15px;line-height:1.6}
#cmAskBody .cmps-card-head{margin:20px 0;padding-bottom:18px;border-bottom:1px solid #667989}
#cmAskBody .cmps-topic{margin:12px 0;border:1px solid #667989;border-radius:14px;min-width:0;background:#0b1929;color:#f2f5f8}
#cmAskBody .cmps-topic>summary{box-sizing:border-box;cursor:pointer;min-height:48px;padding:14px 16px;font-size:17px;font-weight:600;color:#f2f5f8;line-height:1.5}
#cmAskBody .cmps-topic-body{padding:0 16px 18px;min-width:0}
#cmAskBody .cmps .cmps-origin{font-weight:600;margin-bottom:4px}
#cmAskBody .cmps .cmps-question{color:#f0d38a}
#cmAskBody .cmps-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
#cmAskBody .cmps-actions button{box-sizing:border-box;flex:1 1 220px;min-width:0;max-width:100%;min-height:48px;white-space:normal;overflow-wrap:anywhere;border:1px solid #a7b7c7;border-radius:12px;padding:12px 14px;background:#172d44;color:#f2f5f8;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer}
#cmAskBody .cmps-actions button:disabled{background:#172d44;color:#d0dce7;opacity:1;cursor:default}
#cmAskBody .cmps .cmps-status{color:#f0d38a}
#cmAskBody .cmps .cmps-error{border-left:3px solid #ffb5b5;padding:10px 12px;background:#2a1820;color:#ffcece}
#cmAskBody .cmps-strategy{margin:14px 0;color:#d0dce7}
#cmAskBody .cmps-strategy>summary{cursor:pointer;min-height:44px;padding:8px 0;color:#d0dce7}
#cmAskBody .cmps-synthesis{margin:16px 0;padding:14px;border:1px solid #667989;border-radius:12px;background:#102337;color:#f2f5f8;min-width:0}
#cmAskBody .cmps-papers{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:16px 0}
#cmAskBody .cmps-papers article{padding:14px;border:1px solid #667989;border-radius:12px;min-width:0}
#cmAskBody .cmps :is(button,select,summary,a):focus-visible{outline:3px solid #f0d38a;outline-offset:3px}
#cmAskBody .ask-example-hint{color:#d0dce7;font-size:15px;line-height:1.6;margin-top:18px}
@media(min-width:760px){#cmAskBody .cmps-papers{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* --- source: assets/css/camadamed-drug-search-r622.css --- */
/* Scoped to the existing dark study panel; native form controls stay readable. */
#cmAskBody .cmdr{min-width:0;padding:0 0 1.4rem;margin:0 0 1.4rem;border-bottom:1px solid #637487;color:#f6f2e7}
#cmAskBody .cmdr,#cmAskBody .cmdr *,#cmAskBody .cmdr-reference,#cmAskBody .cmdr-reference *{-webkit-text-fill-color:currentColor;text-shadow:none}
#cmAskBody .cmdr h3,#cmAskBody .cmdr h4{color:#f6f2e7;margin:.6rem 0}
#cmAskBody .cmdr p{line-height:1.6;margin:.7rem 0}
#cmAskBody .cmdr label,#cmAskBody .cmdr-term{display:block;font-size:1rem;font-weight:650;color:#e5eaf0;margin:.65rem 0 .4rem;min-width:0}
#cmAskBody .cmdr input,#cmAskBody .cmdr select,#cmAskBody .cmdr-term-row input{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;box-sizing:border-box;border:1px solid #a4b1b6;border-radius:12px;padding:.8rem;background:#fffcf5;color:#1c2938;font-size:16px;line-height:1.45;color-scheme:light}
#cmAskBody .cmdr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
#cmAskBody .cmdr button,#cmAskBody .cmdr-term-row button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere;font:inherit;line-height:1.45;cursor:pointer;background:#172d44;color:#f2f5f8;border:1px solid #a7b7c7;border-radius:12px;padding:12px}
#cmAskBody .cmdr .cmdr-primary{width:100%;background:linear-gradient(145deg,#f1d576,#b88b34);color:#101b27;font-weight:750;border:1px solid #eed37e;border-radius:12px;padding:.85rem;margin-top:.9rem}
#cmAskBody .cmdr-results{min-width:0;margin-top:1rem;border:1px solid #637487;border-radius:12px;padding:0 .8rem}
#cmAskBody .cmdr-results>summary{padding:1rem 0;color:#f6f2e7;font-weight:650;min-height:48px;box-sizing:border-box}
#cmAskBody .cmdr-results section{min-width:0;padding:.6rem 0 1rem;border-top:1px solid #637487}
#cmAskBody .cmdr-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
#cmAskBody .cmdr-products button{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start;text-align:left;background:#102338;color:#f6f2e7;border:1px solid #8294a5;border-radius:12px;padding:.85rem;width:100%;min-width:0}
#cmAskBody .cmdr-products strong{color:#f6f2e7;font-size:1rem}
#cmAskBody .cmdr-products span,#cmAskBody .cmdr-products small{color:#c9d4df;max-width:100%;overflow-wrap:anywhere}
#cmAskBody .cmdr-reference,#cmAskBody .cmdr-reference *{min-width:0;overflow-wrap:anywhere}
#cmAskBody .cmdr-term-row{display:flex;gap:.65rem;align-items:stretch;flex-wrap:wrap}
#cmAskBody .cmdr-term-row input{flex:1 1 220px}#cmAskBody .cmdr-term-row button{flex:0 1 auto}
#cmAskBody .cmdr-sections{padding-left:1.25rem;line-height:1.65}#cmAskBody .cmdr-sections li{margin:.45rem 0}
#cmAskBody .cmps .cmps-warning{color:#f0d58c;border-left:3px solid #d7b45c;padding-left:.8rem}
#cmAskBody .cmdr :focus-visible,#cmAskBody .cmdr-reference :focus-visible{outline:3px solid #9ecbff;outline-offset:3px}
#cmAskBody .cmdr button:disabled,#cmAskBody .cmdr-reference button:disabled{opacity:1;background:#172d44;color:#c9d4df;cursor:default}
@media(max-width:600px){#cmAskBody .cmdr-fields,#cmAskBody .cmdr-products{grid-template-columns:minmax(0,1fr)}#cmAskBody .cmdr-term-row>*{flex-basis:100%}}


/* --- source: assets/css/camadamed-platform-r636.css --- */
/* R6.36 — approved R6.30 typography/palette on platform surfaces. Clinical severity colors retained. */
html:has(body.cm-premium-r636){background:#080e1a;scroll-padding-top:108px}
html body.cm-platform-page.cm-premium-r636{--cm636-bg:#080e1a;--cm636-text:#f1f4fa;--cm636-muted:#adb8cb;--cm636-gold:#e7c27e;--cm636-blue:#86b9ff;--cm636-line:rgba(184,202,230,.18);--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--serif:var(--sans);font-family:var(--sans)!important;background:radial-gradient(ellipse 100% 700px at 10% 0,rgba(28,63,116,.23),transparent),#080e1a!important;color:var(--cm636-text)!important}
html body.cm-premium-r636 :is(button,input,select,textarea){font-family:var(--sans)}
html body.cm-premium-r636 :is(h1,h2,h3,.display,.serif){font-family:var(--sans)!important;letter-spacing:-.035em;line-height:1.2}
html body.cm-premium-r636 :is(button,a,summary,[role=button]){touch-action:manipulation}
html body.cm-premium-r636 :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible{outline:3px solid #86b9ff!important;outline-offset:4px}
html body.cm-premium-r636 :is(button,a,input,textarea,select,summary){scroll-margin-block:110px 125px}
html body.cm-premium-r636 :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;line-height:1.55;max-width:100%}
html body.cm-premium-r636 :is(.btn,.opt,.cm-study-primary,.cm-study-secondary,.cm-study-back,.sheet-x){min-height:46px}
html body.cm-premium-r636 .btn{border-radius:15px!important;font-weight:600;line-height:1.4}
html body.cm-premium-r636 .btn-gold{background:#e7c27e!important;color:#171b23!important;-webkit-text-fill-color:currentColor!important;box-shadow:0 4px 18px #0002!important}
html body.cm-premium-r636 .btn-gold:hover{background:#f2d59c!important}
html body.cm-premium-r636 #app{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html body.cm-premium-r636 #app .pad{padding-block:24px!important}
/* Persistent glass chrome. */
html body.cm-premium-r636.cmc7-active :is(#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar){background:rgba(16,26,43,.94)!important;border:1px solid #cdddf72e!important;border-radius:24px!important;box-shadow:0 10px 40px #0003,inset 0 1px 1px #eff6ff14!important}
@supports ((backdrop-filter:blur(24px)) or (-webkit-backdrop-filter:blur(24px))){html body.cm-premium-r636.cmc7-active :is(#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar){background:rgba(16,26,43,.79)!important;backdrop-filter:blur(24px) saturate(1.25)!important;-webkit-backdrop-filter:blur(24px) saturate(1.25)!important}}
html body.cm-premium-r636 #cmc7Toolbar{position:sticky!important;top:max(8px,env(safe-area-inset-top));z-index:39;overflow:visible!important}
html body.cm-premium-r636 #cmc7Toolbar .cmc7-link{min-width:44px;min-height:44px;justify-content:center;padding:8px}
html body.cm-premium-r636 #cmc7Toolbar .cmc7-more-top span{display:none}
html body.cm-premium-r636 .cmc7-language button{min-height:44px;min-width:36px}
html body.cm-premium-r636 #cmc7Dock{padding:6px!important;gap:3px}
html body.cm-premium-r636 #cmc7Dock .cmc7-link{min-height:58px;font-size:11px}
html body.cm-premium-r636 .cmc7-link.is-current{background:#ffffff0e!important;border-color:#ffffff18!important;box-shadow:none!important;color:#e7c27e!important}
html body.cm-premium-r636 .cm-sapphire-edge{padding:1px!important;opacity:.7!important}
html body.cm-premium-r636 .cm-sapphire-bevel{box-shadow:inset 0 1px 1px #e4efff10!important;border:0!important}
html body.cm-premium-r636 .cm-sapphire-light{filter:saturate(.75)}
html body.cm-premium-r636 .glass::after{mix-blend-mode:normal;opacity:.12}
/* Home: Patients, Study, Book. */
html body.cm-premium-r636 #app #v-dash .pi-hello{margin:14px 0 28px!important}
html body.cm-premium-r636 #app #v-dash .pi-hello h1{font-size:clamp(29px,4vw,44px)!important;letter-spacing:-.045em!important;color:#f1f4fa!important;line-height:1.15!important}
html body.cm-premium-r636 #app #v-dash .pi-hello p{font-size:16px!important;line-height:1.6!important;color:#adb8cb!important;max-width:48em;margin-top:10px}
html body.cm-premium-r636 #app #v-dash .pi-hello-eyebrow{color:#86b9ff!important;font-size:12px!important;letter-spacing:.06em}
html body.cm-premium-r636 #app #v-dash .pi-grid-clinical{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"study" "book" "activities" "list" "reminders" "kpis"!important;gap:16px!important}
html body.cm-premium-r636 #app #v-dash .pi-area-study{grid-area:study;order:0}
html body.cm-premium-r636 #app #v-dash .pi-area-book{grid-area:book;min-width:0}
html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry,[data-cm-p0-quick] .tile){display:flex!important;align-items:center;gap:18px;width:100%;min-height:122px!important;height:auto!important;text-align:left;padding:24px!important;background:linear-gradient(125deg,#96aad210,#12192933 48%,#71598410),rgba(13,21,35,.88)!important;border:1px solid #d5e2f924!important;border-radius:24px!important;box-shadow:inset 0 1px 1px #e4efff10,0 12px 36px #0002!important}
html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry,[data-cm-p0-quick] .tile) :is(.tt,.ts,.ti){color:#f1f4fa!important;-webkit-text-fill-color:currentColor!important}
html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry,[data-cm-p0-quick] .tile) .tt{font-size:24px!important;font-weight:600!important;letter-spacing:-.025em;display:block}
html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry,[data-cm-p0-quick] .tile) .ts{display:block;font-size:14px!important;line-height:1.5!important;color:#adb8cb!important;margin-top:6px;font-weight:400}
html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry,[data-cm-p0-quick] .tile) .ti{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;flex:0 0 48px;background:#86b9ff12!important;color:#86b9ff!important}
html body.cm-premium-r636 #app #v-dash .pi-book-entry .ti{color:#e7c27e!important;background:#e7c27e12!important}
html body.cm-premium-r636 #app #v-dash .ti svg{width:25px;height:25px}
html body.cm-premium-r636 #app #v-dash .pi-study-entry::after{display:none!important}
html body.cm-premium-r636 #app #v-dash .tx{flex:1;min-width:0}
html body.cm-premium-r636 .cm636-arrow{color:#adb8cb;font:400 23px var(--sans);margin-left:auto}
html body.cm-premium-r636 #app #v-dash :is(.pi-card,.pi-kpi){background:rgba(17,28,46,.85)!important;border:1px solid #b8cae626!important;border-radius:22px!important;box-shadow:none!important;padding:22px!important}
html body.cm-premium-r636 #app #v-dash :is(.pi-kpi-value,.pi-row-name,.pi-list-text,.pi-duo-value){color:#f1f4fa!important;-webkit-text-fill-color:currentColor!important}
html body.cm-premium-r636 #app #v-dash :is(.pi-card-title,.pi-kpi-label,.pi-row-sub,.pi-row-time,.pi-empty,.pi-duo-label,.pi-list-time,.pi-bar-top){color:#adb8cb!important;-webkit-text-fill-color:currentColor!important;line-height:1.55}
html body.cm-premium-r636 #app #v-dash .pi-card-title{font:600 12px/1.5 var(--sans)!important;letter-spacing:.06em}
html body.cm-premium-r636 #app #v-dash :is(.pi-empty,.pi-list-text){font-size:15px!important}
html body.cm-premium-r636 #app #v-dash .pi-row{min-height:64px;gap:12px}
/* Study and schedule. */
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono){background:transparent!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) :is(.cm-study-head h1,.cm204-head-copy h1){font-size:clamp(28px,4vw,40px)!important;font-weight:600!important;line-height:1.15!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) :is(.cm-study-section-head h2,.cm204-section-title h2){font-size:22px!important;line-height:1.25!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) :is(.cm-study-head p,.cm-study-now-meta,.cm204-head-copy p,.cm204-next-meta){font-size:15px!important;line-height:1.6!important;color:#adb8cb!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) :is(.cm-study-card,.cm-study-now,.cm-study-list,.cm204-card,.cm204-hero,.cm206-week,.cm206-day-detail){border-radius:22px!important;background:rgba(17,28,46,.84)!important;border-color:#b8cae626!important;box-shadow:none!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card{padding:20px!important;min-height:150px;gap:16px}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy b{font-size:17px!important;line-height:1.35!important;font-weight:600!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy small{font-size:13px!important;line-height:1.5!important;color:#adb8cb!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-grid{gap:14px}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-section{margin-bottom:32px}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-list button{padding:16px;min-height:72px}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-list button>b{font-size:15px!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-list button>small{font-size:12px!important;color:#adb8cb!important}
html body.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm206-week-nav button{min-width:44px;min-height:44px}
/* Book and protected PDFs. */
html body.cm-premium-r636 #app #v-livro{max-width:1000px;margin-inline:auto}
html body.cm-premium-r636 .cm636-page-head{margin:0 0 26px}
html body.cm-premium-r636 .cm636-page-head h1{font-size:40px!important;margin:8px 0 12px;color:#f1f4fa!important}
html body.cm-premium-r636 .cm636-page-head p{font-size:16px!important;color:#adb8cb!important;line-height:1.65}
html body.cm-premium-r636 #app #v-livro :is(.glass,.resource){background:rgba(17,28,46,.88)!important;border:1px solid #b8cae626!important;border-radius:22px!important;box-shadow:none!important;color:#f1f4fa!important}
html body.cm-premium-r636 #app #v-livro :is(.serif,.display,.resource b){color:#f1f4fa!important;-webkit-text-fill-color:currentColor!important}
html body.cm-premium-r636 #app #v-livro :is(.mute,.note,.resource small){color:#adb8cb!important;-webkit-text-fill-color:currentColor!important;line-height:1.65!important;font-size:14px!important}
html body.cm-premium-r636 #app #v-livro .eyebrow{color:#e7c27e!important;letter-spacing:.08em;font-size:11px}
html body.cm-premium-r636 .cm636-book-cover{padding:26px!important;gap:24px!important;align-items:center!important}
html body.cm-premium-r636 .cm636-book-cover .cover{min-width:95px;max-width:130px;flex:0 0 28%;border-radius:12px;box-shadow:0 12px 22px #0005}
html body.cm-premium-r636 .cm636-read{width:100%;text-decoration:none;margin-top:18px;min-height:52px}
html body.cm-premium-r636 .cm636-book-access{margin:14px 0 22px}
html body.cm-premium-r636 .cm636-book-actions{display:flex;gap:12px;flex-wrap:wrap}
html body.cm-premium-r636 .cm636-book-actions .btn{flex:1 1 200px;background:#ffffff08!important;color:#f1f4fa!important;-webkit-text-fill-color:currentColor!important;border-color:#b8cae62e!important}
html body.cm-premium-r636 #app #v-livro .resource{padding:18px;gap:14px;min-height:90px;margin-bottom:12px}
html body.cm-premium-r636 #app #v-livro .resource b{font-size:15px!important;font-weight:600}
html body.cm-premium-r636 #app #v-livro .resource .go{color:#86b9ff!important;white-space:nowrap}
/* Quiet opaque panels for clinical reading and input. Severity indicators retain their palette. */
html body.cm-premium-r636 #sheet .sheet-card{background:#f4f6fa!important;border:1px solid #d4dfed!important;border-radius:26px 26px 0 0!important;box-shadow:0 -20px 80px #0005!important;padding:30px 24px calc(28px + env(safe-area-inset-bottom))!important;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain}
html body.cm-premium-r636 #sheet .sheet-card>.sheet-x{position:sticky;bottom:0;display:block;margin:18px 0 0 auto;width:46px;min-height:46px;border:1px solid #aab9ca;background:#e8edf5!important;color:#142239!important;font-size:24px;border-radius:14px}
html body.cm-premium-r636 #sheet .sheet-card :is(.eyebrow,.note,.mute){font-size:13px!important;line-height:1.6!important}
html body.cm-premium-r636 #sheet .sheet-card :is(input,textarea,select){background:#fff!important;color:#142239!important;border-radius:13px!important}
html body.cm-premium-r636 #sheet .study-choice{min-height:64px;border-radius:16px;padding:16px}
html body.cm-premium-r636 #sheet .study-choice b{font-size:16px}
html body.cm-premium-r636 #sheet .study-choice small{font-size:13px;line-height:1.5}
html body.cm-premium-r636 #app :is(.sc-card,.cmw-section,.cmw-card){border-radius:22px!important}
html body.cm-premium-r636 #app :is(.cmw-actions button,.sc-btn){min-height:46px}
html body.cm-premium-r636 #app :is(.cmw-note,.cmw-muted){line-height:1.6}
html body.cm-premium-r636 #pomo .study-card{background:#f4f6fa!important;border-radius:24px!important;box-shadow:none!important}
html body.cm-premium-r636 #app .btn:disabled{cursor:default}
@media(min-width:1000px){html body.cm-premium-r636 #cmc7Toolbar{position:fixed!important;top:24px!important}html body.cm-premium-r636 #app #v-dash .pi-grid-clinical{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;grid-template-areas:"study activities" "book reminders" "list list" "kpis kpis"!important}html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry){min-height:150px!important}html body.cm-premium-r636 .cmc7-more-top span{display:inline!important}}
@media(max-width:999px){html body.cm-premium-r636.cmc7-active main.app{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}html body.cm-premium-r636 #cmc7Toolbar{margin-inline:16px!important;gap:2px!important;padding:8px!important}html body.cm-premium-r636 #cmc7Toolbar .cmc7-mobile-logo{width:clamp(88px,21vw,148px)!important;max-width:100%!important}html body.cm-premium-r636 #cmc7Toolbar .cmc7-mobile-home{flex:1;min-width:0}html body.cm-premium-r636 #cmc7Toolbar .cmc7-search{display:none!important}}
@media(max-width:380px){html body.cm-premium-r636 #cmc7Toolbar{margin-inline:10px!important;padding:6px!important}html body.cm-premium-r636 #cmc7Toolbar .cmc7-link{min-width:38px;padding:6px}html body.cm-premium-r636 .cmc7-language button{min-width:32px}html body.cm-premium-r636 #app #v-dash :is(.pi-study-entry,.pi-book-entry,[data-cm-p0-quick] .tile){padding:20px!important;gap:12px}html body.cm-premium-r636 #app .cm-study-grid{grid-template-columns:minmax(0,1fr)}html body.cm-premium-r636 .cm636-book-cover{flex-direction:column!important;align-items:flex-start!important}}
@media(prefers-reduced-motion:reduce){html:has(body.cm-premium-r636){scroll-behavior:auto}html body.cm-premium-r636 *,html body.cm-premium-r636 *::before,html body.cm-premium-r636 *::after{animation:none!important;transition:none!important}}
@media(prefers-reduced-transparency:reduce){html body.cm-premium-r636 :is(#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar,.pi-study-entry,.pi-book-entry,.pi-card,.cm-study-card){background:#111c2e!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html body.cm-premium-r636 .cm-sapphire-edge{display:none!important}}
@media(forced-colors:active){html body.cm-premium-r636 :is(button,a,.pi-card,.cm-study-card){border:1px solid ButtonText!important}html body.cm-premium-r636 :is(.cm-sapphire-edge,.cm-sapphire-bevel){display:none!important}}
@media print{html body.cm-premium-r636 :is(#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar){display:none!important}html body.cm-premium-r636 main.app{padding:0!important}}

html body.cm-premium-r636 #app #v-livro .cm636-cover-image{display:block;width:130px;max-width:30%;height:auto;flex:0 0 auto;border-radius:9px;box-shadow:0 12px 28px #0005}
html body.cm-premium-r636 #app #v-livro .cm636-buy{display:inline-flex;align-items:center;min-height:44px;color:#86b9ff!important;font:500 14px/1.5 var(--sans);text-decoration:none;margin-bottom:20px}
@media(max-width:380px){html body.cm-premium-r636 #app #v-livro .cm636-cover-image{max-width:140px;width:45%}}
html body.cm-premium-r636 #app #v-dash .cm636-load-error{padding:20px;margin-bottom:20px;border:1px solid #e7c27e66;border-radius:20px;background:#172136;color:#f1f4fa}
html body.cm-premium-r636 #app #v-dash .cm636-load-error p{font-size:15px;line-height:1.6;color:#dce4ef}
html body.cm-premium-r636 #app #v-dash .cm636-load-error .btn{margin-top:12px;background:#ffffff0c!important;color:#f1f4fa!important;-webkit-text-fill-color:currentColor!important;border:1px solid #b8cae63d!important}
/* Secondary work areas share the same spacing and reading surfaces. */
html body.cm-premium-r636 #app>[id^="v-"]>:is(.display,.progress-head .display){color:#f1f4fa!important}
html body.cm-premium-r636 #app>[id^="v-"]>.eyebrow{color:#adb8cb!important}
html body.cm-premium-r636 #app :is(#v-hoje,#v-prog,#v-mats,#v-matdet,#v-metodo,#v-cards,#v-casos,#v-escala,#v-passagem,#v-espelho,#v-clinica,#v-patient,#v-painel) :is(.glass.card,.glass.resource,.learning-summary,.subject-next,.stat){background:#f4f6fa!important;border:1px solid #d4dfed!important;border-radius:22px!important;box-shadow:0 6px 20px #0001!important}
html body.cm-premium-r636 #app :is(#v-hoje,#v-prog,#v-mats,#v-matdet,#v-metodo,#v-cards,#v-casos,#v-escala,#v-passagem,#v-espelho,#v-clinica,#v-patient,#v-painel) :is(.glass.card,.glass.resource) :is(h1,h2,h3,b,strong,.serif,.display){color:#142239!important;-webkit-text-fill-color:currentColor!important}
html body.cm-premium-r636 #app :is(#v-hoje,#v-prog,#v-mats,#v-matdet,#v-metodo,#v-cards,#v-casos,#v-escala,#v-passagem,#v-espelho,#v-clinica,#v-patient,#v-painel) :is(.glass.card,.glass.resource) :is(p,.note,.mute,.tiny){color:#4c5d72!important;-webkit-text-fill-color:currentColor!important;line-height:1.6!important}


/* --- source: assets/css/camadamed-patient-selection-r652.css --- */
/* R6.37 — Selection controls scoped to the patient list. */
html body.cm-premium-r636 #app #v-clinica #patientList .cm-patient-row{
 appearance:none;display:flex;align-items:center;gap:12px;width:100%;text-align:left;cursor:pointer;
 padding:14px 16px;margin:0 0 10px;font:inherit;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;
 touch-action:pan-y pinch-zoom;min-width:0;transition:border-color .18s,box-shadow .18s,background .18s;
}
html body.cm-premium-r636 #app #v-clinica .cm-patient-row-content{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;min-width:0}
html body.cm-premium-r636 #app #v-clinica .cm-patient-row-copy{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
html body.cm-premium-r636 #app #v-clinica .cm-patient-name{display:block;font-size:17px;font-weight:600;color:#142239!important;-webkit-text-fill-color:currentColor!important;line-height:1.4}
html body.cm-premium-r636 #app #v-clinica .cm-patient-meta{display:block;margin-top:3px;color:#4c5d72!important;line-height:1.5}
html body.cm-premium-r636 #app #v-clinica .cm-patient-meta:empty{display:none}
html body.cm-premium-r636 #app #v-clinica .cm-patient-dx{display:block;font-size:13px;line-height:1.5;margin-top:6px;color:#4c5d72!important}
html body.cm-premium-r636 #app #v-clinica .cm-patient-row .when{flex:none;color:#142239!important;-webkit-text-fill-color:currentColor!important;font-size:13px;line-height:1.6}
html body.cm-premium-r636 #app #v-clinica .cm-patient-check{display:none;width:25px;height:25px;flex:0 0 25px;border:1.5px solid #8292a8;border-radius:50%;color:transparent!important;-webkit-text-fill-color:transparent!important;place-items:center;font-size:15px;font-weight:700}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selecting .cm-patient-check{display:grid}
html body.cm-premium-r636 #app #v-clinica #patientList .cm-patient-row.is-selected{background:#e5edf9!important;border-color:#6e9bdb!important;box-shadow:inset 0 0 0 1px #6e9bdb!important}
html body.cm-premium-r636 #app #v-clinica .cm-patient-row.is-selected .cm-patient-check{background:#305f9f;border-color:#305f9f;color:#fff!important;-webkit-text-fill-color:currentColor!important}
html body.cm-premium-r636 #app #v-clinica .cm-patient-row:disabled{cursor:progress;opacity:.8}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection{position:sticky;top:calc(90px + env(safe-area-inset-top));z-index:28;margin-bottom:14px;border-radius:20px;background:rgba(16,26,43,.97);color:#f1f4fa;border:1px solid #b8cae62e;padding:14px}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-idle{display:flex;align-items:center;gap:12px;justify-content:space-between}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-idle p{font:400 12px/1.5 var(--sans);color:#adb8cb}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection :is(button){appearance:none;min-height:44px;border:1px solid #b8cae633;border-radius:12px;background:#ffffff0b;color:#f1f4fa;font:600 13px/1.35 var(--sans);padding:10px 12px;cursor:pointer}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-title strong{color:#f1f4fa!important;font:600 15px/1.4 var(--sans)}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-actions button{flex:1 1 135px}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection .cm-patient-delete{background:#6e2638;color:#fff;border-color:#e399a84d}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection button:disabled{opacity:.5;cursor:default}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection-message{margin-top:12px;font:400 13px/1.6 var(--sans);color:#e7c27e}
html body.cm-premium-r636 #app #v-clinica .cm-patient-selection [hidden]{display:none!important}
@supports ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))){html body.cm-premium-r636 #app #v-clinica .cm-patient-selection{background:rgba(16,26,43,.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}}
@media(max-width:380px){html body.cm-premium-r636 #app #v-clinica #patientList .cm-patient-row{padding:14px 16px;gap:9px}html body.cm-premium-r636 #app #v-clinica .cm-patient-row-content{gap:8px}html body.cm-premium-r636 #app #v-clinica .cm-patient-row .when{font-size:11px}}
@media(prefers-reduced-motion:reduce){html body.cm-premium-r636 #app #v-clinica #patientList .cm-patient-row{transition:none}}
@media(prefers-reduced-transparency:reduce){html body.cm-premium-r636 #app #v-clinica .cm-patient-selection{background:#101a2b;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(forced-colors:active){html body.cm-premium-r636 #app #v-clinica #patientList .cm-patient-row.is-selected{outline:2px solid Highlight}html body.cm-premium-r636 #app #v-clinica .cm-patient-check{forced-color-adjust:none}}

/* R6.52: sibling actions avoid nesting buttons inside a patient button. */
#patientList .cm-patient-swipe-actions{display:flex;justify-content:flex-end;gap:8px;margin:-4px 0 14px;padding:4px;flex-wrap:wrap}
#patientList .cm-patient-swipe-actions button{min-height:44px;padding:10px 18px;border-radius:12px;border:1px solid #b8cae655;background:#17263b;color:#fff;font:600 14px/1.4 var(--sans);cursor:pointer}
#patientList .cm-patient-swipe-actions .cm-patient-swipe-delete{background:#8e2940;border-color:#d98b9d}


/* --- source: assets/css/camadamed-boot-r638.css --- */
/* R6.38 — platform loading screen, matching CAMADA Finance's opening. */
html body.cm-platform-page #boot.cm-boot{
 position:fixed!important;inset:0!important;z-index:120;overflow:auto;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 background:#080f1b!important;color:#e7c27e!important;animation:none!important;isolation:isolate;
}
html body.cm-platform-page #boot.cm-boot::before,html body.cm-platform-page #boot.cm-boot::after{display:none!important}
html body.cm-platform-page #boot.cm-boot>.wrap{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;
 min-height:100vh;min-height:100svh;width:100%;max-width:none;
 padding:calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
}
html body.cm-platform-page #boot .cm-boot-content{width:min(100%,380px);display:flex;flex-direction:column;align-items:center;gap:0;text-align:center}
html body.cm-platform-page #boot .cm-boot-wordmark{display:block;width:100%;height:auto;max-width:360px;margin:0 auto 48px;object-fit:contain;filter:none!important}
html body.cm-platform-page #boot .cm-boot-ecg{display:block;width:82%;height:auto;max-width:300px;margin:0 0 28px;overflow:visible;color:#e7c27e}
html body.cm-platform-page #boot .cm-boot-ecg path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.8;vector-effect:non-scaling-stroke}
html body.cm-platform-page #boot .cm-boot-ecg .cm-boot-ecg-base{opacity:.19}
html body.cm-platform-page #boot .cm-boot-ecg .cm-boot-ecg-pulse{stroke-dasharray:78 282;stroke-dashoffset:360;animation:cmBootHeartbeat 2.6s linear infinite}
@keyframes cmBootHeartbeat{to{stroke-dashoffset:0}}
html body.cm-platform-page #boot .cm-boot-title{margin:0!important;color:#e7c27e!important;-webkit-text-fill-color:currentColor!important;font:650 clamp(22px,6vw,27px)/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.025em!important}
html body.cm-platform-page #boot .cm-boot-note{max-width:260px;margin:18px auto 0!important;color:#adb8cb!important;-webkit-text-fill-color:currentColor!important;font:500 15px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important}
html body.cm-platform-page #boot .cm-boot-es{display:none}
html body.cm-platform-page #boot[data-cm-boot-lang="es"] .cm-boot-pt{display:none}
html body.cm-platform-page #boot[data-cm-boot-lang="es"] .cm-boot-es{display:inline}
html body.cm-platform-page #boot[data-cm-boot-error="true"] .cm-boot-ecg-pulse{animation:none;stroke-dasharray:none;opacity:.35}
@media(max-width:360px){html body.cm-platform-page #boot .cm-boot-wordmark{margin-bottom:38px}html body.cm-platform-page #boot .cm-boot-note{font-size:14px!important}}
@media(max-height:480px) and (orientation:landscape){html body.cm-platform-page #boot .cm-boot-wordmark{width:260px;margin-bottom:16px}html body.cm-platform-page #boot .cm-boot-ecg{max-width:230px;margin-bottom:12px}html body.cm-platform-page #boot .cm-boot-note{margin-top:8px!important}}
@media(prefers-reduced-motion:reduce){html body.cm-platform-page #boot .cm-boot-ecg-pulse{animation:none;stroke-dasharray:none;stroke-dashoffset:0}}
@media(forced-colors:active){html body.cm-platform-page #boot.cm-boot{background:Canvas!important;color:CanvasText!important}html body.cm-platform-page #boot :is(.cm-boot-title,.cm-boot-note){color:CanvasText!important}}


/* --- source: assets/css/camadamed-boot-r640.css --- */
.cm-boot-recovery{display:grid;gap:10px;margin:25px auto 0;width:min(100%,350px)}
.cm-boot-recovery[hidden]{display:none}
.cm-boot-recovery button,.cm-boot-recovery a{display:block;width:100%;box-sizing:border-box;border:1px solid rgba(229,193,124,.4);border-radius:16px;padding:13px 18px;text-align:center;text-decoration:none;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;color:#f7e7c6;background:rgba(19,45,67,.8);cursor:pointer}
.cm-boot-recovery button{background:linear-gradient(120deg,#ffe9b5,#dfb96c);color:#102638}
.cm-boot-recovery :focus-visible{outline:3px solid #8dbaff;outline-offset:3px}
.cm-boot[data-cm-boot-error="true"] .cm-boot-content{padding-top:20px;padding-bottom:30px}


/* --- source: assets/css/camadamed-longitudinal-r647.css --- */
/* R6.44: patient case learning. */
.cml{--cml-bg:#081723;--cml-card:#10283a;--cml-soft:#173447;--cml-line:#314c60;--cml-text:#f4f5f7;--cml-muted:#b5c7d5;--cml-gold:#e8c88a;--cml-teal:#83d5ce;--cml-red:#ffb3a7;box-sizing:border-box;color:var(--cml-text);font:400 17px/1.6 Inter,system-ui,-apple-system,sans-serif;letter-spacing:0;overflow-wrap:anywhere;color-scheme:dark}
.cml *{box-sizing:border-box}.cml h2,.cml h3,.cml h4,.cml p{color:inherit;margin:0 0 12px}.cml h2{font-size:clamp(25px,4vw,36px);line-height:1.2;letter-spacing:-.035em;font-weight:700}.cml h3{font-size:21px;line-height:1.35;letter-spacing:-.02em}.cml h4{font-size:18px}.cml small,.cml .cml-note{font-size:14px;line-height:1.55;color:var(--cml-muted)}.cml .cml-eyebrow{color:var(--cml-gold);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:9px}
.cml.cml-surface{background:linear-gradient(135deg,#0c1f2e,#081521);border:1px solid var(--cml-line);border-radius:26px;padding:clamp(18px,3vw,30px);margin-bottom:22px;box-shadow:0 14px 40px #0002}.cml .cml-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.cml .cml-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.cml button,.cml .cml-btn{appearance:none;cursor:pointer;border:1px solid var(--cml-line);background:var(--cml-soft);color:var(--cml-text);font:600 15px/1.3 Inter,system-ui,sans-serif;min-height:46px;border-radius:13px;padding:12px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;max-width:100%;white-space:normal;text-align:left}.cml button:hover,.cml .cml-btn:hover{background:#24465b;border-color:var(--cml-muted)}.cml button:disabled{opacity:.48;cursor:wait}.cml .cml-primary{background:var(--cml-gold);border-color:var(--cml-gold);color:#11202b}.cml .cml-primary:hover{background:#f6dca9}.cml .cml-quiet{background:transparent}.cml .cml-danger{border-color:var(--cml-red);color:var(--cml-red)}.cml :focus-visible{outline:3px solid var(--cml-teal);outline-offset:4px}.cml a{color:var(--cml-teal)}
.cml .cml-scenarios{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:18px}.cml .cml-scenario{justify-content:flex-start;align-items:flex-start;padding:16px;min-height:105px;flex-direction:column;gap:5px}.cml .cml-scenario span{font-size:13px;color:var(--cml-muted);font-weight:400}.cml .cml-scenario[aria-pressed=true]{border-color:var(--cml-gold);box-shadow:inset 0 0 0 1px var(--cml-gold);background:#23384a}.cml .cml-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cml .cml-grid>*{min-width:0}.cml .cml-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}.cml .cml-stat{background:#173246;border:1px solid var(--cml-line);padding:16px;border-radius:17px}.cml .cml-stat b{display:block;color:var(--cml-gold);font-size:25px;line-height:1.3}.cml .cml-stat span{font-size:13px;color:var(--cml-muted)}
.cml .cml-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0 18px}.cml .cml-tabs button[aria-pressed=true]{background:var(--cml-gold);color:#102434;border-color:var(--cml-gold)}.cml .cml-card{background:var(--cml-card);border:1px solid var(--cml-line);border-radius:20px;padding:20px;margin:14px 0}.cml .cml-card .cml-actions{margin-top:12px}.cml .cml-empty{padding:28px 12px;color:var(--cml-muted);text-align:center}.cml .cml-state{font-size:13px;border:1px solid var(--cml-line);background:#132e3e;color:var(--cml-muted);padding:4px 10px;border-radius:30px;display:inline-block}.cml .cml-state.low,.cml .cml-state.high{color:var(--cml-red);border-color:#b57870}.cml .cml-state.range{color:var(--cml-teal)}.cml .cml-alert{color:var(--cml-red);border-left:3px solid var(--cml-red);padding:13px 17px;background:#4b25292b;border-radius:8px;margin:12px 0}.cml .cml-success{color:var(--cml-teal)}
.cml label{display:block;font-size:15px;font-weight:600;color:var(--cml-text);margin:10px 0 6px}.cml input:not([type=checkbox]),.cml select,.cml textarea{display:block;width:100%;min-width:0;min-height:48px;font:400 17px/1.5 Inter,system-ui,sans-serif;border:1px solid #547085;background:#0a1d2c;color:#f4f6fa;border-radius:12px;padding:11px 13px;box-shadow:none;letter-spacing:0}.cml textarea{min-height:105px;resize:vertical}.cml input::placeholder,.cml textarea::placeholder{color:#a4b9c9}.cml input[type=checkbox]{width:21px;height:21px;accent-color:var(--cml-gold);flex:none}.cml .cml-check{display:flex;align-items:flex-start;gap:12px;font-weight:400;line-height:1.5}.cml input[type=datetime-local]{max-width:100%;width:100%;font-size:16px;min-inline-size:0}.cml .cml-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.cml .cml-measure{background:#0d2232;border:1px solid var(--cml-line);padding:14px;border-radius:15px;min-width:0}.cml .cml-measure label{margin-top:0}.cml .cml-measure small{display:block;margin-top:8px}.cml .cml-measure .cml-link{min-height:35px;font-size:12px;padding:7px 9px;margin-top:8px}.cml .cml-measures{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.cml details{border:1px solid var(--cml-line);border-radius:16px;padding:17px 18px;margin:15px 0;background:#0d2233}.cml summary{font-weight:650;cursor:pointer;min-height:35px;font-size:18px;color:var(--cml-text)}.cml details[open]>summary{margin-bottom:18px}.cml .cml-section-title{color:var(--cml-gold);margin:20px 0 10px}.cml .cml-sticky-actions{position:sticky;bottom:-1px;background:#0a1928f5;backdrop-filter:blur(16px);padding:14px 0;margin:16px 0 0;border-top:1px solid var(--cml-line);z-index:5;display:flex;gap:10px;flex-wrap:wrap}.cml .cml-sticky-actions button{flex:1}
.cml .cml-table-scroll{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--cml-line);border-radius:14px}.cml table{width:100%;border-collapse:collapse;font-size:15px;min-width:690px;background:var(--cml-card);color:var(--cml-text)}.cml th,.cml td{border-bottom:1px solid var(--cml-line);padding:14px 12px;text-align:left;vertical-align:top;color:var(--cml-text)}.cml th{font-weight:650;background:#183448}.cml td small{display:block;font-size:12px}.cml td button{font-size:13px;padding:9px 11px}.cml .cml-chart{width:100%;height:auto;display:block;max-height:390px;margin-top:15px}.cml .cml-chart text{font-family:Inter,system-ui,sans-serif;font-size:16px;fill:#c8d9e5}.cml .cml-chart circle{cursor:pointer}.cml .cml-chart-readout{min-height:48px;padding:11px 14px;background:#183447;border-radius:11px;font-size:14px;color:var(--cml-text)}.cml .cml-timeline{border-left:2px solid #3a6572;margin:20px 0 12px 8px;padding-left:20px}.cml .cml-event{position:relative;margin:0 0 15px;padding:15px;border:1px solid var(--cml-line);border-radius:15px;background:var(--cml-card)}.cml .cml-event:before{content:'';position:absolute;width:12px;height:12px;background:var(--cml-gold);border:3px solid var(--cml-bg);border-radius:50%;left:-28px;top:22px}.cml .cml-event b{display:block}
dialog.cml{border:1px solid #466274;background:#0a1a29;border-radius:25px;color:var(--cml-text);width:min(1180px,calc(100vw - 28px));max-width:1180px;height:min(940px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;box-shadow:0 30px 110px #0008;overflow:hidden;z-index:2147483000}dialog.cml[open]{display:flex;flex-direction:column}dialog.cml::backdrop{background:#030c16bf;backdrop-filter:blur(9px)}.cml .cml-dialog-head{padding:20px 25px;border-bottom:1px solid var(--cml-line);display:flex;align-items:center;gap:14px;justify-content:space-between;flex-shrink:0;background:#102538}.cml .cml-dialog-head h2{font-size:24px;margin:0}.cml .cml-dialog-head button{min-width:46px;flex:none}.cml .cml-dialog-body{padding:22px 26px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}.cml .cml-reading{font-size:clamp(18px,2vw,24px);line-height:1.7;max-width:850px;margin:auto}.cml .cml-reading h3{color:var(--cml-gold);font-size:1.05em;border-top:1px solid var(--cml-line);padding-top:22px;margin-top:25px}.cml .cml-reading p{white-space:pre-wrap}.cml .cml-thumbnail{width:100%;max-height:230px;object-fit:contain;background:#06131f;border-radius:12px}.cml .cml-preserve{white-space:pre-wrap}.cml .cml-search{margin:15px 0}.cml .cml-demo-banner{padding:15px 22px;background:#fff0c9;color:#352718;text-align:center;font-weight:700;border-radius:0}.cml .cml-span{grid-column:1/-1}
.cml.cml-demo-banner{padding:14px 20px;background:#e8c88a;color:#102434;text-align:center;font-size:13px;font-weight:700;letter-spacing:.025em}.cml.cml-note{font-size:15px;color:#b5c7d5;line-height:1.6}.cml .cml-chart text{font-size:28px}.cml button{overflow-wrap:normal;word-break:normal}.cml .cml-chart-readout{margin-bottom:12px}
@media(min-width:1000px){.cml.cml-surface{padding:30px}.cml .cml-scenarios{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.cml .cml-actions>button{flex:1 1 128px;min-width:128px;font-size:14px}.cml .cml-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-tabs button{font-size:14px;min-height:48px}.cml .cml-sticky-actions>button{flex:1 1 140px}.cml .cml-chart text{font-size:30px}}
@media(max-width:620px){.cml{font-size:16px}.cml .cml-grid{grid-template-columns:1fr}.cml .cml-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-fields{grid-template-columns:1fr}.cml .cml-measures{grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-measure{padding:12px}.cml .cml-measure label{font-size:14px}.cml .cml-measure small{font-size:12px}.cml .cml-scenarios{grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-scenario{font-size:14px;padding:13px}.cml .cml-card{padding:15px}.cml .cml-tabs button{font-size:14px;min-height:48px}.cml .cml-dialog-head{padding:14px 16px}.cml .cml-dialog-head h2{font-size:21px}.cml .cml-dialog-body{padding:16px}.cml .cml-actions>button{flex:1 1 128px;min-width:128px}dialog.cml{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.cml .cml-sticky-actions{bottom:-16px;padding:12px 0 20px}.cml .cml-state{font-size:12px}.cml .cml-chart text{font-size:30px}}
@media(prefers-reduced-motion:no-preference){.cml button{transition:background .15s,border-color .15s}.cml.cml-surface{animation:cml-appear .25s ease-out}@keyframes cml-appear{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media print{body.cml-print>:not(dialog[open]){display:none!important}dialog.cml[open]{position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0;background:white!important;box-shadow:none}.cml .cml-dialog-body{overflow:visible!important;color:black!important}.cml .cml-dialog-head,.cml .cml-sticky-actions,.cml .cml-actions{display:none!important}.cml .cml-reading,.cml .cml-reading h3,.cml .cml-reading p{color:black!important;break-inside:avoid}.cml .cml-reading{font-size:12pt}}

@media(max-width:620px){.cml .cml-dialog-head{padding-top:calc(14px + env(safe-area-inset-top))}.cml .cml-dialog-body{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}

/* R6.42: legible states, ICU calculations and recoverable drafts. */
.cml .cml-value-state{display:block;margin:9px 0 3px;padding:6px 9px;font-size:13px;line-height:1.5;border:1px solid #5e7788;border-radius:9px;color:#c9d9e4;background:#183345}
.cml .cml-value-state.low,.cml .cml-value-state.high{border-color:#d5b46a;color:#ffe3a2;background:#453b272e}
.cml .cml-value-state.critical{border-color:#ffb3a7;color:#ffe3de;background:#71313e;font-weight:700}
.cml .cml-value-state.range{border-color:#4e9b98;color:#a5eee4;background:#0e3d3a}
.cml .cml-critical{border-color:#ffb3a7;box-shadow:inset 0 0 0 1px #ffb3a7}
.cml .cml-calculations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cml .cml-calculations section{background:#0b1f2f;border:1px solid #456377;border-radius:14px;padding:17px}
.cml .cml-calculations b{display:block;font-size:22px;color:#e8c88a;margin:7px 0}
.cml .cml-calculations small{font-size:15px;color:#e6edf3}
.cml .cml-draft-banner{background:#15364b;border:1px solid #547b92;border-radius:15px;padding:15px;margin-bottom:18px}
.cml .cml-draft-banner>span{font-size:15px;font-weight:600;display:block}
.cml .cml-draft-banner small{display:block;margin-top:10px;font-size:13px}
.cml .cml-measure .cml-link{min-height:44px;font-size:13px;padding:9px 11px}
.cml .cml-measure small,.cml td small{font-size:13px}
@media(max-width:620px){.cml .cml-calculations{grid-template-columns:1fr}.cml .cml-measures{grid-template-columns:1fr}.cml .cml-measure small{font-size:14px}.cml .cml-reading{font-size:19px}}
@media(min-width:760px){#cmlPatient.cml.cml-surface,#cmlGateway.cml.cml-surface{width:min(1160px,calc(100vw - 56px));position:relative;left:50%;transform:translateX(-50%)}}
.cml [hidden]{display:none!important}.cml [id^="cmlSection-"]{scroll-margin-top:10px}
/* R6.43: one context, one patient, one visible review step. */
#cmlClinicBody[hidden]{display:none!important}
.cml .cml-lead{font-size:19px;line-height:1.6;color:#d9e7ef;max-width:760px}
.cml .cml-scenarios{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cml .cml-scenario{min-height:116px;padding:20px;transition:background .15s,border-color .15s}
.cml .cml-scenario b{font-size:19px}.cml .cml-scenario span{font-size:15px;line-height:1.5}
.cml .cml-main-actions>button{min-height:56px;font-size:17px}
.cml .cml-present-button{background:#164443;border-color:#72bdb4;color:#d5fff7}
.cml .cml-route{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0;color:#bcd7e4;font-size:14px}
.cml .cml-route span{padding:7px 11px;border:1px solid #344e60;border-radius:10px}
.cml-native-tools{border:1px solid var(--line,#415569);border-radius:18px;padding:18px;margin:24px 0}
.cml-native-tools>summary{font:600 16px/1.5 system-ui;cursor:pointer;min-height:44px;color:var(--petro,#16354a)}
.cml-native-tools[open]>summary{margin-bottom:18px}
.cml .cml-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cml .cml-tabs button{text-align:center;justify-content:center;font-size:14px;min-height:54px;padding:11px}
.cml .cml-presentation-entry{border:1px solid #79b7b2;background:linear-gradient(135deg,#173d45,#122d3e);border-radius:22px;padding:24px}
.cml .cml-presentation-order{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;padding-left:24px;font-size:17px}
.cml .cml-guide-intro{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}
.cml .cml-guide-intro p{font-size:15px;color:#c2d4df;margin:0;flex:1;min-width:220px}
.cml .cml-stepper{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:18px 0 12px}
.cml .cml-stepper button{flex-direction:column;gap:8px;padding:10px 6px;justify-content:flex-start;min-height:86px;text-align:center;background:#102a3b;border-color:#365466}
.cml .cml-stepper button>span{font-size:16px;font-weight:700;border-radius:50%;width:28px;height:28px;line-height:28px;background:#284a5c;flex:none;text-align:center}
.cml .cml-stepper b{font-size:13px;line-height:1.35;font-weight:600}
.cml .cml-stepper button[aria-current=step]{background:#e8c88a;color:#112330;border-color:#f5d89e}
.cml .cml-stepper button[aria-current=step]>span{background:#122c3e;color:#f6dca5}
.cml .cml-stepper .is-reviewed:not([aria-current=step])>span{color:#a1eadb;background:#1d524f}
.cml .cml-progress{height:4px;background:#244254;border-radius:8px;overflow:hidden;margin-bottom:26px}
.cml .cml-progress i{height:100%;display:block;background:#e8c88a;transition:width .2s}
.cml .cml-guide-pane{min-height:240px;scroll-margin-top:10px}
.cml .cml-guide-pane>h3{font-size:27px}
.cml .cml-guide-question{font-size:19px;line-height:1.6;color:#d8e7ef;margin-bottom:22px}
.cml .cml-step-review{border-top:1px solid #3b5566;margin-top:24px;padding:19px 0 8px}
.cml .cml-wizard-footer{position:sticky;bottom:-21px;background:#0a1928f5;backdrop-filter:blur(16px);border-top:1px solid #3c586c;padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:6;margin-top:24px}
.cml .cml-wizard-footer .cml-actions{margin:0}.cml .cml-wizard-footer>button{min-height:52px}
.cml .cml-previous{padding:8px 0;border-top:1px solid #294557;color:#c6dfeb}
.cml .cml-decision{padding:20px;border:1px solid #4c7c86;background:#112d3b;border-radius:20px;margin:14px 0 24px}
.cml .cml-decision-row{padding:18px 0;border-bottom:1px solid #3b5969;display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.cml .cml-decision-row>div:first-child{flex:1;min-width:210px}.cml .cml-decision-row small{display:block}
.cml .cml-decision-row .cml-actions{margin:0}.cml .cml-plan-item textarea{min-height:90px}
.cml .cml-final-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}
.cml .cml-final-review>button{flex-direction:column;align-items:flex-start;padding:16px}
.cml .cml-final-review b{font-size:13px;font-weight:400;color:#c1d5e0}
.cml .cml-presentation-toolbar{padding-bottom:18px;border-bottom:1px solid #3a566a;margin-bottom:24px}
.cml .cml-presentation-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:24px}
.cml .cml-speaking-section{display:flex;gap:13px;border-bottom:1px solid #355062;padding:22px 0}
.cml .cml-speaking-section:first-child{padding-top:8px}.cml .cml-speaking-section>div{min-width:0;flex:1}
.cml .cml-speaking-section h3{font-size:22px;color:#eed39b}
.cml .cml-speaking-section p{font-size:19px;line-height:1.8;white-space:pre-wrap}
.cml .cml-speaking-number{color:#edd399;background:#233b4b;border:1px solid #4b6574;border-radius:12px;font-size:18px;width:36px;height:36px;text-align:center;line-height:36px;flex:none}
.cml .cml-reading-large p{font-size:24px;line-height:1.9}.cml .cml-reading-large h3{font-size:25px}
.cml .cml-summary-line{padding:13px 0;border-bottom:1px solid #385267}
.cml .cml-summary-line b,.cml .cml-summary-line span,.cml .cml-summary-line small{display:block}
.cml #cmlPresentationSupport .cml-card:first-child{margin-top:0}
.cml #cmlPresentationGraphSection{scroll-margin-top:18px}
@media(min-width:760px){.cml.cml-patient-chooser{width:min(1160px,calc(100vw - 56px));position:relative;left:50%;transform:translateX(-50%)}}
@media(max-width:900px){.cml .cml-stepper{grid-template-columns:repeat(4,minmax(0,1fr))}.cml .cml-stepper button{min-height:78px}.cml .cml-presentation-layout{grid-template-columns:1fr}.cml .cml-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.cml .cml-scenarios{grid-template-columns:1fr}.cml .cml-scenario{min-height:92px;padding:17px}.cml .cml-main-actions>button{width:100%;justify-content:center}.cml .cml-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-wizard-footer{bottom:-17px;flex-direction:column;align-items:stretch}.cml .cml-wizard-footer .cml-actions{flex-wrap:nowrap}.cml .cml-wizard-footer .cml-actions>button{flex:1;justify-content:center;font-size:14px}.cml .cml-wizard-footer>button{width:100%;justify-content:center}.cml .cml-final-review{grid-template-columns:1fr}.cml .cml-presentation-order{grid-template-columns:1fr}.cml .cml-speaking-section{gap:10px}.cml .cml-speaking-section p{font-size:19px}.cml .cml-speaking-section h3{font-size:21px}.cml .cml-reading-large p{font-size:24px}.cml .cml-draft-banner .cml-actions{margin-top:10px}.cml .cml-draft-banner small{font-size:13px}.cml .cml-decision{padding:15px}}
@media print{body.cml-print .cml-presentation-toolbar,body.cml-print #cmlPresentationSupport{display:none!important}body.cml-print .cml-presentation-layout{display:block}body.cml-print .cml-speaking-section{break-inside:avoid;border-color:#bbb}body.cml-print .cml-speaking-number{color:#111;border-color:#999;background:white}body.cml-print .cml-speaking-section h3{color:#111}body.cml-print .cml-speaking-section p{font-size:12pt;line-height:1.5}}



.cml .cml-case-study-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;background:linear-gradient(120deg,#153b49,#112c42);border:1px solid #6b9eaa;border-radius:22px;margin:22px 0;padding:24px}
.cml .cml-case-study-entry h3{font-size:25px;line-height:1.25;color:#f1dba9}.cml .cml-case-study-entry p{margin-bottom:6px;max-width:720px}.cml .cml-case-study-entry>button{min-height:54px;font-size:16px}
.cml .cml-learning>h3{font-size:30px}.cml .cml-learning>h4{margin:28px 0 14px}.cml .cml-learning-lenses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 24px}
.cml .cml-learning-lenses>button{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;padding:18px;min-height:154px;background:#102c3e;border-color:#3c5c70}
.cml .cml-learning-lenses>button>span{font-size:13px;color:#a0c8d5;font-weight:600}.cml .cml-learning-lenses b{font-size:18px;line-height:1.3}.cml .cml-learning-lenses small{font-size:14px;line-height:1.5;font-weight:400}
.cml .cml-learning-lenses>button[aria-pressed=true]{background:#26434a;border-color:#e8c88a;box-shadow:inset 0 0 0 1px #e8c88a}.cml .cml-learning-lenses>button[aria-pressed=true] b{color:#f4da9d}.cml .cml-learning-lenses>button[aria-pressed=true]>span{color:#f4da9d}
.cml .cml-learning .cml-grid{align-items:start}.cml .cml-learning .cml-card{margin-top:0}.cml .cml-learning li{padding-bottom:8px}.cml .cml-learning textarea{min-height:120px}.cml #cmlLearnQuery{min-height:126px;font-size:16px}.cml .cml-learning .cml-primary{width:100%;justify-content:center;min-height:52px;font-size:16px}
.cml .cml-learning-bridge{padding:20px;border:1px solid #78b0b5;background:#153644;border-radius:18px;margin:18px 0}.cml .cml-learning-bridge small{display:block}
.cml .cml-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1120px){.cml .cml-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:720px){.cml .cml-case-study-entry{grid-template-columns:1fr;gap:14px;padding:20px}.cml .cml-case-study-entry>button{width:100%;justify-content:center}.cml .cml-learning-lenses{grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-learning .cml-grid{grid-template-columns:1fr}.cml .cml-learning>h3{font-size:27px}}
@media(max-width:430px){.cml .cml-learning-lenses{grid-template-columns:1fr}.cml .cml-learning-lenses>button{min-height:106px;padding:16px;gap:6px}.cml .cml-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.cml .cml-case-study-entry h3{font-size:23px}}
/* Compact focus selector keeps the daily mobile study path short. */
.cml .cml-learning-focus-mobile{display:none}
@media(max-width:620px){.cml .cml-learning-focus-mobile{display:block;margin:18px 0}.cml .cml-learning-lenses{display:none}}

/* R6.47: patient identity remains visible while editing or reviewing examinations. */
.cml .cml-dialog-title{min-width:0;flex:1}.cml .cml-dialog-head .cml-patient-context{margin:7px 0 0;font-size:15px;line-height:1.45;color:#d8e6ef;overflow-wrap:anywhere}.cml .cml-dialog-head{align-items:flex-start}.cml .cml-dialog-head button{min-height:46px}.cml .cml-chart-readout{font-variant-numeric:tabular-nums}
@media(max-width:620px){.cml .cml-dialog-head h2{font-size:20px}.cml .cml-dialog-head .cml-patient-context{font-size:14px}.cml .cml-dialog-head{gap:8px}.cml .cml-dialog-head button{font-size:14px;padding:10px}.cml .cml-wizard-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}

/* R6.47: use the available main column instead of extending below the desktop sidebar. */
@media(min-width:760px){#cmlPatient.cml.cml-surface,#cmlGateway.cml.cml-surface,.cml.cml-patient-chooser{width:100%;max-width:1160px;left:auto;transform:none;margin-inline:auto}}
#cmlGateway h2,#cmlChoosePatient{scroll-margin-top:130px}


/* --- source: assets/css/camadamed-platform-polish-r648.css --- */
/* R6.48 · Platform only. Explicit surface/foreground pairs prevent legacy
   light-card rules from leaking into the patient workspace. */
body.cm-platform-page {
  --cm648-ink:#f2f6fc;
  --cm648-muted:#bdcddd;
  --cm648-bg:#0a1726;
  --cm648-panel:#12283b;
  --cm648-control:#0a1c2d;
  --cm648-line:#4f6c83;
  --cm648-gold:#eed29a;
  --cm648-teal:#9be7db;
  --cm648-danger:#ffd0c8;
}

/* The !important declarations here override pre-existing, platform-scoped
   !important light-card typography. They never target public pages. */
html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml,
html body.cm-platform-page dialog.cml {
  color:var(--cm648-ink);
  --cml-text:var(--cm648-ink);
  --cml-muted:var(--cm648-muted);
  --cml-gold:var(--cm648-gold);
  --cml-teal:var(--cm648-teal);
  --cml-line:var(--cm648-line);
  color-scheme:dark;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml :is(h1,h2,h3,h4,h5,b,strong,p,label,summary,li,dt,dd,th,td),
html body.cm-platform-page dialog.cml :is(h1,h2,h3,h4,h5,b,strong,p,label,summary,li,dt,dd,th,td) {
  color:var(--cm648-ink)!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml :is(.cml-note,small,.cml-lead),
html body.cm-platform-page dialog.cml :is(.cml-note,small,.cml-lead) {
  color:var(--cm648-muted)!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1;
}
html body.cm-platform-page .cml :is(.cml-eyebrow,.cml-section-title,.cml-stat b,.cml-speaking-section h3),
html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml :is(.cml-eyebrow,.cml-section-title,.cml-stat b,.cml-speaking-section h3) {
  color:var(--cm648-gold)!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page .cml :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  background:var(--cm648-control)!important;
  color:var(--cm648-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  border:1px solid var(--cm648-line);
  font-size:16px;
  line-height:1.55;
  min-height:48px;
}
html body.cm-platform-page .cml :is(input,textarea)::placeholder {
  color:#aec3d5!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1;
}
html body.cm-platform-page .cml select option {background:#0a1c2d;color:#f2f6fc}
html body.cm-platform-page .cml input[type=checkbox],
html body.cm-platform-page .cml input[type=radio] {accent-color:var(--cm648-gold)}
html body.cm-platform-page .cml :is(button,.cml-btn) {
  color:var(--cm648-ink);
  -webkit-text-fill-color:currentColor;
  min-height:46px;
  font-size:15px;
  border-color:var(--cm648-line);
}
html body.cm-platform-page .cml :is(.cml-primary,button[aria-current=step],.cml-tabs button[aria-pressed=true]),
html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml :is(.cml-primary,button[aria-current=step],.cml-tabs button[aria-pressed=true]) {
  background:#eed29a;
  color:#132335!important;
  -webkit-text-fill-color:currentColor!important;
  border-color:#eed29a;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml :is(.cml-primary,button[aria-current=step],.cml-tabs button[aria-pressed=true]) :is(b,strong,span,small),
html body.cm-platform-page dialog.cml :is(.cml-primary,button[aria-current=step],.cml-tabs button[aria-pressed=true]) :is(b,strong,span,small) {
  color:#132335!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page .cml .cml-stepper button[aria-current=step]>span {
  background:#f7e8c8;
  color:#132335!important;
}
html body.cm-platform-page .cml :is(.cml-danger,.cml-alert,.cml-state.low,.cml-state.high) {
  color:var(--cm648-danger)!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page .cml :is(.cml-value-state.low,.cml-value-state.high) {
  background:#3a3020;
  color:#ffe6ac!important;
  border-color:#a5874d;
}
html body.cm-platform-page .cml .cml-value-state.critical {
  background:#62303b;
  color:#ffe2dc!important;
  border-color:#e7a69a;
}
html body.cm-platform-page .cml :is(.cml-success,.cml-state.range,.cml-value-state.range) {
  color:#b6f4e8!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page .cml .cml-value-state.range {background:#143b36;border-color:#659c91}
html body.cm-platform-page .cml a {color:#a7dbff;text-underline-offset:3px}

/* Premium patient surfaces: solid colour under the glass, modest highlights. */
html body.cm-platform-page .cml.cml-surface {
  background:radial-gradient(ellipse at 95% 0,#27445b66,transparent 52%),linear-gradient(145deg,#112739,#0a1827);
  border-color:#617c925e;
  border-radius:26px;
  box-shadow:inset 0 1px 0 #e8f4ff1a,0 16px 42px #00000024;
}
html body.cm-platform-page .cml :is(.cml-card,.cml-measure,.cml-hospital-card,.cml-lab-entry) {
  background:linear-gradient(145deg,#193347,#102638);
  border:1px solid #68839b69;
  box-shadow:inset 0 1px 0 #f0f8ff12,0 8px 24px #00000015;
  border-radius:18px;
  min-width:0;
}
html body.cm-platform-page .cml :is(.cml-hospital-grid,.cml-value-grid) {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-block:18px;
}
html body.cm-platform-page .cml .cml-hospital-card {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:10px;
  text-align:left;
  padding:20px;
  min-height:142px;
  overflow:hidden;
}
html body.cm-platform-page .cml .cml-hospital-card::before {
  content:"";
  position:absolute;
  inset:0 18px auto;
  height:1px;
  background:linear-gradient(90deg,transparent,#dbeeff66,transparent);
  pointer-events:none;
}
html body.cm-platform-page .cml .cml-hospital-card b {font-size:18px;line-height:1.4}
html body.cm-platform-page .cml .cml-hospital-card :is(span,small) {font-size:14px;line-height:1.6;color:var(--cm648-muted);font-weight:400}
html body.cm-platform-page .cml .cml-lab-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html body.cm-platform-page .cml .cml-lab-entry {padding:16px}
html body.cm-platform-page .cml .cml-lab-entry label {margin-top:0}
html body.cm-platform-page .cml .cml-lab-entry :is(small,.cml-note) {display:block;font-size:14px;line-height:1.6;margin-top:8px}
html body.cm-platform-page .cml .cml-value-grid>*,
html body.cm-platform-page .cml .cml-lab-grid>* {min-width:0;max-width:100%}
html body.cm-platform-page .cml .cml-presentation-entry {box-shadow:inset 0 1px 0 #d5fff71f,0 12px 30px #0002}
html body.cm-platform-page .cml :is(.cml-dialog-head,.cml-wizard-footer,.cml-sticky-actions) {
  background:#102638f5;
  border-color:#58748b;
}
html body.cm-platform-page .cml .cml-table-scroll {scrollbar-color:#7995ac #102638}
html body.cm-platform-page .cml :is(th,td) {line-height:1.6}

/* Native AI/PubMed workspace has dark surfaces, distinct from the light
   patient edit sheet and the light narrative card retained below. */
html body.cm-platform-page.cm-workspace-v210 #app #v-sala {
  --sc-txt:#f2f6fc;
  --sc-txt-2:#bdcddd;
  --sc-txt-3:#bdcddd;
  --cmw-muted:#bdcddd;
  --cmw-line:#4f6c83;
  --cmw-gold:#eed29a;
  color:#f2f6fc;
  color-scheme:dark;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-panel,.cmw-acc,.cmw-utility,.cmw-research,.cmw-tool-content,.cmw-context,.cmw-stage-head,.cmw-sidebar) {
  color:#f2f6fc;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-panel,.cmw-acc,.cmw-utility,.cmw-research,.cmw-tool-content,.cmw-context,.cmw-stage-head,.cmw-sidebar) :is(h1,h2,h3,h4,b,strong,p,label,summary,li) {
  color:#f2f6fc!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-field-hint,.cmw-note,.cmw-muted,.cmw-analysis-missing,.cmw-draft-status,.cmw-report-meta,.cmw-paper small,.sc-mute) {
  color:#bdcddd!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1;
  line-height:1.6;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-history,.cmw-document-field,.cmw-research-query,.cmplan-field input,.cmplan-field textarea) {
  background:#0a1c2d!important;
  color:#f2f6fc!important;
  -webkit-text-fill-color:currentColor!important;
  border-color:#69849b;
  font-size:16px!important;
  line-height:1.65;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(input,textarea)::placeholder {color:#aec3d5;opacity:1}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-secondary,.cmw-text-action,.cmw-acc-head,.cmw-toolbuttons button) {
  color:#f2f6fc!important;
  -webkit-text-fill-color:currentColor!important;
  min-height:46px;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala .cmw-primary {
  color:#132335!important;
  -webkit-text-fill-color:currentColor!important;
  background:#eed29a;
  border-color:#eed29a;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala .cmw-primary :is(b,strong,span,small) {
  color:#132335!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala .cmw-paper a {color:#a7dbff}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-warning,.cmw-doc-pending,.cmplan-missing) {color:#ffe6ac!important}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala :is(.cmw-ai-state.ready b,.cmw-draft-status.saved) {color:#b6f4e8!important}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala .cmw-draft-status.error {color:#ffd0c8!important}

/* Light surfaces intentionally retained: explicit pairs, no dark-theme
   inherited white labels on cream and no white-on-gold primary labels. */
html body.cm-platform-page.cm-premium-r636 #sheet .sheet-card {
  background:#f4f6fa!important;
  color:#142239;
  color-scheme:light;
}
html body.cm-platform-page.cm-premium-r636 #sheet .sheet-card :is(h1,h2,h3,h4,b,strong,p,label,summary,li,small,.note,.mute) {
  color:#283d55!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page.cm-premium-r636 #sheet .sheet-card :is(input,textarea,select) {
  background:#fff!important;
  color:#142239!important;
  -webkit-text-fill-color:currentColor!important;
  border:1px solid #72869e;
  font-size:16px!important;
}
html body.cm-platform-page.cm-premium-r636 #sheet .sheet-card :is(input,textarea)::placeholder {color:#52657c!important;opacity:1}
html body.cm-platform-page.cm-premium-r636 #sheet .sheet-card .btn-petro,
html body.cm-platform-page.cm-premium-r636 #sheet .sheet-card .btn-petro :is(b,strong,span,small) {
  background:#142b40;
  color:#f2f6fc!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala .sc-card:has(#scNarra) {
  color:#142239;
  color-scheme:light;
}
html body.cm-platform-page.cm-workspace-v210 #app #v-sala .sc-card:has(#scNarra) :is(p,label,.sc-note,.sc-tiny,.sc-mute,.sc-eyebrow) {
  color:#40556c!important;
  -webkit-text-fill-color:currentColor!important;
}

html body.cm-platform-page :is(.cml,#v-sala,#sheet) :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible {
  outline:3px solid #9be7db!important;
  outline-offset:3px;
}
html body.cm-platform-page #sheet :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible {outline-color:#145f7a!important}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html body.cm-platform-page .cml :is(.cml-hospital-card,.cml-scenario,.cml-lab-entry) {transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
  html body.cm-platform-page .cml :is(.cml-hospital-card,.cml-scenario):hover {transform:translateY(-2px);border-color:#9bb7ca;box-shadow:inset 0 1px 0 #fff2,0 12px 28px #0003}
}
@media (max-width:950px) {
  html body.cm-platform-page .cml :is(.cml-hospital-grid,.cml-value-grid) {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px) {
  html body.cm-platform-page .cml :is(.cml-lab-grid,.cml-value-grid) {grid-template-columns:1fr}
  html body.cm-platform-page .cml .cml-hospital-grid {gap:10px}
  html body.cm-platform-page .cml .cml-hospital-card {padding:15px;min-height:132px}
  html body.cm-platform-page .cml .cml-hospital-card b {font-size:16px}
  html body.cm-platform-page .cml :is(.cml-hospital-card small,.cml-lab-entry small) {font-size:14px}
}
@media (max-width:350px) {
  html body.cm-platform-page .cml .cml-hospital-grid {grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce) {
  html body.cm-platform-page .cml,
  html body.cm-platform-page .cml :is(button,.cml-card,.cml-hospital-card,.cml-scenario,.cml-lab-entry,.cml-progress i) {animation:none!important;transition:none!important;scroll-behavior:auto}
}
@media (prefers-reduced-transparency:reduce) {
  html body.cm-platform-page .cml :is(.cml-dialog-head,.cml-wizard-footer,.cml-sticky-actions) {background:#102638;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media (forced-colors:active) {
  html body.cm-platform-page .cml :is(button,.cml-card,.cml-hospital-card,.cml-measure,.cml-lab-entry) {border:1px solid CanvasText;box-shadow:none}
  html body.cm-platform-page .cml .cml-hospital-card::before {display:none}
}
@media print {
  html body.cm-platform-page dialog.cml,
  html body.cm-platform-page dialog.cml :is(h1,h2,h3,h4,h5,b,strong,p,label,summary,li,dt,dd,th,td,small,.cml-note,.cml-eyebrow,.cml-section-title,.cml-stat b,.cml-speaking-section h3) {
    color:#111!important;
    -webkit-text-fill-color:#111!important;
  }
  html body.cm-platform-page dialog.cml :is(.cml-card,.cml-measure,.cml-lab-entry,.cml-value-state) {background:white!important;border-color:#8b8b8b;box-shadow:none}
}
/* Compact sections are the default; the full guided route remains optional. */
.cml [hidden]{display:none!important}
.cml .cml-lab-entry{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end}
.cml .cml-lab-entry button{margin-bottom:8px}
.cml .cml-lab-group{margin-block:12px}
.cml .cml-study-workspace pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto}
.cml #icuStudyReport .cml-preserve{font-size:17px;line-height:1.75;white-space:pre-wrap}
.cml #icuStudyArticles section{padding-block:14px;border-bottom:1px solid #58748b}
.cml .cml-wizard-footer>.cml-actions:first-child{flex:1 1 100%}
@media(max-width:720px){.cml .cml-lab-entry{grid-template-columns:1fr 1fr}.cml .cml-lab-entry label:first-child{grid-column:1/-1}}
@media print{
 body.cml-study-print #cmlDialog .cml-dialog-body .cml-study-workspace>*:not(#icuStudyReport){display:none!important}
 body.cml-study-print #icuStudyReport{display:block!important;max-width:100%;font:12pt/1.5 Arial,sans-serif;color:#111!important}
 body.cml-study-print #icuStudyReport .cml-preserve{font:11pt/1.5 Arial,sans-serif;color:#111!important}
 body.cml-study-print #icuStudyReport h3{break-after:avoid;page-break-after:avoid}
 body.cml-study-print #icuStudyReport a::after{content:' (' attr(href) ')';overflow-wrap:anywhere}
}
.cml .cml-wizard-footer{min-width:0;max-width:100%;flex-wrap:wrap}
.cml .cml-wizard-footer .cml-actions{min-width:0;max-width:100%;flex-wrap:wrap}
.cml .cml-compact-footer>:not(.icu-section-actions):not(#cmlEditorStatus){display:none!important}
.cml .cml-compact-footer .icu-section-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}
.cml .cml-compact-footer .icu-section-actions button{min-width:0;width:100%;margin:0;white-space:normal}
.cml .cml-compact-footer .icu-section-actions button:first-child{grid-column:1/-1}
.cml .cml-compact-footer #cmlEditorStatus:empty{display:none}


/* --- source: assets/css/camadamed-case-review-r649.css --- */
/* Internal medical platform only. No public landing page or counter selectors. */
.cml .cm649-print-identification,.cml .cm649-print-review{display:none}
.cml .cm649-final-card{background:linear-gradient(145deg,#273e53,#182b42)!important;border:2px solid #dfbd76!important;box-shadow:0 12px 32px #0003,inset 0 1px #ffffff18}
.cml .cm649-final-card>span{color:#f5d794!important;-webkit-text-fill-color:#f5d794!important}
.cml .cm649-review{font-size:16px;line-height:1.65;min-width:0}
.cml .cm649-review-intro{border-left:3px solid #e5c584;padding:2px 16px;margin-bottom:20px}
.cml .cm649-review-layout{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.3fr);gap:22px;align-items:start}
.cml .cm649-review-input,.cml .cm649-review-output{min-width:0;overflow-wrap:anywhere}
.cml .cm649-review fieldset{min-width:0;border:1px solid #7996b4;border-radius:16px;padding:15px;margin:20px 0}
.cml .cm649-review legend{padding:0 8px;color:#f4dfad}
.cml .cm649-review .cml-check{display:flex;align-items:flex-start;gap:10px;margin:14px 0}
.cml .cm649-review .cml-check input{flex:0 0 20px;width:20px;min-width:20px;height:20px;margin:5px 0;accent-color:#d6bc7d}
.cml .cm649-status{border:1px solid #8aa6c1;border-radius:12px;background:#183044;padding:12px 16px;min-height:24px;color:#edf6ff!important;-webkit-text-fill-color:#edf6ff!important}
.cml .cm649-coverage,.cml .cm649-plan,.cml .cm649-rx-card,.cml .cm649-review-adoption,.cml .cm649-review-stamp{border:1px solid #7f9ab5;background:linear-gradient(145deg,#203b50,#14293b);border-radius:17px;padding:18px;margin:15px 0;box-shadow:0 8px 24px #0002,inset 0 1px #ffffff10}
.cml .cm649-plan{border-color:#e7c989;background:linear-gradient(145deg,#2d3e4d,#182c3f)}
.cml .cm649-review-stamp{border-color:#e4c27c;background:#342f24}
.cml .cm649-review-stamp b,.cml .cm649-review-stamp p,.cml .cm649-review-stamp small{color:#ffebbb!important;-webkit-text-fill-color:#ffebbb!important}
.cml .cm649-review-stamp.cm649-stale{border-color:#edaaa4;background:#4b2634}
.cml .cm649-stale b,.cml .cm649-stale p,.cml .cm649-stale small{color:#ffe0da!important;-webkit-text-fill-color:#ffe0da!important}
.cml .cm649-context{max-height:290px;overflow:auto;white-space:pre-wrap;word-break:break-word;padding:12px;background:#0b1d2b;border-radius:12px;font-size:13px}
.cml .cm649-source-list{max-height:180px;overflow:auto;font-size:14px}
.cml #cm649Readiness{list-style:none;margin:16px 0;padding:0}
.cml .cm649-readiness{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;margin:8px 0;font-size:14px}
.cml .cm649-readiness span{display:inline-grid;place-items:center;min-width:22px;border-radius:7px;background:#42381e;color:#ffe8a9!important;-webkit-text-fill-color:#ffe8a9!important;font-weight:700}
.cml .cm649-readiness[data-ready=true] span{background:#173d33;color:#c7f8df!important;-webkit-text-fill-color:#c7f8df!important}
.cml .cm649-readiness small{font-size:12px;color:#d0dfed!important;-webkit-text-fill-color:#d0dfed!important}
.cml .cm649-rx-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.cml .cm649-rx-card{margin:0}
.cml .cm649-rx-card dl{margin:0}
.cml .cm649-rx-card dl>div{display:grid;grid-template-columns:minmax(90px,.5fr) minmax(0,1fr);gap:10px;border-bottom:1px solid #71869b55;padding:9px 0}
.cml .cm649-rx-card dt{font-size:14px;color:#d1e3f4!important;-webkit-text-fill-color:#d1e3f4!important}
.cml .cm649-rx-card dd{margin:0;white-space:pre-wrap;color:#f5f8fd!important;-webkit-text-fill-color:#f5f8fd!important}
.cml .cm649-rx-card .cm649-missing{color:#ffe5a2!important;-webkit-text-fill-color:#ffe5a2!important}
.cml .cm649-review details{border:1px solid #7f9ab5;border-radius:13px;padding:12px;margin:12px 0;max-width:100%;min-width:0}
.cml .cm649-review summary{font-weight:650;cursor:pointer;min-height:30px}
.cml .cm649-review details>button{display:block;width:100%;text-align:left;margin-top:12px;white-space:normal}
.cml .cm649-review .cml-actions{flex-wrap:wrap;gap:10px;position:static}
.cml .cm649-review button{min-height:46px;white-space:normal;max-width:100%;overflow-wrap:anywhere}
.cml .cm649-review textarea,.cml .cm649-review select{box-sizing:border-box;width:100%;max-width:100%}
.cml .cm649-review :disabled{opacity:.65;cursor:wait}
.cml .cm649-review .cm-prose{white-space:normal;overflow-wrap:anywhere;color:inherit;font-size:16px;line-height:1.7}
.cml .cm649-review .cm-prose p{margin-bottom:14px}
.cml .cm649-review .cm-prose ul,.cml .cm649-review .cm-prose ol{padding-left:22px}
.cml .cm649-review .cm-prose li{margin:8px 0}
.cml .cm649-review .cm-table-scroll{max-width:100%;overflow:auto;box-sizing:border-box}
.cml .cm649-empty{padding:26px 18px;border:1px dashed #8aa6c1;border-radius:16px;color:#d8e6f4}
@media(max-width:900px){.cml .cm649-review-layout{grid-template-columns:minmax(0,1fr)}.cml .cm649-review-input,.cml .cm649-review-output{width:100%}}
@media(max-width:480px){.cml .cm649-review fieldset,.cml .cm649-plan,.cml .cm649-rx-card,.cml .cm649-review-adoption{padding:12px}.cml .cm649-review .cml-actions{display:grid;grid-template-columns:minmax(0,1fr)}.cml .cm649-review button{width:100%}.cml .cm649-rx-card dl>div{grid-template-columns:95px minmax(0,1fr)}}
@media(prefers-reduced-motion:no-preference){.cml .cm649-final-card{transition:transform .18s ease,box-shadow .18s ease}.cml .cm649-final-card:hover{transform:translateY(-2px);box-shadow:0 16px 40px #0005,inset 0 1px #ffffff20}}
@media print{body.cm649-review-print .cm-prose table{min-width:0!important;table-layout:fixed;width:100%!important}body.cm649-review-print .cm-prose th,body.cm649-review-print .cm-prose td{padding:5px!important;overflow-wrap:anywhere!important}body.cm649-review-print .cm-table-scroll{overflow:visible!important;max-width:100%!important}}
@media print{body.cm649-review-print .cm649-print-identification,body.cm649-review-print .cm649-print-review{display:block!important}body.cm649-review-print #cmlDialog .cml-dialog-head,body.cm649-review-print #cm649Review>:not(.cm649-review-layout),body.cm649-review-print .cm649-review-input,body.cm649-review-print .cm649-review-output>:not(#cm649ReviewReport){display:none!important}body.cm649-review-print #cm649ReviewReport,body.cm649-review-print #cm649ReviewReport *{visibility:visible!important;color:#111!important;-webkit-text-fill-color:#111!important;background:#fff!important;box-shadow:none!important}body.cm649-review-print .cm649-review-layout{display:block!important}body.cm649-review-print #cm649ReviewReport details{display:block!important}body.cm649-review-print #cm649ReviewReport details>*{display:block!important}body.cm649-review-print .cm649-rx-card{break-inside:avoid}body.cm649-review-print #cmlDialog{position:static!important;display:block!important;max-height:none!important;height:auto!important;overflow:visible!important}body.cm649-review-print #cmlModalBody{max-height:none!important;overflow:visible!important}body.cm649-review-print #cm649ReviewReport{padding:0!important}body.cm649-review-print .cm649-review-stamp{border:2px solid #222!important}}


/* --- source: assets/css/camadamed-parameter-status-r649.css --- */
/* R6.49 · parameter status applies only inside the clinical platform. */
html body.cm-platform-page .cml .cml-measure[data-cm649-state],
html body.cm-platform-page .cml .cml-hospital-card[data-cm649-state]{border-width:2px;transition:border-color .16s ease,background .16s ease}
html body.cm-platform-page .cml [data-cm649-state=red].cml-measure,
html body.cm-platform-page .cml [data-cm649-state=red].cml-hospital-card{background:linear-gradient(145deg,#4b2634,#351d2c)!important;border-color:#efaaa3!important}
html body.cm-platform-page .cml [data-cm649-state=yellow].cml-measure,
html body.cm-platform-page .cml [data-cm649-state=yellow].cml-hospital-card{background:linear-gradient(145deg,#443820,#302819)!important;border-color:#e9c66d!important}
html body.cm-platform-page .cml [data-cm649-state=green].cml-measure,
html body.cm-platform-page .cml [data-cm649-state=green].cml-hospital-card{background:linear-gradient(145deg,#173d33,#102e29)!important;border-color:#78cfa8!important}
html body.cm-platform-page .cml [data-cm649-state=neutral].cml-measure,
html body.cm-platform-page .cml [data-cm649-state=neutral].cml-hospital-card{border-color:#7892a9!important}
html body.cm-platform-page .cml .cm649-state{display:inline-block;width:fit-content;max-width:100%;box-sizing:border-box;margin-top:8px;border:1px solid;padding:6px 9px;border-radius:10px;font-size:13px;font-weight:650;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
html body.cm-platform-page .cml .cm649-state[data-cm649-state=red],
html body.cm-platform-page .cml .cml-value-state:is(.low,.high,.critical){background:#4b2634!important;color:#ffe0da!important;-webkit-text-fill-color:#ffe0da!important;border-color:#efaaa3!important}
html body.cm-platform-page .cml .cm649-state[data-cm649-state=yellow]{background:#443820!important;color:#ffe9ad!important;-webkit-text-fill-color:#ffe9ad!important;border-color:#e9c66d!important}
html body.cm-platform-page .cml .cm649-state[data-cm649-state=green]{background:#173d33!important;color:#c7f8df!important;-webkit-text-fill-color:#c7f8df!important;border-color:#78cfa8!important}
html body.cm-platform-page .cml .cm649-state[data-cm649-state=neutral]{background:#162c40!important;color:#d5e4f3!important;-webkit-text-fill-color:#d5e4f3!important;border-color:#7892a9!important}
html body.cm-platform-page .cml .cm649-legend{margin-block:18px;padding:12px 15px;border:1px solid #7892a9;border-radius:14px;background:#142c3f}
html body.cm-platform-page .cml .cm649-legend p{font-size:14px;line-height:1.7;margin-bottom:0}
@media(prefers-reduced-motion:reduce){html body.cm-platform-page .cml .cml-measure[data-cm649-state],html body.cm-platform-page .cml .cml-hospital-card[data-cm649-state]{transition:none!important}}
@media print{html body.cm-platform-page .cml .cm649-state{background:#fff!important;color:#111!important;-webkit-text-fill-color:#111!important;border-color:#555!important}html body.cm-platform-page .cml .cm649-state:before{content:attr(data-cm649-state) ' · '}}


/* --- source: assets/css/camadamed-text-fit-r649.css --- */
/* R6.49 · Text stays inside the medical workspace at narrow widths and large text sizes. */
html body.cm-platform-page :is(.cml,#patientHead,#patientList,#sheet .sheet-card,#v-sala) :is(h1,h2,h3,h4,h5,p,b,strong,small,label,summary,dt,dd,li,a){
 min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere;word-break:normal;
}
html body.cm-platform-page .cml :is(button,.cml-btn),
html body.cm-platform-page #v-sala :is(button,.btn),
html body.cm-platform-page #sheet .sheet-card :is(button,.btn){
 box-sizing:border-box;min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.45;height:auto;
}
html body.cm-platform-page .cml :is(button,.cml-btn)>:is(span,b,strong,small),
html body.cm-platform-page #v-sala button>:is(span,b,strong,small){
 min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;
}
html body.cm-platform-page .cml :is(.cml-row,.cml-actions,.cml-dialog-head,.cml-wizard-footer)>*,
html body.cm-platform-page #patientHead>*,
html body.cm-platform-page #v-sala :is(.cmw-actions,.cmw-panel,.cmw-card)>*{min-inline-size:0}
html body.cm-platform-page .cml :is(.cml-hospital-card,.cml-scenario,.cml-card,.cml-measure,.cml-event,.cml-stat){
 min-inline-size:0;max-inline-size:100%;block-size:auto;
}
html body.cm-platform-page .cml .cml-hospital-card{overflow:visible}
html body.cm-platform-page .cml :is(.cml-hospital-card,.cml-scenario)>:is(b,span,small){display:block;max-width:100%;height:auto}
html body.cm-platform-page .cml .cml-dialog-title{flex:1 1 auto;min-width:0;max-width:100%}
html body.cm-platform-page .cml .cml-dialog-head h2{white-space:normal;overflow-wrap:anywhere}
html body.cm-platform-page .cml .cml-patient-context,
html body.cm-platform-page #patientHead :is(h1,h2,h3,b,strong){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html body.cm-platform-page .cml :is(.cml-state,.cml-value-state,.cm649-state){max-inline-size:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
html body.cm-platform-page .cml :is(.cml-preserve,.cml-reading pre,.cml-chart-readout){max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
html body.cm-platform-page .cml :is(input:not([type=checkbox]):not([type=radio]),textarea,select){min-width:0;max-width:100%;box-sizing:border-box}
html body.cm-platform-page .cml .cml-check>span{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
html body.cm-platform-page .cml .cml-measure label small{font-variant-numeric:tabular-nums;white-space:normal}
html body.cm-platform-page .cml .cml-summary-line{min-width:0;flex-wrap:wrap;gap:5px 12px}
html body.cm-platform-page .cml .cml-summary-line>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
html body.cm-platform-page .cml .cml-speaking-section>div{min-width:0}
html body.cm-platform-page .cml .cml-speaking-section p{overflow-wrap:anywhere}
html body.cm-platform-page #patientHead>div:first-child{flex-wrap:wrap}
html body.cm-platform-page #patientHead>div:first-child>div:first-child{flex:1 1 240px!important;min-width:0;max-width:100%}
html body.cm-platform-page #patientHead>div:first-child>div:last-child{flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:wrap!important}
html body.cm-platform-page #patientHead [data-cm-user-content],
html body.cm-platform-page #patientHead .serif{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal;text-overflow:clip}
html body.cm-platform-page #patientHead button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;height:auto;line-height:1.45}
html body.cm-platform-page #v-sala :is(.cmw-panel,.cmw-card,.cmw-acc,.cmw-tool-content,.cmw-research){min-width:0;max-width:100%}
@media(max-width:620px){
 html body.cm-platform-page .cml .cml-actions>button{min-width:0;flex-basis:144px}
 html body.cm-platform-page .cml .cml-hospital-card{min-height:145px;padding:15px 13px}
 html body.cm-platform-page .cml .cml-hospital-card b{font-size:16px;line-height:1.45}
 html body.cm-platform-page .cml .cml-hospital-card small{line-height:1.6}
 html body.cm-platform-page .cml .cml-dialog-head{gap:10px;align-items:flex-start}
 html body.cm-platform-page .cml .cml-dialog-head button{padding-inline:12px;flex:0 0 auto}
 html body.cm-platform-page .cml .cml-dialog-head h2{font-size:21px;line-height:1.35}
 html body.cm-platform-page .cml .cml-stat b{font-size:clamp(21px,6vw,25px);line-height:1.4}
 html body.cm-platform-page .cml .cml-lab-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 html body.cm-platform-page #patientHead>div:first-child>div:first-child{flex-basis:100%!important}
 html body.cm-platform-page #patientHead>div:first-child>div:last-child{flex-basis:100%;justify-content:flex-start!important}
}
@media(max-width:360px){
 html body.cm-platform-page .cml .cml-hospital-grid{grid-template-columns:minmax(0,1fr)}
 html body.cm-platform-page .cml .cml-lab-entry{grid-template-columns:minmax(0,1fr)}
 html body.cm-platform-page .cml .cml-lab-entry>*{grid-column:1/-1}
 html body.cm-platform-page .cml .cml-measures{grid-template-columns:minmax(0,1fr)}
 html body.cm-platform-page .cml .cml-dialog-head h2{font-size:20px}
}
@media print{html body.cm-platform-page .cml :is(h1,h2,h3,h4,p,li,dd,td){overflow-wrap:anywhere}html body.cm-platform-page .cml .cml-hospital-card{box-shadow:none}}


/* --- source: assets/css/camadamed-clinical-fit-r655.css --- */
/* R6.55 — clinical-only contrast, tablet sizing and adjacent patient actions. */
html body #app #v-clinica #patientList .cm-patient-row{background:#f6f8fc!important;color:#13243a!important;-webkit-text-fill-color:#13243a!important;opacity:1!important;touch-action:pan-y pinch-zoom!important;overflow:visible;min-height:64px;height:auto;max-width:100%;box-sizing:border-box}
html body #app #v-clinica #patientList .cm-patient-row :is(.cm-patient-name,.cm-patient-meta,.cm-patient-dx,.when){color:#263d55!important;-webkit-text-fill-color:#263d55!important;opacity:1!important;text-shadow:none!important;overflow-wrap:anywhere;white-space:normal}
html body #app #v-clinica #patientList .cm-patient-row .cm-patient-name{color:#13243a!important;-webkit-text-fill-color:#13243a!important}
html body #app #v-clinica #patientList .cm-patient-row .cm-patient-row-content{display:flex;flex-wrap:wrap;min-width:0;gap:8px 16px}
html body #app #v-clinica #patientList .cm-patient-row .cm-patient-row-copy{flex:1 1 180px;min-width:0}
html body #app #v-clinica #patientList .cm-patient-row .when{flex:0 1 auto}
html body #app :is(#v-clinica,#v-patient) :is(.cml-native-tools,.cml-native-tools>summary){background:#102338!important;color:#f1f6ff!important;-webkit-text-fill-color:#f1f6ff!important;border-radius:14px;opacity:1}
html body #app :is(#v-clinica,#v-patient) .cml-native-tools>summary{padding:14px;min-height:48px;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
html body #app #v-clinica .cm-patient-selection{position:static;max-width:100%;box-sizing:border-box;margin:12px 0}
html body #app #v-clinica .cm-patient-selection :is(p,strong,button){color:#f3f7ff!important;-webkit-text-fill-color:#f3f7ff!important;white-space:normal;overflow-wrap:anywhere}
html body #app #v-clinica #patientList .cm-patient-swipe-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:-4px 0 16px}
html body #app #v-clinica #patientList .cm-patient-swipe-actions button{min-height:48px;min-width:100px;white-space:normal;overflow-wrap:anywhere;color:#fff!important;-webkit-text-fill-color:#fff!important;background:#182d45!important;border:1px solid #647992;border-radius:12px;padding:10px 16px}
html body #app #v-clinica #patientList .cm-patient-swipe-actions .cm-patient-swipe-delete{background:#942b43!important}
html body #app :is(#v-clinica,#v-patient) :is(.cml,.cml-surface,.cml-card,.cml-fields,.cml-grid,.cml-row,.cml-hospital-grid,.cml-hospital-card,.cml-tabs,.cml-actions,.cml-stats){min-width:0;max-width:100%;box-sizing:border-box}
html body #app :is(#v-clinica,#v-patient) .cml :is(h2,h3,h4,p,span,b,small,label,summary,button,a){overflow-wrap:anywhere;word-break:normal;white-space:normal;min-width:0}
html body #app :is(#v-clinica,#v-patient) .cml-row{flex-wrap:wrap;align-items:flex-start;gap:12px}
html body #app :is(#v-clinica,#v-patient) .cml-row>div{flex:1 1 240px;min-width:0}
html body #app :is(#v-clinica,#v-patient) .cml :is(input,select,textarea){max-width:100%;min-width:0;width:100%;box-sizing:border-box;font-size:16px}
html body #app :is(#v-clinica,#v-patient) .cml :is(.cml-grid,.cml-fields){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body #app #v-patient .cml-hospital-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body #app #v-patient .cml-hospital-card{height:auto;min-height:132px;padding:16px;align-self:stretch}
html body #app #v-patient .cml-tabs{display:flex;flex-wrap:wrap;gap:8px;overflow:visible}
html body #app #v-patient .cml-tabs button{flex:1 1 150px;min-height:46px;height:auto;padding:10px}
html body #app #v-patient .cml-actions{display:flex;flex-wrap:wrap;gap:10px}
html body #app #v-patient .cml-actions button{flex:1 1 170px;min-height:46px;height:auto}
html body #app #v-patient .cml-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
html body #app #v-patient .cml-chart{display:block;max-width:100%;width:100%;height:auto}
html body #app #v-patient .cml-table-scroll{overflow-x:auto;max-width:100%}
html body #cmlDialog.cml{box-sizing:border-box;width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:auto}
html body #cmlDialog.cml :is(.cml-dialog-body,.cml-guide-pane,.cml-card,.cml-grid,.cml-fields,.cml-measure,.cml-parameter-help){min-width:0;max-width:100%;box-sizing:border-box}
html body #cmlDialog.cml :is(h2,h3,h4,p,label,summary,small,button,a){overflow-wrap:anywhere;white-space:normal;min-width:0}
html body #cmlDialog.cml :is(input,select,textarea){min-width:0;max-width:100%;width:100%;font-size:16px;box-sizing:border-box}
html body #cmlDialog.cml .cml-fields,html body #cmlDialog.cml .cml-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body #cmlDialog.cml .cml-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible}
html body #cmlDialog.cml .cml-stepper button{white-space:normal;height:auto;min-height:66px;padding:10px}
html body #cmlDialog.cml .cml-medications{margin:22px 0;padding-top:18px;border-top:1px solid #7289a4}
html body #cmlDialog.cml .cml-medications .cml-card{margin:16px 0}
html body #cmlDialog.cml .cml-row,html body #cmlDialog.cml .cml-actions{flex-wrap:wrap;gap:10px}
html body #cmlDialog.cml .cml-actions button{flex:1 1 170px;min-height:46px;height:auto}
html body #cmlDialog.cml .cml-parameter-help{padding:16px;background:#102b40;color:#f2f6ff;border-radius:16px;margin-bottom:16px}
html body #cmlDialog.cml .cml-parameter-help :is(p,h3,h4,summary){color:#f2f6ff!important;-webkit-text-fill-color:#f2f6ff!important}
html body #cmlDialog.cml .cml-parameter-help a{color:#8ff0e1!important;-webkit-text-fill-color:#8ff0e1!important}
@media (min-width:768px) and (max-width:1366px){html body #app #v-patient #cmlPatient{width:100%;padding:24px}html body #app #v-patient .cml-hospital-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body #cmlDialog.cml .cml-presentation-layout{grid-template-columns:minmax(0,1fr)}html body #cmlDialog.cml .cml-dialog-body{padding:20px}}
@media (max-width:600px){html body #app :is(#v-clinica,#v-patient) .cml :is(.cml-grid,.cml-fields),html body #cmlDialog.cml .cml-fields,html body #cmlDialog.cml .cml-grid{grid-template-columns:minmax(0,1fr)}html body #app #v-patient .cml-stats{grid-template-columns:repeat(2,minmax(0,1fr))}html body #cmlDialog.cml .cml-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}html body #app #v-patient .cml-hospital-card{padding:12px;min-height:140px}html body #app #v-patient .cml-hospital-grid{gap:8px}}

html body #app #v-patient #patientHead>div{flex-wrap:wrap;min-width:0;max-width:100%}
html body #app #v-patient #patientHead>div>div{flex:1 1 230px;min-width:0;max-width:100%;overflow-wrap:anywhere}
html body #app #v-patient #patientHead .btn{white-space:normal;overflow-wrap:anywhere;height:auto;min-height:44px;max-width:100%}
html body #cmlDialog.cml .cml-measures{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
html body #cmlDialog.cml .cml-measure .cml-link{width:100%;min-width:0;height:auto;white-space:normal}
html body #cmlDialog.cml input[type=checkbox]{width:21px;min-width:21px;flex:none}
@media(max-width:600px){html body #cmlDialog.cml .cml-measures{grid-template-columns:minmax(0,1fr)}}


/* --- source: assets/css/camadamed-readability-r656.css --- */
/* R6.56 — complete control labels and dark-dashboard text, scoped to app. */
html body #app #v-clinica #cmPatientSelection .cm-patient-selection-idle{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
html body #app #v-clinica #cmPatientSelection .cm-patient-selection-idle p{flex:1 1 240px;min-width:0;margin:0;overflow-wrap:normal;word-break:normal}
html body #app #v-clinica #cmPatientSelection [data-pselect]{flex:0 0 auto;min-width:max-content;width:auto;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;min-height:46px;padding:10px 16px}
html body #app :is(#v-clinica,#v-patient) button,html body #cmlDialog.cml button{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
html body #app #v-dash :is(.pi-list-value,.pi-kpi-value,.pi-duo-value){color:#f4f7ff!important;-webkit-text-fill-color:#f4f7ff!important;opacity:1!important;text-shadow:none!important;font-variant-numeric:tabular-nums}
html body #app #v-dash :is(.pi-card-link,.today-link){color:#f2d398!important;-webkit-text-fill-color:#f2d398!important;opacity:1!important;text-decoration:underline;text-underline-offset:3px}
html body #app #v-clinica #cmPatientSelection :is(.cm-patient-selection-title,.cm-patient-selection-actions){flex-wrap:wrap;gap:12px;min-width:0}
@media(max-width:600px){html body #app #v-clinica #cmPatientSelection .cm-patient-selection-idle [data-pselect=start]{flex:1 0 100%;width:100%;min-width:0;max-width:100%}html body #app #v-clinica #cmPatientSelection .cm-patient-selection-actions [data-pselect]{flex:1 1 100%;width:100%;min-width:0}}


/* --- source: assets/css/camadamed-patient-tools-r657.css --- */
/* R6.57: text and symbols accompany color. Motion changes border only. */
.cml .cmp-scores,.cml .cmp-score-editor,.cml .cmp-drug-search{min-width:0;max-width:100%;overflow-wrap:break-word}
.cml .cmp-score,.cml .cmp-score-entry,.cml .cmp-drug-search article{border:2px solid #708499;border-radius:14px;padding:14px;margin:10px 0;min-width:0;background:#112131;color:#f4f7ff;-webkit-text-fill-color:#f4f7ff}
.cml .cmp-score :is(p,small,b),.cml .cmp-score-entry :is(p,h4){color:#f4f7ff;-webkit-text-fill-color:#f4f7ff}
.cml .cmp-score.bad{border-color:#ff8e96;animation:cmp-attention-red 2.5s ease-in-out infinite}
.cml .cmp-score.warn{border-color:#f2d398;animation:cmp-attention-yellow 2.5s ease-in-out infinite}
.cml .cmp-score.ok{border-color:#81d7ad}
.cml .cmp-score.neutral{border-color:#92a4b8}
.cml :is(.cmp-score-editor,.cmp-drug-search) input,.cml .cmp-score-editor select{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.cml .cmp-score-editor input[type=checkbox]{width:auto;flex:0 0 22px}
.cml .cmp-score-editor label{min-width:0}
.cml .cmp-score-editor label small{display:block}
.cml :is(.cmp-scores,.cmp-score-editor,.cmp-drug-search) button{max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal;min-height:44px}
@keyframes cmp-attention-red{50%{border-color:#a45665}}
@keyframes cmp-attention-yellow{50%{border-color:#9b875d}}
@media(prefers-reduced-motion:reduce){.cml .cmp-score.bad,.cml .cmp-score.warn{animation:none}}
@media(max-width:900px){.cml .cmp-score-editor .cml-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.cml .cmp-drug-search .cml-actions{flex-wrap:wrap}}


/* --- source: assets/css/camadamed-premium-fit-r658.css --- */
/* R6.58. Platform only: native reading rhythm, liquid surfaces, content-sized cards.
   Clinical colors, light patient rows, forms and public-site identity retain their rules. */
@media screen{
html body.cm-platform-page.cm-premium-r636{
 --cm658-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
 --sans:var(--cm658-font);--serif:var(--cm658-font);
 font-family:var(--cm658-font)!important;font-size:16px;line-height:1.6;
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog,#sheet) :is(button,input,select,textarea,h1,h2,h3,h4,h5,p,label,summary,small){font-family:var(--cm658-font)!important}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog,#sheet) :is(h1,h2,h3,h4,h5){font-weight:600!important;line-height:1.3;letter-spacing:-.02em}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog,#sheet) :is(p,label,li){line-height:1.65;font-weight:400}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog,#sheet) :is(b,strong){font-weight:600}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog,#sheet) :is(button,a,summary):focus-visible{outline:3px solid #a6d0ff!important;outline-offset:4px}

/* A real minimum content width replaces the two fixed narrow phone columns. */
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-grid{
 display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;
 gap:16px!important;align-items:stretch;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card{
 display:grid!important;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:auto 1fr auto;
 align-items:start;gap:18px 12px!important;min-width:0!important;max-width:100%;
 width:100%;height:auto!important;min-height:190px!important;box-sizing:border-box;
 padding:22px!important;text-align:start;overflow:visible!important;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-icon{grid-column:1;grid-row:1;width:42px;height:42px;border-radius:14px;font-size:20px}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy{
 grid-column:1/-1;grid-row:2;display:block;min-width:0!important;width:100%;max-width:100%;
 padding:0!important;white-space:normal!important;overflow:visible!important;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy :is(b,small){
 display:block;min-width:0;max-width:100%;height:auto!important;white-space:normal!important;
 word-break:normal!important;overflow-wrap:anywhere;text-overflow:clip!important;
 overflow:visible!important;-webkit-line-clamp:unset!important;hyphens:none;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy b{
 font-size:18px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:-.015em!important;
 color:#f4f7fc!important;-webkit-text-fill-color:#f4f7fc!important;margin:0 0 8px!important;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy small{
 font-size:15px!important;line-height:1.55!important;font-weight:400!important;
 color:#c3cfdd!important;-webkit-text-fill-color:#c3cfdd!important;margin:0;
}
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-arrow{
 grid-column:2;grid-row:3;position:static!important;justify-self:end;align-self:end;
 font-size:24px;line-height:1;pointer-events:none;
}
html body.cm-platform-page.cm-premium-r636 #app #v-estudo :is(.cm-study-section-head,.cm-study-head){min-width:0;max-width:100%}
html body.cm-platform-page.cm-premium-r636 #app #v-estudo :is(.cm-study-section-head h2,.cm-study-head h1){
 max-width:100%;white-space:normal!important;word-break:normal;overflow-wrap:anywhere;
 font-size:clamp(23px,3vw,32px)!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.025em!important;
}

/* Calm inner refraction. The existing sapphire observer supplies moving edges,
   runs them only while visible and pauses them when the page is hidden. */
html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono,#v-dash,#v-patient,#v-clinica,#v-hub,#v-livro) :is(.cm-study-card,.cm-study-now,.pi-study-entry,.pi-book-entry,.pi-card,.pi-kpi,.cml-hospital-card,.cml-scenario,.cml-card,.cml-stat,.cml-measure,.cml-event),
html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml :is(.cml-card,.cml-measure,.cmp-score-entry){
 position:relative;isolation:isolate;border-radius:22px!important;
 border:1px solid rgba(189,211,239,.24)!important;
 background:radial-gradient(ellipse at 0 0,rgba(179,211,255,.10),transparent 55%),linear-gradient(140deg,rgba(32,48,70,.92),rgba(12,23,39,.94))!important;
 box-shadow:inset 0 1px 0 rgba(245,250,255,.16),inset 0 -1px 0 rgba(0,0,0,.24),0 12px 30px rgba(0,0,0,.16)!important;
}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono,#v-dash,#v-patient,#v-clinica,#v-hub,#v-livro) :is(.cm-study-card,.pi-study-entry,.pi-book-entry,.cml-hospital-card,.cml-scenario){
  background:radial-gradient(ellipse at 0 0,rgba(179,211,255,.12),transparent 55%),linear-gradient(140deg,rgba(32,48,70,.76),rgba(12,23,39,.86))!important;
  backdrop-filter:blur(12px) saturate(1.12);-webkit-backdrop-filter:blur(12px) saturate(1.12);
 }
}
/* Protect medical severity borders from decorative glass overrides. */
html body.cm-platform-page.cm-premium-r636 #app #v-patient .cml-hospital-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;gap:14px!important}
html body.cm-platform-page.cm-premium-r636 #app #v-patient .cml-hospital-card{min-width:0;max-width:100%;height:auto!important;min-height:140px;box-sizing:border-box}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) :is(.cml-table-scroll,.cml-chart){max-width:100%;min-width:0}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cml-table-scroll{overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
html body.cm-platform-page.cm-premium-r636 .cml :is(.cmp-score.bad,.cmp-score.warn,.cmp-score.ok,.cmp-score.neutral){border-width:2px}
html body.cm-platform-page.cm-premium-r636 #app .cm-study-card :is(.cm-sapphire-edge,.cm-sapphire-bevel){pointer-events:none!important}
@media(hover:hover) and (pointer:fine){
 html body.cm-platform-page.cm-premium-r636 #app :is(.cm-study-card,.cml-hospital-card,.cml-scenario):hover{border-color:rgba(226,211,166,.64)!important;box-shadow:inset 0 1px 0 #ffffff30,0 14px 34px #0004!important}
}
@media(max-width:560px){
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card{
  grid-template-columns:42px minmax(0,1fr) 16px;grid-template-rows:auto;
  align-items:center;min-height:120px!important;padding:18px!important;gap:14px!important;
 }
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy{grid-column:2;grid-row:1}
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-arrow{grid-column:3;grid-row:1;align-self:center}
}
@media(max-width:360px){
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card{grid-template-columns:minmax(0,1fr) 16px;grid-template-rows:auto auto;gap:12px!important}
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-card-copy{grid-column:1/-1;grid-row:2}
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono) .cm-study-arrow{grid-column:2;grid-row:1}
}
@media(prefers-reduced-transparency:reduce){
 html body.cm-platform-page.cm-premium-r636 #app :is(#v-estudo,#v-crono,#v-dash,#v-patient,#v-clinica,#v-hub,#v-livro) :is(.cm-study-card,.cm-study-now,.pi-study-entry,.pi-book-entry,.pi-card,.pi-kpi,.cml-hospital-card,.cml-scenario,.cml-card,.cml-stat,.cml-measure,.cml-event),
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml :is(.cml-card,.cml-measure,.cmp-score-entry){background:#142234!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@media(prefers-reduced-motion:reduce){html body.cm-platform-page.cm-premium-r636 :is(.cm-sapphire-light,.cm-sapphire-edge){animation:none!important;transition:none!important}}
@media(forced-colors:active){html body.cm-platform-page.cm-premium-r636 #app :is(.cm-study-card,.cml-hospital-card,.cml-scenario){background:Canvas!important;color:CanvasText!important;border-color:ButtonText!important}html body.cm-platform-page.cm-premium-r636 #app .cm-study-card-copy :is(b,small){color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}}
/* Severity has precedence over the decorative surface and its highlights. */
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cml [data-cm649-state=red]:is(.cml-measure,.cml-hospital-card),
html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml [data-cm649-state=red]:is(.cml-measure,.cml-hospital-card){background:linear-gradient(145deg,#4b2634,#351d2c)!important;border:2px solid #efaaa3!important}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cml [data-cm649-state=yellow]:is(.cml-measure,.cml-hospital-card),
html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml [data-cm649-state=yellow]:is(.cml-measure,.cml-hospital-card){background:linear-gradient(145deg,#443820,#302819)!important;border:2px solid #e9c66d!important}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cml [data-cm649-state=green]:is(.cml-measure,.cml-hospital-card),
html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml [data-cm649-state=green]:is(.cml-measure,.cml-hospital-card){background:linear-gradient(145deg,#173d33,#102e29)!important;border:2px solid #78cfa8!important}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) [data-cm649-state]>.cm-sapphire-edge{display:none!important}
html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cml-card:is(.cml-critical,.cml-alert){border-color:#efaaa3!important}
}


/* --- source: assets/css/camadamed-study-direct-r660.css --- */
/* One vertical learning window; existing platform palette and glass remain. */
html body.cm-platform-page #cmlDialog .cm660-study{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0}
html body.cm-platform-page #cmlDialog .cm660-study>section,html body.cm-platform-page #cmlDialog .cm660-study>details{min-width:0;margin:0}
html body.cm-platform-page #cmlDialog .cm660-study .cml-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
html body.cm-platform-page #cmlDialog .cm660-study .cml-actions button{flex:none;width:100%;height:auto;min-height:46px;white-space:normal}
html body.cm-platform-page #cmlDialog .cm660-study :is(input,textarea,select){box-sizing:border-box;width:100%;max-width:100%;min-width:0;font-size:16px}
html body.cm-platform-page #cmlDialog .cm660-study input[type=checkbox]{width:21px;flex:none}
html body.cm-platform-page #cmlDialog .cm660-study pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;max-height:320px;overflow:auto}
html body.cm-platform-page #cmlDialog .cm660-study summary{padding:12px 0;line-height:1.5;cursor:pointer}
html body.cm-platform-page #cmlDialog .cm660-study #icuStudyMinimum{padding:12px;border:1px solid #8ca2b7;border-radius:12px;color:#e5eef9;line-height:1.6}
html body.cm-platform-page #cmlDialog .cm660-study .cml-reading{max-width:72ch;line-height:1.7}
html body.cm-platform-page #cmlDialog .cm660-study #icuStoredStudies button{display:block;width:100%;margin:10px 0;text-align:start;white-space:normal}
@media print{html body.cm-platform-page #cmlDialog .cm660-study{display:block}html body.cm-platform-page #cmlDialog .cm660-study .cml-actions{display:none}}
@media print{body.cml-study-print #cmlDialog .cml-dialog-body .cm660-study>#icuStudyExplanation{display:block!important}body.cml-study-print #icuStudyExplanation>h3{display:none!important}}


/* --- source: assets/css/camadamed-clinical-work-r661.css --- */
.cml .cml-case-points{padding-inline-start:1.2em;margin:.55em 0 0}
.cml .cml-case-points li{margin:.42em 0;overflow-wrap:anywhere;white-space:pre-wrap}
.cml .cml-speaking-section>div,.cml .cml-calc-tool,.cml .cml-presentation-toolbar{min-width:0;max-width:100%;overflow-wrap:anywhere}
.cml .cml-sign-actions{display:flex;gap:.4rem;margin-block:.25rem}
.cml .cml-sign-actions button{min-width:44px;min-height:44px;font-size:1.2rem}
.cml :is(#cmlPromptText,#cmlCopyText){display:block;width:100%;max-width:100%;box-sizing:border-box;resize:vertical}
.cml #cmlCopyText[hidden],.cml #cmlCaseFile[hidden]{display:none}
.cml #cmlCaseFile{display:inline-block;margin-top:.6rem}
.cml .cml-formula{font-weight:650;white-space:normal}
.cml .cmp-score h4,.cml .cmp-score-summary{color:#f4f7ff;-webkit-text-fill-color:#f4f7ff}
.cml .cmp-score details ul{padding-inline-start:1.3em;overflow-wrap:anywhere}
.cml .cmp-drug-search select{width:100%;min-width:0;max-width:100%}


/* --- source: assets/css/camadamed-command-r678.css --- */
/* R6.78. Patient command center. */
@media screen{
html body.cm-platform-page.cm-premium-r636 #app #patientHead{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;margin-bottom:12px}
html body.cm-platform-page.cm-premium-r636 #app #patientHead .cml-patient-identity>summary{font-size:13px;line-height:1.5;min-height:44px;box-sizing:border-box;padding:12px 16px;border:1px solid #bed6f52b;border-radius:15px;color:#c9d7e9;background:#a2c9ff07;cursor:pointer}
html body.cm-platform-page.cm-premium-r636 #app #patientHead .cml-identity-content{background:#f3f0e8;border-radius:18px;padding:18px;margin-top:8px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-patient-demographics{color:#c7d5e8;font-size:14px;margin:8px 0 0;line-height:1.5}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command{--cmd-text:#f1f5fc;--cmd-muted:#bdcadc;--cmd-edge:rgba(190,217,255,.27);margin:24px 0;color:var(--cmd-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(h3,h4,p,button,summary,span){min-width:0;max-width:100%;box-sizing:border-box;word-break:normal;overflow-wrap:anywhere;hyphens:none}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(button,summary){touch-action:manipulation}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-heading h3{font-size:clamp(22px,2.5vw,28px)!important;line-height:1.25;margin:6px 0 0;letter-spacing:-.025em}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-release{flex:0 0 auto;color:var(--cmd-muted);font-size:12px;font-variant-numeric:tabular-nums;border:1px solid var(--cmd-edge);border-radius:999px;padding:4px 10px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:13px;color:var(--cmd-muted)}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-source{padding:4px 10px;border:1px solid var(--cmd-edge);border-radius:999px;color:#dceaff;background:#b9d5ff0a}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-protection{color:#c7d5e8;font-size:13px;margin:10px 0}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,auto);gap:20px;align-items:center;margin:18px 0 12px;padding:20px;border:1px solid #c6dfff52;border-radius:22px;background:radial-gradient(ellipse at 0 0,#99caff1c,transparent 70%),linear-gradient(135deg,#28496850,#13233b65);box-shadow:inset 0 1px 0 #eff7ff25,0 10px 28px #00000012}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next p{margin:6px 0 0;font-size:15px;line-height:1.55;color:#d2deef}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command button{position:relative;min-height:44px;height:auto!important;white-space:normal!important;line-height:1.4!important;text-align:left;letter-spacing:0;font-size:14px!important;font-weight:500!important;padding:11px 14px!important;border-radius:13px!important;color:#e7f0ff!important;-webkit-text-fill-color:#e7f0ff!important;border:1px solid #bed6f538!important;background:#9bc9ff09!important;transition:background .16s ease,border-color .16s ease,transform .16s ease}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next .cml-primary{background:#efdaa8!important;color:#17283c!important;-webkit-text-fill-color:#17283c!important;border-color:#f4e4be!important;font-weight:600!important;max-width:300px;box-shadow:inset 0 1px 0 #fff6,0 5px 16px #0002}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-facts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 2px 20px;color:var(--cmd-muted);font-size:12px;line-height:1.5}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-alert{border:1px solid #e9c66d;border-radius:18px;padding:16px;margin:0 0 18px;background:#44382080;color:#fff1c9}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-alert[data-command-alert="red"]{border-color:#efa9a3;background:#4b263480;color:#ffe5e2}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-alert p{margin:0 0 10px;font-size:14px;font-weight:600}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-alert>div{display:flex;flex-wrap:wrap;gap:8px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-alert small{display:block;margin-top:10px;font-size:12px;color:#e6d9d0}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card{display:flex!important;flex-direction:column;align-items:stretch;text-align:left;position:relative;isolation:isolate;height:auto!important;min-height:245px;width:100%;min-width:0;padding:20px!important;margin:0;gap:0;overflow:hidden;border-radius:22px!important;border:1px solid var(--cmd-edge)!important;background:radial-gradient(ellipse at 0 0,#b3d3ff13,transparent 65%),linear-gradient(145deg,#22324985,#0c17279c)!important;box-shadow:inset 0 1px 0 #f5faff24,0 12px 30px #00000014!important}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-number{font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.08em;color:#ead298}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-stage-state{font-size:11px!important;line-height:1.4;color:#b9c9df!important;-webkit-text-fill-color:#b9c9df!important;text-align:right;font-weight:400!important}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card h4{font-size:18px!important;line-height:1.3!important;color:var(--cmd-text)!important;-webkit-text-fill-color:var(--cmd-text)!important;letter-spacing:-.015em;margin:0 0 8px!important}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card p{font-size:14px!important;line-height:1.55;color:var(--cmd-muted)!important;-webkit-text-fill-color:var(--cmd-muted)!important;margin:0 0 18px!important}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card-actions{display:grid;margin-top:auto;position:relative;z-index:1}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card-actions>button{width:100%;font-weight:600!important;border-color:#cce3ff42!important}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-more{margin-top:5px;position:relative;z-index:1;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-more summary{font-size:12px!important;min-height:40px;padding:12px 2px 6px!important;line-height:1.4!important;color:#c7d7ec!important;cursor:pointer;list-style:revert}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-more>div{display:grid;gap:7px;padding-top:8px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:18px 0 6px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-options>span{font-size:12px;line-height:1.5;color:var(--cmd-muted)}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-history-tools{border-top:1px solid #bed6f52b;padding-top:12px;margin-top:18px;min-width:0}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-history-tools>summary{min-height:44px;line-height:1.5;padding:10px 0;color:#cad9eb;font-size:14px;cursor:pointer}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-history-tools>.cml-note{font-size:13px;margin-bottom:18px}
html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command button:disabled{opacity:.5;cursor:default}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(.cml-command-card,.cml-command-next){backdrop-filter:blur(12px) saturate(1.18);-webkit-backdrop-filter:blur(12px) saturate(1.18)}}
@media (hover:hover) and (pointer:fine){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command button:not(:disabled):hover{background:#afceff18!important;border-color:#b9d7ff82!important;transform:translateY(-1px)}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next .cml-primary:hover{background:#f7e7c0!important}}
@media(max-width:1100px){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-grid{grid-template-columns:minmax(0,1fr);gap:12px}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next{grid-template-columns:minmax(0,1fr);gap:14px;padding:18px}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next .cml-primary{max-width:none;width:100%}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card{min-height:0;padding:18px!important}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card-top{margin-bottom:10px}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card h4{font-size:19px!important}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card p{margin-bottom:14px!important}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-facts{gap:5px 12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(.cml-command-card,.cml-command-next){background:#16283d!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(forced-colors:active){html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(.cml-command-card,.cml-command-next,button){background:Canvas!important;border-color:ButtonText!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;box-shadow:none!important}html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(p,h3,h4,span,summary){color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}}
}

/* Entry identity remains readable beside the close control at compact widths. */
@media screen {
 html body.cm-platform-page #cmlDialog .cml-dialog-title {flex:1 1 0;min-width:0;max-width:100%}
 html body.cm-platform-page #cmlDialog .cml-dialog-head h2 {font-size:clamp(18px,2.2vw,24px);line-height:1.3;overflow-wrap:anywhere;word-break:normal}
 html body.cm-platform-page #cmlDialog .cml-patient-context {font-size:14px;line-height:1.5;overflow-wrap:anywhere;word-break:normal;margin:6px 0 0;color:#dae6f5}
 html body.cm-platform-page #cmlDialog .cml-dialog-head>button {flex:0 0 auto;white-space:nowrap;min-height:44px}
}

@media screen {
  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-patient-header {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #c6dcfa28;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-patient-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-patient-header-top button {
    min-height: 44px;
    max-width: 100%;
    padding: 7px 12px;
    line-height: 1.3;
    white-space: normal;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-patient-header :is(h2,p) {
    margin: 0;
    overflow-wrap: anywhere;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-patient-header h2 {
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.24;
    letter-spacing: -.024em;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next {
    border-color: #ebd8a263;
    background: radial-gradient(ellipse at 0 0, #d4bd7821, transparent 67%),
                linear-gradient(138deg, #263e5db0, #101d32b8);
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-source::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-end: 7px;
    border-radius: 50%;
    vertical-align: .12em;
    background: #aebdd3;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-source[data-command-source="draft"]::before {
    background: #efda9e;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-source[data-command-source="saved"]::before {
    background: #94d7cf;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress {
    display: grid;
    gap: 7px;
    margin: 12px 2px 0;
    color: var(--cmd-muted);
    font-size: 13px;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress progress {
    width: 100%;
    height: 6px;
    appearance: none;
    border: 0;
    border-radius: 999px;
    accent-color: #e6cc90;
    background: #a9c2e52c;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress progress::-webkit-progress-bar {
    border-radius: 999px;
    background: #a9c2e52c;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, #e2c17f, #f4e5be);
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-steps-heading {
    margin: 16px 2px 10px;
    color: var(--cmd-text);
    font-size: 16px;
    line-height: 1.4;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card {
    min-height: 208px;
    transition: border-color .16s ease;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card[aria-current="step"] {
    border-color: #e9cf917d !important;
    background: radial-gradient(ellipse at 0 0, #ead09b24, transparent 65%),
                linear-gradient(145deg, #2a3e56b0, #101e30c2) !important;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-number {
    display: inline-grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    border: 1px solid #e3ce9644;
    background: #dfc99412;
    letter-spacing: 0;
  }

  html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(button,summary):focus-visible {
    outline: 2px solid #f3d99a;
    outline-offset: 2px;
  }

  html body.cm-platform-page #cmlDialog .cml-wizard-footer > #cmlEditorStatus {
    flex: 1 0 100%;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }

  html body.cm-platform-page #cmlDialog .cml-wizard-footer > #cmlEditorStatus:empty {
    display: none;
  }

  @media (max-width: 600px) {
    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command {
      margin-block: 16px;
    }

    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card {
      min-height: 0;
      padding: 14px !important;
    }

    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-card p {
      margin-bottom: 10px !important;
    }

    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-more {
      margin-bottom: 0;
    }

    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-more summary {
      min-height: 44px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card {
      transition: none;
    }
  }

  @media (prefers-reduced-transparency: reduce) {
    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card[aria-current="step"] {
      background: #16283d !important;
    }
  }

  @media (forced-colors: active) {
    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card[aria-current="step"] {
      background: Canvas !important;
      border-color: Highlight !important;
    }

    html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command :is(button,summary):focus-visible {
      outline-color: Highlight;
    }
  }
}

@media screen {
  html body.cm-platform-page #cmlDialog .cml-compact-footer.cml-wizard-final > [data-cml="save"] {
    display: flex !important;
    order: -1;
    flex: 1 0 100%;
    justify-content: center;
  }

  html body.cm-platform-page #cmlDialog .cml-compact-footer.cml-wizard-final > #cmlEditorStatus {
    order: -2;
  }

  html body.cm-platform-page #cmlDialog .cml-compact-footer.cml-wizard-final [data-icu="save-progress"] {
    background: #abc9f512 !important;
    border: 1px solid #b6d2f65c !important;
    color: #e7f0ff !important;
    -webkit-text-fill-color: #e7f0ff !important;
  }
}


/* --- source: assets/css/camadamed-clinical-calculators-r671.css --- */
/* Scoped clinical calculators. Existing brand and public site remain unchanged. */
body.cm-platform-page.cm-premium-r636 .ccr{--ccr-ink:#f2f6ff;--ccr-muted:#c3d0e1;color:var(--ccr-ink);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1rem;line-height:1.55;min-width:0;max-width:100%;box-sizing:border-box;text-align:start;}
body.cm-platform-page.cm-premium-r636 .ccr *,body.cm-platform-page.cm-premium-r636 .ccr *::before,body.cm-platform-page.cm-premium-r636 .ccr *::after{box-sizing:border-box;min-width:0;max-width:100%;}
body.cm-platform-page.cm-premium-r636 .ccr :is(p,small,label,span,strong,h3,h4,summary,a,button,li){color:inherit;word-break:normal;overflow-wrap:anywhere;hyphens:none;letter-spacing:normal;}
body.cm-platform-page.cm-premium-r636 .ccr :is(h3,h4){font-family:inherit;line-height:1.25;margin:.75rem 0;font-weight:650;}
body.cm-platform-page.cm-premium-r636 .ccr h3{font-size:clamp(1.3rem,2.4vw,1.65rem);}
body.cm-platform-page.cm-premium-r636 .ccr h4{font-size:1.1rem;}
body.cm-platform-page.cm-premium-r636 .ccr p{font-size:1rem;line-height:1.6;margin:.65rem 0;color:var(--ccr-muted);}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-eyebrow{font-size:.76rem;font-weight:700;letter-spacing:.09em;color:#eddaa0;line-height:1.5;}
body.cm-platform-page.cm-premium-r636 .ccr :is(button,select,input,textarea){font:inherit;}
body.cm-platform-page.cm-premium-r636 .ccr :is(button,select,input){min-height:46px;}
body.cm-platform-page.cm-premium-r636 .ccr button{display:inline-flex;align-items:center;justify-content:center;white-space:normal;word-break:normal;text-align:center;padding:.65rem .95rem;border:1px solid rgba(219,234,255,.38);border-radius:15px;background:linear-gradient(145deg,rgba(195,219,255,.14),rgba(116,151,196,.05));color:var(--ccr-ink);font-size:1rem;font-weight:600;line-height:1.35;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.1);transition:background .18s,border-color .18s,box-shadow .18s;}
body.cm-platform-page.cm-premium-r636 .ccr button:is(:hover,:focus-visible){border-color:#e8d591;background-color:rgba(182,211,255,.16);box-shadow:inset 0 1px rgba(255,255,255,.15),0 0 18px rgba(157,195,255,.11);}
body.cm-platform-page.cm-premium-r636 .ccr button:disabled{opacity:.55;cursor:default;}
body.cm-platform-page.cm-premium-r636 .ccr button.cml-primary{color:#142030;background:linear-gradient(120deg,#f0deaa,#d5b978);border-color:#f1dfaa;}
body.cm-platform-page.cm-premium-r636 .ccr :is(input,select,textarea){width:100%;background:#f6f8fc;color:#172438;border:1px solid #c4d0df;border-radius:12px;padding:.65rem .75rem;font-size:16px;line-height:1.35;}
body.cm-platform-page.cm-premium-r636 .ccr option{color:#172438;background:#f6f8fc;}
body.cm-platform-page.cm-premium-r636 .ccr :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #e6cd8b;outline-offset:3px;}
body.cm-platform-page.cm-premium-r636 .ccr label{display:grid;gap:.35rem;align-content:start;color:var(--ccr-ink);font-size:.98rem;font-weight:550;}
body.cm-platform-page.cm-premium-r636 .ccr small{font-size:.83rem;line-height:1.5;color:var(--ccr-muted);font-weight:400;}
body.cm-platform-page.cm-premium-r636 .ccr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:.9rem 0;align-items:start;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-check{display:flex;align-items:flex-start;gap:.7rem;margin:1rem 0;line-height:1.5;font-weight:400;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-check input{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:.2rem 0 0;accent-color:#dfc582;}
body.cm-platform-page.cm-premium-r636 .ccr :is(.ccr-tabs,.ccr-actions){display:flex;flex-wrap:wrap;gap:.6rem;align-items:stretch;margin:.85rem 0;}
body.cm-platform-page.cm-premium-r636 .ccr-tabs{padding-bottom:.8rem;border-bottom:1px solid rgba(206,225,255,.2);}
body.cm-platform-page.cm-premium-r636 .ccr-tabs button[aria-pressed="true"]{background:rgba(233,210,154,.16);border-color:#e8d591;}
body.cm-platform-page.cm-premium-r636 .ccr :is(.ccr-result,.ccr-inline,.ccr-solution,.ccr-pending){border:1px solid rgba(207,228,255,.34);border-radius:22px;background:linear-gradient(135deg,rgba(186,216,255,.12),rgba(73,105,142,.05));box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 12px 30px rgba(0,8,22,.13);padding:1.15rem;margin:1rem 0;}
body.cm-platform-page.cm-premium-r636 .ccr-result:focus-within{border-color:rgba(234,213,158,.75);}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-help{border:1px solid rgba(203,224,255,.23);border-radius:16px;margin:.75rem 0;padding:0;background:rgba(13,28,48,.22);overflow:visible;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-help>summary{min-height:46px;padding:.85rem .95rem;color:var(--ccr-ink);font-size:1rem;font-weight:600;line-height:1.4;cursor:pointer;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-help> :not(summary){margin-left:.95rem;margin-right:.95rem;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-help> :last-child{margin-bottom:1rem;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-help>.ccr-grid{margin-left:.95rem;margin-right:.95rem;max-width:calc(100% - 1.9rem);}
body.cm-platform-page.cm-premium-r636 .ccr a{color:#c3deff;text-decoration:underline;text-underline-offset:.2em;}
body.cm-platform-page.cm-premium-r636 .ccr ul{padding-left:1.25rem;}
body.cm-platform-page.cm-premium-r636 .ccr li{margin:.6rem 0;}
body.cm-platform-page.cm-premium-r636 .ccr-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.9rem 0;}
body.cm-platform-page.cm-premium-r636 .ccr-stat{border:1px solid rgba(206,225,255,.2);border-radius:16px;padding:.8rem;background:rgba(210,229,255,.05);display:grid;gap:.3rem;align-content:start;}
body.cm-platform-page.cm-premium-r636 .ccr-stat strong{font-size:1.4rem;font-weight:650;line-height:1.35;color:#f4f7ff;font-variant-numeric:tabular-nums;}
body.cm-platform-page.cm-premium-r636 .ccr-stat strong span{font-size:.88rem;font-weight:400;color:#d0dded;}
body.cm-platform-page.cm-premium-r636 .ccr-report{white-space:pre-wrap;word-break:normal;overflow-wrap:anywhere;font:inherit;line-height:1.6;color:#eff5ff;background:rgba(6,18,36,.35);padding:1rem;border-radius:16px;border:1px solid rgba(206,225,255,.25);max-height:42vh;overflow:auto;}
body.cm-platform-page.cm-premium-r636 .ccr-free.cml-hospital-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1rem;text-align:start;width:100%;padding:1.2rem;margin:1.2rem 0;background:linear-gradient(135deg,rgba(174,209,252,.14),rgba(77,109,148,.04));color:#f2f6ff;}
body.cm-platform-page.cm-premium-r636 .ccr-free .ccr-actions{align-content:center;}
@supports(backdrop-filter:blur(1px)){body.cm-platform-page.cm-premium-r636 .ccr-free.cml-hospital-card{backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%);}}
@media(max-width:700px){body.cm-platform-page.cm-premium-r636 .ccr-grid,body.cm-platform-page.cm-premium-r636 .ccr-free.cml-hospital-card{grid-template-columns:minmax(0,1fr);}body.cm-platform-page.cm-premium-r636 .ccr :is(.ccr-result,.ccr-inline,.ccr-solution){padding:.9rem;}body.cm-platform-page.cm-premium-r636 .ccr .ccr-actions button{flex:1 1 12rem;}body.cm-platform-page.cm-premium-r636 .ccr-tabs button{flex:1 1 5rem;}}
@media(max-width:380px){body.cm-platform-page.cm-premium-r636 .ccr-stats{grid-template-columns:minmax(0,1fr);}}
@media(prefers-reduced-motion:reduce){body.cm-platform-page.cm-premium-r636 .ccr *{transition:none;animation:none;}}
@media(forced-colors:active){body.cm-platform-page.cm-premium-r636 .ccr :is(button,.ccr-result,.ccr-stat){border:1px solid CanvasText;}}

/* Keep the action near the fields and the calculation in the same window. */
body.cm-platform-page.cm-premium-r636 .ccr .ccr-calculate {
  padding: .65rem .9rem;
  border: 1px solid #d9eaff4a;
  border-radius: 16px;
  background: #14304de0;
  box-shadow: inset 0 1px 0 #edf7ff1c;
  margin: 1rem 0;
}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-calculate .ccr-actions {margin: .2rem 0;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-calculate [role="status"] {margin: .55rem 0 .15rem;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-calculate:focus {outline: 2px solid #e3cca0; outline-offset: 2px;}
body.cm-platform-page.cm-premium-r636 .ccr .ccr-lab-entry h4 {margin-top: 0;}
@media (max-width: 560px) {
  body.cm-platform-page.cm-premium-r636 .ccr .ccr-calculate button {flex: 1 1 100%;}
}


/* --- source: assets/css/camadamed-history-exams-r671.css --- */
/* R6.71. Clinical history, exam review and collection entry. */
@media screen {
  #cmlDialog .cml-history-exams {
    margin: 0 0 18px;
    padding: 13px;
    border: 1px solid #c6dfff45;
    border-radius: 18px;
    background: linear-gradient(130deg, #8ebffa18, #203c581f);
    box-shadow: inset 0 1px 0 #e0efff19;
  }
  #cmlDialog .cml-history-exams nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }
  #cmlDialog .cml-history-exams button {
    min-height: 44px;
    min-width: 0;
    height: auto;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    transition: border-color .16s ease, background .16s ease;
  }
  #cmlDialog .cml-history-exams button[aria-current="page"] {
    color: #f9e6ba;
    border-color: #ebd19da8;
    background: #e6c27816;
  }
  #cmlDialog :is(.cml-exam-review, .cml-exam-proposal, .cml-new-collection, .cml-exam-reference, .cml-collection-history) {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  #cmlDialog .cml-exam-review > details {margin: 10px 0;}
  #cmlDialog .cml-exam-review h4 {margin-top: 20px;}
  #cmlDialog .cml-exam-proposal {margin-top: 12px;}
  #cmlDialog .cml-exam-reference {margin: 14px 0;}
  #cmlDialog .cml-exam-reference summary {
    min-height: 38px;
    color: #dceaff;
    line-height: 1.5;
    cursor: pointer;
  }
  #cmlDialog .cml-exam-reference dl {margin: 10px 0;}
  #cmlDialog .cml-exam-reference dt {color: #f0dba9; font-weight: 600;}
  #cmlDialog .cml-exam-reference dd {margin: 4px 0 13px; color: #d7e3f4;}
  #cmlDialog .cml-exam-reference :is(#ecgBody, #semioBody) {
    --petro: #f1f6ff;
    --ink-soft: #d2deee;
    --ink-mute: #b8cadf;
  }
  #cmlDialog .cml-exam-reference :is(#ecgBusca, #semioBusca) {
    background: #f6f6f2 !important;
    color: #15283d !important;
  }
  #cmlDialog .cml-exam-reference .tiles {grid-template-columns: repeat(auto-fit, minmax(min(100%, 164px), 1fr));}
  #cmlDialog .cml-exam-reference .tile {min-width: 0; min-height: 52px;}
  #cmlDialog :is(.cml-exam-proposal, .cml-new-collection) .cml-fields {grid-template-columns: repeat(2, minmax(0, 1fr));}
  #cmlDialog :is(.cml-exam-proposal, .cml-new-collection) :is(label, input, select) {min-width: 0; max-width: 100%; box-sizing: border-box;}
  #cmlDialog .cml-lab-provenance {color: #bdd6ef; font-size: 13px; line-height: 1.45;}
  #cmlDialog .cml-collection-row {margin: 10px 0;}
  #cmlDialog .cml-collection-row .cml-state {margin-inline-start: 8px;}
  @media (max-width: 560px) {
    #cmlDialog .cml-history-exams nav {grid-template-columns: repeat(2, minmax(0, 1fr));}
    #cmlDialog :is(.cml-exam-proposal, .cml-new-collection) .cml-fields {grid-template-columns: minmax(0, 1fr);}
  }
  @media (prefers-reduced-motion: reduce) {
    #cmlDialog .cml-history-exams button {transition: none;}
  }
}


/* --- source: assets/css/camadamed-case-analysis-r672.css --- */
.cml .cml-case-analysis {
  --cma-muted: #c8d6e9;
  display: grid;
  gap: 1rem;
  min-width: 0;
  color: #f3f7ff;
  overflow-wrap: anywhere;
}
.cml .cma-context {
  padding: .55rem .1rem;
}
.cml .cma-context .cml-eyebrow {
  margin-bottom: .4rem;
}
.cml .cma-context time,
.cml .cma-measure p,
.cml .cma-diagnosis small {
  color: var(--cma-muted);
}
.cml .cml-case-analysis > .cml-card {
  margin-block: 0;
  min-width: 0;
}
.cml .cml-case-analysis :is(h3, h4, summary, button) {
  overflow-wrap: anywhere;
  word-break: normal;
}
.cml .cml-case-analysis details {
  margin-top: .8rem;
}
.cml .cml-case-analysis summary {
  min-height: 44px;
  padding-block: .6rem;
  cursor: pointer;
}
.cml .cml-case-analysis :is(.cml-card, .cmp-score) > details:not([open]) {
  padding-block: .22rem;
}
.cml .cml-case-analysis button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}
.cml .cml-case-analysis :is(summary, button):focus-visible {
  outline: 2px solid #e8d396;
  outline-offset: 3px;
}
.cml .cma-diagnosis,
.cml .cma-measure {
  min-width: 0;
  padding: .9rem;
  border: 1px solid #b2c8e14d;
  border-radius: 18px;
  background: linear-gradient(138deg, #b3d3fa1c, #60799c08);
  box-shadow: inset 0 1px #e9f5ff20;
}
.cml .cma-measures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: .8rem;
  margin-block: .7rem;
}
.cml .cml-case-analysis .cmp-score-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .7rem;
}
.cml .cml-case-analysis .cmp-score {
  min-width: 0;
}
.cml .cma-row {
  display: flex;
  align-items: baseline;
  gap: .4rem .8rem;
  flex-wrap: wrap;
}
.cml .cma-row h4 {margin: 0;}
.cml .cma-row span,
.cml .cma-measure p {font-size: .9rem;}
.cml .cma-value {
  display: block;
  font-size: 1.3rem;
  margin-top: .55rem;
  font-variant-numeric: tabular-nums;
}
.cml .cma-measure[data-cma-state="red"] {border-color: #f59ba7a6;}
.cml .cma-measure[data-cma-state="yellow"] {border-color: #e8cd88a6;}
.cml .cma-measure[data-cma-state="red"] .cma-row span {color: #ffb5bc;}
.cml .cma-measure[data-cma-state="yellow"] .cma-row span {color: #f5df9c;}
.cml .cma-measure[data-cma-state="green"] .cma-row span {color: #a7e6c4;}
.cml .cmp-score-state {display: block; font-size: .85rem; margin-bottom: .35rem;}
.cml .cmp-score.bad .cmp-score-state {color: #ffb5bc;}
.cml .cmp-score.warn .cmp-score-state {color: #f5df9c;}
.cml .cmp-score.ok .cmp-score-state {color: #a7e6c4;}
@media (prefers-reduced-motion: no-preference) {
  .cml .cml-case-analysis .cmp-score:is(.bad, .warn)[data-cmp-state="calculated"] {
    animation: cma-score-attention .7s ease-out 2 alternate;
  }
  @keyframes cma-score-attention {
    to {box-shadow: inset 0 0 0 1px #ffdc9d50, 0 0 18px #ffdc9d22;}
  }
}
@media (max-width: 560px) {
  .cml .cml-case-analysis .cml-actions button {flex: 1 1 100%;}
}


/* --- source: assets/css/camadamed-therapy-r673.css --- */
.cml :is(.cml-therapy, .cmp-therapy-study) {
  --therapy-ink: #f1f6ff;
  --therapy-muted: #c7d8ee;
  color: var(--therapy-ink);
  display: grid;
  gap: .9rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cml .cml-therapy > .cml-card {margin-block: 0; min-width: 0;}
.cml :is(.cml-therapy, .cmp-therapy-study) :is(button, input, select, summary) {min-height: 44px; max-width: 100%;}
.cml :is(.cml-therapy, .cmp-therapy-study) button {white-space: normal; overflow-wrap: anywhere;}
.cml .cmp-therapy-study [hidden] {display: none !important;}
.cml .cmp-therapy-study .cml-note {color: var(--therapy-muted);}
.cml .cmp-therapy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .7rem;
  align-items: start;
}
.cml .cmp-therapy-grid details {
  margin: 0;
  min-width: 0;
  background: linear-gradient(138deg, #b3d3fa17, #587ca308);
  box-shadow: inset 0 1px #e9f5ff1c;
}
.cml :is(.cml-therapy, .cmp-therapy-study) summary {cursor: pointer; padding-block: .5rem;}
.cml .cmp-therapy-linked {color: #d0e4fc; border-inline-start: 2px solid #8db9e3; padding-inline-start: .75rem;}
.cml .cmp-therapy-study #cmpInfResult {
  border: 1px solid #c6d7ee75;
  background: linear-gradient(138deg, #91b9e429, #587ca308);
  font-variant-numeric: tabular-nums;
}
.cml .cmp-therapy-study #cmpInfResult b {font-size: 1.3rem;}
.cml :is(.cml-therapy, .cmp-therapy-study) :is(button, input, select, summary):focus-visible {outline: 2px solid #e8d396; outline-offset: 3px;}
@media (max-width: 560px) {
  .cml :is(.cml-therapy, .cmp-therapy-study) .cml-actions button {flex: 1 1 100%;}
}


/* --- source: assets/css/camadamed-prescription-r674.css --- */
.cml :is(.cml-rx, .cml-rx-workspace, .cml-rx-nav) {
  display: grid;
  gap: .8rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cml .cml-rx-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .65rem;
}
.cml .cml-rx-types button {
  display: grid;
  gap: .2rem;
  text-align: start;
  min-height: 52px;
  padding: .8rem;
  background: linear-gradient(145deg, #b1cff327, #597da312);
  border: 1px solid #c4dcff54;
  box-shadow: inset 0 1px #eaf3ff24;
  color: #f0f6ff;
}
.cml .cml-rx-types button small {color: #d3e2f6;}
.cml .cml-rx-types button:is(:hover, :focus-visible) {border-color: #e4d6a9;}
.cml :is(.cml-rx, .cml-rx-workspace, .cml-rx-nav) :is(button, input, select, textarea) {min-width: 0; max-width: 100%;}
.cml :is(.cml-rx, .cml-rx-workspace, .cml-rx-nav) button {min-height: 44px; white-space: normal;}
.cml .cml-rx [hidden] {display: none !important;}
.cml .cml-rx .cml-card {margin-block: 0;}
.cml .cml-rx li {white-space: pre-wrap;}
.cml .cml-rx-nav [aria-current="page"] {border-color: #e6d49d; color: #f4deb0;}


/* --- source: assets/css/camadamed-followup-r675.css --- */
.cml :is(.cml-fu-stack,.cml-fu-metrics,.cml-fu-pair) {
  display: grid;
  gap: .85rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cml .cml-fu-stack > .cml-card, .cml .cml-fu-metrics > .cml-card {margin-block: 0;}
.cml .cml-fu-pair {grid-template-columns: repeat(2,minmax(0,1fr));}
.cml .cml-fu-metrics {grid-template-columns: repeat(auto-fit,minmax(min(100%,23rem),1fr));}
.cml .cml-fu-nav [aria-current="page"] {border-color: #e6d49d; color: #f4deb0; background: #dfbd681f;}
.cml .cml-fu-stack :is(button,select,summary) {min-height: 44px; max-width: 100%;}
.cml .cml-fu-stack button {white-space: normal;}
.cml .cml-fu-stack :is(h3,h4,small) {min-width: 0;}
.cml .cml-fu-value {display: grid; gap: .25rem; align-content: start; padding: .65rem; border-radius: 12px; background: #bbd8fb10;}
.cml .cml-fu-value small {color: #cfdbec;}
.cml .cml-fu-delta {font-weight: 650; font-variant-numeric: tabular-nums;}
.cml .cml-fu-stack .cml-chart text {font-size: 14px;}
.cml .cml-fu-stack .cml-chart circle:focus-visible {stroke: #fff; stroke-width: 4;}
@media (max-width: 480px) {
  .cml .cml-fu-focus .cml-fu-pair {grid-template-columns: minmax(0,1fr);}
  .cml .cml-fu-stack .cml-actions > button {min-width: 0;}
}


/* --- source: assets/css/camadamed-contrast-r681.css --- */
/* Keep text readable on the approved dark surfaces and light patient cards. */
html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-kpi-icon {
  color: #a9cdff !important;
  background: #a9cdff26 !important;
}
html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-a-gold .pi-kpi-icon {
  color: #f2d398 !important;
  background: #f2d39826 !important;
}
html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-a-green .pi-kpi-icon {
  color: #a4e7c5 !important;
  background: #a4e7c526 !important;
}
html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-a-rose .pi-kpi-icon {
  color: #ffc0cc !important;
  background: #ffc0cc26 !important;
}
html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-kpi-delta {
  color: #a4e7c5 !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1;
}
html body.cm-platform-page.cm-premium-r636 #app #v-clinica .cm-patient-row :is(.cm-patient-meta,.cm-patient-dx,.when) {
  color: #263950 !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}
html body.cm-platform-page #cmlDialog.cml :is(.cmp-drug-search,.cmp-therapy-study,.cml-exam-reference) {
  color: #edf3ff;
}
html body.cm-platform-page #cmlDialog.cml #cmpDrugResults:not(:empty) {
  display: grid;
  gap: 6px;
  margin-block: 8px;
}
html body.cm-platform-page #cmlDialog.cml #cmpDrugResults button {
  width: 100%;
  text-align: start;
  white-space: normal;
}
html body.cm-platform-page #cmlDialog.cml :is(#cmpDrugOfficial,.cmp-official-docs) {
  min-width: 0;
  overflow-wrap: anywhere;
}
html body.cm-platform-page #cmlDialog.cml #cmpDrugOfficial .cmdr,
html body.cm-platform-page #cmlDialog.cml .cmp-official-docs {
  margin-block: 12px;
  padding: 14px;
  border: 1px solid #69839f;
  border-radius: 15px;
  background: #142338;
}
html body.cm-platform-page #cmlDialog.cml :is(#cmpDrugOfficial,.cmp-official-docs,.cml-exam-reference) :is(a,summary,dt) {
  color: #add3ff !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.cm-platform-page #cmlDialog.cml #cmpDrugOfficial :is(label,p,span,small) {
  color: #dce8fa !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.cm-platform-page #cmlDialog.cml #cmpDrugOfficial .cmps-error {
  color: #ffd1d8 !important;
}
html body.cm-platform-page #cmlDialog.cml :is(#cmpDrugOfficial,.cmp-drug-search) :is(input[type="search"],select) {
  background: #0e1829 !important;
  color: #edf3ff !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #758da8 !important;
  color-scheme: dark;
}
html body.cm-platform-page #cmlDialog.cml :is(#cmpDrugOfficial,.cmp-drug-search) input::placeholder {
  color: #bbcce2;
  opacity: 1;
}
html body.cm-platform-page #cmlDialog.cml #cmpDrugOfficial :is(button,select) {
  min-height: 44px;
  white-space: normal;
  max-width: 100%;
}


/* --- source: assets/css/camadamed-study-glass-r683.css --- */
#cmlDialog.cml .cm-study-glass {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 390px);
  min-height: clamp(185px, 58vw, 285px);
  margin: 1rem auto .4rem;
  padding: 23px clamp(14px, 4.8vw, 25px);
  overflow: hidden;
  border-radius: clamp(44px, 16vw, 76px);
  border: 1px solid #aaa0b526;
  background:
    radial-gradient(ellipse at 50% 90%, #624d653e, transparent 73%),
    radial-gradient(ellipse at 50% 60%, #1c1720, #0d0c0f 75%, #111014);
  box-shadow: inset 0 1px 2px #fffaff13, inset 0 -1px 2px #f0ddff11,
    inset 0 0 18px #beb1c519, inset 0 -8px 23px #a88eb523, 0 1px 4px #000b;
}
#cmlDialog.cml .cm-study-glass[hidden] { display: none; }
#cmlDialog.cml .cm-study-glass::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 1%, #e1ddf318, transparent 40%),
    radial-gradient(ellipse at 4% 60%, #b3abe511, transparent 26%),
    radial-gradient(ellipse at 99% 45%, #8fceff26, transparent 26%),
    radial-gradient(ellipse at 55% 106%, #ccadf81a, transparent 49%);
  pointer-events: none;
}
#cmlDialog.cml .cm-study-glass-haze {
  position: absolute;
  z-index: -1;
  inset: 3% 1%;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 78%, #8873a13c, transparent 66%);
  opacity: .28;
  pointer-events: none;
}
#cmlDialog.cml .cm-study-glass-rim { display: none; }
@supports ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  #cmlDialog.cml .cm-study-glass-rim {
    display: block;
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    padding: 1.4px;
    border-radius: inherit;
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
  }
  #cmlDialog.cml .cm-study-glass-rim::before {
    content: "";
    position: absolute;
    inset: -62%;
    background: conic-gradient(from 9deg, transparent 3%, #b8a5e86b 12%, #b8dbff8a 18%, transparent 25%,
      #dae1ff29 39%, #b393f279 49%, transparent 61%, #91bced6e 75%, #bdc5f744 83%, transparent 92%);
    opacity: .55;
  }
}
#cmlDialog.cml[open] .cm-study-glass[data-working="true"] .cm-study-glass-haze {
  animation: cm-study-glass-haze 3.8s ease-in-out infinite alternate;
}
#cmlDialog.cml[open] .cm-study-glass[data-working="true"] .cm-study-glass-rim::before {
  animation: cm-study-glass-reflect 8s linear infinite;
}
@keyframes cm-study-glass-haze {
  0% { transform: translateX(-12%); opacity: .28; }
  58% { opacity: .68; }
  100% { transform: translateX(13%); opacity: .42; }
}
@keyframes cm-study-glass-reflect { to { transform: rotate(360deg); } }
#cmlDialog.cml .cm-study-glass .cm-study-glass-message {
  width: 100%;
  margin: 0;
  color: #e5e0e8 !important;
  -webkit-text-fill-color: currentColor !important;
  text-align: center;
  font: 510 clamp(16px, 4.1vw, 19px)/1.24 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  overflow-wrap: anywhere;
}
#cmlDialog.cml .cm-study-glass[data-refracting="true"] .cm-study-glass-message { opacity: 0; }
#cmlDialog.cml .cm-study-glass canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
#cmlDialog.cml .cm-study-glass[data-refracting="true"] canvas { opacity: 1; }
#cmlDialog.cml .cm-study-glass[data-error="true"] { border-color: #dca8b8; }
#cmlDialog.cml .cm-study-glass[data-error="true"] .cm-study-glass-message { color: #ffd5df !important; }
@media (prefers-reduced-motion: reduce) {
  #cmlDialog.cml[open] .cm-study-glass[data-working="true"] .cm-study-glass-haze,
  #cmlDialog.cml[open] .cm-study-glass[data-working="true"] .cm-study-glass-rim::before { animation: none; }
}
@media print {
  #cmlDialog.cml .cm-study-glass { display: none; }
}


/* --- source: assets/css/camadamed-clinical-cards-r683.css --- */
/* Clinical entry and decorative controls. Clinical warning colors remain semantic. */
@media screen {
 html body.cm-platform-page.cm-premium-r636 {
  --cm636-gold:#b5d9ff;--cm648-gold:#b5d9ff;--cml-gold:#b5d9ff;--cmw-gold:#b5d9ff;
  --gold-1:#6bb3ff;--gold-2:#b5d9ff;--gold-3:#e0efff;
 }
 html body.cm-platform-page.cm-premium-r636 :is(.btn-gold,.btn-gold:hover),
 html body.cm-platform-page.cm-premium-r636 #app :is(#cmlPatient,#cmlGateway,.cml).cml :is(.cml-primary,button[aria-current=step],.cml-tabs button[aria-pressed=true]),
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next .cml-primary,
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cml-primary {
  background:linear-gradient(135deg,#d3eaff,#a8d1ff)!important;
  color:#10243e!important;-webkit-text-fill-color:#10243e!important;border-color:#d3eaff!important;
 }
 html body.cm-platform-page.cm-premium-r636 :is(.btn-gold,.cml-primary):is(:hover,:focus-visible) {
  box-shadow:0 0 0 3px #8fc2ff25,inset 0 1px 0 #fff9!important;
 }
 html body.cm-platform-page.cm-premium-r636 #app :is(.cml-eyebrow,.cml-command-number,.cmc7-link.is-current),
 html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-book-entry .ti {
  color:#b5d9ff!important;-webkit-text-fill-color:currentColor!important;
 }
 html body.cm-platform-page.cm-premium-r636 #app #v-dash .pi-a-gold .pi-kpi-icon {
  color:#b5d9ff!important;background:#a9cdff26!important;
 }
 html body.cm-platform-page.cm-premium-r636 :is(#cmc7Dock,#cmc7Sidebar,#cmc7Toolbar) .cmc7-link.is-current :is(svg,span) {
  color:#b5d9ff!important;-webkit-text-fill-color:currentColor!important;
 }
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next {
  background:radial-gradient(ellipse at 0 0,#9fcfff21,transparent 67%),linear-gradient(138deg,#263e5db0,#101d32b8)!important;
  border-color:#b5d9ff63!important;
 }
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command .cml-command-card[aria-current=step] {
  border-color:#b5d9ff7d!important;
  background:radial-gradient(ellipse at 0 0,#b5d9ff24,transparent 65%),linear-gradient(145deg,#2a3e56b0,#101e30c2)!important;
 }
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-number {background:#afd2ff12!important;border-color:#b5d9ff44!important}
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-source[data-command-source=draft]::before {background:#b5d9ff}
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress progress {accent-color:#b5d9ff}
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress progress::-webkit-progress-value {background:linear-gradient(90deg,#70b5ff,#c8e4ff)}
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-progress progress::-moz-progress-bar {background:#b5d9ff}
 html body.cm-platform-page.cm-premium-r636 .cml .cml-stepper button[aria-current=step]>span {background:#d3eaff}
 html body.cm-platform-page.cm-premium-r636 .cml :is(input[type=checkbox],input[type=radio]) {accent-color:#b5d9ff}

 html body.cm-platform-page.cm-premium-r636 #cmlGateway[data-entry=choose] {
  padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 }
 html body.cm-platform-page.cm-premium-r636 #app #cmcAttend {
  padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 }
 html body.cm-platform-page.cm-premium-r636 #app #cmcAttend>summary {
  display:flex;align-items:center;gap:20px;list-style:none;cursor:pointer;min-height:200px;
  position:relative;isolation:isolate;overflow:hidden;padding:24px!important;border-radius:30px;
  color:#f6faff!important;background:radial-gradient(ellipse at 90% -30%,#86b8ff8a,transparent 62%),linear-gradient(128deg,#286fc5d9,#183f89eb 65%,#172e68e6)!important;
  border:1px solid #b3d9ff8a!important;box-shadow:inset 0 1px 1px #fff7,inset 0 -1px 0 #98c8ff29,0 12px 30px #0003;
 }
 #cmcAttend>summary::-webkit-details-marker {display:none}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-attend-copy {display:grid;gap:8px;min-width:0;flex:1;position:relative;z-index:1}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-attend-copy strong {
  font:650 clamp(24px,3vw,34px)/1.12 -apple-system,BlinkMacSystemFont,system-ui,sans-serif!important;
  letter-spacing:-.035em;color:#fff!important;-webkit-text-fill-color:currentColor!important;
 }
 html body.cm-platform-page.cm-premium-r636 #app .cmc-attend-copy>span:last-child {font-size:15px;line-height:1.4;color:#e2edff!important}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-area-choice {padding:22px 4px 4px}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-area-choice h2 {font-size:22px!important}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-consultation {margin-top:28px!important;padding:0!important;min-width:0}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-section-heading {display:flex;gap:16px;align-items:start;justify-content:space-between;margin:0 2px 18px}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-section-heading h2 {font-size:25px!important;line-height:1.2!important;letter-spacing:-.025em;margin:0 0 6px!important;color:#f5f9ff!important}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-section-heading p {font-size:14px!important;line-height:1.45!important;margin:0!important;color:#bfcde2!important}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-release {flex:none;padding:5px 8px;border:1px solid #b5d9ff40;border-radius:8px;font-size:11px;color:#c0ddff}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-consultation-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation .cmc-tool-card {
  --cmc-hue:#1c8cb2;--cmc-highlight:#90efff;--cmc-shadow:#07304e;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;text-align:left;
  position:relative;isolation:isolate;min-width:0;width:100%;min-height:232px;height:auto!important;
  overflow:hidden;margin:0;padding:20px!important;gap:16px;border:1px solid color-mix(in srgb,var(--cmc-highlight) 65%,transparent)!important;border-radius:26px!important;
  background:radial-gradient(ellipse at 110% -20%,var(--cmc-highlight),transparent 75%),linear-gradient(150deg,var(--cmc-hue),var(--cmc-shadow))!important;
  color:#f8fcff!important;-webkit-text-fill-color:currentColor!important;
  box-shadow:inset 0 1px 1px #fff7,inset 0 -1px 1px #d9edff2e,0 10px 26px #0002!important;
  transition:transform .22s ease,box-shadow .22s ease;
 }
 html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation [data-tool=calculators] {--cmc-hue:#6a49bf;--cmc-highlight:#c0a6ff;--cmc-shadow:#302054}
 html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation [data-tool=lab] {--cmc-hue:#167e81;--cmc-highlight:#83ead0;--cmc-shadow:#103f4d}
 html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation [data-tool=image] {--cmc-hue:#5f55c6;--cmc-highlight:#aebdff;--cmc-shadow:#242953}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-copy {display:grid;gap:6px;position:relative;z-index:1;min-width:0;max-width:100%}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-copy strong {color:#fff!important;-webkit-text-fill-color:currentColor!important;font:650 clamp(18px,1.8vw,22px)/1.16 -apple-system,BlinkMacSystemFont,system-ui,sans-serif!important;letter-spacing:-.025em;overflow-wrap:normal;word-break:normal;hyphens:none}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-copy>span {color:#f0f5ff!important;-webkit-text-fill-color:currentColor!important;font-size:13px!important;line-height:1.4!important;max-width:100%;overflow-wrap:normal}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-arrow {position:absolute;right:16px;top:16px;width:20px;height:20px;color:#f1f8ff!important;z-index:1}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-art {flex:none;width:84px;height:84px;max-width:100%;overflow:visible;color:var(--cmc-highlight,#c5e5ff);filter:drop-shadow(0 9px 8px #00103655);transform:rotate(-7deg);align-self:flex-end;position:relative;z-index:1}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-attend-card .cmc-art {width:108px;height:108px;align-self:center}
 .cmc-art .cmc-art-line {fill:none;stroke:#092445;stroke-width:4;stroke-linecap:round}
 .cmc-art .cmc-art-screen {fill:#102945;stroke:#ffffff90}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-topic-link {display:flex;gap:12px;align-items:center;justify-content:space-between;width:100%;margin:14px 0 22px!important;padding:15px 18px!important;min-height:48px;border:1px solid #9bc5ff38!important;border-radius:16px!important;background:#8ab8ff0d!important;color:#d1e5ff!important;font-size:15px!important;text-align:left}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-topic-link svg {flex:none;width:18px;height:18px}
 html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation>.cml-native-tools {margin-top:10px}
 html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation>.cml-native-tools>summary {color:#c5d6ee!important;min-height:48px;line-height:1.5}
 .cmc-free-tools {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .cmc-free-tools button {text-align:left;min-width:0}

 html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card)::after {
  content:"";position:absolute;pointer-events:none;z-index:2;inset:-90% -55%;
  background:linear-gradient(112deg,transparent 39%,#d9f4ff0a 43%,#ffffff2c 48%,#ffffff59 49%,#fff1 50%,transparent 58%);
  transform:translateX(-50%) rotate(-12deg);opacity:0;animation:cmc-reflection-enter 1.7s .15s ease-out both;
 }
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-card:nth-child(2)::after {animation-delay:.28s}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-card:nth-child(3)::after {animation-delay:.42s}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-card:nth-child(4)::after {animation-delay:.56s}
 html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card):focus-visible {outline:3px solid #c5e5ff;outline-offset:4px}
 html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-card:active {transform:scale(.98)}
 @keyframes cmc-reflection-enter {0%{transform:translateX(-50%) rotate(-12deg);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateX(50%) rotate(-12deg);opacity:0}}
 @keyframes cmc-reflection-hover {0%{transform:translateX(-50%) rotate(-12deg);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateX(50%) rotate(-12deg);opacity:0}}
 @media (hover:hover) and (pointer:fine) {
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card):hover {box-shadow:inset 0 1px 1px #fffa,0 15px 34px #0005!important}
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card):hover::after {animation:cmc-reflection-hover 1.4s ease-out both}
 }
 @supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))) {
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card) {backdrop-filter:blur(12px) saturate(1.2);-webkit-backdrop-filter:blur(12px) saturate(1.2)}
 }
 @media(max-width:1100px) {html body.cm-platform-page.cm-premium-r636 #app .cmc-consultation-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
 @media(max-width:480px) {
  html body.cm-platform-page.cm-premium-r636 #app .cmc-consultation-grid {gap:12px}
  html body.cm-platform-page.cm-premium-r636 #app #cmcConsultation .cmc-tool-card {min-height:230px;padding:16px!important;border-radius:23px!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmcAttend>summary {min-height:200px;gap:12px;padding:20px!important}
  html body.cm-platform-page.cm-premium-r636 #app .cmc-attend-card .cmc-art {width:75px;height:75px}
  html body.cm-platform-page.cm-premium-r636 #app .cmc-tool-copy strong {font-size:clamp(16px,4.6vw,19px)!important}
  html body.cm-platform-page.cm-premium-r636 #app .cmc-attend-copy strong {font-size:27px!important}
  .cmc-free-tools {grid-template-columns:minmax(0,1fr)}
 }
 @media(max-width:340px) {html body.cm-platform-page.cm-premium-r636 #app .cmc-consultation-grid {grid-template-columns:minmax(0,1fr)}}
 @media(prefers-reduced-motion:reduce) {
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card)::after {animation:none!important;opacity:0}
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card) {transition:none}
 }
 @media(prefers-reduced-transparency:reduce) {
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card) {backdrop-filter:none;-webkit-backdrop-filter:none}
 }
 @media(forced-colors:active) {
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-card,.cmc-attend-card) {background:Canvas!important;color:CanvasText!important;border-color:ButtonText!important;box-shadow:none!important}
  html body.cm-platform-page.cm-premium-r636 #app :is(.cmc-tool-copy,.cmc-attend-copy) :is(span,strong) {color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}
  html body.cm-platform-page.cm-premium-r636 #app .cmc-art {color:CanvasText}
 }
}


/* --- source: assets/css/camadamed-medication-and-rim-r684.css --- */
/* Continuous optical rim, independent of card content and request timing. */
@media screen {
 .cmc-moving-rim {display:none}
 @supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)) {
  html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cmc-moving-rim {
   display:block;position:absolute;z-index:2;inset:0;overflow:hidden;padding:1.5px;border-radius:inherit;pointer-events:none;
   -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
   -webkit-mask-composite:xor;mask-composite:exclude;
  }
  html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cmc-moving-rim::before {
   content:"";position:absolute;left:-50%;top:50%;width:200%;aspect-ratio:1;
   background:conic-gradient(from 12deg,#b7d9ff08 0deg,#a3ddff1f 45deg,#e9fafff0 72deg,#8ac8ffc9 92deg,#b7d9ff08 126deg,#b7d9ff08 218deg,#b5a7ff9c 256deg,#d9faffed 276deg,#90caff96 294deg,#b7d9ff08 326deg);
   transform:translateY(-50%) rotate(0deg);animation:cmc-rim-orbit 8s linear infinite;
  }
 }
 @keyframes cmc-rim-orbit {to{transform:translateY(-50%) rotate(360deg)}}
 html body.cm-platform-page.cm-premium-r636 #cmlPatient .cml-command-next {position:relative;isolation:isolate;overflow:hidden}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cm-drug-suggestions {
  display:grid;gap:6px;margin:8px 0 14px;padding:7px;max-height:min(42vh,280px);overflow-y:auto;overscroll-behavior:contain;
  background:#0b1c2e;border:1px solid #a4c9f34d;border-radius:15px;box-shadow:0 8px 20px #0003;
 }
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cm-drug-suggestions[hidden] {display:none!important}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cm-drug-suggestions button {
  display:grid;gap:3px;min-width:0;width:100%;min-height:48px;padding:11px 12px;text-align:left;white-space:normal;overflow-wrap:anywhere;
  border:1px solid #a4c9f328;border-radius:10px;background:#142b44!important;color:#edf6ff!important;-webkit-text-fill-color:currentColor!important;
 }
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cm-drug-suggestions button[aria-selected=true] {background:#23486d!important;border-color:#b9dfff!important}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cm-drug-suggestions strong {font:600 15px/1.4 -apple-system,BlinkMacSystemFont,system-ui,sans-serif!important;color:#edf6ff!important;-webkit-text-fill-color:currentColor!important}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog.cml .cm-drug-suggestions :is(span,p) {font-size:12px!important;line-height:1.4!important;color:#c4d8ee!important;-webkit-text-fill-color:currentColor!important;margin:0}
 @media(prefers-reduced-motion:reduce) {
  html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cmc-moving-rim::before {animation:none!important}
 }
 @media(forced-colors:active) {html body.cm-platform-page.cm-premium-r636 :is(#app,#cmlDialog) .cmc-moving-rim {display:none}}
}


/* --- source: assets/css/camadamed-command-center-r685.css --- */
@media screen {
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-overview {
  border:1px solid #9dcbff59;border-radius:24px;padding:22px;margin:0 0 24px;
  background:linear-gradient(135deg,#193b5b,#102338);box-shadow:inset 0 1px 0 #e0f1ff28,0 12px 30px #0002;
 }
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-overview h3 {font-size:clamp(23px,2.5vw,30px)!important;line-height:1.2!important;margin:7px 0 10px!important;letter-spacing:-.025em;color:#f1f8ff!important}
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-overview :is(p,small) {color:#d2e2f5!important;-webkit-text-fill-color:currentColor!important;line-height:1.5}
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-counts {display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-counts>div {display:grid;gap:3px;flex:1 1 120px;padding:14px;border-radius:14px;border:1px solid #9bc8ff38;background:#102237}
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-counts b {font-size:25px!important;line-height:1.15;color:#eaf4ff!important;font-variant-numeric:tabular-nums}
 html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-counts span {font-size:13px!important;line-height:1.4;color:#cbdff5!important}
 .cm-change-review-state {display:block;font-size:12px;line-height:1.45;color:#cbdef5}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-change-row {padding:16px;margin:10px 0;border:1px solid #aaccef3d;border-radius:17px;background:#102338;color:#edf6ff}
 .cm-change-row-heading {display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}
 .cm-change-row-heading .cml-check {flex:1 1 180px}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-change-row label span {font-weight:600;color:#eef6ff!important}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-change-pending {font-size:12px!important;color:#ffe4ab!important;background:#4a391c;border:1px solid #dcbf754f;border-radius:8px;padding:5px 8px}
 .cm-change-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
 .cm-change-pair>section {min-width:0;padding:12px;border-radius:12px;background:#0c1d30;border:1px solid #a3c6f12b}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-change-pair :is(p,small) {color:#e5f0ff!important;-webkit-text-fill-color:currentColor!important;overflow-wrap:anywhere;line-height:1.5}
 .cm-change-pair small {display:block;font-size:12px}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-change-pair p {font-size:16px;font-variant-numeric:tabular-nums;margin:8px 0}
 .cm-change-recall-entry {border-top:1px solid #a8ccff3d;margin-top:22px;padding-top:18px}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-recall-question {font-size:clamp(20px,2.4vw,27px)!important;line-height:1.5!important;color:#edf7ff!important}
 html body.cm-platform-page.cm-premium-r636 #cmlDialog .cm-recall-answer {white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;border:1px solid #adcffc45;background:#102338;border-radius:16px;color:#edf6ff!important;line-height:1.6}
 @supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)) {
  html body.cm-platform-page.cm-premium-r636 #cmCommandPrimaryPortal .cmc-moving-rim {
   display:block;position:absolute;z-index:2;inset:0;overflow:hidden;padding:1.5px;border-radius:inherit;pointer-events:none;
   -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
   -webkit-mask-composite:xor;mask-composite:exclude;
  }
  html body.cm-platform-page.cm-premium-r636 #cmCommandPrimaryPortal .cmc-moving-rim::before {
   content:"";position:absolute;left:-50%;top:50%;width:200%;aspect-ratio:1;
   background:conic-gradient(from 12deg,#b7d9ff08 0deg,#a3ddff1f 45deg,#e9fafff0 72deg,#8ac8ffc9 92deg,#b7d9ff08 126deg,#b7d9ff08 218deg,#b5a7ff9c 256deg,#d9faffed 276deg,#90caff96 294deg,#b7d9ff08 326deg);
   transform:translateY(-50%) rotate(0deg);animation:cmc-rim-orbit 8s linear infinite;
  }
 }
 #cmClinicalWorkspace {min-width:0}
 #cmCommandPrimaryPortal {display:none}
 @media(min-width:768px) {
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) {display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:18px;align-items:start;padding:0 12px}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide))>#v-clinica {display:block!important;min-width:0;padding:12px 0!important;max-width:none!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide))>#v-patient {min-width:0;width:100%;max-width:none!important;padding:12px 0!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #v-clinica :is(#cmlGateway,#cmcConsultation) {display:none!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #cmlClinicBody {display:block!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) .cml-patient-chooser {position:sticky;top:110px;padding:14px!important;margin:0;max-height:calc(100dvh - 200px);overflow-y:auto;overscroll-behavior:contain}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) .cml-patient-chooser h2 {font-size:17px!important;line-height:1.3!important;margin:0!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) .cml-patient-chooser>.cml-note {font-size:12px!important;line-height:1.4!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) .cml-patient-chooser .cml-row {display:grid;gap:12px}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #clinSearch {font-size:14px!important;min-width:0}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #patientList .cm-patient-row {padding:14px!important;border-radius:16px!important;margin:8px 0!important;min-width:0}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #patientList .cm-patient-row :is(.title,.name,b,strong) {font-size:15px!important;line-height:1.4!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #patientList .cm-patient-row :is(.cm-patient-meta,.cm-patient-dx,.when) {font-size:12px!important;line-height:1.45!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #patientList .cm-patient-current {outline:3px solid #78bcff!important;outline-offset:2px}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #cmPatientSelection {padding:8px!important;margin:12px 0!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmClinicalWorkspace:has(>#v-patient:not(.hide)) #cmPatientSelection p {display:none!important}
 }
 @media(max-width:600px) {
  html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cml-command {padding-bottom:148px}
  html body.cm-platform-page.cm-premium-r636:has(#app.screen.on #v-patient:not(.hide)) #cmCommandPrimaryPortal {display:block;position:fixed;z-index:70;left:16px;right:16px;bottom:calc(94px + env(safe-area-inset-bottom,0px));margin:0;padding:0}
  html body.cm-platform-page.cm-premium-r636 #cmCommandPrimaryPortal .cml-command-next {position:relative;isolation:isolate;overflow:hidden;border-radius:20px;border:1px solid #a8d3ff85;margin:0;padding:12px!important;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;background:#152c43f5!important;box-shadow:0 10px 30px #0008,inset 0 1px 0 #e8f6ff38}
  html body.cm-platform-page.cm-premium-r636 #cmCommandPrimaryPortal .cml-eyebrow {display:none}
  html body.cm-platform-page.cm-premium-r636 #cmCommandPrimaryPortal p {font-size:12px!important;line-height:1.35!important;margin:0 2px!important;color:#e0edfc!important;-webkit-text-fill-color:currentColor!important}
  html body.cm-platform-page.cm-premium-r636 #cmCommandPrimaryPortal button {position:relative;z-index:1;min-height:46px!important;width:100%;text-align:center!important;padding:10px 14px!important;background:linear-gradient(135deg,#d7edff,#a7d0ff)!important;border:1px solid #cae6ff!important;border-radius:13px!important;color:#102438!important;-webkit-text-fill-color:currentColor!important;font-size:15px!important;font-weight:650!important}
  html body.cm-platform-page.cm-premium-r636 #app #cmlPatient .cm-change-overview {padding:18px;margin-bottom:20px}
  .cm-change-pair {grid-template-columns:minmax(0,1fr)}
 }
 html body.cm-platform-page.cm-premium-r636 :is(#app,#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar,#cmCommandPrimaryPortal) .cm-optical-tap {isolation:isolate;overflow:hidden;position:relative}
 html body.cm-platform-page.cm-premium-r636 :is(#app,#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar,#cmCommandPrimaryPortal) .cm-optical-tap::after {content:"";position:absolute;inset:-80% -50%;pointer-events:none;background:linear-gradient(112deg,transparent 38%,#e8f6ff3a 48%,#fff5 50%,transparent 61%);animation:cm-optical-tap .6s ease-out both}
 @keyframes cm-optical-tap {from{transform:translateX(-55%);opacity:0}30%{opacity:1}to{transform:translateX(55%);opacity:0}}
 @media(prefers-reduced-motion:reduce) {#cmCommandPrimaryPortal .cmc-moving-rim::before {animation:none!important} html body.cm-platform-page.cm-premium-r636 :is(#app,#cmc7Toolbar,#cmc7Dock,#cmc7Sidebar,#cmCommandPrimaryPortal) .cm-optical-tap::after {animation:none!important;opacity:0}}
}

@media print {#cmCommandPrimaryPortal {display:none!important}}
@media(forced-colors:active) {#cmCommandPrimaryPortal .cmc-moving-rim {display:none!important}}


/* --- source: assets/css/camadamed-guided-flow-r687.css --- */
/* One consistent editor footer, including entry from a command card. */
html body.cm-platform-page #cmlDialog [data-cml-footer="guided"]>#cmlEditorStatus:empty {display:none;}
html body.cm-platform-page #cmlDialog [data-cml-footer="guided"] {
  display:grid;grid-template-columns:minmax(0,1fr);gap:9px;max-width:100%;
  padding:14px 0 calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(135deg,#132b3df5,#102332f5);
  border-top:1px solid #9acafa60;box-shadow:0 -10px 24px #030d1720;
}
html body.cm-platform-page #cmlDialog [data-cml-footer="guided"]>button {width:100%;min-height:50px;white-space:normal;overflow-wrap:anywhere;}
html body.cm-platform-page #cmlDialog .cml-footer-destination {display:block;min-width:0;margin:0;text-align:center;color:#c4d8e9;font-size:.84rem;line-height:1.35;overflow-wrap:anywhere;}
html body.cm-platform-page #cmlDialog .cml-footer-secondary {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;}
html body.cm-platform-page #cmlDialog .cml-footer-secondary>button {width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere;padding:10px 12px;}
html body.cm-platform-page #cmlDialog .cml-footer-more {min-width:0;margin:0;border:0;padding:0;}
html body.cm-platform-page #cmlDialog .cml-footer-more>summary {width:max-content;max-width:100%;min-height:32px;padding:6px 4px;margin:0 auto;color:#c9deef;font-size:.85rem;line-height:1.3;}
html body.cm-platform-page #cmlDialog .cml-footer-more>.cml-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
html body.cm-platform-page #cmlDialog .cml-footer-more>.cml-actions>button {flex:1 1 140px;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere;}
@media(min-width:900px){
 html body.cm-platform-page #cmlDialog [data-cml-footer="guided"] {grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);grid-template-areas:"status status" "secondary primary" "more destination";align-items:center;}
 html body.cm-platform-page #cmlDialog [data-cml-footer="guided"]>button {grid-area:primary;}
 html body.cm-platform-page #cmlDialog .cml-footer-secondary {grid-area:secondary;}
 html body.cm-platform-page #cmlDialog .cml-footer-destination {grid-area:destination;}
 html body.cm-platform-page #cmlDialog .cml-footer-more {grid-area:more;}
 html body.cm-platform-page #cmlDialog [data-cml-footer="guided"]>#cmlEditorStatus {grid-area:status;}
}
@media(prefers-reduced-transparency:reduce){html body.cm-platform-page #cmlDialog [data-cml-footer="guided"] {background:#102638;backdrop-filter:none;-webkit-backdrop-filter:none;}}

