/* V31 — somente geometria, tipografia e enquadramento.
   Cores de superfície, texto e bordas herdadas do motor de temas da plataforma. */
body.map61-body #fleetPanel .entity61-wrap{min-height:57px!important;height:auto!important;padding:0 5px!important}
body.map61-body #fleetPanel .entity61{min-height:55px!important;padding:5px 9px 5px 5px!important;display:flex!important;align-items:center!important}
body.map61-body #fleetPanel .entity56-top{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important}
body.map61-body #fleetPanel .entity61-thumb{width:36px!important;height:36px!important;flex:0 0 36px!important}
body.map61-body #fleetPanel .entity56-main{flex:1 1 auto!important;min-width:0!important;gap:2px!important}
body.map61-body #fleetPanel .entity56-name{font-size:12px!important;line-height:1.2!important}
body.map61-body #fleetPanel .entity56-meta{font-size:10px!important;line-height:1.2!important}
body.map61-body #fleetPanel .entity56-side{flex:0 0 69px!important;gap:3px!important;align-items:flex-end!important}
body.map61-body #fleetPanel .entity56-speed{font-size:10px!important}
body.map61-body #fleetPanel .entity56-time{font-size:9px!important}
body.map61-body #fleetPanel .entity61-badgeline{margin:2px 0 0!important}
/* Ficha inferior larga como o modelo aprovado. Não alterar cores do tema. */
body.map61-body #detailPanel.map61-detail{
  left:calc(var(--map61-side, 310px) + 12px)!important;
  right:14px!important;top:auto!important;bottom:12px!important;
  width:auto!important;height:268px!important;max-height:min(268px,65vh)!important;
  display:block!important;overflow:hidden!important;
  background:var(--rt-card, var(--rt-bg))!important;
  color:var(--rt-text,inherit)!important;border-color:var(--rt-line, currentColor)!important;
}
body.map61-body #detailPanel.map61-detail.hidden{display:none!important}
body.map61-body #detailPanel .map61-detail-head{
  position:absolute!important;left:16px!important;top:12px!important;
  width:calc(100% - 480px)!important;max-width:none!important;height:62px!important;
  padding:0!important;background:transparent!important;color:inherit!important;
}
body.map61-body #detailPanel .map61-detail-head h2{font-size:21px!important;margin:3px 0 1px!important;line-height:1.1!important;color:var(--rt-text,inherit)!important}
body.map61-body #detailPanel .map61-detail-head p{font-size:11px!important;color:var(--rt-muted,inherit)!important}
body.map61-body #detailPanel #commandSection{
  position:absolute!important;right:50px!important;left:auto!important;top:12px!important;
  width:350px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;
}
body.map61-body #detailPanel #commandSection>*{width:100%!important;min-width:0!important;height:65px!important;min-height:65px!important;padding:6px 3px!important}
body.map61-body #detailPanel .detail56-body{
  position:absolute!important;left:16px!important;right:16px!important;top:91px!important;bottom:12px!important;
  display:grid!important;grid-template-columns:minmax(210px,1.12fr) minmax(260px,1.25fr) minmax(440px,2.6fr)!important;
  grid-template-rows:minmax(0,1fr)!important;gap:10px!important;padding:0!important;
  overflow:hidden!important;background:transparent!important;color:inherit!important;
}
body.map61-body #detailPanel .detail56-body>.detail56-section:nth-of-type(2){grid-column:1!important;grid-row:1!important;min-width:0!important;overflow:hidden!important}
body.map61-body #detailPanel .detail56-body>.telemetry56{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:7px!important;min-width:0!important}
body.map61-body #detailPanel .detail56-body>.detail56-section:nth-of-type(1){grid-column:3!important;grid-row:1!important;min-width:0!important;overflow:hidden!important}
body.map61-body #detailPanel .detail56-body>.detail56-section:nth-of-type(3){display:none!important}
body.map61-body #detailPanel .detail56-section h3{margin:0 0 6px!important;font-size:10px!important}
body.map61-body #detailPanel .kv56{min-height:23px!important;padding:2px 0!important;gap:8px!important}
body.map61-body #detailPanel .kv56 span{font-size:10px!important;flex:0 0 34%!important}
body.map61-body #detailPanel .kv56 b{font-size:10px!important;flex:1!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.map61-body #detailPanel .telemetry56 article{min-width:0!important;min-height:0!important;padding:9px!important;overflow:hidden!important;background:var(--rt-surface-2,transparent)!important;border-color:var(--rt-line,currentColor)!important;color:var(--rt-text,inherit)!important}
body.map61-body #detailPanel .telemetry56 article strong{font-size:13px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--rt-text,inherit)!important}
body.map61-body #detailPanel .sensor56-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;height:calc(100% - 19px)!important;gap:5px!important;min-width:0!important}
body.map61-body #detailPanel .sensor56{height:100%!important;min-height:0!important;min-width:0!important;padding:7px 2px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:6px!important;overflow:hidden!important;background:var(--rt-surface-2,transparent)!important;border-color:var(--rt-line,currentColor)!important;color:var(--rt-text,inherit)!important}
body.map61-body #detailPanel .sensor56 .material-symbols-rounded{font-size:23px!important;line-height:1!important}
body.map61-body #detailPanel .sensor56 b{font-size:11px!important;line-height:1.15!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.map61-body #detailPanel .sensor56 small{font-size:9px!important;line-height:1.2!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--rt-muted,inherit)!important}
body.map61-body #detailPanel .detail56-close{color:var(--rt-text,inherit)!important}
@media(max-width:1250px){
 body.map61-body #detailPanel.map61-detail{height:310px!important;max-height:min(310px,68vh)!important}
 body.map61-body #detailPanel .detail56-body{grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(330px,2fr)!important;gap:7px!important}
 body.map61-body #detailPanel .sensor56-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:850px){
 body.map61-body #detailPanel.map61-detail{left:8px!important;right:8px!important;bottom:8px!important;height:390px!important;max-height:72vh!important;overflow:auto!important}
 body.map61-body #detailPanel .map61-detail-head{left:12px!important;top:10px!important;width:calc(100% - 24px)!important;height:58px!important}
 body.map61-body #detailPanel #commandSection{left:12px!important;right:12px!important;top:72px!important;width:auto!important}
 body.map61-body #detailPanel #commandSection>*{height:49px!important;min-height:49px!important}
 body.map61-body #detailPanel .detail56-body{left:12px!important;right:12px!important;top:134px!important;bottom:auto!important;height:auto!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto auto!important;overflow:visible!important}
 body.map61-body #detailPanel .detail56-body>.detail56-section:nth-of-type(2){grid-column:1!important;grid-row:1!important}
 body.map61-body #detailPanel .detail56-body>.telemetry56{grid-column:2!important;grid-row:1!important}
 body.map61-body #detailPanel .detail56-body>.detail56-section:nth-of-type(1){grid-column:1/-1!important;grid-row:2!important;height:155px!important}
}
