/* ORICC v1.5.1
   - AUTOMATIK layout repair
   - Remove legacy score/bars
   - ORI Esquema below Ajustes
*/

.oricc-automatik-hotfix {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.oricc-automatik-layout-root {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.oricc-automatik-explainer {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;

  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  height: auto !important;
  max-height: none !important;

  box-sizing: border-box !important;

  margin: 28px 24px 24px !important;
  z-index: 1 !important;
}

.oricc-automatik-explainer * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Legacy telemetry no longer belongs in the human-facing panel. */
.oricc-automatik-legacy-metrics {
  display: none !important;
}

/* ORI Esquema becomes a normal sidebar item. */
.oricc-sidebar-esquema {
  position: static !important;

  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  transform: none !important;
  float: none !important;

  width: auto !important;
  max-width: none !important;

  margin: 0 !important;

  z-index: auto !important;
}

@media (max-width: 980px) {
  .oricc-automatik-explainer {
    margin: 20px 16px 18px !important;
  }
}

@media (max-width: 640px) {
  .oricc-automatik-explainer {
    margin: 16px 12px !important;
  }
}
