/* Account and workspace refinements. Screen-only: printed documents keep their palette. */
@media screen {
html[data-navigation="sidebar"] .po-sidebar .po-account-card{grid-column:1/-1;order:-1;display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;padding:6px;border:1px solid #dce6e0;border-radius:13px;background:#f4f8f6;gap:3px}
html[data-navigation="sidebar"] .po-sidebar .po-account-card .po-profile{grid-column:auto;order:0;padding:5px 2px!important;border:0!important;border-radius:8px;background:transparent!important;gap:7px;min-width:0;box-shadow:none}
html[data-navigation="sidebar"] .po-sidebar .po-account-card .po-profile-data{min-width:0;max-width:none;white-space:normal;text-align:left;line-height:1.4}
.po-account-card .po-profile-data strong{font-size:12px;overflow-wrap:anywhere}
.po-account-card .po-avatar{width:30px;height:34px;flex-shrink:0;border-radius:10px}
.po-account-card .po-plan-label{display:block;font-size:10px;font-weight:750;color:#1b674b;margin:3px 0}
.po-account-card[data-status="TRIAL"] .po-plan-label{color:#92500c}
.po-account-card[data-status="EXPIRED"] .po-plan-label,.po-account-card[data-status="PAST_DUE"] .po-plan-label{color:#b32742}
html[data-navigation="sidebar"] .po-sidebar .po-account-card .po-logout{grid-column:2;width:30px;height:34px;padding:0;margin:0;justify-content:center!important;border-radius:8px;color:#a93b49}
html[data-navigation="sidebar"] .po-sidebar .po-account-card .po-logout::after{content:none}
.po-account-subscribe{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border:0;border-radius:8px;background:#087b54;color:#fff;padding:9px 12px;font-weight:700;cursor:pointer}
html[data-color-mode="dark"][data-navigation="sidebar"] .po-sidebar .po-account-card{background:#1b3036;border-color:#36515a}
html[data-color-mode="dark"] .po-account-card .po-plan-label{color:#95e5bd}
html[data-color-mode="dark"] .po-account-card[data-status="TRIAL"] .po-plan-label{color:#ffcf85}
html[data-color-mode="dark"] .po-account-card:is([data-status="EXPIRED"],[data-status="PAST_DUE"]) .po-plan-label{color:#ffadb9}
html[data-color-mode="dark"][data-navigation="sidebar"] .po-sidebar .po-account-card .po-logout{color:#ffadb9}
html[data-app-layout="wide"] body .po-mode-options{align-items:start}
html[data-app-layout="wide"] body .po-mode-options .po-pediatric-shortcuts{grid-column:3;display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;margin:0;padding-top:2px}
html[data-app-layout="wide"] body .po-mode-options .po-pediatric-shortcuts>button{position:static!important;width:100%!important;min-width:0!important;min-height:33px!important;margin:0!important;flex:initial!important;padding:7px 9px!important;border-radius:9px;gap:6px;justify-content:center!important;font-size:11px;line-height:1.3;white-space:normal;box-sizing:border-box;box-shadow:none}
.po-mode-options .po-pediatric-shortcuts svg{width:15px;height:15px;flex-shrink:0}
.po-rx-intro{min-width:0;box-sizing:border-box}
.po-rx-intro h1,.po-rx-intro p{overflow-wrap:anywhere}
html[data-color-mode="dark"] .po-rx-intro .hero-act-exam{background:#213738!important;border-color:#456160!important;color:#e1f0eb!important}
html[data-color-mode="dark"] .po-rx-intro .hero-act-exam button[title]{background:#2a4464!important;color:#d3e5ff!important;border-color:#506883!important}
html[data-color-mode="dark"] .app-pediatria .po-rx-intro .hero-act-exam button[title]{background:#50304a!important;color:#ffcee9!important;border-color:#77516c!important}
html[data-color-mode="dark"] :is(.ia-history-panel,.ia-history-panel-header,.ia-history-list){background:#15262d!important;color:#e5f0f5!important;border-color:#36505a!important}
html[data-color-mode="dark"] .ia-history-panel{padding:15px;border:1px solid #36505a;border-radius:14px}
html[data-color-mode="dark"] .ia-hist-row{background:transparent!important;border-color:#36505a!important;margin:7px 0}
html[data-color-mode="dark"] .ia-history-item{background:#1e333d!important;color:#e5f0f5!important;border:1px solid #36505a!important}
html[data-color-mode="dark"] :is(.ia-history-title,.ia-history-query){color:#e5f0f5!important}
html[data-color-mode="dark"] :is(.ia-history-meta,.ia-hist-chevron){color:#b9ccd9!important}
html[data-color-mode="dark"] :is(.ia-history-count-badge,.ia-tab-count){background:#354c55!important;color:#dceef4!important}
html[data-color-mode="dark"] .ia-history-cat{color:#fff!important;background:#245394!important}
html[data-color-mode="dark"] .ia-history-cat[data-category="DOENCA"]{background:#216d56!important}
html[data-color-mode="dark"] .ia-history-cat[data-category="CASO_CLINICO"]{background:#6841a7!important}
html[data-color-mode="dark"] .ia-hist-body{background:#192d35!important;color:#e5f0f5!important}
html[data-color-mode="dark"] .po-qsofa-result[data-risk="low"]{background:#173c2d!important;border-color:#469f71!important;color:#b7f4ce!important}
html[data-color-mode="dark"] .po-qsofa-result[data-risk="medium"]{background:#493918!important;border-color:#b79838!important;color:#ffe69a!important}
html[data-color-mode="dark"] .po-qsofa-result[data-risk="high"]{background:#4b2430!important;border-color:#d86c80!important;color:#ffd0d8!important}
html[data-color-mode="dark"] .po-qsofa-result>div{color:inherit!important}
:where(button,[role="button"],a[href],summary){-webkit-tap-highlight-color:transparent}
:where(button,[role="button"],a[href],summary):focus-visible{outline:3px solid #39a3e4!important;outline-offset:3px}
@media(hover:hover){
 :where(button,[role="button"],summary):not(:disabled):not([aria-disabled="true"]){transition:filter .16s ease,box-shadow .16s ease,background-color .16s ease}
 a[href]:hover{text-decoration:underline;text-underline-offset:3px}
}
@media(max-width:480px){html[data-app-layout="wide"] body .po-mode-options .po-pediatric-shortcuts>button{font-size:10px;padding:7px 4px!important;gap:4px}.po-mode-options .po-pediatric-shortcuts svg{width:12px;height:12px}}
@media(prefers-reduced-motion:reduce){:where(button,[role="button"],a[href],summary){transition:none!important;animation:none!important;transform:none!important}}
}
