/* 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}
