/* OdiHub V130.2 — padrões da limpeza visual (vale nos dois visuais).
   .oc-ph       cabeçalho padrão da tela (título + ações)
   .oc-gaveta   painel lateral para "+ Novo ..." (formulário de cadastro)
   .oc-tab      tabela compacta, linha clicável
   .oc-kcard    card que filtra a lista (a.oc-kcard.on = filtro ativo) */
.oc-ph{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.oc-ph h1{margin:0;font-size:26px;line-height:1.15;letter-spacing:-.02em}
.oc-ph .oc-ph-n{font-size:13px;font-weight:600;opacity:.7;margin-left:8px;letter-spacing:0}
.oc-ph-a{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.oc-ph-a .oc-ph-sel{height:40px;border-radius:10px}
.oc-b{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 16px;border-radius:11px;border:1px solid #CFE3E1;background:#fff;color:#0B6E73;font:700 13.5px/1 Inter,"Segoe UI",system-ui,sans-serif;cursor:pointer;text-decoration:none!important;white-space:nowrap}
.oc-b.p{background:linear-gradient(135deg,#14C2B9,#0B8A8B);border:0;color:#fff!important;box-shadow:0 10px 22px -12px rgba(11,138,139,.9)}
.oc-b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
/* gaveta */
.oc-gaveta{position:fixed;inset:0;z-index:10040;display:flex;justify-content:flex-end;background:rgba(4,20,28,.45);backdrop-filter:blur(1.5px)}
.oc-gaveta[hidden]{display:none}
.oc-gaveta-box{width:min(560px,100%);height:100%;background:#fff;color:#0F2230;display:flex;flex-direction:column;box-shadow:-24px 0 60px -20px rgba(0,0,0,.45);animation:oc-gav .18s ease-out}
@keyframes oc-gav{from{transform:translateX(30px);opacity:.4}to{transform:none;opacity:1}}
.oc-gaveta-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;border-bottom:1px solid #E6EDF2}
.oc-gaveta-h h3{margin:0;font-size:18px;color:#0F2230}
html body .oc-gaveta-x{width:36px!important;height:36px!important;min-height:0!important;border-radius:10px!important;border:0!important;background:#EEF4F4!important;color:#37565A!important;font-size:22px!important;padding:0!important;cursor:pointer;box-shadow:none!important}
.oc-gaveta-c{flex:1;overflow:auto;padding:18px 20px 24px}
.oc-gaveta-c form{margin:0}
@media (max-width:620px){.oc-gaveta-box{width:100%;height:auto;max-height:94vh;margin-top:auto;border-radius:20px 20px 0 0}.oc-gaveta{align-items:flex-end}}
/* tabela compacta */
.oc-tab{width:100%;border-collapse:collapse;font-size:13px}
.oc-tab th{font-size:11.5px;font-weight:700;color:#6B7F8C;text-align:left;padding:9px 10px;border-bottom:1px solid #E3EAEF;background:#F7FAFB;white-space:nowrap}
.oc-tab td{padding:10px;border-bottom:1px solid #EEF2F5;vertical-align:middle}
.oc-tab tr[data-href]{cursor:pointer}.oc-tab tr[data-href]:hover td{background:#F4FBFA}
.oc-tab .n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.oc-tab .fraco{color:#7F909C;font-size:12px}
/* cards que filtram */
a.oc-kcard{text-decoration:none!important;color:inherit;cursor:pointer;transition:transform .12s,box-shadow .12s}
a.oc-kcard:hover{transform:translateY(-1px)}
a.oc-kcard.on{outline:3px solid rgba(20,194,185,.55);outline-offset:2px}
/* menu ⋯ */
.oc-mais{position:relative;display:inline-block}
html body .oc-mais>button{width:34px!important;height:32px!important;min-height:0!important;padding:0!important;border-radius:9px!important;border:1px solid #DCE4EA!important;background:#fff!important;color:#37565A!important;font-size:18px!important;line-height:1!important;box-shadow:none!important;cursor:pointer}
.oc-mais-m{position:absolute;right:0;top:36px;z-index:50;min-width:190px;background:#fff;border:1px solid #E3EAEF;border-radius:12px;box-shadow:0 16px 40px -16px rgba(15,34,48,.35);padding:6px;display:none}
.oc-mais.aberto .oc-mais-m{display:block}
.oc-mais-m a,html body .oc-mais-m button{display:block;width:100%!important;text-align:left;padding:8px 10px!important;border-radius:8px!important;font-size:13px!important;color:#0F2230!important;text-decoration:none!important;background:none!important;border:0!important;height:auto!important;min-height:0!important;box-shadow:none!important;font-weight:600!important;cursor:pointer}
.oc-mais-m a:hover,.oc-mais-m button:hover{background:#F1F6F8!important}
/* usuário no topo: um botão só; Sair fica no menu dele */
html body .oc-mais.oc-user>button{width:auto!important;height:40px!important;padding:0 10px!important;border:1px solid transparent!important;background:transparent!important;display:inline-flex!important;align-items:center;gap:8px;font-size:13px!important;color:inherit!important;border-radius:12px!important}
html body .oc-mais.oc-user>button:hover{background:rgba(127,127,127,.12)!important}
.oc-user-seta{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.7}
.oc-mais.oc-user .oc-mais-m{top:44px}
html.v130 body #oc-main#oc-main .top .oc-mais.oc-user>button{color:#fff!important}
html body #oc-main#oc-main .top .oc-mais.oc-user>button.top-user-identity{background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;width:auto!important;min-width:0!important;height:40px!important;padding:0 10px!important}
html body #oc-main#oc-main .top .oc-mais.oc-user>button.top-user-identity:hover{background:rgba(127,127,127,.14)!important}
html body #oc-main#oc-main .top .user.oc-user{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.oc-b[hidden],[hidden].oc-b{display:none!important}
/* passos da importação da NF-e */
.nfe-passos{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nfe-passo{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#5B7180;background:#fff;border:1px solid #E1E9EE;border-radius:99px;padding:6px 14px 6px 6px}
.nfe-passo i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;background:#EEF4F6;color:#5B7180}
.nfe-passo.on{color:#0F2230;border-color:#9ADCD5}.nfe-passo.on i{background:#14B8AA;color:#fff}
.nfe-sep{width:18px;height:2px;background:#D5E2E6;border-radius:2px}
/* V130.2: chips de procedimentos numa linha */
.oco-chips{flex-wrap:wrap!important;overflow:visible}.oco-chips::-webkit-scrollbar{display:none}.oco-chips .oc-chip{white-space:nowrap;flex:0 0 auto}
/* V130.2: selo (caixa aberto/fechado, criptografia) */
.oc-selo{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;font-weight:700;font-size:12.5px;text-decoration:none;background:#DDF6EE;color:#0B6E4F}
.oc-selo:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.oc-selo.off{background:#FFF1E6;color:#9A4B00}
.v130-ph .oc-selo,.top .top-subtitle .oc-selo{background:rgba(255,255,255,.14);color:#fff}.v130-ph .oc-selo.ok:before,.top .top-subtitle .oc-selo.ok:before{background:#4BE3B0}.v130-ph .oc-selo.off:before,.top .top-subtitle .oc-selo.off:before{background:#FFB36B}
/* V130.2: Central gerencial: barras com nome inteiro e valor sem estourar */
.ocg2-hb>span{width:42%!important;max-width:190px}.ocg2-hb b{width:auto!important;min-width:44px;flex:none}
.ocg2-sec>.ocg2-sh{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
/* V130.2: no visual clássico a faixa DEMONSTRAÇÃO fica embaixo da marca, sem cobrir o conteúdo */
@media (min-width:901px) and (pointer:fine), (min-width:901px) and (min-height:501px){html:not(.v130) body .oc-demo-strip{top:66px!important;left:22px!important;bottom:auto!important;transform:none!important;width:200px;text-align:center;border-radius:9px!important;font-size:10.5px!important;padding:4px 8px!important}
html:not(.v130) body:has(.oc-demo-strip) #oc-side#oc-side .brand{padding-bottom:34px!important}}
/* V130.2: Pacientes em lista compacta (vence regras antigas de cartão) */
@media (min-width:851px) and (pointer:fine), (min-width:851px) and (min-height:501px){
html body #v124PatientGrid#v124PatientGrid{display:flex!important;flex-direction:column!important;gap:0!important;border:1px solid #E1E9EE;border-radius:14px;overflow:hidden;background:#fff}
html body #v124PatientGrid#v124PatientGrid .v124-patient-card.ocpx-row{display:grid!important;grid-template-columns:minmax(0,2.2fr) minmax(130px,1fr) 70px 110px auto!important;align-items:center!important;text-align:left!important;gap:14px!important;padding:9px 14px!important;min-height:0!important;margin:0!important;border:0!important;border-bottom:1px solid #EEF2F5!important;border-radius:0!important;box-shadow:none!important;cursor:pointer}
html body #v124PatientGrid#v124PatientGrid .v124-patient-card.ocpx-row:last-child{border-bottom:0!important}
html body #v124PatientGrid#v124PatientGrid .v124-patient-card.ocpx-row:hover{background:#F5FAFA!important}
html body #v124PatientGrid#v124PatientGrid .ocpx-ch{display:flex!important;align-items:center;gap:10px;flex-direction:row!important;text-align:left!important}
html body #v124PatientGrid#v124PatientGrid .ocpx-num{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
html body #v124PatientGrid#v124PatientGrid .va{display:flex!important;gap:6px;justify-content:flex-end;margin:0!important}
}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
html body #v124PatientGrid#v124PatientGrid{display:flex!important;flex-direction:column!important;gap:0!important;border:1px solid #E1E9EE;border-radius:14px;overflow:hidden;background:#fff}
html body #v124PatientGrid#v124PatientGrid .v124-patient-card.ocpx-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;text-align:left!important;gap:6px 10px!important;padding:10px 12px!important;min-height:0!important;margin:0!important;border:0!important;border-bottom:1px solid #EEF2F5!important;border-radius:0!important;box-shadow:none!important}
html body #v124PatientGrid#v124PatientGrid .ocpx-tel,html body #v124PatientGrid#v124PatientGrid .ocpx-num{display:none!important}
html body #v124PatientGrid#v124PatientGrid .ocpx-ch{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;text-align:left!important}
html body #v124PatientGrid#v124PatientGrid .va{display:flex!important;gap:6px;margin:0!important}
}
/* V130.2: Produtos no celular em linhas curtas (nome + estoque) */
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap{max-height:none!important;overflow:visible!important;border:1px solid #E1E9EE;border-radius:14px;background:#fff}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab{min-width:0!important;width:100%!important;display:table!important;border-collapse:collapse}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tbody{display:table-row-group!important}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tr{display:table-row!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;background:transparent!important}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tr>*{display:none!important}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tr>td:nth-child(2),html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tr>td:last-child{display:table-cell!important;padding:11px 12px!important;border-bottom:1px solid #EEF2F5!important;font-size:14px;white-space:normal!important}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tr>td:last-child{text-align:right;white-space:nowrap!important;width:1%}
html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab td::before{content:none!important;display:none!important}
}

@media (max-width:850px), (pointer:coarse) and (max-height:500px){html body #v124PatientGrid#v124PatientGrid .va>a{display:none!important}}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){html body #oc-main div.products-table-wrap.products-table-wrap.products-list-wrap table.oc-tab.oc-tab tr>td:nth-child(2){text-align:left!important;width:auto}}
/* V130.3: "Sair do sistema" legível no menu do usuário (todas as telas e os dois visuais) */
html body .oc-mais.oc-user .oc-mais-m{background:#fff!important;border:1px solid #E1E9EE!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(6,40,45,.18)!important;padding:6px!important;min-width:190px}
html body .oc-mais.oc-user .oc-mais-m a.top-logout,html body #oc-main#oc-main .top .oc-mais.oc-user .oc-mais-m a.top-logout{display:flex!important;justify-content:flex-start!important;align-items:center;gap:8px;width:100%;padding:9px 12px!important;border-radius:8px!important;background:transparent!important;color:#173F48!important;font-weight:700!important;font-size:13.5px!important;text-decoration:none!important;border:0!important;box-shadow:none!important;opacity:1!important;-webkit-text-fill-color:#173F48!important}
html body .oc-mais.oc-user .oc-mais-m a.top-logout:hover{background:#E9F7F5!important;color:#0B6E73!important;-webkit-text-fill-color:#0B6E73!important}
html body .oc-mais.oc-user .oc-mais-m a.top-logout:before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") center/contain no-repeat}
/* V130.3: Orçamento: painel da direita nunca passa da tela */
html body #bf.v130-orc .oco>*,html body #bf.v130-orc .oco-detail,html body #bf.v130-orc .oco-mid>*,html body #bf.v130-orc .oco-ctl,html body #bf.v130-orc .oco-ctl *{min-width:0;max-width:100%}
html body #bf.v130-orc .oco-ctl select,html body #bf.v130-orc .oco-ctl input,html body #bf.v130-orc .oco-ctl button{max-width:100%;box-sizing:border-box}
html body #bf.v130-orc .m3x-whole{white-space:normal}
/* V130.3: gaveta lateral com a cara do sistema (mesmo cabeçalho, campos e botões em todos os cadastros) */
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-box{background:#F4F8F9}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-h{background:linear-gradient(120deg,#06353B 0%,#0B5A5F 60%,#0F7A78 100%);border-bottom:0;padding:18px 22px}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-h h3{color:#fff!important;font-size:18px!important;font-weight:800!important;letter-spacing:-.01em}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-x{background:rgba(255,255,255,.14)!important;color:#fff!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-x:hover{background:rgba(255,255,255,.26)!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c{padding:20px 22px 28px}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c form{background:#fff!important;border:1px solid #E1E9EE!important;border-radius:16px!important;padding:18px!important;box-shadow:0 1px 2px rgba(6,40,45,.04)!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c form form{border:0!important;padding:0!important;box-shadow:none!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c label{display:block;font-size:12.5px!important;font-weight:700!important;color:#37565A!important;margin:0 0 6px!important;text-transform:none!important;letter-spacing:0!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c select,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c textarea{width:100%!important;box-sizing:border-box!important;min-height:42px!important;height:auto;padding:9px 12px!important;border:1.5px solid #D5E3E5!important;border-radius:10px!important;background:#fff!important;color:#0F2230!important;font-size:14px!important;box-shadow:none!important;outline:none}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c textarea{min-height:84px!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c input:focus,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c select:focus,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c textarea:focus{border-color:#14B8AA!important;box-shadow:0 0 0 3px rgba(20,184,170,.16)!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c .field,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c .row>div{margin-bottom:12px}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c button[type=submit],html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c button:not([type]),html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c input[type=submit]{min-height:42px!important;height:42px;padding:0 20px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#14B8AA,#0B8A85)!important;color:#fff!important;font-weight:800!important;font-size:14px!important;box-shadow:0 8px 18px -10px rgba(11,138,133,.8)!important;cursor:pointer;width:auto}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c button[type=submit]:hover,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c button:not([type]):hover{filter:brightness(1.06)}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c button[type=button]:not(.oc-gaveta-x):not(.vface):not(.oc-chip),html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c a.btn,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c a.oc-b,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c a.secondary,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c .btn.secondary{min-height:42px!important;height:42px;display:inline-flex!important;align-items:center;justify-content:center;padding:0 18px!important;border:1.5px solid #BFE3DF!important;border-radius:11px!important;background:#fff!important;color:#0B6E73!important;font-weight:700!important;font-size:14px!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c button[type=button]:not(.oc-gaveta-x):hover,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c a.btn:hover{background:#E9F7F5!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c input[type=checkbox],html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c input[type=radio]{accent-color:#0F8A84;width:16px;height:16px}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c small,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c .muted{color:#6B8186!important;font-size:12px!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c h4{font-size:13px!important;color:#0B5A5F!important;margin:14px 0 8px!important;text-transform:uppercase;letter-spacing:.04em}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-h .oc-gaveta-x{border:0!important;background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:none!important;width:36px!important;height:36px!important;padding:0!important;font-size:20px!important}
html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c :is(input,select,textarea)+label,html body aside.oc-gaveta:not(#_a):not(#_b):not(#_c) .oc-gaveta-c :is(input,select,textarea)+small+label{margin-top:12px!important}
/* V130.3: "i" de ajuda (passar o mouse mostra a explicação) */
.oc-i{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;border:1.5px solid #8FB0B3;color:#5D767A;font:700 11px/1 Inter,system-ui,sans-serif;font-style:normal;margin-left:6px;vertical-align:2px;cursor:help;position:relative;text-transform:none;letter-spacing:0}
.oc-i:hover,.oc-i:focus{border-color:#14B8AA;color:#0B6E73;outline:none}
.oc-i[data-dica]:hover:after,.oc-i[data-dica]:focus:after{content:attr(data-dica);position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);width:max-content;max-width:340px;white-space:normal;background:#0F2A30;color:#fff;font:500 12.5px/1.45 Inter,system-ui,sans-serif;padding:9px 12px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.25);z-index:50;text-align:left}
html body .lr-summary-card{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid #E1E9EE;border-radius:12px;background:#F8FBFB}
html body .lr-summary-card span{font-size:12px;color:#5D767A;font-weight:600}html body .lr-summary-card strong{font-size:16px;color:#0F2230}
/* V130.3: Acompanhamento de próteses: prazo nunca sai do cartão */
html body .ocq-card .ocq-f{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:6px!important;min-width:0}
html body .ocq-card .ocq-f>span:first-child{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}
html body .ocq-card .ocq-f .ocq-chip{white-space:normal!important;max-width:100%!important;overflow:hidden;line-height:1.3;text-align:left;flex:0 1 auto}
html body .ocq-card{overflow:hidden}
/* cartões-filtro respondem ao mouse */
html body a.ps-kpi,html body a.oc-kcard,html body a.ocv-c,html body a.fl-card{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
html body a.ps-kpi:hover,html body a.oc-kcard:hover,html body a.ocv-c:hover,html body a.fl-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px -14px rgba(6,40,45,.45)}
/* V130.3: o cartão-filtro escolhido fica marcado */
html body #oc-main .v130-kpis>.v130-kpi.on,html body #oc-main .v130-kpis>.v130-kpi.active,html body #oc-main a.oc-kcard.on,html body #oc-main a.ocv-c.on,html body #oc-main a.ps-kpi.active,html body #oc-main a.fl-card.on{outline:3px solid #14B8AA!important;outline-offset:3px}
html body #oc-main#oc-main .fc-k strong.neg,html body #oc-main#oc-main .fc-k .neg{color:#C0392B!important}html body #oc-main#oc-main .fc-k strong.pos{color:#17795A!important}
html body #oc-main#oc-main .v130-kpis>.v130-kpi:first-child strong.pos,html body #oc-main#oc-main .v130-kpis>.v130-kpi:first-child strong.neg{color:#fff!important}
/* V130.9: topo igual em todas as telas: sem nome do módulo, busca sempre no mesmo lugar */
@media (min-width:901px) and (pointer:fine), (min-width:901px) and (min-height:501px){
html body #oc-main#oc-main>.top .top-heading{display:none!important}
html body #oc-main#oc-main>.top{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important}
html body #oc-main#oc-main>.top .oc-topsearch{order:0;margin:0!important;width:440px!important;max-width:42vw!important;flex:0 0 auto!important;position:static!important;left:auto!important;transform:none!important}
html body #oc-main#oc-main>.top .top-actions{order:1;margin-left:auto!important}
}
@media (min-width:901px) and (pointer:fine), (min-width:901px) and (min-height:501px){html body #oc-main#oc-main>.top .top-actions{display:flex!important;align-items:center;gap:10px}}

/* V130.9: um único "Sair" por tela: no computador fica no menu do usuário (canto superior direito); no celular, no menu lateral */
@media (min-width:901px) and (pointer:fine), (min-width:901px) and (min-height:501px){html body #oc-side#oc-side .nav a.nav-item.nav-exit,html body:not(#_a):not(#_b) .side .nav-item.nav-exit{display:none!important}}
/* V130.9: aviso discreto de caixa fechado no Início */
.v130-cxf{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.82)!important;text-decoration:none!important}
.v130-cxf:before{content:"";width:7px;height:7px;border-radius:50%;background:#FFB36B}
.v130-cxf:hover{color:#fff!important;text-decoration:underline!important}
/* V130.9: botão "＋ Novo…" único: mesma cor, tamanho, letra e posição em todos os módulos */
html body:not(#_a):not(#_b):not(#_c) #oc-main#oc-main .oc-novo{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:40px!important;min-height:40px!important;padding:0 18px!important;margin:0!important;
 border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#14B8AA,#0B8A85)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font:800 14px/1 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap!important;
 box-shadow:0 10px 22px -12px rgba(11,138,133,.9)!important;opacity:1!important;cursor:pointer;width:auto!important;backdrop-filter:none!important}
html body:not(#_a):not(#_b):not(#_c) #oc-main#oc-main .oc-novo:hover{filter:brightness(1.07)}
html body:not(#_a):not(#_b):not(#_c) #oc-main#oc-main .oc-novo svg{width:16px!important;height:16px!important;stroke:#fff!important;color:#fff!important}
/* V130.9: menu ⋯ igual em todo o sistema (linhas simples, mesma cor do menu do usuário) */
html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m{background:#fff!important;border:1px solid #E1E9EE!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(6,40,45,.18)!important;padding:6px!important;min-width:200px;display:none;flex-direction:column;gap:2px}
html body:not(#_a):not(#_b):not(#_c) .oc-mais.aberto .oc-mais-m{display:flex!important}
html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m>a,html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m>button,html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m>form>button{display:flex!important;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px 12px!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#173F48!important;-webkit-text-fill-color:#173F48!important;font:700 13.5px/1.2 Inter,system-ui,sans-serif!important;text-align:left!important;text-decoration:none!important;cursor:pointer;white-space:nowrap}
html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m>a:hover,html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m>button:hover,html body:not(#_a):not(#_b):not(#_c) .oc-mais .oc-mais-m>form>button:hover{background:#E9F7F5!important;color:#0B6E73!important;-webkit-text-fill-color:#0B6E73!important}
html body:not(#_a):not(#_b):not(#_c) .oc-mais:not(.oc-user)>button{width:34px!important;height:34px!important;padding:0!important;border:1.5px solid #D5E3E5!important;border-radius:10px!important;background:#fff!important;color:#37565A!important;font-weight:800!important;box-shadow:none!important}
html body:not(#_a):not(#_b):not(#_c) .oc-mais:not(.oc-user)>button:hover{border-color:#14B8AA!important;color:#0B6E73!important}
/* botão secundário padrão das linhas (Prontuário, Ver, Editar…) */
html body:not(#_a):not(#_b):not(#_c) #v124PatientGrid .va>a{height:34px!important;display:inline-flex!important;align-items:center;padding:0 14px!important;border:1.5px solid #BFE3DF!important;border-radius:10px!important;background:#fff!important;color:#0B6E73!important;font-weight:700!important;font-size:13px!important;text-decoration:none!important;box-shadow:none!important}
html body:not(#_a):not(#_b):not(#_c) #v124PatientGrid .va>a:hover{background:#E9F7F5!important}
/* V130.9: Fornecedores e Laboratórios com o mesmo cartão e a mesma busca (com espaço antes dos cartões) */
html body .ocl2-list .ocl2-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0 0 16px!important;padding:0!important}
html body .ocl2-list .ocl2-head input[type=search]{flex:0 1 420px!important;width:420px!important;max-width:100%!important;height:42px!important;margin:0!important;padding:0 14px!important;border:1.5px solid #D5E3E5!important;border-radius:11px!important;background:#fff!important;font-size:14px!important;order:0}
html body .ocl2-list .ocl2-head .ocl2-tot{margin:0!important;font-weight:700;color:#5D767A;font-size:13px}
html body .ocl2-card .ocl2-tp{display:inline-block;margin:2px 4px 0 0;padding:2px 9px;border-radius:99px;font-size:11.5px;font-weight:700;background:#E3F5F1;color:#0B6E73}
html body .ocl2-card .ocl2-av{background:linear-gradient(135deg,#14B8AA,#0B8A85)!important;color:#fff!important}
/* V130.9: janela de prévia do WhatsApp (mesma em todo o sistema) */
.ocw{position:fixed;inset:0;z-index:99970;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(6,30,35,.5);backdrop-filter:blur(4px)}.ocw[hidden]{display:none!important}
.ocw-c{width:min(520px,100%);max-height:92vh;display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.ocw-h{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(120deg,#06353B 0%,#0B5A5F 60%,#0F7A78 100%);color:#fff}
.ocw-h b{display:block;font-size:16px}.ocw-h small{display:block;margin-top:2px;color:#CDEFEA;font-size:12.5px}
.ocw-ic{width:36px;height:36px;border-radius:11px;background:#25D366 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l1.9.9c.3.1.5.2.5.3.1.1.1.6-.1 1.2z'/></svg>") center/22px no-repeat;flex:none}
html body:not(#_a):not(#_b):not(#_c) .ocw-x{margin-left:auto!important;width:34px!important;height:34px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;font-size:20px!important;cursor:pointer!important}
.ocw-b{padding:16px 18px;overflow:auto}
.ocw-d{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#F4F8F9;color:#37565A;font-size:13px;white-space:pre-line}
.ocw-b label{display:block;margin:0 0 6px;font-size:12.5px;font-weight:700;color:#37565A}
.ocw-b textarea{width:100%;box-sizing:border-box;min-height:150px;padding:11px 12px;border:1.5px solid #D5E3E5;border-radius:11px;font:14px/1.5 Inter,system-ui,sans-serif;color:#0F2230;resize:vertical;background:#F7FFF9}
.ocw-b textarea:focus{outline:none;border-color:#14B8AA;box-shadow:0 0 0 3px rgba(20,184,170,.16)}
.ocw-e{margin:10px 0 0;color:#B4313F;font-size:13px;font-weight:600}
.ocw-f{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px 16px;border-top:1px solid #EEF2F5}
html body:not(#_a):not(#_b):not(#_c) .ocw-f button{height:42px!important;padding:0 18px!important;border-radius:11px!important;font-weight:800!important;font-size:14px!important;cursor:pointer!important}
html body:not(#_a):not(#_b):not(#_c) .ocw-f .ocw-cancel{border:1.5px solid #BFE3DF!important;background:#fff!important;color:#0B6E73!important}
html body:not(#_a):not(#_b):not(#_c) .ocw-f .ocw-ok{border:0!important;background:linear-gradient(135deg,#25D366,#128C7E)!important;color:#fff!important;box-shadow:0 10px 22px -12px rgba(18,140,126,.9)!important}

/* V130.9: janela do pós-atendimento com botões e escolhas do sistema */
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-pop-x{margin-left:auto!important;width:36px!important;height:36px!important;padding:0!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;font-size:20px!important;box-shadow:none!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-b{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:42px!important;min-height:42px!important;padding:0 18px!important;border-radius:11px!important;border:1.5px solid #BFE3DF!important;background:#fff!important;color:#0B6E73!important;font-weight:800!important;font-size:14px!important;box-shadow:none!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-b.pri{border:0!important;background:linear-gradient(135deg,#14B8AA,#0B8A85)!important;color:#fff!important;box-shadow:0 10px 22px -12px rgba(11,138,133,.9)!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-b.pri.pa-pop-wa{width:100%!important;background:linear-gradient(135deg,#25D366,#128C7E)!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-b.ghost{border-color:#E1E9EE!important;color:#5E777B!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-ch{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-ch label{position:relative!important;margin:0!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-ch input{position:absolute!important;opacity:0!important;pointer-events:none!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-ch span{display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:0 14px!important;border:1.5px solid #D5E3E5!important;border-radius:99px!important;background:#fff!important;color:#173F48!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-ch input:checked+span{background:#0B7F86!important;border-color:#0B7F86!important;color:#fff!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-estrelas button{width:46px!important;height:46px!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:40px!important;line-height:1!important;color:#D3DEE0!important;cursor:pointer!important}
html body:not(#_a):not(#_b):not(#_c) .pa-pop .pa-estrelas button.on{color:#F5B301!important}
/* V130.9: celular deitado: barras mais finas para sobrar tela */
@media (pointer:coarse) and (max-height:500px){
html body .oca-bar{height:44px!important;min-height:44px!important;padding-top:0!important;padding-bottom:0!important}
html body .oca-tabs{height:46px!important;min-height:46px!important;padding-bottom:0!important}
html body .oca-tabs .oca-tab{height:46px!important;flex-direction:row!important;gap:6px!important;font-size:12px!important}
html body .oc-demo-strip{height:16px!important;line-height:16px!important;font-size:10px!important;padding:0 8px!important}
html body #oc-main .v130-hero{min-height:0!important}
}
@media (pointer:coarse) and (max-height:500px){html body .oc-demo-strip{top:calc(44px + env(safe-area-inset-top))!important}}
/* V130.11: Sair no celular com área de toque maior e resposta imediata ao toque */
@media (max-width:900px), (pointer:coarse){html body:not(#_a):not(#_b) .side .nav-item.nav-exit{min-height:50px!important;touch-action:manipulation;-webkit-tap-highlight-color:rgba(20,184,170,.25)}
 html body:not(#_a):not(#_b) .side .nav-item.nav-exit:active{background:rgba(20,184,170,.18)!important}
 html body .mobile-appbar .top-logout{min-height:44px;display:inline-flex;align-items:center;touch-action:manipulation}}
/* V131: agenda com cores fortes por situação — fácil de ver quem está na recepção, em atendimento ou cancelado */
html body:not(#_a):not(#_b):not(#_c) .ocd2 button.ocd2-ev.v124-appt{background:#fff!important;border:1px solid #DCE8E8!important;border-left:5px solid #14B8AA!important}
html body:not(#_a):not(#_b):not(#_c) .ocd2 button.ocd2-ev.v124-appt.confirmed{background:#EAEEFF!important;border-color:#C9D2F5!important;border-left-color:#4A5BB0!important}
html body:not(#_a):not(#_b):not(#_c) .ocd2 button.ocd2-ev.v124-appt.waiting{background:#FFF0D2!important;border-color:#F5D28E!important;border-left-color:#E39A12!important}
html body:not(#_a):not(#_b):not(#_c) .ocd2 button.ocd2-ev.v124-appt.incare{background:#EFE6FF!important;border-color:#D5C2FA!important;border-left-color:#7A4FD0!important;box-shadow:0 0 0 2px rgba(122,79,208,.18)!important}
html body:not(#_a):not(#_b):not(#_c) .ocd2 button.ocd2-ev.v124-appt.done{background:#E2F6EC!important;border-color:#BFE6D2!important;border-left-color:#1E9E6A!important}
html body:not(#_a):not(#_b):not(#_c) .ocd2 button.ocd2-ev.v124-appt.cancel{background:#FCEDEF!important;border-color:#F4C6CC!important;border-left-color:#D24A5A!important;opacity:.85}
html body .ocd2 button.ocd2-ev.cancel b{text-decoration:line-through;text-decoration-color:rgba(180,49,63,.6)}
html body .ocd2-ev .ocd2-st{position:absolute;right:5px;bottom:4px;font-style:normal;font-size:10px;font-weight:800;border-radius:99px;padding:1px 7px;background:#fff;color:#37565A;border:1px solid rgba(0,0,0,.08)}
html body .ocd2-ev.waiting .ocd2-st{background:#E39A12;color:#fff;border:0}
html body .ocd2-ev.incare .ocd2-st{background:#7A4FD0;color:#fff;border:0}
html body .ocd2-ev.done .ocd2-st{background:#1E9E6A;color:#fff;border:0}
html body .ocd2-ev.cancel .ocd2-st{background:#D24A5A;color:#fff;border:0}
html body .ocd2-ev.confirmed .ocd2-st{background:#4A5BB0;color:#fff;border:0}
html body .ocd2-ev.incare:before{content:"";position:absolute;right:7px;top:7px;width:8px;height:8px;border-radius:50%;background:#7A4FD0;animation:ocPulsa 1.4s ease-in-out infinite}
@keyframes ocPulsa{0%,100%{box-shadow:0 0 0 0 rgba(122,79,208,.5)}50%{box-shadow:0 0 0 6px rgba(122,79,208,0)}}
html body:not(#_a):not(#_b):not(#_c) .v124-individual-list .v124-appt.waiting{background:#FFF0D2!important;border-left:5px solid #E39A12!important}
html body:not(#_a):not(#_b):not(#_c) .v124-individual-list .v124-appt.incare{background:#EFE6FF!important;border-left:5px solid #7A4FD0!important}
html body:not(#_a):not(#_b):not(#_c) .v124-individual-list .v124-appt.cancel{background:#FCEDEF!important;border-left:5px solid #D24A5A!important;opacity:.85}
html body:not(#_a):not(#_b):not(#_c) .v124-individual-list .v124-appt.done{background:#E2F6EC!important;border-left:5px solid #1E9E6A!important}
html body:not(#_a):not(#_b):not(#_c) .v124-individual-list .v124-appt.confirmed{background:#EAEEFF!important;border-left:5px solid #4A5BB0!important}
/* V131: o menu do usuário (Sair) fica por cima dos botões da página */
html body #oc-main .top{position:relative;z-index:200!important}
html body #oc-main .top .oc-user .oc-mais-m{z-index:1000!important}

/* V131: Odi animado (Configurações > Estoque e Odi): poses por cima do Odi do canto */
@keyframes odi-pula{0%,100%{transform:translateY(0) scale(1)}25%{transform:translateY(-14%) scale(1.05) rotate(-4deg)}50%{transform:translateY(0) scale(.98)}75%{transform:translateY(-6%) rotate(3deg)}}
@keyframes odi-pensa{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(2.5deg) translateY(-2%)}}
@keyframes odi-entra{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
.oc-odi-pose{position:absolute;left:8%;top:-6%;width:84%;height:112%;object-fit:contain;object-position:50% 100%;display:none;pointer-events:none;transform-origin:50% 95%;filter:drop-shadow(0 12px 14px rgba(8,50,60,.18))}
.oc-odi.pose-on .oc-odi-pose{display:block;animation:odi-entra .25s ease-out}
.oc-odi.pose-on .oc-odi-rig{visibility:hidden}
.oc-odi.pose-festa .oc-odi-pose{animation:odi-entra .2s ease-out,odi-pula .8s ease-in-out .2s 3}
.oc-odi.pose-pensa .oc-odi-pose{animation:odi-entra .2s ease-out,odi-pensa 1.7s ease-in-out .2s infinite}
html.odi-parado .oc-odi-float,html.odi-parado .oc-odi-rig,html.odi-parado .oc-odi-arm,html.odi-parado .oc-odi-shadow,html.odi-parado .oc-odi-est,html.odi-parado .oc-odi-leg,html.odi-parado .oc-odi-pup,html.odi-parado .oc-odi-chk{animation:none!important}

/* V131: no Início os avisos ficavam escondidos atrás dos cartões; agora aparecem no canto, sobre a tela */
html body #oc-main.dashboard-main>.alert{position:fixed!important;top:84px;right:24px;z-index:1200;max-width:440px;margin:0!important;padding:12px 38px 12px 14px!important;border-radius:14px!important;box-shadow:0 18px 40px -16px rgba(6,40,45,.55)!important;cursor:pointer;animation:oc-aviso-entra .35s ease-out}
html body #oc-main.dashboard-main>.alert::after{content:"×";position:absolute;right:12px;top:8px;font-size:18px;opacity:.6}
html body #oc-main.dashboard-main>.alert+.alert{top:150px}html body #oc-main.dashboard-main>.alert+.alert+.alert{top:216px}
@keyframes oc-aviso-entra{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (max-width:900px){html body #oc-main.dashboard-main>.alert{left:12px;right:12px;top:70px;max-width:none}}

/* V131.1: cartões dos Alertas de validade no mesmo tamanho dos demais indicadores */
html body #oc-main a.ocv-c{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;min-height:96px!important;height:auto!important;padding:16px 18px!important;text-align:left!important}
html body #oc-main a.ocv-c .ic{width:44px!important;height:44px!important;margin:0!important;flex:none!important;position:static!important}
html body #oc-main a.ocv-c b{font-size:26px!important;line-height:1.1!important;margin:0!important}
html body #oc-main a.ocv-c strong{font-size:14px!important;line-height:1.3!important;margin:2px 0 0!important;font-weight:700!important}
html body #oc-main a.ocv-c small{font-size:12px!important}
html.v130 body #oc-main#oc-main .v130-kpis>.v130-kpi.v130-kpi.v130-kpi.ocv-c strong{font-size:14px!important;line-height:1.3!important;margin-top:2px!important;letter-spacing:0!important}
html.v130 body #oc-main#oc-main .v130-kpis>.v130-kpi.v130-kpi.v130-kpi.ocv-c{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;min-height:96px!important}

/* V131.2: botão "i" de explicação */
html body:not(#_a):not(#_b) .oc-info{display:inline-grid!important;place-items:center;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0 0 0 6px!important;border-radius:50%!important;border:1.5px solid currentColor!important;background:transparent!important;color:inherit!important;opacity:.7;font:700 11px/1 Georgia,serif!important;font-style:italic!important;cursor:pointer;vertical-align:middle;box-shadow:none!important}
html body:not(#_a):not(#_b) .oc-info:hover{opacity:1}
.oc-info-pop{position:absolute;z-index:100050;background:#0E2F3E;color:#fff;font:500 13px/1.5 Inter,sans-serif;padding:10px 13px;border-radius:12px;box-shadow:0 16px 34px -12px rgba(0,0,0,.45);text-transform:none;letter-spacing:0}

/* V131.2: tablet na vertical (até 850px) usa o layout de celular; antes ficava a margem do menu lateral escondido */
@media (max-width:850px){
 html body main#oc-main#oc-main{margin-left:0!important;width:100%!important;max-width:100%!important;padding:14px 14px 90px!important}
 html body #oc-main .vh,html body #oc-main .oc-ph{flex-wrap:wrap}
}
@media (min-width:601px) and (max-width:850px){
 html body #oc-main .v130-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.ocpx-cod{display:block;font-size:11.5px;color:#6B8387;font-weight:600}

/* V131.4: campo "Orçamento nº" compacto (agenda e prótese) */
html body #v124BookForm .oa-orc-row,html body .po-busca{display:flex!important;gap:8px!important;align-items:center;flex-wrap:nowrap;max-width:360px}
html body #v124BookForm .oa-orc-row>input,html body .po-busca>input{width:140px!important;flex:none!important;min-width:0}
html body:not(#_a):not(#_b) #v124BookForm .oa-orc-row>button,html body:not(#_a):not(#_b) .po-busca>button{width:auto!important;flex:none!important;height:40px!important;min-height:40px!important;padding:0 14px!important;font-size:13px!important;white-space:nowrap}
html body #v124BookForm>div:first-child>label{justify-content:flex-start!important}
/* V131.4: Paciente e Dentista na mesma linha no novo orçamento */
html body #bf>.vf:first-child{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
html body #bf>.vf:first-child>div>label{display:block;margin:0 0 6px!important;min-height:20px;line-height:20px}
html body #bf>.vf:first-child select,html body #bf>.vf:first-child input{height:44px!important;min-height:44px!important;width:100%!important;box-sizing:border-box;margin:0!important}
html body #bf>.vf:first-child .ocp-com-mais>button.ocp-mais{min-height:44px!important}
@media(max-width:640px){html body #bf>.vf:first-child{grid-template-columns:1fr!important}}
html body:not(#_a):not(#_b) .dt-ass-a .oc-b{height:38px!important;min-height:38px!important;padding:0 14px!important;display:inline-flex!important;align-items:center;border-radius:10px!important;font:700 13px Inter,sans-serif!important}

/* V131.5: filtros do Relatório de próteses alinhados (6 por linha, botões na mesma altura dos campos) */
html body .pm-filters.pm-filters{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px 14px!important;align-items:end!important}
html body .pm-filters .pm-field{margin:0!important;min-width:0}
html body .pm-filters .pm-field label{display:block;margin:0 0 6px!important;min-height:18px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .pm-filters .pm-field input,html body .pm-filters .pm-field select{height:42px!important;min-height:42px!important;width:100%!important;box-sizing:border-box;margin:0!important}
html body .pm-filters .pm-field:nth-child(7){grid-column:span 2}
html body .pm-filters .pm-actions{grid-column:span 4;display:flex!important;gap:8px!important;align-items:center;justify-content:flex-end;margin:0!important;flex-direction:row!important}
html body:not(#_a):not(#_b) .pm-filters .pm-actions .pm-btn{height:42px!important;min-height:42px!important;padding:0 18px!important;display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;width:auto!important;white-space:nowrap}
@media(max-width:1100px){html body .pm-filters.pm-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .pm-filters .pm-field:nth-child(7){grid-column:span 1}html body .pm-filters .pm-actions{grid-column:span 2}}
@media(max-width:620px){html body .pm-filters.pm-filters{grid-template-columns:1fr!important}html body .pm-filters .pm-actions{grid-column:auto;justify-content:stretch}}
/* V134 — fornecedores e laboratórios no mesmo padrão de dentistas e pacientes (avatar redondo cinza, letras escuras) */
html body #oc-main .ocl2-card .ocl2-av,html.v130 body #oc-main#oc-main .ocl2-card .ocl2-av{width:46px;height:46px;border-radius:50%!important;background:#E3EBED!important;color:#0B3B44!important;box-shadow:inset 0 0 0 1px #CFDCDF!important;font-size:15px;font-weight:700}
html body #oc-main .ocl2-card .ocl2-tp{background:#EEF3F4;color:#3D5257}
html body #oc-main .ocl2-card .ocl2-tp.SERVICO{background:#FFF0D4;color:#8A5A00}
