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

/* --- source: assets/css/camadamed-medicines-r689.css --- */
/* Self-contained sapphire surfaces: readable in both application themes. */
.cmm-dialog{color-scheme:dark;width:min(1060px,96vw);max-width:96vw;max-height:94dvh;margin:auto;padding:0;border:1px solid #6588b2;border-radius:26px;background:#0b1526;color:#f2f7ff;box-shadow:0 30px 100px #0009;overflow:auto;overscroll-behavior:contain}
.cmm-dialog::backdrop{background:#050b18bd;backdrop-filter:blur(9px)}
.cmm-modal-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 26px;border-bottom:1px solid #47709c70;position:sticky;top:0;z-index:4;background:#0b1526f5;backdrop-filter:blur(18px)}
.cmm-modal-bar h1{color:#f3f7ff!important;font-size:21px!important;margin:0!important;line-height:1.3!important}
.cmm-modal-bar button,.cmm.cmm button{font:inherit;cursor:pointer;min-height:44px;border:1px solid #6180a9;border-radius:13px;background:#1c3453;color:#f6f9ff;padding:10px 16px;line-height:1.35;letter-spacing:normal;text-transform:none;white-space:normal;max-width:100%;box-shadow:none}
.cmm.cmm button:hover,.cmm-modal-bar button:hover{background:#294f79;border-color:#90c1f3}
.cmm.cmm button:focus-visible,.cmm.cmm a:focus-visible,.cmm.cmm input:focus-visible,.cmm.cmm select:focus-visible,.cmm.cmm summary:focus-visible{outline:3px solid #68ded2;outline-offset:3px}
.cmm.cmm{color-scheme:dark;background:radial-gradient(ellipse at 0 0,#20487980,transparent 60%),#0d1a2c;border:1px solid #52739966;border-radius:21px;padding:26px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;color:#f2f7ff!important;line-height:1.6;text-align:left;min-width:0;max-width:100%;box-sizing:border-box}
.cmm-dialog .cmm.cmm{border:none;border-radius:0;background:radial-gradient(ellipse at top left,#234a7459,transparent 50%),#0b1526}
.cmm.cmm *{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.cmm.cmm h2,.cmm.cmm h3,.cmm.cmm h4,.cmm.cmm h5,.cmm.cmm p,.cmm.cmm label,.cmm.cmm summary,.cmm.cmm dd,.cmm.cmm dt{color:inherit!important;opacity:1!important;letter-spacing:normal;text-transform:none}
.cmm.cmm h2{font-size:clamp(24px,3vw,33px);line-height:1.15;margin:8px 0 12px;font-weight:720}
.cmm.cmm h3{font-size:27px;margin:4px 0;line-height:1.2}
.cmm.cmm h4{font-size:20px;margin:0 0 5px;line-height:1.35}
.cmm.cmm h5{font-size:18px;font-weight:650;margin:0 0 14px;line-height:1.4}
.cmm.cmm p{margin:8px 0 15px}
.cmm.cmm .cmm-kicker{font-size:11px;color:#a9dbff!important;font-weight:750;letter-spacing:.12em;display:block}
.cmm.cmm .cmm-muted,.cmm.cmm .cmm-result-status{color:#bacee5!important;font-size:13px;line-height:1.5}
.cmm.cmm a{color:#9de9e1!important;text-decoration:underline;text-underline-offset:3px}
.cmm-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0}
.cmm.cmm .cmm-tabs button[aria-pressed=true]{background:#b5f0e8;color:#08292f;border-color:#c2fff6;font-weight:700}
.cmm.cmm input,.cmm.cmm select{font:inherit;color:#f6f9ff!important;background:#10233b!important;border:1px solid #7493b6!important;min-height:48px;border-radius:12px;padding:10px 13px;width:100%;max-width:100%;text-overflow:ellipsis;margin:5px 0 0;box-shadow:none}
.cmm.cmm option{color:#f6f9ff;background:#10233b}
.cmm.cmm input::placeholder{color:#b6c9e0;opacity:1}
.cmm.cmm label{font-size:14px;font-weight:650;display:block}
.cmm-search-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}
.cmm.cmm .cmm-search-line button{background:#43c5be;color:#082a30!important;border-color:#92eee6;font-weight:750;height:48px;margin-top:5px}
#cmlDialog:has(.cmm){overflow:hidden}
#cmlDialog:has(.cmm)>.cml-dialog-body{min-height:0;overflow:auto}
.cmm-country{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}
.cmm-country label{flex:1;min-width:180px!important}
.cmm-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cmm.cmm .cmm-results button{display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left;padding:15px 18px;background:linear-gradient(130deg,#213f62,#12243b);border-color:#6583a6}
.cmm-results button strong{display:block;font-size:16px;grid-column:1}
.cmm-results button span:nth-child(2){font-size:12px;color:#bdd5ec;grid-column:1}
.cmm-results button span:last-child{grid-column:2;grid-row:1/3;color:#81eee0}
.cmm.cmm button.cmm-highlight{outline:3px solid #73e5db;outline-offset:1px}
.cmm-card{margin:22px 0;background:linear-gradient(145deg,#183656ed,#10213bee);border:1px solid #739bcb;border-radius:22px;padding:25px;position:relative;isolation:isolate;box-shadow:0 16px 35px #0003;backdrop-filter:blur(18px)}
.cmm-card::before{content:'';pointer-events:none;position:absolute;inset:-1px;border:1px solid transparent;border-radius:inherit;background:linear-gradient(130deg,#6bdad8,#4d84e0,#c5ddf4,#31719c) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;opacity:.75;animation:cmm-rim 8s ease-in-out infinite}
@keyframes cmm-rim{50%{opacity:.35}}
.cmm-card-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;flex-wrap:wrap}
.cmm.cmm .cmm-brands{font-size:14px}
.cmm-doses{margin:24px 0}
.cmm-dose-title{display:flex;align-items:start;gap:13px}
.cmm-dose-icon{width:44px;min-width:44px!important;height:44px;background:#3fd1c1;color:#092a33;display:grid;place-items:center;border-radius:13px;font-size:28px;font-family:Georgia,serif}
.cmm.cmm .cmm-dose-title p{font-size:13px;color:#c6dbf0!important;margin:2px 0 16px}
.cmm-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px}
.cmm-indication{grid-column:1/-1}
.cmm.cmm .cmm-scope{font-size:13px;color:#c4d7ed!important;padding:12px 15px;border-left:3px solid #65c9d7;background:#0d2137;border-radius:0 10px 10px 0}
.cmm-regimen{border:1px solid #4d94aa;background:linear-gradient(130deg,#113f4a,#112d41);padding:21px;border-radius:17px;margin:15px 0;color:#f3fcff}
.cmm.cmm .cmm-dose-value{color:#a5fff0!important;font-size:clamp(21px,3vw,28px);line-height:1.4;font-weight:740;margin:10px 0 19px;font-variant-numeric:tabular-nums}
.cmm-regimen dl{display:grid;grid-template-columns:.65fr .9fr 1.4fr;gap:14px;margin:0 0 15px}
.cmm-regimen dt{font-size:11px;letter-spacing:.08em!important;text-transform:uppercase!important;color:#bbd8e8!important;font-weight:700}
.cmm-regimen dd{font-size:15px;font-weight:600;margin:5px 0 0;line-height:1.5}
.cmm.cmm .cmm-clinical-note{font-size:14px;line-height:1.65}
.cmm-regimen footer,.cmm-card-source{padding-top:14px;border-top:1px solid #77a4bf40;font-size:12px;line-height:1.6;display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;color:#bdd4e9}
.cmm-weight{padding:16px 0;border-top:1px solid #86b9cd55;margin-top:15px}
.cmm-weight input{max-width:180px!important;display:block;margin-bottom:10px!important}
.cmm-weight output{display:block;font-size:15px;color:#bdfff0}
.cmm-details{display:grid;gap:9px;margin:20px 0}
.cmm.cmm details{background:#13263e;border:1px solid #6281a0;border-radius:13px;overflow:hidden;margin:0}
.cmm.cmm details summary{background:#17314e;color:#edf6ff!important;padding:15px 17px;min-height:52px;cursor:pointer;font-size:15px;font-weight:670;list-style-position:inside;line-height:1.6}
.cmm.cmm details>p,.cmm.cmm details>div,.cmm.cmm details>button{margin:15px 17px}
.cmm.cmm .cmm-gap{padding:16px 18px;background:#483b22;color:#ffedc3!important;border:1px solid #b39453;border-radius:13px;font-size:14px}
.cmm-additional{margin:22px 0!important}
.cmm-sources-intro{margin:20px 0}
.cmm-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cmm-country-card{padding:20px;background:linear-gradient(140deg,#204266,#14263e);border:1px solid #6485ab;border-radius:17px}
.cmm-country-card>div{border-top:1px solid #7896b14d;padding:16px 0}
.cmm-country-card span,.cmm-country-card small{display:block;font-size:12px;color:#c5d8ed;line-height:1.6;margin-top:5px}
.cmm-country-card small{color:#9ddfd5}
@media(max-width:640px){.cmm-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;border:none}.cmm-modal-bar{padding:14px 16px}.cmm.cmm{padding:18px 15px}.cmm.cmm h2{font-size:26px}.cmm.cmm h3{font-size:25px}.cmm-results,.cmm-source-grid,.cmm-context{grid-template-columns:minmax(0,1fr)}.cmm-card{padding:18px 15px;margin:18px 0}.cmm-regimen{padding:18px 14px}.cmm-regimen dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cmm-regimen dl>div:last-child{grid-column:1/-1}.cmm-search-line{grid-template-columns:minmax(0,1fr)}.cmm-tabs button{flex:1;font-size:13px!important}.cmm.cmm select{font-size:15px}.cmm-card-heading button{font-size:13px}}
@media(prefers-reduced-motion:reduce){.cmm-card::before{animation:none}}


/* --- source: assets/css/camadamed-study-execution-r690.css --- */
#cmStudyQueue{margin:0 0 18px;padding:19px;border:1px solid #6188b4;border-radius:20px;background:linear-gradient(135deg,#173854,#0b1b30);color:#eff6ff;box-shadow:0 12px 32px #0002}
#cmStudyQueue .cmsq-title{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
#cmStudyQueue .cmsq-title>span{font-size:13px;color:#b7dcf1}
#cmStudyQueue .cmsq-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
#cmStudyQueue button{font:inherit;text-align:left;border:1px solid #5f7d9c;background:#17304b;color:#eff6ff;min-height:100px;padding:15px;border-radius:14px;cursor:pointer;overflow-wrap:anywhere;min-width:0}
#cmStudyQueue button[aria-pressed=true]{border-color:#79e6d7;background:#16454f;box-shadow:inset 0 0 0 1px #79e6d7}
#cmStudyQueue button:focus-visible{outline:3px solid #79e6d7;outline-offset:3px}
#cmStudyQueue button:disabled{opacity:.8;cursor:default;background:#152b3e}
#cmStudyQueue button>span,#cmStudyQueue button>strong,#cmStudyQueue button>small,#cmStudyQueue button>em{display:block;color:inherit!important;letter-spacing:normal;text-transform:none;font-style:normal;line-height:1.5}
#cmStudyQueue button>strong{font-size:17px;margin:5px 0}
#cmStudyQueue button>span,#cmStudyQueue button>small{font-size:12px;color:#c5d7e9!important}
#cmStudyQueue button>em{font-size:12px;color:#96ebdd!important;margin-top:9px}
@media(max-width:480px){#cmStudyQueue{padding:15px}#cmStudyQueue .cmsq-list{grid-template-columns:minmax(0,1fr)}}


/* --- source: assets/css/camadamed-compact-actions-r698.css --- */
/* Keep clinical actions in the document flow; never cover clinical fields. */
html body.cm-platform-page #cmlDialog .cml-wizard-footer{position:static!important;bottom:auto!important;padding:12px 0!important;backdrop-filter:none!important;margin-top:20px!important}
html body.cm-platform-page #app #cmlPatient .cml-command{padding-bottom:20px!important}
html body.cm-platform-page #cmlDialog .cml-dialog-head{padding:12px 16px!important;gap:10px!important}
html body.cm-platform-page #cmlDialog .cml-dialog-head h2{font-size:18px!important;line-height:1.3!important}
html body.cm-platform-page #cmlDialog .cml-dialog-head button{font-size:14px!important;padding:8px 12px!important;min-height:44px!important}


/* --- source: assets/css/camadamed-contrast-motion-r6100.css --- */
/* Explicit dark surfaces and readable text, confined to the application. */
html body.cm-platform-page #sheet#sheet#sheet .tile,
html body.cm-platform-page #app#app#app .tile{
 background:linear-gradient(145deg,#16324b,#0c1d30)!important;color:#f4f8ff!important;-webkit-text-fill-color:currentColor!important;border-color:#69869f!important;
}
html body.cm-platform-page :is(#sheet#sheet#sheet,#app#app#app) .tile :is(.tt,.ti,strong,h3,h4){color:#f4f8ff!important;-webkit-text-fill-color:currentColor!important;}
html body.cm-platform-page :is(#sheet#sheet#sheet,#app#app#app) .tile :is(.ts,p,small){color:#c4d7e9!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;}
html body.cm-platform-page #sheet :is(input,textarea,select){background:#10263c!important;color:#f4f8ff!important;-webkit-text-fill-color:currentColor!important;border:1px solid #6886a0!important;}
html body.cm-platform-page #sheet :is(input,textarea)::placeholder{color:#b8ccdf!important;opacity:1!important;}
html body.cm-platform-page #sheet :is(label,.note){color:#cbdced!important;-webkit-text-fill-color:currentColor!important;}
html body.cm-platform-page :is(#v-crono,#v-escala) :is(.day,.calendar-shell,.panel){background:#10263c!important;color:#f4f8ff!important;}
html body.cm-platform-page :is(#v-crono,#v-escala) :is(.day,.calendar-shell,.panel) :is(h2,h3,h4,b,strong,label){color:#f4f8ff!important;-webkit-text-fill-color:currentColor!important;}
html body.cm-platform-page :is(#v-crono,#v-escala) :is(.mute,.note,.tiny){color:#c4d7e9!important;-webkit-text-fill-color:currentColor!important;}
html.cm-native-zoom body.cm-platform-page :is(.cm-sapphire-light,.cm-sapphire-edge,.cm-sapphire-bevel,.cmc-moving-rim,.cmc-moving-rim::before){animation-play-state:paused!important;}
html.cm-native-zoom body.cm-platform-page :is(#app,#sheet,#cmlDialog) *{transition:none!important;}

