/* OdiHub V124.51 - Telas novas (Início) */
@media (min-width:701px) and (pointer:fine), (min-width:701px) and (min-height:501px){
 body:has(.ocd) main#oc-main{display:flex;flex-direction:column}
 body:has(.ocd) section.sr-dashboard{order:1;display:block!important;margin:0 0 14px}
 body:has(.ocd) section.sr-dashboard>*:not(.sr-hero-wrap){display:none!important}
 body:has(.ocd) .ocd{order:2}
 body:has(.ocd) .sr-hero-wrap{position:relative;border-radius:22px;overflow:hidden;box-shadow:0 8px 24px rgba(4,36,42,.12);max-height:240px;background:#E1F6F3}
 body:has(.ocd) .sr-hero-wrap .sr-hero{display:block;width:100%;height:clamp(150px,17vw,240px);object-fit:cover;border-radius:0}
 body:has(.ocd) .sr-hero-wrap .sr-banner-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px}
}
.ocd{display:block;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#0B2A2E}
.ocd *{box-sizing:border-box}
.ocd h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.01em}
.ocd p{margin:3px 0 0;font-size:13px;color:#5D767A}
.ocd-hero{position:relative;overflow:hidden;display:flex;gap:10px;border-radius:26px;background:linear-gradient(115deg,#04242A 0%,#073A40 55%,#0B6E73 100%);color:#fff;min-height:196px;margin-bottom:16px}
.ocd-hero-arc{position:absolute;left:-40px;bottom:-70px;width:760px;height:200px;border-radius:50%;border:46px solid rgba(168,235,221,.08);border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;transform:translateY(-6px)}
.ocd-metrics{position:relative;flex:0 0 min(620px,58%);padding:20px 28px;display:grid;grid-template-columns:1fr 1fr;gap:6px 30px;align-content:center}
.ocd-m{display:block;text-decoration:none;color:#fff;min-width:0;padding:4px 0}
.ocd-m .l{display:block;color:#9CC3C4;font-size:13px}
.ocd-m b{display:block;font-size:30px;line-height:1.1;font-weight:700;letter-spacing:-.03em;white-space:nowrap;margin-top:3px}
.ocd-chip{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:99px;font-size:11.5px;font-weight:600;font-style:normal;background:rgba(255,255,255,.1);color:#A8EBDD;margin-top:7px;white-space:nowrap;text-decoration:none}
.ocd-chip.warn{color:#FFB7AE}
.ocd-card .ocd-chip{background:#E1F6F3;color:#0B6E73;margin-top:0}.ocd-card .ocd-chip.warn{background:#FDECE9;color:#C4443A}.ocd-card .ocd-chip.d{background:#E0F4EA;color:#17795A}.ocd-card .ocd-chip.a{background:#FEF3DF;color:#A56A0A}.ocd-card .ocd-chip.n{background:#EEF3F3;color:#5D767A}
.ocd-herochart{position:relative;flex:1;min-width:0;padding:16px 24px 8px 0}
.ocd-herochart .t{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:15px}
.ocd-herochart .t span{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#9CC3C4}
.ocd-herochart .t i{width:10px;height:10px;border-radius:3px;display:inline-block;margin-left:8px}
.ocd-svg{display:block}
.ocd-row{display:flex;gap:16px;margin-bottom:16px;align-items:stretch}
.ocd-card{flex:1;min-width:0;background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:18px 20px;box-shadow:0 1px 2px rgba(16,42,67,.04),0 6px 16px rgba(16,42,67,.04)}
.ocd-card.ocd-wide{flex:1.7}
.ocd-ct{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}
.ocd-leg{display:flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
.ocd-leg i{width:10px;height:10px;border-radius:3px;display:inline-block;margin-left:10px}
.ocd-donut{display:flex;gap:18px;align-items:center;height:100%}
.ocd-donut .dl{flex:1;min-width:0}
.ocd-donut .lg{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-top:8px}
.ocd-donut .lg span{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ocd-donut .lg i,.ocd-pleg i{width:10px;height:10px;border-radius:3px;display:inline-block;flex:none}
.ocd-pipe{display:flex;gap:3px;margin-top:16px;height:46px}
.ocd-pipe a{display:grid;place-items:center;font-weight:700;font-size:15px;text-decoration:none;min-width:30px}
.ocd-pipe a:first-child{border-radius:14px 0 0 14px}.ocd-pipe a:last-child{border-radius:0 14px 14px 0}.ocd-pipe a:only-child{border-radius:14px}
.ocd-pleg{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px;font-size:12.5px;color:#5D767A}
.ocd-pleg span{display:flex;align-items:center;gap:6px}.ocd-pleg b{color:#0B2A2E}
.ocd-al{display:flex;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #ECF2F2;text-decoration:none;color:inherit}
.ocd-al:last-child{border-bottom:0}
.ocd-al b{display:block;font-size:14px}.ocd-al small{display:block;color:#5D767A;font-size:12.5px;margin-top:2px}
.ocd-al .ic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none}
.ocd-al .ic.g{background:#FDECE9;color:#C4443A}.ocd-al .ic.a{background:#FEF3DF;color:#A56A0A}.ocd-al .ic.t{background:#E1F6F3;color:#0B6E73}
.ocd-empty{padding:18px 4px}.ocd-empty b{display:block;font-size:15px}.ocd-empty small{color:#5D767A;font-size:13px}
.ocd-ag{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #ECF2F2}
.ocd-ag:last-child{border-bottom:0}
.ocd-ag>b{width:42px;font-size:13px;flex:none}
.ocd-ag>div{flex:1;min-width:0}.ocd-ag>div b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ocd-ag small{display:block;color:#5D767A;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ocd-more{font-size:13px;font-weight:600;color:#0B6E73;text-decoration:none}
@media(max-width:1180px){.ocd-hero{flex-direction:column}.ocd-metrics{flex:none;width:100%}.ocd-herochart{padding:0 24px 12px}.ocd-row{flex-wrap:wrap}.ocd-card{flex:1 1 320px}}

html body .ocd a.ocd-m,html body .ocd a.ocd-m .l{color:#9CC3C4!important;text-decoration:none!important}
html body .ocd a.ocd-m b{color:#fff!important}
html body .ocd a.ocd-al,html body .ocd a.ocd-al b{color:#0B2A2E!important;text-decoration:none!important}
html body .ocd a.ocd-al small{color:#5D767A!important}
html body .ocd a.ocd-chip{text-decoration:none!important}
html body .ocd .ocd-herochart .t b{color:#fff!important}
html body .ocd .ocd-herochart .t span{white-space:nowrap}
html body .ocd h3{color:#0B2A2E!important}

/* Agenda: grade semanal */
.ocg{background:#fff;border:1px solid #DCE8E8;border-radius:22px;overflow:hidden;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#0B2A2E;margin-bottom:14px}
.ocg-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #E4EEEE;flex-wrap:wrap}
.ocg-nav{display:flex;align-items:center;gap:8px}
.ocg-nav a{display:grid;place-items:center;min-width:34px;height:34px;padding:0 12px;border-radius:10px;border:1px solid #DCE8E8;background:#fff;text-decoration:none;font-weight:600}
html body .ocg-nav a,html body .ocg-tabs a,html body .ocg-legend a{color:#0B6E73!important;text-decoration:none!important}
.ocg-nav b{margin-left:8px;font-size:16px;letter-spacing:-.01em}
.ocg-tabs{display:flex;gap:4px;background:#EEF4F4;border-radius:12px;padding:3px}
.ocg-tabs .on,.ocg-tabs a{padding:7px 14px;border-radius:9px;font-weight:600;font-size:13.5px}
.ocg-tabs .on{background:#04242A;color:#fff}
.ocg-legend{display:flex;gap:16px;align-items:center;padding:10px 18px;border-bottom:1px solid #EEF4F4;flex-wrap:wrap;font-size:13px}
.ocg-legend a{display:flex;align-items:center;gap:7px;font-weight:600}
.ocg-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.ocg-total{margin-left:auto;color:#5D767A}
.ocg-grid{display:grid;grid-template-columns:58px repeat(var(--ocg-days),minmax(0,1fr));overflow:auto;max-height:640px}
.ocg-corner{height:46px;position:sticky;top:0;background:#fff;z-index:3}
.ocg-hour{font-size:12px;color:#8AA2A5;text-align:right;padding:3px 10px 0 0;box-sizing:border-box}
.ocg-hours{padding-top:0}
.ocg-col{border-left:1px solid #EAF1F1;min-width:110px}
.ocg-dh{height:46px;display:grid;place-items:center;border-bottom:1px solid #E4EEEE;position:sticky;top:0;background:#fff;z-index:3;font-weight:700;font-size:14px}
html body .ocg-dh a{color:#0B2A2E!important;text-decoration:none!important}
.ocg-col.today .ocg-dh a{color:#0B6E73!important;box-shadow:inset 0 -3px 0 #14B8AA}
.ocg-body{position:relative;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--ocg-hp) - 1px),#F0F5F5 calc(var(--ocg-hp) - 1px),#F0F5F5 var(--ocg-hp))}
.ocg-ev{position:absolute;box-sizing:border-box;border-radius:10px;padding:5px 8px;overflow:hidden;line-height:1.25;text-decoration:none}
html body .ocg-ev b,html body .ocg-ev span{color:inherit!important;display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ocg-ev span{font-size:11.5px;opacity:.85}
.ocg-ev:hover{filter:brightness(.97);box-shadow:0 4px 12px rgba(16,42,67,.15)}
.ocg-now{position:absolute;left:0;right:0;height:2px;background:#F26B5E;z-index:2}
.ocg-now:before{content:"";position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:#F26B5E}
.ocg-empty{padding:26px;text-align:center;color:#5D767A}.ocg-empty b{display:block;color:#0B2A2E;font-size:15px}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.ocg-grid{max-height:520px}.ocg-col{min-width:120px}}

/* Proteses: quadro por etapa */
.ocq-head{display:flex!important;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.ocq-tabs{display:flex;gap:4px;background:#E7EFEF;border-radius:12px;padding:3px}
.ocq-tabs a{padding:8px 16px;border-radius:9px;font-weight:600;font-size:13.5px;text-decoration:none}
html body .ocq-tabs a{color:#5D767A!important}html body .ocq-tabs a.on{background:#04242A;color:#fff!important}
.ocq{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px;align-items:start;margin-top:14px;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocq-col{background:#E7EFEF;border-radius:20px;padding:12px 10px 4px;min-width:0}
.ocq-ch{display:flex;justify-content:space-between;align-items:center;padding:2px 6px 10px;font-weight:700;font-size:13.5px;color:#0B2A2E}
.ocq-ch span{display:flex;align-items:center;gap:8px}.ocq-ch i{width:10px;height:10px;border-radius:50%;display:inline-block}.ocq-ch b{color:#5D767A}
.ocq-card{background:#fff;border:1px solid #DCE8E8;border-radius:16px;padding:12px 13px;margin-bottom:10px}
.ocq-card.overdue{border-color:#F6C9C4;box-shadow:0 6px 16px rgba(242,107,94,.10)}
.ocq-t{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.ocq-t b{font-size:14px;line-height:1.25;color:#0B2A2E;word-break:break-word}
.ocq-av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:700;flex:none}
.ocq-p{color:#5D767A;font-size:12.5px;margin:3px 0 9px}
.ocq-steps{display:flex;gap:4px;margin-bottom:9px}.ocq-steps i{flex:1;height:5px;border-radius:3px;background:#E1EBEB}.ocq-steps i.on{background:#14B8AA}
.ocq-f{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12px;color:#5D767A}
.ocq-f span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ocq-chip{padding:2px 9px;border-radius:99px;background:#EEF3F3;color:#5D767A;font-weight:600;white-space:nowrap;font-size:11.5px}
.ocq-chip.overdue{background:#FDECE9;color:#C4443A}.ocq-chip.soon{background:#FEF3DF;color:#A56A0A}.ocq-chip.ok,.ocq-chip.done{background:#E1F6F3;color:#0B6E73}.ocq-chip.refacao{background:#FEF3DF;color:#A56A0A}.ocq-chip.clinic{background:#E1F6F3;color:#0B6E73}
.ocq-a{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-top:10px;padding-top:9px;border-top:1px solid #EEF4F4;font-size:12px}
.ocq-a span{color:#8AA2A5;font-weight:600}
html body .ocq-a a{color:#0B6E73!important;font-weight:600;text-decoration:none!important}
.ocq-empty{padding:16px 6px;text-align:center;color:#8AA2A5;font-size:13px}
.ocq-hint{color:#5D767A;font-size:13px;margin:6px 2px 18px}

/* Novo trabalho de protese */
.ocn{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocn-sec{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #E9F0F0}
.ocn-sec h4{margin:0 0 12px;font-size:15px;font-weight:700;color:#0B2A2E!important;letter-spacing:-.01em}
.ocn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ocn-grid .ocn-w2{grid-column:span 2}
.ocn-note{margin:10px 0 0;color:#5D767A;font-size:12.5px}
.ocn-actions{display:flex;justify-content:flex-end}
.ocn-side{position:sticky;top:12px;display:grid;gap:14px}
.ocn-sum{background:linear-gradient(150deg,#04242A,#0A4549);color:#fff;border-radius:20px;padding:18px 20px}
.ocn-sum h4{margin:0 0 10px;color:#fff!important;font-size:15px}
.ocn-sum dl{margin:0;display:grid;gap:10px}.ocn-sum dt{font-size:12px;color:#9CC3C4}.ocn-sum dd{margin:2px 0 0;font-size:14.5px;font-weight:600;word-break:break-word}
.ocn-tip{background:#E1F6F3;border-radius:16px;padding:14px 16px;font-size:13px;color:#0B2A2E}.ocn-tip b{color:#0B6E73}.ocn-tip p{margin:4px 0 0;color:#355a5e}
@media(max-width:1100px){.ocn{grid-template-columns:1fr}.ocn-side{position:static}.ocn-grid{grid-template-columns:1fr 1fr}}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.ocn-grid{grid-template-columns:1fr}.ocn-grid .ocn-w2{grid-column:auto}}
html body .ps-kpis{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:10px!important}

/* Odontograma: boca em 3D */
.m3d{margin:10px 0 6px}
.m3d-stage{position:relative;width:100%;max-width:860px;margin:0 auto;min-width:520px;border-radius:26px;background:radial-gradient(ellipse at 50% 40%,#FFFFFF 0%,#EAF3F3 70%);padding:0;overflow:hidden;box-shadow:inset 0 0 0 1px #DCE8E8}
.m3d-bg{position:absolute;left:0;top:0;pointer-events:none}
html body .m3d .v124-tooth.m3d-t{position:absolute;display:block;padding:0;margin:0;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;cursor:pointer;transform-style:preserve-3d;min-height:0!important;height:auto;overflow:visible}
.m3d-t:hover,.m3d-t:focus-visible{z-index:5;outline:none}
.m3d-crown{position:absolute;inset:0;border-radius:42% 42% 46% 46% / 22% 22% 78% 78%;background:linear-gradient(158deg,#ffffff 0%,#fbf8f2 38%,#ece6da 78%,#d8d0c3 100%);box-shadow:inset -4px -6px 9px rgba(140,115,80,.30),inset 4px 5px 7px rgba(255,255,255,.95),0 5px 7px rgba(0,0,0,.38);transition:transform .16s ease,box-shadow .16s ease,filter .16s}
.m3d-t[data-arch="lower"] .m3d-crown{border-radius:46% 46% 42% 42% / 78% 78% 22% 22%;background:linear-gradient(338deg,#ffffff 0%,#fbf8f2 38%,#ece6da 78%,#d8d0c3 100%);box-shadow:inset -4px 6px 9px rgba(140,115,80,.28),inset 4px -5px 7px rgba(255,255,255,.95),0 -4px 7px rgba(0,0,0,.35)}
.m3d-crown:after{content:"";position:absolute;left:18%;top:10%;width:34%;height:30%;border-radius:50%;background:radial-gradient(ellipse at 40% 40%,rgba(255,255,255,.95),rgba(255,255,255,0) 70%)}
.m3d-t[data-arch="lower"] .m3d-crown:after{top:auto;bottom:10%}
.m3d-t:hover .m3d-crown{filter:brightness(1.04) drop-shadow(0 0 8px rgba(20,184,170,.65));transform:translateY(-4px) scale(1.06)}
.m3d-t[data-arch="lower"]:hover .m3d-crown{transform:translateY(4px) scale(1.06)}
html body .m3d .v124-tooth.m3d-t.sel .m3d-crown{box-shadow:inset -4px -6px 9px rgba(11,110,115,.25),inset 4px 5px 7px rgba(255,255,255,.95),0 0 0 3px #14B8AA,0 0 22px 4px rgba(20,184,170,.85);background:linear-gradient(158deg,#ffffff 0%,#E3FAF6 45%,#B9ECE3 100%);transform:translateY(-6px) scale(1.1)}
html body .m3d .v124-tooth.m3d-t[data-arch="lower"].sel .m3d-crown{transform:translateY(6px) scale(1.1)}
html body .m3d .v124-tooth.m3d-t.has .m3d-crown{background:linear-gradient(158deg,#ffffff 0%,#D9F6F1 45%,#9EE3D8 100%)}
.m3d-t.has:before{content:"✓";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:18px;height:18px;border-radius:50%;background:#0B6E73;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;box-shadow:0 2px 5px rgba(0,0,0,.4)}
.m3d-t .tooth-number{position:absolute;left:50%;transform:translateX(-50%);font-size:11px;font-weight:700;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7);opacity:.9;pointer-events:none}
.m3d-t[data-arch="upper"] .tooth-number{top:-17px}.m3d-t[data-arch="lower"] .tooth-number{bottom:-17px}
.m3d-t.sel .tooth-number,.m3d-t:hover .tooth-number{color:#A8EBDD;opacity:1}
.m3d-legend{display:flex;gap:18px;align-items:center;margin:10px 4px 0;font-size:12.5px;color:#5D767A;flex-wrap:wrap}
.m3d-legend i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px;vertical-align:-1px}
.m3d-legend i.sel{background:#14B8AA;box-shadow:0 0 0 3px rgba(20,184,170,.3)}.m3d-legend i.has{background:#9EE3D8;border:2px solid #0B6E73}
.m3d-hint{margin-left:auto}
.m3d:not(.on) .m3d-stage{min-height:320px}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.m3d{overflow-x:auto}.m3d-stage{min-width:560px}}

/* Alertas de validade */
.ocv{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#0B2A2E}
.ocv-sem{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:14px}
.ocv-c{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:16px 18px;text-decoration:none}
.ocv-c .ic{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;flex:none}
.ocv-c b{display:block;font-size:30px;line-height:1;letter-spacing:-.03em}.ocv-c strong{display:block;font-size:14px;margin-top:4px}.ocv-c small{color:#5D767A;font-size:12.5px}
.ocv-c.red .ic,.ocv-c.red b{background:#FDECE9;color:#C4443A}.ocv-c.red b{background:none}.ocv-c.amb .ic{background:#FEF3DF;color:#A56A0A}.ocv-c.amb b{color:#A56A0A}.ocv-c.grn .ic{background:#E0F4EA;color:#17795A}.ocv-c.grn b{color:#17795A}
.ocv-c.on{box-shadow:0 0 0 3px rgba(20,184,170,.3);border-color:#14B8AA}
html body .ocv a.ocv-c,html body .ocv a.ocv-c strong{color:#0B2A2E!important}
.ocv-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ocv-chips{display:flex;gap:8px;flex-wrap:wrap}
.ocv-chips a{height:34px;display:inline-flex;align-items:center;padding:0 15px;border-radius:99px;background:#E7EFEF;font-size:13px;font-weight:600;text-decoration:none}
html body .ocv .ocv-chips a{color:#5D767A!important}html body .ocv .ocv-chips a.on{background:#04242A;color:#fff!important}
html body .ocv .ocv-pdf a{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:11px;border:1px solid #BFE3DF;background:#fff;color:#0B6E73!important;font-weight:600;text-decoration:none}
.ocv-note{color:#5D767A;font-size:12.5px;margin:10px 2px}
.ocv-table{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:6px 10px;overflow-x:auto}
.ocv-table table{width:100%;border-collapse:collapse;min-width:640px}
.ocv-table th{text-align:left;font-size:12px;color:#5D767A;font-weight:700;padding:12px 10px 8px;border-bottom:1px solid #E4EEEE}
.ocv-table td{padding:11px 10px;border-bottom:1px solid #EEF4F4;font-size:13.5px}
.ocv-table td b{display:block}.ocv-table td small{color:#8AA2A5;font-size:12px}
.ocv-chip{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700;white-space:nowrap}
.ocv-chip.red{background:#FDECE9;color:#C4443A}.ocv-chip.amb{background:#FEF3DF;color:#A56A0A}.ocv-chip.grn{background:#E0F4EA;color:#17795A}
.ocv-empty{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:34px;text-align:center}.ocv-empty b{display:block;font-size:17px}.ocv-empty span{color:#5D767A}

/* Odontograma: arcadas + painel do dente + plano */
.oco{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.15fr);gap:16px;align-items:start;margin-top:8px;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.oco-arch,.oco-detail,.oco-plan{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:14px 16px;min-width:0}
.oco-detail h4{margin:0 0 10px;font-size:15px;color:#0B2A2E!important}
.oco-tot{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(150deg,#04242A,#0A4549);color:#fff;border-radius:16px;padding:12px 16px;margin-bottom:12px}
.oco-tot span{font-size:12.5px;color:#9CC3C4;display:block}.oco-tot b{font-size:24px;letter-spacing:-.03em;color:#fff}
.oco-cnt{background:rgba(255,255,255,.12);padding:4px 12px;border-radius:99px;font-weight:600;color:#A8EBDD!important}
.oco-plan .vw{margin-top:0!important;overflow-x:auto}.oco-plan table{min-width:360px}
.oco .v124-selected-tooth{background:#E1F6F3;border:0;border-radius:14px;padding:12px 14px;color:#0B2A2E;font-size:14px;margin-bottom:10px}
.oco .v124-face-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:7px!important}
html body .oco .vface{height:auto!important;min-height:50px!important;padding:6px 2px!important;border-radius:12px!important;font-size:12px!important;white-space:normal!important;line-height:1.15!important;background:#fff!important;color:#0B2A2E!important;border:1.5px solid #DCE8E8!important;font-weight:600!important}
html body .oco .vface.sel{background:#FEF3DF!important;border-color:#F2A93B!important;color:#7A4C05!important}
.oco .v124-budget-controls{display:grid!important;grid-template-columns:1fr 130px;gap:10px;align-items:end}
.oco .v124-budget-controls .vb{grid-column:1/-1}
.m3a{font-family:Inter,"Segoe UI",system-ui,sans-serif}
.m3a-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}
.m3a-tabs{display:flex;background:#EEF4F4;border-radius:12px;padding:3px}.m3a-tabs span{padding:7px 15px;border-radius:9px;font-weight:600;font-size:13px}.m3a-tabs .on{background:#04242A;color:#fff}
.m3a-hint{color:#8AA2A5;font-size:12px}
.m3a-lab{font-weight:700;font-size:12.5px;color:#5D767A;margin:6px 2px 0}
.m3a-svg{display:block;width:100%;height:auto}
.m3a-t{cursor:pointer;outline:none}
.m3a-t .sh{fill:rgba(80,40,40,.25)}.m3a-t .cr{fill:url(#en);stroke:#C9BFAE;stroke-width:1;transition:stroke .15s,fill .15s}
.m3a-t .gv{fill:none;stroke:#CFC5B3;stroke-width:1.2}.m3a-t .mk{fill:#0B6E73;opacity:0}
.m3a-t .nm{font-size:11px;font-weight:600;fill:#8AA2A5;pointer-events:none}
.m3a-t:hover .cr,.m3a-t:focus-visible .cr{stroke:#14B8AA;stroke-width:2.2}
.m3a-t.sel .cr{stroke:#14B8AA;stroke-width:3.2;fill:#E3FAF6}.m3a-t.sel .nm{fill:#0B6E73;font-weight:700}
.m3a-t.has .cr{fill:#B9ECE3}.m3a-t.has .mk{opacity:1}
.m3a-legend{display:flex;gap:16px;font-size:12px;color:#5D767A;margin:6px 4px 0}.m3a-legend i{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:6px;vertical-align:-1px}
.m3a-legend i.sel{background:#fff;border:3px solid #14B8AA}.m3a-legend i.has{background:#B9ECE3;border:2px solid #0B6E73}
@media(max-width:1100px){.oco{grid-template-columns:1fr}.oco .v124-face-grid{grid-template-columns:repeat(4,1fr)!important}}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.oco-arch,.oco-detail,.oco-plan{padding:12px}.oco .v124-face-grid{grid-template-columns:repeat(3,1fr)!important}html body .oco .vface{min-height:56px!important;font-size:12.5px!important}.oco .v124-budget-controls{grid-template-columns:1fr}}

.m3a-t .hit{pointer-events:stroke}

.oco .v124-selected-tooth{display:block!important}
.oco-plan td,.oco-plan th{white-space:nowrap}.oco-plan table{min-width:430px}
.oco-plan th{font-size:11.5px!important;padding:8px 8px!important}.oco-plan td{padding:9px 8px!important;font-size:13px!important}

/* Central gerencial */
.ocg2{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#0B2A2E;display:grid;gap:14px}
.ocg2-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.ocg2-k{position:relative;background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:16px 18px 14px 22px;overflow:hidden}
.ocg2-k:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--c)}
.ocg2-k.t{--c:#14B8AA}.ocg2-k.i{--c:#7C8FD6}.ocg2-k.r{--c:#F26B5E;background:#FFF8F7}.ocg2-k.g{--c:#1E9E6A}
.ocg2-k span{display:block;color:#5D767A;font-size:13px}.ocg2-k b{display:block;font-size:28px;letter-spacing:-.03em;margin-top:4px}
.ocg2-k.t b{color:#0B6E73}.ocg2-k.i b{color:#4A5BB0}.ocg2-k.r b{color:#C4443A}.ocg2-k.g b{color:#17795A}.ocg2-k small{color:#5D767A;font-size:12.5px}
.ocg2-dec{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;background:linear-gradient(110deg,#FEF3DF,#FDECE9);border-radius:18px;padding:13px 18px;font-size:13.5px}
.ocg2-dec>b{font-size:14.5px}.ocg2-dec .r b{color:#C4443A}.ocg2-dec .a b{color:#A56A0A}.ocg2-dec .i b{color:#4A5BB0}
.ocg2-sec,.ocg2-card{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:16px 18px;min-width:0}
.ocg2-sec h3,.ocg2-card h3{margin:0;font-size:16px;color:#0B2A2E!important}.ocg2-sec p,.ocg2-card p{margin:3px 0 12px;color:#5D767A;font-size:13px}
.ocg2-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-bottom:10px}
.ocg2-g{display:flex;gap:14px;align-items:center;border:1px solid #E4EEEE;border-radius:16px;padding:12px 14px}
.ocg2-g strong{display:block;font-size:14.5px}.ocg2-g small{display:block;color:#5D767A;font-size:12.5px}.ocg2-g em{font-style:normal;font-weight:700;font-size:12.5px}
.ocg2-ring{width:70px;height:70px;border-radius:50%;background:conic-gradient(var(--c) calc(var(--p)*1%),#E8F0F0 0);display:grid;place-items:center;flex:none;position:relative}
.ocg2-ring:before{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}.ocg2-ring b{position:relative;font-size:15px}
.ocg2-empty{padding:12px}.ocg2-empty b{display:block}.ocg2-empty span{color:#5D767A}
.ocg2-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.ocg2-cols{display:flex;align-items:flex-end;gap:10px;height:170px;padding-top:8px}
.ocg2-cols>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px}
.ocg2-cols i{display:block;width:100%;max-width:38px;border-radius:9px 9px 3px 3px;min-height:4px}
.ocg2-cols b{font-size:12.5px}.ocg2-cols span{font-size:12px;color:#5D767A}
.ocg2-hb{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:13px}.ocg2-hb>span{width:110px;flex:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ocg2-hb>div{flex:1;height:13px;border-radius:8px;background:#E8F0F0}.ocg2-hb i{display:block;height:100%;border-radius:8px}.ocg2-hb b{width:44px;text-align:right}
.ocg2-none{color:#8AA2A5;font-size:13px}
.ocg2-tw{overflow-x:auto}.ocg2-tw table{width:100%;border-collapse:collapse;min-width:420px}.ocg2-tw th{text-align:left;font-size:12px;color:#5D767A;padding:8px 10px;border-bottom:1px solid #E4EEEE}.ocg2-tw td{padding:10px;border-bottom:1px solid #EEF4F4;font-size:13.5px}
.ocg2-sec .v124-goal-create{margin-top:6px}

/* Auditoria */
.oca{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#0B2A2E;display:grid;gap:14px}
.oca-sum{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.oca-k{background:#fff;border:1px solid #DCE8E8;border-radius:18px;padding:14px 18px}.oca-k span{display:block;color:#5D767A;font-size:13px}.oca-k b{display:block;font-size:27px;letter-spacing:-.03em;margin-top:3px}
.oca-k.t b{color:#0B6E73}.oca-k.r b{color:#C4443A}.oca-k.a b{color:#A56A0A}
.oca-filters{background:#fff;border:1px solid #DCE8E8;border-radius:18px;padding:14px 16px;display:grid;gap:10px}
.oca-chips{display:flex;gap:8px;flex-wrap:wrap}.oca-chips a{height:32px;display:inline-flex;align-items:center;padding:0 14px;border-radius:99px;background:#E7EFEF;font-size:13px;font-weight:600;text-decoration:none}
html body .oca .oca-chips a{color:#5D767A!important}html body .oca .oca-chips a.on{background:#04242A;color:#fff!important}
.oca-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.oca-row>*{flex:1 1 150px;min-width:0}.oca-row .btn{flex:0 0 auto}
.oca-tab{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:14px 16px}
.oca-th{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}.oca-th h3{margin:0;font-size:16px;color:#0B2A2E!important}.oca-th p{margin:2px 0 0;color:#5D767A;font-size:12.5px}
.oca-count{background:#E1F6F3;color:#0B6E73;padding:4px 12px;border-radius:99px;font-size:12.5px;font-weight:700}
.oca-tw{overflow:auto;max-height:64vh}.oca-tw table{width:100%;border-collapse:collapse;min-width:640px}
.oca-tw th{position:sticky;top:0;background:#fff;text-align:left;font-size:12px;color:#5D767A;padding:10px 10px;border-bottom:1px solid #E4EEEE}
.oca-tw td{padding:9px 10px;border-bottom:1px solid #EEF4F4;font-size:13.5px;vertical-align:middle}
.oca-when{color:#5D767A;white-space:nowrap}.oca-det{color:#355a5e;max-width:420px}.oca-tw small{color:#8AA2A5}
.oca-av{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#0B6E73;color:#fff;font-size:11px;font-weight:700;margin-right:8px;vertical-align:middle}
.oca-ev{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700;background:#EEF3F3;color:#5D767A;white-space:nowrap}
.oca-ev.r{background:#FDECE9;color:#C4443A}.oca-ev.a{background:#FEF3DF;color:#A56A0A}.oca-ev.g{background:#E0F4EA;color:#17795A}.oca-ev.t{background:#E1F6F3;color:#0B6E73}
.oca-none{text-align:center;color:#8AA2A5;padding:24px!important}
/* Relatorios */
.ocr-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #DCE8E8;border-radius:14px;height:44px;padding:0 14px;max-width:460px;margin-bottom:14px;color:#8AA2A5}
.ocr-search input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;flex:1;height:40px!important;min-height:0!important;padding:0!important;font-size:14px!important}
.ocr-sec{margin-bottom:18px}
.ocr-sec>summary{list-style:none;cursor:default;display:flex;align-items:baseline;gap:12px;padding:4px 2px 8px}.ocr-sec>summary::-webkit-details-marker{display:none}
.ocr-sec>summary span:first-child{font-size:19px;font-weight:700;color:#0B2A2E!important;letter-spacing:-.01em}.ocr-sec .oc-summary-hint{color:#5D767A;font-size:13px;font-weight:500}
.ocr-sec .oc-group-description{margin:0 2px 12px;color:#5D767A}
.ocr-sec .oc-report-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:14px!important}
.ocr-sec .oc-report-grid>.card{background:#fff;border:1px solid #DCE8E8!important;border-radius:20px!important;padding:16px 18px!important;display:flex;flex-direction:column;justify-content:space-between;gap:10px;transition:box-shadow .15s,border-color .15s}
.ocr-sec .oc-report-grid>.card:hover{border-color:#14B8AA!important;box-shadow:0 8px 22px rgba(20,184,170,.14)}
.ocr-sec .oc-report-grid>.card h3{font-size:15.5px;margin:0;color:#0B2A2E!important}.ocr-sec .oc-report-grid>.card p{margin:0;font-size:13px;line-height:1.4}

/* Usuarios e padrao geral de blocos recolhiveis */
html body main#oc-main .oc-collapsible>summary span:first-child{font-size:18px!important;font-weight:700!important;color:#0B2A2E!important;letter-spacing:-.01em}
html body main#oc-main .oc-collapsible>summary{padding:14px 18px!important}
html body main#oc-main .oc-collapsible>summary .oc-summary-hint{color:#5D767A!important;font-weight:500!important;font-size:13px!important}
.oc-user-list .oc-user-table{overflow-x:auto;padding:0 12px 12px}
.oc-user-table table{width:100%;border-collapse:collapse;min-width:640px}
.oc-user-table th{text-align:left;font-size:12px;color:#5D767A;padding:10px;border-bottom:1px solid #E4EEEE;background:#fff!important}
.oc-user-table td{padding:10px;border-bottom:1px solid #EEF4F4;vertical-align:middle}
.oc-user-table .avatar,.oc-noavatar{width:38px;height:38px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;background:#0B6E73;color:#fff;font-weight:700}
.oc-user-table .role-badge{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;background:#E1F6F3;color:#0B6E73;font-size:12px;font-weight:700}
.oc-user-table .pill{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700}.oc-user-table .pill.green{background:#E0F4EA;color:#17795A}.oc-user-table .pill.red{background:#FDECE9;color:#C4443A}
html body .oc-user-table a.edit{display:inline-flex;height:32px;align-items:center;padding:0 12px;border-radius:10px;border:1px solid #BFE3DF;background:#fff;color:#0B6E73!important;font-weight:600;font-size:13px;text-decoration:none}
/* tabelas gerais: nada de quebrar palavra no meio; rolagem horizontal em vez de espremer */
html body main#oc-main table th,html body main#oc-main table td{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
html body main#oc-main td.oc-nowrap{white-space:nowrap!important}
html body main#oc-main .table-wrap,html body main#oc-main .lr-table-wrap,html body main#oc-main .ps-table-wrap{overflow-x:auto;max-width:100%}
html body main#oc-main table.table{max-width:100%}
@media (max-width:900px), (pointer:coarse) and (max-height:500px){html body main#oc-main table.table,html body main#oc-main table.vt{display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}}

/* ===== V124.52: odontograma em fileiras + cruz de faces ===== */
.oco{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;grid-template-areas:"arch plan" "detail plan"}
.oco-arch{grid-area:arch}.oco-detail{grid-area:detail}.oco-plan{grid-area:plan}
.m3r{font-family:Inter,"Segoe UI",system-ui,sans-serif}
.m3r-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.m3r-top b{font-size:15.5px;color:#0B2A2E}
.m3r-legend{font-size:12px;color:#5D767A;display:flex;align-items:center;gap:6px}.m3r-legend i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-left:8px}
.m3r-legend i.sel{background:#fff;border:3px solid #14B8AA}.m3r-legend i.has{background:#D7F5F0;border:2px solid #0B6E73}
.m3r-side{display:flex;justify-content:space-between;font-size:11.5px;color:#8AA2A5;padding:0 6px}
.m3r-svg{display:block;width:100%;height:auto}
.m3r-mid{text-align:center;font-size:11.5px;color:#8AA2A5;border-top:1px dashed #CFDFDF;margin:0 6px;padding-top:2px}
.m3r-t{cursor:pointer;outline:none}
.m3r-t .cr{stroke:#B3C3C5;stroke-width:1.4;transition:fill .12s,stroke .12s}.m3r-t .rt{stroke:#D4BE98;stroke-width:1}
.m3r-t .mk{fill:#0B6E73;opacity:0}.m3r-t .nm{font-size:12.5px;font-weight:600;fill:#7F9A9D}
.m3r-t:hover .cr,.m3r-t:focus-visible .cr{stroke:#14B8AA;stroke-width:2.6;fill:#E9FBF8}.m3r-t:hover .nm{fill:#0B6E73}
.m3r-t.sel .cr{fill:#BDEFE7;stroke:#14B8AA;stroke-width:3.2}.m3r-t.sel .nm{fill:#0B6E73;font-weight:700;font-size:14px}
.m3r-t.has .cr{fill:#D7F5F0;stroke:#0B6E73}.m3r-t.has .mk{opacity:1}
.oco-mid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start;margin-top:8px}
.m3x{text-align:center}.m3x-cap{font-size:12.5px;color:#5D767A;margin-bottom:6px;font-weight:600}
.m3x svg{width:170px;height:170px;max-width:100%}
.m3x-z{cursor:pointer;outline:none}.m3x-z path{fill:#fff;stroke:#8FB0B3;stroke-width:2;transition:fill .12s}
.m3x-z text{font-size:11.5px;font-weight:700;fill:#5D767A;pointer-events:none}
.m3x-z:hover path,.m3x-z:focus-visible path{fill:#E1F6F3}.m3x-z.on path{fill:#14B8AA;stroke:#0B6E73}.m3x-z.on text{fill:#fff}
.m3x[data-off] svg{opacity:.55;pointer-events:none}.m3x-ph{font-size:13px;fill:#8AA2A5}
html body .m3x-whole{margin-top:8px;height:38px!important;min-height:38px!important;width:100%;border:1.5px solid #DCE8E8!important;background:#fff!important;border-radius:12px!important;font-weight:600;color:#0B2A2E!important;font-size:13.5px}
html body .m3x-whole.on{background:#14B8AA!important;color:#fff!important;border-color:#0B6E73!important}
.oco-quick label{display:block;font-size:12.5px;font-weight:600;color:#5D767A}
.oco-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 12px}
html body .oc-chip{height:34px!important;min-height:34px!important;padding:0 13px!important;border-radius:99px!important;border:1.5px solid #DCE8E8!important;background:#fff!important;font-size:13px!important;font-weight:600!important;color:#0B2A2E!important}
html body .oc-chip:hover{border-color:#14B8AA!important}html body .oc-chip.on{background:#04242A!important;color:#fff!important;border-color:#04242A!important}
.oco-ctl .v124-budget-controls{grid-template-columns:1fr 120px!important}
@media(max-width:1100px){.oco{grid-template-columns:1fr!important;grid-template-areas:"arch" "detail" "plan"!important}}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.oco-mid{grid-template-columns:1fr}.m3x svg{margin:0 auto;display:block}.m3r-side{display:none}}
/* ===== V124.52: agenda individual ===== */
.oci-nav{display:flex;align-items:center;gap:8px;margin:2px 0 12px}
html body .oci-nav a{display:grid;place-items:center;min-width:36px;height:36px;padding:0 12px;border-radius:11px;border:1px solid #DCE8E8;background:#fff;color:#0B6E73!important;font-weight:700;text-decoration:none}
.oci-nav b{margin-left:8px;font-size:16px}
.v124-individual-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
html body .v124-individual-list .v124-appt{display:grid!important;grid-template-columns:62px 5px minmax(0,1fr) auto;gap:14px;align-items:center;text-align:left;padding:12px 16px!important;border-radius:16px!important;background:#fff!important;border:1px solid #DCE8E8!important;color:#0B2A2E!important;min-height:64px;height:auto!important;cursor:pointer;font-weight:400}
html body .v124-individual-list .v124-appt:hover{border-color:#14B8AA!important;box-shadow:0 6px 18px rgba(20,184,170,.14)}
.oci-time b{display:block;font-size:16px;letter-spacing:-.01em}.oci-time small{color:#8AA2A5;font-size:12px}
.oci-bar{align-self:stretch;border-radius:4px;background:#14B8AA}
.oci-main strong{display:block;font-size:15px;color:#0B2A2E}.oci-main span{color:#5D767A;font-size:13px}
.oci-st{display:inline-flex;height:26px;align-items:center;padding:0 12px;border-radius:99px;background:#E1F6F3;color:#0B6E73;font-size:12px;font-weight:700;white-space:nowrap}
.v124-appt.done .oci-bar{background:#1E9E6A}.v124-appt.done .oci-st{background:#E0F4EA;color:#17795A}
.v124-appt.cancel .oci-bar{background:#F26B5E}.v124-appt.cancel .oci-st{background:#FDECE9;color:#C4443A}.v124-appt.cancel .oci-main strong{text-decoration:line-through;color:#8AA2A5}
.v124-appt.confirmed .oci-bar{background:#4A5BB0}.v124-appt.confirmed .oci-st{background:#E4E8F8;color:#4A5BB0}
.v124-appt.waiting .oci-bar{background:#F2A93B}.v124-appt.waiting .oci-st{background:#FEF3DF;color:#A56A0A}
.v124-appt.incare .oci-bar{background:#7A5AB0}.v124-appt.incare .oci-st{background:#EDE5F8;color:#7A5AB0}
.v124-appt.scheduled .oci-st{background:#EEF3F3;color:#5D767A}.v124-appt.scheduled .oci-bar{background:#B8CCCE}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){html body .v124-individual-list .v124-appt{grid-template-columns:54px 4px minmax(0,1fr);}.oci-st{grid-column:3;justify-self:start}}
/* plano do orcamento: sem rolagem lateral no desktop */
.oco-plan td,.oco-plan th{white-space:normal!important}
.oco-plan table{min-width:0!important;width:100%;table-layout:auto}
.oco-plan td:last-child .vb{height:30px!important;min-height:30px!important;padding:0 10px!important;font-size:12px!important}

.m3x-z text{font-size:20px!important}
.m3x-leg{margin-top:8px;font-size:11.5px;color:#5D767A;line-height:1.35}

.m3r-swipe{display:none;font-size:11.5px;color:#8AA2A5;margin:0 0 4px}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.m3r-swipe{display:block}.m3r-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}.m3r-scroll>*{min-width:720px}.m3r-side{display:flex!important}}

/* Usuarios: tabela compacta e acoes na mesma linha */
html body main#oc-main .oc-user-table table{min-width:0!important;width:100%;table-layout:auto}
html body main#oc-main .oc-user-table th,html body main#oc-main .oc-user-table td{padding:8px 10px!important}
.oc-user-table .avatar,.oc-user-table .oc-noavatar{width:34px!important;height:34px!important}
.oc-act{text-align:right;white-space:nowrap;width:1%}
.oc-act-row{display:inline-flex;gap:6px;align-items:center;justify-content:flex-end}
.oc-act-row form{display:inline;margin:0}
html body .oc-act-row .btn,html body .oc-act-row a.edit{height:30px!important;min-height:30px!important;padding:0 12px!important;font-size:12.5px!important;border-radius:9px!important;line-height:1;display:inline-flex;align-items:center}
html body .oc-act-row .btn.danger{background:#fff!important;color:#C4443A!important;border:1px solid #F3C5C0!important;box-shadow:none!important}
html body .oc-act-row .btn.danger:hover{background:#FDECE9!important}
html body main#oc-main .oc-user-list>summary{padding:10px 16px!important}

/* ===== V124.54: blocos recolhiveis mais compactos em todo o sistema ===== */
html body main#oc-main .oc-collapsible{border-top:1px solid #DCE8E8!important;border-radius:16px!important;margin-bottom:10px!important}
html body main#oc-main .oc-collapsible>summary{min-height:50px!important;padding:12px 18px!important;font-size:16px!important}
html body main#oc-main .oc-collapsible>summary span:first-child{font-size:16px!important}
html body main#oc-main .oc-collapsible>summary:after{font-size:20px!important}
/* categorias */
.occ{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:start;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.occ-new,.occ-list{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:18px 20px}
.occ h3{margin:0;font-size:16px;color:#0B2A2E!important}.occ p{margin:3px 0 0;color:#5D767A;font-size:13px}
.occ-new form{display:grid;gap:8px;margin-top:14px}.occ-new label{font-size:13px;font-weight:600}
.occ-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.occ-head input{max-width:240px;height:38px!important;min-height:38px!important}
.occ-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.occ-item{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #E4EEEE;border-radius:14px;padding:10px 14px;background:#FAFDFD}
.occ-item b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.occ-item span{flex:none;background:#E1F6F3;color:#0B6E73;font-size:12px;font-weight:700;padding:3px 10px;border-radius:99px}
.occ-empty{color:#8AA2A5;padding:18px}
@media (max-width:900px), (pointer:coarse) and (max-height:500px){.occ{grid-template-columns:1fr}}

/* ===== V124.54: agenda do dia com uma coluna por dentista + popup de encaixe ===== */
.ocd2-hint{color:#5D767A;font-size:12.5px}
.ocd2-scroll{overflow:auto;max-height:68vh}
.ocd2-grid{display:grid;grid-template-columns:56px repeat(var(--n),minmax(200px,1fr));min-width:min-content}
.ocd2-corner{height:58px;position:sticky;top:0;background:#fff;z-index:4}
.ocd2-col{border-left:1px solid #EAF1F1;min-width:200px}
.ocd2-head{height:58px;position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #E4EEEE;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 10px;border-top:4px solid var(--dc)}
.ocd2-head a{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none}
html body .ocd2-head a,html body .ocd2-head a b{color:#0B2A2E!important}
.ocd2-head img,.ocd2-av{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;background:var(--db);color:var(--dc);display:grid;place-items:center;font-weight:700;font-size:13px}
.ocd2-nm{display:grid;min-width:0}.ocd2-nm b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ocd2-nm small{font-size:11.5px;color:#5D767A}
.ocd2-head em{font-style:normal;background:var(--db);color:var(--dc);border-radius:99px;font-size:12px;font-weight:700;padding:2px 9px}
.ocd2-col.off .ocd2-head{opacity:.6;border-top-color:#B8CCCE}
.ocd2-body{position:relative;cursor:cell;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--hp)/2 - 1px),#F4F8F8 calc(var(--hp)/2 - 1px),#F4F8F8 calc(var(--hp)/2),transparent calc(var(--hp)/2),transparent calc(var(--hp) - 1px),#E7EFEF calc(var(--hp) - 1px),#E7EFEF var(--hp))}
.ocd2-body:hover{background-color:#FBFEFE}
.ocd2-col.off .ocd2-body{cursor:not-allowed;background-color:#F3F6F6;background-image:repeating-linear-gradient(135deg,#EDF2F2 0,#EDF2F2 6px,#F6F9F9 6px,#F6F9F9 12px)}
html body .ocd2-ev{position:absolute;box-sizing:border-box;border-radius:10px;padding:5px 8px;overflow:hidden;line-height:1.25;text-align:left;cursor:pointer;border:0!important;border-left:4px solid var(--dc)!important;background:#E1F6F3!important;color:#0B2A2E!important;height:auto;min-height:0}
html body .ocd2-ev b,html body .ocd2-ev span{display:block;font-size:12.5px;color:inherit!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .ocd2-ev span{font-size:11.5px;opacity:.85}
html body .ocd2-ev i{position:absolute;right:6px;top:5px;font-style:normal;font-size:10.5px;font-weight:700;background:#F2A93B;color:#4a2d00;border-radius:99px;padding:1px 7px}
.ocd2-ev:hover{box-shadow:0 5px 14px rgba(16,42,67,.18);z-index:3}
.ocd2-ev.done{background:#E0F4EA!important;--dc:#1E9E6A}.ocd2-ev.confirmed{background:#E4E8F8!important;--dc:#4A5BB0}.ocd2-ev.waiting{background:#FEF3DF!important;--dc:#F2A93B}.ocd2-ev.incare{background:#EDE5F8!important;--dc:#7A5AB0}
.ocd2-ev.scheduled{--dc:#14B8AA}.ocd2-ev.over{outline:2px dashed #F2A93B;outline-offset:-2px}
.ocd2-ev{--dc:#14B8AA}
.ocg-tabs a{padding:7px 14px;border-radius:9px;font-weight:600;font-size:13.5px;text-decoration:none}
html body .ocg-tabs a.on{background:#04242A;color:#fff!important}
.oct-solo{display:inline-flex;margin-bottom:10px}
/* popup */
.ocm-back{position:fixed;inset:0;background:rgba(4,36,42,.5);display:grid;place-items:center;z-index:9999;padding:16px}
.ocm{background:#fff;border-radius:22px;max-width:440px;width:100%;padding:22px 24px;box-shadow:0 30px 80px rgba(0,0,0,.35);font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocm h3{margin:0 0 8px;font-size:18px;color:#0B2A2E}.ocm-txt{color:#355a5e;font-size:14px;line-height:1.5}.ocm-txt p{margin:8px 0}.ocm-txt ul{margin:6px 0 8px;padding-left:18px}
.ocm-act{display:flex;gap:10px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}
html body .ocm-btn{height:42px!important;padding:0 18px!important;border-radius:12px!important;border:1.5px solid #CFE3E3!important;background:#fff!important;color:#0B2A2E!important;font-weight:600;font-size:14px;cursor:pointer}
html body .ocm-btn.p{background:#0B6E73!important;border-color:#0B6E73!important;color:#fff!important}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){.ocd2-scroll{max-height:60vh}}

html body .ocd2 button.ocd2-ev.v124-appt{background:#E1F6F3!important;border:0!important;border-left:4px solid var(--dc)!important;border-radius:10px!important;color:#0B2A2E!important;box-shadow:none}
html body .ocd2 button.ocd2-ev.done{background:#E0F4EA!important;--dc:#1E9E6A}
html body .ocd2 button.ocd2-ev.confirmed{background:#E4E8F8!important;--dc:#4A5BB0}
html body .ocd2 button.ocd2-ev.waiting{background:#FEF3DF!important;--dc:#F2A93B}
html body .ocd2 button.ocd2-ev.incare{background:#EDE5F8!important;--dc:#7A5AB0}
html body .ocd2 button.ocd2-ev.scheduled{--dc:#14B8AA}
html body .ocd2 button.ocd2-ev:hover{box-shadow:0 5px 14px rgba(16,42,67,.18)!important}

/* ===== V124.54: dentistas ===== */
.ocdt-new{background:#fff;border:1px solid #DCE8E8;border-radius:18px;margin-bottom:14px}
.ocdt-new>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 18px}.ocdt-new>summary::-webkit-details-marker{display:none}
.ocdt-new>summary span:first-child{font-size:16px;font-weight:700;color:#0B2A2E}.ocdt-hint{color:#5D767A;font-size:13px}
.ocdt-new>summary:after{content:"+";margin-left:auto;font-size:22px;color:#0B6E73}.ocdt-new[open]>summary:after{content:"−"}
.ocdt-form{padding:4px 18px 18px;font-family:Inter,"Segoe UI",system-ui,sans-serif}.ocdt-edit-form{background:#fff;border:1px solid #DCE8E8;border-radius:18px;padding:18px}
.ocdt-form h3{margin:0 0 12px;font-size:18px;color:#0B2A2E!important}
.ocdt-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.ocdt-wide{grid-column:1/-1}
.ocdt-sec{border:1px solid #E4EEEE;border-radius:16px;padding:14px 16px;background:#FAFDFD}.ocdt-sec h4{margin:0 0 10px;font-size:14px;color:#0B2A2E!important}
.ocdt-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.ocdt-f.w2{grid-column:span 2}
.ocdt-f label{display:block;font-size:12.5px;font-weight:600;color:#355a5e;margin-bottom:4px}
.ocdt-days{display:flex;gap:8px;flex-wrap:wrap}
.ocdt-day input{position:absolute;opacity:0;pointer-events:none}
.ocdt-day span{display:inline-grid;place-items:center;min-width:54px;height:40px;padding:0 12px;border-radius:12px;border:1.5px solid #CFE3E3;background:#fff;font-weight:600;font-size:14px;color:#5D767A;cursor:pointer;user-select:none}
.ocdt-day input:checked+span{background:#0B6E73;border-color:#0B6E73;color:#fff}.ocdt-day input:focus-visible+span{outline:3px solid #A8EBDD}
.ocdt-quick{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
html body .ocdt-quick button{height:30px!important;min-height:30px!important;padding:0 12px!important;font-size:12.5px!important;border-radius:99px!important;background:#fff!important;border:1px solid #BFE3DF!important;color:#0B6E73!important;box-shadow:none!important}
.ocdt-help{margin:10px 0 0;color:#5D767A;font-size:12.5px}
.ocdt-photo{display:flex;gap:14px;align-items:center}.ocdt-photo img,.ocdt-av{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#E1F6F3;color:#0B6E73;display:inline-grid;place-items:center;font-weight:700;font-size:20px}
.ocdt-photo small{display:block;color:#5D767A;margin-top:4px}
.ocdt-actions{display:flex;gap:10px;margin-top:14px}
.ocdt-list{margin-top:6px}.ocdt-lh{display:flex;align-items:center;gap:10px;margin:0 2px 10px}.ocdt-lh h3{margin:0;font-size:16px;color:#0B2A2E!important}.ocdt-lh span{background:#E1F6F3;color:#0B6E73;font-weight:700;font-size:12.5px;padding:2px 10px;border-radius:99px}
.ocdt-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.ocdt-card{background:#fff;border:1px solid #DCE8E8;border-radius:18px;padding:14px 16px;display:grid;gap:10px;position:relative}
.ocdt-top{display:flex;gap:12px;align-items:center}.ocdt-top img,.ocdt-top .ocdt-av{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none}.ocdt-top b{display:block;font-size:15px}.ocdt-top small{color:#5D767A;font-size:12.5px}
.ocdt-daysro{display:flex;gap:5px}.ocdt-daysro i{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:700;background:#EEF3F3;color:#9DB1B3}.ocdt-daysro i.on{background:#0B6E73;color:#fff}
.ocdt-meta{display:flex;justify-content:space-between;font-size:12.5px;color:#5D767A;gap:8px;flex-wrap:wrap}
html body a.ocdt-edit{position:absolute;right:14px;top:14px;height:30px;display:inline-flex;align-items:center;padding:0 12px;border-radius:9px;border:1px solid #BFE3DF;background:#fff;color:#0B6E73!important;font-weight:600;font-size:13px;text-decoration:none}
.ocdt-empty{color:#8AA2A5;padding:18px}
@media (max-width:900px), (pointer:coarse) and (max-height:500px){.ocdt-grid{grid-template-columns:1fr}.ocdt-f.w2{grid-column:auto}}

/* ===== V124.54: cadastro de pacientes ===== */
.ocp h3{margin:0 0 10px;font-size:17px}
.ocp-form{display:grid;gap:12px;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocp-form section{border:1px solid #E4EEEE;border-radius:14px;padding:12px 14px;background:#FAFDFD}
.ocp-form h4{margin:0 0 8px;font-size:13.5px;color:#0B2A2E!important}
.ocp-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ocp-f label{display:block;font-size:12.5px;font-weight:600;color:#355a5e;margin-bottom:3px}.ocp-f.w2{grid-column:span 2}.ocp-f small{display:block;color:#5D767A;font-size:11.5px;margin-top:2px;min-height:14px}
.ocp-opts{display:flex;gap:22px;flex-wrap:wrap;align-items:center}
.ocp-chk{display:inline-flex!important;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#0B2A2E;margin:0!important;cursor:pointer}
.ocp-chk input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;padding:0!important;accent-color:#0B6E73;flex:none}
.ocp-ref{max-width:420px}.ocp-ref label{display:block;font-size:12.5px;font-weight:600;margin-bottom:3px}
.ocp-act{display:flex}
@media (max-width:900px), (pointer:coarse) and (max-height:500px){.ocp-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ocp-row{grid-template-columns:1fr}.ocp-f.w2{grid-column:auto}}

/* ===== V124.54: e-mail e SMTP ===== */
.ocs{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:16px;align-items:start;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocs-main,.ocs-card{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:18px 20px}
.ocs h3,.ocs h4{margin:0;color:#0B2A2E!important}.ocs h3{font-size:17px}.ocs h4{font-size:14.5px;margin-bottom:6px}
.ocs-sub{margin:4px 0 12px;color:#5D767A;font-size:13px}
.ocs-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ocs-f{grid-column:span 2}.ocs-f.w2{grid-column:span 3}.ocs-f.w3{grid-column:span 4}
.ocs-f label{display:block;font-size:12.5px;font-weight:600;color:#355a5e;margin-bottom:4px}
.ocs-act{margin-top:16px}.ocs-note{margin:12px 0 0;color:#5D767A;font-size:12.5px}
.ocs-side{display:grid;gap:14px}.ocs-card form,.ocs-card{display:grid;gap:8px}
.ocs-tip{background:#E1F6F3;border-radius:14px;padding:12px 14px;font-size:13px;line-height:1.5;color:#0B2A2E}
@media (max-width:900px), (pointer:coarse) and (max-height:500px){.ocs{grid-template-columns:1fr}.ocs-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ocs-f,.ocs-f.w2,.ocs-f.w3{grid-column:span 2}}

.ocs-f input,.ocs-f select,.ocdt-f input,.ocdt-f select,.ocp-f input,.ocp-f select{width:100%;box-sizing:border-box}
/* metas: barra + marca do esperado */
.ocg2-leg{margin:0 0 10px;color:#5D767A;font-size:12.5px}
.ocg2-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin-bottom:10px}
.ocg2-g2{border:1px solid #E4EEEE;border-radius:16px;padding:14px 16px;background:#fff;display:grid;gap:8px}
.ocg2-gh{display:flex;justify-content:space-between;align-items:center;gap:8px}.ocg2-g2 strong{font-size:14.5px}
.ocg2-st{font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap;background:#EEF3F3;color:#5D767A}
.ocg2-st.ok{background:#E0F4EA;color:#17795A}.ocg2-st.pace{background:#E1F6F3;color:#0B6E73}.ocg2-st.warn{background:#FEF3DF;color:#A56A0A}.ocg2-st.late{background:#FDECE9;color:#C4443A}.ocg2-st.soon{background:#E4E8F8;color:#4A5BB0}
.ocg2-gm{font-size:12.5px;color:#5D767A}
.ocg2-bar{position:relative;height:14px;border-radius:8px;background:#E8F0F0}
.ocg2-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:8px;background:#14B8AA}
.ocg2-g2.ok .ocg2-bar i{background:#1E9E6A}.ocg2-g2.warn .ocg2-bar i{background:#F2A93B}.ocg2-g2.late .ocg2-bar i{background:#F26B5E}.ocg2-g2.soon .ocg2-bar i{background:#7C8FD6}
.ocg2-bar u{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1px;background:#0B2A2E;border-radius:2px}
.ocg2-gn{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;gap:8px}.ocg2-gn .pc{font-size:18px}
.ocg2-gf{font-size:12.5px;color:#5D767A}
.ocg2-old{margin:6px 0 4px}.ocg2-old summary{cursor:pointer;font-weight:600;color:#355a5e;padding:6px 2px;font-size:13.5px}

html body main#oc-main .oc-user-table table.table{display:table!important;width:100%!important;max-width:none!important;table-layout:auto}
html body main#oc-main .oc-user-table{overflow-x:auto}
html body main#oc-main .oc-user-table table.table{table-layout:auto!important;width:100%!important;min-width:0!important}
html body main#oc-main .oc-user-table th,html body main#oc-main .oc-user-table td{width:auto!important}
html body main#oc-main .oc-user-table th:first-child,html body main#oc-main .oc-user-table td:first-child{width:52px!important;padding-right:0!important}
html body main#oc-main .oc-user-table col{width:auto!important}
.oc-user-table .role-badge,.oc-user-table .pill{white-space:nowrap}
html body .oc-act-row .btn,html body .oc-act-row a.edit,html body .oc-act-row button{width:auto!important;min-width:0!important;flex:none;padding:0 11px!important;margin:0!important;white-space:nowrap}
html body main#oc-main .oc-user-table th:last-child,html body main#oc-main .oc-user-table td:last-child{padding-right:12px!important}

/* ===== V124.55: banner limpo (sem faixa escura) ===== */
body:has(.ocd) .sr-hero-wrap::before,body:has(.ocd) .sr-hero-wrap::after{display:none!important;content:none!important}
body:has(.ocd) .sr-hero-wrap .sr-banner-dots{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:10px!important;padding:5px 9px!important;border-radius:99px!important;background:rgba(255,255,255,.78)!important;box-shadow:0 2px 8px rgba(4,36,42,.18)!important;gap:6px!important}
body:has(.ocd) .sr-hero-wrap .sr-banner-dot{width:8px!important;height:8px!important;min-height:0!important;padding:0!important;border-radius:50%!important;border:0!important;background:#9CC3C4!important;box-shadow:none!important}
body:has(.ocd) .sr-hero-wrap .sr-banner-dot.active,body:has(.ocd) .sr-hero-wrap .sr-banner-dot[aria-current="true"]{background:#0B6E73!important;width:20px!important;border-radius:99px!important}

/* ===== V124.55: Inicio mais claro + graficos interativos ===== */
.ocd .ocd-hero{background:linear-gradient(120deg,#E4F6F3 0%,#FFFFFF 55%);border:1px solid #CFE6E3;color:#0B2A2E;box-shadow:0 8px 24px rgba(11,110,115,.08)}
.ocd .ocd-hero-arc{display:none}
html body .ocd .ocd-hero a.ocd-m{color:#355a5e!important}html body .ocd .ocd-hero a.ocd-m .l{color:#5D767A!important}
html body .ocd .ocd-hero a.ocd-m b{color:#0B2A2E!important}
html body .ocd .ocd-hero .ocd-chip{background:#E1F6F3;color:#0B6E73}html body .ocd .ocd-hero .ocd-chip.warn{background:#FDECE9;color:#C4443A}
html body .ocd .ocd-herochart .t b{color:#0B2A2E!important}html body .ocd .ocd-herochart .t span{color:#5D767A}
.ocd-herochart .t{align-items:flex-start}.ocd-herochart .t small{display:block;color:#5D767A;font-size:12px;font-weight:400;margin-top:2px}
.ocd-chartbox{position:relative;width:100%}.ocd-chartbox svg{display:block;max-width:100%}
.ocl-tip{position:absolute;pointer-events:none;background:#0B2A2E;color:#fff;border-radius:12px;padding:8px 12px;font-size:12.5px;line-height:1.5;box-shadow:0 10px 24px rgba(0,0,0,.25);min-width:150px;z-index:5}
.ocl-tip .t{font-weight:700;margin-bottom:2px}.ocl-tip i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}

/* ===== V124.55: proteses filtradas lado a lado ===== */
.ocq-flat{margin-top:14px;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocq-flat-head{display:flex;align-items:baseline;gap:12px;margin:0 2px 10px}.ocq-flat-head b{font-size:15px}.ocq-flat-head span{color:#5D767A;font-size:13px}
.ocq-flat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.ocq-flat-grid .ocq-card{margin:0}
.ocq-stage{font-style:normal;font-size:11px;font-weight:700;padding:1px 8px;border-radius:99px;background:color-mix(in srgb,var(--sc) 22%,white);color:#0B2A2E;margin-left:4px;white-space:nowrap}

/* ===== V124.55: permissoes em arvore ===== */
.ocpt-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:6px 0 12px;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocpt-search{flex:1 1 220px;max-width:320px;height:38px!important;min-height:38px!important}
.ocpt-sum{color:#5D767A;font-size:12.5px;margin-right:auto}
html body .ocpt-bar button{height:34px!important;min-height:34px!important;padding:0 13px!important;font-size:12.5px!important;border-radius:99px!important;background:#fff!important;border:1px solid #BFE3DF!important;color:#0B6E73!important;box-shadow:none!important;font-weight:600}
.ocpt.oc-permission-groups{gap:8px!important}
.ocpt-node{background:#fff;border:1px solid #DCE8E8;border-radius:14px;overflow:hidden}
.ocpt-node>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:11px 14px;user-select:none}.ocpt-node>summary::-webkit-details-marker{display:none}
.ocpt-node[open]>summary{background:#F2FAF9;border-bottom:1px solid #E1EFEF}
.ocpt-caret{width:0;height:0;border-left:6px solid #0B6E73;border-top:5px solid transparent;border-bottom:5px solid transparent;transition:transform .15s;flex:none}
.ocpt-node[open] .ocpt-caret{transform:rotate(90deg)}
.ocpt-master{width:17px!important;height:17px!important;min-height:0!important;margin:0!important;accent-color:#0B6E73;flex:none}
.ocpt-title{font-weight:700;font-size:14.5px;color:#0B2A2E}
.ocpt-count{margin-left:auto;font-size:12px;font-weight:700;padding:2px 10px;border-radius:99px;background:#EEF3F3;color:#5D767A}
.ocpt-count.part{background:#FEF3DF;color:#A56A0A}.ocpt-count.full{background:#E0F4EA;color:#17795A}
.ocpt-children{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;gap:2px 14px!important;padding:8px 12px 10px 34px!important;margin:0!important;position:relative}
.ocpt-children:before{content:"";position:absolute;left:20px;top:6px;bottom:14px;border-left:2px solid #DCEBEA}
.ocpt-children .oc-permission-item{border:0!important;background:transparent!important;padding:6px 8px!important;min-height:0!important;border-radius:8px!important;font-size:13.5px!important}
.ocpt-children .oc-permission-item:hover{background:#F2FAF9!important}
.ocpt-children .oc-permission-item input{width:16px!important;height:16px!important;accent-color:#0B6E73}

/* ===== V124.55: inventario, entrada/saida, produtos ===== */
.inv{font-family:Inter,"Segoe UI",system-ui,sans-serif}
.inv-head h1{margin:0;font-size:24px;letter-spacing:-.02em;color:#0B2A2E!important}.inv-head p{margin:4px 0 14px;color:#5D767A}
.inv-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0 0 14px}
.inv-steps li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #DCE8E8;border-radius:14px;padding:10px 12px;font-size:13.5px;font-weight:600;color:#355a5e}
.inv-steps b{width:26px;height:26px;border-radius:50%;background:#E1F6F3;color:#0B6E73;display:grid;place-items:center;font-size:13px;flex:none}
.inv-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;background:#E7EFEF;border-radius:14px;padding:4px;width:fit-content;max-width:100%}
html body .inv-tabs button{height:38px!important;min-height:38px!important;padding:0 16px!important;border-radius:10px!important;border:0!important;background:transparent!important;color:#5D767A!important;font-weight:600;font-size:14px;box-shadow:none!important}
html body .inv-tabs button.on{background:#04242A!important;color:#fff!important}
.inv-tabs em{font-style:normal;margin-left:6px;background:#F2A93B;color:#4a2d00;border-radius:99px;font-size:11px;padding:1px 7px;font-weight:700}
.inv-pane h3{margin:0 0 10px;font-size:17px}.inv-pane[hidden]{display:none!important}
@media (max-width:800px), (pointer:coarse) and (max-height:500px){.inv-steps{grid-template-columns:1fr 1fr}}
.oce-head{display:flex;gap:14px;align-items:center;margin:14px 0 16px}.oce-head h3{margin:0;font-size:19px}.oce-head p{margin:2px 0 0;color:#5D767A;font-size:13.5px}
.oce-ic{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:22px;font-weight:700;flex:none}.oce-ic.in{background:#E0F4EA;color:#17795A}.oce-ic.out{background:#FDECE9;color:#C4443A}
html body .movement-switch{display:inline-flex;gap:4px;background:#E7EFEF;border-radius:14px;padding:4px;border:0!important}
html body .movement-tab{padding:9px 20px;border-radius:10px;font-weight:600;font-size:14px;color:#5D767A!important;text-decoration:none;background:transparent!important;border:0!important;box-shadow:none!important}
html body .movement-tab.active{background:#0B6E73!important;color:#fff!important}html body .movement-tab.exit-active{background:#E5594D!important}
html body .sr-entry-form,html body .sr-exit-form{max-width:1000px;background:#fff;border:1px solid #DCE8E8!important;border-radius:20px!important;padding:20px 24px!important}
html body .sr-entry-grid,html body .sr-exit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
html body .sr-entry-observation{grid-column:1/-1}
html body .sr-entry-submit,html body .sr-exit-form>button.btn{margin-top:18px!important;height:46px;padding:0 26px;font-size:15px}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){html body .sr-entry-grid,html body .sr-exit-grid{grid-template-columns:1fr!important}}
.prd-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap}.prd-head h1{margin:0;font-size:24px;letter-spacing:-.02em;color:#0B2A2E!important}.prd-head p{margin:4px 0 0;color:#5D767A}
.prd-kpis{display:flex;gap:12px;margin-bottom:12px;flex-wrap:wrap}.prd-kpis>div{background:#fff;border:1px solid #DCE8E8;border-radius:16px;padding:12px 18px;min-width:180px}.prd-kpis span{display:block;color:#5D767A;font-size:12.5px}.prd-kpis b{font-size:24px;letter-spacing:-.02em}.prd-kpis b.r{color:#C4443A}
.prd-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.prd-bar input{flex:1 1 260px;max-width:380px;height:40px!important;min-height:40px!important}.prd-bar select{height:40px!important;min-height:40px!important;max-width:240px}
.prd-chips{display:flex;gap:6px}html body .prd-chips button{height:34px!important;min-height:34px!important;padding:0 14px!important;border-radius:99px!important;background:#E7EFEF!important;border:0!important;color:#5D767A!important;font-weight:600;font-size:13px;box-shadow:none!important}html body .prd-chips button.on{background:#04242A!important;color:#fff!important}
.prd-count{margin-left:auto;color:#5D767A;font-size:12.5px}
.prd-st{display:inline-block;min-width:34px;text-align:center;padding:2px 10px;border-radius:99px;font-weight:700;font-size:12.5px}.prd-st.ok{background:#E0F4EA;color:#17795A}.prd-st.low{background:#FEF3DF;color:#A56A0A}.prd-st.zero{background:#FDECE9;color:#C4443A}
.products-page .product-list-disclosure>summary{display:none}
.products-page .product-list-disclosure .disclosure-body{padding-top:14px}

/* ===== V124.55: prontuario odontologico ===== */
.pr{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#0B2A2E}
.pr h1,.pr h2,.pr h3,.pr h4{color:#0B2A2E!important;margin:0}
.pr-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #DCE8E8;border-radius:22px;padding:18px 22px;margin-bottom:12px}
.pr-id{display:flex;gap:16px;align-items:center}.pr-av{width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,#1ED2C1,#0B8F94);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:700;flex:none}
.pr-head h1{font-size:23px;letter-spacing:-.02em}.pr-meta{display:flex;gap:6px 14px;flex-wrap:wrap;margin-top:4px;color:#5D767A;font-size:13px}.pr-addr{margin-top:3px;color:#5D767A;font-size:12.5px}
.pr-actions{display:flex;gap:8px;flex-wrap:wrap}
html body .pr a.pr-btn,html body .pr button.pr-btn{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:11px;border:1.5px solid #BFE3DF;background:#fff;color:#0B6E73!important;font-weight:600;font-size:13.5px;text-decoration:none;cursor:pointer;box-shadow:none}
html body .pr .pr-btn.p{background:#0B6E73!important;border-color:#0B6E73;color:#fff!important}html body .pr .pr-btn.s{height:32px;padding:0 12px;font-size:12.5px;border-radius:9px}
html body .pr .pr-btn.danger{color:#C4443A!important;border-color:#F3C5C0}html body .pr .pr-btn:disabled{opacity:.5;cursor:not-allowed}
.pr-alerts{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#FFF6F5;border:1px solid #F6C9C4;border-radius:16px;padding:10px 16px;margin-bottom:12px;font-size:13.5px}
.pr-alerts.warn{background:#FEF8EA;border-color:#F3DDA9}.pr-alerts>b{margin-right:4px}
.pr-al{padding:3px 11px;border-radius:99px;font-weight:600;font-size:12.5px;background:#EEF3F3;color:#355a5e}.pr-al.r{background:#FDECE9;color:#C4443A}.pr-al.a{background:#FEF3DF;color:#A56A0A}
.pr-tabs{display:flex;gap:4px;overflow-x:auto;background:#E7EFEF;border-radius:14px;padding:4px;margin-bottom:14px}
html body .pr-tabs button{flex:none;height:38px!important;min-height:38px!important;padding:0 15px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5D767A!important;font-weight:600;font-size:13.5px;box-shadow:none!important;white-space:nowrap}
html body .pr-tabs button.on{background:#04242A!important;color:#fff!important}.pr-tabs em{font-style:normal;margin-left:6px;background:#F2A93B;color:#4a2d00;border-radius:99px;font-size:11px;padding:1px 7px;font-weight:700}
.pr-pane[hidden]{display:none!important}
.pr-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}.pr-grid2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:1000px), (pointer:coarse) and (max-height:500px){.pr-grid2{grid-template-columns:1fr}}
.pr-card{background:#fff;border:1px solid #DCE8E8;border-radius:18px;padding:16px 18px}.pr-card h3{font-size:15px;margin-bottom:10px}
.pr-kv{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #EEF4F4;font-size:13.5px}.pr-kv:last-child{border:0}.pr-kv span{color:#5D767A}
.pr-list{list-style:none;padding:0;margin:0 0 8px;display:grid;gap:6px;font-size:13.5px}.pr-list li{padding:6px 10px;border-radius:10px;background:#EEF3F3}.pr-list li.r{background:#FDECE9;color:#C4443A}.pr-list li.a{background:#FEF3DF;color:#8A5A07}.pr-list li.ok{background:#E0F4EA;color:#17795A}
.pr-empty{color:#8AA2A5;font-size:13.5px;margin:6px 0}.pr-txt{margin:6px 0;font-size:13.5px}.pr-card small{color:#5D767A;font-size:12px}
.pr-mini{padding:8px 0;border-bottom:1px solid #EEF4F4;font-size:13px}.pr-mini:last-child{border:0}.pr-mini b{display:block}.pr-mini small{display:block}.pr-mini span{color:#355a5e}
.pr-tags{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.pr-tag{padding:2px 10px;border-radius:99px;font-size:12px;font-weight:600;background:#EEF3F3}
.c-CARIE{--c:#F4B4B0}.c-RESTAURACAO{--c:#B9D0F7}.c-AUSENTE{--c:#D5DADD}.c-IMPLANTE{--c:#9FE6DD}.c-COROA{--c:#F7DCA3}.c-ENDODONTIA{--c:#D8C8F5}.c-EXTRACAO{--c:#A9B2E6}.c-SUSPEITA{--c:#F5BEDA}.c-SAUDAVEL{--c:#C9EBD9}
.pr-tag[class*="c-"]{background:var(--c)}
.pr-hd{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap}.pr-hd h2{font-size:20px}.pr-hd p{margin:3px 0 0;color:#5D767A;font-size:13px}
.pr-form fieldset{border:1px solid #DCE8E8;border-radius:16px;background:#fff;padding:14px 18px 16px;margin:0 0 12px}.pr-form legend{padding:0 8px;font-weight:700;font-size:14px;color:#0B6E73}
.pr-card.pr-form fieldset{border:0;padding:0}
.pr-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:10px}.pr-f{margin-bottom:10px}.pr-row>.pr-f{margin:0}.pr-f.w2{grid-column:span 2}.pr-f.w3{grid-column:span 3}
.pr-f label{display:block;font-size:12.5px;font-weight:600;color:#355a5e;margin-bottom:4px}.pr-f input,.pr-f select,.pr-f textarea{width:100%;box-sizing:border-box}
@media (max-width:800px), (pointer:coarse) and (max-height:500px){.pr-row{grid-template-columns:1fr 1fr}.pr-f.w3,.pr-f.w2{grid-column:span 2}}
.pr-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:4px 14px;margin-bottom:10px}
.pr-chk{display:flex;align-items:center;gap:9px;padding:6px 10px;border-radius:10px;cursor:pointer;font-size:13.5px;margin:0}.pr-chk:hover{background:#F2FAF9}
.pr-chk input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;accent-color:#0B6E73;flex:none}
.pr-chk.r input:checked+span{color:#C4443A;font-weight:700}.pr-chk.a input:checked+span{color:#A56A0A;font-weight:700}.pr-chk.big{margin-top:6px;font-weight:600}
.pr-act{display:flex;gap:8px;align-items:center;margin-top:10px;flex-wrap:wrap}
.pr-tw{overflow-x:auto}.pr-tw table{width:100%;border-collapse:collapse;min-width:520px}.pr-tw th{text-align:left;font-size:12px;color:#5D767A;padding:8px 10px;border-bottom:1px solid #E4EEEE}.pr-tw td{padding:9px 10px;border-bottom:1px solid #EEF4F4;font-size:13.5px}
.pr-card.pr-tw{padding:6px 10px}
.pr-sub{margin:16px 2px 8px!important;font-size:15px}
.pr-st{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700;background:#EEF3F3;color:#5D767A;white-space:nowrap}.pr-st.ok{background:#E0F4EA;color:#17795A}.pr-st.bad{background:#FDECE9;color:#C4443A}
.pr-bud{margin-bottom:12px}.pr-bud-h{display:flex;align-items:center;gap:12px;margin-bottom:8px}.pr-bud-h>div{flex:1}.pr-bud-h b{font-size:15px}.pr-bud-h small{display:block}.pr-tot{font-size:18px}
.pr-timeline h3{font-size:15px;margin-bottom:10px}.pr-tl{display:flex;gap:12px;padding:0 0 16px;position:relative}.pr-tl:before{content:"";position:absolute;left:5px;top:14px;bottom:0;border-left:2px solid #DCEBEA}.pr-tl:last-child:before{display:none}
.pr-tl i{width:12px;height:12px;border-radius:50%;background:#14B8AA;flex:none;margin-top:4px;z-index:1}.pr-tl i.t-INTERCORRENCIA{background:#F26B5E}.pr-tl i.t-PROCEDIMENTO{background:#0B6E73}.pr-tl i.t-RETORNO{background:#7C8FD6}.pr-tl i.t-OBSERVACAO{background:#B8CCCE}.pr-tl i.t-POS_ATENDIMENTO{background:#F2A93B}
.pr-tl-h{display:flex;gap:8px;align-items:center}.pr-tl p{margin:6px 0 0;font-size:13.5px;line-height:1.5;white-space:pre-wrap;color:#355a5e}.pr-tl small{color:#5D767A;font-size:12px}
.pr-doc{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid #DCE8E8;border-radius:14px;padding:10px 14px;margin-bottom:8px;flex-wrap:wrap}.pr-doc b{display:block}.pr-doc small{color:#5D767A;font-size:12px}.pr-doc-a{display:flex;gap:6px}
.pr-note{color:#5D767A;font-size:12.5px;margin:10px 2px}.pr-foot{margin:18px 2px 4px;color:#8AA2A5;font-size:12px}
/* odontograma do prontuario */
.pr-seg{display:flex;background:#E7EFEF;border-radius:12px;padding:3px}html body .pr-seg button{height:34px!important;min-height:34px!important;padding:0 14px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#5D767A!important;font-weight:600;font-size:13px;box-shadow:none!important}html body .pr-seg button.on{background:#04242A!important;color:#fff!important}
.pr-odo-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:16px;align-items:start}@media (max-width:1000px), (pointer:coarse) and (max-height:500px){.pr-odo-grid{grid-template-columns:1fr}}
.pr-odo-chart,.pr-odo-form{background:#fff;border:1px solid #DCE8E8;border-radius:18px;padding:14px 16px}
.pr-odo-leg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#5D767A;margin-bottom:6px}.pr-odo-leg i{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--c);margin-right:5px;vertical-align:-2px;border:1px solid #cdd9d9}
.pr-odo-scroll{overflow-x:auto}.pr-odo-scroll svg{display:block;width:100%;min-width:560px;height:auto}.pr-odo-mid{text-align:center;font-size:11.5px;color:#8AA2A5;border-top:1px dashed #CFDFDF;margin:0 6px}
.po-t{cursor:pointer;outline:none}.po-t .cr{stroke:#B3C3C5;stroke-width:1.4}.po-t .rt{fill:#F0E1C6;stroke:#D4BE98;stroke-width:1}.po-t .nm{font-size:12.5px;font-weight:600;fill:#7F9A9D}
.po-t:hover .cr,.po-t:focus-visible .cr{stroke:#14B8AA;stroke-width:2.6}.po-t.sel .cr{stroke:#0B6E73;stroke-width:3.4}.po-t.sel .nm{fill:#0B6E73;font-weight:700;font-size:14px}.po-t.has .nm{fill:#0B2A2E}
.pr-odo-form h4{font-size:15px;margin-bottom:8px}
.pr-cross{text-align:center}.pr-cross svg{width:150px;height:150px}.pr-cross[data-off] svg{opacity:.45;pointer-events:none}
.po-z{cursor:pointer;outline:none}.po-z path{fill:#fff;stroke:#8FB0B3;stroke-width:2}.po-z text{font-size:20px;font-weight:700;fill:#5D767A;pointer-events:none}.po-z:hover path{fill:#E1F6F3}.po-z.on path{fill:#14B8AA;stroke:#0B6E73}.po-z.on text{fill:#fff}
.pr-cross-leg{font-size:11.5px;color:#5D767A;margin:4px 0 8px}
.pr-conds{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}
.pr-cond{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1.5px solid #DCE8E8;border-radius:11px;cursor:pointer;font-size:13px;font-weight:600;margin:0}.pr-cond input{position:absolute;opacity:0;pointer-events:none}.pr-cond:before{content:"";width:12px;height:12px;border-radius:4px;background:var(--c);border:1px solid #cdd9d9;flex:none}
.pr-cond:has(input:checked){border-color:#0B6E73;background:#F2FAF9}
@media print{.pr-tabs,.pr-actions,.pr-act{display:none!important}}
html body .pr a.pr-btn:not(.p),html body .pr button.pr-btn:not(.p){background:#fff!important;color:#0B6E73!important;border:1.5px solid #BFE3DF!important}
html body .pr a.pr-btn.p,html body .pr button.pr-btn.p{background:#0B6E73!important;color:#fff!important;border:1.5px solid #0B6E73!important}
html body .pr .pr-btn.danger{color:#C4443A!important;border-color:#F3C5C0!important}
.pr-card,.pr-odo-chart,.pr-odo-form,.pr-head,.pr-form fieldset{border-top-width:1px!important;border-top-color:#DCE8E8!important}

/* ===== V124.56: relatorio de proteses ===== */
.pm-wrap{font-family:Inter,"Segoe UI",system-ui,sans-serif}
.pm-wrap h2{font-size:24px!important;letter-spacing:-.02em;color:#0B2A2E!important}
html body .pm-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:12px!important}
html body .pm-stat{border-radius:18px!important;padding:14px 16px!important;border:1px solid #DCE8E8!important;background:#fff!important;min-height:0!important}
html body .pm-stat span{font-size:12.5px!important;color:#5D767A!important;font-weight:600}html body .pm-stat strong{font-size:28px!important;letter-spacing:-.03em;display:block;margin-top:4px}
html body .pm-stat.total{background:#E1F6F3!important}html body .pm-stat.total strong{color:#0B6E73!important}
html body .pm-stat.pending strong{color:#0B6E73!important}html body .pm-stat.overdue{background:#FDECE9!important;border-color:#F6C9C4!important}html body .pm-stat.overdue strong{color:#C4443A!important}
html body .pm-stat.refacao{background:#FEF3DF!important}html body .pm-stat.refacao strong{color:#A56A0A!important}html body .pm-stat.clinic strong{color:#4A5BB0!important}
html body .pm-stat.completed{background:#E0F4EA!important}html body .pm-stat.completed strong{color:#17795A!important}html body .pm-stat.cancelled strong{color:#5D767A!important}
html body .pm-filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:12px!important;align-items:end}
html body .pm-card{border-radius:20px!important;border:1px solid #DCE8E8!important;background:#fff}
.ocpm-wrap{overflow-x:auto}
.ocpm-table{width:100%;border-collapse:collapse;min-width:900px}
.ocpm-table th{position:sticky;top:0;background:#F2F7F7;text-align:left;font-size:12px;color:#5D767A;padding:10px 12px;border-bottom:1px solid #DCE8E8;white-space:nowrap}
.ocpm-table td{padding:12px;border-bottom:1px solid #EEF4F4;vertical-align:top;font-size:13.5px;overflow-wrap:normal;word-break:normal}
.ocpm-table tr:hover td{background:#FAFDFD}
.ocpm-code{display:inline-block;background:#E1F6F3;color:#0B6E73;border-radius:8px;padding:1px 8px;font-size:12px;margin-bottom:4px}.ocpm-pat{display:block;font-weight:700}.ocpm-table small{display:block;color:#5D767A;font-size:12px;margin-top:2px}
.ocpm-dates{white-space:nowrap}.ocpm-dates span{display:block;font-size:12.5px;color:#5D767A}.ocpm-dates b{color:#0B2A2E}
.ocpm-notes{max-width:260px;color:#355a5e;font-size:13px}.ocpm-go{text-align:right;white-space:nowrap}.ocpm-none{text-align:center;padding:30px!important;color:#8AA2A5}
@media (max-width:800px), (pointer:coarse) and (max-height:500px){.ocpm-table{min-width:0}.ocpm-table thead{display:none}.ocpm-table,.ocpm-table tbody,.ocpm-table tr,.ocpm-table td{display:block;width:100%}.ocpm-table tr{border:1px solid #DCE8E8;border-radius:16px;margin:0 0 12px;padding:6px 4px;background:#fff}.ocpm-table td{border:0;padding:6px 12px}.ocpm-table td[data-l]:before{content:attr(data-l);display:block;font-size:11px;font-weight:700;color:#8AA2A5;text-transform:uppercase;letter-spacing:.04em}.ocpm-go{text-align:left}.ocpm-notes{max-width:none}}

/* ===== V124.56: laboratorios ===== */
.ocl2{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.ocl2-form,.ocl2-list{background:#fff;border:1px solid #DCE8E8;border-radius:20px;padding:18px 20px}
.ocl2 h3{margin:0;font-size:16px;color:#0B2A2E!important}.ocl2 p{margin:3px 0 12px;color:#5D767A;font-size:13px}
.ocl2-form label{display:block;font-size:12.5px;font-weight:600;color:#355a5e;margin:10px 0 4px}.ocl2-form input{width:100%;box-sizing:border-box}
.ocl2-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ocl2-act{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.ocl2-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.ocl2-head input{max-width:260px;height:38px!important;min-height:38px!important}
.ocl2-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.ocl2-card{border:1px solid #E4EEEE;border-radius:16px;padding:14px 16px;background:#FAFDFD;display:grid;gap:10px;min-width:0}
.ocl2-top{display:flex;gap:11px;align-items:center;min-width:0}.ocl2-av{width:40px;height:40px;border-radius:12px;background:#E1F6F3;color:#0B6E73;display:grid;place-items:center;font-weight:700;flex:none}
.ocl2-top b{display:block;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ocl2-top small{color:#5D767A;font-size:12px}
.ocl2-top>div{min-width:0}
.ocl2-info{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:13px}.ocl2-info li{display:flex;justify-content:space-between;gap:10px}.ocl2-info i{font-style:normal;color:#8AA2A5}
.ocl2-mail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
.ocl2-actions{display:flex;gap:6px;flex-wrap:wrap}
html body .ocl2-actions a.lab-action{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:9px;border:1px solid #BFE3DF;background:#fff;color:#0B6E73!important;font-weight:600;font-size:12.5px;text-decoration:none}
.ocl2-warn{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:9px;background:#FEF3DF;color:#8A5A07;font-size:12px;font-weight:600}
.ocl2-empty{color:#8AA2A5;padding:20px}
@media (max-width:900px), (pointer:coarse) and (max-height:500px){.ocl2{grid-template-columns:1fr}}

/* ===== V124.56: pagamentos e creditos ===== */
.lr-wrap{font-family:Inter,"Segoe UI",system-ui,sans-serif}
.lr-wrap>h2,.lr-wrap h2{font-size:24px!important;letter-spacing:-.02em;color:#0B2A2E!important}
html body .lr-card{border-radius:20px!important;border:1px solid #DCE8E8!important;background:#fff;box-shadow:none!important;padding:16px 20px!important;margin-bottom:14px}
html body .lr-card h3{font-size:16px!important;color:#0B2A2E!important;margin:0 0 10px!important}
html body .lr-filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:12px!important;align-items:end}
html body .lr-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:12px!important}
html body .lr-stat{border-radius:18px!important;padding:16px 18px!important;border:1px solid #DCE8E8!important;background:#fff!important;text-decoration:none;display:block}
html body .lr-stat small{display:block;font-size:12.5px!important;color:#5D767A!important;font-weight:600}html body .lr-stat strong{display:block;font-size:28px!important;letter-spacing:-.03em;margin-top:4px;color:#0B6E73!important}
html body .lr-stats .lr-stat:nth-child(1){background:#E1F6F3!important}html body .lr-stats .lr-stat:nth-child(2){background:#EAF0FB!important}html body .lr-stats .lr-stat:nth-child(2) strong{color:#4A5BB0!important}
html body .lr-stats .lr-stat:nth-child(3){background:#FEF3DF!important;border-color:#F3DDA9!important}html body .lr-stats .lr-stat:nth-child(3) strong{color:#A56A0A!important}
html body .lr-credit-hint{display:block;margin-top:4px;font-size:12px;color:#8A5A07}
.lr-detail-note{margin:12px 2px 0;color:#5D767A;font-size:12.5px}
.lrt-tabs{display:flex;gap:4px;flex-wrap:wrap;background:#E7EFEF;border-radius:14px;padding:4px;margin:0 0 14px;width:fit-content;max-width:100%}
html body .lrt-tabs button{height:38px!important;min-height:38px!important;padding:0 16px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5D767A!important;font-weight:600;font-size:14px;box-shadow:none!important}
html body .lrt-tabs button.on{background:#04242A!important;color:#fff!important}
html body .lr-table-wrap{overflow-x:auto}
html body table.lr-table{width:100%;border-collapse:collapse}
html body table.lr-table th{background:#F2F7F7!important;color:#5D767A!important;font-size:12px!important;text-align:left;padding:10px 12px!important;white-space:nowrap;border-bottom:1px solid #DCE8E8!important}
html body table.lr-table td{padding:11px 12px!important;border-bottom:1px solid #EEF4F4!important;font-size:13.5px;vertical-align:top;overflow-wrap:normal;word-break:normal}
html body table.lr-table tr:hover td{background:#FAFDFD}
html body table.lr-table td:first-child{white-space:nowrap}
.lr-work-code{display:inline-block;background:#E1F6F3;color:#0B6E73!important;border-radius:8px;padding:1px 8px;font-weight:700;font-size:12px;text-decoration:none}
html body .lr-btn,html body .lr-card .btn{border-radius:10px!important}
@media (max-width:800px), (pointer:coarse) and (max-height:500px){.lr-card{padding:14px!important}}

/* ===== V124.56: financeiro da clinica ===== */
.ocf-tabs{display:flex;gap:4px;flex-wrap:wrap;background:#E7EFEF;border-radius:14px;padding:4px;margin:0 0 14px;width:fit-content;max-width:100%}
html body .ocf-tabs button{height:38px!important;min-height:38px!important;padding:0 16px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5D767A!important;font-weight:600;font-size:14px;box-shadow:none!important}
html body .ocf-tabs button.on{background:#04242A!important;color:#fff!important}
html body .vg.ocf-kpis{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:14px!important;margin-bottom:14px}
html body .ocf-kpis>.vc{border-radius:20px!important;padding:18px 20px!important;position:relative;overflow:hidden;border:1px solid #DCE8E8!important}
.ocf-kpis>.vc:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:#1E9E6A}
.ocf-kpis>.vc:nth-child(2):before{background:#F2A93B}.ocf-kpis>.vc:nth-child(3):before{background:#F26B5E}
html body .ocf-kpis .vk{font-size:30px!important;letter-spacing:-.03em;margin-top:4px}
.ocf-kpis>.vc:nth-child(1) .vk{color:#17795A!important}.ocf-kpis>.vc:nth-child(2) .vk{color:#A56A0A!important}.ocf-kpis>.vc:nth-child(3) .vk{color:#C4443A!important}
.ocf-kpis>.vc:nth-child(3){background:#FFF8F7!important}
html body .v124-commission-dentists{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:12px!important}
html body a.v124-commission-dentist{display:grid;gap:3px;border-radius:16px!important;border:1px solid #DCE8E8!important;background:#FAFDFD!important;padding:12px 14px!important;text-decoration:none}
html body a.v124-commission-dentist b{color:#0B2A2E!important;font-size:14.5px}html body a.v124-commission-dentist span,html body a.v124-commission-dentist small{color:#5D767A!important;font-size:12.5px}
html body a.v124-commission-dentist strong{color:#0B6E73!important;font-size:17px}
html body .v124-commission-totals{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;gap:12px!important;margin-top:12px}
html body .vc{border-radius:20px!important}
html body .vt th{background:#F2F7F7!important;color:#5D767A!important;font-size:12px!important;text-align:left;padding:10px 12px!important;white-space:nowrap}
html body .vt td{padding:11px 12px!important;font-size:13.5px;overflow-wrap:normal;word-break:normal;vertical-align:top}
html body .vw{overflow-x:auto}
.v124-status-pill{display:inline-flex;height:24px;align-items:center;padding:0 10px;border-radius:99px;font-size:11.5px;font-weight:700;white-space:nowrap}
.v124-status-pill.is-paid{background:#E0F4EA;color:#17795A}.v124-status-pill.is-pending{background:#FEF3DF;color:#A56A0A}
@media (max-width:700px), (pointer:coarse) and (max-height:500px){html body .v124-commission-filter{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}html body .v124-commission-filter input,html body .v124-commission-filter select{width:100%;min-width:0}html body .v124-commission-filter .vb{grid-column:span 1}}

/* ================= V124.56: APLICATIVO NO CELULAR ================= */
.oca-bar,.oca-tabs{display:none}
.ocd-quick{display:none}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
 html body .oca-bar{display:flex;position:fixed;top:0;left:0;right:0;z-index:9990;height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;background:linear-gradient(120deg,#04242A,#0A4549);color:#fff;align-items:center;gap:6px;box-shadow:0 2px 14px rgba(4,36,42,.28)}
 .oca-title{flex:1;font-weight:700;font-size:17px;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:2px}
 html body .oca-ham,html body .oca-sea{width:46px;height:46px;min-height:46px;display:grid;place-items:center;border:0;background:transparent!important;color:#fff!important;padding:0;box-shadow:none;border-radius:12px}
 html body .oca-tabs{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:9990;height:calc(62px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #DCE8E8;box-shadow:0 -6px 22px rgba(4,36,42,.10)}
 html body .oca-tab{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;font-weight:600;color:#7F9A9D!important;text-decoration:none;background:none!important;border:0;box-shadow:none;padding:6px 2px;min-height:0;border-radius:0}
 html body .oca-tab.on{color:#0B6E73!important}.oca-tab svg{stroke:currentColor}
 html body .oca-tab.on:before{content:"";position:absolute;top:0;width:34px;height:3px;border-radius:0 0 4px 4px;background:#14B8AA}
 html body .oca-tab{position:relative}
 html body main#oc-main{padding:calc(66px + env(safe-area-inset-top)) 12px calc(88px + env(safe-area-inset-bottom))!important;margin:0!important;min-height:100vh}
 html body main#oc-main>.top{display:none!important}
 html body .oc-mobile-bottom,html body .oc-mobile-home,html body .mobile-menu-toggle{display:none!important}
 html body .side{z-index:10001!important;width:min(86vw,320px)!important;padding-top:calc(14px + env(safe-area-inset-top))!important;overflow-y:auto!important}
 html body .mobile-nav-backdrop{z-index:10000!important}
 /* o Odi sobe para nao ficar atras da barra de baixo */
 html body .oc-odi{bottom:calc(74px + env(safe-area-inset-bottom))!important;--oc-w:70px!important}
 html body #oc-odi-min,html body .oc-odi-min{display:none!important}
 /* formularios com alvo de toque confortavel e sem zoom no iPhone */
 html body main#oc-main input:not([type=checkbox]):not([type=radio]),html body main#oc-main select,html body main#oc-main textarea{font-size:16px!important;min-height:44px}
 html body main#oc-main .btn,html body main#oc-main button.vb,html body main#oc-main a.vb{min-height:44px}
 /* Inicio */
 body:has(.ocd) section.sr-dashboard{order:1;display:block!important;margin:0 0 12px}
 body:has(.ocd) section.sr-dashboard>*:not(.sr-hero-wrap){display:none!important}
 body:has(.ocd) main#oc-main{display:flex;flex-direction:column}
 body:has(.ocd) .ocd{order:2;display:block!important}
 body:has(.ocd) .sr-hero-wrap{border-radius:18px;overflow:hidden;max-height:none;box-shadow:0 6px 18px rgba(4,36,42,.12)}
 body:has(.ocd) .sr-hero-wrap .sr-hero{height:clamp(110px,30vw,170px)!important;object-fit:cover}
 .ocd-quick{display:block;order:0;margin:0 0 12px}
 .ocd-hello{font-size:22px;letter-spacing:-.02em;margin:2px 2px 10px;color:#0B2A2E}.ocd-hello span{color:#5D767A;font-weight:400}
 .ocd-qgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 html body .ocd a.ocd-q{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:16px;background:#fff;border:1px solid #DCE8E8;text-decoration:none;text-align:center}
 html body .ocd a.ocd-q b{font-size:11.5px;color:#0B2A2E!important;line-height:1.15;font-weight:600}
 .ocd-qi{width:38px;height:38px;border-radius:12px;background:#E1F6F3;position:relative;display:block}
 .ocd-qi:after{content:"";position:absolute;inset:9px;background:#0B6E73;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
 .ocd-qi.cal{--m: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'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
 .ocd-qi.users{--m: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'%3E%3Ccircle cx='9' cy='8' r='3.500'/%3E%3Cpath d='M2.500 20c.7-3.600 3.400-5.500 6.500-5.500s5.800 1.900 6.500 5.500'/%3E%3C/svg%3E")}
 .ocd-qi.doc{--m: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='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M9 12h7M9 16h7'/%3E%3C/svg%3E")}
 .ocd-qi.tooth{--m: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-linejoin='round'%3E%3Cpath d='M7.500 3C5 3 3 5 3 8c0 2.600 1.600 3.600 2 7 .3 2.600 1 6 2.600 6 1.300 0 1.500-3.200 2.600-3.200h3.600c1.100 0 1.300 3.200 2.600 3.200 1.600 0 2.300-3.400 2.600-6 .4-3.400 2-4.400 2-7 0-3-2-5-4.500-5-1.600 0-2.400 1-4.500 1S9.100 3 7.500 3z'/%3E%3C/svg%3E")}
 .ocd-qi.wallet{--m: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'%3E%3Crect x='3' y='6' width='18' height='14' rx='2.500'/%3E%3Cpath d='M3 10h18M16 15h2'/%3E%3C/svg%3E")}
 .ocd-qi.chart{--m: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'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-8M22 20H2'/%3E%3C/svg%3E")}
 .ocd-qi.in{--m: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.200' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M6 11l6 6 6-6M5 21h14'/%3E%3C/svg%3E")}
 .ocd-qi.out{--m: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.200' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20V8M6 13l6-6 6 6M5 3h14'/%3E%3C/svg%3E")}
 .ocd-qi.box{--m: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-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8M12 13v8'/%3E%3C/svg%3E")}
 /* painel do Inicio empilhado */
 .ocd .ocd-hero{flex-direction:column;border-radius:20px;min-height:0}
 .ocd .ocd-metrics{flex:none;width:100%;padding:16px 16px 4px;grid-template-columns:1fr 1fr;gap:4px 14px}
 html body .ocd .ocd-hero a.ocd-m b{font-size:22px!important}
 .ocd .ocd-herochart{padding:0 14px 12px}
 .ocd .ocd-herochart .t{flex-direction:column;gap:4px}
 .ocd .ocd-row{flex-direction:column;gap:12px}.ocd .ocd-card{flex:none;width:100%}
 .ocd .ocd-donut{flex-direction:column;align-items:flex-start}
 /* tabelas viram cartoes */
 html body #oc-main table.oc-rt,html body #oc-main table.oc-rt tbody,html body #oc-main table.oc-rt tr,html body #oc-main table.oc-rt td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
 html body #oc-main table.oc-rt{overflow:visible!important}
 html body #oc-main table.oc-rt thead,html body #oc-main table.oc-rt tr.oc-rt-head{display:none!important}
 html body #oc-main table.oc-rt tr{border:1px solid #DCE8E8!important;border-radius:16px;margin:0 0 10px;padding:6px 2px;background:#fff!important}
 html body #oc-main table.oc-rt td{border:0!important;padding:6px 14px!important;display:flex!important;justify-content:space-between;align-items:flex-start;gap:14px;text-align:right;white-space:normal!important}
 html body #oc-main table.oc-rt td:before{content:attr(data-label);font-weight:700;font-size:11.5px;color:#8AA2A5;text-align:left;flex:none;max-width:44%;text-transform:uppercase;letter-spacing:.03em}
 html body #oc-main table.oc-rt td:not([data-label]):before,html body #oc-main table.oc-rt td[data-label=""]:before{display:none}
 html body #oc-main table.oc-rt td>*{text-align:right}
 html body #oc-main table.oc-rt tr.oc-rt-empty td{display:block!important;text-align:center}
 html body #oc-main .table-wrap,html body #oc-main .vw,html body #oc-main .pr-tw,html body #oc-main .ocpm-wrap{overflow:visible!important;border:0!important;box-shadow:none!important;background:transparent!important}
 /* agenda do dia: um dentista por vez */
 .ocd2-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;border-bottom:1px solid #EEF4F4}
 html body .ocd2-chips button{flex:none;height:36px!important;min-height:36px!important;padding:0 14px!important;border-radius:99px!important;border:1.5px solid #CFE3E3!important;background:#fff!important;color:#355a5e!important;font-weight:600;font-size:13px;white-space:nowrap;box-shadow:none!important}
 html body .ocd2-chips button.on{background:#0B6E73!important;border-color:#0B6E73!important;color:#fff!important}
 .ocd2[data-m="1"] .ocd2-col{display:none}.ocd2[data-m="1"] .ocd2-col.act{display:block}
 .ocd2[data-m="1"] .ocd2-grid{grid-template-columns:48px minmax(0,1fr)!important}
 .ocd2[data-m="1"] .ocd2-scroll{max-height:none}
 .ocg-top{padding:10px 12px!important}.ocg-nav b{font-size:14px!important;margin-left:2px!important;flex-basis:100%}
 .ocg-legend{display:none!important}
}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
 html body #oc-main .resize-handle{display:none!important}
 html body #oc-main .btn,html body #oc-main a.edit{max-width:100%;white-space:normal;text-align:center}
 html body .ocdt-row{grid-template-columns:1fr!important}html body .ocdt-f.w2{grid-column:auto!important}
 html body .oco-plan .vw{overflow-x:auto!important}
 html body #oc-main .oc-act-row{flex-wrap:wrap;justify-content:flex-end}
 html body #oc-main .oc-act{white-space:normal;width:auto!important}
}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
 html body .ocdt-grid>*,html body .ocdt-sec,html body .ocdt-photo>div{min-width:0}html body .ocdt-photo input[type=file]{max-width:100%}html body .ocdt-photo{flex-wrap:wrap}
 html body #oc-main button,html body #oc-main .pm-btn{max-width:100%}
 html body main#oc-main{overflow-x:clip}
}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
 html body .mobile-appbar,html body div.mobile-appbar{display:none!important}
 html body header.oca-bar button.oca-ham,html body header.oca-bar a.oca-sea{background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important}
 html body header.oca-bar button.oca-ham:active,html body header.oca-bar a.oca-sea:active{background:rgba(255,255,255,.14)!important}
 html body aside#oc-side.side{background:linear-gradient(180deg,#04242A 0%,#06353B 60%,#0A4549 100%)!important;color:#fff!important;box-shadow:12px 0 40px rgba(0,0,0,.35)}
 html body aside#oc-side .brand-title,html body aside#oc-side .brand-subtitle,html body aside#oc-side .brand-unit{color:#fff!important}
 html body aside#oc-side .nav-item,html body aside#oc-side .nav-group>summary{color:#E4F2F2!important;min-height:48px}
 html body aside#oc-side .nav-subitem{color:#B6D4D4!important;min-height:44px;display:flex;align-items:center}
 html body aside#oc-side .nav-subitem.active,html body aside#oc-side .nav-item.active{color:#fff!important}
 html body .oc-odi{--oc-w:56px!important}
 html body main#oc-main{padding-top:calc(60px + env(safe-area-inset-top))!important}
}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){
 html body #ocaBar button.oca-ham,html body #ocaBar a.oca-sea{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;width:46px!important;height:46px!important;min-height:46px!important;padding:0!important}
 html body nav.oca-tabs button.oca-tab,html body nav.oca-tabs a.oca-tab{background:transparent!important;border:0!important;box-shadow:none!important;height:auto!important;min-height:0!important;margin:0!important;border-radius:0!important}
 html body aside#oc-side.side{top:0!important;height:100dvh!important;max-height:100dvh!important}
}
@media(max-width:380px){.ocd-qgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.oc-demo-strip{position:fixed;left:50%;bottom:6px;transform:translateX(-50%);z-index:9999;background:#F2A93B;color:#3d2600;font:700 12px Inter,"Segoe UI",system-ui,sans-serif;padding:5px 16px;border-radius:99px;box-shadow:0 4px 14px rgba(0,0,0,.25);pointer-events:none;white-space:nowrap}
@media (max-width:850px), (pointer:coarse) and (max-height:500px){.oc-demo-strip{bottom:calc(68px + env(safe-area-inset-bottom));font-size:11px}}
/* V129: odontograma do orçamento não estoura a tela no celular (rola dentro da caixa) */
@media (max-width:700px), (pointer:coarse) and (max-height:500px){html body main#oc-main .oco-arch,html body main#oc-main .m3r,html body main#oc-main .m3r-scroll{min-width:0!important;max-width:100%!important;box-sizing:border-box}html body main#oc-main .m3r-scroll{overflow-x:auto!important}}
/* V131.2: barras proporcionais de verdade (a altura é medida num trilho fixo) */
.ocg2-cols .ocg2-trilho{display:flex;align-items:flex-end;justify-content:center;width:100%;height:120px;font-style:normal}
.ocg2-cols .ocg2-trilho i{width:100%;max-width:38px}
/* V131.2: metas com Meta / Realizado / Falta lado a lado */
.ocg2-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;margin-top:10px;align-items:end}
.ocg2-nums small{display:block;font-size:11.5px;color:#6B8387;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.ocg2-nums b{font-size:15px;color:#0B2A2E;white-space:nowrap}.ocg2-nums b.ok{color:#17795A}.ocg2-nums b.falta{color:#B4231B}
.ocg2-nums .pc{text-align:right}.ocg2-nums .pc b{font-size:22px}
@media(max-width:700px){.ocg2-nums{grid-template-columns:1fr 1fr}.ocg2-nums .pc{text-align:left}}
.ocg2-nums{grid-template-columns:1fr 1fr!important;gap:8px 14px!important}
.ocg2-nums .pc{text-align:right}
.ocg2-nums b{font-size:14.5px}.ocg2-nums .pc b{font-size:20px}
/* V134 — meta única do mês */
.ocm-prod{margin-top:10px;padding-top:9px;border-top:1px dashed #DCE6E8;font-size:12.5px;color:#5B6E73}.ocm-prod b{color:#14262A}
.ocg2-meta-ajuda{margin:3px 0 0;font-size:12.5px;color:#5B6E73}.ocg2-meta-ajuda a{color:#0B8A84;font-weight:700;margin-left:4px}
.v134-meta-txt{margin:0 0 12px;font-size:13px;line-height:1.45;color:#4A5F64;background:#F2F8F8;border-radius:10px;padding:10px 12px}
/* V135 (E1) — paciente sem autorização de WhatsApp */
.rc-semwa{display:inline-block;font-size:11.5px;font-weight:700;color:#8A5A08;background:#FFF3E0;border-radius:99px;padding:3px 9px;text-decoration:none;white-space:nowrap}
.dcv-anulado{margin:8px 0 12px;padding:10px 14px;border-radius:12px;background:#FDECEC;border:1px solid #F4C7CB;color:#7E1A24;font-size:13.5px}
