/* Shared GBOT AUTO control: NAPZAR-style square below the AUTO label. */
html body #autoControl.auto-control {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  justify-items: center !important;
  align-items: start !important;
  align-content: start !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 0.08em !important;
  min-width: 1.35em !important;
  padding: 0 !important;
  transform: none !important;
  line-height: 1 !important;
}

html body #autoControl.auto-control > span:first-child {
  grid-row: 1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  color: #7df9ff !important;
  line-height: 0.86 !important;
  transform: none !important;
}

html body #autoControl.auto-control .auto-box {
  grid-row: 2 !important;
  display: block !important;
  position: relative !important;
  width: 0.82em !important;
  height: 0.82em !important;
  border: 2px solid var(--muted, #7df9ff) !important;
  border-radius: 5px !important;
  background: transparent !important;
  box-shadow: inset 0 0 0 2px rgba(3, 0, 95, 0.18) !important;
  line-height: 1 !important;
  transform: none !important;
}

html body #autoControl.auto-control.active .auto-box {
  background: var(--text, #ffe119) !important;
  border-color: var(--text, #ffe119) !important;
  box-shadow: 0 0 0 3px rgba(255, 225, 25, 0.18) !important;
}

html body #autoControl.auto-control.active .auto-box::before {
  content: none !important;
  display: none !important;
}
