 
.pm-subabas{display:flex;gap:2px;border-bottom:2px solid var(--borda,#D8DED3);margin:4px 0 10px}
.pm-subabas button{font-family:inherit;font-size:13px;font-weight:600;padding:7px 14px;border:0;border-bottom:3px solid transparent;margin-bottom:-2px;background:none;color:#4B5A47;cursor:pointer}
.pm-subabas button:hover{color:var(--verde,#2E6B3A)}
.pm-subabas button.ativa{color:var(--verde,#2E6B3A);border-bottom-color:#C9A227}
.sm-corpo{display:flex;flex-direction:column;gap:12px}
.sm-corpo .pm-cab h3{margin:0;font-size:17px;color:#0B2E1F}
.sm-cab2{margin-top:8px}
.sm-fazendas .sm-rot{font-size:12px;color:#4B5A47;margin-right:4px}
.sm-dois{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:900px){.sm-dois{grid-template-columns:1fr}}
.sm-card-soja{border-top:4px solid var(--verde,#2E6B3A)}
.sm-card-saf{border-top:4px solid #C9A227}
.sm-row{display:flex;align-items:center;gap:10px;margin:8px 0;flex-wrap:wrap}
.sm-row label{min-width:110px;font-size:12.5px;color:#4B5A47}
.sm-row input[type=range]{flex:1 1 160px;accent-color:var(--verde,#2E6B3A)}
.sm-row input.sm-num{width:84px;text-align:right;font-family:inherit;font-size:13px;padding:4px 6px;border:1px solid var(--borda,#D8DED3);border-radius:6px}
.sm-un{font-size:12px;color:#6B7566;min-width:40px}
.sm-nota{font-size:11.5px;color:#6B7566;margin:6px 0 0}
.sm-toggle{display:inline-flex;border:1px solid var(--borda,#D8DED3);border-radius:8px;overflow:hidden}
.sm-toggle button{font-family:inherit;font-size:12.5px;padding:5px 14px;border:0;background:#fff;color:#4B5A47;cursor:pointer}
.sm-toggle button+button{border-left:1px solid var(--borda,#D8DED3)}
.sm-toggle button.ativa{background:var(--verde,#2E6B3A);color:#fff;font-weight:700}
.sm-metricas{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.sm-metrica{background:#fff;border:1px solid var(--borda,#D8DED3);border-left:4px solid var(--verde,#2E6B3A);border-radius:6px;padding:9px 12px}
.sm-metrica.mostarda{border-left-color:#C9A227}
.sm-metrica.alerta{border-left-color:#B3331F}
.sm-m-rot{font-size:10.5px;text-transform:uppercase;letter-spacing:.5px;color:#6B7566;font-weight:600}
.sm-m-val{font-size:20px;font-weight:800;color:#0B2E1F;margin:3px 0}
.sm-m-sub{font-size:11.5px;color:#6B7566}
.sm-m-val.pos,.sm-det tr.margem.pos td,.sm-det tr.sm-mt.pos td{color:var(--verde,#2E6B3A)}
.sm-m-val.neg,.sm-det tr.margem.neg td,.sm-det tr.sm-mt.neg td{color:var(--vermelho,#B3331F)}
.sm-det{width:100%;border-collapse:collapse;font-size:12.5px}
.sm-det td{padding:4px 6px;border-bottom:1px solid #EEF1EB}
.sm-det td.val{text-align:right;white-space:nowrap}
.sm-det td.sm-pct{color:#6B7566;font-size:11px}
.sm-det td.sm-zerado{color:#8A8F85;font-style:italic}
.sm-det .sm-zero{font-size:10px;color:#8A8F85}
.sm-det tr.total td{font-weight:700;border-top:2px solid var(--borda,#D8DED3)}
.sm-det tr.margem td,.sm-det tr.sm-mt td{font-weight:700}
.sm-alertas div{font-size:12.5px;margin-top:3px}
.sm-heat-wrap{overflow-x:auto}
.sm-heat{border-collapse:separate;border-spacing:2px;font-size:11.5px;margin:6px 0}
.sm-heat th{background:#F1F5EE;color:#0B2E1F;font-weight:700;padding:5px 8px;text-align:center}
.sm-heat td.eixo-y,.sm-heat th.eixo-y{background:#F1F5EE;font-weight:700;text-align:right;white-space:nowrap;padding:5px 8px}
.sm-heat td.cel{text-align:center;padding:6px 8px;min-width:46px;border-radius:3px;font-variant-numeric:tabular-nums}
.sm-heat td.cel.equilibrio{outline:2px solid #1A2E1A;outline-offset:-2px}
.sm-legenda{display:flex;flex-wrap:wrap;gap:12px;font-size:11.5px;color:#4B5A47}
.sm-sw{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:5px;vertical-align:-2px;border:1px solid rgba(0,0,0,.1)}
#ss_resumo p{font-size:13px;line-height:1.6;margin:4px 0}
 
#pm_corpo[hidden],#sm_corpo[hidden]{display:none !important}
 
.sm-heat{width:100%;font-size:14px;border-spacing:3px;table-layout:fixed}
.sm-heat th,.sm-heat td.eixo-y,.sm-heat th.eixo-y{padding:9px 10px;font-size:13.5px}
.sm-heat td.cel{padding:12px 6px;min-width:64px;font-size:14.5px;font-weight:600}
.sm-heat th.eixo-y,.sm-heat td.eixo-y{width:150px}
.sm-legenda{font-size:13px;gap:16px;margin-top:6px}
.sm-sw{width:14px;height:14px}
