@media screen {
/* Pediatric tools share the existing tile height instead of adding a row. */
.po-mode-cell{height:96px;min-width:0;display:grid;grid-template-rows:minmax(0,1fr)}
.po-mode-cell.has-shortcuts{grid-template-rows:44px 44px;gap:8px}
html[data-app-layout="wide"] body .po-mode-options{width:100%;max-width:900px}
html[data-app-layout="wide"] body .po-mode-options .po-mode-cell>.v4m-mode{width:100%;height:100%;min-height:0!important;box-sizing:border-box}
html[data-app-layout="wide"] body .po-mode-options .po-mode-cell.has-shortcuts>.v4m-mode{padding:3px 10px!important;gap:7px!important;border-radius:11px 11px 7px 7px!important}
.po-mode-cell.has-shortcuts .v4m-mode-desc{display:none}
.po-mode-cell.has-shortcuts .v4m-mode-ico{width:22px!important;height:22px!important;border-radius:7px!important}
.po-mode-cell.has-shortcuts .v4m-mode-ico svg{width:15px;height:15px}
html[data-app-layout="wide"] body .po-mode-options .po-mode-cell .po-pediatric-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:auto;gap:4px;padding:0;margin:0;min-width:0;animation:po-tools-reveal .22s ease-out}
html[data-app-layout="wide"] body .po-mode-options .po-mode-cell .po-pediatric-shortcuts>button{height:44px;min-height:0!important;padding:6px!important;font-size:12px;line-height:1.25;gap:5px;white-space:normal;border-radius:9px 9px 12px 12px}
.po-mode-cell .po-pediatric-shortcuts svg{width:16px;height:16px}
@keyframes po-tools-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){
 .po-mode-cell{height:144px}.po-mode-cell.has-shortcuts{grid-template-rows:54px 84px;gap:6px}
 html[data-app-layout="wide"] body .po-mode-options .po-mode-cell.has-shortcuts>.v4m-mode{padding:5px 2px!important;gap:3px!important}
 html[data-app-layout="wide"] body .po-mode-options .po-mode-cell .po-pediatric-shortcuts{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,40px);gap:4px}
 html[data-app-layout="wide"] body .po-mode-options .po-mode-cell .po-pediatric-shortcuts>button{height:40px;padding:4px 2px!important;font-size:10.5px;justify-content:center!important;text-align:center}
 .po-mode-cell .po-pediatric-shortcuts>button>span{display:block}
 .po-mode-cell .po-pediatric-shortcuts>button>svg{display:none}
}
/* Selected manual-day chip must not make its white input text white. */
html body .print-modal-body .atest-dias-manual .atest-dias-livre{background:#fff!important;color:#172b24!important;-webkit-text-fill-color:#172b24!important;caret-color:#172b24;border:1px solid #9aafa4!important;border-radius:7px;text-align:center;font-size:16px;font-weight:750;opacity:1}
html body .print-modal-body .atest-dias-manual .atest-dias-livre::placeholder{color:#60766b!important;-webkit-text-fill-color:#60766b!important;opacity:1}
html[data-color-mode="dark"] body .print-modal-body .atest-dias-manual .atest-dias-livre{background:#14252b!important;color:#edf6f1!important;-webkit-text-fill-color:#edf6f1!important;caret-color:#edf6f1;border-color:#89a69a!important}
html[data-color-mode="dark"] body .print-modal-body .atest-dias-manual .atest-dias-livre::placeholder{color:#abc3b7!important;-webkit-text-fill-color:#abc3b7!important}
@media(prefers-reduced-motion:reduce){html[data-app-layout="wide"] body .po-mode-options .po-mode-cell .po-pediatric-shortcuts{animation:none!important}}
html[data-care-mode]{--care-main:#147c49;--care-deep:#0b5635;--care-bright:#8adbb1;--care-tint:#eef7f1;--care-border:#c5dfd0}
html[data-care-mode="ubs"]{--care-main:#2468b5;--care-deep:#174c89;--care-bright:#a1cdf7;--care-tint:#eef4fb;--care-border:#c7daed}
html[data-care-mode="pediatria"]{--care-main:#a63470;--care-deep:#7c2352;--care-bright:#f3b2d2;--care-tint:#fbf0f6;--care-border:#ebcade}
html[data-care-mode]{--care-ink:var(--care-deep);--care-surface:color-mix(in srgb,var(--care-tint) 45%,white);--care-canvas:color-mix(in srgb,var(--care-tint) 70%,white)}
html[data-care-mode][data-color-mode="dark"]{--care-ink:var(--care-bright);--care-tint:color-mix(in srgb,var(--care-main) 18%,#15232a);--care-border:color-mix(in srgb,var(--care-main) 38%,#344851);--care-surface:color-mix(in srgb,var(--care-main) 10%,#18262d);--care-canvas:color-mix(in srgb,var(--care-main) 7%,#101b20);--night-bg:var(--care-canvas);--night-surface:var(--care-surface);--night-raised:var(--care-tint);--night-border:var(--care-border);--night-accent:var(--care-bright)}
html[data-care-mode][data-app-layout="wide"] body :is(.po-sidebar,.po-mobile-menu-bar,.po-rx-dock.po-rx-toolbar){background:var(--care-surface)!important;border-color:var(--care-border)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.v4m-root,.v4m-main,.po-rx-intro,.po-app>.app-content){background:var(--care-canvas)!important}
html[data-care-mode][data-app-layout="wide"] body .po-mode-panel{background:var(--care-tint)!important;border-color:var(--care-border)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.po-brand-mark,.po-avatar,.po-search-emblem,.po-floating-history,.po-sidebar .po-area-nav button[aria-current="page"],.v4m-act-nova,.po-account-subscribe){background:linear-gradient(145deg,var(--care-main),var(--care-deep))!important;color:white!important;border-color:var(--care-main)!important;box-shadow:0 3px 12px color-mix(in srgb,var(--care-main) 18%,transparent)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.po-quick-tools>.po-floating-font,.po-quick-tools>.po-light-toggle,.po-sidebar-collapse,.po-account-settings,.po-font-control button,.po-search-clear){background:var(--care-tint)!important;color:var(--care-ink)!important;border-color:var(--care-border)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.po-top-actions .po-support,.po-account-card,.po-font-popover,.v4m-act-atestado,.hero-act-exam){background:var(--care-tint)!important;color:var(--care-ink)!important;border-color:var(--care-border)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.po-support-copy strong,.po-support-symbol,.po-search-words,.po-font-popover>strong,.hero-act-exam button){color:var(--care-ink)!important}
html[data-care-mode][data-app-layout="wide"] body .po-support-symbol{border-color:var(--care-border)!important;background:var(--care-surface)!important}
html[data-care-mode][data-app-layout="wide"] body .po-floating-history>b{background:white!important;color:var(--care-deep)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.gaso-hero,.calc-hero,.ia-hero,.pt-hero,.rename-hero,.btn-primary,.pt-btn-pri,.pt-novo,.pt-btn-rel){background:linear-gradient(135deg,var(--care-main),var(--care-deep))!important;border-color:var(--care-main)!important;color:#fff!important}
html[data-care-mode][data-app-layout="wide"] body .history-head{background:var(--care-tint)!important;border-color:var(--care-border)!important;color:var(--care-ink)!important}
html[data-care-mode][data-app-layout="wide"] body .po-rx-dock :is(.po-certificate-icon,.po-certificate-icon svg){color:var(--care-ink)!important}
html[data-care-mode][data-app-layout="wide"] body .po-rx-toolbar .hero-act-exam>button:last-child{background:var(--care-border)!important;color:var(--care-ink)!important}
html[data-care-mode][data-app-layout="wide"] body .po-rx-dock .v4m-searchbox{border-color:var(--care-border)!important}
html[data-care-mode][data-app-layout="wide"] body .po-rx-dock .v4m-searchbox:focus-within{border-color:var(--care-main)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--care-main) 18%,transparent)!important}
html[data-care-mode][data-app-layout="wide"] body .po-rx-dock .po-search-emblem{box-shadow:none!important}
html[data-care-mode][data-app-layout="wide"] body .v4m-main{scrollbar-color:var(--care-border) transparent}
html[data-care-mode][data-app-layout="wide"] body .po-sidebar .po-area-nav button:not([aria-current="page"]):hover{background:var(--care-tint)!important;color:var(--care-ink)!important}
html[data-care-mode][data-app-layout="wide"] body :is(.po-quick-tools>button,.po-brand-mark,.po-avatar,.po-sidebar,.po-mode-panel,.po-rx-intro){transition:background-color .35s ease,border-color .35s ease,color .35s ease,width .32s ease,translate .2s ease!important}
/* Double chevron matches the supplied reference; compact navigation keeps every action. */
.po-sidebar-collapse{display:grid;place-items:center;flex:0 0 29px;width:29px;height:31px;padding:0;border:1px solid var(--care-border);border-radius:9px;cursor:pointer;background:var(--care-tint);color:var(--care-ink)}
.po-sidebar-collapse svg{transition:transform .3s ease}
html[data-sidebar-collapsed="true"] .po-sidebar-collapse svg{transform:rotate(180deg)}
html[data-navigation="sidebar"] .po-sidebar .po-brand{min-width:0;flex-shrink:1;gap:8px;padding-inline:0}
html[data-navigation="sidebar"] .po-sidebar .po-brand strong{font-size:15px}
html[data-navigation="sidebar"] .po-sidebar .po-brand-mark{position:relative;width:36px;height:36px;padding:0;box-sizing:border-box;display:grid;place-items:center;overflow:hidden;isolation:isolate;border-radius:11px;flex-shrink:0}
.po-brand-cross{display:block;position:relative;z-index:1;width:24px;height:24px;transform-origin:center;animation:po-brand-breathe 9s ease-in-out infinite}
.po-brand-mark::after{content:"";position:absolute;inset:-30%;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#ffffff08 40%,#ffffff70 50%,#ffffff08 60%,transparent 70%);transform:translateX(-120%) rotate(10deg);animation:po-brand-shimmer 9s ease-in-out infinite}
@keyframes po-brand-shimmer{0%,73%{transform:translateX(-120%) rotate(10deg);opacity:0}77%{opacity:1}92%,100%{transform:translateX(120%) rotate(10deg);opacity:0}}
@keyframes po-brand-breathe{0%,73%,100%{transform:scale(1)}83%{transform:scale(1.09)}92%{transform:scale(1)}}
@media(min-width:801px){
 html[data-navigation="sidebar"] body .po-app .v4m-root{transition:left .32s ease,width .32s ease}
 html[data-navigation="sidebar"] body .app.po-app{transition:padding-left .32s ease}
 html[data-navigation="sidebar"][data-sidebar-collapsed="true"]{--po-sidebar-width:76px}
 html[data-sidebar-collapsed="true"] .po-sidebar{padding-inline:8px!important}
 html[data-sidebar-collapsed="true"] .po-sidebar-brand{flex-direction:column;gap:10px}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-brand>span:last-child,
 html[data-sidebar-collapsed="true"] .po-sidebar .po-sidebar-label,
 html[data-sidebar-collapsed="true"] .po-sidebar .po-area-nav button>span,
 html[data-sidebar-collapsed="true"] .po-sidebar .po-profile-data,
 html[data-sidebar-collapsed="true"] .po-sidebar .po-support>.po-support-copy{display:none!important}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-area-nav{margin-top:15px}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-area-nav button{justify-content:center;padding:12px!important}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-top-actions{display:flex;flex-direction:column;gap:8px}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-account-card{display:flex;flex-direction:column;padding:7px 2px;gap:5px}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-account-card .po-profile{justify-content:center;padding:3px!important}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-account-shortcuts{flex-direction:row;gap:1px}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-account-shortcuts>button{width:25px!important}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-top-actions .po-support{justify-content:center;height:46px!important;padding:5px!important;position:relative}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-support>b{position:absolute;right:0;top:0}
 html[data-sidebar-collapsed="true"] .po-sidebar .po-account-subscribe{font-size:9px;padding:5px 2px;max-width:100%}
}
@media(max-width:800px){.po-sidebar-collapse{display:none}}
@media(prefers-reduced-motion:reduce){.po-brand-cross,.po-brand-mark::after{animation:none!important}.po-brand-mark::after{display:none}}
@media(hover:hover){.po-sidebar-collapse:hover{translate:-2px 0;box-shadow:0 3px 9px color-mix(in srgb,var(--care-main) 20%,transparent)}}
@media(prefers-reduced-motion:reduce){html[data-care-mode][data-app-layout="wide"] body :is(.po-quick-tools>button,.po-brand-mark,.po-avatar,.po-sidebar,.po-mode-panel,.po-rx-intro,.v4m-root,.app.po-app,.po-sidebar-collapse,.po-sidebar-collapse svg){transition:none!important;translate:none!important}}
}
