@media (hover: none) and (pointer: coarse){html:root .kbd,html:root .search-kbd{display:none}html:root .paciente-actions,html:root .ex-acao-btn,html:root .ex-add-exame{opacity:1}html:root .paciente-card:hover,html:root .ex-card:hover{transform:none;box-shadow:none}html:root .btn-primary:hover,html:root .btn-success:hover{transform:none}html:root .detalhe-nav-bloco:hover:not(.is-ativo){background:var(--brand-soft);border-color:var(--brand-border)}html:root .detalhe-nav-btn:hover:not(.is-ativo){background:none;color:var(--text-muted)}html:root .cal-views button:hover:not(.ativo),html:root .cal-hoje:hover{background:var(--surface)}html:root .cal-nav-btn:hover,html:root .cal-busca-btn:hover{background:none}html:root .icon-btn,html:root .paciente-action-btn{width:36px;height:36px}html:root .ex-acao-btn{width:34px;height:34px}html:root .density-btn{width:40px;height:38px}html:root .filter-chip-remove{padding:6px 8px}html:root .drawer-close{padding:8px 12px;font-size:18px}html:root .cal-toolbar{flex-wrap:wrap;row-gap:8px}html:root .cal-toolbar>*{flex-shrink:0}html:root .cal-titulo{white-space:nowrap}html:root #cal-novo{margin-left:auto}html:root .ex-abas,html:root .periodo-seg{scrollbar-width:none;-webkit-overflow-scrolling:touch}html:root .ex-abas::-webkit-scrollbar,html:root .periodo-seg::-webkit-scrollbar{display:none}}@media (hover: none) and (pointer: coarse) and (max-width: 1279.98px){html:root #cal-novo{padding:0;width:40px;height:36px}html:root #cal-novo .btn-label{display:none}}@media (hover: none) and (pointer: coarse) and (max-width: 1023.98px),(hover: none) and (pointer: coarse) and (orientation: portrait){html:root .ex-topbar{flex-wrap:wrap;row-gap:10px}html:root .ex-topbar>.ex-abas{min-width:0;flex-shrink:1}html:root .ex-topbar .toolbar-right{flex-wrap:wrap;justify-content:flex-end}html:root .periodo-seg{max-width:100%;overflow-x:auto}html:root .periodo-btn{flex-shrink:0}html:root .detalhe-cols{grid-template-columns:minmax(0,1fr)}html:root .detalhe-nav-col{display:contents}html:root .detalhe-nav-col>*{grid-column:1;grid-row:auto;order:2;min-width:0}html:root .detalhe-nav-col>.detalhe-nav{order:0}html:root .detalhe-conteudo{grid-column:1;grid-row:auto;order:1}html:root .detalhe-nav{flex-direction:row;gap:6px;padding:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}html:root .detalhe-nav::-webkit-scrollbar{display:none}html:root .detalhe-nav-blocos,html:root .detalhe-nav-compactos{display:contents}html:root .detalhe-nav-sep{display:none}html:root .detalhe-nav-bloco,html:root .detalhe-nav-btn{width:auto;flex:0 0 auto;white-space:nowrap}html:root .detalhe-nav-bloco{padding:7px 12px 7px 8px;gap:8px}html:root .detalhe-nav-bloco-icon{width:28px;height:28px;font-size:13px}html:root .detalhe-nav-bloco-titulo{margin-bottom:0}html:root .detalhe-nav-bloco-desc{display:none}html:root .content:has(>.cfg-hero){display:flex;flex-direction:column;gap:16px}html:root .content:has(>.cfg-hero)>*{order:3;min-width:0}html:root .content:has(>.cfg-hero)>.faixa-cota{order:0;margin-bottom:0}html:root .content:has(>.cfg-hero)>.detalhe-cols{display:contents}html:root .content:has(>.cfg-hero) .detalhe-nav{order:1}html:root .content:has(>.cfg-hero)>.cfg-hero{order:2;margin-bottom:0}html:root .content:has(>.cfg-hero) .detalhe-conteudo{order:3}html:root .content:has(>.cfg-hero) .detalhe-nav-col>:not(.detalhe-nav){order:4}html:root .cfg-segmented{scrollbar-width:none;-webkit-overflow-scrolling:touch}html:root .cfg-segmented::-webkit-scrollbar{display:none}html:root .cal-toolbar{flex-wrap:wrap;gap:8px 6px;padding:10px 14px}html:root #cal-novo{padding:0;width:40px;height:36px}html:root #cal-novo .btn-label{display:none}html:root .cal{height:calc(100dvh - var(--topbar-h) - 40px);min-height:460px}html:root .drawer{max-width:100vw;height:100vh;height:100dvh}html:root .modal{max-width:calc(100vw - 32px);max-height:90dvh}}@media (hover: none) and (pointer: coarse) and (max-width: 640px){html:root .assin-prov-grid{grid-template-columns:minmax(0,1fr)}html:root .cfg-equip .czap-linha-ctl{flex-shrink:1;min-width:0}html:root .cfg-equip .equip-valor{white-space:normal;overflow-wrap:anywhere;text-align:right}html:root .pref-modal-largo .pref-foot{flex-wrap:wrap}html:root .pref-modal-largo .pref-foot .btn{flex:1 1 auto}html:root .cfg-equip .czap-linha-abaixo:has(.equip-codigo){padding-left:0}html:root .equip-codigo{padding:18px 12px 16px}html:root .equip-codigo-val{gap:10px}html:root .equip-codigo-grupo{gap:4px}html:root .equip-codigo-letra{width:34px;height:46px;font-size:22px;border-radius:8px}html:root input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),html:root select,html:root textarea{font-size:16px}html:root .page-toolbar{gap:10px}html:root .toolbar-left{width:100%}html:root .search-wrap{flex:1 1 100%;min-width:0;max-width:none}html:root .toolbar-left>.filter-select{flex:1 1 calc(50% - 4px);min-width:0}html:root .page-toolbar>.toolbar-right{width:100%;flex-wrap:wrap;flex-shrink:1}html:root .page-toolbar>.toolbar-right .btn-primary{margin-left:auto}html:root .periodo-seg{flex:1 1 100%}html:root .periodo-btn{padding:8px 12px}html:root .periodo-row .toolbar-right{margin-left:0;width:100%;flex-wrap:wrap}html:root .periodo-row .toolbar-right .btn-primary{margin-left:auto}html:root .ex-topbar>.ex-abas{flex:1 1 100%}html:root .ex-topbar .toolbar-right{flex:1 1 100%;margin-left:0;gap:8px;justify-content:flex-start}html:root .ex-topbar .toolbar-right .btn-primary{margin-left:auto}html:root .ex-aba{padding:8px 12px}html:root .density-toggle:has(.fa-grip-lines){display:none}html:root .ex-card{flex-wrap:wrap;row-gap:8px;column-gap:12px;padding:12px 14px}html:root .ex-card>.ex-info{flex:1 1 0;order:1}html:root .ex-card>.ex-chevron{order:2}html:root .ex-card:after{content:"";order:3;flex:0 0 100%;height:0}html:root .ex-card>:not(.ex-marca):not(.ex-info):not(.ex-chevron){order:4}html:root .ex-card>.ex-quando{margin-left:auto;text-align:right;min-width:0}html:root .ex-card>.ex-acoes{width:auto;margin-left:auto}html:root .ex-titulo{white-space:normal;flex-wrap:wrap;row-gap:2px}html:root .paciente-card{flex-wrap:wrap;row-gap:6px;column-gap:12px;padding:12px 14px}html:root .paciente-card>.paciente-info{order:1}html:root .paciente-card>.paciente-actions{order:2}html:root .paciente-card:after{content:"";order:3;flex:0 0 100%;height:0}html:root .paciente-card>.paciente-badges{order:4;margin-left:52px;flex-wrap:wrap}html:root .pacientes-lista.compacto .paciente-card>.paciente-badges{margin-left:44px}html:root .paciente-chevron{display:none}html:root .paciente-meta{flex-wrap:wrap;row-gap:0}html:root .cfg-cab-head{flex-wrap:wrap;row-gap:10px}html:root .cfg-cab-head>.cfg-cab-txt{flex:1 1 calc(100% - 56px);min-width:0}html:root .cfg-cab-head>.cfg-cab-txt+*{margin-left:auto}html:root .section-card{padding:16px 14px}html:root .hero-card{padding:16px;gap:14px}html:root .res-kpis,html:root .res-kpis.prof{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html:root .res-kpi{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}html:root .res-kpi-ico{width:32px;height:32px;font-size:13px}html:root .res-kpi-txt{width:100%}html:root .res-kpi-rot{font-size:10px;line-height:1.3}html:root .drawer{width:100vw;border-left:0}html:root .drawer-header{padding:16px 16px 14px}html:root .drawer-section{padding:16px}html:root .drawer-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}html:root .modal-overlay{align-items:flex-end}html:root .modal{width:100%;max-width:100%;max-height:92dvh;border-radius:var(--radius-lg) var(--radius-lg) 0 0}html:root .modal-header{padding:18px 16px 12px}html:root .modal-body{padding:0 16px 14px}html:root .modal-actions{padding:12px 16px calc(14px + env(safe-area-inset-bottom));flex-wrap:wrap;border-radius:0}html:root .form-row{flex-wrap:wrap}html:root .form-row>.form-group{flex:1 1 170px}html:root .form-row>.form-group-2{flex:2 1 220px}html:root .cal{height:calc(100dvh - var(--topbar-h) - 28px);min-height:420px}html:root .cal-toolbar{gap:8px 6px;padding:10px 12px}html:root .cal-toolbar-spacer{flex:0 0 100%;height:0}html:root .cal-titulo{display:block;flex:1 1 0;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;padding:6px;text-align:left}html:root .cal-hoje{padding:8px 12px}html:root .cal-nav-btn{width:36px;height:36px}html:root .cal-busca-btn,html:root .cal-mais{width:36px;height:36px}html:root .cal-busca.aberta{flex:1 1 auto;min-width:0}html:root .cal-busca.aberta .cal-busca-input{width:auto;flex:1 1 auto;min-width:0}html:root .cal-views button{padding:8px}html:root .cal-toolbar-spacer{margin-top:-8px}html:root #cal-novo{margin-left:auto;padding:0;width:40px;height:36px}html:root .cal-toolbar{position:relative}html:root .ag-sino-wrap,html:root .cal-mais-wrap{position:static}html:root .ag-sino-menu,html:root .cal-mais-menu{top:calc(100% - 4px);left:12px;right:12px;width:auto;min-width:0}html:root #cal-novo .btn-label{display:none}html:root .ag-pop-ov{background:var(--overlay)}html:root .ag-pop,html:root .ag-det{left:0!important;right:0;top:auto!important;bottom:0;width:100%;max-width:100%;max-height:90dvh;border-radius:var(--radius-lg) var(--radius-lg) 0 0;border-width:1px 0 0}html:root .ag-pop-head{padding:14px 16px}html:root .ag-pop-body{padding:14px 16px}html:root .ag-pop-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}html:root .ag-pop-close{padding:6px 10px;font-size:20px}html:root .ag-det-row{grid-template-columns:84px minmax(0,1fr)}html:root .ag-row3{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.95fr);gap:8px}html:root .ag-row3 :is(input,select){padding-left:8px;padding-right:6px}html:root .ag-row2{gap:8px}html:root .ag-row3 :is(input,select),html:root .ag-row2 :is(input,select){min-width:0;width:100%}html:root .empty-state{padding:36px 12px}html:root #toast-container{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:none}}
